1 2014-02-18 Andreas Schwab <schwab@suse.de>
4 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5 Store non-zero if the second buffer was newly allocated.
7 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8 to send_vc and send_dg.
9 (res_nsend): Pass NULL for ansp2_malloced.
10 * resolv/res_query.c (__libc_res_nquery): Add parameter
11 answerp2_malloced and pass it down to __libc_res_nsend.
12 (res_nquery): Pass additional NULL to __libc_res_nquery.
13 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15 second answer buffer if answerp2_malloced was set.
16 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17 (__libc_res_nquerydomain): Add parameter
18 answerp2_malloced and pass it down to __libc_res_nquery.
19 (res_nquerydomain): Pass additional NULL to
20 __libc_res_nquerydomain.
21 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22 additional NULL to __libc_res_nsend and __libc_res_nquery.
23 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24 additional NULL to __libc_res_nsearch.
25 (_nss_dns_gethostbyname4_r): Revert last change. Use new
26 parameter of __libc_res_nsearch to check for separately allocated
28 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31 additional NULL to __libc_res_nquery.
32 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
34 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35 * include/resolv.h: Update prototypes of __libc_res_nquery,
36 __libc_res_nsearch, __libc_res_nsend.
38 2014-02-18 Joseph Myers <joseph@codesourcery.com>
40 * math/auto-libm-test-in: Add tests of fma.
41 * math/auto-libm-test-out: Regenerated.
42 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43 (fma_towardzero_test_data): Likewise.
44 (fma_downward_test_data): Likewise.
45 (fma_upward_test_data): Likewise.
46 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
48 (rounding_modes): Add values for new field.
49 (func_calc_method): Add value mpfr_fff_f.
50 (func_calc_desc): Add mpfr_fff_f union field.
51 (test_function): Add field exact_args.
52 (FUNC): Add macro argument EXACT_ARGS.
53 (FUNC_mpfr_f_f): Update call to FUNC.
54 (FUNC_mpfr_f_f): Likewise.
55 (FUNC_mpfr_ff_f): Likewise.
56 (FUNC_mpfr_if_f): Likewise.
57 (FUNC_mpc_c_f): Likewise.
58 (FUNC_mpc_c_c): Likewise.
59 (test_functions): Add fma. Update calls to FUNC.
60 (handle_input_arg): Add argument exact_args.
61 (add_test): Update call to handle_input_arg.
62 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
63 (output_for_one_input_case): Update call to calc_generic_results.
64 Recalculate exact zero results in each rounding mode.
66 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
67 non-negative before setting low bit.
68 * math/auto-libm-test-in: Mark one asin test possibly having
70 * math/auto-libm-test-out: Regenerated.
71 * sysdeps/i386/fpu/libm-test-ulps: Update.
72 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
76 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
77 * sysdeps/unix/sysv/linux/microblaze: Move directory from
78 ports/sysdeps/unix/sysv/linux/microblaze.
79 * README: Add missing listing for microblaze*-*-linux-gnu.
81 2014-02-16 Mike Frysinger <vapier@gentoo.org>
83 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
84 * sysdeps/unix/sysv/linux/ia64: Move directory from
85 ports/sysdeps/unix/sysv/linux/ia64.
86 * README: Update listing for ia64-*-linux-gnu.
88 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
89 Joseph Myers <joseph@codesourcery.com>
91 * Makeconfig (test-name): New variable.
92 (evaluate-test): Likewise.
93 * Makerules (do-test-clean): Remove .test-result files.
94 (common-mostlyclean): Likewise.
95 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
96 * scripts/evaluate-test.sh: New file.
98 2014-02-14 Joseph Myers <joseph@codesourcery.com>
100 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
101 separate $(objpfx)tst-fopenloc-cmp.out and
102 $(objpfx)tst-fopenloc-mem.out targets.
103 (tests): Update dependencies.
104 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
105 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
106 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
107 (tst-rxspencer-no-utf8-ARGS): New variable.
108 (tst-rxspencer-no-utf8-ENV): Likewise.
109 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
110 instead of $(objpfx)tst-rxspencer-mem.
111 ($(objpfx)tst-rxspencer-mem): Change target to
112 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
113 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
114 * posix/tst-rxspencer-no-utf8.c: New file.
116 * elf/Makefile ($(objpfx)order.out): Remove rule.
117 [$(run-built-tests) = yes] (tests): Depend on
118 $(objpfx)order-cmp.out.
119 ($(objpfx)order-cmp.out): New rule.
120 [$(run-built-tests) = yes] (tests): Depend on
121 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
122 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
123 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
124 $(objpfx)tst-array5-static-cmp.out.
125 ($(objpfx)tst-array1.out): Remove rule.
126 ($(objpfx)tst-array1-cmp.out): New rule.
127 ($(objpfx)tst-array1-static.out): Remove rule.
128 ($(objpfx)tst-array1-static-cmp.out): New rule.
129 ($(objpfx)tst-array2.out): Remove rule.
130 ($(objpfx)tst-array2-cmp.out): New rule.
131 ($(objpfx)tst-array3.out): Remove rule.
132 ($(objpfx)tst-array3-cmp.out): New rule.
133 ($(objpfx)tst-array4.out): Remove rule.
134 ($(objpfx)tst-array4-cmp.out): New rule.
135 ($(objpfx)tst-array5.out): Remove rule.
136 ($(objpfx)tst-array5-cmp.out): New rule.
137 ($(objpfx)tst-array5-static.out): Remove rule.
138 ($(objpfx)tst-array5-static-cmp.out): New rule.
139 [$(run-built-tests) = yes] (tests): Depend on
140 $(objpfx)order2-cmp.out.
141 ($(objpfx)order2.out): Remove rule.
142 ($(objpfx)order2-cmp.out): New rule.
143 ($(objpfx)tst-initorder.out): Remove rule.
144 [$(run-built-tests) = yes] (tests): Depend on
145 $(objpfx)tst-initorder-cmp.out.
146 ($(objpfx)tst-initorder-cmp.out): New rule.
147 ($(objpfx)tst-initorder2.out): Remove rule.
148 [$(run-built-tests) = yes] (tests): Depend on
149 $(objpfx)tst-initorder2-cmp.out.
150 ($(objpfx)tst-initorder2-cmp.out): New rule.
151 [$(run-built-tests) = yes] (tests): Depend on
152 $(objpfx)tst-unused-dep-cmp.out.
153 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
154 ($(objpfx)tst-unused-dep-cmp.out): New rule.
155 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
156 on $(objpfx)tst-setvbuf1-cmp.out.
157 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
158 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
159 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
160 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
161 ($(objpfx)tst-svc.out): Remove rule.
162 ($(objpfx)tst-svc-cmp.out): New rule.
164 2014-02-13 Joseph Myers <joseph@codesourcery.com>
166 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
167 * ctype/ctype.h [__USE_MISC]: Likewise.
168 * dirent/dirent.h [__USE_MISC]: Likewise.
169 * grp/grp.h [__USE_MISC]: Likewise.
170 * io/fcntl.h [__USE_MISC]: Likewise.
171 * io/sys/stat.h [__USE_MISC]: Likewise.
172 * libio/stdio.h [__USE_MISC]: Likewise.
173 * posix/unistd.h [__USE_MISC]: Likewise.
174 * pwd/pwd.h [__USE_MISC]: Likewise.
175 * stdlib.h [__USE_MISC]: Likewise.
176 * string/bits/string2.h [__USE_MISC]: Likewise.
177 * string/string.h [__USE_MISC]: Likewise.
178 * time/time.h [__USE_MISC]: Likewise.
180 2014-02-13 Andreas Schwab <schwab@suse.de>
183 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
184 second answer buffer if it was separately allocated.
186 2014-02-12 Joseph Myers <joseph@codesourcery.com>
188 * sysdeps/mips/math-tests.h: Include <features.h>.
189 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
190 (ROUNDING_TESTS_long_double): Do not define.
191 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
192 (EXCEPTION_TESTS_long_double): Likewise.
193 * sysdeps/mips/mips64/libm-test-ulps: Update.
195 * include/features.h (__USE_BSD): Remove macro definitions.
196 (__USE_SVID): Likewise.
197 (_BSD_SOURCE): Likewise.
198 (_SVID_SOURCE): Likewise.
199 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
200 from definition of _DEFAULT_SOURCE.
201 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
203 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
204 * bits/mman.h [__USE_BSD]: Likewise.
205 * bits/termios.h [__USE_BSD]: Likewise.
206 * bits/waitstatus.h [__USE_BSD]: Likewise.
207 * ctype/ctype.h [__USE_SVID]: Likewise.
208 * dirent/dirent.h [__USE_BSD]: Likewise.
209 * grp/grp.h [__USE_SVID]: Likewise.
210 [__USE_BSD]: Likewise.
211 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
212 * io/fcntl.h [__USE_BSD]: Likewise.
213 * io/ftw.h [__USE_BSD]: Likewise.
214 * io/sys/stat.h [__USE_BSD]: Likewise.
215 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
216 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
217 * libio/stdio.h [__USE_SVID]: Likewise.
218 [__USE_BSD]: Likewise.
219 * math/math.h [__USE_SVID]: Likewise.
220 [__USE_BSD]: Likewise.
221 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
222 * misc/bits/syslog.h [__USE_BSD]: Likewise.
223 * misc/search.h [__USE_SVID]: Likewise.
224 * misc/sys/mman.h [__USE_BSD]: Likewise.
225 * misc/sys/syslog.h [__USE_BSD]: Likewise.
226 * misc/sys/uio.h [__USE_BSD]: Likewise.
227 * posix/bits/unistd.h [__USE_BSD]: Likewise.
228 * posix/glob.h [__USE_BSD]: Likewise.
229 * posix/regex.h [__USE_BSD]: Likewise.
230 * posix/sys/types.h [__USE_BSD]: Likewise.
231 [__USE_SVID]: Likewise.
232 * posix/sys/utsname.h [__USE_SVID]: Likewise.
233 * posix/sys/wait.h [__USE_BSD]: Likewise.
234 [__USE_SVID]: Likewise.
235 * posix/unistd.h [__USE_BSD]: Likewise.
236 [__USE_SVID]: Likewise.
237 * pwd/pwd.h [__USE_SVID]: Likewise.
238 * resolv/netdb.h [__USE_BSD]: Likewise.
239 * setjmp/setjmp.h [__USE_BSD]: Likewise.
240 * signal/signal.h [__USE_BSD]: Likewise.
241 [__USE_SVID]: Likewise.
242 * socket/sys/socket.h [__USE_BSD]: Likewise.
243 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
244 * stdlib/stdlib.h [__USE_BSD]: Likewise.
245 [__USE_SVID]: Likewise.
246 * string/bits/string2.h [__USE_BSD]: Likewise.
247 [__USE_SVID]: Likewise.
248 * string/bits/string3.h [__USE_BSD]: Likewise.
249 * string/endian.h [__USE_BSD]: Likewise.
250 * string/string.h [__USE_SVID]: Likewise.
251 [__USE_BSD]: Likewise.
252 * string/strings.h [__USE_BSD]: Likewise.
253 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
254 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
255 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
256 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
257 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
258 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
262 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
263 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
265 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
266 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
268 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
270 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
271 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
272 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
274 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
276 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
277 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
278 * termios/termios.h [__USE_BSD]: Likewise.
279 * time/sys/time.h [__USE_BSD]: Likewise.
280 * time/time.h [__USE_BSD]: Likewise.
281 [__USE_SVID]: Likewise.
283 * Makefile (subdir_targets): Remove subdir_lint.out.
285 * stdio-common/Makefile (do-tst-unbputc): Remove target.
286 (do-tst-printf): Likewise.
287 (tests): Depend directly on $(objpfx)tst-unbputc.out and
288 $(objpfx)tst-printf.out.
290 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
292 * Makerules (check-abi-%): Change target to
293 $(objpfx)check-abi-%.out.
294 (check-abi target): Update dependencies.
295 (check-abi-pattern variable): Redirect output of diff to $@.
296 (check-abi variable): Likewise.
297 * elf/Makefile (check-abi): Update dependencies.
299 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
301 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
302 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
304 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
305 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
306 value has largest subnormal exponent.
307 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
308 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
309 * sysdeps/aarch64/soft-fp/sfp-machine.h
310 (_FP_TININESS_AFTER_ROUNDING): New macro.
311 * sysdeps/alpha/soft-fp/sfp-machine.h
312 (_FP_TININESS_AFTER_ROUNDING): Likewise.
313 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
315 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
316 (_FP_TININESS_AFTER_ROUNDING): Likewise.
317 * sysdeps/mips/soft-fp/sfp-machine.h
318 (_FP_TININESS_AFTER_ROUNDING): Likewise.
319 * sysdeps/powerpc/soft-fp/sfp-machine.h
320 (_FP_TININESS_AFTER_ROUNDING): Likewise.
321 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
323 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
324 (_FP_TININESS_AFTER_ROUNDING): Likewise.
325 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
326 (_FP_TININESS_AFTER_ROUNDING): Likewise.
327 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
330 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
333 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
336 2014-02-12 Richard Henderson <rth@redhat.com>
338 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
339 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
340 * sysdeps/unix/sysv/linux/alpha: Move directory from
341 ports/sysdeps/unix/sysv/linux/alpha.
342 * README: Update listing for alpha-*-linux-gnu.
344 2014-02-11 Joseph Myers <joseph@codesourcery.com>
346 * include/features.h: Update comment documenting feature test
348 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
350 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
351 (_SVID_SOURCE): Likewise.
352 (_DEFAULT_SOURCE): Update description of default features.
353 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
355 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
357 * manual/math.texi (Mathematical Constants): Likewise.
358 * manual/signal.texi (Interrupted Primitives): Likewise.
359 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
360 * math/test-matherr.c (_SVID_SOURCE): Do not define.
361 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
362 Don't refer to _SVID_SOURCE in warning text.
364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
366 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
368 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
369 * sysdeps/mips/dl-lookup.c: Remove.
370 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
372 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
375 * math/auto-libm-test-in: Add testcase for expl.
376 * math/auto-libm-test-out: Regenerate.
377 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
378 calculation of unsafe.
379 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
381 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
383 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
384 * sysdeps/unix/sysv/linux/aarch64: Move directory from
385 ports/sysdeps/unix/sysv/linux/aarch64.
386 * README: Update listing for aarch64*-*-linux-gnu.
388 2014-02-11 Will Newton <will.newton@linaro.org>
390 * manual/probes.texi (Mathematical Function Probes): Use
391 "triggered" instead of "hit".
393 2014-02-11 Will Newton <will.newton@linaro.org>
395 * manual/probes.texi (Internal Probes): Add documentation
396 of setjmp, longjmp and longjmp_target probes.
398 2014-02-11 Will Newton <will.newton@linaro.org>
400 * include/stap-probe.h: Add comment about probe argument
403 2014-02-11 Will Newton <will.newton@linaro.org>
405 * malloc/mtrace.c (attribute_hidden): Remove unused macro
406 definition. (tr_where, tr_freehook, tr_mallochook,
407 tr_reallochook, tr_memalignhook): Use ANSI protoype.
409 2014-02-11 David S. Miller <davem@davemloft.net>
411 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
412 processing int_tests.
414 2014-02-10 Joseph Myers <joseph@codesourcery.com>
416 * sysdeps/mips: Move directory from ports/sysdeps/mips.
417 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
418 * sysdeps/unix/sysv/linux/mips: Move directory from
419 ports/sysdeps/unix/sysv/linux/mips.
420 * README: Update listing for mips-*-linux-gnu and
423 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
425 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
426 * sysdeps/unix/sysv/linux/m68k: Move directory from
427 ports/sysdeps/unix/sysv/linux/m68k.
428 * README: Update listing for m68k-*-linux-gnu.
430 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
432 * sysdeps/tile: Move directory from ports/sysdeps/tile.
433 * sysdeps/unix/sysv/linux/generic: Move directory from
434 ports/sysdeps/unix/sysv/linux/generic.
435 * sysdeps/unix/sysv/linux/tile: Move directory from
436 ports/sysdeps/unix/sysv/linux/tile.
437 * README: Update listing for tile*-*-linux-gnu.
439 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
441 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
442 * benchtests/bench-memmem.c (simple_memmem): Likewise.
443 * catgets/open_catalog.c (__open_catalog): Likewise.
444 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
445 * debug/confstr_chk.c: Likewise.
446 * debug/fread_chk.c (__fread_chk): Likewise.
447 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
448 * debug/getgroups_chk.c: Likewise.
449 * debug/mbsnrtowcs_chk.c: Likewise.
450 * debug/mbsrtowcs_chk.c: Likewise.
451 * debug/mbstowcs_chk.c: Likewise.
452 * debug/memcpy_chk.c: Likewise.
453 * debug/memmove_chk.c: Likewise.
454 * debug/mempcpy_chk.c: Likewise.
455 * debug/memset_chk.c: Likewise.
456 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
457 * debug/strcat_chk.c (__strcat_chk): Likewise.
458 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
459 * debug/strncat_chk.c (__strncat_chk): Likewise.
460 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
461 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
462 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
463 * debug/wcpncpy_chk.c: Likewise.
464 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
465 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
466 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
467 * debug/wcsncpy_chk.c: Likewise.
468 * debug/wcsnrtombs_chk.c: Likewise.
469 * debug/wcsrtombs_chk.c: Likewise.
470 * debug/wcstombs_chk.c: Likewise.
471 * debug/wmemcpy_chk.c: Likewise.
472 * debug/wmemmove_chk.c: Likewise.
473 * debug/wmempcpy_chk.c: Likewise.
474 * debug/wmemset_chk.c: Likewise.
475 * dirent/scandirat.c (SCANDIRAT): Likewise.
476 * dlfcn/dladdr1.c (dladdr1): Likewise.
477 * dlfcn/dladdr.c (dladdr): Likewise.
478 * dlfcn/dlclose.c (dlclose_doit): Likewise.
479 * dlfcn/dlerror.c (__dlerror): Likewise.
480 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
481 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
482 * dlfcn/dlopen.c (dlopen_doit): Likewise.
483 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
484 * dlfcn/dlsym.c (dlsym_doit): Likewise.
485 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
486 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
487 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
489 * elf/dl-conflict.c: Likewise.
490 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
491 * elf/dl-dst.h: Likewise.
492 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
493 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
494 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
495 * elf/dl-init.c (call_init, _dl_init): Likewise.
496 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
497 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
498 _dl_map_object_from_fd, open_verify, open_path,
499 _dl_map_object): Likewise.
500 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
502 * elf/dl-minimal.c (__libc_memalign): Likewise.
503 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
504 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
505 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
506 * elf/dl-sym.c (do_sym): Likewise.
507 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
508 _dl_tls_get_addr_soft): Likewise.
509 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
510 * elf/dl-writev.h (_dl_writev): Likewise.
511 * elf/ldconfig.c (search_dir): Likewise.
512 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
514 * elf/setup-vdso.h (setup_vdso): Likewise.
515 * grp/compat-initgroups.c (compat_call): Likewise.
516 * grp/fgetgrent.c (fgetgrent): Likewise.
517 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
518 * grp/putgrent.c (putgrent): Likewise.
519 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
521 * hurd/hurdinit.c: Likewise.
522 * iconvdata/8bit-gap.c (struct): Likewise.
523 * iconvdata/ansi_x3.110.c : Likewise.
524 * iconvdata/big5.c : Likewise.
525 * iconvdata/big5hkscs.c : Likewise.
526 * iconvdata/cp1255.c: Likewise.
527 * iconvdata/cp1258.c : Likewise.
528 * iconvdata/cp932.c : Likewise.
529 * iconvdata/euc-cn.c: Likewise.
530 * iconvdata/euc-jisx0213.c : Likewise.
531 * iconvdata/euc-jp.c: Likewise.
532 * iconvdata/euc-jp-ms.c : Likewise.
533 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
534 * iconvdata/gb18030.c : Likewise.
535 * iconvdata/gbbig5.c (const): Likewise.
536 * iconvdata/gbgbk.c: Likewise.
537 * iconvdata/gbk.c : Likewise.
538 * iconvdata/ibm1364.c : Likewise.
539 * iconvdata/ibm930.c : Likewise.
540 * iconvdata/ibm932.c: Likewise.
541 * iconvdata/ibm933.c : Likewise.
542 * iconvdata/ibm935.c : Likewise.
543 * iconvdata/ibm937.c : Likewise.
544 * iconvdata/ibm939.c : Likewise.
545 * iconvdata/ibm943.c: Likewise.
546 * iconvdata/iso_11548-1.c: Likewise.
547 * iconvdata/iso-2022-cn.c : Likewise.
548 * iconvdata/iso-2022-cn-ext.c : Likewise.
549 * iconvdata/iso-2022-jp-3.c: Likewise.
550 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
551 * iconvdata/iso-2022-kr.c : Likewise.
552 * iconvdata/iso646.c (gconv_end): Likewise.
553 * iconvdata/iso_6937-2.c : Likewise.
554 * iconvdata/iso_6937.c : Likewise.
555 * iconvdata/iso8859-1.c: Likewise.
556 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
557 * iconvdata/shift_jisx0213.c : Likewise.
558 * iconvdata/sjis.c : Likewise.
559 * iconvdata/t.61.c : Likewise.
560 * iconvdata/tcvn5712-1.c : Likewise.
561 * iconvdata/tscii.c: Likewise.
562 * iconvdata/uhc.c : Likewise.
563 * iconvdata/unicode.c (gconv_end): Likewise.
564 * iconvdata/utf-16.c (gconv_end): Likewise.
565 * iconvdata/utf-32.c (gconv_end): Likewise.
566 * iconvdata/utf-7.c (base64): Likewise.
567 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
568 * iconv/gconv_close.c (__gconv_close): Likewise.
569 * iconv/gconv_open.c (__gconv_open): Likewise.
570 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
571 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
572 internal_ucs4le_loop_single, ucs4le_internal_loop,
573 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
574 * iconv/iconv.c (iconv): Likewise.
575 * iconv/iconv_close.c: Likewise.
576 * iconv/loop.c (SINGLE): Likewise.
577 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
578 * include/atomic.h: Likewise.
579 * inet/inet6_option.c (option_alloc): Likewise.
580 * intl/bindtextdom.c (set_binding_values): Likewise.
581 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
582 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
583 * intl/localealias.c (read_alias_file): Likewise.
584 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
585 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
586 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
587 * libio/fmemopen.c (fmemopen): Likewise.
588 * libio/iofgets.c (_IO_fgets): Likewise.
589 * libio/iofgets_u.c (fgets_unlocked): Likewise.
590 * libio/iofgetws.c (fgetws): Likewise.
591 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
592 * libio/iogetdelim.c (_IO_getdelim): Likewise.
593 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
594 adjust_wide_data, _IO_wfile_seekoff): Likewise.
595 * locale/findlocale.c (_nl_find_locale): Likewise.
596 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
597 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
599 * locale/setlocale.c (setlocale): Likewise.
600 * login/programs/pt_chown.c (main): Likewise.
601 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
602 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
603 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
604 mmap, mmap64, mremap, munmap): Likewise.
605 * math/e_exp2l.c: Likewise.
606 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
607 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
608 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
609 * math/s_catan.c (__catan): Likewise.
610 * math/s_catanf.c (__catanf): Likewise.
611 * math/s_catanh.c (__catanh): Likewise.
612 * math/s_catanhf.c (__catanhf): Likewise.
613 * math/s_catanhl.c (__catanhl): Likewise.
614 * math/s_catanl.c (__catanl): Likewise.
615 * math/s_ccosh.c (__ccosh): Likewise.
616 * math/s_ccoshf.c (__ccoshf): Likewise.
617 * math/s_ccoshl.c (__ccoshl): Likewise.
618 * math/s_cexp.c (__cexp): Likewise.
619 * math/s_cexpf.c (__cexpf): Likewise.
620 * math/s_cexpl.c (__cexpl): Likewise.
621 * math/s_clog10.c (__clog10): Likewise.
622 * math/s_clog10f.c (__clog10f): Likewise.
623 * math/s_clog10l.c (__clog10l): Likewise.
624 * math/s_clog.c (__clog): Likewise.
625 * math/s_clogf.c (__clogf): Likewise.
626 * math/s_clogl.c (__clogl): Likewise.
627 * math/s_csin.c (__csin): Likewise.
628 * math/s_csinf.c (__csinf): Likewise.
629 * math/s_csinh.c (__csinh): Likewise.
630 * math/s_csinhf.c (__csinhf): Likewise.
631 * math/s_csinhl.c (__csinhl): Likewise.
632 * math/s_csinl.c (__csinl): Likewise.
633 * math/s_csqrt.c (__csqrt): Likewise.
634 * math/s_csqrtf.c (__csqrtf): Likewise.
635 * math/s_csqrtl.c (__csqrtl): Likewise.
636 * math/s_ctan.c (__ctan): Likewise.
637 * math/s_ctanf.c (__ctanf): Likewise.
638 * math/s_ctanh.c (__ctanh): Likewise.
639 * math/s_ctanhf.c (__ctanhf): Likewise.
640 * math/s_ctanhl.c (__ctanhl): Likewise.
641 * math/s_ctanl.c (__ctanl): Likewise.
642 * math/w_pow.c: Likewise.
643 * math/w_powf.c: Likewise.
644 * math/w_powl.c: Likewise.
645 * math/w_scalb.c (sysv_scalb): Likewise.
646 * math/w_scalbf.c (sysv_scalbf): Likewise.
647 * math/w_scalbl.c (sysv_scalbl): Likewise.
648 * misc/error.c (error_tail): Likewise.
649 * misc/pselect.c (__pselect): Likewise.
650 * nis/nis_callback.c (__nis_create_callback): Likewise.
651 * nis/nis_call.c (__nisfind_server): Likewise.
652 * nis/nis_creategroup.c (nis_creategroup): Likewise.
653 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
654 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
655 * nis/nis_getservlist.c (nis_getservlist): Likewise.
656 * nis/nis_lookup.c (nis_lookup): Likewise.
657 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
658 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
659 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
660 * nis/nis_xdr.c (xdr_endpoint): Likewise.
661 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
662 internal_getgrgid_r): Likewise.
663 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
665 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
666 internal_getpwuid_r): Likewise.
667 * nis/nss_compat/compat-spwd.c (getspent_next_file,
668 internal_getspnam_r): Likewise.
669 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
670 _nss_nis_getaliasbyname_r): Likewise.
671 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
672 _nss_nis_getntohost_r): Likewise.
673 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
674 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
676 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
677 internal_nis_gethostent_r, internal_gethostbyname2_r,
678 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
679 _nss_nis_gethostbyname4_r): Likewise.
680 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
681 initgroups_netid): Likewise.
682 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
683 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
684 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
685 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
686 _nss_nis_getprotobynumber_r): Likewise.
687 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
688 _nss_nis_getsecretkey): Likewise.
689 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
690 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
692 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
693 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
694 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
695 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
696 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
697 _nss_nis_getspnam_r): Likewise.
698 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
700 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
701 _nss_nisplus_getntohost_r): Likewise.
702 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
703 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
704 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
705 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
706 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
708 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
709 _nss_nisplus_getnetbyaddr_r): Likewise.
710 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
711 _nss_nisplus_getprotobynumber_r): Likewise.
712 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
713 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
714 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
716 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
717 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
718 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
719 _nss_nisplus_getspnam_r): Likewise.
720 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
721 * nscd/aicache.c (addhstaiX): Likewise.
722 * nscd/cache.c (cache_search, prune_cache): Likewise.
723 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
724 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
725 * nscd/grpcache.c (addgrbyX): Likewise.
726 * nscd/hstcache.c (addhstbyX): Likewise.
727 * nscd/initgrcache.c (addinitgroupsX): Likewise.
728 * nscd/mem.c (gc, mempool_alloc): Likewise.
729 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
731 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
733 * nscd/nscd_getai.c (__nscd_getai): Likewise.
734 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
735 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
737 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
738 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
739 * nscd/nscd_helper.c (__readvall, open_socket,
740 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
741 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
742 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
743 * nscd/pwdcache.c (addpwbyX): Likewise.
744 * nscd/selinux.c (preserve_capabilities): Likewise.
745 * nscd/servicescache.c (addservbyX): Likewise.
746 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
747 * posix/fnmatch.c (fnmatch): Likewise.
748 * posix/getopt.c (_getopt_internal_r): Likewise.
749 * posix/glob.c (glob, glob_in_dir): Likewise.
750 * posix/wordexp.c (exec_comm_child): Likewise.
751 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
752 gaih_getanswer_slice): Likewise.
753 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
754 * resolv/res_init.c: Likewise.
755 * resolv/res_mkquery.c (res_nmkquery): Likewise.
756 * resolv/res_query.c (__libc_res_nquery): Likewise.
757 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
759 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
760 * stdio-common/perror.c (perror): Likewise.
761 * stdio-common/printf_fp.c (___printf_fp): Likewise.
762 * stdio-common/tmpnam.c (tmpnam): Likewise.
763 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
764 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
765 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
766 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
767 * stdlib/putenv.c (putenv): Likewise.
768 * stdlib/setenv.c (__add_to_environ): Likewise.
769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
770 * stdlib/strtol_l.c (INTERNAL): Likewise.
771 * string/memmem.c (memmem): Likewise.
772 * string/strerror.c (strerror): Likewise.
773 * string/strnlen.c (__strnlen): Likewise.
774 * string/test-memmem.c (simple_memmem): Likewise.
775 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
776 * sunrpc/pm_getport.c (__get_socket): Likewise.
777 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
778 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
779 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
780 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
782 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
783 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
784 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
785 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
786 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
787 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
788 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
789 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
790 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
791 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
792 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
793 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
795 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
796 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
797 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
798 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
799 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
802 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
804 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
806 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
808 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
810 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
811 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
812 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
815 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
816 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
817 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
818 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
819 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
821 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
822 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
824 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
826 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
828 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
829 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
830 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
832 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
833 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
834 * sysdeps/posix/opendir.c (__opendirat): Likewise.
835 * sysdeps/posix/sleep.c: Likewise.
836 * sysdeps/posix/tempname.c: Likewise.
837 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
838 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
840 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
841 elf_machine_rela): Likewise.
842 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
844 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
845 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
847 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
848 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
849 elf_machine_rela, elf_machine_lazy_rel): Likewise.
850 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
851 elf_machine_rela, elf_machine_lazy_rel): Likewise.
852 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
853 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
854 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
855 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
856 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
858 elf_machine_lazy_rel): Likewise.
859 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
861 elf_machine_lazy_rel): Likewise.
862 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
863 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
864 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
865 * sysdeps/unix/grantpt.c (grantpt): Likewise.
866 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
867 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
868 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
871 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
872 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
873 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
874 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
875 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
876 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
877 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
878 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
879 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
880 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
881 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
883 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
884 (__posix_fallocate64_l64): Likewise.
885 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
886 (posix_fallocate): Likewise.
887 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
888 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
889 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
890 getifaddrs_internal): Likewise.
891 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
892 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
893 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
894 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
895 * sysdeps/unix/sysv/linux/posix_fallocate64.c
896 (__posix_fallocate64_l64): Likewise.
897 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
899 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
902 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
903 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
904 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
905 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
906 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
907 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
908 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
909 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
911 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
912 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
913 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
914 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
915 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
916 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
917 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
919 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
920 (posix_fallocate): Likewise.
921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
922 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
923 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
924 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
925 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
927 * time/asctime.c (asctime_internal): Likewise.
928 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
929 * time/tzset.c (__tzset_parse_tz): Likewise.
930 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
931 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
932 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
933 * wcsmbs/wcsmbsload.h: Likewise.
935 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
938 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
940 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
942 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
943 arena_get2): Remove THREAD_STATS conditionals.
944 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
945 __malloc_stats, int): Likewise.
947 2014-02-08 Mike Frysinger <vapier@gentoo.org>
949 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
950 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
952 2014-02-08 Mike Frysinger <vapier@gentoo.org>
954 * manual/setjmp.texi: Fix typos/grammar errors.
956 2014-02-08 Mike Frysinger <vapier@gentoo.org>
958 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
959 Only return early when n is <= 0. Delete unused return statement.
961 2014-02-08 Mike Frysinger <vapier@gentoo.org>
963 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
964 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
965 * debug/tst-longjmp_chk3.c: New file.
967 2014-02-08 Mike Frysinger <vapier@gentoo.org>
969 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
970 (test_main): Replace code with set_fortify_handler call.
971 * debug/test-strcpy_chk.c: Likewise.
972 * debug/tst-chk1.c: Likewise.
973 * debug/tst-longjmp_chk.c: Likewise.
974 * test-skeleton.c: Include fcntl.h & paths.h
975 (set_fortify_handler): Define.
977 2014-02-08 Mike Frysinger <vapier@gentoo.org>
979 * debug/tst-longjmp_chk.c: Add header comment and include
981 (do_test): Mark static.
982 (TEST_FUNCTION): Define.
984 2014-02-08 Mike Frysinger <vapier@gentoo.org>
986 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
987 (IP_PMTUDISC_INTERFACE): Likewise.
988 (IP_MULTICAST_IF): Likewise.
989 (IP_MULTICAST_TTL): Likewise.
990 (IP_MULTICAST_LOOP): Likewise.
991 (IP_ADD_MEMBERSHIP): Likewise.
992 (IP_DROP_MEMBERSHIP): Likewise.
993 (IP_UNBLOCK_SOURCE): Likewise.
994 (IP_BLOCK_SOURCE): Likewise.
995 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
996 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
997 (IP_MSFILTER): Likewise.
998 (MCAST_JOIN_GROUP): Likewise.
999 (MCAST_BLOCK_SOURCE): Likewise.
1000 (MCAST_UNBLOCK_SOURCE): Likewise.
1001 (MCAST_LEAVE_GROUP): Likewise.
1002 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1003 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1004 (MCAST_MSFILTER): Likewise.
1005 (IP_MULTICAST_ALL): Likewise.
1006 (IP_UNICAST_IF): Likewise.
1008 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1010 * timezone/Makefile: Delete $(have-ksh) check.
1011 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1012 * timezone/tzselect.ksh: Add +x mode bits.
1014 2014-02-08 Mike Frysinger <vapier@gentoo.org>
1016 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1017 (ANON_INODE_FS_MAGIC): Likewise.
1018 (BDEVFS_MAGIC): Likewise.
1019 (BINFMTFS_MAGIC): Likewise.
1020 (BTRFS_TEST_MAGIC): Likewise.
1021 (CRAMFS_MAGIC_WEND): Likewise.
1022 (DEBUGFS_MAGIC): Likewise.
1023 (ECRYPTFS_SUPER_MAGIC): Likewise.
1024 (EXT3_SUPER_MAGIC): Likewise.
1025 (EXT4_SUPER_MAGIC): Likewise.
1026 (FUTEXFS_SUPER_MAGIC): Likewise.
1027 (HOSTFS_SUPER_MAGIC): Likewise.
1028 (HUGETLBFS_MAGIC): Likewise.
1029 (MINIX3_SUPER_MAGIC): Likewise.
1030 (MTD_INODE_FS_MAGIC): Likewise.
1031 (NILFS_SUPER_MAGIC): Likewise.
1032 (OPENPROM_SUPER_MAGIC): Likewise.
1033 (PIPEFS_MAGIC): Likewise.
1034 (PSTOREFS_MAGIC): Likewise.
1035 (QNX6_SUPER_MAGIC): Likewise.
1036 (RAMFS_MAGIC): Likewise.
1037 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1038 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1039 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1040 (SECURITYFS_MAGIC): Likewise.
1041 (SELINUX_MAGIC): Likewise.
1042 (SMACK_MAGIC): Likewise.
1043 (SOCKFS_MAGIC): Likewise.
1044 (SQUASHFS_MAGIC): Likewise.
1045 (STACK_END_MAGIC): Likewise.
1046 (TMPFS_MAGIC): Likewise.
1047 (USBDEVICE_SUPER_MAGIC): Likewise.
1048 (V9FS_MAGIC): Likewise.
1049 (XENFS_SUPER_MAGIC): Likewise.
1050 (CRAMFS_MAGIC): Fix typo in comment.
1051 (EXT2_SUPER_MAGIC): Update comment.
1052 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1054 2014-02-08 Joseph Myers <joseph@codesourcery.com>
1056 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1057 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1058 * sysdeps/unix/sysv/linux/arm: Move directory from
1059 ports/sysdeps/unix/sysv/linux/arm.
1060 * README: Update listing for arm-*-linux-gnueabi.
1062 * README: Remove mention of am33.
1064 2014-02-07 Roland McGrath <roland@hack.frob.com>
1066 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1067 than the comma operator, to avoid "rhs of comma has no effect"
1069 (__sigfillset, __sigandset, __sigorset): Likewise.
1070 * include/signal.h (__sigemptyset): Likewise.
1071 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1073 2014-02-07 Allan McRae <allan@archlinux.org>
1075 * version.h (RELEASE): Set to "development".
1076 (VERSION): Set to "2.19.90"
1077 * NEWS: Add 2.20 section.
1079 2014-02-06 Carlos O'Donell <carlos@redhat.com>
1082 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1084 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1086 * manual/contrib.texi: Update entry for Carlos O'Donell,
1087 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1089 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
1091 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1093 * sysdeps/unix/sysv/linux/kernel-features.h
1094 [__LINUX_KERNEL_VERSION >= 0x020621]
1095 (__ASSUME_PROC_PID_TASK_COMM): Define.
1097 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1099 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1100 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1101 Leonard and Allan McRae.
1103 2014-02-04 David S. Miller <davem@davemloft.net>
1105 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1108 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1137 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1139 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1140 * shlib-versions: Likewise.
1142 2014-02-04 Roland McGrath <roland@hack.frob.com>
1143 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1146 (abilist-pattern): New variable, set to %-le.abilist.
1148 * Makerules (abilist-pattern): New variable.
1149 (vpath): Use $(abilist-pattern) in place of %.abilist.
1150 (check-abi-% pattern rule): Likewise.
1151 (check-abi, update-abi): Likewise.
1153 2014-02-04 Eric Wong <normalperson@yhbt.net>
1155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1157 2014-02-04 Eric Wong <normalperson@yhbt.net>
1159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1161 2014-02-03 Carlos O'Donell <carlos@redhat.com>
1163 * manual/startup.texi: Add next, previous, and top entries for
1164 the `Program Arguments' and `Environment Variables' nodes.
1166 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
1168 * manual/macros.texi: Add comments before MTASC-safety macros.
1170 * manual/users.texi: Document MTASC-safety properties.
1172 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1173 pthread_getspecific, pthread_setspecific): Format with
1174 @deftypefun, and add @safety note.
1175 * manual/signal.texi: Move comments that analyze the above
1176 functions to their home place.
1178 2014-02-03 Allan McRae <allan@archlinux.org>
1180 * po/sl.po: Update Slovenian translation from translation project.
1182 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
1184 * manual/time.texi (timegm): Add missing blank after @c.
1185 Reported by Joseph Myers <joseph@codesourcery.com>.
1187 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
1189 * manual/check-safety.sh: New.
1190 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1192 * manual/terminal.texi: Document MTASC-safety properties.
1194 * manual/filesys.texi: Document MTASC-safety properties.
1196 * manual/errno.texi: Document MTASC-safety properties.
1198 * manual/intro.texi: Document safety identifiers and
1201 * manual/string.texi (wcstok): Fix prototype.
1202 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1204 * manual/time.texi: Document MTASC-safety properties.
1206 * manual/string.texi: Document MTASC-safety properties.
1208 * manual/threads.texi: Document MTASC-safety properties.
1210 * manual/stdio.texi: Document MTASC-safety properties.
1212 * manual/syslog.texi: Document MTASC-safety properties.
1214 * manual/sysinfo.texi: Document MTASC-safety properties.
1216 * manual/startup.texi: Document MTASC-safety properties.
1218 * manual/socket.texi: Document MTASC-safety properties.
1220 * manual/signal.texi: Document MTASC-safety properties.
1222 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
1224 * manual/setjmp.texi: Document MTASC-safety properties.
1226 * manual/search.texi: Document MTASC-safety properties.
1228 * manual/resource.texi: Document MTASC-safety properties.
1230 * manual/process.texi: Document MTASC-safety properties.
1232 * manual/platform.texi: Document MTASC-safety properties.
1234 * manual/pipe.texi: Document MTASC-safety properties.
1236 * manual/pattern.texi: Document MTASC-safety properties.
1238 * manual/message.texi: Document MTASC-safety properties.
1241 * manual/memory.texi: Document MTASC-safety properties.
1243 * manual/math.texi: Document MTASC-safety properties.
1245 * manual/locale.texi: Document MTASC-safety properties.
1247 * manual/llio.texi: Document MTASC-safety properties.
1249 * manual/libdl.texi: New.
1251 * manual/lang.texi: Document MTASC-safety properties.
1253 * manual/job.texi: Document MTASC-safety properties.
1255 * manual/getopt.texi: Document MTASC-safety properties.
1257 * manual/ctype.texi: Document MTASC-safety properties.
1259 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1262 * csu/libc-tls.c (static_map): Remove variable.
1263 (__libc_setup_tls): Use main executable's link map for TLS data.
1264 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1265 casing for LM_ID_BASE and GL(dl_nns).
1266 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1267 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1268 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1269 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1270 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1272 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1275 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
1277 * manual/debug.texi: Document MTASC-safety properties.
1279 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1282 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1283 of __x86_64__ when disabling x87 inline functions.
1285 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
1287 * manual/charset.texi: Document MTASC-safety properties.
1289 * manual/crypt.texi: Document MTASC-safety properties.
1291 * manual/conf.texi: Document MTASC-safety properties.
1293 * manual/arith.texi: Document MTASC-safety properties.
1295 * manual/argp.texi: Document MTASC-safety properties.
1297 * manual/macros.texi: Introduce macros to document multi
1298 thread, asynchronous signal and asynchronous cancellation
1300 * manual/intro.texi: Introduce the properties themselves.
1302 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1304 * sysdeps/sh/sh4/Makefile: New file.
1306 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1308 * math/gen-libm-test.pl ($srcdir): New variable.
1309 ($auto_input): Use it.
1311 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1315 access beyond array bounds when parsing netgroups file.
1317 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1318 the old buffer before realloc.
1320 2014-01-27 Allan McRae <allan@archlinux.org>
1322 * po/fr.po: Update French translation from translation project.
1324 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1326 * sysdeps/sh/libm-test-ulps: Regenerate.
1328 2014-01-24 David S. Miller <davem@davemloft.net>
1330 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1332 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1334 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1335 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1337 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1340 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1341 string pointers after reallocation.
1343 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1345 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1346 __SH4A__ instead of __SH_FPU_ANY__.
1348 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1350 * sysdeps/sh/fpu_control.h: New file.
1351 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1352 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1353 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1354 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1355 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1356 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1357 * sysdeps/sh/sys/ucontext.h: Remove.
1358 * sysdeps/sh/sys: Remove directory.
1360 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1362 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1363 s390/sys/ucontext.h.
1364 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1365 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1367 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1370 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1372 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1375 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1376 Adjust the vDSO correctly for internal calls.
1377 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1379 2014-01-20 Allan McRae <allan@archlinux.org>
1381 * po/ca.po: Update Catalan translation from translation project.
1383 2014-01-16 Mike Frysinger <vapier@gentoo.org>
1385 * sysdeps/s390/sotruss-lib.c: New file.
1387 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
1391 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1392 local calls issues by not having a PLT stub required for IFUNC calls.
1393 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1395 2014-01-16 Joseph Myers <joseph@codesourcery.com>
1397 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1398 * math/test-fpucw-static.c: Likewise.
1400 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1403 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1405 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1408 implementation for powerpc.
1410 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
1413 * sysdeps/posix/system.c (__libc_system): Do not enable
1414 asynchronous cancellation.
1416 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1419 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1420 handling only for numbers special also in the IEEE case.
1422 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1424 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1426 2014-01-11 Allan McRae <allan@archlinux.org>
1428 * po/bg.po: Update Bulgarian translation from translation project.
1430 * po/de.po: Update German translation from translation project.
1432 2014-01-10 Roland McGrath <roland@hack.frob.com>
1434 * sysdeps/generic/gcc-compat.h: New file.
1436 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1438 * benchtests/asin-inputs: Correct slow inputs.
1439 * benchtests/acos-inputs: Likewise.
1441 2014-01-10 Allan McRae <allan@archlinux.org>
1443 * po:sv.po: Update Swedish translation from translation project.
1445 * po/vi.po: Update Vietnamese translation from translation project.
1447 * po/eo.po: Update Esperanto translation from translation project.
1449 * po/cs.po: Update Czech translation from translation project.
1451 * po/nl.po: Update Dutch translation from translation project.
1453 * po/pl.po: Update Polish translation from translation project.
1455 * po/ru.po: Update Russian translation from translation project.
1457 * po/uk.po: Update Ukrainian translation from translation project.
1459 2014-01-08 Brooks Moses <bmoses@google.com>
1461 * elf/dl-load.c: Fix comment typo.
1463 2014-01-08 Carlos O'Donell <carlos@redhat.com>
1465 * po/header.pot: Rename to...
1466 * po/pot.header: ... this.
1467 * po/Makefile: Use pot.header.
1469 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1470 Maxim Kuvyrkov <maxim@kugelworks.com>
1473 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1474 SRC and DEST against LEN.
1476 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1479 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1481 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1483 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1487 2014-01-08 Joseph Myers <joseph@codesourcery.com>
1490 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1491 for large positive arguments.
1493 2014-01-07 Joseph Myers <joseph@codesourcery.com>
1495 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1497 * math/auto-libm-test-in: Mark various tests with
1498 xfail-rounding:ldbl-128ibm.
1499 * math/auto-libm-test-out: Regenerated.
1502 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1503 Increase overflow threshold.
1505 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
1508 * stdio-common/vfprintf.c: Check for integer overflow.
1510 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1512 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1513 the first argument and return value of __tls_get_addr_internal.
1515 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1517 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1518 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1520 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1522 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1523 * sysdeps/s390/rtld-global-offsets.sym: New file.
1524 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1526 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1527 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1530 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1531 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1538 halfs of GPRs for high_gprs contexts.
1539 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1540 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1542 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1544 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1546 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1547 for high GPRs (uc_high_gprs) and for future extensions
1549 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1550 for future extensions (__reserved).
1551 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1553 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1554 SC_HIGHGPRS offset definition.
1555 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1556 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1558 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1560 * Versions.def: Add GLIBC_2.19 for libpthread.
1561 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1562 siglongjmp for libpthread with GLIBC_2.19 symver.
1563 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1564 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1565 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1566 * sysdeps/s390/__longjmp.c: New file.
1567 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1568 * sysdeps/s390/longjmp.c: New file.
1569 * sysdeps/s390/setjmp.S: New file.
1570 * sysdeps/s390/sigjmp.S: New file.
1571 * sysdeps/s390/v1-longjmp.c: New file.
1572 * sysdeps/s390/v1-setjmp.h: New file.
1573 * sysdeps/s390/v1-sigjmp.c: New file.
1574 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1575 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1577 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1578 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1579 versioned symbols for ____longjmp_chk.
1580 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1590 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1591 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1592 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1593 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1594 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1595 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1596 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1597 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1598 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1599 * sysdeps/s390/rtld-__longjmp.c: New file.
1600 * sysdeps/s390/rtld-setjmp.S: New file.
1602 2014-01-06 Joseph Myers <joseph@codesourcery.com>
1605 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1606 Return -__logl (x) for small positive arguments without evaluating
1609 2014-01-06 Mike Frysinger <vapier@gentoo.org>
1611 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1613 (__ptrace_peeksiginfo_args): ... this.
1614 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1615 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1616 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1618 2014-01-06 Allan McRae <allan@archlinux.org>
1620 * inet/netinet/in.h: Fix typo in comment.
1622 2014-01-05 Andreas Jaeger <aj@suse.de>
1624 * sysdeps/i386/fpu/libm-test-ulps: Update.
1626 2014-01-05 Allan McRae <allan@archlinux.org>
1628 * po/libc.pot: Regenerated.
1630 * malloc/memusagestat.c: Fix gettext call formatting.
1632 2014-01-04 Sami Kerola <kerolasa@iki.fi>
1634 * nscd/nscd.c: Improve usage() output.
1636 2014-01-04 Mike Frysinger <vapier@gentoo.org>
1638 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1639 * sysdeps/unix/sysv/linux/configure: Regenerated.
1640 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1641 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1643 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1646 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1647 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1649 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1652 extra tokens at end of #undef directive.
1653 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1654 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1657 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1659 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1661 * math/auto-libm-test-in: Mark various tests with
1662 xfail-rounding:ldbl-128ibm.
1663 * math/auto-libm-test-out: Regenerated.
1665 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1668 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1669 numbers with subnormal high part when calculating exponent.
1672 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1676 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1678 (__ieee754_acoshl): Use __log1pl not __log1p.
1680 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1682 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1683 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1684 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1685 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1686 Convert to GNU style.
1687 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1688 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1689 memalign_check, __malloc_set_state): Likewise.
1690 * malloc/mallocbug.c (main): Likewise.
1691 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1692 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1693 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1694 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1695 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1696 * malloc/malloc.h: Likewise.
1697 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1698 memalignhook, reallochook, mabort): Likewise.
1699 * malloc/mcheck.h: Likewise.
1700 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1701 mmap64, mremap, munmap, dest): Likewise.
1702 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1703 * malloc/morecore.c (__default_morecore): Likewise.
1704 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1705 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1706 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1707 print_and_abort): Likewise.
1708 * malloc/obstack.h: Likewise.
1709 * malloc/set-freeres.c (__libc_freeres): Likewise.
1710 * malloc/tst-mallocstate.c (main): Likewise.
1711 * malloc/tst-mtrace.c (main): Likewise.
1712 * malloc/tst-realloc.c (do_test): Likewise.
1714 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1717 * nscd/netgroupcache.c (do_notfound): New function.
1718 (addgetnetgrentX): Use it.
1721 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1722 NSS_STATUS_NOTFOUND.
1724 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1726 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1729 2014-01-01 Allan McRae <allan@archlinux.org>
1731 * scripts/update-copyrights: Update configure input file suffix.
1733 * NEWS: Update copyright year.
1734 * catgets/gencat.c: Likewise.
1735 * csu/version.c: Likewise.
1736 * debug/catchsegv.sh: Likewise.
1737 * debug/pcprofiledump.c: Likewise.
1738 * debug/xtrace.sh: Likewise.
1739 * elf/ldconfig.c: Likewise.
1740 * elf/ldd.bash.in: Likewise.
1741 * elf/pldd.c: Likewise.
1742 * elf/sotruss.ksh: Likewise.
1743 * elf/sprof.c: Likewise.
1744 * iconv/iconv_prog.c: Likewise.
1745 * iconv/iconvconfig.c: Likewise.
1746 * locale/programs/locale.c: Likewise.
1747 * locale/programs/localedef.c: Likewise.
1748 * login/programs/pt_chown.c: Likewise.
1749 * malloc/memusage.sh: Likewise.
1750 * malloc/memusagestat.c: Likewise.
1751 * malloc/mtrace.pl: Likewise.
1752 * manual/libc.texinfo: Likewise.
1753 * nscd/nscd.c: Likewise.
1754 * nss/getent.c: Likewise.
1755 * nss/makedb.c: Likewise.
1756 * posix/getconf.c: Likewise.
1757 * scripts/test-installation.pl: Likewise.
1759 * All files with FSF copyright notices: Update copyright dates
1760 using scripts/update-copyrights.
1761 * intl/plural.c: Regenerated.
1762 * locale/programs/charmap-kw.h: Likewise.
1763 * locale/programs/locfile-kw.h: Likewise.
1765 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1767 * sysdeps/unix/sysv/linux/configure: Regenerated.
1768 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1769 the linux/fanotify.h header.
1770 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1771 HAVE_LINUX_FANOTIFY_H is defined.
1773 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1775 * benchtests/cos-inputs: New inputs.
1776 * benchtests/sin-inputs: Likewise.
1778 * benchtests/atan-inputs: New inputs. Fix name of multiple
1779 precision fallback inputs.
1781 * benchtests/atanh-inputs: New inputs.
1782 * benchtests/tanh-inputs: Likewise.
1784 * benchtests/acosh-inputs: New inputs.
1785 * benchtests/asinh-inputs: Likewise.
1787 * benchtests/cosh-inputs: New inputs.
1788 * benchtests/sinh-inputs: Likewise.
1790 * benchtests/acos-inputs: Add more inputs.
1791 * benchtests/asin-inputs: Likewise.
1793 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1796 * manual/arith.texi: Fix spelling.
1797 * manual/charset.texi: Likewise.
1798 * manual/errno.texi: Likewise.
1799 * manual/filesys.texi: Likewise.
1800 * manual/lang.texi: Likewise.
1801 * manual/llio.texi: Likewise.
1802 * manual/locale.texi: Likewise.
1803 * manual/message.texi: Likewise.
1804 * manual/resource.texi: Likewise.
1805 * manual/search.texi: Likewise.
1806 * manual/setjmp.texi: Likewise.
1807 * manual/stdio.texi: Likewise.
1808 * manual/string.texi: Likewise.
1809 * manual/sysinfo.texi: Likewise.
1810 * manual/time.texi: Likewise.
1812 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1814 * po/sl.po: New file.
1816 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1818 * .gitignore: Add core/.gdbinit/.gdb_history.
1820 2013-12-27 Allan McRae <allan@archlinux.org>
1823 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1824 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1826 2013-12-24 Brooks Moses <bmoses@google.com>
1828 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1829 all compilers that claim C++98 compliance, not just GCC.
1830 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1833 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1835 * NEWS: Restore accidentally deleted bug-fix entries.
1837 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1838 Ondřej Bílka <neleai@seznam.cz>
1841 * malloc/malloc.c (_int_free): Perform sanity check only if we
1844 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1847 * manual/stdio.texi (String Input Conversions): Clarify that character
1848 classes are not supported.
1850 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1854 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1857 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1858 Calculate results for small negative arguments directly rather
1859 than using reflection formula with special underflow handling.
1861 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1862 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1863 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1864 (fchflags): Likewise.
1866 (setlogin): Likewise.
1867 (sigaltstack): Likewise.
1870 (sigsetmask): Likewise.
1872 (waitpid): Likewise.
1873 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1874 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1876 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1877 * sysdeps/unix/bsd/Makefile: ... here.
1878 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1879 * sysdeps/unix/bsd/Versions: ... here.
1880 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1881 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1882 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1883 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1884 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1885 * sysdeps/unix/bsd/sigblock.c: ... here.
1886 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1887 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1888 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1889 * sysdeps/unix/bsd/sigvec.c: ... here.
1890 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1891 * sysdeps/unix/bsd/tcdrain.c: ... here.
1892 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1893 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1894 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1895 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1896 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1897 * sysdeps/unix/bsd/wait.c: ... here.
1898 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1899 * sysdeps/unix/bsd/wait3.c: ... here.
1900 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1901 * sysdeps/unix/bsd/waitpid.c: ... here.
1903 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1906 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1907 round-to-nearest for [!USE_AS_EXPM1L].
1908 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1909 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1910 more tests of exp and exp10. Expect some exp10 tests to miss
1911 exceptions or fail in directed rounding modes.
1912 * math/auto-libm-test-out: Regenerated.
1913 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1914 (exp10_test_tonearest): New function.
1915 (exp10_towardzero_test_data): New array.
1916 (exp10_test_towardzero): New function.
1917 (exp10_downward_test_data): New array.
1918 (exp10_test_downward): New function.
1919 (exp10_upward_test_data): New array.
1920 (exp10_test_upward): New function.
1921 (main): Call the new functions.
1922 * sysdeps/i386/fpu/libm-test-ulps: Update.
1923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1925 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1927 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1928 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1929 * math/auto-libm-test-out: Regenerated.
1930 * math/libm-test.inc (acosh_test_data): Add more tests.
1931 (atanh_test_data): Likewise.
1932 (ceil_test_data): Likewise.
1933 (copysign_test_data): Likewise.
1934 * sysdeps/i386/fpu/libm-test-ulps: Update.
1935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937 * timezone/checktab.awk: Update from tzcode 2013i.
1938 * timezone/private.h: Likewise.
1939 * timezone/scheck.c: Likewise.
1940 * timezone/tzfile.h: Likewise.
1941 * timezone/tzselect.ksh: Likewise.
1942 * timezone/zdump.c: Likewise.
1943 * timezone/zic.c: Likewise.
1945 * math/auto-libm-test-in: Add tests of cpow.
1946 * math/auto-libm-test-out: Regenerated.
1947 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1948 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1950 (func_calc_desc): Add mpc_cc_c union field.
1951 (test_functions): Add cpow.
1952 (special_fill_2pi): New function.
1953 (special_real_inputs): Add 2pi.
1954 (calc_generic_results): Handle mpc_cc_c.
1955 * sysdeps/i386/fpu/libm-test-ulps: Update.
1956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1958 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1959 csqrt, ctan and ctanh.
1960 * math/auto-libm-test-out: Regenerated.
1961 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1962 (TEST_COND_x86): Likewise.
1963 (ccos_test_data): Use AUTO_TESTS_c_c.
1964 (ccosh_test_data): Likewise.
1965 (cexp_test_data): Likewise.
1966 (clog_test_data): Likewise.
1967 (csqrt_test_data): Likewise.
1968 (ctan_test_data): Likewise.
1969 (ctan_tonearest_test_data): Likewise.
1970 (ctan_towardzero_test_data): Likewise.
1971 (ctan_downward_test_data): Likewise.
1972 (ctan_upward_test_data): Likewise.
1973 (ctanh_test_data): Likewise.
1974 (ctanh_tonearest_test_data): Likewise.
1975 (ctanh_towardzero_test_data): Likewise.
1976 (ctanh_downward_test_data): Likewise.
1977 (ctanh_upward_test_data): Likewise.
1978 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1980 (func_calc_desc): Add mpc_c_c union field.
1981 (FUNC_mpc_c_c): New macro.
1982 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1983 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1985 (special_fill_min_subnorm_p120): New function.
1986 (special_real_inputs): Add min_subnorm_p120.
1987 (calc_generic_results): Handle mpc_c_c.
1988 * sysdeps/i386/fpu/libm-test-ulps: Update.
1989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1991 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1993 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1994 do_sin_slow): New functions.
1995 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1996 cslow2, csloww1, csloww2): Use the new functions.
1998 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1999 Use M to change sign of result instead of X. Assume X is
2001 (csloww1): Likewise.
2005 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2010 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2012 (sloww1): Don't adjust sign of DX.
2013 (csloww1): Likewise.
2014 (sloww2): Use X directly and don't adjust sign of DX.
2015 (csloww2): Likewise.
2017 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2019 * math/auto-libm-test-in: Add tests of cabs and carg.
2020 * math/auto-libm-test-out: Regenerated.
2021 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2022 (carg_test_data): Likewise.
2023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2025 (func_calc_desc): Add mpc_c_f union field.
2026 (test_functions): Add cabs and carg.
2027 (calc_generic_results): Handle mpc_c_f.
2029 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2030 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2031 as a macro and a compat symbol.
2032 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2033 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2034 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2035 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2036 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2037 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2039 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2041 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2043 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2045 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2049 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2050 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2053 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2057 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2059 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2060 trailing whitespace removed.
2061 * scripts/config.guess: Update to version 2013-11-29.
2062 * scripts/config.sub: Update to version 2013-10-01.
2064 * math/auto-libm-test-in: Add tests of sincos.
2065 * math/auto-libm-test-out: Regenerated.
2066 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2067 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2069 (func_calc_desc): Add mpfr_f_11 union field.
2070 (test_functions): Add sincos.
2071 (calc_generic_results): Handle mpfr_f_11.
2072 * sysdeps/i386/fpu/libm-test-ulps: Update.
2073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2075 2013-12-19 Andreas Schwab <schwab@suse.de>
2077 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2080 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2081 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2083 2013-12-19 Joseph Myers <joseph@codesourcery.com>
2085 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2086 * sysdeps/i386/fpu/libm-test-ulps: Update.
2087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2090 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2091 round-to-nearest mode when using frndint.
2092 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2093 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2094 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2096 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2098 * math/auto-libm-test-out: Regenerated.
2099 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2100 (TEST_COND_x86): Likewise.
2101 (expm1_tonearest_test_data): New array.
2102 (expm1_test_tonearest): New function.
2103 (expm1_towardzero_test_data): New array.
2104 (expm1_test_towardzero): New function.
2105 (expm1_downward_test_data): New array.
2106 (expm1_test_downward): New function.
2107 (expm1_upward_test_data): New array.
2108 (expm1_test_upward): New function.
2109 (main): Run the new test functions.
2110 * sysdeps/i386/fpu/libm-test-ulps: Update.
2111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2113 * include/features.h: Update comment documenting feature test
2114 macros. Mention _DEFAULT_SOURCE in comment.
2115 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2116 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2117 _BSD_SOURCE and _SVID_SOURCE.
2118 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2119 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2120 !_SVID_SOURCE]: Likewise.
2121 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2122 (__USE_POSIX_IMPLICITLY): Define.
2123 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2124 (_POSIX_SOURCE): Undefine and redefine.
2125 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2126 (_POSIX_C_SOURCE): Likewise.
2127 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2128 (Feature Test Macros): Update documentation of default features.
2130 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2132 * benchtests/Makefile: Add bench-strtok.
2133 * benchtests/bench-strtok.c: New file: strtok benchtest.
2135 2013-12-19 Allan McRae <allan@archlinux.org>
2137 * manual/install.texi: Suppress menu for plain text output.
2138 * INSTALL: Regenerated.
2140 2013-12-18 Brooks Moses <bmoses@google.com>
2143 * misc/getauxval.c: Include errno.h.
2144 (__getauxval): Set errno to ENOENT if the requested type is not
2146 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2147 don't declare with __attribute_const__.
2148 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2149 * manual/startup.texi: Document that getauxval sets errno.
2151 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2153 * math/auto-libm-test-in: Add tests of jn and yn.
2154 * math/auto-libm-test-out: Regenerated.
2155 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2156 (yn_test_data): Likewise.
2157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2159 (func_calc_desc): Add mpfr_if_f union field.
2160 (FUNC_mpfr_if_f): New macro.
2161 (test_functions): Add jn and yn.
2162 (calc_generic_results): Assert type of second input for
2163 mpfr_ff_f. Handle mpfr_if_f.
2164 (output_for_one_input_case): Disable all checking for arguments
2165 fitting floating-point types in case of an integer argument.
2166 * sysdeps/i386/fpu/libm-test-ulps: Update.
2167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2170 Don't expect fegetround reference in libm.so.
2172 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2174 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2175 $(config-cflags-nofma).
2177 2013-12-18 Joseph Myers <joseph@codesourcery.com>
2179 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2180 * math/auto-libm-test-out: Regenerated.
2183 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2184 to determine exponent and adjust argument to have exponent of -1.
2185 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2187 * math/auto-libm-test-out: Regenerated.
2188 * sysdeps/i386/fpu/libm-test-ulps: Update.
2189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
2193 * manual/probes.texi: Remove cases when per-thread arenas are
2196 2013-12-18 Andreas Schwab <schwab@suse.de>
2198 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2199 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2200 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2201 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2202 * sysdeps/i386/i686/multiarch/Makefile: Update.
2203 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2205 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2207 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2208 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2210 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2213 Support TZ transition times < 00:00:00.
2214 This is needed for version-3 tz-format files; it supports time
2215 stamps past 2037 for America/Godthab (the only entry in the tz
2216 database for which this change is relevant).
2217 * manual/time.texi (TZ Variable): Document transition times
2218 from -167:59:59 through -00:00:01.
2219 * time/tzset.c (tz_rule): Time of day is now signed.
2220 (__tzset_parse_tz): Parse negative time of day.
2222 Document TZ transition times >= 25:00:00.
2223 * manual/time.texi (TZ Variable): Document transition times from
2224 25:00:00 through 167:59:59. These are already supported, and this
2225 support will help with version-3 tz-format files.
2227 * manual/time.texi (TZ Variable): Modernize North America example
2228 to reflect current (i.e., 2007-and-later) daylight saving rules.
2230 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2232 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2235 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2238 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2239 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2240 * sysdeps/unix/bsd/clock.c: Likewise.
2241 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2242 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2243 * sysdeps/unix/bsd/init-posix.c: Likewise.
2244 * sysdeps/unix/bsd/poll.c: Likewise.
2245 * sysdeps/unix/bsd/ptsname.c: Likewise.
2246 * sysdeps/unix/bsd/seekdir.c: Likewise.
2247 * sysdeps/unix/bsd/setegid.c: Likewise.
2248 * sysdeps/unix/bsd/seteuid.c: Likewise.
2249 * sysdeps/unix/bsd/setgid.c: Likewise.
2250 * sysdeps/unix/bsd/setrgid.c: Likewise.
2251 * sysdeps/unix/bsd/setruid.c: Likewise.
2252 * sysdeps/unix/bsd/setsid.c: Likewise.
2253 * sysdeps/unix/bsd/setuid.c: Likewise.
2254 * sysdeps/unix/bsd/sigaction.c: Likewise.
2255 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2256 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2257 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2258 * sysdeps/unix/bsd/telldir.c: Likewise.
2259 * sysdeps/unix/bsd/times.c: Likewise.
2260 * sysdeps/unix/bsd/usleep.c: Likewise.
2262 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2263 ($(objpfx)libbsd-compat.a): Remove rule.
2265 * include/features.h (__FAVOR_BSD): Do not define.
2266 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2267 features conflicting with POSIX.
2268 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2269 (_BSD_SOURCE): Remove description of not being a subset of other
2270 feature test macros.
2271 * manual/job.texi (getpgrp): Do not document BSD version.
2272 (getpgid): Do not document by reference to BSD getpgrp.
2273 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2274 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2275 * signal/signal.h [__FAVOR_BSD]: Likewise.
2276 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2277 instead of making contents conditional on [__FAVOR_BSD].
2278 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2280 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2284 2013-12-17 Joseph Myers <joseph@codesourcery.com>
2287 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2288 values below 2**-450, not 2**-500.
2289 * math/auto-libm-test-in: Don't allow spurious underflow from
2291 * math/auto-libm-test-out: Regenerated.
2295 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2296 values of ha and hb and sort them after adjusting subnormal
2298 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2300 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2301 values of ea and eb and sort them after adjusting subnormal
2303 * math/auto-libm-test-in: Do not expect some hypot tests of
2304 subnormals to fail. Add more hypot tests.
2305 * math/auto-libm-test-out: Regenerated.
2307 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2310 * sysdeps/sh/s_fma.c: New file.
2311 * sysdeps/sh/s_fmaf.c: New file.
2312 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2314 * sysdeps/sh/Implies: Add sh/soft-fp.
2316 2013-12-16 Roland McGrath <roland@hack.frob.com>
2318 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2319 level of indirection to members `objname', `errstring', `malloced'.
2320 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2321 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2322 it as the __longjmp argument (just pass 1 instead).
2323 (_dl_catch_error): Initialize C with argument pointers and address of
2324 volatile local ERRCODE rather than copying values out of C at return.
2326 2013-12-16 Joseph Myers <joseph@codesourcery.com>
2328 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2329 * math/auto-libm-test-out: Regenerated.
2330 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2331 (hypot_test_data): Likewise.
2332 (pow_test_data): Likewise.
2333 (pow_tonearest_test_data): Likewise.
2334 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2336 (func_calc_desc): Add mpfr_ff_f union field.
2337 (FUNC_mpfr_ff_f): New macro.
2338 (test_functions): Add atan2, hypot and pow.
2339 (special_fill_min): New function.
2340 (special_fill_minus_min): Likewise.
2341 (special_fill_min_subnorm): Likewise.
2342 (special_fill_minus_min_subnorm): Likewise.
2343 (special_real_inputs): Add min, -min, min_subnorm and
2345 (calc_generic_results): Handle mpfr_ff_f.
2346 * sysdeps/i386/fpu/libm-test-ulps: Update.
2347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2349 2013-12-16 Will Newton <will.newton@linaro.org>
2351 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2352 (Aligned Memory Blocks): Add documentation for aligned_alloc
2353 and suggest it as an alternative to posix_memalign.
2354 (Hooks for Malloc): Document __memalign_hook is also called
2355 for aligned_alloc. (Summary of Malloc): Add summary for
2356 aligned alloc. Document __memalign_hook is also called
2359 2013-12-16 Will Newton <will.newton@linaro.org>
2361 * manual/memory.texi (Malloc Examples): Clarify default
2362 alignment documentation. Suggest posix_memalign rather
2363 than memalign or valloc.
2364 (Aligned Memory Blocks): Remove suggestion to use memalign
2365 or valloc. Remove obsolete comment about BSD.
2366 Document memalign errno values and mark the function obsolete.
2367 Document posix_memalign returned error codes. Mark valloc
2368 as obsolete. (Hooks for Malloc): __memalign_hook is also
2369 called for posix_memalign and valloc.
2370 (Summary of Malloc): Add posix_memalign to function summary.
2371 __memalign_hook is also called for posix_memalign and valloc.
2373 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2375 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2379 (sloww): Use mynumber union. Expand ternary operator into
2381 (cslow): use mynumber union.
2383 2013-12-16 Allan McRae <allan@archlinux.org>
2385 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2386 * configure: Regenerated.
2388 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2391 * configure.ac: Added --enable-maintainer-mode. Check for
2392 autoconf when enabled.
2393 * configure: Regenerated.
2395 * nscd/nscd.service: New file.
2396 * nscd/nscd.tmpfiles: New file.
2398 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
2401 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2402 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2403 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2404 (strstr): Add __strstr_sse2_unaligned ifunc.
2405 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2406 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2407 (strcasestr): Remove __strcasestr_sse42 ifunc.
2408 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2412 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2414 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2415 * sysdeps/sh/bits/fenv.h: ... here.
2416 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2418 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2420 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2422 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2425 hypotf multiarch implementations.
2426 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2427 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2429 multiarch hypot for PPC64.
2430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2431 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2433 multiarch hypotf for PPC64.
2435 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2438 modff multiarch implementations.
2439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2442 multiarch modf for PPC64.
2443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2446 multiarch modff for PPC64.
2448 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2450 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2451 and logl multiarch implementations.
2452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2455 multiarch logb for PPC64.
2456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2459 multiarch logb for PPC64.
2460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2463 multiarch logb for PPC64.
2465 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2468 isinff multiarch implementation.
2469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2473 multiarch isinf for PPC64.
2474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2477 multiarch isinff for PPC64.
2479 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2482 finitef multiarch implementation.
2483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2487 multiarch finite for PPC64.
2488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2491 multiarch finitef for PPC64.
2493 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2495 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2496 lrint multiarch implementation.
2497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2501 multiarch llrint for PPC64.
2502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2503 multiarch lrint for PPC64.
2505 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2508 copysignf multiarch implementation.
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2514 multiarch copysign for PPC64.
2515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2516 multiarch copysignf for PPC64.
2518 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2521 multiarch implementation.
2522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2530 multiarch llround for PPC64.
2531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2532 multiarch trunc for PPC64.
2533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2534 multiarch truncf for PPC64.
2536 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2539 multiarch implementation.
2540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2548 multiarch llround for PPC64.
2549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2550 multiarch round for PPC64.
2551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2552 multiarch roundf for PPC64.
2554 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2557 multiarch implementation.
2558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2566 multiarch llround for PPC64.
2567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2568 multiarch floor for PPC64.
2569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2570 multiarch floorf for PPC64.
2572 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2574 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2575 multiarch implementation.
2576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2584 multiarch llround for PPC64.
2585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2586 multiarch ceil for PPC64.
2587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2588 multiarch ceilf for PPC64.
2590 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2593 multiarch implementation.
2594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2601 multiarch llround for PPC64.
2602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2603 multiarch lround for PPC64.
2605 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2608 multiarch implementation.
2609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2616 multiarch isnan for PPC64.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2618 multiarch isnanf for PPC64.
2620 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2622 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2623 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2624 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2625 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2626 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2629 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2631 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2632 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2633 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2636 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2639 multiarch implementations.
2640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2641 (__libc_ifunc_impl_list): Likewise.
2642 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2643 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2644 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2645 multiarch stpcpy for PPC64.
2647 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2650 multiarch implementations.
2651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2652 (__libc_ifunc_impl_list): Likewise.
2653 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2654 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2655 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2656 multiarch strcpy for PPC64.
2658 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2660 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2661 redefine function name.
2662 (_wordcopy_fwd_dest_aligned): Likewise.
2663 (_wordcopy_bwd_aligned): Likewise.
2664 (_wordcopy_bwd_dest_aligned): Likewise.
2665 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2666 multiarch implementations.
2667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2668 (__libc_ifunc_impl_list): Likewise.
2669 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2670 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2671 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2672 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2673 multiarch wcscpy for PPC64.
2675 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2678 multiarch implementations.
2679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2680 (__libc_ifunc_impl_list): Likewise.
2681 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2683 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2684 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2685 multiarch wcscpy for PPC64.
2687 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2689 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2690 multiarch implementations.
2691 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2692 (__libc_ifunc_impl_list): Likewise.
2693 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2694 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2695 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2696 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2697 multiarch wcsrchr for PPC64.
2699 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2702 multiarch implementations.
2703 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2704 (__libc_ifunc_impl_list): Likewise.
2705 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2706 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2707 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2708 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2709 multiarch wcschr for PPC64.
2711 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2714 multiarch implementations.
2715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2716 (__libc_ifunc_impl_list): Likewise.
2717 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2718 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2719 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2720 multiarch strchrnul for PPC64.
2722 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2727 (__libc_ifunc_impl_list): Likewise.
2728 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2729 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2730 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2731 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2734 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2739 (__libc_ifunc_impl_list): Likewise.
2740 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2741 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2742 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2743 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2746 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2749 multiarch implementations.
2750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2751 (__libc_ifunc_impl_list): Likewise.
2752 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2753 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2754 strncasecmp for PPC64.
2755 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2756 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2757 multiarch strncasecmp_l for PPC64.
2759 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2761 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2762 multiarch implementations.
2763 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2764 (__libc_ifunc_impl_list): Likewise.
2765 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2766 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2767 multiarch strcasecmp for PPC64.
2768 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2770 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2771 multiarch strcasecmp_l for PPC64.
2773 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2775 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2777 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2778 (__libc_ifunc_impl_list): Likewise.
2779 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2780 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2781 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2784 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2786 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2789 (__libc_ifunc_impl_list): Likewise.
2790 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2791 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2792 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2795 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2797 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2800 (__libc_ifunc_impl_list): Likewise.
2801 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2802 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2803 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2804 rawmemrchr for PPC64.
2806 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2808 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2811 (__libc_ifunc_impl_list): Likewise.
2812 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2813 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2814 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2817 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2822 (__libc_ifunc_impl_list): Likewise.
2823 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2824 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2825 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2828 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2833 (__libc_ifunc_impl_list): Likewise.
2834 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2835 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2836 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2839 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2841 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2842 avoid cretion of __bzero symbol.
2843 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2845 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2847 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2850 multiarch implementations.
2851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2852 (__libc_ifunc_impl_list): Likewise.
2853 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2854 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2855 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2856 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2858 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2859 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2860 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2861 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2862 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2864 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2866 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2868 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2869 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2872 (__libc_ifunc_impl_list): Likewise.
2873 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2874 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2875 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2876 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2879 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2882 multiarch for POWER/PPC64.
2883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2884 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2885 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2886 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2887 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2890 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2891 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2894 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2896 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2897 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2898 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2899 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2900 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2901 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2902 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2903 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2904 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2905 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2906 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2907 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2908 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2909 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2910 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2919 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2921 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2923 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2925 * benchtests/Makefile (bench): Add exp2 and log2.
2926 (LDLIBS-bench-exp2): Add -lm.
2927 (LDLIBS-bench-log2): Likewise.
2928 * benchtests/exp2-inputs: New inputs file.
2929 * benchtests/log2-inputs: New inputs file.
2930 * benchtests/log-inputs: Add new inputs.
2931 * benchtests/tan-inputs: Likewise.
2933 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2935 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2937 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2938 csloww1, csloww2): ... from here.
2940 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2941 instead of structures.
2942 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2943 (POLYNOMIAL): Likewise.
2944 (TAYLOR_SLOW): Likewise.
2952 (bsloww1): Likewise.
2953 (bsloww2): Likewise.
2956 (csloww1): Likewise.
2957 (csloww2): Likewise.
2959 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2961 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2962 (__malloc_assert, __libc_realloc, __libc_calloc,
2963 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2965 * malloc/hooks.c (realloc_check): Likewise.
2967 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2969 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2970 * malloc/arena.c: Remove PER_THREAD conditional.
2971 [!PER_THREAD]: Remove code.
2972 (ptmalloc_unlock_all2): Likewise.
2973 (ptmalloc_init): Likewise.
2974 (_int_new_arena): Likewise.
2975 (arena_get2): Likewise.
2976 * malloc/hooks.c (__malloc_get_state): Likewise.
2977 (__malloc_set_state): Likewise.
2978 * malloc/malloc.c: Likewise.
2979 (struct malloc_state): Likewise.
2980 (struct malloc_par): Likewise.
2981 (__libc_realloc): Likewise.
2982 (__libc_mallopt): Likewise.
2984 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2986 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2988 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2990 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2991 macro to a function. Check for zero perturb_byte.
2992 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2994 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2996 * malloc/malloc.c: (force_reg): Remove.
2997 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2998 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2999 force_reg by atomic_forced_read.
3000 * malloc/arena.c (ptmalloc_init): Likewise.
3001 * malloc/hooks.c (top_check): Likewise.
3003 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3007 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3011 2013-12-08 Joseph Myers <joseph@codesourcery.com>
3013 * math/auto-libm-test-in: Add tests of lgamma.
3014 * math/auto-libm-test-out: Regenerated.
3015 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3016 (M_LOG_2_SQRT_PIl): Likewise.
3017 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3018 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3020 (func_calc_desc): Add mpfr_f_f1 union field.
3029 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3030 (test_functions): Add lgamma.
3031 (calc_generic_results): Handle mpfr_f_f1.
3032 * sysdeps/i386/fpu/libm-test-ulps: Update.
3033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3035 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3037 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3038 __mpn_add_n for PowerPC64/POWER7.
3039 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3040 __mpn_sub_n for PowerPC64/POWER7.
3042 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3044 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3045 __mpn_addmul_1 for PowerPC64.
3046 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3047 __mpn_submul_1 for PowerPC64.
3048 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3050 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3053 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3056 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3058 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3060 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3062 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3064 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3065 add multiarch folders.
3066 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3067 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3068 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3069 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3070 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3071 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3072 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3073 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3074 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3075 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3076 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3084 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3087 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3093 multiarch __ieee754_hypot for PowerPC32.
3094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3099 multiarch __ieee754_hypotf for PowerPC32.
3101 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3104 long_double_symbol only if __logbl is defined.
3105 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3106 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3108 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3110 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3111 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3112 path for implementation.
3113 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3116 logb, and logbl multiarch implementations for PowerPC32.
3117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3122 multiarch logb for PowerPC32.
3123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3128 multiarch logbf for PowerPC32.
3129 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3133 multiarch logbl implementation for PowerPC32.
3135 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3138 and modff multiarch implementations.
3139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3144 multiarch modf for PowerPC32.
3145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3150 multiarch modff for PowerPC32.
3152 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3155 and lrintf multiarch implementations.
3156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3161 multiarch lrint for PowerPC32.
3162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3163 file: multiarch lrintf for PowerPC32.
3165 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3168 and lroundf multiarch implementations.
3169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3176 multiarch lround for PowerPC32.
3177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3178 file: multiarch lroundf for PowerPC32.
3180 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3183 copysign and copysignf multiarch implementations.
3184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3189 file: multiarch copysign for PowerPC32.
3190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3191 file: multiarch copysignf for PowerPC32.
3193 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3196 and truncf multiarch implementations.
3197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3202 multiarch trunc for PowerPC32.
3203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3208 multiarch truncf for PowerPC32.
3210 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3213 and roundf multiarch implementations.
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3219 multiarch round for PowerPC32.
3220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3225 multiarch roundf for PowerPC32.
3227 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3230 and floorf multiarch implementations.
3231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3236 multiarch floor for PowerPC32.
3237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3242 multiarch floorf for PowerPC32.
3244 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3247 and ceilf multiarch implementations.
3248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3253 multiarch ceil for PowerPC32.
3254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3259 multiarch ceilf for PowerPC32.
3261 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3263 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3265 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3268 and finitef multiarch implementations.
3269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3274 multiarch finite for PowerPC32.
3275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3278 file: multiarch finitef for PowerPC32.
3280 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3283 and isinff multiarch implementations.
3284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3289 multiarch isinf for PowerPC32.
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3293 multiarch isinff for PowerPC32.
3295 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3298 alias when __isnan is defined.
3299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3300 and isnanf multiarch implementations.
3301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3310 multiarch isnan for PowerPC32.
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3316 multiarch isnanf for PowerPC32.
3318 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3321 and sqrtf multiarch implementations.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3327 multiarch sqrt for PowerPC32.
3328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3333 multiarch sqrtf for PowerPC32.
3335 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3338 and llroundf multiarch implementations.
3339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3346 file: multiarch llround for PowerPC32.
3347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3348 file: multiarch llroundf for PowerPC32.
3350 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3353 multiarch PowerPC32 fpu implementations.
3354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3359 multiarch llrint for PowerPC32.
3360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3367 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3371 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3373 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3375 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3377 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3379 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3380 multiarch wordcopy for PPC32.
3381 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3383 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3384 (__libc_ifunc_impl_list): Likewise.
3385 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3386 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3387 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3388 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3390 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3392 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3394 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3402 multiarch wcscpy for PPC32.
3403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3406 (__libc_ifunc_impl_list): Likewise.
3407 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3408 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3409 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3410 sysdeps/powerpc/power6/wcscpy.c.
3412 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3414 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3417 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3419 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3421 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3422 multiarch wcsrchr for PPC32.
3423 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3425 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3426 (__libc_ifunc_impl_list): Likewise.
3427 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3428 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3429 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3430 sysdeps/powerpc/power6/wcsrchr.c.
3432 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3439 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3440 multiarch wcschr for PPc32.
3441 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3443 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3444 (__libc_ifunc_impl_list): Likewise.
3445 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3446 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3447 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3448 sysdeps/powerpc/power6/wcschr.c.
3450 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3452 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3453 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3455 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3456 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3457 file: multiarch strchr for PPC32.
3458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3461 (__libc_ifunc_impl_list): Likewise.
3463 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3465 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3467 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3469 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3471 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3472 multiarch strchrnul for PPC32.
3473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3476 (__libc_ifunc_impl_list): Likewise.
3478 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3482 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3483 multiarch strncasecmp for PPC32.
3484 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3486 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3487 multiarch strncasecmp_l for PPC32.
3488 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3489 strncasecmp multiarch objects.
3490 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3491 (__libc_ifunc_impl_list): Likewise.
3493 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3497 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3498 multiarch strncasecmp for PPC32.
3499 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3501 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3502 multiarch strcasecmp_l for PPC32.
3503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3506 (__libc_ifunc_impl_list): Likewise.
3508 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3510 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3512 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3515 multiarch strncmp for PPC32.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3519 (__libc_ifunc_impl_list): Likewise.
3521 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3523 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3524 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3526 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3527 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3528 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3530 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3531 (__libc_ifunc_impl_list): Likewise.
3533 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3535 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3537 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3539 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3540 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3542 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3543 (__libc_ifunc_impl_list): Likewise.
3545 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3547 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3549 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3551 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3552 multiarch rawmemchr for PPC32.
3553 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3556 (__libc_ifunc_impl_list): Likewise.
3558 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3562 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3564 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3565 file: memrchr multiarch for PPC32.
3566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3569 (__libc_ifunc_impl_list): Likewise.
3571 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3573 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3574 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3576 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3577 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3578 multiarch memchr for PPC32.
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3582 (__libc_ifunc_impl_list): Likewise.
3584 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3587 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3589 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3591 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3592 file: multiarch mempcpy for PPC32.
3593 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3596 (__libc_ifunc_impl_list): Likewise.
3598 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3600 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3601 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3602 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3603 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3604 multiarch bzero for PPC32.
3605 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3607 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3610 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3611 file: multiarch memset for PPC32.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3613 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3614 memset multiarch objects.
3615 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3616 (__libc_ifunc_impl_list): Likewise.
3618 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3623 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3625 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3629 (__libc_ifunc_impl_list): Likewise.
3631 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3633 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3635 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3637 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3639 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3641 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3642 multiarch memcpy for PPC32.
3643 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3645 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3646 (__libc_ifunc_impl_list): Likewise.
3648 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3650 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3651 support multiarch for POWER/PPC32.
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3656 Implies file to make multiarch folder appers before the fpu and
3657 default folder for power4 configuration.
3659 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3661 * scripts/bench.pl: Append volatile keyword to type.
3663 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3665 * sysdeps/sh/sotruss-lib.c: New file.
3666 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3668 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3672 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3675 * math/w_tgamma.c: Include <errno.h>.
3676 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3677 * math/w_tgammaf.c: Include <errno.h>.
3678 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3679 * math/w_tgammal.c: Include <errno.h>.
3680 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3681 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3682 underflow. Add more tgamma tests.
3683 * math/auto-libm-test-out: Regenerated.
3684 * sysdeps/i386/fpu/libm-test-ulps: Update.
3685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3687 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3688 sin, sinh, tan, tanh, tgamma, y0 and y1.
3689 * math/auto-libm-test-out: Regenerated.
3690 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3691 (TEST_COND_x86): Likewise.
3692 (M_E2l): Remove macro.
3694 (M_2_SQRT_PIl): Likewise.
3695 (M_SQRT_PIl): Likewise.
3696 (M_1_DIV_El): Likewise.
3697 (log_test_data): Use AUTO_TESTS_f_f.
3698 (log10_test_data): Likewise.
3699 (log1p_test_data): Likewise.
3700 (log2_test_data): Likewise.
3701 (sin_test_data): Likewise.
3702 (sin_tonearest_test_data): Likewise.
3703 (sin_towardzero_test_data): Likewise.
3704 (sin_downward_test_data): Likewise.
3705 (sin_upward_test_data): Likewise.
3706 (sinh_test_data): Likewise.
3707 (sinh_tonearest_test_data): Likewise.
3708 (sinh_towardzero_test_data): Likewise.
3709 (sinh_downward_test_data): Likewise.
3710 (sinh_upward_test_data): Likewise.
3711 (tan_test_data): Likewise.
3712 (tan_tonearest_test_data): Likewise.
3713 (tan_towardzero_test_data): Likewise.
3714 (tan_downward_test_data): Likewise.
3715 (tan_upward_test_data): Likewise.
3716 (tanh_test_data): Likewise.
3717 (tgamma_test_data): Likewise.
3718 (y0_test_data): Likewise.
3719 (y1_test_data): Likewise.
3720 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3721 (special_real_inputs): Add pi/4.
3722 * sysdeps/i386/fpu/libm-test-ulps: Update.
3723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3725 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3727 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3728 "longjmp_target" static probes.
3729 (__longjmp): Rename to __longjmp_symbol.
3730 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3731 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3732 on which longjmp to generate.
3733 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3734 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3736 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3737 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3738 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3739 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3740 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3741 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3743 __longjmp_symbol based on which __longjmp to generate.
3744 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3746 (setjmp): Rename to setjmp_symbol.
3747 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3748 (_setjmp): Rename to _setjmp_symbol.
3749 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3750 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3751 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3752 which setjmp to generate.
3753 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3754 "longjmp_target" static probes.
3756 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3758 * benchtests/README: Add note about output arguments.
3759 * benchtests/bench-sincos.c: Remove file.
3760 * benchtests/sincos-inputs: New file.
3761 * scripts/bench.pl: Identify output arguments and define
3762 static variables for them.
3764 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3767 * Makefile (INSTALL): Add install-plain.texi as the primary
3769 * manual/install-plain.texi: New file.
3770 * manual/install.texi: Include node directive only for
3771 non-plaintext output.
3773 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3775 * stdlib/longlong.h: Update from GCC.
3779 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3780 * math/w_j0f.c (y0f): Likewise.
3781 * math/w_j0l.c (__y0l): Likewise.
3782 * math/w_j1.c (y1): Likewise.
3783 * math/w_j1f.c (y1f): Likewise.
3784 * math/w_j1l.c (__y1l): Likewise
3785 * math/w_jn.c (yn): Likewise.
3786 * math/w_jnf.c (ynf): Likewise.
3787 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3788 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3789 value for Bessel function domain errors outside _SVID_ mode.
3790 Adjust sign of return value for yn (negative integer, 0).
3791 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3792 by zero in return for negative x and set sign appropriately for
3794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3795 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3796 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3797 expectations in error cases.
3798 (y1_test_data): Likewise.
3799 (yn_test_data): Likewise.
3800 * sysdeps/i386/fpu/libm-test-ulps: Update.
3801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3803 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3805 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3806 "64" to "64-v1". Add "64-v2".
3807 (abi-64-options): Rename to ...
3808 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3809 (abi-64-condition): Rename to ...
3810 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3811 (abi-64-ld-soname): Rename to ...
3812 (abi-64-v1-ld-soname): ... this.
3813 (abi-64-v2-options): Define.
3814 (abi-64-v2-condition): Likewise.
3815 (abi-64-v2-ld-soname): Likewise.
3816 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3817 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3822 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3823 Alan Modra <amodra@gmail.com>
3825 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3826 New versions for use with the ELFv2 ABI.
3827 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3828 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3830 (struct La_ppc64v2_retval): Likewise.
3831 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3832 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3833 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3834 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3835 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3836 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3837 Do not save or restore CR.
3838 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3839 (_dl_profile_resolve): Do no save or restore CR. Support extended
3840 return values for ELFv2 ABI. Fix location of FPR return registers.
3841 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3842 updated values for _CALL_ELF == 2.
3843 (La_regs, La_retval, int_retval): Likewise.
3845 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3847 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3848 (FRAME_MIN_SIZE_PARM): Likewise.
3849 (FRAME_BACKCHAIN): Likewise.
3850 (FRAME_CR_SAVE): Likewise.
3851 (FRAME_LR_SAVE): Likewise.
3852 (FRAME_TOC_SAVE): Likewise.
3853 (FRAME_PARM_SAVE): Likewise.
3854 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3855 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3856 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3857 (call_mcount_parm_offset): New macro.
3858 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3859 (PROF): Use symbolic stack frame offsets.
3860 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3861 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3862 Redefine in terms of FRAME_MIN_SIZE.
3863 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3864 (_dl_profile_resolve): Likewise. Update comment.
3865 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3866 symbols stack frame offsets.
3867 (__sigsetjmp): Likewise.
3868 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3869 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3870 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3871 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3874 (FRAME_BACKCHAIN): Remove.
3875 (FRAME_CR_SAVE): Likewise.
3876 (FRAME_LR_SAVE): Likewise.
3877 (FRAME_COMPILER_DW): Likewise.
3878 (FRAME_LINKER_DW): Likewise.
3879 (FRAME_TOC_SAVE): Likewise.
3880 (FRAME_PARM_SAVE): Likewise.
3881 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3882 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3883 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3885 (CHECK_SP): Use symbolic stack frame offsets.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3887 zone" instead of caller's parameter save area for temp storage.
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3889 Likewise. Also, use symbolic stack frame offsets.
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3891 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3892 our own stack frame instead of the caller's.
3893 (__socket): Use symbolic stack frame offsets.
3895 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3896 Alan Modra <amodra@gmail.com>
3898 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3900 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3901 PPC64_LOCAL_ENTRY_OFFSET): Define.
3902 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3904 (elf_machine_fixup_plt): Call it.
3905 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3907 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3908 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3909 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3910 r2 before calling target.
3912 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3913 Alan Modra <amodra@gmail.com>
3915 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3916 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3917 versions of macros to support ELFv2 ABI.
3918 (LOCALENTRY): New macro.
3919 (ENTRY, EALIGN): Use it.
3920 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3921 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3922 fall through into ENTRY entry point.
3923 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3924 Only define if _CALL_ELF != 2.
3926 (elf_machine_matches_host): Verify ABI version matches.
3927 (RTLD_START): Use LOCALENTRY.
3928 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3929 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3930 (PLT_ENTRY_WORDS): New macro.
3931 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3932 (elf_machine_runtime_setup): Support ELFv2 ABI.
3933 (elf_machine_fixup_plt): Likewise.
3934 (elf_machine_plt_conflict): Likewise.
3935 (resolve_ifunc): Likewise.
3936 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3937 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3940 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3942 (makecontext): Support ELFv2 ABI.
3943 * elf/elf.h (EF_PPC64_ABI): Define.
3945 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3947 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3948 New assembler macro.
3949 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3950 [ASSEMBLER] (ENTRY): ... but instead here ...
3951 [ASSEMBLER] (EALIGN): ... and here.
3952 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3953 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3954 [!ASSEMBLER] (ENTRY_2): Use it.
3955 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3956 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3957 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3958 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3959 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3961 Use PPC64_LOAD_FUNCPTR.
3963 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3965 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3967 2013-12-04 Alan Modra <amodra@gmail.com>
3969 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3970 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3971 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3972 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3974 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3975 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3976 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3977 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3978 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3979 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3981 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3984 (__makecontext): Fix incorrect CFI when backtracing out of
3985 context created via makecontext.
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3987 (__setcontext): Fix incorrect CFI during switch to new context.
3988 (__novec_setcontext): Likewise.
3990 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3993 * time/strptime_l.c (__strptime_internal): Allow modifiers
3995 * time/tst-strptime.c (day_tests): Add testcase.
3998 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4000 * scripts/bench.pl: Skip over blank lines.
4002 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4005 * manual/time.texi (Calendar Time): Clarify what timezone functions
4008 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4012 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
4014 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4016 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4017 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4018 * debug/memset_chk.c (__memset_chk): Likewise.
4019 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4020 * debug/strncpy_chk.c: Likewise.
4022 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4026 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4027 (__ieee754_exp): For possibly underflowing results, check size of
4028 result and force underflow exception if required.
4029 * math/auto-libm-test-in: Add more tests of exp.
4030 * math/auto-libm-test-out: Regenerated.
4031 * sysdeps/i386/fpu/libm-test-ulps: Update.
4032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4035 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4036 * math/w_exp2f.c (__exp2f): Likewise.
4037 * math/w_exp2l.c (__exp2l): Likewise.
4038 * math/auto-libm-test-in: Do not allow missing errno on exp2
4040 * math/auto-libm-test-out: Regenerated.
4042 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
4045 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4046 handle filename validation.
4047 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4050 2013-12-03 Joseph Myers <joseph@codesourcery.com>
4053 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4054 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4055 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4057 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4058 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4059 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4061 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4062 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4063 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4064 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4065 Add more erfc tests.
4066 * math/auto-libm-test-out: Regenerated.
4067 * sysdeps/i386/fpu/libm-test-ulps: Update.
4068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4070 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4071 exp2, expm1, j0 and j1.
4072 * math/auto-libm-test-out: Regenerated.
4073 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4074 (erfc_test_data): Likewise.
4075 (exp_test_data): Likewise.
4076 (exp_tonearest_test_data): Likewise.
4077 (exp_towardzero_test_data): Likewise.
4078 (exp_downward_test_data): Likewise.
4079 (exp_upward_test_data): Likewise.
4080 (exp10_test_data): Likewise.
4081 (exp2_test_data): Likewise.
4082 (expm1_test_data): Likewise.
4083 (j0_test_data): Likewise.
4084 (j1_test_data): Likewise.
4085 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4086 (input_flag_type): Add flag_xfail_rounding.
4087 (input_flags): Add xfail-rounding.
4088 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4089 (output_for_one_input_case): Handle flag_xfail_rounding.
4090 * sysdeps/i386/fpu/libm-test-ulps: Update.
4091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4093 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4096 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4099 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4102 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4103 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4104 (STAP_PROBE0): New macro.
4105 (STAP_PROBE1): Likewise.
4106 (STAP_PROBE2): Likewise.
4107 (STAP_PROBE3): Likewise.
4108 (STAP_PROBE4): Likewise.
4110 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
4112 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4114 2013-12-02 Steve Ellcey <sellcey@mips.com>
4116 * benchtests/Makefile (bench): Add sqrt.
4117 (LDLIBS-bench-sqrt): New.
4118 * benchtests/sqrt-input: New.
4120 2013-12-02 Pavel Simerda <psimerda@redhat.com>
4122 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4123 (GAIH_EAI): Likewise.
4124 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4125 (gaih_inet): Likewise.
4126 (getaddrinfo): Don't use GAIH_EAI.
4128 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4129 (struct gaih): Remove definition.
4131 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4133 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4134 Use HERRNOP directly.
4136 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4140 2013-11-30 Joseph Myers <joseph@codesourcery.com>
4142 * math/gen-auto-libm-tests.c (test_functions): Add more
4143 single-argument functions.
4144 (special_fill_pi_2): New function.
4145 (special_fill_minus_pi_2): Likewise.
4146 (special_fill_pi_6): Likewise.
4147 (special_fill_minus_pi_6): Likewise.
4148 (special_fill_pi_3): Likewise.
4149 (special_fill_2pi_3): Likewise.
4150 (special_fill_e): Likewise.
4151 (special_fill_1_e): Likewise.
4152 (special_fill_e_minus_1): Likewise.
4153 (special_real_inputs): Add more special inputs.
4154 (output_for_one_input_case): Do not require ERANGE on underflow to
4155 zero if round-to-nearest result does not underflow to zero, unless
4156 exact results required.
4157 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4158 atan, atanh, cbrt, cos and cosh.
4159 * math/auto-libm-test-out: Regenerated.
4160 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4161 (acos_tonearest_test_data): Likewise.
4162 (acos_towardzero_test_data): Likewise.
4163 (acos_downward_test_data): Likewise.
4164 (acos_upward_test_data): Likewise.
4165 (acosh_test_data): Likewise.
4166 (asin_test_data): Likewise.
4167 (asin_tonearest_test_data): Likewise.
4168 (asin_towardzero_test_data): Likewise.
4169 (asin_upward_test_data): Likewise.
4170 (asinh_test_data): Likewise.
4171 (atan_test_data): Likewise.
4172 (atanh_test_data): Likewise.
4173 (cbrt_test_data): Likewise.
4174 (cos_test_data): Likewise.
4175 (cos_tonearest_test_data): Likewise.
4176 (cos_towardzero_test_data): Likewise.
4177 (cos_downward_test_data): Likewise.
4178 (cos_upward_test_data): Likewise.
4179 (cosh_test_data): Likewise.
4180 (cosh_tonearest_test_data): Likewise.
4181 (cosh_towardzero_test_data): Likewise.
4182 (cosh_downward_test_data): Likewise.
4183 (cosh_upward_test_data): Likewise.
4184 * sysdeps/i386/fpu/libm-test-ulps: Update.
4185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4187 2013-11-29 Joseph Myers <joseph@codesourcery.com>
4190 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4191 * math/w_exp10f.c (__exp10f): Likewise.
4192 * math/w_exp10l.c (__exp10l): Likewise.
4193 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4194 errno settings in existing tests.
4197 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4198 precision control set to double precision.
4199 * sysdeps/i386/fpu/w_sqrt.c: New file.
4200 * math/auto-libm-test-in: Add more tests.
4201 * math/auto-libm-test-out: Update.
4203 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4204 (sqrt_test_tonearest): New function.
4205 (sqrt_towardzero_test_data): New variable.
4206 (sqrt_test_towardzero): New function.
4207 (sqrt_downward_test_data): New variable.
4208 (sqrt_test_downward): New function.
4209 (sqrt_upward_test_data): New variable.
4210 (sqrt_test_upward): New function.
4211 (main): Call the new functions.
4213 * math/gen-auto-libm-tests.c: New file.
4214 * math/auto-libm-test-in: Likewise.
4215 * math/auto-libm-test-out: New generated file.
4216 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4218 (%beautify): Add generated representations of zero.
4219 (top level): Set $auto_input and call parse_auto_input.
4220 (beautify): Remove trailing "f" from hex float constants.
4221 (parse_args): Handle XFAIL_TEST.
4222 (convert_condition): New function.
4223 (or_value): Likewise.
4224 (or_cond_value): Likewise.
4225 (generate_testfile): Handle AUTO_TESTS_* lines.
4226 (parse_auto_input): New function.
4227 * math/libm-test.inc (XFAIL_TEST): New macro.
4228 (ERRNO_UNCHANGED): Update value.
4229 (ERRNO_EDOM): Likewise.
4230 (ERRNO_ERANGE): Likewise.
4231 (IGNORE_RESULT): Likewise.
4232 (TEST_COND_flt_32): New macro.
4233 (TEST_COND_dbl_64): Likewise.
4234 (TEST_COND_ldbl_96_intel): Likewise.
4235 (TEST_COND_ldbl_96_m68k): Likewise.
4236 (TEST_COND_ldbl_128): Likewise.
4237 (TEST_COND_ldbl_128ibm): Likewise.
4238 (TEST_COND_long32): Likewise.
4239 (TEST_COND_long64): Likewise.
4240 (TEST_COND_before_rounding): Likewise.
4241 (TEST_COND_after_rounding): Likewise.
4242 (enable_test): Handle XFAIL_TEST flag.
4243 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4244 with finite results.
4245 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4248 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4249 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4252 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4253 __tls_get_addr_internal instead of __tls_get_offset in order to
4254 avoid GOT pointer dependency. Make rtld export
4255 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4256 __tls_get_addr since we are a __tls_get_offset platform.
4257 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4258 GOT pointer being set up before.
4259 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4261 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4263 * manual/math.texi (Errors in Math Functions): Document accuracy
4267 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4268 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4271 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4273 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4284 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4285 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4286 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4287 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4288 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4290 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4292 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4294 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4295 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4296 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4297 atomic-feupdateenv and flt-rounds.
4298 * sysdeps/powerpc/nofpu/Versions (libc): Add
4299 __atomic_feholdexcept, __atomic_feclearexcept,
4300 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4301 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4302 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4303 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4304 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4309 * manual/arith.texi (FP Exceptions): Document that exceptions may
4310 not be raised when matherr is used.
4311 (Math Error Reporting): Document overflow in directed rounding
4312 modes. Document that errno may not be set when finite values are
4313 returned on overflow. Document intent to set errno on underflow
4314 only for underflow to zero.
4317 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4318 round-to-nearest then adjust result for other rounding modes.
4319 * include/fenv.h (fegetround): Use libm_hidden_proto.
4320 * math/fegetround.c (fegetround): Use libm_hidden_def.
4321 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4322 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4323 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4324 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4326 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4327 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4328 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4329 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4331 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4334 * nss/Versions (libnss_files): Add
4335 _nss_files_gethostbyname3_r.
4336 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4338 (HOST_DB_LOOKUP): Remove macro.
4339 (_nss_files_gethostbyname_r): Implement function without the
4340 HOST_DB_LOOKUP macro.
4341 (_nss_files_gethostbyname2_r): Likewise.
4343 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
4345 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4347 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
4349 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4350 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4353 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4355 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4356 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4357 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4358 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4359 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4360 __fe_nomask_env_priv and attribute_hidden.
4361 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4362 (libc_feupdateenv_test_ppc): Likewise.
4363 (libc_feresetround_ppc): Likewise.
4364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4365 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4366 compat_symbol macro.
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4368 (__fe_nomask_env): Likewise.
4369 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4371 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4373 * string/Makefile: Remove ifunc tests.
4374 * string/test-string.h: Define TEST_IFUNC.
4375 * string/test-bcopy-ifunc.c: Remove.
4376 * string/test-bzero-ifunc.c: Likewise.
4377 * string/test-memccpy-ifunc.c: Likewise.
4378 * string/test-memchr-ifunc.c: Likewise.
4379 * string/test-memcmp-ifunc.c: Likewise.
4380 * string/test-memcpy-ifunc.c: Likewise.
4381 * string/test-memmem-ifunc.c: Likewise.
4382 * string/test-memmove-ifunc.c: Likewise.
4383 * string/test-mempcpy-ifunc.c: Likewise.
4384 * string/test-memrchr-ifunc.c: Likewise.
4385 * string/test-memset-ifunc.c: Likewise.
4386 * string/test-rawmemchr-ifunc.c: Likewise.
4387 * string/test-stpcpy-ifunc.c: Likewise.
4388 * string/test-stpncpy-ifunc.c: Likewise.
4389 * string/test-strcasecmp-ifunc.c: Likewise.
4390 * string/test-strcasestr-ifunc.c: Likewise.
4391 * string/test-strcat-ifunc.c: Likewise.
4392 * string/test-strchr-ifunc.c: Likewise.
4393 * string/test-strchrnul-ifunc.c: Likewise.
4394 * string/test-strcmp-ifunc.c: Likewise.
4395 * string/test-strcpy-ifunc.c: Likewise.
4396 * string/test-strcspn-ifunc.c: Likewise.
4397 * string/test-strlen-ifunc.c: Likewise.
4398 * string/test-strncasecmp-ifunc.c: Likewise.
4399 * string/test-strncat-ifunc.c: Likewise.
4400 * string/test-strncmp-ifunc.c: Likewise.
4401 * string/test-strncpy-ifunc.c: Likewise.
4402 * string/test-strnlen-ifunc.c: Likewise.
4403 * string/test-strpbrk-ifunc.c: Likewise.
4404 * string/test-strrchr-ifunc.c: Likewise.
4405 * string/test-strspn-ifunc.c: Likewise.
4406 * string/test-strstr-ifunc.c: Likewise.
4408 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4410 * benchtests/Makefile: Remove ifunc tests.
4411 * benchtests/bench-string.h: Define TEST_IFUNC.
4412 * benchtests/bench-bcopy-ifunc.c: Remove.
4413 * benchtests/bench-bzero-ifunc.c: Likewise.
4414 * benchtests/bench-memccpy-ifunc.c: Likewise.
4415 * benchtests/bench-memchr-ifunc.c: Likewise.
4416 * benchtests/bench-memcmp-ifunc.c: Likewise.
4417 * benchtests/bench-memcpy-ifunc.c: Likewise.
4418 * benchtests/bench-memmem-ifunc.c: Likewise.
4419 * benchtests/bench-memmove-ifunc.c: Likewise.
4420 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4421 * benchtests/bench-memrchr-ifunc.c: Likewise.
4422 * benchtests/bench-memset-ifunc.c: Likewise.
4423 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4424 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4425 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4426 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4427 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4428 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4429 * benchtests/bench-strcat-ifunc.c: Likewise.
4430 * benchtests/bench-strchr-ifunc.c: Likewise.
4431 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4432 * benchtests/bench-strcmp-ifunc.c: Likewise.
4433 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4434 * benchtests/bench-strcpy-ifunc.c: Likewise.
4435 * benchtests/bench-strcspn-ifunc.c: Likewise.
4436 * benchtests/bench-strlen-ifunc.c: Likewise.
4437 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4438 * benchtests/bench-strncat-ifunc.c: Likewise.
4439 * benchtests/bench-strncmp-ifunc.c: Likewise.
4440 * benchtests/bench-strncpy-ifunc.c: Likewise.
4441 * benchtests/bench-strnlen-ifunc.c: Likewise.
4442 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4443 * benchtests/bench-strrchr-ifunc.c: Likewise.
4444 * benchtests/bench-strsep-ifunc.c: Likewise.
4445 * benchtests/bench-strspn-ifunc.c: Likewise.
4446 * benchtests/bench-strstr-ifunc.c: Likewise.
4448 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4450 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4452 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
4454 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4455 * rt/aio.h: Likewise.
4456 * sysdeps/gnu/bits/utmp.h: Likewise.
4457 * sysdeps/gnu/bits/utmpx.h: Likewise.
4458 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4459 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4460 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4461 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4462 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4463 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4464 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4465 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4466 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4467 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4468 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4469 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4470 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4472 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4473 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4474 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4475 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4476 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4477 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4478 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4479 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4480 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4481 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4482 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4484 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4485 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4487 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4488 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4489 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4490 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4492 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4493 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4494 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4495 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4496 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4497 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4498 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4499 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4501 2013-11-25 Carlos O'Donell <carlos@redhat.com>
4504 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4505 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4507 2013-11-25 Joseph Myers <joseph@codesourcery.com>
4509 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4510 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4513 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4515 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4516 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4517 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4518 (__fesetround): Remove define.
4519 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4520 rounding and exceptions handling.
4521 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4522 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4523 (__fe_nomask_env): Likewise.
4524 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4525 __fegetround instead of fegetround.
4526 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4527 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4529 2013-11-21 Roland McGrath <roland@hack.frob.com>
4531 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4534 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4536 2013-11-21 Meador Inge <meadori@codesourcery.com>
4539 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4540 (encrypt_r): Likewise.
4541 * malloc/obstack.h (obstack_free): Likewise.
4542 * posix/unistd.h (encrypt): Likewise.
4544 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4546 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4547 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4548 DL_CALL_DT_FINI() that call the functions directly.
4549 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4550 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4551 * elf/dl-fini.c: Likewise.
4553 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
4555 * malloc/hooks.c (memalign_check): Add alignment rounding.
4556 * malloc/malloc.c (_mid_memalign): New function.
4557 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4558 Implement by calling _mid_memalign.
4559 * manual/probes.texi (Memory Allocation Probes): Remove
4560 memory_valloc_retry and memory_pvalloc_retry.
4562 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4564 * locale/programs/locarchive.c (open_archive): Add const
4565 qualifier to ARCHIVEFNAME and copy default fname to
4569 * libio/tst-widetext.input: Rename Oriya to Odia.
4570 * locale/iso-639.def: Likewise.
4572 * manual/probes.texi (Mathematical Function Probes): Add
4573 documentation for sin, cos, asin and acos probes.
4574 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4575 (__sin32): Add slowasin probe.
4576 (__cos32): Add slowacos probe.
4577 (__mpsin): Add slowsin probe.
4578 (__mpcos): Add slowcos probe.
4580 2013-11-19 Joseph Myers <joseph@codesourcery.com>
4583 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4584 thread-local __sim_exceptions_thread and global
4585 __sim_exceptions_global.
4586 (__sim_disabled_exceptions): Change to thread-local
4587 __sim_disabled_exceptions_thread and global
4588 __sim_disabled_exceptions_global.
4589 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4590 and global __sim_round_mode_global.
4591 (__simulate_exceptions): Use thread-local floating-point state and
4592 set global state from it as needed.
4593 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4594 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4595 __sim_round_mode_thread.
4596 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4597 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4598 and global __sim_exceptions_global.
4599 (__sim_disabled_exceptions): Change to thread-local
4600 __sim_disabled_exceptions_thread and global
4601 __sim_disabled_exceptions_global.
4602 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4603 and global __sim_round_mode_global.
4604 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4605 (SIM_SET_GLOBAL): Likewise.
4606 * sysdeps/powerpc/soft-fp/sfp-machine.h
4607 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4608 __sim_round_mode_thread.
4609 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4610 __sim_disabled_exceptions_thread.
4611 (__sim_exceptions): Change to __sim_exceptions_thread.
4612 (__sim_disabled_exceptions): Change to
4613 __sim_disabled_exceptions_thread.
4614 (__sim_round_mode): Change to __sim_round_mode_thread.
4615 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4616 thread-local floating-point state and set global state from it as
4618 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4619 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4620 (__sim_disabled_exceptions): Remove extern declaration.
4621 (feenableexcept): Use thread-local floating-point state and set
4622 global state from it as needed.
4623 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4625 (__sim_disabled_exceptions): Likewise.
4626 (__sim_round_mode): Likewise.
4627 (__fegetenv): Use thread-local floating-point state.
4628 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4629 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4630 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4631 floating-point state and set global state from it as needed.
4632 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4633 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4634 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4636 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4637 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4639 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4640 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4641 Use __sim_round_mode_thread.
4642 * math/test-fenv-tls.c: New file.
4643 * math/Makefile (tests): Add test-fenv-tls.
4644 ($(objpfx)test-fenv-tls): Depend on
4645 $(common-objpfx)nptl/libpthread.so.
4647 2013-11-19 Andreas Schwab <schwab@suse.de>
4649 * locale/programs/locale.c (show_info): Decode wordarray elements.
4650 * locale/categories.def (LC_MONETARY): Add element for
4651 _NL_MONETARY_CRNCYSTR.
4652 * locale/C-monetary.c (conversion_rate): New variable.
4653 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4656 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4658 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4659 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4661 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4663 * elf/Makefile (tst-auxv): New test.
4664 * elf/tst-auxv.c: New
4665 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4667 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4669 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4670 (hidden_proto): Caller changed.
4671 (hidden_tls_proto): New macro.
4672 (libc_hidden_tls_proto): Likewise.
4673 (rtld_hidden_tls_proto): Likewise.
4674 (libm_hidden_tls_proto): Likewise.
4675 (libresolv_hidden_tls_proto): Likewise.
4676 (librt_hidden_tls_proto): Likewise.
4677 (libdl_hidden_tls_proto): Likewise.
4678 (libnss_files_hidden_tls_proto): Likewise.
4679 (libnsl_hidden_tls_proto): Likewise.
4680 (libnss_nisplus_hidden_tls_proto): Likewise.
4681 (libutil_hidden_tls_proto): Likewise.
4683 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4686 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4687 (decompose_rpath): Defer expansion to fillin_rpath.
4688 (_dl_init_paths): Pass linkmap to fillin_rpath.
4690 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4692 * benchtests/Makefile: Add strsep.
4693 * benchtests/bench-strsep.c: New file: strsep benchtest.
4694 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4696 2013-11-18 Andreas Schwab <schwab@suse.de>
4698 * locale/programs/locale.c (show_info) [case byte]: Check for
4699 '\377' instead of '\177'.
4700 * locale/C-monetary.c (not_available): Always use "\377".
4701 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4702 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4703 detect unavailable sign_posn locale elements.
4704 * locale/localeconv.c (__localeconv): For grouping and
4705 mon_grouping handle "\177" and "\377" like no grouping.
4706 (INT_ELEM): New macro. Use it to set all numeric members.
4707 * locale/programs/ld-monetary.c (monetary_read)
4708 <tok_mon_grouping>: Normalize single -1 to the empty string.
4709 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4712 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4715 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4716 when we match (nil).
4717 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4719 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4721 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4722 (NO_TEST_INLINE): Update value.
4723 (ERRNO_UNCHANGED): Likewise.
4724 (ERRNO_EDOM): Likewise.
4725 (ERRNO_ERANGE): Likewise.
4726 (IGNORE_RESULT): Likewise.
4727 (check_float_internal): Check signs of NaN results if
4729 (check_complex): Pass TEST_NAN_SIGN flag through to second
4730 check_float_internal call.
4731 (copysign_test_data): Add tests with quiet NaNs as second
4732 argument. Use TEST_NAN_SIGN.
4733 (fabs_test_data): Add test of negative quiet NaN argument. Use
4735 (signbit_test_data): Add tests of quiet NaN argument.
4736 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4738 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4740 (parse_args): Handle function results specified as IGNORE.
4741 * math/libm-test.inc (IGNORE_RESULT): New macro.
4742 (check_float_internal): Do not check numerical result if flag
4744 (check_complex): Pass through IGNORE_RESULT to second
4745 check_float_internal call.
4746 (check_int): Do not check numerical result if flag IGNORE_RESULT
4748 (check_long): Likewise.
4749 (check_bool): Likewise.
4750 (check_longlong): Likewise.
4751 (lrint_test_data): Add tests of infinite and NaN arguments.
4752 (lrint_tonearest_test_data): Likewise.
4753 (lrint_towardzero_test_data): Likewise.
4754 (lrint_downward_test_data): Likewise.
4755 (lrint_upward_test_data): Likewise.
4756 (llrint_test_data): Likewise.
4757 (llrint_tonearest_test_data): Likewise.
4758 (llrint_towardzero_test_data): Likewise.
4759 (llrint_downward_test_data): Likewise.
4760 (llrint_upward_test_data): Likewise.
4761 (lround_test_data): Likewise.
4762 (llround_test_data): Likewise.
4764 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4765 (ERRNO_UNCHANGED): Update value.
4766 (ERRNO_EDOM): Likewise.
4767 (ERRNO_ERANGE): Likewise.
4768 (NO_TEST_INLINE_FLOAT): New macro.
4769 (NO_TEST_INLINE_DOUBLE): Likewise.
4770 (enable_test): New function.
4771 (RUN_TEST_f_f): Check enable_test before running test.
4772 (RUN_TEST_2_f): Likewise.
4773 (RUN_TEST_fff_f): Likewise.
4774 (RUN_TEST_c_f): Likewise.
4775 (RUN_TEST_f_f1): Likewise.
4776 (RUN_TEST_fF_f1): Likewise.
4777 (RUN_TEST_fI_f1): Likewise.
4778 (RUN_TEST_ffI_f1): Likewise.
4779 (RUN_TEST_c_c): Likewise.
4780 (RUN_TEST_cc_c): Likewise.
4781 (RUN_TEST_f_i): Likewise.
4782 (RUN_TEST_f_i_tg): Likewise.
4783 (RUN_TEST_ff_i_tg): Likewise.
4784 (RUN_TEST_f_b): Likewise.
4785 (RUN_TEST_f_b_tg): Likewise.
4786 (RUN_TEST_f_l): Likewise.
4787 (RUN_TEST_f_L): Likewise.
4788 (RUN_TEST_fFF_11): Likewise.
4789 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4791 (cosh_test_data): Likewise.
4792 (exp_test_data): Likewise.
4793 (expm1_test_data): Likewise.
4794 (hypot_test_data): Likewise.
4795 (pow_test_data): Likewise.
4796 (sinh_test_data): Likewise.
4797 (tanh_test_data): Likewise.
4798 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4801 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4802 tests with quiet NaN input and output.
4803 (acosh_test_data): Likewise.
4804 (asin_test_data): Likewise.
4805 (asinh_test_data): Likewise.
4806 (atan_test_data): Likewise.
4807 (atanh_test_data): Likewise.
4808 (atan2_test_data): Likewise.
4809 (cbrt_test_data): Likewise.
4810 (cos_test_data): Likewise.
4811 (cosh_test_data): Likewise.
4812 (erf_test_data): Likewise.
4813 (erfc_test_data): Likewise.
4814 (exp_test_data): Likewise.
4815 (exp10_test_data): Likewise.
4816 (exp2_test_data): Likewise.
4817 (expm1_test_data): Likewise.
4818 (hypot_test_data): Likewise.
4819 (j0_test_data): Likewise.
4820 (j1_test_data): Likewise.
4821 (jn_test_data): Likewise.
4822 (lgamma_test_data): Likewise.
4823 (log_test_data): Likewise.
4824 (log10_test_data): Likewise.
4825 (log1p_test_data): Likewise.
4826 (log2_test_data): Likewise.
4827 (pow_test_data): Likewise.
4828 (scalb_test_data): Likewise.
4829 (sin_test_data): Likewise.
4830 (sincos_test_data): Likewise.
4831 (sinh_test_data): Likewise.
4832 (tan_test_data): Likewise.
4833 (tanh_test_data): Likewise.
4834 (tgamma_test_data): Likewise.
4835 (y0_test_data): Likewise.
4836 (y1_test_data): Likewise.
4837 (yn_test_data): Likewise.
4840 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4841 argument being NaN and avoid computations with second argument in
4843 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4844 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4845 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4847 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4849 * locale/iso-639.def: Add Chitwani Tharu (the).
4851 2013-11-14 Andreas Schwab <schwab@suse.de>
4853 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4854 word instead of empty string.
4856 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4859 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4861 (__fe_nomask_env): Likewise.
4863 2013-11-13 Steve Ellcey <sellcey@mips.com>
4865 * benchtests/bench-timing.h: Include time.h.
4867 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4870 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4872 * sysdeps/unix/sysv/linux/configure: Regenerated.
4874 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4877 * stdlib/strtod_l.c (round_and_return): Do not consider
4878 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4879 exponent one less than half the least subnormal exponent.
4880 * stdlib/test-strtod-round-data: Add more tests.
4881 * stdlib/tst-strtod-round.c (tests): Regenerated.
4883 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4886 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4887 (__fe_mask_env): Likewise.
4888 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4889 libm_hidden_proto and add function prototype.
4890 (__fe_mask_env): Add function prototype.
4891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4892 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4894 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4896 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4898 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4900 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4901 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4903 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4905 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4906 of htab_find_slot().
4908 2013-11-11 David S. Miller <davem@davemloft.net>
4911 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4912 symbol in the non-vis3 case in static builds.
4913 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4914 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4915 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4916 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4918 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4921 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4924 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926 * benchtests/Makefile: Add bench-strtod.
4927 * benchtests/bench-strtod.c: New file: strtod benchtest
4929 2013-11-11 Andreas Schwab <schwab@suse.de>
4932 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4933 terminating NUL in key length.
4935 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4937 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4938 Add artificial ODP entry for vDSO symbol for PPC64.
4939 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4940 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4942 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4945 * nss/getent.c (services_keys): Recognize services starting with digit.
4947 2013-11-06 David S. Miller <davem@davemloft.net>
4950 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4951 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4953 2013-11-06 Will Newton <will.newton@linaro.org>
4955 * manual/memory.texi (Malloc Examples): Remove register
4956 keyword from examples.
4958 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4960 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4962 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4965 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4966 depending on [__GCC_IEC_559 > 0].
4967 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4968 depending on [__GCC_IEC_559_COMPLEX > 0].
4970 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4972 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4975 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4977 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4979 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4982 * malloc/malloc (malloc_info): Do not handle first bin as
4985 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4987 * locale/iso-639.def: Add Central Nahuatl (nhn).
4989 2013-11-01 Bruno Haible <bruno@clisp.org>
4992 * manual/math.texi (BSD Random): Specify range upper bound as
4995 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4997 * locale/iso-639.def: Add Meadow Mari (mhr).
4999 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
5001 [BZ #14752], [BZ #15763]
5002 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5004 * rt/tst_shm.c: Add test for escaping directory.
5006 2013-10-31 Andreas Schwab <schwab@suse.de>
5009 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5010 followed by 'x' as part of digit sequence.
5011 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5013 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5016 * configure.ac: allow GNU Make 4.0 and greater.
5017 * configure: Regenerated.
5019 2013-10-30 Will Newton <will.newton@linaro.org>
5022 * malloc/hooks.c (memalign_check): Limit alignment to the
5023 maximum representable power of two.
5024 * malloc/malloc.c (__libc_memalign): Likewise.
5025 * malloc/tst-memalign.c (do_test): Add test for very
5026 large alignment values.
5027 * malloc/tst-posix_memalign.c (do_test): Likewise.
5029 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5032 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5033 (munmap_chunk): Likewise.
5034 (mremap_chunk): Likewise.
5036 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
5039 * stdlib/div.c (div): Remove obsolete code.
5040 * stdlib/ldiv.c (ldiv): Likewise.
5041 * stdlib/lldiv.c (lldiv): Likewise.
5043 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5046 * nss/nss_files/files-XXX.c (get_contents_ret): New
5048 (get_contents): New function.
5049 (internal_getent): Use it. Expand size of LINEBUFLEN.
5051 2013-10-30 Mike Frysinger <vapier@gentoo.org>
5053 * configure.in: Moved to ...
5054 * configure.ac: ... here. Change reference to configure.in
5056 * sysdeps/arm/preconfigure.ac: ... here.
5057 configure.in to configure.ac.
5058 * sysdeps/gnu/configure.in: Moved to ...
5059 * sysdeps/gnu/configure.ac: ... here.
5060 * sysdeps/i386/configure.in: Moved to ...
5061 * sysdeps/i386/configure.ac: ... here.
5062 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5063 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5064 * sysdeps/mach/configure.in: Moved to ...
5065 * sysdeps/mach/configure.ac: ... here.
5066 * sysdeps/mach/hurd/configure.in: Moved to ...
5067 * sysdeps/mach/hurd/configure.ac: ... here.
5068 * sysdeps/powerpc/configure.in: Moved to ...
5069 * sysdeps/powerpc/configure.ac: ... here.
5070 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5071 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5072 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5073 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5074 * sysdeps/s390/s390-32/configure.in: Moved to ...
5075 * sysdeps/s390/s390-32/configure.ac: ... here.
5076 * sysdeps/s390/s390-64/configure.in: Moved to ...
5077 * sysdeps/s390/s390-64/configure.ac: ... here.
5078 * sysdeps/sh/configure.in: Moved to ...
5079 * sysdeps/sh/configure.ac: ... here.
5080 * sysdeps/sparc/configure.in: Moved to ...
5081 * sysdeps/sparc/configure.ac: ... here.
5082 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5083 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5084 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5085 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5086 * sysdeps/x86_64/configure.in: Moved to ...
5087 * sysdeps/x86_64/configure.ac: ... here.
5088 * sysdeps/x86_64/preconfigure.in: Moved to ...
5089 * sysdeps/x86_64/preconfigure.ac: ... here.
5090 * aclocal.m4: Change reference to configure.in to configure.ac.
5091 * config.h.in: Likewise.
5092 * manual/install.texi: Likewise.
5093 * manual/maint.texi: Likewise.
5094 * Makefile: Likewise.
5095 * malloc/Makefile: Likewise.
5096 * nscd/Makefile: Likewise.
5097 * Makeconfig: Change reference to configure.in and
5098 preconfigure.in to configure.ac and preconfigure.ac
5100 * INSTALL: Regenerated.
5101 * configure: Likewise.
5102 * sysdeps/gnu/configure: Likewise.
5103 * sysdeps/i386/configure: Likewise.
5104 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5105 * sysdeps/mach/configure: Likewise.
5106 * sysdeps/mach/hurd/configure: Likewise.
5107 * sysdeps/powerpc/configure: Likewise.
5108 * sysdeps/powerpc/powerpc32/configure: Likewise.
5109 * sysdeps/powerpc/powerpc64/configure: Likewise.
5110 * sysdeps/s390/s390-32/configure: Likewise.
5111 * sysdeps/s390/s390-64/configure: Likewise.
5112 * sysdeps/sh/configure: Likewise.
5113 * sysdeps/sparc/configure: Likewise.
5114 * sysdeps/unix/sysv/linux/configure: Likewise.
5115 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5116 * sysdeps/x86_64/configure: Likewise.
5117 * sysdeps/x86_64/preconfigure: Likewise.
5119 2013-10-29 Andreas Schwab <schwab@suse.de>
5121 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5123 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5125 * benchtests/pow-inputs: Add new inputs.
5127 * benchtests/exp-inputs: Add new inputs.
5129 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5130 conditional check for return value.
5131 (__cos32): Likewise.
5133 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5136 to provide a boost for large inputs with word alignment.
5137 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5138 implementation based on optimized PPC64 strcpy.
5139 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5140 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5141 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5142 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5144 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5147 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5149 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5152 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5153 * time/tst-strptime.c (day_tests): Add testcase.
5155 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
5158 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5160 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5163 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5164 MAP_FAILED on error.
5166 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5169 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5170 heap for large requests.
5172 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5175 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5176 result if the result has no associated interface.
5177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5178 interface for all 127.X.Y.Z addresses.
5180 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
5182 * locale/iso-639.def: Add Ligurian (lij)
5184 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
5187 * sunrpc/rpc_main.c: Document rpcgen -5.
5189 2013-10-19 Michael Stahl <mstahl@redhat.com>
5191 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5193 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5196 * posix/glob.c: Match only directories when trailing slash is present.
5197 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5198 (main): Add testcase.
5200 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
5203 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5205 2013-10-18 Carlos O'Donell <carlos@redhat.com>
5207 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5208 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5209 AUTH_DES and cindex for FIPS 140-2.
5210 (DES Encryption): Add cindex FIPS 46-3.
5212 * locale/locarchive.h (struct locarhandle): Add fname.
5213 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5214 if an optional argument was specified to --list-archive,
5216 * locale/programs/locarchive.c (show_archive_content): Take new
5217 argument fname and pass it via ah.fname to open_archive.
5218 * locale/programs/localedef.h: Update decl.
5219 (open_archive): If AH->fname is non-null, open that file
5220 rather than the default file name, and don't ignore ENOENT.
5221 (create_archive): Set AH.fname to NULL.
5222 (delete_locales_from_archive): Likewise.
5223 (add_locales_to_archive): Likewise.
5224 * locale/programs/locfile.c (write_all_categories): Likewise.
5226 2013-10-18 Joseph Myers <joseph@codesourcery.com>
5227 Aldy Hernandez <aldyh@redhat.com>
5229 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5230 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5231 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5232 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5233 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5234 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5235 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5236 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5237 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5238 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5239 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5240 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5241 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5242 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5243 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5245 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5247 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5249 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5251 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5252 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5254 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5255 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5256 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5257 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5259 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5260 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5261 * sysdeps/powerpc/preconfigure: Likewise.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5264 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5265 Replace contents of file by #include of <fenv_libc.h>.
5266 * sysdeps/powerpc/soft-fp/sfp-machine.h
5267 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5269 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5270 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5271 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5272 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5273 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5274 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5276 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5277 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5278 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5279 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5280 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5282 Allow copysignl PLT reference to be missing.
5284 2013-10-18 Richard Sandiford <richard@codesourcery.com>
5285 Joseph Myers <joseph@codesourcery.com
5288 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5290 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5292 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5294 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5295 * elf/tst-tls1.c: Likewise.
5296 * elf/tst-tls10.h: Likewise.
5297 * elf/tst-tls14.c: Likewise.
5298 * elf/tst-tls2.c: Likewise.
5299 * elf/tst-tls3.c: Likewise.
5300 * elf/tst-tls4.c: Likewise.
5301 * elf/tst-tls5.c: Likewise.
5302 * elf/tst-tls6.c: Likewise.
5303 * elf/tst-tls7.c: Likewise.
5304 * elf/tst-tls8.c: Likewise.
5305 * elf/tst-tls9.c: Likewise.
5306 * elf/tst-tlsmod1.c: Likewise.
5307 * elf/tst-tlsmod13.c: Likewise.
5308 * elf/tst-tlsmod13a.c: Likewise.
5309 * elf/tst-tlsmod14a.c: Likewise.
5310 * elf/tst-tlsmod16a.c: Likewise.
5311 * elf/tst-tlsmod16b.c: Likewise.
5312 * elf/tst-tlsmod2.c: Likewise.
5313 * elf/tst-tlsmod3.c: Likewise.
5314 * elf/tst-tlsmod4.c: Likewise.
5315 * elf/tst-tlsmod5.c: Likewise.
5316 * elf/tst-tlsmod6.c: Likewise.
5318 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
5321 * malloc/malloc.c: remove checks for statistics.
5323 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5326 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5327 * inet/tst-network.c: Add testcase.
5329 2013-10-17 Andreas Schwab <schwab@suse.de>
5332 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5333 to determine canonical name.
5335 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
5337 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5338 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5344 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5345 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5346 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5347 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5351 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5352 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5361 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5362 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5380 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5381 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5396 2013-10-17 Joseph Myers <joseph@codesourcery.com>
5399 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5400 make result into a quiet NaN.
5402 2013-10-16 Joseph Myers <joseph@codesourcery.com>
5404 * soft-fp/adddf3.c: Fix horizontal whitespace.
5405 * soft-fp/addsf3.c: Likewise.
5406 * soft-fp/addtf3.c: Likewise.
5407 * soft-fp/divdf3.c: Likewise.
5408 * soft-fp/divsf3.c: Likewise.
5409 * soft-fp/divtf3.c: Likewise.
5410 * soft-fp/double.h: Likewise.
5411 * soft-fp/eqdf2.c: Likewise.
5412 * soft-fp/eqsf2.c: Likewise.
5413 * soft-fp/eqtf2.c: Likewise.
5414 * soft-fp/extenddftf2.c: Likewise.
5415 * soft-fp/extended.h: Likewise.
5416 * soft-fp/extendsfdf2.c: Likewise.
5417 * soft-fp/extendsftf2.c: Likewise.
5418 * soft-fp/extendxftf2.c: Likewise.
5419 * soft-fp/fixdfdi.c: Likewise.
5420 * soft-fp/fixdfsi.c: Likewise.
5421 * soft-fp/fixdfti.c: Likewise.
5422 * soft-fp/fixsfdi.c: Likewise.
5423 * soft-fp/fixsfsi.c: Likewise.
5424 * soft-fp/fixsfti.c: Likewise.
5425 * soft-fp/fixtfdi.c: Likewise.
5426 * soft-fp/fixtfsi.c: Likewise.
5427 * soft-fp/fixtfti.c: Likewise.
5428 * soft-fp/fixunsdfdi.c: Likewise.
5429 * soft-fp/fixunsdfsi.c: Likewise.
5430 * soft-fp/fixunsdfti.c: Likewise.
5431 * soft-fp/fixunssfdi.c: Likewise.
5432 * soft-fp/fixunssfsi.c: Likewise.
5433 * soft-fp/fixunssfti.c: Likewise.
5434 * soft-fp/fixunstfdi.c: Likewise.
5435 * soft-fp/fixunstfsi.c: Likewise.
5436 * soft-fp/fixunstfti.c: Likewise.
5437 * soft-fp/floatdidf.c: Likewise.
5438 * soft-fp/floatdisf.c: Likewise.
5439 * soft-fp/floatditf.c: Likewise.
5440 * soft-fp/floatsidf.c: Likewise.
5441 * soft-fp/floatsisf.c: Likewise.
5442 * soft-fp/floatsitf.c: Likewise.
5443 * soft-fp/floattidf.c: Likewise.
5444 * soft-fp/floattisf.c: Likewise.
5445 * soft-fp/floattitf.c: Likewise.
5446 * soft-fp/floatundidf.c: Likewise.
5447 * soft-fp/floatundisf.c: Likewise.
5448 * soft-fp/floatunditf.c: Likewise.
5449 * soft-fp/floatunsidf.c: Likewise.
5450 * soft-fp/floatunsisf.c: Likewise.
5451 * soft-fp/floatunsitf.c: Likewise.
5452 * soft-fp/floatuntidf.c: Likewise.
5453 * soft-fp/floatuntisf.c: Likewise.
5454 * soft-fp/floatuntitf.c: Likewise.
5455 * soft-fp/fmadf4.c: Likewise.
5456 * soft-fp/fmasf4.c: Likewise.
5457 * soft-fp/fmatf4.c: Likewise.
5458 * soft-fp/gedf2.c: Likewise.
5459 * soft-fp/gesf2.c: Likewise.
5460 * soft-fp/getf2.c: Likewise.
5461 * soft-fp/ledf2.c: Likewise.
5462 * soft-fp/lesf2.c: Likewise.
5463 * soft-fp/letf2.c: Likewise.
5464 * soft-fp/muldf3.c: Likewise.
5465 * soft-fp/mulsf3.c: Likewise.
5466 * soft-fp/multf3.c: Likewise.
5467 * soft-fp/negdf2.c: Likewise.
5468 * soft-fp/negsf2.c: Likewise.
5469 * soft-fp/negtf2.c: Likewise.
5470 * soft-fp/op-1.h: Likewise.
5471 * soft-fp/op-2.h: Likewise.
5472 * soft-fp/op-4.h: Likewise.
5473 * soft-fp/op-8.h: Likewise.
5474 * soft-fp/op-common.h: Likewise.
5475 * soft-fp/quad.h: Likewise.
5476 * soft-fp/single.h: Likewise.
5477 * soft-fp/soft-fp.h: Likewise.
5478 * soft-fp/sqrtdf2.c: Likewise.
5479 * soft-fp/sqrtsf2.c: Likewise.
5480 * soft-fp/sqrttf2.c: Likewise.
5481 * soft-fp/subdf3.c: Likewise.
5482 * soft-fp/subsf3.c: Likewise.
5483 * soft-fp/subtf3.c: Likewise.
5484 * soft-fp/truncdfsf2.c: Likewise.
5485 * soft-fp/trunctfdf2.c: Likewise.
5486 * soft-fp/trunctfsf2.c: Likewise.
5487 * soft-fp/trunctfxf2.c: Likewise.
5488 * soft-fp/unorddf2.c: Likewise.
5489 * soft-fp/unordsf2.c: Likewise.
5490 * soft-fp/unordtf2.c: Likewise.
5492 2013-10-15 Joseph Myers <joseph@codesourcery.com>
5494 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5495 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5497 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
5499 * elf/dl-libc.c: Clear initfini list after freeing.
5501 2013-10-14 Joseph Myers <joseph@codesourcery.com>
5503 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5504 * soft-fp/addsf3.c: Likewise.
5505 * soft-fp/addtf3.c: Likewise.
5506 * soft-fp/divdf3.c: Likewise.
5507 * soft-fp/divsf3.c: Likewise.
5508 * soft-fp/divtf3.c: Likewise.
5509 * soft-fp/double.h: Likewise.
5510 * soft-fp/eqdf2.c: Likewise.
5511 * soft-fp/eqsf2.c: Likewise.
5512 * soft-fp/eqtf2.c: Likewise.
5513 * soft-fp/extenddftf2.c: Likewise.
5514 * soft-fp/extended.h: Likewise.
5515 * soft-fp/extendsfdf2.c: Likewise.
5516 * soft-fp/extendsftf2.c: Likewise.
5517 * soft-fp/extendxftf2.c: Likewise.
5518 * soft-fp/fixdfdi.c: Likewise.
5519 * soft-fp/fixdfsi.c: Likewise.
5520 * soft-fp/fixdfti.c: Likewise.
5521 * soft-fp/fixsfdi.c: Likewise.
5522 * soft-fp/fixsfsi.c: Likewise.
5523 * soft-fp/fixsfti.c: Likewise.
5524 * soft-fp/fixtfdi.c: Likewise.
5525 * soft-fp/fixtfsi.c: Likewise.
5526 * soft-fp/fixtfti.c: Likewise.
5527 * soft-fp/fixunsdfdi.c: Likewise.
5528 * soft-fp/fixunsdfsi.c: Likewise.
5529 * soft-fp/fixunsdfti.c: Likewise.
5530 * soft-fp/fixunssfdi.c: Likewise.
5531 * soft-fp/fixunssfsi.c: Likewise.
5532 * soft-fp/fixunssfti.c: Likewise.
5533 * soft-fp/fixunstfdi.c: Likewise.
5534 * soft-fp/fixunstfsi.c: Likewise.
5535 * soft-fp/fixunstfti.c: Likewise.
5536 * soft-fp/floatdidf.c: Likewise.
5537 * soft-fp/floatdisf.c: Likewise.
5538 * soft-fp/floatditf.c: Likewise.
5539 * soft-fp/floatsidf.c: Likewise.
5540 * soft-fp/floatsisf.c: Likewise.
5541 * soft-fp/floatsitf.c: Likewise.
5542 * soft-fp/floattidf.c: Likewise.
5543 * soft-fp/floattisf.c: Likewise.
5544 * soft-fp/floattitf.c: Likewise.
5545 * soft-fp/floatundidf.c: Likewise.
5546 * soft-fp/floatundisf.c: Likewise.
5547 * soft-fp/floatunsidf.c: Likewise.
5548 * soft-fp/floatunsisf.c: Likewise.
5549 * soft-fp/floatuntidf.c: Likewise.
5550 * soft-fp/floatuntisf.c: Likewise.
5551 * soft-fp/floatuntitf.c: Likewise.
5552 * soft-fp/fmadf4.c: Likewise.
5553 * soft-fp/fmasf4.c: Likewise.
5554 * soft-fp/fmatf4.c: Likewise.
5555 * soft-fp/gedf2.c: Likewise.
5556 * soft-fp/gesf2.c: Likewise.
5557 * soft-fp/getf2.c: Likewise.
5558 * soft-fp/ledf2.c: Likewise.
5559 * soft-fp/lesf2.c: Likewise.
5560 * soft-fp/letf2.c: Likewise.
5561 * soft-fp/muldf3.c: Likewise.
5562 * soft-fp/mulsf3.c: Likewise.
5563 * soft-fp/multf3.c: Likewise.
5564 * soft-fp/negdf2.c: Likewise.
5565 * soft-fp/negsf2.c: Likewise.
5566 * soft-fp/negtf2.c: Likewise.
5567 * soft-fp/op-1.h: Likewise.
5568 * soft-fp/op-2.h: Likewise.
5569 * soft-fp/op-4.h: Likewise.
5570 * soft-fp/op-8.h: Likewise.
5571 * soft-fp/op-common.h: Likewise.
5572 * soft-fp/quad.h: Likewise.
5573 * soft-fp/single.h: Likewise.
5574 * soft-fp/soft-fp.h: Likewise.
5575 * soft-fp/sqrtdf2.c: Likewise.
5576 * soft-fp/sqrtsf2.c: Likewise.
5577 * soft-fp/sqrttf2.c: Likewise.
5578 * soft-fp/subdf3.c: Likewise.
5579 * soft-fp/subsf3.c: Likewise.
5580 * soft-fp/subtf3.c: Likewise.
5581 * soft-fp/truncdfsf2.c: Likewise.
5582 * soft-fp/trunctfdf2.c: Likewise.
5583 * soft-fp/trunctfsf2.c: Likewise.
5584 * soft-fp/trunctfxf2.c: Likewise.
5585 * soft-fp/unorddf2.c: Likewise.
5586 * soft-fp/unordsf2.c: Likewise.
5587 * soft-fp/unordtf2.c: Likewise.
5589 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
5592 * misc/error.c (error_tail): Fix possible buffer overflow.
5594 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5597 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5600 2013-10-14 P. J. McDermott <pj@pehjota.net>
5603 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5604 testing pipefail option.
5606 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5608 * soft-fp/double.h: Indent preprocessor directives inside #if.
5609 * soft-fp/extended.h: Likewise.
5610 * soft-fp/op-2.h: Likewise.
5611 * soft-fp/op-4.h: Likewise.
5612 * soft-fp/op-common.h: Likewise.
5613 * soft-fp/quad.h: Likewise.
5614 * soft-fp/single.h: Likewise.
5615 * soft-fp/soft-fp.h: Likewise.
5617 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5619 * iconv/iconv_prog.c: Fix typos.
5620 * stdio-common/psiginfo-data.h: Likewise.
5622 2013-10-12 Reuben Thomas <rrt@sc3d.org>
5625 * locale/setlocale.c: Fix typo.
5627 2013-10-12 Joseph Myers <joseph@codesourcery.com>
5630 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5631 signaling NaN arguments.
5632 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5633 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5636 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5638 * soft-fp/gesf2.c (__gesf2): Likewise.
5639 * soft-fp/getf2.c (__getf2): Likewise.
5640 * soft-fp/ledf2.c (__ledf2): Likewise.
5641 * soft-fp/lesf2.c (__lesf2): Likewise.
5642 * soft-fp/letf2.c (__letf2): Likewise.
5644 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5645 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5646 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5647 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5648 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5649 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5650 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5651 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5652 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5653 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5654 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5655 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5656 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5657 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5658 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5659 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5660 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5661 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5662 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5663 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5664 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5665 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5666 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5667 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5668 * soft-fp/floattidf.c (__floattidf): Likewise.
5669 * soft-fp/floattisf.c (__floattisf): Likewise.
5670 * soft-fp/floattitf.c (__floattitf): Likewise.
5671 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5672 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5673 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5674 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5675 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5676 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5677 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5678 * soft-fp/gesf2.c (__gesf2): Likewise.
5679 * soft-fp/getf2.c (__getf2): Likewise.
5680 * soft-fp/ledf2.c (__ledf2): Likewise.
5681 * soft-fp/lesf2.c (__lesf2): Likewise.
5682 * soft-fp/letf2.c (__letf2): Likewise.
5684 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5685 Undefine and redefine.
5686 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5687 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5688 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5689 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5690 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5691 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5692 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5693 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5694 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5695 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5696 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5697 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5698 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5699 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5700 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5703 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5704 without decrementing exponent if mantissa >= that for the
5706 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5707 denominator, not >. Decrement exponent in < case instead of
5708 incrementing in >= case.
5709 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5710 without decrementing exponent if mantissa >= that for the
5713 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5714 computing saturated result for unsigned overflow.
5716 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5717 Jeff Law <law@redhat.com>
5719 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5720 (atan2Mp): Add systemtap probe marker.
5721 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5722 (__ieee754_log): Add systemtap probe marker.
5723 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5724 (atanMp): Add systemtap probe marker.
5725 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5726 (tanMp): Add systemtap probe marker.
5727 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5728 (__slowexp): Add systemtap probe marker.
5729 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5730 (__slowpow): Add systemtap probe marker.
5731 * manual/probes.texi: Document probes.
5733 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5736 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5738 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5740 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5741 written to buffer but not flushed.
5742 * libio/iofwrite_u.c: Likewise.
5743 * libio/iopadn.c: Return bytes returned even if EOF was
5745 * libio/iowpadn.c: Likewise.
5746 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5747 if _IO_padn does not write the whole buffer.
5748 [!COMPILE_WPRINTF] (PAD): Likewise.
5750 2013-10-10 David S. Miller <davem@davemloft.net>
5752 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5755 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5757 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5758 instead of FSF address.
5759 * soft-fp/fixdfti.c: Likewise.
5760 * soft-fp/fixsfti.c: Likewise.
5761 * soft-fp/fixtfti.c: Likewise.
5762 * soft-fp/fixunsdfti.c: Likewise.
5763 * soft-fp/fixunssfti.c: Likewise.
5764 * soft-fp/fixunstfti.c: Likewise.
5765 * soft-fp/floattidf.c: Likewise.
5766 * soft-fp/floattisf.c: Likewise.
5767 * soft-fp/floattitf.c: Likewise.
5768 * soft-fp/floatuntidf.c: Likewise.
5769 * soft-fp/floatuntisf.c: Likewise.
5770 * soft-fp/floatuntitf.c: Likewise.
5771 * soft-fp/trunctfxf2.c: Likewise.
5773 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5774 * soft-fp/fixdfti.c: Likewise.
5775 * soft-fp/fixsfti.c: Likewise.
5776 * soft-fp/fixtfti.c: Likewise.
5777 * soft-fp/fixunsdfti.c: Likewise.
5778 * soft-fp/fixunssfti.c: Likewise.
5779 * soft-fp/fixunstfti.c: Likewise.
5780 * soft-fp/floattidf.c: Likewise.
5781 * soft-fp/floattisf.c: Likewise.
5782 * soft-fp/floattitf.c: Likewise.
5783 * soft-fp/floatuntidf.c: Likewise.
5784 * soft-fp/floatuntisf.c: Likewise.
5785 * soft-fp/floatuntitf.c: Likewise.
5786 * soft-fp/trunctfxf2.c: Likewise.
5788 2013-10-10 David S. Miller <davem@davemloft.net>
5790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5792 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5794 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5795 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5796 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5797 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5798 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5799 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5800 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5802 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5803 for NaNs before doing comparisons on argument.
5804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5807 2013-10-10 Will Newton <will.newton@linaro.org>
5809 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5810 passed to _int_memalign does not overflow.
5812 2013-10-10 Torvald Riegel <triegel@redhat.com>
5814 * scripts/bench.pl: Add include-sources directive.
5815 * benchtests/README: Update documentation.
5817 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5819 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5820 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5821 instead of FP_INIT_ROUNDMODE.
5822 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5823 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5826 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5827 copy class of input value.
5828 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5829 not handle exceptions.
5830 * soft-fp/negsf2.c (__negsf2): Likewise.
5831 * soft-fp/negtf2.c (__negtf2): Likewise.
5832 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5834 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5836 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5837 semicolon. From Linux kernel.
5839 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5841 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5843 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5846 * manual/socket.texi: Added statement about buffer
5847 for gethostbyname2_r.
5849 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5851 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5852 Use .p2align directive instead, throughout.
5853 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5854 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5855 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5856 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5857 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5858 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5859 * sysdeps/x86_64/strchr.S: Likewise.
5860 * sysdeps/x86_64/strrchr.S: Likewise.
5862 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5864 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5866 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5868 * sysdeps/generic/math_private.h (__mpsin1): Remove
5870 (__mpcos1): Likewise.
5871 (__mpsin): New argument __range_reduce.
5872 (__mpcos): Likewise.
5873 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5874 (slow): Use __mpsin and __mpcos.
5881 (bsloww1): Likewise.
5882 (bsloww2): Likewise.
5885 (csloww1): Likewise.
5886 (csloww2): Likewise.
5887 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5888 range_reduce. Merge in __mpsin1.
5889 (__mpcos): Likewise.
5891 (__mpcos1): Likewise.
5893 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5895 * locale/loadlocale.c (_nl_intern_locale_data): Use
5897 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5898 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5899 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5900 obstack data is appropriately aligned.
5901 (obstack_int32_grow_fast): Likewise.
5902 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5903 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5904 (add_locale_uint32_array): Likewise.
5906 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5908 * benchtests/Makefile: Remove ARGLIST and RET variables.
5909 ($(objpfx)bench-%.c): Pass only function name to the script.
5910 * benchtests/README: Update documentation.
5911 * benchtests/acos-inputs: Add new directives.
5912 * benchtests/acosh-inputs: Likewise.
5913 * benchtests/asin-inputs: Likewise.
5914 * benchtests/asinh-inputs: Likewise.
5915 * benchtests/atan-inputs: Likewise.
5916 * benchtests/atanh-inputs: Likewise.
5917 * benchtests/cos-inputs: Likewise.
5918 * benchtests/cosh-inputs: Likewise.
5919 * benchtests/exp-inputs: Likewise.
5920 * benchtests/log-inputs: Likewise.
5921 * benchtests/pow-inputs: Likewise.
5922 * benchtests/rint-inputs: Likewise.
5923 * benchtests/sin-inputs: Likewise.
5924 * benchtests/sinh-inputs: Likewise.
5925 * benchtests/tan-inputs: Likewise.
5926 * benchtests/tanh-inputs: Likewise.
5927 * scripts/bench.pl: Add support for new directives.
5929 2013-10-07 Alan Modra <amodra@gmail.com>
5931 * README: Fix careless merge.
5933 2013-10-05 Alan Modra <amodra@gmail.com>
5935 * NEWS: Mention powerpc64le support and bugs fixed.
5936 * README: Both big-endian and little-endian powerpc64 supported.
5938 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5940 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5941 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5942 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5943 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5945 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5947 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5950 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5952 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5953 Move -mhard-float appending from
5954 ports/sysdeps/powerpc/powerpc32/Makefile.
5955 [$(with-fp) = yes] (ASFLAGS): Likewise.
5956 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5957 * sysdeps/powerpc/nofpu: Move directory from
5958 ports/sysdeps/powerpc/nofpu.
5959 * sysdeps/powerpc/soft-fp: Move directory from
5960 ports/sysdeps/powerpc/soft-fp.
5961 * sysdeps/powerpc/powerpc32/405: Move directory from
5962 ports/sysdeps/powerpc/powerpc32/405.
5963 * sysdeps/powerpc/powerpc32/440: Move directory from
5964 ports/sysdeps/powerpc/powerpc32/440.
5965 * sysdeps/powerpc/powerpc32/464: Move directory from
5966 ports/sysdeps/powerpc/powerpc32/464.
5967 * sysdeps/powerpc/powerpc32/476: Move directory from
5968 ports/sysdeps/powerpc/powerpc32/476.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5970 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5972 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5974 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5976 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5978 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5979 * README: Update for powerpc-*-linux-gnu software floating point
5982 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5983 case to powerpc/powerpc32*.
5984 * sysdeps/unix/sysv/linux/configure: Regenerated.
5986 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5987 (_FPU_MASK_OM): Define as 0x04.
5988 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5991 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5996 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5999 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6002 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6003 and setcontext_e500.
6005 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6007 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6009 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6011 * manual/threads.texi (Default Thread Attributes): Fix typo.
6013 2013-10-04 Will Newton <will.newton@linaro.org>
6015 * malloc/Makefile: Add tst-memalign.
6016 * malloc/tst-memalign.c: New file.
6018 * malloc/tst-posix_memalign.c: Add comments.
6019 (do_test): Add comments and call free on all potentially
6020 allocated pointers. Add space after cast.
6022 * malloc/tst-pvalloc.c: Add comments.
6023 (do_test): Add comments and call free on all potentially
6024 allocated pointers. Remove duplicate check for NULL pointer.
6025 Add space after cast.
6027 * malloc/tst-valloc.c: Add comments.
6028 (do_test): Add comments and call free on all potentially
6029 allocated pointers. Remove duplicate check for NULL pointer.
6030 Add space after cast.
6032 2013-10-04 Alan Modra <amodra@gmail.com>
6034 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6035 Use stdint types in rather than __attribute__((mode())).
6036 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6038 2013-10-04 Alan Modra <amodra@gmail.com>
6040 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6041 Correct handling of unaligned relocs for little-endian.
6042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6044 2013-10-04 Alan Modra <amodra@gmail.com>
6046 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6047 * configure: Regenerate.
6048 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6049 * shlib-versions: Likewise.
6051 2013-10-04 Alan Modra <amodra@gmail.com>
6053 * string/tester.c (test_memrchr): Increment reported test cycle.
6055 2013-10-04 Alan Modra <amodra@gmail.com>
6057 * string/test-memcpy.c (do_one_test): When reporting errors, print
6058 string address and don't overrun end of string.
6060 2013-10-04 Alan Modra <amodra@gmail.com>
6062 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6063 insrdi. Make better use of reg selection to speed exit slightly.
6064 Schedule entry path a little better. Remove useless "are we done"
6065 checks on entry to main loop. Handle wrapping around zero address.
6066 Correct main loop count. Handle single left-over word from main
6067 loop inline rather than by using loop_small. Remove extra word
6068 case in loop_small caused by wrong loop count. Add little-endian
6070 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6071 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6073 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6074 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6075 support. Avoid rlwimi.
6076 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6078 2013-10-04 Alan Modra <amodra@gmail.com>
6080 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
6082 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6083 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6084 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6085 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6086 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6087 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6089 2013-10-04 Alan Modra <amodra@gmail.com>
6091 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6092 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6093 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6094 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6095 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6096 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6097 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6098 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6099 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6100 use of regs. Use power7 mtocrf. Tidy function tails.
6102 2013-10-04 Alan Modra <amodra@gmail.com>
6104 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6105 Formatting. Consistently use rXXX register defines or rN defines.
6106 Use early exit labels that avoid restoring unused non-volatile regs.
6107 Make cr field use more consistent with rWORDn compares. Rename
6108 regs used as shift registers for unaligned loop, using rN defines
6109 for short lifetime/multiple use regs.
6110 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6112 addi 1,1,64 to pop stack frame. Simplify return value code.
6113 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6115 2013-10-04 Alan Modra <amodra@gmail.com>
6117 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6118 support. Correct typos, formatting. Optimize tail. Use insrdi
6120 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6121 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6122 little-endian support. Correct typos.
6123 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6125 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6126 in loop and entry code to keep "and." results.
6127 (strchr): Add little-endian support. Comment. Move cntlzd
6129 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6131 2013-10-04 Alan Modra <amodra@gmail.com>
6133 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6134 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6135 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6136 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6138 2013-10-04 Alan Modra <amodra@gmail.com>
6140 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6141 (rTMP): Define as r11.
6142 (strcmp): Add little-endian support. Optimise tail.
6143 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6144 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6145 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6146 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6147 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6148 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6151 2013-10-04 Alan Modra <amodra@gmail.com>
6153 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6154 little-endian support. Remove unnecessary "are we done" tests.
6155 Handle "s" wrapping around zero and extremely large "size".
6156 Correct main loop count. Handle single left-over word from main
6157 loop inline rather than by using small_loop. Correct comments.
6158 Delete "zero" tail, use "end_max" instead.
6159 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6161 2013-10-04 Alan Modra <amodra@gmail.com>
6163 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6164 support. Don't branch over align.
6165 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6166 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6167 support. Rearrange tmp reg use to suit. Comment.
6168 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6170 2013-10-04 Alan Modra <amodra@gmail.com>
6172 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6174 2013-10-04 Alan Modra <amodra@gmail.com>
6176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6177 conditional form of branch and link when obtaining pc.
6178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6180 2013-10-04 Alan Modra <amodra@gmail.com>
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6187 2013-10-04 Alan Modra <amodra@gmail.com>
6189 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6190 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6191 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6192 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6193 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6194 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6195 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6196 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6197 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6198 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6200 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6201 Alistair Popple <alistair@ozlabs.au.ibm.com>
6202 Alan Modra <amodra@gmail.com>
6205 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6206 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6207 _dl_hwcap access for little-endian.
6208 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6209 destroy vmx regs when saving unaligned.
6210 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6211 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6212 destroy vmx regs when saving unaligned.
6214 2013-10-04 Alan Modra <amodra@gmail.com>
6216 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6217 Don't use a union to pack hi/low value.
6219 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6221 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6223 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6225 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6226 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6227 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6229 2013-10-04 Alan Modra <amodra@gmail.com>
6231 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6232 constants to usual value for .cst8 section, and remove redundant
6234 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6235 constant for 0x1p52. Load little-endian words of double from
6236 correct stack offsets.
6238 2013-10-04 Alan Modra <amodra@gmail.com>
6240 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6241 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6242 words of double from correct stack offsets.
6243 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6244 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6245 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6248 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6249 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6250 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6251 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6252 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6253 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6254 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6255 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6256 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6257 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6258 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6259 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6261 2013-10-04 Alan Modra <amodra@gmail.com>
6263 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6264 64-bit int/double union.
6265 (_FPU_SETCW): Likewise.
6266 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6267 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6269 2013-10-04 Alan Modra <amodra@gmail.com>
6271 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6272 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6274 2013-10-04 Alan Modra <amodra@gmail.com>
6276 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6277 use vector int constants.
6278 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6280 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6282 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6283 array with long long.
6284 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6285 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6286 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6287 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6288 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6289 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6290 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6291 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6292 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6293 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6294 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6295 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6296 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6298 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
6300 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6301 (__signbit): Likewise. Correct for little-endian.
6302 (__signbitl): Call __signbit.
6303 (lrint): Correct for little-endian.
6304 (lrintf): Call lrint.
6306 2013-10-04 Alan Modra <amodra@gmail.com>
6308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6309 union 32-bit int array member with 64-bit int array.
6310 (t515, tm256): Double rather than long double.
6311 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6313 2013-10-04 Alan Modra <amodra@gmail.com>
6315 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6317 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6318 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6319 version of math_ldbl.h.
6321 2013-10-04 Alan Modra <amodra@gmail.com>
6323 [BZ #15734], [BZ #15735]
6324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6325 all uses of ieee875 long double macros and unions. Simplify test
6326 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6327 ldbl_extract_mantissa value for ix,iy exponents. Properly
6328 normalize after ldbl_extract_mantissa, and don't add hidden bit
6329 already handled. Don't treat low word of ieee854 mantissa like
6330 low word of IBM long double and mask off bit when testing for
6332 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6333 all uses of ieee875 long double macros and unions. Simplify tests
6334 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6335 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6336 two1022, instead use their values. Recognise that tests for large
6337 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6338 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6339 Rewrite all uses of ieee875 long double macros and unions. Simplify
6340 test for 0.0L and nan. Correct negation.
6341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6342 ieee875 long double macros and unions. Correct output for large
6343 magnitude x. Correct absolute value calculation.
6344 (__erfcl): Likewise.
6345 * math/libm-test.inc: Add tests for errors discovered in IBM long
6346 double versions of fmodl, remainderl, erfl and erfcl.
6348 2013-10-04 Alan Modra <amodra@gmail.com>
6350 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6351 all uses of ieee854 long double macros and unions. Simplify tests
6352 for long doubles that are fully specified by the high double.
6353 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6355 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6356 Remove dead code too.
6357 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6358 (__ieee754_ynl): Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6362 Remove dead code too.
6363 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6373 Comment on variable precision.
6374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6377 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6380 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6381 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6383 2013-10-04 Alan Modra <amodra@gmail.com>
6385 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6386 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6387 all uses of ieee854 long double macros and unions.
6388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6395 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6400 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6401 Simplify sign and nan test too.
6402 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6407 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6413 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6414 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6415 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6417 2013-10-04 Alan Modra <amodra@gmail.com>
6419 * stdio-common/printf_size.c (__printf_size): Don't use
6420 union ieee854_long_double in fpnum union.
6421 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6422 signbit macro to retrieve sign from long double.
6423 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6424 retrieve sign from long double.
6425 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6426 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6427 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6428 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6429 * math/test-misc.c (main): Don't use union ieee854_long_double.
6431 2013-10-04 Alan Modra <amodra@gmail.com>
6434 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6435 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6436 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6437 calculation. Remove unnecessary test for denormal exponent.
6438 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6439 Correct handling of denormals. Avoid undefined shift behaviour.
6440 Correct normalisation of low mantissa when low double is denormal.
6441 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6442 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6443 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6444 Correct normalisation of low mantissa. Test for overflow of high
6445 mantissa and normalise.
6446 (ldbl_nearbyint): Use more readable constant for two52.
6447 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6448 (__mpn_construct_long_double): Fix test for overflow of high
6449 mantissa and correct normalisation. Avoid undefined shift.
6451 2013-10-04 Alan Modra <amodra@gmail.com>
6453 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6454 (union ibm_extended_long_double): Define as an array of ieee754_double.
6455 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6456 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6457 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6458 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6467 2013-10-03 Joseph Myers <joseph@codesourcery.com>
6469 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6470 page size instead of calling getpagesize.
6472 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6473 (LOCFILE_ALIGN_MASK): Likewise.
6474 (LOCFILE_ALIGN_UP): Likewise.
6475 (LOCFILE_ALIGNED_P): Likewise.
6476 * locale/programs/ld-collate.c (collate_output): Use the new
6477 macros instead of __alignof__ (int32_t).
6478 * locale/weight.h (findidx): Likewise.
6480 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
6483 * manual/string.texi: Fix strncat and wcsncat.
6485 2013-10-03 Brooks Moses <bmoses@google.com>
6488 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6489 * Makerules: ...here, and adjust associated comments.
6491 2013-10-02 Will Newton <will.newton@linaro.org>
6493 * malloc/Makefile: Add tst-pvalloc.
6494 * malloc/tst-pvalloc.c: New file.
6496 2013-10-02 Will Newton <will.newton@linaro.org>
6498 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6499 improve test coverage.
6501 2013-10-02 Will Newton <will.newton@linaro.org>
6503 * malloc/Makefile: Add tst-posix_memalign.
6504 * malloc/tst-posix_memalign.c: New file.
6506 2013-10-01 Eric Blake <eblake@redhat.com>
6508 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6509 Use __THROWNL rather than __THROW on static functions.
6511 2013-09-30 Petr Machata <pmachata@redhat.com>
6513 * elf/elf.h (R_AARCH64_ABS16): New macro.
6514 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6515 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6516 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6517 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6518 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6519 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6520 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6521 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6522 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6523 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6524 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6525 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6526 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6527 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6528 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6529 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6530 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6531 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6532 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6533 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6534 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6535 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6536 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6537 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6538 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6539 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6540 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6541 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6542 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6543 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6544 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6545 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6546 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6547 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6548 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6549 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6550 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6551 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6552 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6553 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6554 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6555 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6556 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6557 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6558 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6559 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6560 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6561 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6562 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6563 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6564 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6565 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6566 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6567 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6568 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6569 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6570 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6571 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6572 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6573 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6574 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6575 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6576 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6577 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6578 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6579 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6580 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6581 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6582 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6583 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6584 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6585 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6586 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6587 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6588 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6589 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6590 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6591 (R_AARCH64_TLSDESC_LDR): Likewise.
6592 (R_AARCH64_TLSDESC_ADD): Likewise.
6593 (R_AARCH64_TLSDESC_CALL): Likewise.
6595 2013-09-30 Andreas Schwab <schwab@suse.de>
6598 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6599 the nss database lookup.
6600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6603 2013-09-28 Mike Frysinger <vapier@gentoo.org>
6605 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6607 2013-09-28 P. J. McDermott <pj@pehjota.net>
6609 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6610 ${Bash-specific parameter/pattern/string} parameter expansion.
6611 * sysdeps/unix/make-syscalls.sh: Likewise.
6613 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6615 * sysdeps/sh/stackguard-macros.h: New file.
6617 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
6619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6620 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6621 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6622 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6623 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6624 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6626 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6628 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6629 Fix thread ID register.
6631 2013-09-25 Joseph Myers <joseph@codesourcery.com>
6633 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6634 [POSIX || UNIX98]: Require rather than permitting all symbols from
6636 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6637 element of struct sched_param.
6638 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6639 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6640 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6641 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6644 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6646 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6647 argument calculation.
6649 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6651 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6653 [POSIX] (pthread_attr_t): Do not require type.
6654 [POSIX] (pthread_cond_t): Likewise.
6655 [POSIX] (pthread_condattr_t): Likewise.
6656 [POSIX] (pthread_key_t): Likewise.
6657 [POSIX] (pthread_mutex_t): Likewise.
6658 [POSIX] (pthread_mutexattr_t): Likewise.
6659 [POSIX] (pthread_once_t): Likewise.
6660 [POSIX] (pthread_t): Likewise.
6661 [POSIX-based standards] (pthread_atfork): Expect function.
6663 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6664 Richard Sandiford <richard@codesourcery.com>
6666 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6667 (swap_endianness_p): New extern variable.
6668 (set_big_endian): New inline function.
6669 (maybe_swap_uint32): Likewise.
6670 (maybe_swap_uint32_array): Likewise.
6671 (maybe_swap_uint32_obstack): Likewise.
6672 * locale/programs/locfile.c: Include <stdbool.h>.
6673 (swap_endianness_p): New variable.
6674 (add_locale_uint32): Call maybe_swap_uint32.
6675 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6676 (write_locale_data): Call maybe_swap_uint32_array.
6677 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6679 (obstack_int32_grow_fast): Likewise.
6680 (output_weightwc): Call maybe_swap_uint32_obstack.
6681 (collate_output): Likewise.
6682 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6683 (OPT_LITTLE_ENDIAN): Likewise.
6684 (options): Add --little-endian and --big-endian options.
6685 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6686 * locale/programs/locarchive.c: Include "locfile.h".
6690 (create_archive): Use the new macros to access fields of
6691 structures directly mapped from or written to locale archives.
6692 (oldlocrecentcmp): Likewise.
6693 (enlarge_archive): Likewise.
6694 (insert_name): Likewise.
6695 (add_alias): Likewise.
6696 (add_locale): Likewise.
6697 (delete_locales_from_archive): Likewise.
6698 (show_archive_content): Likewise.
6699 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6702 2013-09-24 Roland McGrath <roland@hack.frob.com>
6704 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6705 http://www.gnu.org/doc/freemanuals.texi.
6706 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6708 2013-09-24 Will Newton <will.newton@linaro.org>
6710 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6713 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6715 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6718 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6720 * manual/threads.texi (POSIX Threads): Fix a typo.
6722 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6725 * string/tst-strcoll-overflow.c: New test case.
6726 * string/Makefile (xtests): Add tst-strcoll-overflow.
6727 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6728 cache if string sizes may cause integer overflow.
6731 * string/strcoll_l.c (coll_seq): New members rule, idx,
6732 save_idx and back_us.
6733 (get_next_seq_nocache): New function.
6734 (do_compare_nocache): New function.
6735 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6738 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6741 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6742 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6743 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6746 * elf/Makefile (tests): Add tst-ptrguard1.
6747 (tests-static): Add tst-ptrguard1-static.
6748 (tst-ptrguard1-ARGS): Define.
6749 (tst-ptrguard1-static-ARGS): Define.
6750 * elf/tst-ptrguard1.c: New file.
6751 * elf/tst-ptrguard1-static.c: New file.
6752 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6753 * sysdeps/i386/stackguard-macros.h: Likewise.
6754 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6755 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6756 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6757 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6758 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6759 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6761 2013-09-23 Hector Marco <hecmargi@upv.es>
6762 Ismael Ripoll <iripoll@disca.upv.es>
6763 Carlos O'Donell <carlos@redhat.com>
6766 * sysdeps/generic/stackguard-macros.h: Define
6767 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6768 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6769 Define __pointer_chk_guard_local.
6770 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6771 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6773 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6776 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6778 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6780 * include/string.h (__ffs): Declare as hidden.
6781 * string/ffs.c (__ffs): Define as hidden.
6782 * sysdeps/i386/ffs.c (__ffs): Likewise.
6783 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6784 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6785 * sysdeps/s390/ffs.c (__ffs): Likewise.
6786 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6788 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6790 * NEWS: Mention malloc probes.
6792 * malloc/arena.c (new_heap): New memory_heap_new probe.
6793 (grow_heap): New memory_heap_more probe.
6794 (shrink_heap): New memory_heap_less probe.
6795 (heap_trim): New memory_heap_free probe.
6796 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6797 (systrim): New memory_sbrk_less probe.
6798 * manual/probes.texi: Document them.
6800 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6801 * manual/probes.texi: Document it.
6803 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6804 (__libc_realloc): Add memory_realloc_retry probe.
6805 (__libc_memalign): Add memory_memalign_retry probe.
6806 (__libc_valloc): Add memory_valloc_retry probe.
6807 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6808 (__libc_calloc): Add memory_calloc_retry probe.
6809 * manual/probes.texi: Document them.
6811 * malloc/arena.c (get_free_list): Add probe
6812 memory_arena_reuse_free_list.
6813 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6814 and memory_arena_reuse.
6815 (arena_get2) [!PER_THREAD]: Likewise.
6816 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6817 memory_arena_reuse_realloc.
6818 * manual/probes.texi: Document them.
6820 * malloc/malloc.c (__libc_free): Add
6821 memory_mallopt_free_dyn_thresholds probe.
6822 (__libc_mallopt): Add multiple memory_mallopt probes.
6823 * manual/probes.texi: Document them.
6825 * malloc/malloc.c: Include stap-probe.h.
6826 (__libc_mallopt): Add memory_mallopt probe.
6827 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6828 * manual/probes.texi: New.
6829 * manual/Makefile (chapters): Add probes.
6830 * manual/threads.texi: Set next node.
6832 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6835 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6836 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6837 Add `Chinese' to `nan' entry name.
6839 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6841 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6842 (POLYNOMIAL): Likewise.
6843 (TAYLOR_SINCOS): Likewise.
6844 (TAYLOR_SLOW): Likewise.
6845 (__sin): Use TAYLOR_SINCOS.
6847 (slow): Use TAYLOR_SLOW.
6852 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6854 * stdlib/strtod_l.c: Fix buffer overrun.
6856 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6858 * benchtests/Makefile (bench): Add sincos.
6859 * benchtests/bench-sincos.c: New file.
6861 * math/libm-test.inc (cos_test_data): New test inputs.
6862 (sin_test_data): Likewise.
6864 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6872 (bsloww1): Likewise.
6873 (bsloww2): Likewise.
6875 (csloww1): Likewise.
6876 (csloww2): Likewise.
6878 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6887 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6889 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6890 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6891 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6892 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6893 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6894 * elf/cache.c (print_entry): Handle the new cache flags.
6896 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6897 Aldy Hernandez <aldyh@redhat.com>
6899 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6900 Change condition to [_SOFT_FLOAT].
6901 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6905 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6907 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6909 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6911 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6912 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6913 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6914 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6916 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6919 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6921 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6922 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6923 (__longjmp): Use LOAD_GP to load saved GPRs.
6924 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6925 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6926 (__sigsetjmp): Use SAVE_GP to save GPRs.
6928 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6929 Do not append -msoft-float.
6930 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6932 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6934 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6936 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6939 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6940 (_FPU_GETCW): Use initial "__" on variable and field names but not
6941 on macro parameter name.
6942 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6943 parentheses around reference to macro parameter.
6945 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6947 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6949 (ctype_startup): Use uint32_t in cast and sizeof for
6952 2013-09-11 Jia Liu <proljc@gmail.com>
6954 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6956 [__FreeBSD__]: Likewise.
6958 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6960 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6961 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6962 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6963 (strchr): Remove __strchr_sse42 ifunc selection.
6964 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6965 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6967 2013-09-11 Will Newton <will.newton@linaro.org>
6969 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6970 parameter to RES. Remove hardcoded 1000 value.
6971 * benchtests/bench-skeleton.c (main): Pass RES parameter
6972 to TIMING_INIT and multiply result by 1000.
6974 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6978 2013-09-11 Andreas Schwab <schwab@suse.de>
6980 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6982 (O_TMPFILE) [__USE_GNU]: Define.
6983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6986 2013-09-11 Will Newton <will.newton@linaro.org>
6989 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6992 2013-09-11 Will Newton <will.newton@linaro.org>
6995 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6998 2013-09-11 Will Newton <will.newton@linaro.org>
7001 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7004 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
7006 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7007 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7008 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7009 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7010 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7012 2013-09-10 Allan McRae <allan@archlinux.org>
7015 * manual/arith.texi (Parsing of Floats): Clarify
7019 * manual/install.texi (Running make install): Mention
7021 * INSTALL: Regenerated.
7023 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7025 * csu/init-first.c (_init): Remove the !SHARED condition around
7026 FPU control word initialization.
7027 * elf/dl-support.c (_dl_fpu_control): New variable.
7028 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7029 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7030 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7031 * math/test-fpucw-static.c: New file.
7032 * math/test-fpucw-ieee.c: New file.
7033 * math/test-fpucw-ieee-static.c: New file.
7034 * math/Makefile (tests): Add `test-fpucw-ieee' and
7036 (tests-static): New variable.
7037 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7039 [($(build-shared),yes)]
7040 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7042 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7045 2013-09-09 Allan McRae <allan@archlinux.org>
7048 * manual/string.texi (Collation Functions): Fix typo in
7050 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7053 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7056 * libio/memstream.c (open_memstream): Fix memory leak.
7057 * libio/wmemstream.c (open_wmemstream): Likewise.
7060 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7062 2013-09-09 Will Newton <will.newton@linaro.org>
7064 * malloc/Makefile: Add tst-realloc to tests.
7065 * malloc/tst-realloc.c: New file.
7067 2013-09-09 Allan McRae <allan@archlinux.org>
7070 * COPYING: Update from GNU website to fix FSF address.
7071 * COPYING.LIB: Likewise.
7073 2013-09-06 David S. Miller <davem@davemloft.net>
7075 * po/zh_TW.po: Update Chinese (traditional) translation from
7076 translation project.
7078 2013-09-06 Richard Sandiford <richard@codesourcery.com>
7079 Joseph Myers <joseph@codesourcery.com>
7081 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7083 (obstack_chunk_alloc): New macro.
7084 (obstack_chunk_free): Likewise.
7085 (record_offset): New function.
7086 (init_locale_data): Likewise.
7087 (align_locale_data): Likewise.
7088 (add_locale_empty): Likewise.
7089 (add_locale_raw_data): Likewise.
7090 (add_locale_raw_obstack): Likewise.
7091 (add_locale_string): Likewise.
7092 (add_locale_wstring): Likewise.
7093 (add_locale_uint32): Likewise.
7094 (add_locale_uint32_array): Likewise.
7095 (add_locale_char): Likewise.
7096 (start_locale_structure): Likewise.
7097 (end_locale_structure): Likewise.
7098 (start_locale_prelude): Likewise.
7099 (end_locale_prelude): Likewise.
7100 (write_locale_data): Take locale_file structure rather than an
7102 * locale/programs/locfile.h: Include "obstack.h".
7103 (struct locale_file): Change to store locale file contents instead
7105 (init_locale_data): New prototype.
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): Update prototype.
7120 * locale/programs/3level.h (struct TABLE): Remove result field.
7121 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7122 Use new locale_file interface.
7123 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7124 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7125 * locale/programs/ld-address.c (address_output): Use new
7126 locale_file interface.
7127 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7129 (collate_finish): Don't call collseq_table_finalize.
7130 (collate_output): Use new locale_file interface.
7131 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7133 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7134 (TABLE): Move defines earlier in file.
7135 (ELEMENT): Likewise.
7136 (DEFAULT): Likewise.
7137 (wctrans_table_add): Move macro and inline function earlier in
7139 (struct wctype_table): Move type earlier in file.
7140 (add_locale_wctype_table): New static prototype.
7141 (struct locale_ctype_t): Use logical types instead of struct iovec
7142 pointers for members.
7143 (ctype_output): Use new locale_file interface.
7144 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7145 new locale_file interface.
7146 (allocate_arrays): Update for use of new locale_file interface.
7147 * locale/programs/ld-identification.c (identification_output): Use
7148 new locale_file interface.
7149 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7150 * locale/programs/ld-messages.c (messages_output): Likewise.
7151 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7152 * locale/programs/ld-name.c (name_output): Likewise.
7153 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7154 * locale/programs/ld-paper.c (paper_output): Likewise.
7155 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7156 * locale/programs/ld-time.c (time_output): Likewise.
7158 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7160 * benchtests/Makefile: Add memrchr benchmark.
7161 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7162 benchmark as memrchr.
7163 * benchtests/bench-memrchr-ifunc.c: New file.
7164 * benchtests/bench-memrchr.c: New file.
7166 2013-09-06 Will Newton <will.newton@linaro.org>
7168 * benchtests/Makefile (string-bench): Add memcpy.
7170 2013-09-05 Carlos O'Donell <carlos@redhat.com>
7171 Cong Wang <amwang@redhat.com>
7174 * sysdeps/unix/sysv/linux/bits/in.h
7175 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7176 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7177 before __USE_KERNEL_IPV6_DEFS uses.
7178 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7180 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7181 sockaddr_in6, or ipv6_mreq.
7183 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7185 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7186 memory access for final bytes in some large inputs.
7187 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7189 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7191 * string/test-memrchr.c: New file.
7192 * string/test-memrchr-ifunc.c: New file.
7193 * string/Makefile: Add new memrchr testcase.
7195 2013-09-05 Mike Frysinger <vapier@gentoo.org>
7197 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7198 fanotify_init returns EPERM.
7200 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7202 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7204 (top level): Treat second token from macro or constant entries for
7205 allowed headers as allowed.
7206 * include/complex.h: Condition internal declarations on
7208 * include/fenv.h: Condition include of <stdbool.h> and internal
7209 declarations on [!_ISOMAC].
7211 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7214 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7216 2013-09-04 Joseph Myers <joseph@codesourcery.com>
7218 * configure.in (--enable-versioning): Remove configure option.
7219 (libc_cv_asm_symver_directive): Remove configure test.
7220 (libc_cv_ld_version_script_option): Likewise.
7221 (VERSIONING): Remove variable and AC_SUBST.
7222 (DO_VERSIONING): Remove AC_DEFINE.
7223 * configure: Regenerated.
7224 * config.h.in (DO_VERSIONING): Remove macro.
7225 * Makerules [$(versioning) = yes]: Change conditionals to
7226 [$(build-shared) = yes].
7227 * config.make.in (versioning): Remove variable.
7228 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7229 [$(build-shared) = yes].
7230 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7231 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7232 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7233 [$(build-shared) = yes].
7234 * extra-lib.mk [$(versioning) = yes]: Likewise.
7235 * hurd/Makefile [$(versioning) = yes]: Likewise.
7236 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7238 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7240 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7241 [SHARED && !NO_HIDDEN].
7242 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7244 [SHARED && DO_VERSIONING]: Likewise..
7245 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7246 [$(build-shared) = yes].
7247 * manual/install.texi (--disable-versioning): Remove
7249 * INSTALL: Regenerated.
7250 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7252 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7253 [$(build-shared) = yes].
7254 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7255 * sysdeps/i386/i686/multiarch/strstr-c.c
7256 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7257 [SHARED && !NO_HIDDEN].
7258 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7259 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7260 * sysdeps/powerpc/powerpc32/dl-machine.c
7261 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7262 * sysdeps/powerpc/powerpc32/sysdep.h
7263 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7264 to [SHARED && PIC && !NO_HIDDEN].
7265 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7266 conditional to [SHARED].
7268 2013-09-04 Will Newton <will.newton@linaro.org>
7270 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7271 * benchtests/bench-string.h: Include bench-timing.h instead
7272 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7273 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7274 call to HP_TIMING_DIFF_INIT.
7275 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7276 instead of hp-timing.h macros.
7277 * benchtests/bench-memchr.c: Likewise.
7278 * benchtests/bench-memcmp.c: Likewise.
7279 * benchtests/bench-memcpy.c: Likewise.
7280 * benchtests/bench-memmem.c: Likewise.
7281 * benchtests/bench-memmove.c: Likewise.
7282 * benchtests/bench-memset.c: Likewise.
7283 * benchtests/bench-rawmemchr.c: Likewise.
7284 * benchtests/bench-strcasecmp.c: Likewise.
7285 * benchtests/bench-strcasestr.c: Likewise.
7286 * benchtests/bench-strcat.c: Likewise.
7287 * benchtests/bench-strchr.c: Likewise.
7288 * benchtests/bench-strcmp.c: Likewise.
7289 * benchtests/bench-strcpy.c: Likewise.
7290 * benchtests/bench-strcpy_chk.c: Likewise.
7291 * benchtests/bench-strlen.c: Likewise.
7292 * benchtests/bench-strncasecmp.c: Likewise.
7293 * benchtests/bench-strncat.c: Likewise.
7294 * benchtests/bench-strncmp.c: Likewise.
7295 * benchtests/bench-strncpy.c: Likewise.
7296 * benchtests/bench-strnlen.c: Likewise.
7297 * benchtests/bench-strpbrk.c: Likewise.
7298 * benchtests/bench-strrchr.c: Likewise.
7299 * benchtests/bench-strspn.c: Likewise.
7300 * benchtests/bench-strstr.c: Likewise.
7302 2013-09-04 Will Newton <will.newton@linaro.org>
7304 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7306 2013-09-03 Joseph Myers <joseph@codesourcery.com>
7309 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7310 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7311 * math/libm-test.inc (lgamma_test_data): Add more tests.
7312 * sysdeps/i386/fpu/libm-test-ulps: Update.
7313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7315 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
7317 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7318 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7321 Add strcmp-sse2-unaligned
7322 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7324 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7326 * Versions.def (libc): Add GLIBC_2.19.
7328 2013-09-02 Mike Frysinger <vapier@gentoo.org>
7330 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7331 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7333 2013-09-02 Joseph Myers <joseph@codesourcery.com>
7336 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7337 intermediate calculations in recurrence.
7338 (__ieee754_ynf): Likewise.
7339 * math/libm-test.inc (jn_test_data): Do not allow spurious
7340 underflow exception. Add more tests.
7341 (yn_test_data): Add more tests.
7342 * sysdeps/i386/fpu/libm-test-ulps: Update.
7343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7345 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
7347 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7349 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7351 * csu/init-first.c: Fix then/than typos.
7352 * locale/programs/ld-collate.c: Likewise.
7353 * locale/programs/linereader.h: Likewise.
7354 * manual/charset.texi: Likewise.
7355 * manual/filesys.texi: Likewise.
7356 * manual/stdio.texi: Likewise.
7357 * manual/string.texi: Likewise.
7358 * stdlib/fmtmsg.c: Likewise.
7359 * sysdeps/i386/stpncpy.S: Likewise.
7360 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7361 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7362 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7363 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7365 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7367 * elf/dl-open.c: Fix typos.
7368 * iconvdata/gbbig5.c: Likewise.
7369 * iconvdata/iso-2022-jp.c: Likewise.
7370 * iconv/gconv_int.h: Likewise.
7371 * iconv/loop.c: Likewise.
7372 * nis/rpcsvc/nis.h: Likewise.
7373 * resolv/ns_name.c: Likewise.
7374 * stdio-common/vfscanf.c: Likewise.
7375 * streams/stropts.h: Likewise.
7376 * sunrpc/rpc_thread.c: Likewise.
7377 * sysdeps/i386/strpbrk.S: Likewise.
7378 * sysdeps/ieee754/k_standard.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7381 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7382 * sysdeps/mach/hurd/profil.c: Likewise.
7383 * sysdeps/s390/dl-procinfo.h: Likewise.
7384 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7385 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7386 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7387 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7390 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
7392 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7393 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7395 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7397 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7399 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7401 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7402 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7403 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7404 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7405 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7406 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7408 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7409 Roland McGrath <roland@hack.frob.com>
7411 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7412 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7414 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7416 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7417 __executable_start symbol instead of _start.
7419 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7421 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7422 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7424 * sysdeps/gnu/ldsodefs.h: ... this new file.
7426 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7427 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7428 instead of ELFOSABI_LINUX.
7430 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
7431 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7432 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7433 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7435 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7436 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7439 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7440 (ibm_extended_long_double): Add ieee_nan member.
7441 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7442 (do_test): New function.
7444 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7446 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7447 functions, renamed from truncdfsf_test, trunctfsf_test,
7449 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7451 (do_test): Run all these.
7453 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
7455 * argp/argp-help.c: Fix typos.
7456 * argp/argp-parse.c: Likewise.
7457 * debug/backtracesyms.c: Likewise.
7458 * elf/elf.h: Likewise.
7459 * malloc/malloc.c: Likewise.
7460 * nis/nis_print.c: Likewise.
7461 * resolv/res_comp.c: Likewise.
7462 * stdlib/stdlib.h: Likewise.
7463 * sunrpc/clnt_tcp.c: Likewise.
7464 * sunrpc/clnt_udp.c: Likewise.
7465 * sunrpc/clnt_unix.c: Likewise.
7466 * sysdeps/unix/bsd/ptsname.c: Likewise.
7467 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7468 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7475 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7477 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7479 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7482 2013-08-27 Mike Frysinger <vapier@gentoo.org>
7485 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7486 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7487 ($(objpfx)bug-dl-leaf): New rule.
7488 ($(objpfx)bug-dl-leaf.so): Likewise.
7489 ($(objpfx)bug-dl-leaf.out): Likewise.
7490 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7491 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7492 * dlfcn/bug-dl-leaf.c: New test.
7493 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7494 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7495 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7496 (dlclose): Likewise.
7497 (dlmopen): Likewise.
7499 2013-08-27 Roland McGrath <roland@hack.frob.com>
7501 * include/netdb.h [!_ISOMAC]:
7502 Don't include <tls.h>.
7503 (h_errno, __libc_h_errno): Move declaration and macros out of
7506 * include/resolv.h [_RESOLV_H_]:
7507 Don't include <tls.h>.
7508 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7509 * resolv/res_libc.c: Don't include <tls.h>.
7510 (_res): Use __attribute__ ((nocommon)) in place of
7511 __attribute__ ((section (".bss"))).
7513 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7514 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7516 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7518 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7519 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7521 * resolv/res_mkquery.c: Include <sys/time.h>.
7523 * inet/ifreq.c: Moved to ...
7524 * sysdeps/unix/ifreq.c: ... here.
7525 * inet/ifreq.c: New file, true stub version.
7527 * socket/sa_len.c: New file.
7528 * socket/Makefile (aux): Add it.
7529 * sysdeps/unix/sysv/linux/Makefile
7530 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7531 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7532 and #include <socket/sa_len.c>.
7533 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7534 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7536 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7537 * bits/socket.h: ... here.
7539 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7540 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7541 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7543 2013-08-27 Andreas Schwab <schwab@suse.de>
7546 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7547 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7548 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7549 * string/test-strcasecmp.c (test_main): Run tests in several
7551 * string/test-strncasecmp.c (test_main): Likewise.
7553 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7554 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7555 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7557 (__strncasecmp_ssse3) [PIC]: Likewise.
7559 2013-08-26 Roland McGrath <roland@hack.frob.com>
7561 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7563 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7564 instead of explicitly declaring xdecrypt.
7565 * nis/nss_nis/nis-publickey.c: Likewise.
7567 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7570 * nscd/aicache.c: Include res_hconf.h.
7571 (addhstaiX): Initialize res_hconf.
7573 2013-08-26 Andreas Schwab <schwab@suse.de>
7575 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7576 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7578 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7580 * nscd/aicache.c (addhstaiX): Fix indentation.
7582 2013-08-25 Mike Frysinger <vapier@gentoo.org>
7584 * configure.ac: Quote $build_pt_chown test.
7585 * configure: Regenerated.
7587 2013-08-23 Joseph Myers <joseph@codesourcery.com>
7590 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7591 * math/s_cexpf.c (__cexpf): Likewise.
7592 * math/s_cexpl.c (__cexpl): Likewise.
7593 * math/libm-test.inc (cexp_test_data): Correct expected return
7594 value for NaN + i0. Add another test.
7596 2013-08-22 David S. Miller <davem@davemloft.net>
7598 * po/ca.po: Update Catalan translation from translation project.
7599 * po/uk.po: Add Ukrainian translations from translation project.
7601 2013-08-21 Joseph Myers <joseph@codesourcery.com>
7604 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7605 is infinite, not alongside NaN test.
7606 * math/s_fdimf.c (__fdimf): Likewise.
7607 * math/s_fdiml.c (__fdiml): Likewise.
7608 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7611 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
7613 * argp/argp-help.c: Fix typos.
7614 * crypt/speeds.c: Likewise.
7615 * csu/check_fds.c: Likewise.
7616 * elf/dl-load.c: Likewise.
7617 * elf/dl-open.c: Likewise.
7618 * elf/reldep3.c: Likewise.
7619 * elf/reldep.c: Likewise.
7620 * elf/sprof.c: Likewise.
7621 * iconv/iconv_charmap.c: Likewise.
7622 * iconv/skeleton.c: Likewise.
7623 * iconv/strtab.c: Likewise.
7624 * io/lockf64.c: Likewise.
7625 * libio/libioP.h: Likewise.
7626 * resolv/gai_notify.c: Likewise.
7627 * resolv/ns_name.c: Likewise.
7628 * resolv/ns_samedomain.c: Likewise.
7629 * resolv/res_send.c: Likewise.
7630 * stdlib/random.c: Likewise.
7631 * sunrpc/rpc/xdr.h: Likewise.
7632 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7633 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7634 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7635 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7637 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7639 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7640 * sysdeps/mach/hurd/check_fds.c: Likewise.
7641 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7642 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7643 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7644 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7645 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7646 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7647 * sysdeps/pthread/aio_notify.c: Likewise.
7648 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7649 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7650 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7651 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7652 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7654 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7656 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7657 version if bit_Slow_SSE4_2 is set.
7658 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7661 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7664 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7665 trampoline stack frame information.
7666 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7667 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7668 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7669 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7670 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7671 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7672 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7673 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7675 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7676 interrupting a syscall and set with option SA_SIGINFO.
7678 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7681 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7682 argument is infinite.
7683 * math/s_cprojf.c (__cprojf): Likewise.
7684 * math/s_cprojl.c (__cprojl): Likewise.
7685 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7686 * math/libm-test.inc (cproj_test_data): Add more tests.
7688 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7690 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7691 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7692 size. Use __ffs to determine corresponding shift.
7694 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7695 Roland McGrath <roland@hack.frob.com>
7697 * Makefile (INSTALL): Remove trailing blank lines from output of
7700 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7702 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7703 Align 32 bit compat elf_greg to 8 bytes.
7705 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7707 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7709 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7711 * string/strcoll_l.c (coll_seq): New structure.
7712 (get_next_seq_cached): New function.
7713 (get_next_seq): New function.
7714 (do_compare): New function.
7715 (STRCOLL): Use GNU style definition. Simplify implementation
7716 by using get_next_seq, get_next_seq_cached and do_compare.
7718 2013-08-16 Florian Weimer <fweimer@redhat.com>
7722 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7724 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7726 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7727 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7728 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7730 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7731 GETDENTS_64BIT_ALIGNED.
7732 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7733 * manual/filesys.texi (Reading/Closing Directory): Document
7734 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7736 * manual/conf.texi (Limits for Files): Add portability note to
7738 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7740 2013-08-13 Andreas Schwab <schwab@suse.de>
7743 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7745 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7746 LDBL_MAX_EXP >= 16384]: Add tests for it.
7748 2013-08-12 David S. Miller <davem@davemloft.net>
7750 * version.h (RELEASE): Set to "development".
7751 (VERSION): Set to "2.18.90".
7752 * NEWS: Add 2.19 section.
7754 2013-08-03 David S. Miller <davem@davemloft.net>
7756 * po/ko.po: Update Korean translation from translation project.
7758 2013-08-01 David S. Miller <davem@davemloft.net>
7760 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7761 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7764 2013-07-30 David S. Miller <davem@davemloft.net>
7766 * po/fr.po: Update French translation from translation project.
7768 2013-07-28 David S. Miller <davem@davemloft.net>
7770 * po/cs.po: Update Czech translation from translation project.
7772 * po/sv.po: Update Swedish translation from translation project.
7774 2013-07-27 David S. Miller <davem@davemloft.net>
7776 * po/eo.po: Update Esperanto translation from translation project.
7778 * po/vi.po: Update Vietnamese translation from translation project.
7780 * po/de.po: Update German translation from translation project.
7782 2013-07-26 David S. Miller <davem@davemloft.net>
7784 * po/bg.po: Update Bulgarian translation from translation project.
7786 * po/nl.po: Update Dutch translation from translation project.
7787 * po/pl.po: Update Polish translation from translation project.
7788 * po/ru.po: Update Russian translation from translation project.
7790 2013-07-24 David S. Miller <davem@davemloft.net>
7792 * po/libc.pot: Update.
7794 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7796 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7798 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7799 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7800 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7802 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7804 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7806 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7807 Andreas Schwab <schwab@suse.de>
7808 Roland McGrath <roland@hack.frob.com>
7809 Joseph Myers <joseph@codesourcery.com>
7810 Carlos O'Donell <carlos@redhat.com>
7813 * config.h.in: Define HAVE_PT_CHOWN.
7814 * config.make.in (build-pt-chown): New variable.
7815 * configure.in (--enable-pt_chown): New configure option.
7816 * configure: Regenerate.
7817 * login/Makefile: Include Makeconfig. Build pt_chown only if
7818 build-pt-chown is enabled.
7819 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7820 pt_chown to fix pty ownership.
7821 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7823 * manual/install.texi (Configuring and compiling): Mention
7824 --enable-pt_chown. Add @findex for grantpt.
7825 * INSTALL: Regenerate.
7827 2013-07-20 David S. Miller <davem@davemloft.net>
7829 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7830 difference between 32-bit and 64-bit.
7832 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7835 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7836 Avoid system header dependency with -ffreestanding.
7837 ($(objpfx)bits/syscall%d): Likewise.
7839 2013-07-13 David S. Miller <davem@davemloft.net>
7841 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7842 underflows from atanl/atan2l due to bug 15319.
7843 (casinh_test_data): Likewise.
7845 2013-07-07 David S. Miller <davem@davemloft.net>
7847 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7849 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7851 * sysdeps/i386/fpu/libm-test-ulps: Update.
7852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7854 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7856 * configure.in (--enable-lock-elision): Fix message text.
7857 * INSTALL: Regenerate.
7858 * configure: Regenerate.
7860 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7864 2013-07-03 Andreas Jaeger <aj@suse.de>
7866 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7868 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7869 (ptrace_peeksiginfo_args): Add.
7870 (__ptrace_peeksiginfo_flags): Add.
7871 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7872 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7873 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7875 2013-07-03 Allan McRae <allan@archlinux.org>
7877 * sysdeps/i386/fpu/libm-test-ulps: Update.
7879 2013-07-02 David S. Miller <davem@davemloft.net>
7881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7883 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7887 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7889 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7892 2013-07-02 Andi Kleen <ak@linux.intel.com>
7894 * config.h.in (ENABLE_LOCK_ELISION): Add.
7895 * configure.in (--enable-lock-elision): Add option.
7896 * manual/install.texi: Document --enable lock elision.
7897 * configure: Regenerate
7898 * INSTALL: Regenerate.
7900 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7902 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7903 SSE4.2 strcasecmp for libc.a.
7904 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7906 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7909 * soft-fp/op-common.h (_FP_FMA): New macro.
7910 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7911 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7912 (_FP_MUL_MEAT_1_imm): ... here.
7913 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7914 (_FP_MUL_MEAT_1_wide): ... here.
7915 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7916 (_FP_MUL_MEAT_1_hard): ... here.
7917 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7918 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7919 (_FP_MUL_MEAT_2_wide): ... here.
7920 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7921 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7922 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7923 (_FP_MUL_MEAT_2_gmp): ... here.
7924 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7925 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7926 (_FP_MUL_MEAT_4_wide): ... here.
7927 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7928 (_FP_MUL_MEAT_4_gmp): ... here.
7929 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7930 (_FP_WFRACBITS_DW_S): Likewise.
7931 (_FP_WFRACXBITS_DW_S): Likewise.
7932 (_FP_HIGHBIT_DW_S): Likewise.
7933 (FP_FMA_S): Likewise.
7934 (_FP_FRAC_HIGH_DW_S): Likewise.
7935 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7936 (_FP_WFRACBITS_DW_D): Likewise.
7937 (_FP_WFRACXBITS_DW_D): Likewise.
7938 (_FP_HIGHBIT_DW_D): Likewise.
7939 (FP_FMA_D): Likewise.
7940 (_FP_FRAC_HIGH_DW_D): Likewise.
7941 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7942 (_FP_WFRACBITS_DW_E): Likewise.
7943 (_FP_WFRACXBITS_DW_E): Likewise.
7944 (_FP_HIGHBIT_DW_E): Likewise.
7945 (FP_FMA_E): Likewise.
7946 (_FP_FRAC_HIGH_DW_E): Likewise.
7947 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7948 (_FP_WFRACBITS_DW_Q): Likewise.
7949 (_FP_WFRACXBITS_DW_Q): Likewise.
7950 (_FP_HIGHBIT_DW_Q): Likewise.
7951 (FP_FMA_Q): Likewise.
7952 (_FP_FRAC_HIGH_DW_Q): Likewise.
7953 * soft-fp/fmasf4.c: New file.
7954 * soft-fp/fmadf4.c: Likewise.
7955 * soft-fp/fmatf4.c: Likewise.
7957 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7960 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7962 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7964 (index_Slow_SSE4_2): Likewise.
7965 (index_Prefer_PMINUB_for_stringop): Likewise.
7966 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7967 bit_Slow_SSE4_2 is set.
7968 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7969 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7971 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7973 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7974 rtld_global._dl_hwcap2.
7975 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7977 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7978 POWER8 feature descriptions defined in _dl_hwcap2.
7979 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7980 string handling for POWER8 feature bits.
7981 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7982 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7983 _dl_powerpc_cap_flags.
7984 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7985 * sysdeps/powerpc/rtld-global-offsets.sym
7986 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7987 _dl_hwcap2 in the rtld_global_ro structure.
7989 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7991 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7992 hardware capabilities in support of AT_HWCAP2.
7993 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7994 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7996 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7997 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7998 explicitly the unknown a_type display mechanism is used.
7999 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8000 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8002 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8003 to macro prototype for AT_HWCAP2 support.
8004 * sysdeps/i386/dl-procinfo.h: Likewise.
8005 * sysdeps/s390/dl-procinfo.h: Likewise.
8006 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8007 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8008 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8009 return -1 for unknown a_type display fallback.
8010 * sysdeps/sparc/dl-procinfo.h: Likewise.
8011 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8012 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8014 2013-06-28 Joseph Myers <joseph@codesourcery.com>
8016 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8017 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8019 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8022 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8023 mprotect making __stack_prot writable.
8025 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8026 Joseph Myers <joseph@codesourcery.com>
8028 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8029 as being properly aligned.
8031 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8033 * dlfcn/modstatic5.c: New file.
8034 * dlfcn/tststatic5.c: New file.
8035 * dlfcn/Makefile (tests): Add tststatic5.
8036 (tests-static): Likewise.
8037 (modules-names): Add modstatic5.
8038 (tststatic5-ENV): New variable.
8039 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8042 * elf/dl-support.c (_dl_main_map): New variable.
8043 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8044 (_dl_nns, _dl_load_adds): Set to 1.
8045 (_dl_initial_searchlist): Refer to _dl_main_map.
8046 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8047 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8048 call to _dl_get_origin.
8049 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8051 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8052 * dlfcn/modstatic3.c: New file.
8053 * dlfcn/tststatic3.c: New file.
8054 * dlfcn/tststatic4.c: New file.
8055 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8056 (tests-static): Likewise.
8057 (modules-names): Add modstatic3.
8058 (tststatic3-ENV, tststatic4-ENV): New variables.
8059 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8060 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8062 2013-06-26 Joseph Myers <joseph@codesourcery.com>
8064 * configure.in (CC): Require GCC version 4.4 or later.
8065 * configure: Regenerated.
8066 * manual/install.texi (Tools for Compilation): Update GCC version
8068 * INSTALL: Regenerated.
8070 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8073 * string/test-memcmp.c (check2): New.
8074 (main): Call check2.
8076 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8078 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8081 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8083 (dl_open_worker) [!SHARED]: ... here.
8085 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8087 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8089 2013-06-25 Richard Henderson <rth@redhat.com>
8091 * locale/programs/locarchive.c: Include <libc-internal.h>
8093 2013-06-25 Joseph Myers <joseph@codesourcery.com>
8095 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8096 trailing whitespace removed.
8098 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8101 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8102 * locale/programs/locarchive.c: Include libc-mmap.h.
8103 (prepare_address_space): Take two new outputs (the mmap base and len).
8104 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8106 (create_archive): Declare new mmap base and len values for
8107 prepare_address_space, and store the result in ah.
8108 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8109 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8110 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8111 Declare new mmap base and len values for
8112 prepare_address_space, and store the result in new_ah.
8113 (open_archive): Declare new mmap base and len values for
8114 prepare_address_space, and store the result in ah.
8115 (close_archive): If ah->mmap_base is not NULL, use that and
8116 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8117 * sysdeps/generic/libc-mmap.h: New file.
8119 2013-06-24 Mike Frysinger <vapier@gentoo.org>
8121 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8122 (ALIGN_UP): Likewise.
8123 (PTR_ALIGN_DOWN): Likewise.
8124 (PTR_ALIGN_UP): Likewise.
8126 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8128 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8129 entry mapped to PPC_PLATFORM_POWER8.
8130 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8132 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8133 (_dl_string_platform): Add case for exporting platform position for
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8136 search path to sysdeps/powerpc/powerpc32/power8 directory.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8138 search path to sysdeps/powerpc/powerpc64/power8 directory.
8139 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8141 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8144 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8146 * INSTALL: Regenerate.
8148 * nscd/connections.c (nscd_init): Fix comment.
8150 2013-06-22 Joseph Myers <joseph@codesourcery.com>
8152 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8155 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8156 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8158 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8160 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8162 (DL_DST_REQ_STATIC): Remove macro.
8164 2013-06-21 Joseph Myers <joseph@codesourcery.com>
8167 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8168 with a shift of 0 bits.
8170 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8172 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8175 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8178 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8180 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8182 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8183 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8184 accepts -fno-tree-loop-distribute-patterns.
8185 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8186 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8188 * string/memset.c (memset): Likewise.
8189 * string/test-memmove.c (simple_memmove): Disable loop transformation
8191 * string/test-memset.c (simple_memset): Likewise.
8192 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8193 * benchtests/bench-memset.c (simple_memset): Likewise.
8194 * configure: Regenerated.
8196 2013-06-20 Joseph Myers <joseph@codesourcery.com>
8198 * math/test-misc.c (main): Ignore fesetround failure when failures
8199 of subsequent rounding tests would be ignored.
8202 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8203 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8204 * math/fegetenv.c (__fegetenv): Return 0.
8205 * math/fegetexcept.c (fegetexcept): Return 0.
8206 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8208 * math/feholdexcpt.c (feholdexcept): Return 0.
8209 * math/fesetenv.c (__fesetenv): Return 0.
8210 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8211 argument FE_TONEAREST.
8212 * math/feupdateenv.c (__feupdateenv): Return 0.
8213 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8215 2013-06-18 Roland McGrath <roland@hack.frob.com>
8217 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8218 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8219 ($(objpfx)rtld-%.os rules): Use them.
8221 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8223 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8226 2013-06-17 Roland McGrath <roland@hack.frob.com>
8228 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8229 length of target pattern, then descending length of dependency pattern.
8230 * configure.in (AWK): Require gawk 3.1.2 or newer.
8231 * manual/install.texi (Tools for Compilation): Say that we do.
8232 * configure: Regenerated.
8234 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8235 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8236 * scripts/sysd-rules.awk: ... this new script.
8237 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8238 than a glob-style pattern.
8240 2013-06-17 Joseph Myers <joseph@codesourcery.com>
8242 * math/test-misc.c (main): Do not treat incorrectly rounded
8243 conversions as failure unless ROUNDING_TESTS passes.
8245 2013-06-15 Joseph Myers <joseph@codesourcery.com>
8248 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8249 restore exception state around main square root computation, then
8250 check for inexactness explicitly.
8252 * math/libm-test.inc (fma_test_data): Add another test.
8254 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8256 * manual/threads.texi (Non-POSIX Extensions): New document
8257 node. Document pthread_getattr_default_np and
8258 pthread_setattr_default_np.
8260 * Versions.def (libpthread): Add GLIBC_2.18.
8261 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8270 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8281 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8283 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8284 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8286 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8287 H.J. Lu <hjl.tools@gmail.com>
8290 * sysdeps/x86_64/rtld-memset.c: Remove file.
8291 * sysdeps/x86_64/rtld-memset.S: New file.
8293 2013-06-14 Joseph Myers <joseph@codesourcery.com>
8295 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8296 (test_in_one_mode): Take arguments for whether the rounding mode
8297 is supported for each floating-point type.
8298 (do_test): Pass new arguments to test_in_one_mode using
8301 2013-06-13 Roland McGrath <roland@hack.frob.com>
8303 * posix/tst-waitid.c (do_test): Distinguish different instances of
8304 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8305 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8306 before entering the kernel for waitpid.
8308 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8310 * NEWS: Fix note on clock function precision. Text by Roland
8313 2013-06-13 Roland McGrath <roland@hack.frob.com>
8315 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8316 it into place only when and if the sanity check passes.
8318 2013-06-13 Joseph Myers <joseph@codesourcery.com>
8320 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8321 output for whether conversion result is exact. Take argument
8322 indicating whether type is IBM long double.
8323 (round_for_all): Change need_exact field to ibm_ld.
8324 * stdlib/tst-strtod-round.c (struct exactness): New type.
8325 (struct test): Change bool ld_ok field to struct exactness exact.
8326 (TEST): Update all definitions for change to field.
8327 (tests): Regenerate array contents.
8328 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8329 field value. Check for IBM long double here.
8330 (do_test): Update calls to test_in_one_mode.
8332 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8335 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8336 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8338 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8342 generated by the compiler on loop optimizations.
8343 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8344 general definitions.
8346 2013-06-12 Joseph Myers <joseph@codesourcery.com>
8348 * math/bug-nextafter.c: Include <math-tests.h>.
8349 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8351 * math/bug-nexttoward.c: Include <math-tests.h>.
8352 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8354 * math/test-misc.c: Include <math-tests.h>.
8355 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8358 2013-06-12 Andreas Jaeger <aj@suse.de>
8360 * po/ia.po: Update Interlingua translation from translation
8363 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8365 * include/fenv.h: Include stdbool.h.
8366 (struct rm_ctx): New structure.
8367 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8369 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8370 (SET_RESTORE_ROUNDF): Likewise.
8371 (SET_RESTORE_ROUNDL): Likewise.
8372 (SET_RESTORE_ROUND_NOEX): Likewise.
8373 (SET_RESTORE_ROUND_NOEXF): Likewise.
8374 (SET_RESTORE_ROUND_NOEXL): Likewise.
8375 (SET_RESTORE_ROUND_53BIT): Likewise.
8376 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8377 (libc_feresetround_noexf_ctx): Likewise.
8378 (libc_feresetround_noexl_ctx): Likewise.
8379 (libc_feholdsetround_53bit_ctx): Likewise.
8380 (libc_feresetround_53bit_ctx): Likewise.
8381 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8382 (libc_feholdexcept_setround_sse_ctx): New function.
8383 (libc_fesetenv_sse_ctx): Likewise.
8384 (libc_feupdateenv_sse_ctx): Likewise.
8385 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8386 (libc_feholdexcept_setround_387_ctx): Likewise.
8387 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8388 (libc_feholdsetround_387_prec_ctx): Likewise.
8389 (libc_feholdsetround_387_ctx): Likewise.
8390 (libc_feholdsetround_387_53bit_ctx): Likewise.
8391 (libc_feholdsetround_sse_ctx): Likewise.
8392 (libc_feresetround_sse_ctx): Likewise.
8393 (libc_feresetround_387_ctx): Likewise.
8394 (libc_feupdateenv_387_ctx): Likewise.
8395 (libc_feholdexcept_setroundf_ctx): Define macro.
8396 (libc_fesetenvf_ctx): Likewise.
8397 (libc_feupdateenvf_ctx): Likewise.
8398 (libc_feholdsetroundf_ctx): Likewise.
8399 (libc_feresetroundf_ctx): Likewise.
8400 (libc_feholdexcept_setround_ctx): Likewise.
8401 (libc_fesetenv_ctx): Likewise.
8402 (libc_feupdateenv_ctx): Likewise.
8403 (libc_feholdsetround_ctx): Likewise.
8404 (libc_feresetround_ctx): Likewise.
8405 (libc_feholdexcept_setroundl_ctx): Likewise.
8406 (libc_feupdateenvl_ctx): Likewise.
8407 (libc_feholdsetroundl_ctx): Likewise.
8408 (libc_feresetroundl_ctx): Likewise.
8409 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8410 (libc_feresetround_53bit_ctx): Likewise.
8412 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8414 * locale/iso-639.def: Convert to UTF-8.
8416 2013-06-11 Joseph Myers <joseph@codesourcery.com>
8418 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8419 (EXCEPTION_TESTS_double): Likewise.
8420 (EXCEPTION_TESTS_long_double): Likewise.
8421 (EXCEPTION_TESTS): Likewise.
8422 * math/libm-test.inc (test_exceptions): Only test exceptions if
8423 EXCEPTION_TESTS (FLOAT).
8425 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8427 * benchtests/Makefile (string-bench): Add strcpy_chk and
8429 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8430 * benchtests/bench-stpcpy_chk.c: New file.
8431 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8432 * benchtests/bench-strcpy_chk.c: New file.
8433 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8435 (do_test): Likewise.
8437 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8439 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8440 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8441 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8442 with tabs where appropriate.
8443 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8445 [PPC_PLATFORM_PPC440]: Likewise.
8446 [PPC_PLATFORM_PPC464]: Likewise.
8447 [PPC_PLATFORM_PPC476]: Likewise.
8448 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8449 ppc464, and ppc476 platform strings merging from ports/
8452 2013-06-11 Andreas Schwab <schwab@suse.de>
8455 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8456 (from_ucs4_idx): Regenerate.
8457 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8458 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8459 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8460 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8461 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8462 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8463 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8464 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8465 from FROM_LOOP and TO_LOOP specific macros.
8466 (BODY): Handle combining characters.
8467 * iconvdata/BIG5HKSCS.irreversible: Update.
8468 * iconvdata/BIG5HKSCS.precomposed: New file.
8469 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8471 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8473 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8475 * include/sys/time.h: Fix indentation and add copyright header.
8477 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8478 (do_test): Likewise.
8479 * string/test-memchr.c (do_one_test): Likewise.
8480 (do_test): Likewise.
8481 * string/test-memcmp.c (do_one_test): Likewise.
8482 (do_test): Likewise.
8483 * string/test-memcpy.c (do_one_test): Likewise.
8484 (do_test): Likewise.
8485 * string/test-memmem.c (do_one_test): Likewise.
8486 (do_test): Likewise.
8487 (do_random_tests): Likewise.
8488 * string/test-memmove.c (do_one_test): Likewise.
8489 (do_test): Likewise.
8490 * string/test-memset.c (do_one_test): Likewise.
8491 (do_test): Likewise.
8492 * string/test-rawmemchr.c (do_one_test): Likewise.
8493 (do_test): Likewise.
8494 * string/test-strcasecmp.c (do_one_test): Likewise.
8495 (do_test): Likewise.
8496 * string/test-strcasestr.c (do_one_test): Likewise.
8497 (do_test): Likewise.
8498 * string/test-strcat.c (do_one_test): Likewise.
8499 (do_test): Likewise.
8500 * string/test-strchr.c (do_one_test): Likewise.
8501 (do_test): Likewise.
8502 * string/test-strcmp.c (do_one_test): Likewise.
8503 (do_test): Likewise.
8504 * string/test-strcpy.c (do_one_test): Likewise.
8505 (do_test): Likewise.
8506 * string/test-string.h: Likewise.
8507 (test_init): Likewise.
8508 * string/test-strlen.c (do_one_test): Likewise.
8509 (do_test): Likewise.
8510 * string/test-strncasecmp.c (do_one_test): Likewise.
8511 (do_test): Likewise.
8512 * string/test-strncat.c (do_one_test): Likewise.
8513 (do_test): Likewise.
8514 * string/test-strncmp.c (do_one_test): Likewise.
8515 (do_test_limit): Likewise.
8516 (do_test): Likewise.
8517 * string/test-strncpy.c (do_one_test): Likewise.
8518 (do_test): Likewise.
8519 * string/test-strnlen.c (do_one_test): Likewise.
8520 (do_test): Likewise.
8521 * string/test-strpbrk.c (do_one_test): Likewise.
8522 (do_test): Likewise.
8523 * string/test-strrchr.c (do_one_test): Likewise.
8524 (do_test): Likewise.
8525 * string/test-strspn.c (do_one_test): Likewise.
8526 (do_test): Likewise.
8527 * string/test-strstr.c (do_one_test): Likewise.
8528 (do_test): Likewise.
8530 * benchtests/Makefile (string-bench): Add string benchmarks.
8531 * benchtests/bench-bcopy-ifunc.c: New file.
8532 * benchtests/bench-bcopy.c: New file.
8533 * benchtests/bench-bzero-ifunc.c: New file.
8534 * benchtests/bench-bzero.c: New file.
8535 * benchtests/bench-memccpy-ifunc.c: New file.
8536 * benchtests/bench-memccpy.c: New file.
8537 * benchtests/bench-memchr-ifunc.c: New file.
8538 * benchtests/bench-memchr.c: New file.
8539 * benchtests/bench-memcmp-ifunc.c: New file.
8540 * benchtests/bench-memcmp.c: New file.
8541 * benchtests/bench-memmem-ifunc.c: New file.
8542 * benchtests/bench-memmem.c: New file.
8543 * benchtests/bench-memmove-ifunc.c: New file.
8544 * benchtests/bench-memmove.c: New file.
8545 * benchtests/bench-mempcpy-ifunc.c: New file.
8546 * benchtests/bench-mempcpy.c: New file.
8547 * benchtests/bench-memset-ifunc.c: New file.
8548 * benchtests/bench-memset.c: New file.
8549 * benchtests/bench-rawmemchr-ifunc.c: New file.
8550 * benchtests/bench-rawmemchr.c: New file.
8551 * benchtests/bench-stpcpy-ifunc.c: New file.
8552 * benchtests/bench-stpcpy.c: New file.
8553 * benchtests/bench-stpncpy-ifunc.c: New file.
8554 * benchtests/bench-stpncpy.c: New file.
8555 * benchtests/bench-strcasecmp-ifunc.c: New file.
8556 * benchtests/bench-strcasecmp.c: New file.
8557 * benchtests/bench-strcasestr-ifunc.c: New file.
8558 * benchtests/bench-strcasestr.c: New file.
8559 * benchtests/bench-strcat-ifunc.c: New file.
8560 * benchtests/bench-strcat.c: New file.
8561 * benchtests/bench-strchr-ifunc.c: New file.
8562 * benchtests/bench-strchr.c: New file.
8563 * benchtests/bench-strchrnul-ifunc.c: New file.
8564 * benchtests/bench-strchrnul.c: New file.
8565 * benchtests/bench-strcmp-ifunc.c: New file.
8566 * benchtests/bench-strcmp.c: New file.
8567 * benchtests/bench-strcpy-ifunc.c: New file.
8568 * benchtests/bench-strcpy.c: New file.
8569 * benchtests/bench-strcspn-ifunc.c: New file.
8570 * benchtests/bench-strcspn.c: New file.
8571 * benchtests/bench-strlen-ifunc.c: New file.
8572 * benchtests/bench-strlen.c: New file.
8573 * benchtests/bench-strncasecmp-ifunc.c: New file.
8574 * benchtests/bench-strncasecmp.c: New file.
8575 * benchtests/bench-strncat-ifunc.c: New file.
8576 * benchtests/bench-strncat.c: New file.
8577 * benchtests/bench-strncmp-ifunc.c: New file.
8578 * benchtests/bench-strncmp.c: New file.
8579 * benchtests/bench-strncpy-ifunc.c: New file.
8580 * benchtests/bench-strncpy.c: New file.
8581 * benchtests/bench-strnlen-ifunc.c: New file.
8582 * benchtests/bench-strnlen.c: New file.
8583 * benchtests/bench-strpbrk-ifunc.c: New file.
8584 * benchtests/bench-strpbrk.c: New file.
8585 * benchtests/bench-strrchr-ifunc.c: New file.
8586 * benchtests/bench-strrchr.c: New file.
8587 * benchtests/bench-strspn-ifunc.c: New file.
8588 * benchtests/bench-strspn.c: New file.
8589 * benchtests/bench-strstr-ifunc.c: New file.
8590 * benchtests/bench-strstr.c: New file.
8592 * benchtests/Makefile: Disable parallel execution of targets.
8593 (string-bench): Add memcpy.
8594 (benchset): New variable to store a list of benchmark sets.
8595 (bench-func): Renamed from bench.
8596 (bench-set): New target.
8597 (bench): Depend on bench-func and bench-set.
8598 * benchtests/README: Add section on benchmark sets.
8599 * benchtests/bench-memcpy-ifunc.c: New file.
8600 * benchtests/bench-memcpy.c: New file.
8601 * benchtests/bench-string.h: New file.
8603 2013-06-11 Andreas Schwab <schwab@suse.de>
8606 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8607 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8608 values in the triple.
8609 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8610 terminator in the group key.
8612 2013-06-11 Andreas Jaeger <aj@suse.de>
8614 * po/zh_TW.po: Update Chinese (traditional) translation from
8615 translation project.
8617 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8619 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8620 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8621 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8622 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8623 (clock_getcpuclockid): Likewise.
8624 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8625 Add weak_alias and libc_hidden_def.
8626 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8627 * rt/clock_gettime.c (clock_gettime): Rename to
8628 __clock_gettime. Add weak_alias and libc_hidden_def.
8629 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8630 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8631 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8632 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8633 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8635 * rt/clock_settime.c (clock_settime): Rename to
8636 __clock_settime. Add weak_alias and libc_hidden_def.
8637 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8639 2013-06-10 Joseph Myers <joseph@codesourcery.com>
8641 * mach/err_boot.sub: Remove trailing whitespace.
8642 * mach/err_ipc.sub: Likewise.
8643 * mach/err_mach.sub: Likewise.
8645 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8646 (ROUNDING_TESTS_double): Likewise.
8647 (ROUNDING_TESTS_long_double): Likewise.
8648 (ROUNDING_TESTS): Likewise.
8649 * math/libm-test.inc: Include <math-tests.h>.
8650 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8651 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8652 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8653 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8655 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8657 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8660 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8662 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8663 otherwise empty TRANS lines.
8664 * sysdeps/gnu/errlist.c: Regenerated.
8666 * catgets/gencat.c (error_print): Use (void) in function
8668 * crypt/crypt_util.c (__init_des): Likewise.
8669 * crypt/speeds.c (Stop): Likewise.
8671 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8672 * inet/ruserpass.c (token): Likewise.
8673 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8674 * intl/localealias.c (extend_alias_table): Likewise.
8675 * intl/plural-exp.c (init_germanic_plural): Likewise.
8676 * libio/fcloseall.c (__fcloseall): Likewise.
8677 * libio/genops.c (_IO_flush_all): Likewise.
8678 (_IO_flush_all_linebuffered): Likewise.
8679 (_IO_cleanup): Likewise.
8680 (_IO_iter_begin): Likewise.
8681 (_IO_iter_end): Likewise.
8682 (_IO_list_lock): Likewise.
8683 (_IO_list_unlock): Likewise.
8684 (_IO_list_resetlock): Likewise.
8685 * libio/getchar.c (getchar): Likewise.
8686 * libio/getchar_u.c (getchar_unlocked): Likewise.
8687 * libio/getwchar.c (getwchar): Likewise.
8688 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8689 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8690 * login/getpt.c (__getpt): Likewise.
8691 * login/tst-utmp.c (main): Likewise.
8692 * malloc/hooks.c (__malloc_check_init): Likewise.
8693 * malloc/malloc.c (__malloc_stats): Likewise.
8694 * malloc/mtrace.c (tr_break): Likewise.
8696 (muntrace): Likewise.
8697 * misc/fstab.c (endfsent): Likewise.
8698 * misc/getclktck.c (__getclktck): Likewise.
8699 * misc/getdtsz.c (__getdtablesize): Likewise.
8700 * misc/gethostid.c (gethostid): Likewise.
8701 * misc/getpagesize.c (__getpagesize): Likewise.
8702 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8703 (__get_nprocs): Likewise.
8704 (__get_phys_pages): Likewise.
8705 (__get_avphys_pages): Likewise.
8706 * misc/getttyent.c (getttyent): Likewise.
8707 (setttyent): Likewise.
8708 (endttyent): Likewise.
8709 * misc/getusershell.c (getusershell): Likewise.
8710 (endusershell): Likewise.
8711 (setusershell): Likewise.
8712 (initshells): Likewise.
8713 * misc/hsearch.c (__hdestroy): Likewise.
8714 * misc/sync.c (sync): Likewise.
8715 * misc/syslog.c (closelog_internal): Likewise.
8716 (closelog): Likewise.
8717 * misc/ttyslot.c (ttyslot): Likewise.
8718 * misc/vhangup.c (vhangup): Likewise.
8719 * posix/fork.c (__fork): Likewise.
8720 * posix/getegid.c (__getegid): Likewise.
8721 * posix/geteuid.c (__geteuid): Likewise.
8722 * posix/getgid.c (__getgid): Likewise.
8723 * posix/getpid.c (__getpid): Likewise.
8724 * posix/getppid.c (__getppid): Likewise.
8725 * posix/getuid.c (__getuid): Likewise.
8726 * posix/pause.c (pause): Likewise.
8727 * posix/setpgrp.c (setpgrp): Likewise.
8728 * posix/setsid.c (__setsid): Likewise.
8729 * posix/test-vfork.c (noop): Likewise.
8730 * resolv/gethnamaddr.c (_endhtent): Likewise.
8731 (_gethtent): Likewise.
8732 (ht_endhostent): Likewise.
8733 (gethostent): Likewise.
8734 (dns_service): Likewise.
8735 * stdlib/drand48.c (drand48): Likewise.
8736 * stdlib/lrand48.c (lrand48): Likewise.
8737 * stdlib/mrand48.c (mrand48): Likewise.
8738 * stdlib/rand.c (rand): Likewise.
8739 * stdlib/random.c (__random): Likewise.
8740 * stdlib/setenv.c (clearenv): Likewise.
8741 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8742 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8743 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8744 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8745 (__get_nprocs): Likewise.
8746 (__get_phys_pages): Likewise.
8747 (__get_avphys_pages): Likewise.
8748 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8749 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8750 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8751 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8752 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8753 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8754 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8755 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8756 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8757 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8758 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8759 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8760 * sysdeps/posix/clock.c (clock): Likewise.
8761 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8762 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8763 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8764 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8765 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8766 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8767 (__get_nprocs_conf): Likewise.
8768 (__get_phys_pages): Likewise.
8769 (__get_avphys_pages): Likewise.
8770 * time/clock.c (clock): Likewise.
8771 * time/tzset.c (__tzname_max): Likewise.
8773 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8775 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8776 (__bswap_32): Do not use "register".
8777 * crypt/crypt.c (_ufc_doit_r): Likewise.
8778 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8779 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8780 * gmon/gmon.c (__monstartup): Likewise.
8781 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8782 * hurd/hurdmalloc.c (more_memory): Likewise.
8785 (realloc): Likewise.
8786 (malloc_fork_prepare): Likewise.
8787 (malloc_fork_parent): Likewise.
8788 (malloc_fork_child): Likewise.
8789 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8790 (_svcauth_des): Likewise.
8791 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8792 * inet/inet_net.c (inet_network): Likewise.
8793 * inet/inet_netof.c (inet_netof): Likewise.
8794 * inet/rcmd.c (__validuser2_sa): Likewise.
8795 * io/fts.c (fts_open): Likewise.
8796 (fts_load): Likewise.
8797 (fts_close): Likewise.
8798 (fts_read): Likewise.
8799 (fts_children): Likewise.
8800 (fts_build): Likewise.
8801 (fts_stat): Likewise.
8802 (fts_sort): Likewise.
8803 (fts_alloc): Likewise.
8804 (fts_lfree): Likewise.
8805 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8806 (_IO_file_xsgetn): Likewise.
8807 (_IO_file_xsgetn_mmap): Likewise.
8808 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8809 (_IO_cookie_write): Likewise.
8810 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8811 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8812 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8813 * malloc/obstack.c (_obstack_begin): Likewise.
8814 (_obstack_begin_1): Likewise.
8815 (_obstack_newchunk): Likewise.
8816 (_obstack_allocated_p): Likewise.
8817 (obstack_free): Likewise.
8818 (_obstack_memory_used): Likewise.
8819 * misc/getttyent.c (getttynam): Likewise.
8820 (getttyent): Likewise.
8823 * misc/getusershell.c (initshells): Likewise.
8824 * misc/syslog.c (__vsyslog_chk): Likewise.
8825 * misc/ttyslot.c (ttyslot): Likewise.
8826 * nis/nis_hash.c (__nis_hash): Likewise.
8827 * posix/fnmatch_loop.c (FCT): Likewise.
8828 * posix/getconf.c (print_all): Likewise.
8830 * posix/getopt.c (exchange): Likewise.
8831 * posix/glob.c (globfree): Likewise.
8832 (prefix_array): Likewise.
8833 (__glob_pattern_type): Likewise.
8834 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8835 (NS_GET32): Likewise.
8836 (NS_PUT16): Likewise.
8837 (NS_PUT32): Likewise.
8838 * resolv/gethnamaddr.c (getanswer): Likewise.
8839 (gethostbyname2): Likewise.
8840 (gethostbyaddr): Likewise.
8841 (_gethtent): Likewise.
8842 (_gethtbyname2): Likewise.
8843 (_gethtbyaddr): Likewise.
8844 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8845 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8846 * resolv/res_init.c (__res_vinit): Likewise.
8847 (net_mask): Likewise.
8848 * resolv/res_mkquery.c (outchar): Likewise.
8850 * stdio-common/printf_fp.c (outchar): Likewise.
8852 * stdio-common/printf_fphex.c (outchar): Likewise.
8854 * stdio-common/printf_size.c (outchar): Likewise.
8856 * stdio-common/test_rdwr.c (main): Likewise.
8857 * stdio-common/tfformat.c (matches): Likewise.
8858 * stdio-common/vfprintf.c (outchar): Likewise.
8859 (printf_unknown): Likewise.
8860 (buffered_vfprintf): Likewise.
8861 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8862 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8863 (ReadFile): Likewise.
8864 * stdlib/qsort.c (SWAP): Likewise.
8865 (_quicksort): Likewise.
8866 * stdlib/setenv.c (__add_to_environ): Likewise.
8867 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8868 * stdlib/strtol_l.c (__strtol_l): Likewise.
8869 * stdlib/tst-strtod.c (main): Likewise.
8870 * stdlib/tst-strtol.c (main): Likewise.
8871 * stdlib/tst-strtoll.c (main): Likewise.
8872 * string/bits/string2.h (__strcmp_cc): Likewise.
8873 (__strcmp_cg): Likewise.
8874 (__strcspn_c1): Likewise.
8875 (__strcspn_c2): Likewise.
8876 (__strcspn_c3): Likewise.
8877 (__strspn_c1): Likewise.
8878 (__strspn_c2): Likewise.
8879 (__strspn_c3): Likewise.
8880 (__strsep_1c): Likewise.
8881 (__strsep_2c): Likewise.
8882 (__strsep_3c): Likewise.
8883 * string/memccpy.c (__memccpy): Likewise.
8884 * string/stpcpy.c (__stpcpy): Likewise.
8885 * string/strcmp.c (strcmp): Likewise.
8886 * string/strrchr.c (strrchr): Likewise.
8887 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8889 * sysdeps/mach/hurd/getcwd.c
8890 (_hurd_canonicalize_directory_name_internal): Likewise.
8891 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8892 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8893 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8894 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8895 Likewise, in both definitions.
8896 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8898 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8899 64] (__bswap_64): Likewise.
8900 * time/test_time.c (main): Likewise.
8901 * time/tzfile.c (__tzfile_read): Likewise.
8902 (__tzfile_compute): Likewise.
8903 * time/tzset.c (__tzset_parse_tz): Likewise.
8904 (tzset_internal): Likewise.
8905 (compute_change): Likewise.
8906 * wcsmbs/wcscat.c (__wcscat): Likewise.
8907 * wcsmbs/wcschr.c (wcschr): Likewise.
8908 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8909 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8910 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8911 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8912 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8913 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8914 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8915 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8916 * wcsmbs/wmemset.c (wmemset): Likewise.
8918 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8920 * scripts/config.guess: Update to version 2013-05-16.
8921 * scripts/config.sub: Update to version 2013-04-24.
8922 * scripts/install-sh: Update to version 2011-11-20.07.
8923 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8924 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8926 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8928 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8929 * elf/sln.c: Likewise.
8930 * hurd/hurd/ioctl.h: Likewise.
8931 * hurd/hurdmalloc.c: Likewise.
8932 * hurd/xattr.c: Likewise.
8933 * include/shlib-compat.h: Likewise.
8934 * inet/ruserpass.c: Likewise.
8935 * libio/iofgets_u.c: Likewise.
8936 * libio/iofgetws_u.c: Likewise.
8937 * locale/programs/ld-identification.c: Likewise.
8938 * locale/programs/ld-time.c: Likewise.
8939 * mach/msg-destroy.c: Likewise.
8940 * nss/nss_files/files-netgrp.c: Likewise.
8941 * resolv/res_data.c: Likewise.
8942 * soft-fp/op-1.h: Likewise.
8943 * soft-fp/op-2.h: Likewise.
8944 * soft-fp/op-4.h: Likewise.
8945 * soft-fp/op-common.h: Likewise.
8946 * stdio-common/printf_fphex.c: Likewise.
8947 * stdlib/strtod_l.c: Likewise.
8948 * sunrpc/rpc/clnt.h: Likewise.
8949 * sysdeps/generic/framestate.c: Likewise.
8950 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8951 * sysdeps/i386/bsd-setjmp.S: Likewise.
8952 * sysdeps/i386/__longjmp.S: Likewise.
8953 * sysdeps/i386/setjmp.S: Likewise.
8954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8955 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8956 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8957 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8959 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8960 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8963 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8964 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8965 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8966 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8967 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8968 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8970 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8971 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8972 * sysdeps/ieee754/support.c: Likewise.
8973 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8974 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8975 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8976 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8977 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8978 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8979 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8980 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8981 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8982 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8983 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8984 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8985 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8986 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8987 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8988 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8989 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8992 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8994 * posix/transbug.c: Remove executable mode.
8996 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8998 * crypt/speeds.c: Remove trailing whitespace.
8999 * dlfcn/default.c: Likewise.
9000 * elf/ifuncdep2.c: Likewise.
9001 * elf/ifuncmain1.c: Likewise.
9002 * elf/ifuncmain1vis.c: Likewise.
9003 * elf/testobj.h: Likewise.
9004 * elf/tst-stackguard1.c: Likewise.
9005 * gmon/sys/gmon.h: Likewise.
9006 * hurd/hurdmsg.c: Likewise.
9007 * hurd/new-fd.c: Likewise.
9008 * hurd/ports-get.c: Likewise.
9009 * iconvdata/ibm1008_420.c: Likewise.
9010 * inet/tst-getni1.c: Likewise.
9011 * inet/tst-getni2.c: Likewise.
9012 * libio/ioungetc.c: Likewise.
9013 * libio/wfiledoalloc.c: Likewise.
9014 * manual/libm-err-tab.pl: Likewise.
9015 * math/w_dremf.c: Likewise.
9016 * misc/ftruncate.c: Likewise.
9017 * posix/bug-glob2.c: Likewise.
9018 * posix/tst-pcre.c: Likewise.
9019 * posix/wait4.c: Likewise.
9020 * resolv/README: Likewise.
9021 * resolv/res_debug.h: Likewise.
9022 * resolv/tst-inet_ntop.c: Likewise.
9023 * setjmp/bug269-setjmp.c: Likewise.
9024 * soft-fp/extended.h: Likewise.
9025 * soft-fp/op-1.h: Likewise.
9026 * soft-fp/op-2.h: Likewise.
9027 * soft-fp/op-4.h: Likewise.
9028 * soft-fp/op-8.h: Likewise.
9029 * soft-fp/testit.c: Likewise.
9030 * stdio-common/bug16.c: Likewise.
9031 * stdlib/random.c: Likewise.
9032 * sunrpc/rpcsvc/rquota.x: Likewise.
9033 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9034 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9035 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9036 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9037 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9038 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9039 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9040 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9041 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9042 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9043 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9044 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9045 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9046 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9047 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9048 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9049 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9050 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9051 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9054 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9055 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9059 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9060 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9061 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9062 * sysdeps/ieee754/s_lib_version.c: Likewise.
9063 * sysdeps/mach/hurd/check_fds.c: Likewise.
9064 * sysdeps/mach/hurd/getsockname.c: Likewise.
9065 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9066 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9067 * sysdeps/powerpc/bits/link.h: Likewise.
9068 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9069 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9070 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9071 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9072 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9073 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9074 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9075 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9076 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9077 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9078 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9079 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9080 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9081 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9082 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9083 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9084 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9085 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9086 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9087 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9088 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9089 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9091 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9092 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9093 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9094 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9095 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9101 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9102 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9103 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9104 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9105 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9106 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9107 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9108 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9109 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9110 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9112 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9113 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9114 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9115 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9116 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9117 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9118 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9119 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9120 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9121 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9122 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9123 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9124 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9125 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9126 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9127 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9128 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9129 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9130 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9131 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9132 * sysdeps/powerpc/sysdep.h: Likewise.
9133 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9134 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9135 * sysdeps/sh/dl-trampoline.S: Likewise.
9136 * sysdeps/sh/memset.S: Likewise.
9137 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9138 * sysdeps/sh/strlen.S: Likewise.
9139 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9140 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9141 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9142 * sysdeps/sparc/sparc32/rem.S: Likewise.
9143 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9144 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9145 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9146 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9147 * sysdeps/sparc/sparc32/urem.S: Likewise.
9148 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9149 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9150 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9151 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9152 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9153 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9154 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9155 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9156 * sysdeps/unix/bsd/times.c: Likewise.
9157 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9158 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9162 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9163 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9164 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9165 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9166 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9167 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9168 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9169 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9170 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9171 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9172 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9173 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9174 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9175 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9176 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9177 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9178 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9179 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9180 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9181 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9182 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9183 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9184 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9185 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9186 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9187 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9188 * sysdeps/x86_64/strcspn.S: Likewise.
9190 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9192 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9193 generated file. Regenerate properly from gen-translit.pl.
9194 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9195 locale/C-translit.h.
9197 2013-06-05 Andreas Schwab <schwab@suse.de>
9200 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9201 week as 6 instead of -1.
9202 * time/tst-strptime.c (day_tests): Add test case.
9204 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9206 * sysdeps/generic/math_private.h
9207 (libc_feholdexcept_setround_53bit): Replace with
9208 libc_feholdsetround_53bit.
9209 (libc_feupdateenv_53bit): Replace with
9210 libc_feresetround_53bit.
9211 (SET_RESTORE_ROUND_53BIT): Adjust.
9213 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9215 * string/test-strchrnul.c: Add copyright header.
9217 * posix/tst-getaddrinfo4.c: Increase test timeout.
9219 2013-06-03 Carlos O'Donell <carlos@redhat.com>
9222 * math/libm-test.inc (MAX_EXP): Remove
9224 (ulp): Use MIN_EXP - MANT_DIG.
9225 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9227 2013-05-31 Carlos O'Donell <carlos@redhat.com>
9229 * po/be.po: Revert last change.
9230 * po/zh_CN.po: Likewise.
9231 * po/header.pot: Likewise.
9233 2013-05-31 Joseph Myers <joseph@codesourcery.com>
9235 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9236 link-libc-deps to empty as target-specific variable.
9237 * Makerules (link-libc-args): New variable.
9238 (libc-for-link): Likewise.
9239 (link-libc-deps): Likewise.
9240 (lib%.so): Depend on $(link-libc-deps). Link with
9242 (build-module): Link with $(link-libc-args).
9243 (build-module-asneeded): Likewise.
9244 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9246 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9247 target-specific variable.
9248 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9249 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9250 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9252 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9254 ($(objpfx)libpcprofile.so): Likewise.
9255 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9257 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9258 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9259 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9261 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9262 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9263 * login/Makefile ($(objpfx)libutil.so): Likewise.
9264 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9265 * math/Makefile ($(objpfx)libm.so): Likewise.
9266 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9267 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9268 variable instead of depending directly on libc.
9269 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9270 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9272 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9274 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9275 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9276 ($(objpfx)libanl.so): Likewise.
9277 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9279 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9281 * sysdeps/i386/fpu/Makefile: Remove file.
9282 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9283 ($(objpfx)libm.so): Remove dependency on ld.so.
9285 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
9288 * nis/yp_xdr.c (XDRMAXNAME): Define.
9289 (XDRMAXRECORD): Define.
9290 (xdr_domainname): Use XDRMAXNAME.
9291 (xdr_mapname): Likewise.
9292 (xdr_peername): Likewise.
9293 (xdr_keydat): Use XDRMAXRECORD.
9294 (xdr_valdat): Likewise.
9296 2013-05-30 Jeff Law <law@redhat.com>
9299 * manual/errno.texi (ESTALE): Update to account for more than
9300 just NFS file systems.
9301 * sysdeps/gnu/errlist.c: Regenerated.
9303 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9306 * elf/Makefile (tests): Add tst-null-argv.
9307 (modules-names): Add tst-null-argv-lib.
9308 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9309 (tst-null-argv-ENV): Set environment for tst-null-argv.
9310 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9311 (RTLD_PROGNAME): New macro.
9312 * elf/tst-null-argv.c: New test case.
9313 * elf/tst-null-argv-lib.c: Library for test case.
9314 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9315 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9316 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9317 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9318 * elf/dl-init.c (call_init): Likewise.
9319 (_dl_init): Likewise.
9320 * elf/dl-load.c (print_search_path): Likewise.
9321 (_dl_map_object): Likewise.
9322 * elf/dl-lookup.c (do_lookup_x): Likewise.
9323 (add_dependency): Likewise.
9324 (_dl_lookup_symbol_x): Likewise.
9325 (_dl_debug_bindings): Likewise.
9326 * elf/dl-open.c (_dl_show_scope): Likewise.
9327 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9328 * elf/dl-version.c (match_symbol): Likewise.
9329 (_dl_check_map_versions): Likewise.
9330 * elf/rtld.c (dl_main): Likewise.
9331 (print_unresolved): Use RTLD_PROGNAME.
9332 (print_missing_version): Likewise.
9333 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9334 (elf_machine_rela): Likewise.
9335 * sysdeps/powerpc/powerpc32/dl-machine.c
9336 (__process_machine_rela): Likewise.
9337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9339 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9341 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9343 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9350 2013-05-28 Carlos O'Donell <carlos@redhat.com>
9352 * po/be.po: Add descriptive title.
9353 * po/zh_CN.po: Likewise.
9354 * po/header.pot: Likewise.
9356 2013-05-28 Mike Frysinger <vapier@gentoo.org>
9358 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9360 (enlarge_archive): Likewise.
9362 2013-05-28 Ben North <ben@redfrontdoor.org>
9364 * manual/arith.texi (frexp): It is the magnitude of the return
9365 value which lies in [0.5, 1), not the return value itself.
9367 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9371 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9373 * stdio-common/bug26.c (main): Correct fscanf template.
9375 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9376 declare _dl_skip_args.
9378 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9381 * manual/platform.texi: Add missing @end deftypefun.
9383 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9386 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9387 bit of mantissa of 2^16382.
9388 * math/libm-test.inc (hypot_test_data): Add more tests.
9390 * math/libm-test.inc: Add drem and pow10 to list of tested
9392 (pow10_test): New function.
9393 (drem_test): Likewise.
9394 (drem_test_tonearest): Likewise.
9395 (drem_test_towardzero): Likewise.
9396 (drem_test_downward): Likewise.
9397 (drem_test_upward): Likewise.
9398 (main): Call the new functions.
9400 * math/libm-test.inc (finite_test_data): Remove.
9401 (finite_test): Run tests from isfinite_test_data.
9402 (gamma_test_data): Remove.
9403 (gamma_test): Run tests from lgamma_test_data.
9404 * sysdeps/i386/fpu/libm-test-ulps: Update.
9405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9407 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9409 * manual/platform.texi: Add PowerPC PPR function set documentation.
9410 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9413 2013-05-24 Carlos O'Donell <carlos@redhat.com>
9415 * math/libm-test.inc (MAX_EXP): Define.
9417 (ulp): New function.
9418 (check_float_internal): Use ULPDIFF.
9419 (cpow_test): Disable failing test.
9420 (check_ulp): Test ulp() implemetnation.
9421 (main): Call check_ulp before starting tests.
9423 2013-05-24 Joseph Myers <joseph@codesourcery.com>
9425 * math/gen-libm-test.pl (generate_testfile): Do not handle
9426 START_DATA and END_DATA.
9427 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9429 (acos_tonearest_test_data): Likewise.
9430 (acos_towardzero_test_data): Likewise.
9431 (acos_downward_test_data): Likewise.
9432 (acos_upward_test_data): Likewise.
9433 (acosh_test_data): Likewise.
9434 (asin_test_data): Likewise.
9435 (asin_tonearest_test_data): Likewise.
9436 (asin_towardzero_test_data): Likewise.
9437 (asin_downward_test_data): Likewise.
9438 (asin_upward_test_data): Likewise.
9439 (asinh_test_data): Likewise.
9440 (atan_test_data): Likewise.
9441 (atanh_test_data): Likewise.
9442 (atan2_test_data): Likewise.
9443 (cabs_test_data): Likewise.
9444 (cacos_test_data): Likewise.
9445 (cacosh_test_data): Likewise.
9446 (carg_test_data): Likewise.
9447 (casin_test_data): Likewise.
9448 (casinh_test_data): Likewise.
9449 (catan_test_data): Likewise.
9450 (catanh_test_data): Likewise.
9451 (cbrt_test_data): Likewise.
9452 (ccos_test_data): Likewise.
9453 (ccosh_test_data): Likewise.
9454 (ceil_test_data): Likewise.
9455 (cexp_test_data): Likewise.
9456 (cimag_test_data): Likewise.
9457 (clog_test_data): Likewise.
9458 (clog10_test_data): Likewise.
9459 (conj_test_data): Likewise.
9460 (copysign_test_data): Likewise.
9461 (cos_test_data): Likewise.
9462 (cos_tonearest_test_data): Likewise.
9463 (cos_towardzero_test_data): Likewise.
9464 (cos_downward_test_data): Likewise.
9465 (cos_upward_test_data): Likewise.
9466 (cosh_test_data): Likewise.
9467 (cosh_tonearest_test_data): Likewise.
9468 (cosh_towardzero_test_data): Likewise.
9469 (cosh_downward_test_data): Likewise.
9470 (cosh_upward_test_data): Likewise.
9471 (cpow_test_data): Likewise.
9472 (cproj_test_data): Likewise.
9473 (creal_test_data): Likewise.
9474 (csin_test_data): Likewise.
9475 (csinh_test_data): Likewise.
9476 (csqrt_test_data): Likewise.
9477 (ctan_test_data): Likewise.
9478 (ctan_tonearest_test_data): Likewise.
9479 (ctan_towardzero_test_data): Likewise.
9480 (ctan_downward_test_data): Likewise.
9481 (ctan_upward_test_data): Likewise.
9482 (ctanh_test_data): Likewise.
9483 (ctanh_tonearest_test_data): Likewise.
9484 (ctanh_towardzero_test_data): Likewise.
9485 (ctanh_downward_test_data): Likewise.
9486 (ctanh_upward_test_data): Likewise.
9487 (erf_test_data): Likewise.
9488 (erfc_test_data): Likewise.
9489 (exp_test_data): Likewise.
9490 (exp_tonearest_test_data): Likewise.
9491 (exp_towardzero_test_data): Likewise.
9492 (exp_downward_test_data): Likewise.
9493 (exp_upward_test_data): Likewise.
9494 (exp10_test_data): Likewise.
9495 (exp2_test_data): Likewise.
9496 (expm1_test_data): Likewise.
9497 (fabs_test_data): Likewise.
9498 (fdim_test_data): Likewise.
9499 (finite_test_data): Likewise.
9500 (floor_test_data): Likewise.
9501 (fma_test_data): Likewise.
9502 (fma_towardzero_test_data): Likewise.
9503 (fma_downward_test_data): Likewise.
9504 (fma_upward_test_data): Likewise.
9505 (fmax_test_data): Likewise.
9506 (fmin_test_data): Likewise.
9507 (fmod_test_data): Likewise.
9508 (fpclassify_test_data): Likewise.
9509 (frexp_test_data): Likewise.
9510 (gamma_test_data): Likewise.
9511 (hypot_test_data): Likewise.
9512 (ilogb_test_data): Likewise.
9513 (isfinite_test_data): Likewise.
9514 (isgreater_test_data): Likewise.
9515 (isgreaterequal_test_data): Likewise.
9516 (isinf_test_data): Likewise.
9517 (isless_test_data): Likewise.
9518 (islessequal_test_data): Likewise.
9519 (islessgreater_test_data): Likewise.
9520 (isnan_test_data): Likewise.
9521 (isnormal_test_data): Likewise.
9522 (issignaling_test_data): Likewise.
9523 (isunordered_test_data): Likewise.
9524 (j0_test_data): Likewise.
9525 (j1_test_data): Likewise.
9526 (jn_test_data): Likewise.
9527 (ldexp_test_data): Likewise.
9528 (lgamma_test_data): Likewise.
9529 (lrint_test_data): Likewise.
9530 (lrint_tonearest_test_data): Likewise.
9531 (lrint_towardzero_test_data): Likewise.
9532 (lrint_downward_test_data): Likewise.
9533 (lrint_upward_test_data): Likewise.
9534 (llrint_test_data): Likewise.
9535 (llrint_tonearest_test_data): Likewise.
9536 (llrint_towardzero_test_data): Likewise.
9537 (llrint_downward_test_data): Likewise.
9538 (llrint_upward_test_data): Likewise.
9539 (log_test_data): Likewise.
9540 (log10_test_data): Likewise.
9541 (log1p_test_data): Likewise.
9542 (log2_test_data): Likewise.
9543 (logb_test_data): Likewise.
9544 (logb_downward_test_data): Likewise.
9545 (lround_test_data): Likewise.
9546 (llround_test_data): Likewise.
9547 (modf_test_data): Likewise.
9548 (nearbyint_test_data): Likewise.
9549 (nextafter_test_data): Likewise.
9550 (nexttoward_test_data): Likewise.
9551 (pow_test_data): Likewise.
9552 (pow_tonearest_test_data): Likewise.
9553 (pow_towardzero_test_data): Likewise.
9554 (pow_downward_test_data): Likewise.
9555 (pow_upward_test_data): Likewise.
9556 (remainder_test_data): Likewise.
9557 (remainder_tonearest_test_data): Likewise.
9558 (remainder_towardzero_test_data): Likewise.
9559 (remainder_downward_test_data): Likewise.
9560 (remainder_upward_test_data): Likewise.
9561 (remquo_test_data): Likewise.
9562 (rint_test_data): Likewise.
9563 (rint_tonearest_test_data): Likewise.
9564 (rint_towardzero_test_data): Likewise.
9565 (rint_downward_test_data): Likewise.
9566 (rint_upward_test_data): Likewise.
9567 (round_test_data): Likewise.
9568 (scalb_test_data): Likewise.
9569 (scalbn_test_data): Likewise.
9570 (scalbln_test_data): Likewise.
9571 (signbit_test_data): Likewise.
9572 (sin_test_data): Likewise.
9573 (sin_tonearest_test_data): Likewise.
9574 (sin_towardzero_test_data): Likewise.
9575 (sin_downward_test_data): Likewise.
9576 (sin_upward_test_data): Likewise.
9577 (sincos_test_data): Likewise.
9578 (sinh_test_data): Likewise.
9579 (sinh_tonearest_test_data): Likewise.
9580 (sinh_towardzero_test_data): Likewise.
9581 (sinh_downward_test_data): Likewise.
9582 (sinh_upward_test_data): Likewise.
9583 (sqrt_test_data): Likewise.
9584 (tan_test_data): Likewise.
9585 (tan_tonearest_test_data): Likewise.
9586 (tan_towardzero_test_data): Likewise.
9587 (tan_downward_test_data): Likewise.
9588 (tan_upward_test_data): Likewise.
9589 (tanh_test_data): Likewise.
9590 (tgamma_test_data): Likewise.
9591 (trunc_test_data): Likewise.
9592 (y0_test_data): Likewise.
9593 (y1_test_data): Likewise.
9594 (yn_test_data): Likewise.
9595 (significand_test_data): Likewise.
9597 * math/gen-libm-test.pl (@functions): Remove variable.
9598 (generate_testfile): Don't handle START and END lines.
9599 * math/libm-test.inc (START): New macro.
9601 (END_COMPLEX): Likewise.
9602 (acos_test): Use END macro without arguments.
9603 (acos_test_tonearest): Likewise.
9604 (acos_test_towardzero): Likewise.
9605 (acos_test_downward): Likewise.
9606 (acos_test_upward): Likewise.
9607 (acosh_test): Likewise.
9608 (asin_test): Likewise.
9609 (asin_test_tonearest): Likewise.
9610 (asin_test_towardzero): Likewise.
9611 (asin_test_downward): Likewise.
9612 (asin_test_upward): Likewise.
9613 (asinh_test): Likewise.
9614 (atan_test): Likewise.
9615 (atanh_test): Likewise.
9616 (atan2_test): Likewise.
9617 (cabs_test): Likewise.
9618 (cacos_test): Use END_COMPLEX macro without arguments.
9619 (cacosh_test): Likewise.
9620 (carg_test): Use END macro without arguments.
9621 (casin_test): Use END_COMPLEX macro without arguments.
9622 (casinh_test): Likewise.
9623 (catan_test): Likewise.
9624 (catanh_test): Likewise.
9625 (cbrt_test): Use END macro without arguments.
9626 (ccos_test): Use END_COMPLEX macro without arguments.
9627 (ccosh_test): Likewise.
9628 (ceil_test): Use END macro without arguments.
9629 (cexp_test): Use END_COMPLEX macro without arguments.
9630 (cimag_test): Use END macro without arguments.
9631 (clog_test): Use END_COMPLEX macro without arguments.
9632 (clog10_test): Likewise.
9633 (conj_test): Likewise.
9634 (copysign_test): Use END macro without arguments.
9635 (cos_test): Likewise.
9636 (cos_test_tonearest): Likewise.
9637 (cos_test_towardzero): Likewise.
9638 (cos_test_downward): Likewise.
9639 (cos_test_upward): Likewise.
9640 (cosh_test): Likewise.
9641 (cosh_test_tonearest): Likewise.
9642 (cosh_test_towardzero): Likewise.
9643 (cosh_test_downward): Likewise.
9644 (cosh_test_upward): Likewise.
9645 (cpow_test): Use END_COMPLEX macro without arguments.
9646 (cproj_test): Likewise.
9647 (creal_test): Use END macro without arguments.
9648 (csin_test): Use END_COMPLEX macro without arguments.
9649 (csinh_test): Likewise.
9650 (csqrt_test): Likewise.
9651 (ctan_test): Likewise.
9652 (ctan_test_tonearest): Likewise.
9653 (ctan_test_towardzero): Likewise.
9654 (ctan_test_downward): Likewise.
9655 (ctan_test_upward): Likewise.
9656 (ctanh_test): Likewise.
9657 (ctanh_test_tonearest): Likewise.
9658 (ctanh_test_towardzero): Likewise.
9659 (ctanh_test_downward): Likewise.
9660 (ctanh_test_upward): Likewise.
9661 (erf_test): Use END macro without arguments.
9662 (erfc_test): Likewise.
9663 (exp_test): Likewise.
9664 (exp_test_tonearest): Likewise.
9665 (exp_test_towardzero): Likewise.
9666 (exp_test_downward): Likewise.
9667 (exp_test_upward): Likewise.
9668 (exp10_test): Likewise.
9669 (exp2_test): Likewise.
9670 (expm1_test): Likewise.
9671 (fabs_test): Likewise.
9672 (fdim_test): Likewise.
9673 (finite_test): Likewise.
9674 (floor_test): Likewise.
9675 (fma_test): Likewise.
9676 (fma_test_towardzero): Likewise.
9677 (fma_test_downward): Likewise.
9678 (fma_test_upward): Likewise.
9679 (fmax_test): Likewise.
9680 (fmin_test): Likewise.
9681 (fmod_test): Likewise.
9682 (fpclassify_test): Likewise.
9683 (frexp_test): Likewise.
9684 (gamma_test): Likewise.
9685 (hypot_test): Likewise.
9686 (ilogb_test): Likewise.
9687 (isfinite_test): Likewise.
9688 (isgreater_test): Likewise.
9689 (isgreaterequal_test): Likewise.
9690 (isinf_test): Likewise.
9691 (isless_test): Likewise.
9692 (islessequal_test): Likewise.
9693 (islessgreater_test): Likewise.
9694 (isnan_test): Likewise.
9695 (isnormal_test): Likewise.
9696 (issignaling_test): Likewise.
9697 (isunordered_test): Likewise.
9698 (j0_test): Likewise.
9699 (j1_test): Likewise.
9700 (jn_test): Likewise.
9701 (ldexp_test): Likewise.
9702 (lgamma_test): Likewise.
9703 (lrint_test): Likewise.
9704 (lrint_test_tonearest): Likewise.
9705 (lrint_test_towardzero): Likewise.
9706 (lrint_test_downward): Likewise.
9707 (lrint_test_upward): Likewise.
9708 (llrint_test): Likewise.
9709 (llrint_test_tonearest): Likewise.
9710 (llrint_test_towardzero): Likewise.
9711 (llrint_test_downward): Likewise.
9712 (llrint_test_upward): Likewise.
9713 (log_test): Likewise.
9714 (log10_test): Likewise.
9715 (log1p_test): Likewise.
9716 (log2_test): Likewise.
9717 (logb_test): Likewise.
9718 (logb_test_downward): Likewise.
9719 (lround_test): Likewise.
9720 (llround_test): Likewise.
9721 (modf_test): Likewise.
9722 (nearbyint_test): Likewise.
9723 (nextafter_test): Likewise.
9724 (nexttoward_test): Likewise.
9725 (pow_test): Likewise.
9726 (pow_test_tonearest): Likewise.
9727 (pow_test_towardzero): Likewise.
9728 (pow_test_downward): Likewise.
9729 (pow_test_upward): Likewise.
9730 (remainder_test): Likewise.
9731 (remainder_test_tonearest): Likewise.
9732 (remainder_test_towardzero): Likewise.
9733 (remainder_test_downward): Likewise.
9734 (remainder_test_upward): Likewise.
9735 (remquo_test): Likewise.
9736 (rint_test): Likewise.
9737 (rint_test_tonearest): Likewise.
9738 (rint_test_towardzero): Likewise.
9739 (rint_test_downward): Likewise.
9740 (rint_test_upward): Likewise.
9741 (round_test): Likewise.
9742 (scalb_test): Likewise.
9743 (scalbn_test): Likewise.
9744 (scalbln_test): Likewise.
9745 (signbit_test): Likewise.
9746 (sin_test): Likewise.
9747 (sin_test_tonearest): Likewise.
9748 (sin_test_towardzero): Likewise.
9749 (sin_test_downward): Likewise.
9750 (sin_test_upward): Likewise.
9751 (sincos_test): Likewise.
9752 (sinh_test): Likewise.
9753 (sinh_test_tonearest): Likewise.
9754 (sinh_test_towardzero): Likewise.
9755 (sinh_test_downward): Likewise.
9756 (sinh_test_upward): Likewise.
9757 (sqrt_test): Likewise.
9758 (tan_test): Likewise.
9759 (tan_test_tonearest): Likewise.
9760 (tan_test_towardzero): Likewise.
9761 (tan_test_downward): Likewise.
9762 (tan_test_upward): Likewise.
9763 (tanh_test): Likewise.
9764 (tgamma_test): Likewise.
9765 (trunc_test): Likewise.
9766 (y0_test): Likewise.
9767 (y1_test): Likewise.
9768 (yn_test): Likewise.
9769 (significand_test): Likewise.
9771 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9774 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9776 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9779 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9780 __ppc_mdoio and __ppc_mdoom.
9781 * manual/platform.texi: Document new functions __ppc_yield,
9782 __ppc_mdoio and __ppc_mdoom.
9784 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9786 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9787 (main): Mention "tls" pseudo-hwcap is legacy.
9788 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9790 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9792 * math/gen-libm-test.pl (parse_args): Output only string of
9793 arguments as text for test name, not full call or descriptions of
9794 tests for extra outputs.
9795 (generate_testfile): Do not pass function name to parse_args.
9796 Generate this_func variable from START.
9797 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9799 (struct test_ff_f_data): Likewise.
9800 (test_ff_f_data_nexttoward): Likewise.
9801 (struct test_fi_f_data): Likewise.
9802 (struct test_fl_f_data): Likewise.
9803 (struct test_if_f_data): Likewise.
9804 (struct test_fff_f_data): Likewise.
9805 (struct test_c_f_data): Likewise.
9806 (struct test_f_f1_data): Likewise. Remove field extra_name.
9807 (struct test_fF_f1_data): Likewise.
9808 (struct test_ffI_f1_data): Likewise.
9809 (struct test_c_c_data): Rename test_name field to arg_str.
9810 (struct test_cc_c_data): Likewise.
9811 (struct test_f_i_data): Likewise.
9812 (struct test_ff_i_data): Likewise.
9813 (struct test_f_l_data): Likewise.
9814 (struct test_f_L_data): Likewise.
9815 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9817 (COMMON_TEST_SETUP): New macro.
9818 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9819 (COMMON_TEST_CLEANUP): Likewise.
9820 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9821 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9823 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9824 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9826 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9827 (RUN_TEST_fff_f): Take argument string. Call new setup and
9829 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9830 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9832 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9833 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9835 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9836 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9838 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9839 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9841 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9842 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9844 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9845 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9847 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9848 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9850 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9851 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9853 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9854 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9856 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9857 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9859 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9860 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9862 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9863 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9865 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9866 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9868 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9869 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9871 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9872 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9874 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9876 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9878 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9879 to _sifields.sigfault.
9880 (si_addr_lsb): Define new macro.
9881 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9882 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9883 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9885 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9888 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9890 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9892 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9895 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9897 * math/gen-libm-test.pl (parse_args): Do not include expected
9898 result in test name.
9899 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9900 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9901 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9902 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9903 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9906 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9908 * benchtests/Makefile: Sort function entries.
9910 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9911 tanh, asinh, acosh, atanh.
9912 * benchtests/acos-inputs: New file.
9913 * benchtests/acosh-inputs: New file.
9914 * benchtests/asin-inputs: New file.
9915 * benchtests/asinh-inputs: New file.
9916 * benchtests/atanh-inputs: New file.
9917 * benchtests/cosh-inputs: New file.
9918 * benchtests/log-inputs: New file.
9919 * benchtests/sinh-inputs: New file.
9920 * benchtests/tanh-inputs: New file.
9922 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9925 * posix/tst-getaddrinfo4.c: New test.
9926 * posix/Makefile (tests): Add it.
9928 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9931 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9932 when no services were used.
9933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9934 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9936 2013-05-21 Andreas Schwab <schwab@suse.de>
9939 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9940 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9942 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9943 redundant variable declarations and reallocation of buffer when
9944 parsing as IPv6 address. Always set NSS status when called from
9945 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9946 buffer too small. Correct computation of needed size.
9947 * nss/Makefile (tests): Add test-digits-dots.
9948 * nss/test-digits-dots.c: New test.
9950 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9952 * benchtests/Makefile: Remove instructions for adding
9954 * benchtests/README: New file to explain how to execute and
9955 enhance the benchmark tests.
9957 2013-05-21 Andreas Schwab <schwab@suse.de>
9960 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9961 * setjmp/tst-sigsetjmp.c: New test.
9963 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9965 * sysdeps/x86_64/memset.S (memset): New implementation.
9966 (__bzero): Likewise.
9967 (__memset_tail): New function.
9969 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9971 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9972 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9973 __memcpy_sse2_unaligned ifunc selection.
9974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9975 Add memcpy-sse2-unaligned.S.
9976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9977 Add: __memcpy_sse2_unaligned.
9979 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9982 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9983 math_force_eval before restoring floating-point envrionment.
9984 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9985 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9987 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9989 (__nearbyintl): Use math_force_eval before restoring
9990 floating-point environment.
9991 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9993 * math/gen-libm-test.pl (special_functions): Remove.
9994 (parse_args): Don't handle TEST_extra. Handle functions with no
9996 * math/libm-test.inc (struct test_sincos_data): Replace with
9997 struct test_fFF_11_data.
9998 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9999 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10000 (sincos_test_data): Change element type to struct
10001 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10002 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10003 RUN_TEST_LOOP_sincos.
10004 * math/README.libm-test: Don't mention special handling of
10005 individual functions.
10006 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10007 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10008 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10009 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10010 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10013 * math/gen-libm-test.pl (get_variable): Remove function.
10014 (parse_args): Don't show pointer parameters to call in test
10015 names. Use "extra output N" in test names for extra outputs
10016 rather than naming variables.
10018 2013-05-18 Joseph Myers <joseph@codesourcery.com>
10021 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10022 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10023 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10025 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10027 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10030 * math/gen-libm-test.pl (@tests): Remove variable.
10031 ($count): Likewise.
10032 (new_test): Remove function.
10033 (show_exceptions): New function.
10034 (special_functions): Use show_exceptions instead of new_test.
10035 (parse_args): Likewise.
10036 (generate_testfile): Pass only function name in generated call to
10037 print_max_error or print_complex_max_error.
10038 (get_ulps): Do not handle complex tests specially.
10039 (output_test): Rename to ...
10040 (get_all_ulps_for_test): ... this. Return a string rather than
10041 printing to a file. Require ulps to be present.
10042 (output_ulps): Generate arrays rather than #defines.
10043 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10044 (struct ulp_data): New type.
10045 (BUILD_COMPLEX_ULP): Remove macro.
10046 (compare_ulp_data): New function.
10047 (find_ulps): Likewise.
10048 (find_test_ulps): Likewise.
10049 (find_function_ulps): Likewise.
10050 (find_complex_function_ulps): Likewise.
10051 (print_max_error): Determine allowed ulps using
10052 find_function_ulps.
10053 (print_complex_max_error): Determine allowed ulps using
10054 find_complex_function_ulps.
10055 (check_float_internal): Determine max ulps using find_test_ulps.
10056 (check_float): Do not take max_ulp parameter. Update call to
10057 check_float_internal.
10058 (check_complex): Likewise.
10059 (check_int): Do not take max_ulp parameter.
10060 (check_long): Likewise.
10061 (check_bool): Likewise.
10062 (check_longlong): Likewise.
10063 (struct test_f_f_data): Remove max_ulp field.
10064 (struct test_ff_f_data): Likewise.
10065 (struct test_ff_f_data_nexttoward): Likewise.
10066 (struct test_fi_f_data): Likewise.
10067 (struct test_fl_f_data): Likewise.
10068 (struct test_if_f_data): Likewise.
10069 (struct test_fff_f_data): Likewise.
10070 (struct test_c_f_data): Likewise.
10071 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10072 (struct test_fF_f1_data): Likewise.
10073 (struct test_ffI_f1_data): Likewise.
10074 (struct test_c_c_data): Remove max_ulp field.
10075 (struct test_cc_c_data): Likewise.
10076 (struct test_f_i_data): Likewise.
10077 (struct test_ff_i_data): Likewise.
10078 (struct test_f_l_data): Likewise.
10079 (struct test_f_L_data): Likewise.
10080 (struct test_sincos_data): Likewise.
10081 (RUN_TEST_f_f): Do not handle ulps.
10082 (RUN_TEST_LOOP_f_f): Likewise.
10083 (RUN_TEST_2_f): Likewise.
10084 (RUN_TEST_LOOP_2_f): Likewise.
10085 (RUN_TEST_fff_f): Likewise.
10086 (RUN_TEST_LOOP_fff_f): Likewise.
10087 (RUN_TEST_c_f): Likewise.
10088 (RUN_TEST_LOOP_c_f): Likewise.
10089 (RUN_TEST_f_f1): Likewise.
10090 (RUN_TEST_LOOP_f_f1): Likewise.
10091 (RUN_TEST_fF_f1): Likewise.
10092 (RUN_TEST_LOOP_fF_f1): Likewise.
10093 (RUN_TEST_fI_f1): Likewise.
10094 (RUN_TEST_LOOP_fI_f1): Likewise.
10095 (RUN_TEST_ffI_f1): Likewise.
10096 (RUN_TEST_LOOP_ffI_f1): Likewise.
10097 (RUN_TEST_c_c): Likewise.
10098 (RUN_TEST_LOOP_c_c): Likewise.
10099 (RUN_TEST_cc_c): Likewise.
10100 (RUN_TEST_LOOP_cc_c): Likewise.
10101 (RUN_TEST_f_i): Likewise.
10102 (RUN_TEST_LOOP_f_i): Likewise.
10103 (RUN_TEST_f_i_tg): Likewise.
10104 (RUN_TEST_LOOP_f_i_tg): Likewise.
10105 (RUN_TEST_ff_i_tg): Likewise.
10106 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10107 (RUN_TEST_f_b): Likewise.
10108 (RUN_TEST_LOOP_f_b): Likewise.
10109 (RUN_TEST_f_b_tg): Likewise.
10110 (RUN_TEST_LOOP_f_b_tg): Likewise.
10111 (RUN_TEST_f_l): Likewise.
10112 (RUN_TEST_LOOP_f_l): Likewise.
10113 (RUN_TEST_f_L): Likewise.
10114 (RUN_TEST_LOOP_f_L): Likewise.
10115 (RUN_TEST_sincos): Likewise.
10116 (RUN_TEST_LOOP_sincos): Likewise.
10118 2013-05-17 Joseph Myers <joseph@codesourcery.com>
10122 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10123 main case of finite arguments, set rounding mode to FE_TONEAREST
10124 and discard exceptions.
10125 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10127 (remainder_tonearest_test_data): New variable.
10128 (remainder_test_tonearest): New function.
10129 (remainder_towardzero_test_data): New variable.
10130 (remainder_test_towardzero): New function.
10131 (remainder_downward_test_data): New variable.
10132 (remainder_test_downward): New function.
10133 (remainder_upward_test_data): New variable.
10134 (remainder_test_upward): New function.
10135 (main): Call the new test functions.
10137 * math/libm-test.inc (struct test_f_f1_data): Remove field
10139 (struct test_fF_f1_data): Likewise.
10140 (struct test_ffI_f1_data): Likewise.
10141 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10142 based on value of EXTRA_EXPECTED.
10143 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10144 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10145 EXTRA_VAR based on value of EXTRA_EXPECTED.
10146 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10147 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10148 EXTRA_VAR based on value of EXTRA_EXPECTED.
10149 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10150 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10151 EXTRA_VAR based on value of EXTRA_EXPECTED.
10152 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10153 * math/gen-libm-test.pl (parse_args): Don't output initializers
10154 for extra output values.
10156 * math/libm-test.inc (check_int): Expect result to be exactly
10157 equal to expected value and do not handle ulps.
10158 (check_long): Likewise.
10159 (check_longlong): Likewise.
10161 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10163 (cimag_test_data): Likewise.
10164 (conj_test_data): Likewise.
10165 (copysign_test_data): Likewise.
10166 (cproj_test_data): Likewise.
10167 (creal_test_data): Likewise.
10168 (fabs_test_data): Likewise.
10169 (fdim_test_data): Likewise.
10170 (finite_test_data): Likewise.
10171 (floor_test_data): Likewise.
10172 (fmax_test_data): Likewise.
10173 (fmin_test_data): Likewise.
10174 (fmod_test_data): Likewise.
10175 (fpclassify_test_data): Likewise.
10176 (frexp_test_data): Likewise.
10177 (ilogb_test_data): Likewise.
10178 (isfinite_test_data): Likewise.
10179 (isgreater_test_data): Likewise.
10180 (isgreaterequal_test_data): Likewise.
10181 (isinf_test_data): Likewise.
10182 (isless_test_data): Likewise.
10183 (islessequal_test_data): Likewise.
10184 (islessgreater_test_data): Likewise.
10185 (isnan_test_data): Likewise.
10186 (isnormal_test_data): Likewise.
10187 (issignaling_test_data): Likewise.
10188 (isunordered_test_data): Likewise.
10189 (ldexp_test_data): Likewise.
10190 (lrint_test_data): Likewise.
10191 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10192 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10193 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10194 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10195 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10196 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10198 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10199 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10200 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10201 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10203 (lrint_downward_test_data): Test for "inexact" exceptions.
10204 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10205 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10206 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10208 (lrint_upward_test_data): Test for "inexact" exceptions.
10209 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10211 (llrint_test_data): Test for "inexact" exceptions.
10212 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10213 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10214 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10215 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10216 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10217 (llrint_downward_test_data): Test for "inexact" exceptions.
10218 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10219 (llrint_upward_test_data): Test for "inexact" exceptions.
10220 (logb_test_data): Likewise.
10221 (logb_downward_test_data): Likewise.
10222 (nextafter_test_data): Likewise.
10223 (nexttoward_test_data): Likewise.
10224 (remainder_test_data): Likewise.
10225 (remquo_test_data): Likewise.
10226 (scalbn_test_data): Likewise.
10227 (scalbln_test_data): Likewise.
10228 (signbit_test_data): Likewise.
10229 (sqrt_test_data): Likewise.
10230 (significand_test_data): Likewise.
10232 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10235 * benchtests/bench-modf.c (struct args): Mark arg0 as
10237 * scripts/bench.pl: Mark members of struct args as volatile.
10239 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10242 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10243 negative infinity on POWER6 or lower.
10244 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10246 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10249 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10250 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10251 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10252 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10253 (_FP_SETQNAN): New macro.
10254 (_FP_SETQNAN_SEMIRAW): Likewise.
10255 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10256 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10257 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10258 (FP_EXTEND): Use _FP_FRAC_SNANP.
10259 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10260 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10262 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10264 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10267 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10269 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10270 with DIVIDE_BY_ZERO_EXCEPTION.
10271 (gamma_test_data): Likewise.
10272 (lgamma_test_data): Likewise.
10273 (log_test_data): Likewise.
10274 (log10_test_data): Likewise.
10275 (log2_test_data): Likewise.
10276 (tgamma_test_data): Likewise.
10278 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10279 (acos_test_tonearest): Likewise.
10280 (acos_test_towardzero): Likewise.
10281 (acos_test_downward): Likewise.
10282 (acos_test_upward): Likewise.
10283 (acosh_test): Likewise.
10284 (asin_test): Likewise.
10285 (asin_test_tonearest): Likewise.
10286 (asin_test_towardzero): Likewise.
10287 (asin_test_downward): Likewise.
10288 (asin_test_upward): Likewise.
10289 (asinh_test): Likewise.
10290 (atan_test): Likewise.
10291 (atanh_test): Likewise.
10292 (atan2_test): Likewise.
10293 (cabs_test): Likewise.
10294 (cacos_test): Likewise.
10295 (cacosh_test): Likewise.
10296 (casin_test): Likewise.
10297 (casinh_test): Likewise.
10298 (catan_test): Likewise.
10299 (catanh_test): Likewise.
10300 (cbrt_test): Likewise.
10301 (ccos_test): Likewise.
10302 (ccosh_test): Likewise.
10303 (cexp_test): Likewise.
10304 (clog_test): Likewise.
10305 (clog10_test): Likewise.
10306 (cos_test): Likewise.
10307 (cos_test_tonearest): Likewise.
10308 (cos_test_towardzero): Likewise.
10309 (cos_test_downward): Likewise.
10310 (cos_test_upward): Likewise.
10311 (cosh_test): Likewise.
10312 (cosh_test_tonearest): Likewise.
10313 (cosh_test_towardzero): Likewise.
10314 (cosh_test_downward): Likewise.
10315 (cosh_test_upward): Likewise.
10316 (cpow_test): Likewise.
10317 (csin_test): Likewise.
10318 (csinh_test): Likewise.
10319 (csqrt_test): Likewise.
10320 (ctan_test): Likewise.
10321 (ctan_test_tonearest): Likewise.
10322 (ctan_test_towardzero): Likewise.
10323 (ctan_test_downward): Likewise.
10324 (ctan_test_upward): Likewise.
10325 (ctanh_test): Likewise.
10326 (ctanh_test_tonearest): Likewise.
10327 (ctanh_test_towardzero): Likewise.
10328 (ctanh_test_downward): Likewise.
10329 (ctanh_test_upward): Likewise.
10330 (erf_test): Likewise.
10331 (erfc_test): Likewise.
10332 (exp_test): Likewise.
10333 (exp_test_tonearest): Likewise.
10334 (exp_test_towardzero): Likewise.
10335 (exp_test_downward): Likewise.
10336 (exp_test_upward): Likewise.
10337 (exp10_test): Likewise.
10338 (exp2_test): Likewise.
10339 (expm1_test): Likewise.
10340 (fmod_test): Likewise.
10341 (gamma_test): Likewise.
10342 (hypot_test): Likewise.
10343 (j0_test): Likewise.
10344 (j1_test): Likewise.
10345 (jn_test): Likewise.
10346 (lgamma_test): Likewise.
10347 (log_test): Likewise.
10348 (log10_test): Likewise.
10349 (log1p_test): Likewise.
10350 (log2_test): Likewise.
10351 (logb_test_downward): Likewise.
10352 (pow_test): Likewise.
10353 (pow_test_tonearest): Likewise.
10354 (pow_test_towardzero): Likewise.
10355 (pow_test_downward): Likewise.
10356 (pow_test_upward): Likewise.
10357 (remainder_test): Likewise.
10358 (remquo_test): Likewise.
10359 (sin_test): Likewise.
10360 (sin_test_tonearest): Likewise.
10361 (sin_test_towardzero): Likewise.
10362 (sin_test_downward): Likewise.
10363 (sin_test_upward): Likewise.
10364 (sincos_test): Likewise.
10365 (sinh_test): Likewise.
10366 (sinh_test_tonearest): Likewise.
10367 (sinh_test_towardzero): Likewise.
10368 (sinh_test_downward): Likewise.
10369 (sinh_test_upward): Likewise.
10370 (sqrt_test): Likewise.
10371 (tan_test): Likewise.
10372 (tan_test_tonearest): Likewise.
10373 (tan_test_towardzero): Likewise.
10374 (tan_test_downward): Likewise.
10375 (tan_test_upward): Likewise.
10376 (tanh_test): Likewise.
10377 (tgamma_test): Likewise.
10378 (y0_test): Likewise.
10379 (y1_test): Likewise.
10380 (yn_test): Likewise.
10382 * math/gen-libm-test.pl (adjust_arg): Remove function.
10383 (special_function): Remove argument $in_func. Only handle
10384 generating output for tables of tests, not inside functions.
10385 (parse_args): Likewise.
10386 (generate_testfile): Remove variable $in_func. Update call to
10388 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10389 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10390 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10391 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10392 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10393 (MAX_VALUE_INIT): Rename macro to max_value.
10394 (MIN_VALUE_INIT): Rename macro to min_value.
10395 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10396 (plus_zero): Remove variable.
10397 (minus_zero): Likewise.
10398 (plus_infty): Likewise.
10399 (minus_infty): Likewise.
10400 (qnan_value): Likewise.
10401 (max_value): Likewise.
10402 (min_value): Likewise.
10403 (min_subnorm_value): Likewise.
10405 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10407 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10408 uint64_t or uint32_t usage.
10409 * crypt/sha256-block.c: Likewise.
10410 * crypt/sha256-crypt.c: Likewise.
10411 * crypt/sha256.c: Likewise.
10412 * crypt/sha512-block.c: Likewise.
10413 * crypt/sha512-crypt.c: Likewise.
10414 * crypt/sha512.c: Likewise.
10415 * debug/backtrace-tst.c: Likewise.
10416 * debug/pcprofiledump.c: Likewise.
10417 * elf/cache.c: Likewise.
10418 * elf/dl-cache.c: Likewise.
10419 * elf/dl-misc.c: Likewise.
10420 * elf/dl-profile.c: Likewise.
10421 * elf/dl-support.c: Likewise.
10422 * elf/ldconfig.c: Likewise.
10423 * elf/sprof.c: Likewise.
10424 * iconv/dummy-repertoire.c: Likewise.
10425 * iconv/iconv_charmap.c: Likewise.
10426 * iconv/skeleton.c: Likewise.
10427 * iconvdata/8bit-generic.c: Likewise.
10428 * iconvdata/cp737.h: Likewise.
10429 * iconvdata/cp775.h: Likewise.
10430 * iconvdata/ibm1008.h: Likewise.
10431 * iconvdata/ibm1025.h: Likewise.
10432 * iconvdata/ibm1046.h: Likewise.
10433 * iconvdata/ibm1097.h: Likewise.
10434 * iconvdata/ibm1112.h: Likewise.
10435 * iconvdata/ibm1122.h: Likewise.
10436 * iconvdata/ibm1123.h: Likewise.
10437 * iconvdata/ibm1124.h: Likewise.
10438 * iconvdata/ibm1129.h: Likewise.
10439 * iconvdata/ibm1130.h: Likewise.
10440 * iconvdata/ibm1132.h: Likewise.
10441 * iconvdata/ibm1133.h: Likewise.
10442 * iconvdata/ibm1137.h: Likewise.
10443 * iconvdata/ibm1140.h: Likewise.
10444 * iconvdata/ibm1141.h: Likewise.
10445 * iconvdata/ibm1142.h: Likewise.
10446 * iconvdata/ibm1143.h: Likewise.
10447 * iconvdata/ibm1144.h: Likewise.
10448 * iconvdata/ibm1145.h: Likewise.
10449 * iconvdata/ibm1146.h: Likewise.
10450 * iconvdata/ibm1147.h: Likewise.
10451 * iconvdata/ibm1148.h: Likewise.
10452 * iconvdata/ibm1149.h: Likewise.
10453 * iconvdata/ibm1153.h: Likewise.
10454 * iconvdata/ibm1154.h: Likewise.
10455 * iconvdata/ibm1155.h: Likewise.
10456 * iconvdata/ibm1156.h: Likewise.
10457 * iconvdata/ibm1157.h: Likewise.
10458 * iconvdata/ibm1158.h: Likewise.
10459 * iconvdata/ibm1160.h: Likewise.
10460 * iconvdata/ibm1161.h: Likewise.
10461 * iconvdata/ibm1162.h: Likewise.
10462 * iconvdata/ibm1163.h: Likewise.
10463 * iconvdata/ibm1164.h: Likewise.
10464 * iconvdata/ibm1166.h: Likewise.
10465 * iconvdata/ibm1167.h: Likewise.
10466 * iconvdata/ibm12712.h: Likewise.
10467 * iconvdata/ibm1390.h: Likewise.
10468 * iconvdata/ibm1399.h: Likewise.
10469 * iconvdata/ibm16804.h: Likewise.
10470 * iconvdata/ibm4517.h: Likewise.
10471 * iconvdata/ibm4899.h: Likewise.
10472 * iconvdata/ibm4909.h: Likewise.
10473 * iconvdata/ibm4971.h: Likewise.
10474 * iconvdata/ibm5347.h: Likewise.
10475 * iconvdata/ibm803.h: Likewise.
10476 * iconvdata/ibm856.h: Likewise.
10477 * iconvdata/ibm901.h: Likewise.
10478 * iconvdata/ibm902.h: Likewise.
10479 * iconvdata/ibm9030.h: Likewise.
10480 * iconvdata/ibm9066.h: Likewise.
10481 * iconvdata/ibm921.h: Likewise.
10482 * iconvdata/ibm922.h: Likewise.
10483 * iconvdata/ibm9448.h: Likewise.
10484 * iconvdata/isiri-3342.h: Likewise.
10485 * iconvdata/jis0201.h: Likewise.
10486 * include/link.h: Likewise.
10487 * include/netdb.h: Likewise.
10488 * inet/check_native.c: Likewise.
10489 * inet/check_pf.c: Likewise.
10490 * inet/getipv4sourcefilter.c: Likewise.
10491 * inet/getnameinfo.c: Likewise.
10492 * inet/getsourcefilter.c: Likewise.
10493 * inet/htonl.c: Likewise.
10494 * inet/setipv4sourcefilter.c: Likewise.
10495 * inet/setsourcefilter.c: Likewise.
10496 * inet/test-inet6_opt.c: Likewise.
10497 * inet/tst-network.c: Likewise.
10498 * locale/C-collate.c: Likewise.
10499 * locale/C-ctype.c: Likewise.
10500 * locale/C-time.c: Likewise.
10501 * locale/C-translit.h: Likewise.
10502 * locale/loadarchive.c: Likewise.
10503 * locale/programs/3level.h: Likewise.
10504 * locale/programs/charmap.c: Likewise.
10505 * locale/programs/charmap.h: Likewise.
10506 * locale/programs/ld-address.c: Likewise.
10507 * locale/programs/ld-collate.c: Likewise.
10508 * locale/programs/ld-ctype.c: Likewise.
10509 * locale/programs/ld-identification.c: Likewise.
10510 * locale/programs/ld-measurement.c: Likewise.
10511 * locale/programs/ld-messages.c: Likewise.
10512 * locale/programs/ld-monetary.c: Likewise.
10513 * locale/programs/ld-name.c: Likewise.
10514 * locale/programs/ld-numeric.c: Likewise.
10515 * locale/programs/ld-paper.c: Likewise.
10516 * locale/programs/ld-telephone.c: Likewise.
10517 * locale/programs/ld-time.c: Likewise.
10518 * locale/programs/linereader.c: Likewise.
10519 * locale/programs/locale.c: Likewise.
10520 * locale/programs/locarchive.c: Likewise.
10521 * locale/programs/locfile.h: Likewise.
10522 * locale/programs/repertoire.c: Likewise.
10523 * locale/programs/simple-hash.c: Likewise.
10524 * locale/programs/simple-hash.h: Likewise.
10525 * malloc/memusage.c: Likewise.
10526 * malloc/memusagestat.c: Likewise.
10527 * nis/nis_defaults.c: Likewise.
10528 * nis/nis_hash.c: Likewise.
10529 * nis/nis_print.c: Likewise.
10530 * nis/nis_xdr.c: Likewise.
10531 * nscd/connections.c: Likewise.
10532 * nscd/hstcache.c: Likewise.
10533 * nscd/nscd_gethst_r.c: Likewise.
10534 * nscd/nscd_getserv_r.c: Likewise.
10535 * nscd/nscd_helper.c: Likewise.
10536 * nscd/servicescache.c: Likewise.
10537 * nss/makedb.c: Likewise.
10538 * nss/nss_db/db-XXX.c: Likewise.
10539 * nss/nss_db/db-initgroups.c: Likewise.
10540 * nss/nss_db/db-netgrp.c: Likewise.
10541 * nss/nss_files/files-network.c: Likewise.
10542 * nss/nss_files/files-parse.c: Likewise.
10543 * posix/bug-regex5.c: Likewise.
10544 * posix/fnmatch_loop.c: Likewise.
10545 * posix/regcomp.c: Likewise.
10546 * posix/regexec.c: Likewise.
10547 * posix/tst-rfc3484-2.c: Likewise.
10548 * posix/tst-rfc3484-3.c: Likewise.
10549 * posix/tst-rfc3484.c: Likewise.
10550 * resolv/nss_dns/dns-canon.c: Likewise.
10551 * resolv/nss_dns/dns-network.c: Likewise.
10552 * resolv/res_init.c: Likewise.
10553 * resolv/res_mkquery.c: Likewise.
10554 * resolv/tst-aton.c: Likewise.
10555 * stdlib/cxa_atexit.c: Likewise.
10556 * stdlib/cxa_finalize.c: Likewise.
10557 * stdlib/gen-fpioconst.c: Likewise.
10558 * stdlib/strtol_l.c: Likewise.
10559 * string/tst-endian.c: Likewise.
10560 * sunrpc/auth_des.c: Likewise.
10561 * sunrpc/clnt_udp.c: Likewise.
10562 * sunrpc/rtime.c: Likewise.
10563 * sunrpc/svcauth_des.c: Likewise.
10564 * sunrpc/xdr.c: Likewise.
10565 * sunrpc/xdr_intXX_t.c: Likewise.
10566 * sunrpc/xdr_rec.c: Likewise.
10567 * sysdeps/generic/ldconfig.h: Likewise.
10568 * sysdeps/generic/ldsodefs.h: Likewise.
10569 * sysdeps/generic/memusage.h: Likewise.
10570 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10574 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10575 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10576 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10579 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10580 * sysdeps/posix/getaddrinfo.c: Likewise.
10581 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10582 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10583 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10584 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10585 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10586 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10587 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10588 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10589 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10590 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10591 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10592 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10593 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10594 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10595 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10596 * sysdeps/x86_64/dl-tls.h: Likewise.
10597 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10598 * time/alt_digit.c: Likewise.
10599 * time/era.c: Likewise.
10600 * wcsmbs/tst-c16c32-1.c: Likewise.
10602 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10604 * math/libm-test.inc (struct test_sincos_data): New type.
10605 (RUN_TEST_LOOP_sincos): New macro.
10606 (sincos_test_data): New variable.
10607 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10609 2013-05-16 Richard Henderson <rth@redhat.com>
10611 * math/atest-exp2.c (LIMB64): New macro.
10612 (CONSTSZ): New macro.
10613 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10615 (print_mpn_fp): ... to function scope.
10616 (read_mpn_hex): Remove.
10617 (get_log2): Remove.
10618 (exp2_mpn): Use mp_log2.
10619 (main): Use mp_exp1.
10621 2013-05-16 Joseph Myers <joseph@codesourcery.com>
10623 * math/libm-test.inc: Remove comment about not testing "inexact"
10625 (INEXACT_EXCEPTION): New macro.
10626 (NO_INEXACT_EXCEPTION): Likewise.
10627 (INVALID_EXCEPTION_OK): Update value.
10628 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10629 (OVERFLOW_EXCEPTION_OK): Likewise.
10630 (UNDERFLOW_EXCEPTION_OK): Likewise.
10631 (IGNORE_ZERO_INF_SIGN): Likewise.
10632 (ERRNO_UNCHANGED): Likewise.
10633 (ERRNO_EDOM): Likewise.
10634 (ERRNO_ERANGE): Likewise.
10635 (test_exceptions): Handle testing "inexact" exceptions.
10636 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10637 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10638 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10639 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10641 (rint_towardzero_test_data): Likewise.
10642 (rint_downward_test_data): Likewise.
10643 (rint_upward_test_data): Likewise.
10645 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10646 with OVERFLOW_EXCEPTION.
10647 (exp10_test_data): Likewise.
10648 (exp2_test_data): Likewise.
10649 (expm1_test_data): Likewise.
10650 (lgamma_test_data): Likewise.
10651 (pow_test_data): Likewise.
10652 (tgamma_test_data): Likewise.
10653 (yn_test_data): Remove duplicate test of overflow.
10655 * math/libm-test.inc (struct test_cc_c_data): New type.
10656 (RUN_TEST_LOOP_cc_c): New macro.
10657 (cpow_test_data): New variable.
10658 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10660 * math/libm-test.inc (struct test_f_L_data): New type.
10661 (RUN_TEST_LOOP_f_L): New macro.
10662 (llrint_test_data): New variable.
10663 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10664 (llrint_tonearest_test_data): New variable.
10665 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10666 (llrint_towardzero_test_data): New variable.
10667 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10668 (llrint_downward_test_data): New variable.
10669 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10670 (llrint_upward_test_data): New variable.
10671 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10672 (llround_test_data): New variable.
10673 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10675 2013-05-13 Peter Collingbourne <pcc@google.com>
10677 * math/atest-exp2.c (get_log2): Remove const attribute.
10679 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10681 * math/libm-test.inc (struct test_f_l_data): New type.
10682 (RUN_TEST_LOOP_f_l): New macro.
10683 (lrint_test_data): New variable.
10684 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10685 (lrint_tonearest_test_data): New variable.
10686 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10687 (lrint_towardzero_test_data): New variable.
10688 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10689 (lrint_downward_test_data): New variable.
10690 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10691 (lrint_upward_test_data): New variable.
10692 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10693 (lround_test_data): New variable.
10694 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10696 2013-05-15 Peter Collingbourne <pcc@google.com>
10698 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10699 (EXTRACT_WORDS64) Use where appropriate.
10700 (INSERT_WORDS64) Likewise.
10702 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10703 constraints with x constraints.
10704 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10706 * malloc/obstack.c (_obstack_compat): Add initializer.
10708 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10710 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10711 si_trapno and add si_addr_lsb to _sifields.sigfault.
10712 (si_trapno): Remove macro.
10713 (si_addr_lsb): Define new macro.
10714 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10716 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10718 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10719 instead of TEST_f_l.
10720 (llrint_test_tonearest): Likewise.
10721 (llrint_test_towardzero): Likewise.
10722 (llrint_test_downward): Likewise.
10723 (llrint_test_upward): Likewise.
10724 (llround_test): Likewise.
10726 * math/libm-test.inc (struct test_f_i_data): Add comment.
10727 (RUN_TEST_LOOP_f_b): New macro.
10728 (RUN_TEST_LOOP_f_b_tg): Likewise.
10729 (finite_test_data): New variable.
10730 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10731 (isfinite_test_data): New variable.
10732 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10733 (isinf_test_data): New variable.
10734 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10735 (isnan_test_data): New variable.
10736 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10737 (isnormal_test_data): New variable.
10738 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10739 (issignaling_test_data): New variable.
10740 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10741 (signbit_test_data): New variable.
10742 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10744 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10745 with INVALID_EXCEPTION.
10746 (acosh_test_data): Likewise.
10747 (asin_test_data): Likewise.
10748 (atanh_test_data): Likewise.
10749 (fmod_test_data): Likewise.
10750 (log_test_data): Likewise.
10751 (log10_test_data): Likewise.
10752 (log2_test_data): Likewise.
10753 (pow_test_data): Likewise.
10754 (sqrt_test_data): Likewise.
10755 (y0_test_data): Likewise.
10756 (y1_test_data): Likewise.
10757 (yn_test_data): Likewise.
10759 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10762 * math/libm-test.inc (struct test_ff_i_data): New type.
10763 (RUN_TEST_LOOP_ff_i_tg): New macro.
10764 (isgreater_test_data): New variable.
10765 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10766 (isgreaterequal_test_data): New variable.
10767 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10768 (isless_test_data): New variable.
10769 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10770 (islessequal_test_data): New variable.
10771 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10772 (islessgreater_test_data): New variable.
10773 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10774 (isunordered_test_data): New variable.
10775 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10777 2013-05-14 David S. Miller <davem@davemloft.net>
10779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10781 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10783 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10785 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10787 (struct test_f_i_data): Change type of max_ulp to int.
10789 * math/libm-test.inc (test_ffI_f1_data): New type.
10790 (RUN_TEST_LOOP_ffI_f1): New macro.
10791 (remquo_test_data): New variable.
10792 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10794 * setjmp/tst-setjmp-fp.c: New file.
10795 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10796 (link-libm): New variable.
10797 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10799 * math/libm-test.inc (struct test_f_i_data): New type.
10800 (RUN_TEST_LOOP_f_i): New macro.
10801 (RUN_TEST_LOOP_f_i_tg): Likewise.
10802 (fpclassify_test_data): New variable.
10803 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10804 (ilogb_test_data): New variable.
10805 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10807 * math/libm-test.inc (scalbln_test): Correct function name in END
10810 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10811 (RUN_TEST_LOOP_fI_f1): New macro.
10812 (frexp_test_data): New variable.
10813 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10815 * math/libm-test.inc (struct test_fF_f1_data): New type.
10816 (RUN_TEST_LOOP_fF_f1): New macro.
10817 (modf_test_data): New variable.
10818 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10820 * math/libm-test.inc (struct test_f_f1_data): New type.
10821 (RUN_TEST_LOOP_f_f1): New macro.
10822 (gamma_test_data): New variable.
10823 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10824 (lgamma_test_data): New variable.
10825 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10827 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10829 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10830 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10831 (main): Comment "tls" pseudo-hwcap.
10833 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10835 * math/libm-test.inc (struct test_fl_f_data): New type.
10836 (RUN_TEST_LOOP_fl_f): New variable.
10837 (scalbln_test_data): New variable.
10838 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10840 * math/libm-test.inc (struct test_fi_f_data): New type.
10841 (RUN_TEST_LOOP_fi_f): New macro.
10842 (ldexp_test_data): New variable.
10843 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10844 (scalbn_test_data): New variable.
10845 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10847 * math/libm-test.inc (struct test_c_f_data): New type.
10848 (RUN_TEST_LOOP_c_f): New macro.
10849 (cabs_test_data): New variable.
10850 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10851 (carg_test_data): New variable.
10852 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10853 (cimag_test_data): New variable.
10854 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10855 (creal_test_data): New variable.
10856 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10858 * math/libm-test.inc (struct test_if_f_data): New type.
10859 (RUN_TEST_LOOP_if_f): New macro.
10860 (jn_test_data): New variable.
10861 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10862 (yn_test_data): New variable.
10863 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10865 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10867 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10869 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10870 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10872 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10874 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10875 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10876 (bench-deps): Add bench-timing.h.
10877 * benchtests-bench-skeleton.c: Include bench-timing.h.
10878 (main): Use TIMING_* macros instead of clock_gettime.
10879 * benchtests/bench-timing.h: New file.
10882 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10883 Renamed from _LIB_VERSION.
10884 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10886 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10888 * math/libm-test.inc (struct test_fff_f_data): New type.
10889 (RUN_TEST_LOOP_fff_f): New macro.
10890 (fma_test_data): New variable.
10891 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10892 (fma_towardzero_test_data): New variable.
10893 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10894 (fma_downward_test_data): New variable.
10895 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10896 (fma_upward_test_data): New variable.
10897 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10899 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10900 (struct test_c_c_data): New type.
10901 (RUN_TEST_LOOP_c_c): New macro.
10902 (cacos_test_data): New variable.
10903 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10904 (cacosh_test_data): New variable.
10905 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10906 (casin_test_data): New variable.
10907 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10908 (casinh_test_data): New variable.
10909 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10910 (catan_test_data): New variable.
10911 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10912 (catanh_test_data): New variable.
10913 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10914 (ccos_test_data): New variable.
10915 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10916 (ccosh_test_data): New variable.
10917 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10918 (cexp_test_data): New variable.
10919 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10920 (clog_test_data): New variable.
10921 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10922 (clog10_test_data): New variable.
10923 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10924 (conj_test_data): New variable.
10925 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10926 (cproj_test_data): New variable.
10927 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10928 (csin_test_data): New variable.
10929 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10930 (csinh_test_data): New variable.
10931 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10932 (csqrt_test_data): New variable.
10933 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10934 (ctan_test_data): New variable.
10935 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10936 (ctan_tonearest_test_data): New variable.
10937 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10938 (ctan_towardzero_test_data): New variable.
10939 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10940 (ctan_downward_test_data): New variable.
10941 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10942 (ctan_upward_test_data): New variable.
10943 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10944 (ctanh_test_data): New variable.
10945 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10946 (ctanh_tonearest_test_data): New variable.
10947 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10948 (ctanh_towardzero_test_data): New variable.
10949 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10950 (ctanh_downward_test_data): New variable.
10951 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10952 (ctanh_upward_test_data): New variable.
10953 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10954 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10957 * math/libm-test.inc (struct test_ff_f_data): New type.
10958 (struct test_ff_f_data_nexttoward): Likewise.
10959 (RUN_TEST_LOOP_2_f): New macro.
10960 (RUN_TEST_LOOP_ff_f): Likewise.
10961 (atan2_test_data): New variable.
10962 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10963 (copysign_test_data): New variable.
10964 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10965 (fdim_test_data): New variable.
10966 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10967 (fmax_test_data): New variable.
10968 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10969 (fmin_test_data): New variable.
10970 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10971 (fmod_test_data): New variable.
10972 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10973 (hypot_test_data): New variable.
10974 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10975 (nextafter_test_data): New variable.
10976 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10977 (nexttoward_test_data): New variable.
10978 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10979 (pow_test_data): New variable.
10980 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10981 (pow_tonearest_test_data): New variable.
10982 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10983 (pow_towardzero_test_data): New variable.
10984 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10985 (pow_downward_test_data): New variable.
10986 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10987 (pow_upward_test_data): New variable.
10988 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10989 (remainder_test_data): New variable.
10990 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10991 (scalb_test_data): New variable.
10992 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10993 * sysdeps/i386/fpu/libm-test-ulps: Update.
10995 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10997 * math/libm-test.inc (fma_test): Use max_value instead of local
10999 (nextafter_test): Likewise.
11001 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11002 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11003 (acos_downward_test_data): New variable.
11004 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11005 (acos_upward_test_data): New variable.
11006 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11007 (acosh_test_data): New variable.
11008 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11009 (asin_test_data): New variable.
11010 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11011 (asin_tonearest_test_data): New variable.
11012 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11013 (asin_towardzero_test_data): New variable.
11014 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11015 (asin_downward_test_data): New variable.
11016 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11017 (asin_upward_test_data): New variable.
11018 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11019 (asinh_test_data): New variable.
11020 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11021 (atan_test_data): New variable.
11022 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11023 (atanh_test_data): New variable.
11024 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11025 (cbrt_test_data): New variable.
11026 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11027 (ceil_test_data): New variable.
11028 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11029 (cos_test_data): New variable.
11030 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11031 (cos_tonearest_test_data): New variable.
11032 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11033 (cos_towardzero_test_data): New variable.
11034 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11035 (cos_downward_test_data): New variable.
11036 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11037 (cos_upward_test_data): New variable.
11038 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11039 (cosh_test_data): New variable.
11040 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11041 (cosh_tonearest_test_data): New variable.
11042 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11043 (cosh_towardzero_test_data): New variable.
11044 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11045 (cosh_downward_test_data): New variable.
11046 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11047 (cosh_upward_test_data): New variable.
11048 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11049 (erf_test_data): New variable.
11050 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11051 (erfc_test_data): New variable.
11052 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11053 (exp_test_data): New variable.
11054 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11055 (exp_tonearest_test_data): New variable.
11056 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11057 (exp_towardzero_test_data): New variable.
11058 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11059 (exp_downward_test_data): New variable.
11060 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11061 (exp_upward_test_data): New variable.
11062 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11063 (exp10_test_data): New variable.
11064 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11065 (exp2_test_data): New variable.
11066 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11067 (expm1_test_data): New variable.
11068 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11069 (fabs_test_data): New variable.
11070 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11071 (floor_test_data): New variable.
11072 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11073 (j0_test_data): New variable.
11074 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11075 (j1_test_data): New variable.
11076 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11077 (log_test_data): New variable.
11078 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11079 (log10_test_data): New variable.
11080 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11081 (log1p_test_data): New variable.
11082 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11083 (log2_test_data): New variable.
11084 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11085 (logb_test_data): New variable.
11086 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11087 (logb_downward_test_data): New variable.
11088 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11089 (nearbyint_test_data): New variable.
11090 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11091 (rint_test_data): New variable.
11092 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11093 (rint_tonearest_test_data): New variable.
11094 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11095 (rint_towardzero_test_data): New variable.
11096 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11097 (rint_downward_test_data): New variable.
11098 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11099 (rint_upward_test_data): New variable.
11100 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11101 (round_test_data): New variable.
11102 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11103 (sin_test_data): New variable.
11104 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11105 (sin_tonearest_test_data): New variable.
11106 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11107 (sin_towardzero_test_data): New variable.
11108 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11109 (sin_downward_test_data): New variable.
11110 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11111 (sin_upward_test_data): New variable.
11112 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11113 (sinh_test_data): New variable.
11114 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11115 (sinh_tonearest_test_data): New variable.
11116 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11117 (sinh_towardzero_test_data): New variable.
11118 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11119 (sinh_downward_test_data): New variable.
11120 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11121 (sinh_upward_test_data): New variable.
11122 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11123 (sqrt_test_data): New variable.
11124 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11125 (tan_test_data): New variable.
11126 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11127 (tan_tonearest_test_data): New variable.
11128 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11129 (tan_towardzero_test_data): New variable.
11130 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11131 (tan_downward_test_data): New variable.
11132 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11133 (tan_upward_test_data): New variable.
11134 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11135 (tanh_test_data): New variable.
11136 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11137 (tgamma_test_data): New variable.
11138 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11139 (trunc_test_data): New variable.
11140 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11141 (y0_test_data): New variable.
11142 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11143 (y1_test_data): New variable.
11144 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11145 (significand_test_data): New variable.
11146 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11148 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11151 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11153 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11155 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11157 2013-05-10 Andreas Jaeger <aj@suse.de>
11160 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11161 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11163 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11165 * math/gen-libm-test.pl (adjust_arg): New function.
11166 (special_functions): Handle generating output in both functions
11168 (parse_args): Likewise.
11169 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11170 $in_func argument to parse_args.
11171 * math/libm-test.inc (struct test_f_f_data): New type.
11172 (IF_ROUND_INIT_): New macro.
11173 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11174 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11175 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11176 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11177 (ROUND_RESTORE_): Likewise.
11178 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11179 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11180 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11181 (ROUND_RESTORE_FE_UPWARD): Likewise.
11182 (RUN_TEST_LOOP_f_f): New macro.
11183 (acos_test_data): New variable.
11184 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11185 (acos_tonearest_test_data): New variable.
11186 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11188 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11190 * benchtests/bench-skeleton.c (startup): Fix coding style.
11192 2013-05-10 Joseph Myers <joseph@codesourcery.com>
11195 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11196 negative infinity argument.
11197 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11198 negative infinity argument.
11199 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11200 negative infinity argument.
11201 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11204 2013-05-10 Florian Weimer <fweimer@redhat.com>
11206 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11207 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11208 * iconv/iconv_prog.c (main): Likewise.
11209 * locale/programs/charmap-dir.c (charmap_readdir)
11210 (fopen_uncompressed): Likewise.
11211 * locale/programs/locfile.c (siblings_uncached)
11212 (write_locale_data): Use lstat64 instead of lstat.
11213 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11216 2013-05-10 Andreas Jaeger <aj@suse.de>
11219 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11221 Include <locale.h>.
11223 2013-05-09 Carlos O'Donell <carlos@redhat.com>
11225 * elf/dl-close.c (_dl_close_worker): Add comments.
11227 2013-05-09 Joseph Myers <joseph@codesourcery.com>
11230 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11232 (__ieee754_rem_pio2l): Update comments.
11235 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11237 (__ieee754_rem_pio2l): Update comments.
11239 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11240 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11242 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11245 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11246 (M_PI_34_LOG10El): Likewise.
11247 (M_PI2_LOG10El): Likewise.
11248 (M_PI4_LOG10El): Likewise.
11249 (M_PI_LOG10El): Likewise.
11251 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11255 2013-05-08 Joseph Myers <joseph@codesourcery.com>
11257 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11258 (MINUS_ZERO_INIT): Likewise.
11259 (PLUS_INFTY_INIT): Likewise.
11260 (MINUS_INFTY_INIT): Likewise.
11261 (QNAN_VALUE_INIT): Likewise.
11262 (MAX_VALUE_INIT): Likewise.
11263 (MIN_VALUE_INIT): Likewise.
11264 (MIN_SUBNORM_VALUE_INIT): Likewise.
11265 (plus_zero): Initialize with PLUS_ZERO_INIT.
11266 (minus_zero): Initialize with MINUS_ZERO_INIT.
11267 (plus_infty): Initialize with PLUS_INFTY_INIT.
11268 (minus_infty): Initialize with MINUS_INFTY_INIT.
11269 (qnan_value): Initialize with QNAN_VALUE_INIT.
11270 (max_value): Initialize with MAX_VALUE_INIT.
11271 (min_value): Initialize with MIN_VALUE_INIT.
11272 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11274 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11275 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11276 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11277 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11279 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11280 (RUN_TEST_2_f): Likewise.
11281 (RUN_TEST_ff_f): Likewise.
11282 (RUN_TEST_fi_f): Likewise.
11283 (RUN_TEST_fl_f): Likewise.
11284 (RUN_TEST_fff_f): Likewise.
11285 (RUN_TEST_c_f): Likewise.
11286 (RUN_TEST_f_f1): Likewise.
11287 (RUN_TEST_fF_f1): Likewise.
11288 (RUN_TEST_fI_f1): Likewise.
11289 (RUN_TEST_ffI_f1): Likewise.
11290 (RUN_TEST_c_c): Likewise.
11291 (RUN_TEST_cc_c): Likewise.
11292 (RUN_TEST_f_i): Likewise.
11293 (RUN_TEST_f_i_tg): Likewise.
11294 (RUN_TEST_ff_i_tg): Likewise.
11295 (RUN_TEST_f_b): Likewise.
11296 (RUN_TEST_f_b_tg): Likewise.
11297 (RUN_TEST_f_l): Likewise.
11298 (RUN_TEST_f_L): Likewise.
11299 (RUN_TEST_sincos): Likewise.
11300 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11301 whether to show exceptions. Do not include ");\n" in return
11303 (special_functions): Output call to RUN_TEST_sincos instead of
11304 check_float calls. Update calls to new_test.
11305 (parse_args): Output call to single RUN_TEST_* macro instead of
11306 check_* calls and other assignments. Update calls to new_test.
11312 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11313 input to result for tgamma overflow.
11314 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11315 (gamma_coeff): New variable.
11316 (NCOEFF): New macro.
11317 (gamma_positive): New function.
11318 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11319 underflow here. Use gamma_positive instead of exp (lgamma) for
11321 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11322 (gamma_coeff): New variable.
11323 (NCOEFF): New macro.
11324 (gammaf_positive): New function.
11325 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11326 underflow here. Use gamma_positive instead of exp (lgamma) for
11328 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11329 (gamma_coeff): New variable.
11330 (NCOEFF): New macro.
11331 (gammal_positive): New function.
11332 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11333 underflow here. Use gamma_positive instead of exp (lgamma) for
11335 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11336 (gamma_coeff): New variable.
11337 (NCOEFF): New macro.
11338 (gammal_positive): New function.
11339 (__ieee754_gammal_r): Handle positive infinity, overflow and
11340 underflow here. Handle NaN the same as positive infinity. Remove
11341 check x < 0xffffffff for negative integers. Use gamma_positive
11342 instead of exp (lgamma) for other arguments.
11343 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11344 (gamma_coeff): New variable.
11345 (NCOEFF): New macro.
11346 (gammal_positive): New function.
11347 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11348 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11351 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11352 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11353 * sysdeps/generic/math_private.h (__gamma_productf): New
11355 (__gamma_product): Likewise.
11356 (__gamma_productl): Likewise.
11357 * math/Makefile (libm-calls): Add gamma_product.
11358 * math/libm-test.inc (tgamma_test): Add more tests.
11359 * sysdeps/i386/fpu/libm-test-ulps: Update.
11360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11362 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
11364 * benchtests/bench-skeleton.c (main): Preheat CPU.
11366 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11368 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11370 2013-05-07 Roland McGrath <roland@hack.frob.com>
11372 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11373 and _dl_skip_args_internal.
11375 2013-05-07 Carlos O'Donell <carlos@redhat.com>
11377 * manual/message.texi (Message Translation): Talk about users.
11378 Message to key mapping impacts design.
11380 2013-05-06 Roland McGrath <roland@hack.frob.com>
11382 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11384 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11386 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11387 * sysdeps/wordsize-64/glob64.c: ... here.
11389 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11390 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11393 * debug/getlogin_r_chk.c: Moved to ...
11394 * login/getlogin_r_chk.c: ... here.
11395 * debug/Makefile (routines): Move getlogin_r_chk to ...
11396 * login/Makefile (routines): ... here.
11397 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11398 * login/Versions (libc: GLIBC_2.4): ... here.
11400 * io/poll.c (__poll): Renamed from poll.
11401 Add libc_hidden_def.
11402 (poll): Define as weak alias.
11404 * debug/ptsname_r_chk.c: Moved to ...
11405 * login/ptsname_r_chk.c: ... here.
11406 * debug/Makefile (routines): Move ptsname_r_chk to ...
11407 * login/Makefile (routines): ... here.
11408 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11409 * login/Versions (libc: GLIBC_2.4): ... here.
11411 * posix/getlogin.c: Moved to ...
11412 * login/getlogin.c: ... here.
11413 * posix/getlogin_r.c: Moved to ...
11414 * login/getlogin_r.c: ... here.
11415 * posix/getlogin_r.c: Moved to ...
11416 * login/getlogin_r.c: ... here.
11417 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11418 * login/Makefile (routines): ... here.
11419 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11420 * login/Versions (libc: GLIBC_2.0): ... here.
11422 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11423 (setrlimit): Define as weak alias.
11425 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11426 Call __ names for open, ftruncate, and close.
11427 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11428 (truncate): Define as weak alias.
11430 2013-05-06 Joseph Myers <joseph@codesourcery.com>
11432 * math/gen-libm-test.pl (parse_args): Initialize x before each
11433 test of frexp, modf and remquo.
11435 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11436 test signgam value.
11438 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11442 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11444 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11446 2013-05-06 Roland McGrath <roland@hack.frob.com>
11448 * elf/dl-writev.h: New file.
11449 * elf/dl-misc.c: Include it.
11450 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11451 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11453 2013-05-04 Joseph Myers <joseph@codesourcery.com>
11455 * math/libm-test.inc (noXFails): Remove variable.
11456 (noXPasses): Likewise.
11457 (BUILD_COMPLEX_INT): Remove macro.
11458 (print_screen): Remove xfail argument.
11459 (print_screen_max_error): Likewise.
11460 (update_stats): Likewise.
11461 (print_max_error): Likewise. Update calls to other affected
11463 (print_complex_max_error): Likewise.
11464 (test_single_exception): Update calls to print_screen.
11465 (test_single_errno): Likewise.
11466 (check_float_internal): Remove xfail argument. Update calls to
11467 other affected functions.
11468 (check_float): Likewise.
11469 (check_complex): Likewise.
11470 (check_int): Likewise.
11471 (check_long): Likewise.
11472 (check_bool): Likewise.
11473 (check_longlong): Likewise.
11474 (main): Don't print noXFails and noXPasses.
11475 * math/gen-libm-test.pl (top level): Don't mention expected
11476 failure handling in comment.
11477 (new_test): Don't handle expected failures.
11478 (parse_args): Don't mention expected failure handling in comment.
11479 (generate_testfile): Don't handle expected failures.
11480 (parse_ulps): Likewise.
11481 (print_ulps_file): Likewise.
11482 (get_failure): Remove function.
11483 (output_test): Don't handle expected failures.
11484 * make/README.libm-test: Don't mention expected failure handling.
11486 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11487 (minus_zero): Likewise.
11488 (plus_infty): Likewise.
11489 (minus_infty): Likewise.
11490 (qnan_value): Likewise.
11491 (max_value): Likewise.
11492 (min_value): Likewise.
11493 (min_subnorm_value): Likewise.
11494 (initialize): Do not initialize those variables dynamically.
11496 2013-05-03 Roland McGrath <roland@hack.frob.com>
11498 * io/open.c (__open_2): Moved to ...
11499 * io/open_2.c: ... this new file.
11500 * io/open64.c (__open64_2): Moved to ...
11501 * io/open64_2.c: ... this new file.
11502 * io/openat.c (__openat_2): Moved to ...
11503 * io/openat_2.c: ... this new file.
11504 * io/openat64.c (__openat64_2): Moved to ...
11505 * io/openat64_2.c: ... this new file.
11506 * io/Makefile (routines): Add them.
11507 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11508 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11509 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11510 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11511 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11512 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11513 (__openat64): Add hidden_ver.
11514 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11515 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11517 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11518 Separately conditionalize setting of GLRO(dl_sysinfo) so
11519 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11520 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11522 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11524 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11525 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11527 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11528 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11529 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11530 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11531 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11533 2013-05-03 Joseph Myers <joseph@codesourcery.com>
11535 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11536 test signgam value.
11538 * math/libm-test.inc (hypot_test): Do not use
11539 IGNORE_ZERO_INF_SIGN.
11541 2013-05-03 Andreas Jaeger <aj@suse.de>
11543 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11545 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11546 (PF_MAX): Adjust for VSOCK change.
11548 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11552 2013-05-02 Carlos O'Donell <carlos@redhat.com>
11555 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11556 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11557 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11559 2013-05-02 David S. Miller <davem@davemloft.net>
11561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11563 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
11565 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11567 2013-05-01 Roland McGrath <roland@hack.frob.com>
11569 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11571 2013-05-01 Richard Smith <richard@metafoo.co.uk>
11574 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11575 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11576 Use __attribute__ ((__gnu_inline__)).
11577 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11578 Don't use __attribute__ ((__gnu_inline__)).
11580 2013-05-01 Joseph Myers <joseph@codesourcery.com>
11583 * math/s_catan.c (__catan): Handle small real or imaginary part of
11584 input specially to avoid spurious underflow.
11585 * math/s_catanf.c (__catanf): Likewise.
11586 * math/s_catanh.c (__catanh): Likewise.
11587 * math/s_catanhf.c (__catanhf): Likewise.
11588 * math/s_catanhl.c (__catanhl): Likewise.
11589 * math/s_catanl.c (__catanl): Likewise.
11590 * math/libm-test.inc (catan_test): Add more tests.
11591 (catanh_test): Likewise.
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11599 2013-04-30 Joseph Myers <joseph@codesourcery.com>
11602 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11603 accurately for denominator in atan2.
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 Siddhesh Poyarekar <siddhesh@redhat.com>
11616 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11618 * benchtests/Makefile (bench): Remove slow benchmarks.
11619 * benchtests/atan-inputs: Add slow benchmark inputs.
11620 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11621 (BENCH_FUNC): Accept variant offset.
11623 * benchtests/bench-skeleton.c (main): Run benchmark for each
11625 * benchtests/cos-inputs: Add slow benchmark inputs.
11626 * benchtests/exp-inputs: Likewise.
11627 * benchtests/pow-inputs: Likewise.
11628 * benchtests/sin-inputs: Likewise.
11629 * benchtests/slowatan-inputs: Remove.
11630 * benchtests/slowatan.c: Remove.
11631 * benchtests/slowcos-inputs: Remove.
11632 * benchtests/slowcos.c: Remove.
11633 * benchtests/slowexp-inputs: Remove.
11634 * benchtests/slowexp.c: Remove.
11635 * benchtests/slowpow-inputs: Remove.
11636 * benchtests/slowpow.c: Remove.
11637 * benchtests/slowsin-inputs: Remove.
11638 * benchtests/slowsin.c: Remove.
11639 * benchtests/slowtan-inputs: Remove.
11640 * benchtests/slowtan.c: Remove.
11641 * benchtests/tan-inputs: Add slow benchmark inputs.
11642 * scripts/bench.pl: Parse comments and directives.
11644 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11646 ($(objpfx)bench-%.c): Remove *-ITER.
11647 * benchtests/bench-modf.c: Remove definition of ITER.
11648 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11649 (main): Loop for DURATION seconds instead of fixed number of
11651 * scripts/bench.pl: Don't expect iterations in parameters.
11653 2013-04-29 Roland McGrath <roland@hack.frob.com>
11655 * io/fchdir.c (__fchdir): Renamed from fchdir.
11656 (fchdir): Define as weak alias.
11658 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11660 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11661 (ERRNO_EDOM): Likewise.
11662 (ERRNO_ERANGE): Likewise.
11663 (noErrnoTests): New variable.
11664 (init_max_error): Set errno to 0.
11665 (test_single_errno): New function.
11666 (test_errno): Likewise.
11667 (check_float_internal): Call test_errno. Set errno to 0.
11668 (check_complex): Refer to errno tests in comment.
11669 (check_int): Call test_errno. Set errno to 0.
11670 (check_long): Likewise.
11671 (check_bool): Likewise.
11672 (check_longlong): Likewise.
11673 (cos_test): Use ERRNO_* flags for errno tests instead of
11675 (expm1_test): Likewise.
11676 (fmod_test): Likewise.
11677 (ilogb_test): Likewise.
11678 (lgamma_test): Likewise.
11679 (pow_test): Likewise.
11680 (remainder_test): Likewise.
11681 (sin_test): Likewise.
11682 (tan_test): Likewise.
11683 (yn_test): Likewise.
11684 (initialize): Set errno to 0.
11685 (main): Print number of errno tests.
11686 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11688 2013-04-29 Andreas Jaeger <aj@suse.de>
11691 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11695 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11696 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11700 * stdlib/random.c (__initstate): Return NULL if
11704 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11705 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11708 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11712 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11714 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11715 of individual tests.
11716 (casin_test): Likewise.
11717 (casinh_test): Likewise.
11719 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11722 * math/s_catan.c (__catan): Handle arguments with large real or
11723 imaginary part separately without squaring.
11724 * math/s_catanf.c (__catanf): Likewise.
11725 * math/s_catanh.c (__catanh): Likewise.
11726 * math/s_catanhf.c (__catanhf): Likewise.
11727 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11729 (__catanhl): Handle arguments with large real or imaginary part
11730 separately without squaring.
11731 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11733 (__catanl): Handle arguments with large real or imaginary part
11734 separately without squaring.
11735 * math/libm-test.inc (catan_test): Add more tests.
11736 (catanh_test): Likewise.
11737 * sysdeps/i386/fpu/libm-test-ulps: Update.
11738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11740 2013-04-27 Andreas Jaeger <aj@suse.de>
11743 * stdlib/stdlib.h: Update guards for qecvt.
11744 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11747 2013-04-27 Allan McRae <allan@archlinux.org>
11749 * sysdeps/i386/fpu/libm-test-ulps: Update.
11751 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11754 * math/s_catan.c: Include <float.h>.
11755 (__catan): Ensure underflow exception occurs for underflowed
11757 * math/s_catanf.c: Include <float.h>.
11758 (__catanf): Ensure underflow exception occurs for underflowed
11760 * math/s_catanh.c: Include <float.h>.
11761 (__catanh): Ensure underflow exception occurs for underflowed
11763 * math/s_catanhf.c: Include <float.h>.
11764 (__catanhf): Ensure underflow exception occurs for underflowed
11766 * math/s_catanhl.c: Include <float.h>.
11767 (__catanhl): Ensure underflow exception occurs for underflowed
11769 * math/s_catanl.c: Include <float.h>.
11770 (__catanl): Ensure underflow exception occurs for underflowed
11772 * math/libm-test.inc (catan_test): Add more tests.
11773 (catanh_test): Likewise.
11776 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11777 underflowed result.
11778 * math/s_ccoshf.c (__ccoshf): Likewise.
11779 * math/s_ccoshl.c (__ccoshl): Likewise.
11780 * math/s_csin.c (__csin): Likewise.
11781 * math/s_csinf.c (__csinf): Likewise.
11782 * math/s_csinh.c (__csinh): Likewise.
11783 * math/s_csinhf.c (__csinhf): Likewise.
11784 * math/s_csinhl.c (__csinhl): Likewise.
11785 * math/s_csinl.c (__csinl): Likewise.
11786 * math/libm-test.inc (ccos_test): Add more tests.
11787 (ccosh_test): Likewise.
11788 (csin_test): Likewise.
11789 (csinh_test): Likewise.
11791 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11793 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11794 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11795 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11796 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11797 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11798 powerpc/power5+/fpu folders.
11799 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11802 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11806 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11808 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11809 additions to variable.
11810 [$(config-machine) = x86_64] (modules-names): Likewise.
11811 ($(objpfx)tst-audit3): Remove dependency.
11812 ($(objpfx)tst-audit3.out): Likewise.
11813 ($(objpfx)tst-audit4): Likewise.
11814 ($(objpfx)tst-audit4.out): Likewise.
11815 ($(objpfx)tst-audit5): Likewise.
11816 ($(objpfx)tst-audit5.out): Likewise.
11817 ($(objpfx)tst-audit6): Likewise.
11818 ($(objpfx)tst-audit6.out): Likewise.
11819 ($(objpfx)tst-audit7): Likewise.
11820 ($(objpfx)tst-audit7.out): Likewise.
11821 (tst-audit3-ENV): Remove variable.
11822 (tst-audit4-ENV): Likewise.
11823 (tst-audit5-ENV): Likewise.
11824 (tst-audit6-ENV): Likewise.
11825 (tst-audit7-ENV): Likewise.
11826 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11827 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11828 addition to variable.
11829 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11830 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11831 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11832 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11833 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11834 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11835 tst-audit3, tst-audit4 and tst-audit5.
11836 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11837 tst-audit6 and tst-audit7.
11838 [$(subdir) = elf] (modules-names): Add audit modules for those
11840 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11841 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11842 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11843 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11844 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11845 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11846 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11847 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11848 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11849 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11850 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11851 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11852 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11853 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11854 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11855 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11857 [$(subdir) = elf && $(config-cflags-avx) = yes]
11858 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11859 [$(subdir) = elf && $(config-cflags-avx) = yes]
11860 (CFLAGS-tst-auditmod4a.c): Likewise.
11861 [$(subdir) = elf && $(config-cflags-avx) = yes]
11862 (CFLAGS-tst-auditmod4b.c): Likewise.
11863 [$(subdir) = elf && $(config-cflags-avx) = yes]
11864 (CFLAGS-tst-auditmod6b.c): Likewise.
11865 [$(subdir) = elf && $(config-cflags-avx) = yes]
11866 (CFLAGS-tst-auditmod6c.c): Likewise.
11867 [$(subdir) = elf && $(config-cflags-avx) = yes]
11868 (CFLAGS-tst-auditmod7b.c): Likewise.
11869 * elf/tst-audit3.c: Move to ...
11870 * sysdeps/x86_64/tst-audit3.c: ... here.
11871 * elf/tst-audit4.c: Move to ...
11872 * sysdeps/x86_64/tst-audit4.c: ... here.
11873 * elf/tst-audit5.c: Move to ...
11874 * sysdeps/x86_64/tst-audit5.c: ... here.
11875 * elf/tst-audit6.c: Move to ...
11876 * sysdeps/x86_64/tst-audit6.c: ... here.
11877 * elf/tst-audit7.c: Move to ...
11878 * sysdeps/x86_64/tst-audit7.c: ... here.
11879 * elf/tst-auditmod3a.c: Move to ...
11880 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11881 * elf/tst-auditmod3b.c: Move to ...
11882 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11883 * elf/tst-auditmod4a.c: Move to ...
11884 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11885 * elf/tst-auditmod4b.c: Move to ...
11886 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11887 * elf/tst-auditmod5a.c: Move to ...
11888 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11889 * elf/tst-auditmod5b.c: Move to ...
11890 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11891 * elf/tst-auditmod6a.c: Move to ...
11892 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11893 * elf/tst-auditmod6b.c: Move to ...
11894 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11895 * elf/tst-auditmod6c.c: Move to ...
11896 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11897 * elf/tst-auditmod7a.c: Move to ...
11898 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11899 * elf/tst-auditmod7b.c: Move to ...
11900 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11902 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11905 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11906 define unconditionally.
11907 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11908 define unconditionally.
11909 (INT8_C, INT16_C, etc.): Likewise.
11911 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11913 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11914 __ehdr_start with hidden visibility.
11916 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11918 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11920 * math/libm-test.inc (cos_test): Use accurate hex constants.
11921 (sincost_test): Likewise.
11923 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11925 * math/libm-test.inc (catan_test): Add more tests.
11926 (catanh_test): Likewise.
11928 * math/s_catanf.c (__catanf): Use suffixed floating-point
11930 * math/s_catanhf.c (__catanhf): Likewise.
11931 * math/s_catanhl.c (__catanhl): Likewise.
11932 * math/s_catanl.c (__catanl): Likewise.
11935 * math/s_catan.c (__catan): Calculate imaginary part of result
11936 with log1p not log unless computing log of number close to 0.
11937 * math/s_catanf.c (__catanf): Likewise.
11938 * math/s_catanl.c (__catanl): Likewise.
11939 * math/s_catanh.c (__catanh): Calculate real part of result with
11940 log1p not log unless computing log of number close to 0.
11941 * math/s_catanhf.c (__catanhf): Likewise.
11942 * math/s_catanhl.c (__catanhl): Likewise.
11943 * math/libm-test.inc (catan_test): Add more tests.
11944 (catanh_test): Likewise.
11945 * sysdeps/i386/fpu/libm-test-ulps: Update.
11946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11950 * benchtests/Makefile: Mention files in which fast and slow
11951 paths of math functions are implemented.
11953 2013-04-23 Roland McGrath <roland@hack.frob.com>
11955 * sysdeps/posix/timespec_get.c: New file.
11957 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11959 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11961 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11963 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11964 powerpc/power5/fpu folders.
11965 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11966 * benchtests/Makefile: Add modf testcase.
11967 * benchtests/bench-modf.c: New file: Benchmark test for mo
11969 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11972 * time/Makefile (tests): Add tst-strptime-whitespace.
11973 * time/strptime_l.c (get_number): Use ISSPACE.
11974 (__strptime_internal): Likewise.
11975 * time/tst-strptime-whitespace.c: New test case.
11977 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11979 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11981 (_nss_files_init): Set it here.
11983 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11985 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11986 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11989 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11991 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11993 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11995 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11998 2013-04-21 David S. Miller <davem@davemloft.net>
12000 * po/ru.po: Update Russion translation from translation project.
12002 2013-04-17 Adam Conrad <adconrad@0c3.net>
12004 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12007 2013-04-17 Carlos O'Donell <carlos@redhat.com>
12009 * configure.in: Remove i386 configure warning. Remove i386 case.
12010 * configure: Regenerate.
12011 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
12012 Add example to error message.
12013 * sysdeps/i386/configure: Regenerate.
12015 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12017 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12019 * benchtests/cos-inputs: New file.
12020 * benchtests/slowcos-inputs: New file.
12021 * benchtests/slowcos.c: New file.
12022 * benchtests/slowtan-inputs: New file.
12023 * benchtests/slowtan.c: New file.
12024 * benchtests/tan-inputs: New file.
12026 2013-04-16 Roland McGrath <roland@hack.frob.com>
12028 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12031 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12033 * benchtests/Makefile: Include cppflags-iterator.mk to add
12034 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12036 * Makefile.in (bench-clean): New target.
12037 * benchtests/Makefile (bench-clean): Likewise.
12039 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12041 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12043 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12045 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12047 2013-04-15 Andreas Schwab <schwab@suse.de>
12049 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12050 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12051 * nscd/pwdcache.c (cache_addpw): Likewise.
12052 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12055 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12057 * benchtests/Makefile (bench): Write all output to
12058 bench-out.tmp together.
12060 2013-04-15 Andreas Schwab <schwab@suse.de>
12062 * nscd/nscd.c (main): Don't fork again after closing files.
12064 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12066 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12068 * benchtests/Rules (bench-deps): Collect dependencies into a
12069 single variable. Add Makefile to dependencies.
12070 ($(objpfx)bench-%.c): Depend on bench-deps.
12072 2013-04-12 Roland McGrath <roland@hack.frob.com>
12073 Xavier Roche <roche+kml2@exalead.com>
12076 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12077 just that it's a file descriptor.
12078 * manual/llio.texi (Synchronizing AIO Operations): Update description
12079 for EBADF error from aio_fsync.
12081 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12083 * Rules (bench): Move target definition...
12084 * benchtests/Makefile: ... here.
12086 2013-04-11 Carlos O'Donell <carlos@redhat.com>
12088 * math/libm-test.inc (cos_test): Fix PI/2 test.
12089 (sincos_test): Likewise.
12090 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12091 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12093 2013-04-11 Andreas Schwab <schwab@suse.de>
12096 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12097 accept exponent character only when digits were seen.
12098 * stdio-common/Makefile (tests): Add bug26.
12099 * stdio-common/bug26.c: New file.
12102 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12105 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12107 * Makeconfig (rtld-prefix): Define built linker prefix.
12108 * Rules (run-bench): Use it.
12109 * math/Makefile (run-regen-ulps): Likewise.
12111 * Rules (bench): Remove eval.
12113 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12114 Roland McGrath <roland@hack.frob.com>
12115 Ondrej Bilka <neleai@seznam.cz>
12118 * time/getdate.c: Include ctype.h and alloca.h.
12119 (__getdate_r): Trim leading and trailing spaces of input.
12120 * time/tst-getdate.c (tests): Add tests with leading and
12123 2013-04-08 Roland McGrath <roland@hack.frob.com>
12126 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12127 when computing value.
12129 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12131 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12132 Use testrun.sh to run libm tests.
12135 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12137 2013-04-06 Marko Myllynen <myllynen@redhat.com>
12140 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12142 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12144 * Makefile.in (regen-ulps): New target.
12145 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12146 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12147 [ifneq (no,$(PERL)] (regen-ulps): New target.
12148 [ifeq (no,$(PERL)] (regen-ulps): New target.
12149 * math/libm-test.inc (ulps_file_name): Define.
12150 (output_dir): New variable.
12151 (options): Add "output-dir" option.
12152 (parse_opt): Handle 'o' case.
12153 (main): If output_dir is non-NULL use it as a prefix
12155 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12157 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12159 [BZ #10060, #10062]
12160 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12161 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12162 fail configure if __sync_val_compare_and_swap is not inlined.
12163 * sysdeps/i386/configure: Regenerate.
12164 * configure.in: Build for i686 when configured for i386.
12165 * configure: Regenerate.
12166 * README: Remove i386 reference.
12168 2013-04-06 Carlos O'Donell <carlos@redhat.com>
12170 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12171 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12173 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12175 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12176 (lmsnanval): New variables.
12177 (F): Add conversion tests.
12178 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12179 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12181 * stdio-common/tstdiomisc.c (F): Properly collect individual
12184 [BZ #14686, #15336]
12185 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12186 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12187 Instead, use input NaN values or generate a qNaN by arithmetic
12188 operation. Also fix bugs to comply with the standard.
12189 * math/libm-test.inc (remainder_test): Add more tests.
12191 [BZ #15335, #15342]
12192 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12194 input NaN values or generate a qNaN by arithmetic operation.
12196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12199 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12202 2013-04-03 Joseph Myers <joseph@codesourcery.com>
12205 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12206 underflowed result.
12207 * math/s_cexpf.c (__cexpf): Likewise.
12208 * math/s_cexpl.c (__cexpl): Likewise.
12209 * math/libm-test.inc (cexp_test): Add more tests.
12211 2013-04-03 Andreas Schwab <schwab@suse.de>
12214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12215 order arrays from heap if bigger than alloca cutoff.
12217 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12219 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12220 (SNAN_TESTS_double): Refer to GCC PR56831.
12221 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12224 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12226 * Rules (bench): Move bench.out after the run is complete.
12228 * Rules (bench): Echo currently running benchmark.
12230 * benchtests/Makefile (bench): Add atan and slowatan.
12231 * benchtests/atan-inputs: New file.
12232 * benchtests/slowatan-inputs: New file.
12233 * benchtests/slowatan.c: New file.
12235 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12236 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12240 * sysdeps/unix/sysv/linux/kernel-features.h
12241 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12242 __ASSUME_XFS_RESTRICTED_CHOWN.
12243 * sysdeps/unix/sysv/linux/pathconf.c
12244 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12245 Save and restore errno.
12247 2013-04-02 Joseph Myers <joseph@codesourcery.com>
12250 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12251 arguments using __kernel_casinh.
12252 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12253 arguments using __kernel_casinhf.
12254 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12255 arguments using __kernel_casinhl.
12256 * math/libm-test.inc (cacosh_test): Add more tests.
12257 * sysdeps/i386/fpu/libm-test-ulps: Update.
12258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12260 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12262 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12265 * bench/Makefile (bench): Add sin and slowsin.
12266 * benchtests/sin-inputs: New file.
12267 * benchtests/slowsin-inputs: New file.
12268 * benchtests/slowsin.c: New file.
12270 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12271 (bench): Add slowexp and slowpow.
12272 (exp-ITER): Increase iterations.
12273 (pow-ITER): Likewise.
12274 * benchtests/exp-inputs: Change input.
12275 * benchtests/pow-inputs: Likewise.
12276 * benchtests/slowexp-inputs: New file.
12277 * benchtests/slowexp.c: New file.
12278 * benchtests/slowpow-inputs: New file.
12279 * benchtests/slowpow.c: New file.
12281 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12283 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12285 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12286 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12287 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12288 * benchtests/Makefile: Add rint benchtest.
12289 * benchtests/rint-inputs: Input for rint benchtest.
12291 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12293 * Versions.def (libm): Add GLIBC_2.18.
12294 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12295 hidden libm prototypes.
12296 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12297 * math/Makefile (libm-calls): Add s_issignaling.
12298 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12299 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12300 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12302 * math/math.h [__USE_GNU] (issignaling): New macro.
12303 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12304 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12305 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12309 * manual/arith.texi (issignaling): New section.
12310 * manual/libm-err-tab.pl (@all_functions): Update comment.
12311 * math/gen-libm-test.pl (parse_args): Apply special handling for
12313 * math/libm-test.inc (print_float, issignaling_test): New
12315 (check_float_internal): Add issignaling checks.
12316 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12317 default definition.
12318 * sysdeps/powerpc/math-tests.h: New file.
12319 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12321 * math/test-snan.c (TEST_FUNC): Likewise.
12323 2013-03-30 David S. Miller <davem@davemloft.net>
12325 * po/de.po: Update from translation team.
12327 2013-03-30 Joseph Myers <joseph@codesourcery.com>
12330 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12331 imaginary part less than 1.0 and real part less than 0.5
12333 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12334 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12335 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12336 (cacos_test): Add more tests.
12337 (casin_test): Likewise.
12338 (casinh_test): Likewise.
12339 * sysdeps/i386/fpu/libm-test-ulps: Update.
12340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12342 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12344 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12345 ONE with its value.
12347 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12348 (__pow_mp): Replace ONE and MONE with their values.
12349 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12350 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12351 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12352 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12353 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12356 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12358 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12359 (__pow_mp): Replace ZERO and MZERO with their values.
12360 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12361 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12362 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12363 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12364 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12365 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12368 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12370 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12372 2013-03-28 Roland McGrath <roland@hack.frob.com>
12374 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12375 Declare with __attribute__ ((weak)).
12376 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12377 Call __call_tls_dtors only if it's not NULL.
12379 2013-03-28 Roland McGrath <roland@hack.frob.com>
12381 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12382 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12383 magic __ehdr_start linker symbol if it's defined.
12384 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12385 them up here if it was already done.
12387 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12388 (_dl_aux_init): Use const in cast when setting it.
12389 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12390 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12391 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12393 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12395 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12396 * csu/libc-tls.c: Nor here.
12397 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12399 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12400 (__libc_message): Never call vsyslog.
12402 2013-03-28 Alan Modra <amodra@gmail.com>
12404 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12406 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12409 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12412 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12416 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12419 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12420 Don't add gid passed as argument.
12422 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12424 2013-03-27 Joseph Myers <joseph@codesourcery.com>
12427 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12428 imaginary part between 1.0 and 1.5 and real part less than 0.5
12430 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12431 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12432 * math/libm-test.inc (cacos_test): Add more tests.
12433 (casin_test): Likewise.
12434 (casinh_test): Likewise.
12435 * sysdeps/i386/fpu/libm-test-ulps: Update.
12436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12438 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12440 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12443 (denorm): Likewise.
12444 (__dbl_mp): Likewise.
12445 (add_magnitudes): Likewise.
12446 (sub_magnitudes): Likewise.
12454 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12456 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12457 (__dubcos): Likewise.
12458 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12459 (__ieee754_acos): Likewise.
12460 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12461 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12462 (__exp1): Likewise.
12463 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12466 (my_log2): Likewise.
12467 (checkint): Likewise.
12468 * sysdeps/ieee754/dbl-64/e_remainder.c
12469 (__ieee754_remainder): Likewise.
12470 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12471 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12472 (bsloww): Likewise.
12473 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12475 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12476 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12477 MANTISSA_STORE_T to store computations on mantissa. Use
12478 macros for rounding and division.
12479 (denorm): Likewise.
12480 (__dbl_mp): Likewise.
12481 (add_magnitudes): Likewise.
12482 (sub_magnitudes): Likewise.
12485 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12486 powers of two in terms of TWOPOW macro.
12487 (mp_no): Make type of mantissa as MANTISSA_T.
12488 [!RADIXI]: Define RADIXI.
12489 [!TWO52]: Define TWO52.
12490 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12492 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12494 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12495 llroundl symbol when building for PPC32.
12497 2013-03-24 Mark H Weaver <mhw@netris.org>
12499 * manual/arith.texi (Normalization Functions): Fix prototypes for
12500 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12502 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12505 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12506 high value to check if expl overflow.
12507 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12508 to check for underflow and overflow.
12509 * math/libm-test.inc: Add exp test.
12511 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12514 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12517 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12519 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12522 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12524 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12525 wrap blocks consisting of several statements.
12527 * sysdeps/generic/math-tests.h: New file.
12528 * sysdeps/i386/fpu/math-tests.h: Likewise.
12529 * math/test-snan.c: Include it.
12530 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12532 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12535 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12536 (__ieee754_j0l): Do not improve calculations using cos of twice
12537 input for inputs above LDBL_MAX / 2.0L.
12538 (__ieee754_y0l): Likewise.
12539 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12540 (__ieee754_j1l): Do not improve calculations using cos of twice
12541 input for inputs above LDBL_MAX / 2.0L.
12542 (__ieee754_y1l): Likewise.
12543 * math/libm-test.inc (j0_test): Add another test.
12544 (j1_test): Likewise.
12545 (y0_test): Likewise.
12546 (y1_test): Likewise.
12547 * sysdeps/i386/fpu/libm-test-ulps: Update.
12549 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12551 * Rules ($(objpfx)bench-%.c): Include code from a C source
12554 2013-03-21 Joseph Myers <joseph@codesourcery.com>
12557 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12558 imaginary part 1.0 and real part less than 0.5 specially.
12559 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12560 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12561 * math/libm-test.inc (cacos_test): Add more tests.
12562 (casin_test): Likewise.
12563 (casinh_test): Likewise.
12564 * sysdeps/i386/fpu/libm-test-ulps: Update.
12565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12567 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12569 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12570 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12572 2013-03-20 Joseph Myers <joseph@codesourcery.com>
12574 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12575 * config.make.in (config-cflags-sse4): Remove variable.
12576 (config-cflags-avx): Likewise.
12577 (config-cflags-sse2avx): Likewise.
12578 (config-cflags-novzeroupper): Likewise.
12579 (config-asflags-i686): Likewise.
12580 (have-mfma4): Likewise.
12581 (have-as-vis3): Likewise.
12583 * configure.in (MIG): Do not AC_SUBST.
12584 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12585 (libc_cv_cc_sse4): Do not AC_SUBST.
12586 (libc_cv_cc_avx): Likewise.
12587 (libc_cv_cc_sse2avx): Likewise.
12588 (libc_cv_cc_novzeroupper): Likewise.
12589 (libc_cv_cc_fma4): Likewise.
12590 (libc_cv_as_i686): Likewise.
12591 (libc_cv_sparc_as_vis3): Likewise.
12592 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12594 (config-asflags-i686): Likewise.
12595 (config-cflags-avx): Likewise.
12596 (config-cflags-sse2avx): Likewise.
12597 (have-mfma4): Likewise.
12598 (config-cflags-novzeroupper): Likewise.
12599 * sysdeps/mach/configure.in (MIG): Likewise.
12600 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12601 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12603 (config-cflags-avx): Likewise.
12604 (config-cflags-sse2avx): Likewise.
12605 (have-mfma4): Likewise.
12606 (config-cflags-novzeroupper): Likewise.
12607 * configure: Regenerated.
12608 * sysdeps/i386/configure: Likewise.
12609 * sysdeps/mach/configure: Likewise.
12610 * sysdeps/sparc/configure: Likewise.
12611 * sysdeps/x86_64/configure: Likewise.
12613 2013-03-20 Roland McGrath <roland@hack.frob.com>
12616 * locale/programs/localedef.c (options): Put N_ translation marker
12617 on argument names, not just descriptions.
12619 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12621 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12623 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
12626 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12628 2013-03-19 Roland McGrath <roland@hack.frob.com>
12630 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12631 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12632 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12633 [!BEFORE_ABORT] (before_abort): New function.
12634 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12635 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12636 (writev_for_fatal): New function.
12637 (WRITEV_FOR_FATAL): New macro; call that.
12638 (backtrace_and_maps): New function.
12639 (BEFORE_ABORT): New macro; call that.
12640 (struct str_list): Type removed.
12641 (__libc_message, __libc_fatal): Functions removed.
12642 Include <sysdeps/posix/libc_fatal.c> instead.
12644 2013-03-19 Joseph Myers <joseph@codesourcery.com>
12646 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12648 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12651 2013-03-19 Andreas Schwab <schwab@suse.de>
12653 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12654 * sysdeps/gnu/configure: Regenerate.
12656 * configure.in: Substitute libc_cv_rtlddir.
12657 * configure: Regenerate.
12658 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12659 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12660 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12661 * elf/Makefile (install-others, CFLAGS-interp.c)
12662 (ldso_install, common-ldd-rewrite): Likewise.
12663 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12664 $(inst_slibdir)/$(rtld-installed-name).
12665 * scripts/rellns-sh: Add -p option.
12666 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12669 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12671 * manual/nptl.texi: Renamed to ...
12672 * manual/threads.texi: ... this.
12673 * manual/Makefile (chapters): Update.
12675 2013-03-18 Roland McGrath <roland@hack.frob.com>
12678 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12679 on argument names, not just descriptions.
12680 * malloc/memusagestat.c (options): Likewise.
12681 * nss/getent.c (options): Likewise.
12683 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12686 * iconv/iconv_prog.c (options): Put N_ translation marker
12687 on argument names, not just descriptions.
12688 * iconv/iconvconfig.c (options): Likewise.
12690 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12692 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12693 implementation which is faster on all x86_64 architectures.
12694 Tested on AMD, Intel Nehalem, SNB, IVB.
12695 * sysdeps/x86_64/strnlen.S: Likewise.
12697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12698 Remove all multiarch strlen and strnlen versions.
12699 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12700 Remove strlen and strnlen related parts.
12702 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12703 Inline strlen part.
12704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12706 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12707 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12708 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12709 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12710 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12711 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12713 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12715 * manual/memory.texi (Malloc Tunable Parameters):
12716 Sort parameters alphabetically. Add comments for missing entries.
12718 2013-03-17 David S. Miller <davem@davemloft.net>
12720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12722 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12725 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12726 for arguments at most half maximum finite value.
12727 * math/libm-test.inc (j0_test): Add more tests.
12728 (j1_test): Likewise.
12729 (y0_test): Likewise.
12730 (y1_test): Likewise.
12731 * sysdeps/i386/fpu/libm-test-ulps: Update.
12732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12735 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12736 1 / x and functions P and Q for arguments above 0x1p256L.
12737 (__ieee754_y0l): Likewise.
12738 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12739 (__ieee754_y1l): Likewise.
12740 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12741 (j1_test): Likewise.
12742 (y0_test): Likewise.
12743 (y1_test): Likewise.
12745 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12747 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12750 2013-03-15 Roland McGrath <roland@hack.frob.com>
12752 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12753 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12754 zero since it's initialized to EXEC_PAGESIZE.
12756 * sysdeps/unix/sysv/linux/ldsodefs.h
12757 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12758 * sysdeps/generic/ldsodefs.h: ... here.
12760 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12762 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12764 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12766 * math/test-snan.c: Renamed from
12767 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12768 * math/Makefile (tests): Add test-snan.
12769 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12772 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12773 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12775 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12776 __builtin_nan family of functions.
12777 * math/libm-test.inc (initialize): Initialize qnan_value with
12778 __builtin_nan family of functions.
12779 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12781 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12783 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12784 storage class. Initialize qNaN_var and sNaN_var with
12785 __builtin_nan and __builtin_nans families of functions,
12788 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12789 (sqrt_test): Remove duplicate test with qNaN input.
12790 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12791 (round_test, signbit_test, significand_test): Note missing +/-Inf
12792 as well as qNaN tests.
12794 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12795 qNaN_var. Fix a few strings, too.
12796 * math/libm-test.inc (nan_value): Rename to qnan_value.
12797 * math/gen-libm-test.pl (%beautify): Adjust to that.
12798 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12799 * math/test-misc.c (main): Likewise.
12800 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12801 to __qnan_bytes, and __qnan_union, respectively.
12802 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12804 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12805 and lqnanval, respectively.
12806 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12807 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12808 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12809 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12811 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12812 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12815 * math/test-misc.c (main): Fix copy'n'pastos.
12816 * misc/tst-efgcvt.c (special): Likewise.
12818 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12819 Remove declarations.
12821 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12823 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12824 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12825 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12826 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12828 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12830 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12831 macro to return vdso values correctly in IFUNC implementations.
12832 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12833 Optimization by using IFUNC.
12835 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12836 Richard Henderson <rth@redhat.com>
12837 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12839 * Makefile.in (bench): New target.
12840 * NEWS: Mention the benchmark framework.
12841 * Rules (bench): Likewise.
12842 (binaries-bench): Generate binaries for functions to
12844 * benchtests/Makefile: New makefile for benchmark tests.
12845 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12847 * benchtests/exp-inputs: New input file for EXP function.
12848 * benchtests/pow-inputs: New input file for POW function.
12849 * scripts/bench.pl: New script to generate source files for
12850 benchmark programs.
12852 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12854 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12855 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12856 computations on mantissa. Use macros for rounding and
12858 (denorm): Likewise.
12859 (__dbl_mp): Likewise.
12860 (add_magnitudes): Likewise.
12861 (sub_magnitudes): Likewise.
12864 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12865 powers of two in terms of TWOPOW macro.
12866 (mp_no): Make type of mantissa as MANTISSA_T.
12867 [!RADIXI]: Define RADIXI.
12868 [!TWO52]: Define TWO52.
12869 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12871 * manual/nptl.texi (cindex): Modify threads to pthreads.
12873 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12875 * sysdeps/x86_64/preconfigure: Regenerated.
12877 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12880 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12882 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12883 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12885 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12886 * math/libm-test.inc (j0_test): Do not allow one spurious
12887 underflow exception.
12888 (y1_test): Likewise.
12890 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12892 * manual/Makefile (chapters): Add nptl.
12893 * manual/debug.texi (Debugging Support): Add link to Threads
12895 * manual/nptl.texi: New file.
12897 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12899 2013-03-14 Petr Baudis <pasky@ucw.cz>
12901 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12902 for non-NULL pointer before the memory validity test. Pointed
12903 out by Holger Brunck <holger.brunck@keymile.com>.
12905 2013-03-13 Andreas Schwab <schwab@suse.de>
12907 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12910 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12912 * timezone/zic.c: Update from tzcode 2013b.
12914 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12916 * manual/install.texi (Configuring and compiling):
12917 Mention i686 and i586.
12918 * INSTALL: Regenerate.
12920 2013-03-12 Roland McGrath <roland@hack.frob.com>
12922 * sysdeps/init_array/elf-init.c: New file.
12924 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12925 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12927 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12928 __gmon_start__ as global, but as static with a .preinit_array pointer.
12929 * sysdeps/init_array/gmon-start.c: New file. Use that.
12930 * sysdeps/init_array/crti.S: New file, empty except for comments.
12931 * sysdeps/init_array/crtn.S: Likewise.
12933 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12935 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12938 Remove Prefer_SSE_for_memop.
12939 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12940 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12941 HAS_PREFER_SSE_FOR_MEMOP.
12942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12945 Remove bzero, memset ifunc support.
12946 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12947 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12948 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12949 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12951 2013-03-11 Andreas Schwab <schwab@suse.de>
12954 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12957 (GLIBC_2.16): Remove pthread_atfork.
12959 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12961 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12962 (ptestcases.h): Likewise.
12964 2013-03-08 Roland McGrath <roland@hack.frob.com>
12966 * Makeconfig ($(common-objpfx)config.status): Depend on
12967 sysdeps/*/preconfigure{,.in} too.
12969 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12971 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12972 (__free_hook): Use void * instead of __malloc_ptr_t.
12973 (__malloc_hook): Likewise.
12974 (__realloc_hook): Likewise.
12975 (__memalign_hook): Likewise.
12976 (__after_morecore_hook): Likewise.
12977 * malloc/arena.c (save_malloc_hook): Likewise.
12978 (save_free_hook): Likewise.
12979 * malloc/hooks.c (malloc_hook_ini): Likewise.
12980 (realloc_hook_ini): Likewise.
12981 (memalign_hook_ini): Likewise.
12982 * malloc/malloc.c (malloc_hook_ini): Likewise.
12983 (realloc_hook_ini): Likewise.
12984 (memalign_hook_ini): Likewise.
12985 (__free_hook): Likewise.
12986 (__malloc_hook): Likewise.
12987 (__realloc_hook): Likewise.
12988 (__memalign_hook): Likewise.
12989 (__libc_malloc): Likewise.
12990 (__libc_free): Likewise.
12991 (__libc_realloc): Likewise.
12992 (__libc_memalign): Likewise.
12993 (__libc_valloc): Likewise.
12994 (__libc_pvalloc): Likewise.
12995 (__libc_calloc): Likewise.
12996 (__posix_memalign): Likewise.
12997 * malloc/morecore.c (__sbrk): Likewise.
12998 (__default_morecore): Likewise.
13000 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13002 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13003 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13004 __malloc_ptrdiff_t.
13006 * malloc/malloc.h (__malloc_size_t): Remove macro.
13007 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13009 (old_memalign_hook): Likewise.
13010 (old_realloc_hook): Likewise.
13011 (struct hdr): Likewise.
13013 (mallochook): Likewise.
13014 (memalignhook): Likewise.
13015 (reallochook): Likewise.
13016 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13017 (tr_old_realloc_hook): Likewise.
13018 (tr_old_memalign_hook): Likewise.
13019 (tr_mallochook): Likewise.
13020 (tr_reallochook): Likewise.
13021 (tr_memalignhook): Likewise.
13023 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13025 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13026 default_ldbl_pack and using as default implementation.
13027 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13029 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13030 redundant definition.
13031 (ldbl_insert_mantissa): Likewise.
13032 (ldbl_canonicalize): Likewise.
13033 (ldbl_nearbyint): Likewise.
13034 (ldbl_pack): Rename to ldbl_pack_ppc.
13035 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13036 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13037 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13039 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13042 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13043 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13044 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13046 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13047 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13048 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13050 2013-03-07 Andreas Jaeger <aj@suse.de>
13052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13055 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13057 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13058 Include mpa.h and declare __MPEXP.
13059 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13060 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13061 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13063 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13064 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13065 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13067 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13068 (__slowpow): Use long double EXPL and LOGL functions to
13070 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13071 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13072 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13073 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13074 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13075 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13078 intermediate variable to calculate exponent.
13080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13084 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13085 [!NO__SQR]: Define __sqr.
13086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13087 and NO__SQR. Remove all code except __mul and __sqr. Include
13088 sysdeps/ieee754/dbl-64/mpa.c.
13089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13092 * posix/Makefile (tests): Add tst-pathconf.
13093 * posix/tst-pathconf.c: New test case.
13094 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13096 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13098 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
13100 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13102 2013-03-06 Andreas Jaeger <aj@suse.de>
13104 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13105 definition via __MAP_ANONYMOUS.
13107 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13108 it's not part of Linux headers.
13110 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13111 (MAP_HUGE_MASK): Define.
13113 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13115 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13116 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13118 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13119 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13121 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13122 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13126 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13127 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13128 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13129 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13130 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13131 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13133 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13137 Handle f2fs and efivarfs.
13139 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13142 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13143 (EFIVARFS_MAGIC): Add.
13144 (F2FS_LINK_MAX): Add.
13146 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13148 * stdio-common/vfprintf.c: Replace __builtin_expect with
13151 2013-03-06 Joseph Myers <joseph@codesourcery.com>
13154 * sysdeps/generic/bp-sym.h: Remove file.
13155 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13156 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13157 <bp-sym.h> and <bp-asm.h>.
13158 (__longjmp): Don't use BP_SYM.
13159 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13161 (memcpy): Don't use BP_SYM.
13162 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13163 <bp-sym.h> and <bp-asm.h>.
13164 (memcpy): Don't use BP_SYM.
13165 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13167 (memcpy): Don't use BP_SYM.
13168 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13170 (memset): Don't use BP_SYM.
13171 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13172 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13173 (__bzero): Don't use BP_SYM.
13174 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13175 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13176 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13177 <bp-sym.h> and <bp-asm.h>.
13178 (memcmp): Don't use BP_SYM. Remove comment about bounded
13180 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13181 <bp-sym.h> and <bp-asm.h>.
13182 (memcpy): Don't use BP_SYM.
13183 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13184 <bp-sym.h> and <bp-asm.h>.
13185 (memset): Don't use BP_SYM.
13186 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13187 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13188 (__bzero): Don't use BP_SYM.
13189 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13190 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13191 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13192 <bp-sym.h> and <bp-asm.h>.
13193 (strncmp): Don't use BP_SYM. Remove comment about bounded
13195 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13196 <bp-sym.h> and <bp-asm.h>.
13197 (memcpy): Don't use BP_SYM.
13198 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13199 <bp-sym.h> and <bp-asm.h>.
13200 (memset): Don't use BP_SYM.
13201 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13202 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13203 (__bzero): Don't use BP_SYM.
13204 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13205 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13207 <bp-sym.h> and <bp-asm.h>.
13208 (__memchr): Don't use BP_SYM.
13209 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13210 <bp-sym.h> and <bp-asm.h>.
13211 (memcmp): Don't use BP_SYM. Remove comment about bounded
13213 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13214 <bp-sym.h> and <bp-asm.h>.
13215 (memcpy): Don't use BP_SYM.
13216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13217 <bp-sym.h> and <bp-asm.h>.
13218 (__mempcpy): Don't use BP_SYM.
13219 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13220 <bp-sym.h> and <bp-asm.h>.
13221 (__memrchr): Don't use BP_SYM.
13222 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13223 <bp-sym.h> and <bp-asm.h>.
13224 (memset): Don't use BP_SYM.
13225 (__bzero): Likewise.
13226 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13227 <bp-sym.h> and <bp-asm.h>.
13228 (__rawmemchr): Don't use BP_SYM.
13229 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13230 <bp-sym.h> and <bp-asm.h>.
13231 (__STRCMP): Don't use BP_SYM.
13232 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13233 <bp-sym.h> and <bp-asm.h>.
13234 (strchr): Don't use BP_SYM.
13235 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13236 <bp-sym.h> and <bp-asm.h>.
13237 (__strchrnul): Don't use BP_SYM.
13238 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13239 <bp-sym.h> and <bp-asm.h>.
13240 (strlen): Don't use BP_SYM.
13241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13242 <bp-sym.h> and <bp-asm.h>.
13243 (strncmp): Don't use BP_SYM. Remove comment about bounded
13245 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13246 <bp-sym.h> and <bp-asm.h>.
13247 (__strnlen): Don't use BP_SYM.
13248 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13249 <bp-sym.h> and <bp-asm.h>.
13250 (__GI__setjmp): Don't use BP_SYM.
13251 (_setjmp): Likewise.
13252 (__sigsetjmp): Likewise.
13253 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13254 (L(start_addresses)): Don't use BP_SYM.
13255 (_start): Likewise.
13256 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13258 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13259 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13260 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13261 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13262 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13264 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13265 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13266 about bounded pointers.
13267 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13268 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13269 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13271 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13272 about bounded pointers. Remove GKM FIXME comments.
13273 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13274 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13276 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13277 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13278 Remove GKM FIXME comments.
13279 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13280 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13281 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13283 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13284 about bounded pointers. Remove GKM FIXME comment.
13285 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13287 (strncmp): Don't use BP_SYM. Remove comment about bounded
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13290 <bp-sym.h> and <bp-asm.h>.
13291 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13293 <bp-sym.h> and <bp-asm.h>.
13294 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13297 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13299 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13302 2013-03-05 David S. Miller <davem@davemloft.net>
13304 * po/es.po: Update from translation team.
13306 2013-03-05 Andreas Jaeger <aj@suse.de>
13308 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13309 <bits/mman-linux.h>.
13310 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13312 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13313 <bits/mman-linux.h> to end of file.
13314 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13316 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13317 <bits/mman-linux.h> to end of file.
13318 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13320 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13321 <bits/mman-linux.h> to end of file.
13323 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13324 (MCL_CURRENT, MCL_FUTURE): Define here.
13326 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13329 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13331 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13333 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13335 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13336 fourth parameter needed for rt_sigprocmask syscall.
13337 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13338 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13339 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13340 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13341 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13342 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13344 2013-03-04 Joseph Myers <joseph@codesourcery.com>
13347 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13348 comment about bounded pointers.
13349 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13350 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13352 2013-03-04 Andreas Jaeger <aj@suse.de>
13354 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13355 common definitions.
13357 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13358 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13359 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13360 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
13362 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13364 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13367 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13368 __ieee754_sqrl instead of __sqrl.
13370 2013-03-01 Joseph Myers <joseph@codesourcery.com>
13372 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13373 * sysdeps/powerpc/fpu_control.h: ... here.
13374 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13375 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13376 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13377 * sysdeps/powerpc/bits/mathinline.h: ... here.
13379 2013-03-01 Roland McGrath <roland@hack.frob.com>
13381 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13382 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13383 to just [NEED_DL_SYSINFO_DSO].
13384 * elf/dl-support.c: Likewise.
13385 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13386 * elf/rtld.c (dl_main): Likewise.
13387 * elf/setup-vdso.h (setup_vdso): Likewise.
13388 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13389 * sysdeps/unix/sysv/linux/dl-sysdep.c
13390 (_dl_discover_osversion): Likewise.
13392 2013-03-01 Carlos O'Donell <carlos@redhat.com>
13394 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13395 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13397 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13399 * NEWS: Mention libm performance improvements and non-x86 PI
13402 * csu/libc-start.c (__pthread_initialize_minimal): Change
13403 function arguments.
13404 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13406 2013-02-28 Joseph Myers <joseph@codesourcery.com>
13409 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13410 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13411 <bp-sym.h> and <bp-asm.h>.
13412 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13413 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13415 (memcpy): Don't use BP_SYM.
13416 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13418 (__mpn_add_n): Don't use BP_SYM.
13419 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13420 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13422 (__mpn_addmul_1): Don't use BP_SYM.
13423 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13424 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13426 (_setjmp): Don't use BP_SYM.
13427 (__novmx_setjmp): Likewise.
13428 (__GI__setjmp): Likewise.
13429 (__vmx_setjmp): Likewise.
13430 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13432 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13433 (__bzero): Don't use BP_SYM.
13434 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13435 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13436 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13437 <bp-sym.h> and <bp-asm.h>.
13438 (memcpy): Don't use BP_SYM.
13439 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13440 <bp-sym.h> and <bp-asm.h>.
13441 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13442 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13443 <bp-sym.h> and <bp-asm.h>.
13444 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13445 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13447 (__mpn_lshift): Don't use BP_SYM.
13448 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13449 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13451 (memset): Don't use BP_SYM.
13452 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13453 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13454 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13456 (__mpn_mul_1): Don't use BP_SYM.
13457 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13458 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13459 <bp-sym.h> and <bp-asm.h>.
13460 (memcmp): Don't use BP_SYM.
13461 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13462 <bp-sym.h> and <bp-asm.h>.
13463 (memcpy): Don't use BP_SYM.
13464 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13465 <bp-sym.h> and <bp-asm.h>.
13466 (memset): Don't use BP_SYM.
13467 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13468 <bp-sym.h> and <bp-asm.h>.
13469 (strncmp): Don't use BP_SYM.
13470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13471 <bp-sym.h> and <bp-asm.h>.
13472 (memcpy): Don't use BP_SYM.
13473 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13474 <bp-sym.h> and <bp-asm.h>.
13475 (memset): Don't use BP_SYM.
13476 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13477 <bp-sym.h> and <bp-asm.h>.
13478 (__memchr): Don't use BP_SYM.
13479 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13480 <bp-sym.h> and <bp-asm.h>.
13481 (memcmp): Don't use BP_SYM.
13482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13483 <bp-sym.h> and <bp-asm.h>.
13484 (memcpy): Don't use BP_SYM.
13485 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13486 <bp-sym.h> and <bp-asm.h>.
13487 (__mempcpy): Don't use BP_SYM.
13488 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13489 <bp-sym.h> and <bp-asm.h>.
13490 (__memrchr): Don't use BP_SYM.
13491 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13492 <bp-sym.h> and <bp-asm.h>.
13493 (memset): Don't use BP_SYM.
13494 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13495 <bp-sym.h> and <bp-asm.h>.
13496 (__rawmemchr): Don't use BP_SYM.
13497 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13498 <bp-sym.h> and <bp-asm.h>.
13499 (__STRCMP): Don't use BP_SYM.
13500 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13501 <bp-sym.h> and <bp-asm.h>.
13502 (strchr): Don't use BP_SYM.
13503 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13504 <bp-sym.h> and <bp-asm.h>.
13505 (__strchrnul): Don't use BP_SYM.
13506 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13507 <bp-sym.h> and <bp-asm.h>.
13508 (strlen): Don't use BP_SYM.
13509 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13510 <bp-sym.h> and <bp-asm.h>.
13511 (strncmp): Don't use BP_SYM.
13512 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13513 <bp-sym.h> and <bp-asm.h>.
13514 (__strnlen): Don't use BP_SYM.
13515 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13517 (__mpn_rshift): Don't use BP_SYM.
13518 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13519 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13520 <bp-sym.h> and <bp-asm.h>.
13521 (__sigsetjmp): Don't use BP_SYM.
13522 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13523 (L(start_addresses)): Don't use BP_SYM.
13524 (_start): Likewise.
13525 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13527 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13528 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13529 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13530 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13532 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13533 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13534 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13535 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13537 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13539 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13540 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13542 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13544 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13545 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13546 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13548 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13550 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13552 (strncmp): Don't use BP_SYM,
13553 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13555 (__mpn_sub_n): Don't use BP_SYM.
13556 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13557 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13559 (__mpn_submul_1): Don't use BP_SYM.
13560 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13562 <bp-sym.h> and <bp-asm.h>.
13563 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13565 <bp-sym.h> and <bp-asm.h>.
13566 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13569 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13572 Use ZK to minimize writes to Z.
13573 (sub_magnitudes): Simplify code a bit.
13574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13575 Use ZK to minimize writes to Z.
13576 (sub_magnitudes): Simplify code a bit.
13578 2013-02-27 Roland McGrath <roland@hack.frob.com>
13580 * csu/gmon-start.c: Add special exception to license text.
13582 2013-02-27 Richard Henderson <rth@redhat.com>
13584 * scripts/config.guess: Update from config.git.
13585 * scripts/config.sub: Likewise.
13587 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13591 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13593 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13595 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13597 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13599 2013-02-26 Roland McGrath <roland@hack.frob.com>
13601 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13602 [$(build-shared = yes].
13604 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13606 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13607 (__mul): Reduce iterations for calculating mantissa.
13609 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13611 (__mpranred): Likewise.
13614 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13615 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13617 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13619 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13620 Define __attribute__.
13622 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13624 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13626 * posix/regex_internal.h (__attribute): Remove.
13627 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13628 (re_string_context_at): Likewise.
13629 (bitset_not): Use __attribute__ and mark function as possibly
13631 (bitset_merge): Likewise.
13632 (bitset_mask): Likewise.
13633 (re_string_char_size_at): Likewise.
13634 (re_string_wchar_at): Likewise.
13635 (re_string_elem_size_at): Likewise.
13637 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13639 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13643 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13647 (denorm): Likewise.
13648 (__dbl_mp): Likewise.
13649 (add_magnitudes): Likewise.
13650 (sub_magnitudes): Likewise.
13654 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13657 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13660 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13664 up changes with default code.
13665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13668 2013-02-24 Allan McRae <allan@archlinux.org>
13670 * manual/socket.texi (The Internet Namespace): Order menu items
13671 to match that in the file.
13673 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13674 node listing of the info page menu.
13676 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13679 * sysdeps/i386/bp-asm.h: Remove file.
13680 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13681 (PARMS): Do not use macros from bp-asm.h.
13685 (__mpn_add_n): Do not use BP_SYM
13686 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13688 (PARMS): Do not use macros from bp-asm.h.
13691 (__mpn_addmul_1): Do not use BP_SYM
13692 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13694 (PARMS): Do not use macros from bp-asm.h.
13695 (SIGMSK): Likewise.
13696 (_setjmp): Likewise. Do not use BP_SYM.
13697 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13699 (PARMS): Do not use macros from bp-asm.h.
13700 (SIGMSK): Likewise.
13701 (setjmp): Likewise. Do not use BP_SYM.
13702 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13704 (PARMS): Do not use macros from bp-asm.h.
13705 (__frexp): Do not use BP_SYM.
13707 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13709 (PARMS): Do not use macros from bp-asm.h.
13710 (__frexpf): Do not use BP_SYM.
13711 (frexpf): Likewise.
13712 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13714 (PARMS): Do not use macros from bp-asm.h.
13715 (__frexpl): Do not use BP_SYM.
13716 (frexpl): Likewise.
13717 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13719 (PARMS): Do not use macros from bp-asm.h.
13720 (__remquo): Do not use BP_SYM.
13721 (remquo): Likewise.
13722 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13724 (PARMS): Do not use macros from bp-asm.h.
13725 (__remquof): Do not use BP_SYM.
13726 (remquof): Likewise.
13727 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13729 (PARMS): Do not use macros from bp-asm.h.
13730 (__remquol): Do not use BP_SYM.
13731 (remquol): Likewise.
13732 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13734 (PARMS): Do not use macros from bp-asm.h.
13737 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13738 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13740 (PARMS): Do not use macros from bp-asm.h.
13741 (strlen): Do not use BP_SYM.
13742 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13744 (PARMS): Do not use macros from bp-asm.h.
13748 (__mpn_add_n): Do not use BP_SYM.
13749 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13751 (PARMS): Do not use macros from bp-asm.h.
13754 (__mpn_addmul_1): Do not use BP_SYM.
13755 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13758 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13760 (PARMS): Do not use macros from bp-asm.h.
13763 (__mpn_lshift): Do not use BP_SYM.
13764 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13766 (PARMS): Do not use macros from bp-asm.h.
13770 (memcpy): Likewise. Do not use BP_SYM.
13771 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13772 libc_hidden_def and weak_alias.
13773 (mempcpy): Do not use BP_SYM in weak_alias.
13774 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13776 (PARMS): Do not use macros from bp-asm.h.
13779 [!BZERO_P] (CHR): Likewise.
13780 (memset): Likewise. Do not use BP_SYM.
13781 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13783 (PARMS): Do not use macros from bp-asm.h.
13786 (__mpn_mul_1): Do not use BP_SYM.
13787 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13789 (PARMS): Do not use macros from bp-asm.h.
13792 (__mpn_rshift): Do not use BP_SYM.
13793 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13795 (PARMS): Do not use macros from bp-asm.h.
13798 (strchr): Likewise. Do not use BP_SYM.
13799 (index): Do not use BP_SYM in weak_alias.
13800 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13802 (PARMS): Do not use macros from bp-asm.h.
13805 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13806 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13808 (PARMS): Do not use macros from bp-asm.h.
13809 (strlen): Do not use BP_SYM.
13810 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13812 (PARMS): Do not use macros from bp-asm.h.
13816 (__mpn_sub_n): Do not use BP_SYM.
13817 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13819 (PARMS): Do not use macros from bp-asm.h.
13822 (__mpn_submul_1): Do not use BP_SYM.
13823 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13825 (PARMS): Do not use macros from bp-asm.h.
13829 (__mpn_add_n): Do not use BP_SYM.
13830 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13833 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13835 (PARMS): Do not use macros from bp-asm.h.
13838 (memcmp): Do not use BP_SYM.
13839 (bcmp): Do not use BP_SYM in weak_alias.
13840 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13842 (PARMS): Do not use macros from bp-asm.h.
13846 (memcpy): Likewise. Do not use BP_SYM.
13847 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13849 (PARMS): Do not use macros from bp-asm.h.
13853 (memmove): Likewise. Do not use BP_SYM.
13854 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13856 (PARMS): Do not use macros from bp-asm.h.
13860 (__mempcpy): Likewise. Do not use BP_SYM.
13861 (mempcpy): Do not use BP_SYM in weak_alias.
13862 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13864 (PARMS): Do not use macros from bp-asm.h.
13867 [!BZERO_P] (CHR): Likewise.
13868 (memset): Likewise. Do not use BP_SYM.
13869 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13871 (PARMS): Do not use macros from bp-asm.h.
13873 (strcmp): Do not use BP_SYM.
13874 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13876 (PARMS): Do not use macros from bp-asm.h.
13879 [USE_AS_STRTOK_R] (SAVE): Likewise.
13880 (FUNCTION): Likewise. Do not use BP_SYM.
13881 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13883 (strtok_r): Likewise.
13884 (__GI___strtok_r): Likewise.
13885 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13886 (PARMS): Do not use macros from bp-asm.h.
13889 (__mpn_lshift): Do not use BP_SYM.
13890 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13891 (PARMS): Do not use macros from bp-asm.h.
13894 (__memchr): Do not use BP_SYM.
13895 (memchr): Do not use BP_SYM in weak_alias.
13896 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13897 (PARMS): Do not use macros from bp-asm.h.
13900 (memcmp): Do not use BP_SYM.
13901 (bcmp): Do not use BP_SYM in weak_alias.
13902 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13903 (PARMS): Do not use macros from bp-asm.h.
13906 (__mpn_mul_1): Do not use BP_SYM.
13907 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13909 (PARMS): Do not use macros from bp-asm.h.
13912 (__rawmemchr): Do not use BP_SYM.
13913 (rawmemchr): Do not use BP_SYM in weak_alias.
13914 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13915 (PARMS): Do not use macros from bp-asm.h.
13918 (__mpn_rshift): Do not use BP_SYM.
13919 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13920 (PARMS): Do not use macros from bp-asm.h.
13921 (SIGMSK): Likewise.
13922 (__sigsetjmp): Likewise. Do not use BP_SYM.
13923 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13924 (_start): Do not use BP_SYM.
13925 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13926 (PARMS): Do not use macros from bp-asm.h.
13929 (__stpcpy): Likewise. Do not use BP_SYM.
13930 (stpcpy): Do not use BP_SYM in weak_alias.
13931 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13933 (PARMS): Do not use macros from bp-asm.h.
13937 (__stpncpy): Likewise. Do not use BP_SYM.
13938 (stpncpy): Do not use BP_SYM in weak_alias.
13939 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13940 (PARMS): Do not use macros from bp-asm.h.
13943 (strchr): Likewise. Do not use BP_SYM.
13944 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13946 (PARMS): Do not use macros from bp-asm.h.
13949 (__strchrnul): Likewise. Do not use BP_SYM.
13950 (strchrnul): Do not use BP_SYM in weak_alias.
13951 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13953 (PARMS): Do not use macros from bp-asm.h.
13955 (strcspn): Do not use BP_SYM.
13956 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13958 (PARMS): Do not use macros from bp-asm.h.
13961 (strpbrk): Likewise. Do not use BP_SYM.
13962 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13964 (PARMS): Do not use macros from bp-asm.h.
13967 (strrchr): Likewise. Do not use BP_SYM.
13968 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13969 (PARMS): Do not use macros from bp-asm.h.
13971 (strspn): Do not use BP_SYM.
13972 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13973 (PARMS): Do not use macros from bp-asm.h.
13977 (FUNCTION): Likewise. Do not use BP_SYM.
13978 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13980 (strtok_r): Likewise.
13981 (__GI___strtok_r): Likewise.
13982 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13983 (PARMS): Do not use macros from bp-asm.h.
13987 (__mpn_sub_n): Do not use BP_SYM.
13988 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13990 (PARMS): Do not use macros from bp-asm.h.
13993 (__mpn_submul_1): Do not use BP_SYM.
13994 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13996 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13998 (PARMS): Do not use macros from bp-asm.h.
14003 (__clone): Do not use BP_SYM.
14004 (clone): Do not use BP_SYM in weak_alias.
14005 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14007 (PARMS): Do not use macros from bp-asm.h.
14009 (__mmap64): Do not use BP_SYM.
14010 (mmap64): Do not use BP_SYM in weak_alias.
14011 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14012 <bp-sym.h> and <bp-asm.h>.
14013 (PARMS): Do not use macros from bp-asm.h.
14014 (__posix_fadvise64_l64): Do not use BP_SYM.
14015 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14016 (PARMS): Do not use macros from bp-asm.h.
14018 (semtimedop): Do not use BP_SYM.
14019 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14022 2013-02-21 Allan McRae <allan@archlinux.org>
14024 * manual/message.texi (Charset conversion in gettext):
14025 Move @end statement to beginning of line.
14027 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14034 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14035 (denorm): Likewise.
14036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14039 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14041 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14042 tail-call to the resolved function if pltexit isn't needed.
14044 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14047 or Y being zero as being unlikely.
14048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14051 2013-02-20 Carlos O'Donell <carlos@redhat.com>
14053 * manual/nss.texi (System Databases and Name Service Switch):
14054 Remove frobnicate @pxref.
14056 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14058 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14059 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14061 2013-02-20 Petr Machata <pmachata@redhat.com>
14063 * elf/elf.h (R_ARM_TARGET1): New macro.
14064 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14065 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14066 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14067 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14068 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14069 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14070 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14071 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14072 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14073 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14074 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14075 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14076 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14077 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14078 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14079 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14080 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14081 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14082 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14083 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14084 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14085 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14086 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14087 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14088 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14089 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14090 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14091 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14092 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14093 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14094 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14095 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14096 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14097 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14098 (R_ARM_THM_GOT_BREL12): Likewise.
14099 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14100 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14101 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14102 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14103 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14104 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14105 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14106 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14107 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14109 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14111 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14112 __attribute_used__ to __attribute__ ((unused)).
14114 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14116 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14119 comment formatting.
14120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14122 2013-02-19 Joseph Myers <joseph@codesourcery.com>
14125 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14127 (ENTER): Remove both macro definitions.
14129 (CHECK_BOUNDS_LOW): Likewise.
14130 (CHECK_BOUNDS_HIGH): Likewise.
14131 (CHECK_BOUNDS_BOTH): Likewise.
14132 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14133 (RETURN_BOUNDED_POINTER): Likewise.
14134 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14135 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14136 (POP_ERRNO_LOCATION_RETURN): Likewise.
14137 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14138 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14139 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14141 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14142 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14143 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14144 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14145 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14146 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14147 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14148 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14149 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14150 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14151 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14152 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14153 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14154 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14156 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14157 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14159 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14160 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14161 * sysdeps/i386/i586/memset.S (memset): Likewise.
14162 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14163 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14164 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14166 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14167 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14168 Change uses of L(2) to L(out).
14169 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14170 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14171 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14172 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14173 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14175 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14176 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14178 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14179 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14180 (RETURN): Do not use macro LEAVE.
14181 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14182 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14183 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14184 * sysdeps/i386/i686/memset.S (memset): Likewise.
14185 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14186 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14187 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14188 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14190 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14191 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14192 L(1_2) and L(1_3) into L(1).
14193 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14194 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14195 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14196 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14197 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14198 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14199 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14200 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14201 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14203 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14204 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14205 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14206 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14207 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14208 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14209 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14210 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14211 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14212 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14213 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14214 * sysdeps/i386/strspn.S (strspn): Likewise.
14215 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14217 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14218 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14219 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14220 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14221 L(1_3) into L(1_1).
14222 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14223 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14224 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14226 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14228 2013-02-19 Jakub Jelinek <jakub@redhat.com>
14230 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14233 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14235 * math/atest-exp.c (exp_mpn): Remove ROUND.
14236 * math/atest-exp2.c (exp_mpn): Likewise.
14237 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14239 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14240 * stdlib/tst-tls-atexit-lib.c: Likewise.
14241 * stdlib/tst-tls-atexit.c: Likewise.
14243 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14245 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14246 and __attribute_alloc_size__.
14248 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14250 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14251 __attribute_alloc_size__.
14252 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14253 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14255 2013-02-18 Mike Frysinger <vapier@gentoo.org>
14257 * include/programs/xmalloc.h: New file.
14258 * catgets/gencat.c: Include it.
14259 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14260 * elf/pldd.c: Likewise.
14261 * iconv/iconv_charmap.c: Likewise.
14262 * iconv/iconvconfig.c: Likewise.
14263 * iconv/strtab.c: Likewise.
14264 * locale/programs/locale.c: Likewise.
14265 * locale/programs/localedef.h: Likewise.
14266 * locale/programs/simple-hash.c: Likewise.
14267 * nscd/nscd.h: Likewise.
14268 * nss/makedb.c: Likewise.
14269 * sysdeps/generic/ldconfig.h: Likewise.
14271 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14273 * Versions.def: Add GLIBC_2.18.
14274 * include/link.h (struct link_map): New member l_tls_dtor_count.
14275 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14276 (__call_tls_dtors): Likewise.
14277 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14278 __cxa_thread_atexit_impl.
14279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14287 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14295 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14296 (tests): Add test case tst-tls-atexit.
14297 (modules-names): Add shared library for tst-tls-atexit.
14298 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
14299 (GLIBC_PRIVATE): Add __call_tls_dtors.
14300 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14302 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14303 * stdlib/tst-tls-atexit.c: New test case.
14304 * stdlib/tst-tls-atexit-lib.c: New test case.
14306 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
14308 * elf/Versions (ld): Add _dl_find_dso_for_object.
14309 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14310 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14311 (dl_open_worker): Use _dl_find_dso_for_object.
14312 * elf/dl-sym.c (do_sym): Likewise.
14313 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14315 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14317 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14318 Syntactic changes only.
14319 (_dl_runtime_profile): Do a tail-call to the resolved function.
14321 2013-02-17 Joseph Myers <joseph@codesourcery.com>
14324 * sysdeps/x86_64/bp-asm.h: Remove file.
14325 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14326 <bp-sym.h> and <bp-asm.h>.
14327 (__clone): Do not use BP_SYM.
14328 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14329 <bp-sym.h> and <bp-asm.h>.
14330 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14331 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14333 (_setjmp): Do not use BP_SYM.
14334 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14336 (setjmp): Do not use BP_SYM.
14337 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14339 (mempcpy): Do not use BP_SYM in weak_alias.
14340 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14342 (strchr): Do not use BP_SYM.
14343 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14345 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14346 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14347 (_start): Do not use BP_SYM.
14348 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14350 (strcat): Do not use BP_SYM.
14351 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14353 (STRCMP): Do not use BP_SYM.
14354 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14356 (STRCPY): Do not use BP_SYM.
14357 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14359 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14361 (FUNCTION): Do not use BP_SYM.
14362 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14364 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14366 2013-02-17 Andreas Jaeger <aj@suse.de>
14368 * time/Versions: Sort entries.
14369 * string/Versions: Likewise.
14370 * resolv/Versions: Likewise.
14371 * posix/Versions: Likewise.
14372 * iconv/Versions: Likewise.
14373 * elf/Versions: Likewise.
14374 * wcsmbs/Versions: Likewise.
14376 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14378 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14379 loop termination condition.
14381 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14382 variable to calculate EZ.
14385 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14386 the lower precision input.
14388 2013-02-15 Joseph Myers <joseph@codesourcery.com>
14391 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14392 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14393 (run-via-rtld-prefix): Do not handle %-bp tests.
14394 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14395 (all-object-suffixes): Remove .ob.
14396 (bppfx): Remove variable.
14397 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14398 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14399 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14400 [$(build-bounded) = yes] (libtype.ob): Likewise.
14401 * Makerules (elide-routines.ob): Remove variable.
14402 (do-tests-clean): Do not handle *-bp.out.
14403 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14404 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14405 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14406 (tests): Do not include $(tests-bp.out).
14407 (xtests): Do not include $(xtests-bp.out).
14408 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14409 [$(build-bounded) = yes] ($(addprefix
14410 $(objpfx),$(binaries-bounded))): Remove rule.
14411 ($(objpfx)%-bp.out): Remove rule.
14412 * config.make.in (build-bounded): Remove variable.
14413 * crypt/Makefile [$(build-bounded) = yes]
14414 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14415 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14416 append to variable.
14417 [$(build-bounded) = yes] (install-lib): Likewise.
14418 [$(build-bounded) = yes] (generated): Likewise.
14419 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14421 * intl/Makefile [$(build-bounded) = yes]
14422 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14423 * math/Makefile [$(build-bounded) = yes]
14424 ($(tests:%=$(objpfx)%-bp): Likewise.
14425 * misc/Makefile [$(build-bounded) = yes]
14426 ($(objpfx)tst-tsearch-bp): Likewise.
14427 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14428 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14430 * string/Makefile (o-objects.ob): Remove variable.
14431 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14432 (CFLAGS-.ob): Remove variable.
14433 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14434 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14435 both definitions of variable.
14436 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14437 (ASFLAGS-.ob): Remove variable.
14439 2013-02-14 Joseph Myers <joseph@codesourcery.com>
14442 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14443 Remove __BOUNDED_POINTERS__ from condition.
14444 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14445 * string/bits/string2.h [!__NO_STRING_INLINES &&
14446 !__BOUNDED_POINTERS__]: Likewise.
14447 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14449 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14450 Remove conditional code.
14451 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14452 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14453 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14457 * csu/libc-start.c: Do not include <bp-sym.h>.
14458 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14459 * elf/dl-open.c: Do not include <bp-sym.h>.
14460 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14461 * math/fegetenv.c: Do not include <bp-sym.h>.
14462 (fegetenv): Do not use BP_SYM in versioned symbols.
14463 * nptl/sysdeps/pthread/bits/libc-lockP.h
14464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14467 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14469 (__pthread_mutex_destroy): Likewise.
14470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14471 (__pthread_mutex_lock): Likewise.
14472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14473 (__pthread_mutex_trylock): Likewise.
14474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14475 (__pthread_mutex_unlock): Likewise.
14476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14477 (__pthread_mutexattr_init): Likewise.
14478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14479 (__pthread_mutexattr_destroy): Likewise.
14480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14481 (__pthread_mutexattr_settype): Likewise.
14482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14483 (__pthread_rwlock_init): Likewise.
14484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14485 (__pthread_rwlock_destroy): Likewise.
14486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14487 (__pthread_rwlock_rdlock): Likewise.
14488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14489 (__pthread_rwlock_tryrdlock): Likewise.
14490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14491 (__pthread_rwlock_wrlock): Likewise.
14492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14493 (__pthread_rwlock_trywrlock): Likewise.
14494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14495 (__pthread_rwlock_unlock): Likewise.
14496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14497 (__pthread_key_create): Likewise.
14498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14499 (__pthread_setspecific): Likewise.
14500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14501 (__pthread_getspecific): Likewise.
14502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14505 (_pthread_cleanup_push_defer): Likewise.
14506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14507 (_pthread_cleanup_pop_restore): Likewise.
14508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14509 (pthread_setcancelstate): Likewise.
14510 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14512 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14513 (memchr): Do not use BP_SYM in weak_alias.
14514 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14515 (fegetenv): Do not use BP_SYM in versioned symbols.
14516 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14517 (fesetenv): Do not use BP_SYM in versioned symbols.
14518 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14519 (feupdateenv): Do not use BP_SYM in versioned symbols.
14520 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14521 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14522 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14523 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14524 (open64): Do not use BP_SYM in weak_alias.
14525 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14526 (fegetenv): Do not use BP_SYM in versioned symbols.
14527 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14528 (fesetenv): Do not use BP_SYM in versioned symbols.
14529 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14530 (feupdateenv): Do not use BP_SYM in versioned symbols.
14531 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14532 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14533 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14534 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14535 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14536 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14537 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14539 (__libc_start_main): Do not use BP_SYM.
14541 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14544 redundant return line.
14546 (denorm): Likewise.
14547 (dbl_mp): Likewise.
14548 (sub_magnitudes): Likewise.
14554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14556 (denorm): Likewise.
14557 (dbl_mp): Likewise.
14558 (sub_magnitudes): Likewise.
14565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14567 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14568 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14571 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14572 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14574 of __mul for squares.
14575 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14579 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14580 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14582 2013-02-13 Joseph Myers <joseph@codesourcery.com>
14585 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14587 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14588 prototype or function definition. Rename ubp_* variables and
14589 parameters. Remove argv definitions conditional on
14590 [__BOUNDED_POINTERS__].
14591 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14592 * elf/dl-runtime.c (_dl_fixup): Likewise.
14593 * include/set-hooks.h (RUN_HOOK): Likewise.
14594 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14596 * string/strcpy.c (strcpy): Do not use __unbounded.
14597 * sysdeps/generic/frame.h (struct layout): Likewise.
14598 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14599 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14600 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14601 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14602 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14603 (__backtrace): Likewise.
14604 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14606 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14607 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14608 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14610 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14611 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14612 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14613 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14614 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14615 Do not use __unbounded.
14616 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14617 Rename __unboundedrlimits parameter to rlimits in prototype.
14618 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14619 Do not use __unbounded.
14620 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14621 not use __ptrvalue.
14622 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14623 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14624 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14625 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14626 __ptrvalue or __unbounded.
14627 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14628 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14630 (__new_msgctl): Do not use __ptrvalue.
14631 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14633 (__libc_msgrcv): Do not use __ptrvalue.
14634 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14635 startup_info): Do not use __unbounded.
14636 (__libc_start_main): Likewise. Rename ubp_* variables and
14637 parameters. Remove argv definitions conditional on
14638 [__BOUNDED_POINTERS__].
14639 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14641 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14643 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14645 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14647 (__new_shmctl): Do not use __ptrvalue.
14648 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14649 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14651 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14652 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14653 (__libc_sigaction): Likewise.
14654 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14655 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14657 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14659 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14661 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14663 * string/mempcpy.c: Implement by calling memcpy.
14665 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14667 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14672 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14673 values in the mantissa.
14675 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14676 minimize writes to Z.
14677 (sub_magnitudes): Simplify code a bit.
14679 2013-02-12 Roland McGrath <roland@hack.frob.com>
14681 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14682 from the message. The linker prefixes all warnings with that already.
14684 2013-02-12 Andreas Schwab <schwab@suse.de>
14687 * posix/regexec.c (extend_buffers): Add parameter min_len.
14688 (check_matching): Pass minimum needed length.
14689 (clean_state_log_if_needed): Likewise.
14690 (get_subexp): Likewise.
14691 * posix/Makefile (tests): Add bug-regex34.
14692 (bug-regex34-ENV): Define.
14693 * posix/bug-regex34.c: New file.
14696 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14697 elements compare against the byte sequence of it, not its name.
14698 * posix/Makefile (tests): Add bug-regex35.
14699 (bug-regex35-ENV): Define.
14700 * posix/bug-regex35.c: New file.
14702 2013-02-11 Tom de Vries <tom@codesourcery.com>
14704 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14706 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14707 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14708 (CHECK_EOL): Add undef.
14710 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14712 * bits/stdlib-bsearch.h: New file.
14713 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14714 * stdlib/stdlib.h: Likewise.
14716 2013-02-11 Roland McGrath <roland@hack.frob.com>
14718 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14719 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14721 * manual/search.texi (Array Search Function): Add missing const in
14723 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14724 declaration to use rlim_t.
14725 (Basic Scheduling Functions): Remove erroneous const from
14726 sched_getparam prototype. Remove erroneous * from
14727 sched_get_priority_max and sched_get_priority_min prototypes.
14728 (Resource Usage): Fix summary @comment on vtimes to refer to
14729 sys/vtimes.h rather than vtimes.h.
14730 Add missing *s in vtimes prototype.
14731 (Limits on Resources): Fix ulimit prototype to return long int.
14732 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14733 prototypes to use long int rather than double.
14734 (BSD Random): Fix initstate and setstate to use char *, not void *.
14735 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14736 prototype to make second argument 'struct aiocb64 *const[]'.
14737 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14738 (Status of AIO Operations): Remove erroneous const in aio_return and
14739 aio_return64 prototypes.
14740 (Synchronizing I/O): Fix sync prototype to return void.
14741 * manual/startup.texi (Suboptions): Remove an erroneous const in
14742 getsubopt prototype.
14743 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14744 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14745 use size_t rather than int.
14746 (Scanning All Users): Likewise for getpwent_r.
14747 (Setting Groups): Add missing const to setgroups prototype.
14748 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14749 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14750 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14751 'const void *' rather than 'const char *'.
14752 (Host Address Functions): Likewise for inet_ntop.
14753 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14754 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14755 ssize_t for return value.
14756 (Sending Data): Likewise for send, sendto, sendmsg.
14757 (Socket Option Functions): Add a missing const in setsockopt prototype.
14758 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14759 use wchar_t for the argument.
14760 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14761 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14763 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14764 double/float/long double for second argument.
14765 Fix return types of significand, significandf, significandl.
14766 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14767 argument in fchmod prototype.
14768 (File Owner): Use uid_t and gid_t in fchown prototype.
14769 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14770 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14771 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14772 use 'const struct dirent **' as argument types to CMP function pointer
14774 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14775 (File Times): Fix summary magic @comment for struct utimbuf and utime
14776 to refer to utime.h, not time.h.
14777 * manual/string.texi (Argz Functions): Add missing const in
14778 argz_extract and argz_next prototypes.
14779 (Finding Tokens in a String): Likewise for basename.
14780 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14781 (Copying and Concatenation): Fix typo in wmemmove prototype.
14782 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14783 (Signal Stack): Remove erroneous const in sigstack prototype.
14784 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14786 (Simple Calendar Time): Likewise for stime.
14787 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14789 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14790 say sys/sysctl.h instead.
14791 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14792 and vsyslog prototypes.
14794 2013-02-11 Tom de Vries <tom@codesourcery.com>
14796 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14799 2013-02-11 Roland McGrath <roland@hack.frob.com>
14801 * misc/sys/mman.h: Fix typo in mremap comment.
14803 2013-02-08 Roland McGrath <roland@hack.frob.com>
14805 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14806 the '\0' terminator.
14808 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14811 * debug/segfault.c: Don't include <bp-checks.h>.
14812 * sysdeps/generic/bp-checks.h: Remove file.
14813 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14814 (__GETDENTS): Don't use CHECK_N.
14815 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14816 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14817 (__getgroups): Don't use CHECK_N.
14818 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14819 (setgroups): Don't use CHECK_N.
14820 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14821 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14822 (__libc_msgrcv): Don't use CHECK_N.
14823 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14824 (__libc_msgsnd): Don't use CHECK_N.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14827 (__libc_pread): Don't use CHECK_N.
14828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14829 include <bp-checks.h>.
14830 (__libc_pread64): Don't use CHECK_N.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14832 include <bp-checks.h>.
14833 (__libc_pwrite): Don't use CHECK_N.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14835 include <bp-checks.h>.
14836 (__libc_pwrite64): Don't use CHECK_N.
14837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14839 (__libc_pread): Don't use CHECK_N.
14840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14841 include <bp-checks.h>.
14842 (__libc_pread64): Don't use CHECK_N.
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14844 include <bp-checks.h>.
14845 (__libc_pwrite): Don't use CHECK_N.
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14847 include <bp-checks.h>.
14848 (__libc_pwrite64): Don't use CHECK_N.
14849 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14850 (do_pread): Don't use CHECK_N.
14851 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14852 (do_pread64): Don't use CHECK_N.
14853 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14854 (do_pwrite): Don't use CHECK_N.
14855 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14856 (do_pwrite64): Don't use CHECK_N.
14857 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14858 (__libc_readv): Don't use CHECK_N.
14859 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14860 (semop): Don't use CHECK_N.
14861 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14863 (semtimedop): Don't use CHECK_N.
14864 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14865 (__libc_pread): Don't use CHECK_N.
14866 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14868 (__libc_pread64): Don't use CHECK_N.
14869 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14871 (__libc_pwrite): Don't use CHECK_N.
14872 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14874 (__libc_pwrite64): Don't use CHECK_N.
14875 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14877 (__libc_msgrcv): Don't use CHECK_N.
14878 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14879 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14880 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14881 (__libc_writev): Don't use CHECK_N.
14883 2013-02-08 Roland McGrath <roland@hack.frob.com>
14885 * string/strcpy.c: Removed unused variable.
14887 * Makeconfig (+sysdep-includes): Define with := rather than =.
14888 Use an existing include/ subdir of each sysdeps dir before it.
14890 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14892 * nscd/connection.c (register_traced_file): Comment function.
14893 [HAVE_INOTIFY] (union __inev): Define.
14894 [HAVE_INOTIFY] (inotify_check_files): New function.
14895 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14896 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14898 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14900 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14902 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14903 loaded if not already and that a failure is permanent.
14905 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14908 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14909 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14911 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14914 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14915 (CHECK_1_NULL_OK): Likewise.
14916 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14917 (__fxstat): Do not use CHECK_1.
14918 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14920 (___fxstat64): Do not use CHECK_1.
14921 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14923 (__fxstatat): Do not use CHECK_1.
14924 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14926 (__fxstatat64): Do not use CHECK_1.
14927 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14929 (__fxstat): Do not use CHECK_1.
14930 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14932 (__fxstatat): Do not use CHECK_1.
14933 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14935 (__getresgid): Do not use CHECK_1.
14936 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14938 (__getresuid): Do not use CHECK_1.
14939 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14941 (__lxstat): Do not use CHECK_1.
14942 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14944 (__old_msgctl): Do not use CHECK_1.
14945 (__new_msgctl): Likewise.
14946 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14948 (__new_setrlimit): Do not use CHECK_1.
14949 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14951 (__old_shmctl): Do not use CHECK_1.
14952 (__new_shmctl): Likewise.
14953 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14955 (__xstat): Do not use CHECK_1.
14956 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14957 (__lxstat): Do not use CHECK_1.
14958 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14960 (___lxstat64): Do not use CHECK_1.
14961 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14962 (__old_msgctl): Do not use CHECK_1.
14963 (__new_msgctl): Likewise.
14964 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14966 (__gettimeofday): Do not use CHECK_1.
14967 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14968 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14969 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14971 (__gettimeofday): Do not use CHECK_1.
14972 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14973 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14974 (__new_shmctl): Do not use CHECK_1.
14975 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14977 (do_sigtimedwait): Do not use CHECK_1.
14978 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14980 (do_sigwaitinfo): Do not use CHECK_1.
14981 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14983 (msgctl): Do not use CHECK_1.
14984 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14986 (shmctl): Do not use CHECK_1.
14987 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14988 (ustat): Do not use CHECK_1.
14989 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14991 (__fxstat): Do not use CHECK_1.
14992 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14994 (__fxstatat): Do not use CHECK_1.
14995 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14997 (__lxstat): Do not use CHECK_1.
14998 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15000 (__xstat): Do not use CHECK_1.
15001 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15002 (__xstat): Do not use CHECK_1.
15003 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15004 (___xstat64): Do not use CHECK_1.
15007 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15009 (CHECK_BOUNDS_HIGH): Likewise.
15010 * string/strcpy.c: Do not include <bp-checks.h>.
15011 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15013 2013-02-07 Roland McGrath <roland@hack.frob.com>
15015 * nscd/nscd-client.h (__nscd_drop_map_ref):
15016 Add __attribute__ ((unused)).
15017 * nis/nss-nisplus.h (niserr2nss): Likewise.
15019 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15020 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15022 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15023 Remove inline keyword.
15024 * include/rounding-mode.h (round_away): Likewise.
15025 * libio/wfileops.c (adjust_wide_data): Likewise.
15026 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15027 (__m128i_strloadu_tolower): Likewise.
15028 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15029 (__m128i_strloadu_tolower): Likewise.
15030 * time/mktime.c (ydhms_diff): Likewise.
15031 * locale/elem-hash.h (elem_hash): Likewise.
15032 * locale/setlocale.c (setdata): Likewise.
15033 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15034 (re_string_wchar_at): Likewise.
15035 (bitset_not, bitset_merge, bitset_mask): Likewise.
15036 [!(__GNUC__ > 3)] (inline): Remove macro.
15037 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15038 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15039 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15040 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15041 * string/memcmp.c (memcmp_bytes): Likewise.
15042 * locale/programs/locarchive.c (compute_hashval): Likewise.
15043 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15044 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15045 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15046 * nss/getent.c (print_rpc, print_protocols): Likewise.
15047 (print_passwd, print_group, print_aliases): Likewise.
15048 * nis/nss-nisplus.h (niserr2nss): Likewise.
15049 * nscd/connections.c (restart_p): Likewise.
15050 Change return type to bool.
15052 2013-02-05 Roland McGrath <roland@hack.frob.com>
15054 * Makeconfig (all-Depend-files): Add existing
15055 $(sorted-subdirs:=/Depend) files.
15056 (all-subdirs): Remove nss.
15057 * sysdeps/unix/inet/Subdirs: Add it here instead.
15058 * hesiod/Depend: New file.
15060 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15061 instead of calling alloca.
15063 * io/lseek.c (__lseek): Rename to __libc_lseek.
15064 Define __lseek as an alias.
15066 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15068 2013-02-04 Carlos O'Donell <carlos@redhat.com>
15070 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15071 else clause and remove check for non-standard endianness.
15073 2013-02-04 David S. Miller <davem@davemloft.net>
15075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15077 2013-02-04 Joseph Myers <joseph@codesourcery.com>
15080 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15081 (__ubp_memchr): Remove prototype.
15082 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15083 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15084 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15085 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15086 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15088 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15089 (__ubp_memchr): Likewise.
15090 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15091 (__ubp_memchr): Likewise.
15092 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15093 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15094 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15095 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15097 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15098 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15099 (__getcwd): Do not use CHECK_STRING.
15100 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15102 (__real_chown): Do not use CHECK_STRING.
15103 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15105 (fchownat): Do not use CHECK_STRING.
15106 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15108 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15110 (__lchown): Do not use CHECK_STRING.
15111 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15112 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15113 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15114 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15116 include <bp-checks.h>.
15117 (truncate64): Do not use CHECK_STRING.
15118 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15120 (__real_chown): Do not use CHECK_STRING.
15121 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15123 (__lchown): Do not use CHECK_STRING.
15124 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15126 (__chown): Do not use CHECK_STRING.
15127 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15129 (truncate64): Do not use CHECK_STRING.
15130 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15132 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15133 (__xmknod): Do not use CHECK_STRING.
15134 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15136 (__xmknodat): Do not use CHECK_STRING.
15137 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15138 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15140 2013-02-04 Andreas Schwab <schwab@suse.de>
15143 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15144 * include/netdb.h: Likewise for h_errno.
15145 * elf/tst-stackguard1.c: Include <tls.h>.
15147 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15149 * elf/link.h (struct link_map): Extend the l_addr comment.
15150 * include/link.h (struct link_map): Likewise.
15152 2013-02-01 Joseph Myers <joseph@codesourcery.com>
15155 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15156 (BOUNDED_1): Remove macro.
15157 * debug/backtrace.c: Don't include <bp-checks.h>.
15158 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15159 (__backtrace): Likewise.
15160 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15162 (__backtrace): Don't use BOUNDED_1.
15163 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15165 (__backtrace): Don't use BOUNDED_1.
15166 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15167 (__backtrace): Don't use BOUNDED_1.
15168 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15169 (shmat): Don't use BOUNDED_N.
15171 2013-01-31 Joseph Myers <joseph@codesourcery.com>
15174 * sysdeps/generic/bp-start.h: Remove file.
15175 * csu/libc-start.c: Don't include <bp-start.h>.
15176 (LIBC_START_MAIN): Set up __environ directly instead of using
15177 INIT_ARGV_and_ENVIRON.
15178 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15182 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15184 (CHECK_FCNTL): Likewise.
15185 (CHECK_N_PAGES): Likewise.
15188 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15190 (CHECK_SIGSET_NULL_OK): Likewise.
15191 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15193 (sigpending): Don't use CHECK_SIGSET.
15194 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15196 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15197 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15199 (do_sigsuspend): Don't use CHECK_SIGSET.
15200 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15202 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15203 (do_sigwait): Don't use CHECK_SIGSET.
15204 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15206 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15207 include <bp-checks.h>.
15208 (sigpending): Don't use CHECK_SIGSET.
15209 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15210 include <bp-checks.h>.
15211 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15212 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15214 (sigpending): Don't use CHECK_SIGSET.
15215 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15217 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15220 * sysdeps/generic/bp-semctl.h: Remove file.
15221 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15222 <bp-checks.h> and <bp-semctl.h>.
15223 (__old_semctl): Don't use CHECK_SEMCTL.
15224 (__new_semctl): Likewise.
15225 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15227 (__old_semctl): Don't use CHECK_SEMCTL.
15228 (__new_semctl): Likewise.
15229 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15230 <bp-checks.h> and <bp-semctl.h>.
15231 (__old_semctl): Don't use CHECK_SEMCTL.
15232 (__new_semctl): Likewise.
15233 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15234 <bp-checks.h> and <bp-semctl.h>.
15235 (semctl): Don't use CHECK_SEMCTL.
15238 * Makerules (elide-bp-thunks): Remove variable.
15239 (elide-routines.oS): Don't use $(elide-bp-thunks).
15240 (elide-routines.os): Likewise.
15241 (elide-routines.o): Likewise.
15242 (elide-routines.op): Likewise.
15243 (elide-routines.og): Likewise.
15244 (objects): Don't use $(bp-thunks).
15245 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15247 (common-generated): Do not add s-proto-bp.d.
15248 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15251 Do not generate makefile rules for bounded-pointer thunks.
15252 * sysdeps/generic/bp-thunks.h: Remove file.
15253 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15254 * sysdeps/unix/s-proto-bp.S: Likewise.
15257 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15258 parts of result separately when argument is not close to line from
15259 -i to i and one part of argument is small.
15260 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15261 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15262 * math/libm-test.inc (cacos_test): Add more tests.
15263 (casin_test): Likewise.
15264 (casinh_test): Likewise.
15265 * sysdeps/i386/fpu/libm-test-ulps: Update.
15266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15268 2013-01-31 David S. Miller <davem@davemloft.net>
15270 * po/de.po: Update from translation team.
15272 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15274 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15276 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15278 * configure.in (_AC_PROG_CC_C89): New definition.
15279 * configure: Regenerate.
15281 * configure.in (AC_PROG_CPP): New definition.
15282 * configure: Regenerate.
15284 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15286 * debug/tst-backtrace.h: New file.
15287 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15288 (ret): Remove variable.
15290 (FAIL): Remove macro.
15291 (NO_INLINE): Likewise.
15292 (fn1): Use match function instead of strstr.
15293 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15294 (ret): Remove variable.
15296 (FAIL): Remove macro.
15297 (NO_INLINE): Likewise.
15298 (fn): Use match function instead of strstr.
15299 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15300 (ret): Remove variable.
15302 (FAIL): Remove macro.
15303 (NO_INLINE): Likewise.
15304 (handle_signal): Use match function instead of strstr.
15305 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15306 (ret): Remove variable.
15308 (FAIL): Remove macro.
15309 (NO_INLINE): Likewise.
15310 (handle_signal): Use match function instead of strstr.
15312 2013-01-23 Roland McGrath <roland@hack.frob.com>
15314 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15316 2013-01-23 David S. Miller <davem@davemloft.net>
15318 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15319 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15320 argument of CAS if possible.
15321 * sysdeps/sparc/sparc64/bits/atomic.h
15322 (__arch_compare_and_exchange_val_32_acq): Likewise.
15323 (__arch_compare_and_exchange_val_64_acq): Likewise.
15325 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15327 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15328 * sysdeps/posix/ulimit.c: ... this.
15329 Include <limits.h>.
15330 * sysdeps/unix/bsd/ulimit.c: Remove file.
15332 2013-01-23 Adam Conrad <adconrad@0c3.net>
15334 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15335 (LDFLAGS-tst-array5): Likewise.
15337 2013-01-23 Joseph Myers <joseph@codesourcery.com>
15340 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15341 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15342 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15343 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15345 2013-01-21 David S. Miller <davem@davemloft.net>
15347 * sysdeps/sparc/backtrace.c: New file.
15348 * sysdeps/sparc/sparc32/backtrace.h: New file.
15349 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15350 * sysdeps/sparc/sparc64/backtrace.h: New file.
15351 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15352 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15355 2013-01-21 Andreas Schwab <schwab@suse.de>
15358 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15361 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15367 2013-01-18 Joseph Myers <joseph@codesourcery.com>
15368 Mark Mitchell <mark@codesourcery.com>
15369 Tom de Vries <tom@codesourcery.com>
15370 Paul Pluzhnikov <ppluzhnikov@google.com>
15372 * debug/tst-backtrace2.c: New file.
15373 * debug/tst-backtrace3.c: Likewise.
15374 * debug/tst-backtrace4.c: Likewise.
15375 * debug/tst-backtrace5.c: Likewise.
15376 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15377 (CFLAGS-tst-backtrace3.c): Likewise.
15378 (CFLAGS-tst-backtrace4.c): Likewise.
15379 (CFLAGS-tst-backtrace5.c): Likewise.
15380 (LDFLAGS-tst-backtrace2): Likewise.
15381 (LDFLAGS-tst-backtrace3): Likewise.
15382 (LDFLAGS-tst-backtrace4): Likewise.
15383 (LDFLAGS-tst-backtrace5): Likewise.
15384 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15385 tst-backtrace4 and tst-backtrace5.
15387 2013-01-18 Anton Blanchard <anton@samba.org>
15388 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15390 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15391 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15392 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15393 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15395 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15396 "+r" and remove output regs list as redundant. Add explicit inline
15397 asm to specify register of return val to work around compiler codegen
15398 bug. Remove (int) cast on return value. Add return type parameter to
15399 use in macro so that this macro does not truncate return value for
15401 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15402 pass to INTERNAL_VSYSCALL_NCS.
15403 (INLINE_VSYSCALL): Add 'long int' as return type to
15404 INTERNAL_VSYSCALL_NCS macro invocation.
15405 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15406 INTERNAL_VSYSCALL_NCS macro invocation.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15409 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15412 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15413 Fix application of SIMD FP exception mask.
15415 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15416 mp_no from a power of two.
15417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15418 __mpexp_twomm1. Use __pow_mp.
15420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15423 2013-01-17 David S. Miller <davem@davemloft.net>
15425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15427 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15430 * include/complex.h: Condition contents on [!_COMPLEX_H].
15431 (__kernel_casinhf): New prototype.
15432 (__kernel_casinh): Likewise.
15433 (__kernel_casinhl): Likewise.
15434 * math/Makefile (libm_calls): Add k_casinh.
15435 * math/k_casinh.c: New file.
15436 * math/k_casinhf.c: Likewise.
15437 * math/k_casinhl.c: Likewise.
15438 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15439 finite nonzero arguments.
15440 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15441 finite nonzero arguments.
15442 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15443 finite nonzero arguments.
15444 * math/s_casinh.c: Do not include <float.h>.
15445 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15446 * math/s_casinhf.c: Do not include <float.h>.
15447 (__casinhf): Move code for finite nonzero arguments to
15449 * math/s_casinhl.c: Do not include <float.h>.
15450 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15452 (__casinhl): Move code for finite nonzero arguments to
15454 * math/libm-test.inc (cacos_test): Add more tests.
15455 * sysdeps/i386/fpu/libm-test-ulps: Update.
15456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15460 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15461 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15462 [!HAVE_MREMAP]: Remove [defined linux] case.
15463 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15465 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15467 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15469 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
15471 * elf/elf.h (R_386_SIZE32): New relocation.
15472 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15474 (elf_machine_rela): Likewise.
15475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15476 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15478 2013-01-17 Joseph Myers <joseph@codesourcery.com>
15480 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15481 (FP_FAST_FMA): Do not define.
15482 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15483 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15484 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15485 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15486 !_SOFT_FLOAT]: Likewise.
15487 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15488 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15490 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15491 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15492 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15493 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15494 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15495 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15498 2013-01-16 Andreas Schwab <schwab@suse.de>
15501 * include/stdlib.h (__mktemp): Add declaration.
15502 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15503 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15505 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15507 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15509 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15510 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15511 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15513 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15514 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15516 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15518 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15519 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15520 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15522 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15523 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15525 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15527 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15529 2013-01-15 David S. Miller <davem@davemloft.net>
15531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15532 trunc{,f} to libm-sysdep_routes.
15533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15543 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15544 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15545 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15546 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15547 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15548 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15551 nearbyint{,f} to libm-sysdep_routes.
15552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15563 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15565 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15566 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15569 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15570 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15572 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15573 libc_feholdexcept and libc_fesetenv.
15575 2013-01-15 Mike Frysinger <vapier@gentoo.org>
15577 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15579 2013-01-14 David S. Miller <davem@davemloft.net>
15581 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15582 (SPARC_ASM_VIS2_IFUNC): Likewise.
15583 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15585 use of 'siam' instruction.
15586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15616 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15619 routines to libm-sysdep_routines.
15620 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15623 fdim/fdimf to libm-sysdep_routines.
15624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15632 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15633 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15634 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15635 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15637 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15640 to optimize copies.
15642 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15647 local variable MPTWO.
15648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15651 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15653 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15656 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15658 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15660 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15662 * manual/pattern.texi (glob_t): Document gl_flags.
15663 (glob64_t): Likewise.
15665 2013-01-11 David S. Miller <davem@davemloft.net>
15667 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15668 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15669 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15670 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15671 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15672 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15673 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15674 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15675 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15676 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15677 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15678 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15679 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15681 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15682 sparc V9 rather than using V8 code.
15683 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15684 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15686 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15688 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15691 2013-01-11 Roland McGrath <roland@hack.frob.com>
15693 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15694 not in the main loop.
15695 * configure: Regenerated.
15697 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15699 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15700 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15702 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15703 [!__GLIBC_HAVE_LONG_LONG] case.
15704 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15705 condition to just #else.
15706 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15707 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15708 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15709 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15711 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15712 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15713 #elif condition to just #else.
15714 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15715 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15716 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15717 #elif condition to just #else.
15719 2013-01-11 Steve Ellcey <sellcey@mips.com>
15721 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15722 (EF_MIPS_ARCH_64): Fix value.
15723 (EF_MIPS_ARCH_32R2): New.
15724 (EF_MIPS_ARCH_64R2): New.
15726 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15728 * Makeconfig (+link-pie-before-libc): New.
15729 (+link-pie-after-libc): Likewise.
15730 (+link-pie-tests): Likewise.
15731 (+link-pie): Rewritten.
15732 (link-before-libc): Remove $(config-LDFLAGS).
15733 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15734 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15735 (config-LDFLAGS): Renamed to ...
15736 (rtld-LDFLAGS): This.
15737 (rtld-tests-LDFLAGS): New macro.
15738 (link-libc-rpath-link): Likewise.
15739 (link-libc-tests-rpath-link): Likewise.
15740 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15741 (link-libc): Prepand $(link-libc-rpath-link).
15742 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15743 (test-program-prefix): New macro.
15744 (test-via-rtld-prefix): Likewise.
15745 (test-program-cmd): Likewise.
15746 (host-test-program-cmd): Likewise.
15747 * Makefile ($(common-objpfx)testrun.sh): Replace
15748 $(run-program-prefix) with $(test-program-prefix).
15749 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15751 ($(common-objpfx)shlib.lds): Likewise.
15752 (build-module-helper): Likewise.
15753 ($(common-objpfx)format.lds): Likewise.
15754 * Rules (binaries-pie-tests): New.
15755 (binaries-pie-notests): Likewise.
15756 (binaries-pie): Rewritten.
15757 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15758 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15759 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15760 (make-test-out): Replace $(host-built-program-cmd) with
15761 $(host-test-program-cmd).
15762 * config.make.in (build-hardcoded-path-in-tests): New variable.
15763 * configure.in (--enable-hardcoded-path-in-tests): New configure
15765 (hardcoded_path_in_tests): New AC_SUBST.
15766 * configure: Regenerated.
15767 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15768 $(built-program-cmd) with $(test-program-cmd).
15769 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15770 (test_program_cmd): This.
15771 * elf/Makefile ($(objpfx)order.out): Run test with
15772 $(test-program-prefix).
15773 ($(objpfx)order2.out): Likewise.
15774 ($(objpfx)tst-initorder.out): Likewise.
15775 ($(objpfx)tst-initorder2.out): Likewise.
15776 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15777 $(test-program-cmd).
15778 ($(objpfx)tst-array1-static.out): Likewise.
15779 ($(objpfx)tst-array2.out): Likewise.
15780 ($(objpfx)tst-array3.out): Likewise.
15781 ($(objpfx)tst-array4.out): Likewise.
15782 ($(objpfx)tst-array5.out): Likewise.
15783 ($(objpfx)tst-array5-static.out): Likewise.
15784 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15785 $(test-program-cmd).
15786 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15787 $(run-program-prefix) with $(test-program-prefix).
15788 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15789 (test_program_prefix): This.
15790 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15791 $(run-program-prefix) with $(test-program-prefix).
15792 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15793 (test_program_prefix): This.
15794 * iconvdata/tst-tables.sh: Likewise.
15795 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15796 $(run-program-prefix) with $(test-program-prefix).
15797 ($(objpfx)tst-translit.out): Likewise.
15798 ($(objpfx)tst-gettext2.out): Likewise.
15799 ($(objpfx)tst-gettext4.out): Likewise.
15800 ($(objpfx)tst-gettext6.out): Likewise.
15801 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15802 (test_program_prefix): This.
15803 * intl/tst-gettext2.sh: Likewise.
15804 * intl/tst-gettext4.sh Likewise.
15805 * intl/tst-gettext6.sh: Likewise.
15806 * intl/tst-translit.sh: Likewise.
15807 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15808 with $(test-program-cmd).
15809 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15810 $(run-program-prefix) with $(test-program-prefix).
15811 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15812 (test_program_prefix): This.
15813 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15814 $(run-program-prefix) with $(test-program-prefix).
15815 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15816 (test_program_prefix): This.
15817 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15818 * posix/Makefile ($(objpfx)globtest.out): Replace
15819 $(run-via-rtld-prefix) and $(test-wrapper) with
15820 $(test-program-prefix) and $(test-via-rtld-prefix).
15821 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15822 $(test-program-prefix).
15823 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15824 $(host-test-program-cmd).
15825 (tst-spawn-ARGS): Likewise.
15826 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15827 $(test-program-prefix).
15828 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15829 (test_via_rtld_prefix): This.
15830 (test_wrapper): Renamed to ...
15831 (test_program_prefix): This.
15832 (run_program_prefix): Replaced by test_program_prefix.
15833 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15834 (test_program_prefix): This.
15835 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15836 with $(host-test-program-cmd).
15837 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15838 $(run-program-prefix) with $(test-program-prefix).
15839 ($(objpfx)tst-printf.out): Likewise.
15840 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15841 $(test-program-cmd).
15842 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15843 (test_program_prefix): This.
15844 * stdio-common/tst-unbputc.sh: Likewise.
15845 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15846 $(run-program-prefix) with $(test-program-prefix).
15847 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15848 (test_program_prefix): This.
15849 * string/Makefile ($(objpfx)tst-svc.out): Replace
15850 $(built-program-cmd) with $(test-program-cmd).
15852 2013-01-11 Andreas Jaeger <aj@suse.de>
15855 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15856 value. Sync with Linux 3.7.
15858 2013-01-10 David S. Miller <davem@davemloft.net>
15860 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15861 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15862 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15864 2013-01-10 Roland McGrath <roland@hack.frob.com>
15866 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15868 * configure: Regenerated.
15870 2013-01-10 David S. Miller <davem@davemloft.net>
15872 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15873 sparc V9 rather than using V8 code.
15874 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15875 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15877 2013-01-10 Roland McGrath <roland@hack.frob.com>
15879 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15880 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15881 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15882 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15883 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15884 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15885 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15886 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15887 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15888 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15889 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15890 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15891 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15892 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15893 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15894 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15895 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15896 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15897 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15898 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15899 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15900 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15901 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15902 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15903 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15904 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15905 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15907 2013-01-10 David S. Miller <davem@davemloft.net>
15909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15911 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15913 * posix/Makefile (tests-static): New variable.
15914 (tests): Add $(tests-static).
15915 (tst-exec-static-ARGS): New variable.
15916 (tst-spawn-static-ARGS): Likewise.
15917 * posix/tst-exec-static.c: New file.
15918 * posix/tst-spawn-static.c: Likewise.
15919 * posix/tst-exec.c: Support run directly.
15920 * posix/tst-spawn.c: Likewise.
15922 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15924 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15926 * math/bits/mathcalls.h (llrint): Likewise.
15927 (llround): Likewise.
15928 * stdlib/stdlib.h (struct drand48_data): Likewise.
15929 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15930 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15931 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15933 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15935 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15936 (elf_greg_t): Likewise.
15937 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15938 (__jmp_buf): Likewise.
15939 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15941 (llrint): Likewise, for all definitions.
15942 (llrintl): Likewise.
15944 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15945 Remove [__GNUC__] condition.
15946 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15947 condition to just [__USE_ISOC99].
15948 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15950 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15953 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15954 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15956 (_POSIX_V6_ILP32_OFF32): Likewise.
15957 (_XBS5_ILP32_OFF32): Likewise.
15958 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15959 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15961 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15963 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15966 doubles __mpexp_twomm1. Adjust usage.
15967 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15970 2013-01-10 Andreas Schwab <schwab@suse.de>
15973 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15974 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15976 2013-01-09 David S. Miller <davem@davemloft.net>
15979 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15980 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15981 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15982 TCP_FASTOPEN): Define.
15983 (tcp_repair_opt): New structure.
15984 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15986 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15987 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15988 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15989 (tcp_cookie_transactions): New structure.
15991 2013-01-09 Anton Blanchard <anton@samba.org>
15993 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15994 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15995 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15998 2013-01-09 Joseph Myers <joseph@codesourcery.com>
16000 * include/features.h (__USE_ANSI): Remove.
16002 2013-01-09 Roland McGrath <roland@hack.frob.com>
16004 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16006 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16008 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16010 * sysdeps/s390/fpu/libm-test-ulps: Update.
16012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16014 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16018 (denorm): Likewise.
16019 (__mp_dbl): Likewise.
16020 (__dbl_mp): Likewise.
16021 (add_magnitudes): Likewise.
16022 (sub_magnitudes): Likewise.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16032 (denorm): Likewise.
16033 (__mp_dbl): Likewise.
16034 (__dbl_mp): Likewise.
16035 (add_magnitudes): Likewise.
16036 (sub_magnitudes): Likewise.
16042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16046 (denorm): Likewise.
16047 (__mp_dbl): Likewise.
16048 (__dbl_mp): Likewise.
16049 (add_magnitudes): Likewise.
16050 (sub_magnitudes): Likewise.
16057 2013-01-08 Joseph Myers <joseph@codesourcery.com>
16059 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16060 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16061 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16062 2 && __USE_EXTERN_INLINES]: Likewise.
16064 2013-01-08 Andreas Jaeger <aj@suse.de>
16067 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16069 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16070 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16072 2013-01-07 Anton Blanchard <anton@samba.org>
16074 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16075 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16076 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16077 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16078 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16079 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16080 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16081 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16083 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16084 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16085 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16086 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16087 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16088 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16089 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16090 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16091 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16092 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16093 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16094 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16095 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16097 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16098 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16099 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16100 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16101 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16102 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16103 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16104 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16106 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16107 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16108 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16109 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16110 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16111 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16112 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16113 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16116 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16118 2013-01-07 Joseph Myers <joseph@codesourcery.com>
16120 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16121 (__MALLOC_PMT): Likewise.
16122 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16123 [__GNUC__], only on [_LIBC].
16124 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16125 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16126 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16127 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16128 forward declaration.
16129 (realloc_hook_ini): Likewise.
16130 (memalign_hook_ini): Likewise.
16131 (__libc_memalign): Do not use __MALLOC_PMT in variable
16133 (__libc_valloc): Likewise.
16134 (__libc_pvalloc): Likewise.
16135 (__libc_calloc): Likewise.
16136 (__posix_memalign): Likewise.
16139 * math/s_casinh.c: Include <float.h>.
16140 (__casinh): Do not do computation with squaring and square root
16141 for large arguments.
16142 * math/s_casinhf.c: Include <float.h>.
16143 (__casinhf): Do not do computation with squaring and square root
16144 for large arguments.
16145 * math/s_casinhl.c: Include <float.h>.
16146 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16147 (__casinhl): Do not do computation with squaring and square root
16148 for large arguments.
16149 * math/libm-test.inc (casin_test): Add more tests.
16150 (casinh_test): Likewise.
16151 * sysdeps/i386/fpu/libm-test-ulps: Update.
16152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16154 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16156 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16157 (__x86_64_raw_data_cache_size): Likewise.
16158 (__x86_64_data_cache_size_half): Likewise.
16159 (__x86_64_raw_data_cache_size_half): Likewise.
16160 (__x86_64_shared_cache_size): Likewise.
16161 (__x86_64_raw_shared_cache_size): Likewise.
16162 (__x86_64_shared_cache_size_half): Likewise.
16163 (__x86_64_raw_shared_cache_size_half): Likewise.
16164 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16166 (__x86_data_cache_size): This.
16167 (__x86_64_raw_data_cache_size): Renamed to ...
16168 (__x86_raw_data_cache_size): This.
16169 (__x86_64_data_cache_size_half): Renamed to ...
16170 (__x86_data_cache_size_half): This.
16171 (__x86_64_raw_data_cache_size_half): Renamed to ...
16172 (__x86_raw_data_cache_size_half): This.
16173 (__x86_64_shared_cache_size): Renamed to ...
16174 (__x86_shared_cache_size): This.
16175 (__x86_64_raw_shared_cache_size): Renamed to ...
16176 (__x86_raw_shared_cache_size): This.
16177 (__x86_64_shared_cache_size_half): Renamed to ...
16178 (__x86_shared_cache_size_half): This.
16179 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16180 (__x86_raw_shared_cache_size_half): This.
16181 * sysdeps/x86_64/memcpy.S: Updated.
16182 * sysdeps/x86_64/memset.S: Likewise.
16183 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16184 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16185 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16187 2013-01-04 David S. Miller <davem@davemloft.net>
16189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16191 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16193 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16194 1 to avoid redefinition warning.
16195 (__USE_GNU): Don't define.
16196 (init_signaling_nan): Protoize.
16198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16200 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16202 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16204 (__cpymn): Likewise.
16205 (norm): Remove commented code.
16206 (denorm): Likewise.
16207 (__mp_dbl): Likewise.
16209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16210 (__cpymn): Likewise.
16211 (norm): Remove commented code.
16212 (denorm): Likewise.
16213 (__mp_dbl): Likewise.
16216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16217 mp_no value for 1.0 and 2.0.
16218 (norm): Use RADIXI instead of radixi.d.
16219 (denorm): Likewise.
16220 (__mul): Use 0.0 instead of zero.d.
16221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16222 mp_no value for 1.0 and 2.0.
16223 (norm): Use RADIXI instead of radixi.d.
16224 (denorm): Likewise.
16225 (__mul): Use 0.0 instead of zero.d.
16227 2013-01-04 Joseph Myers <joseph@codesourcery.com>
16230 * math/s_casinh.c (__casinh): Reduce finite argument to first
16231 quadrant then set signs of results at the end.
16232 * math/s_casinhf.c (__casinhf): Likewise.
16233 * math/s_casinhl.c (__casinhl): Likewise.
16234 * math/libm-test.inc (casin_test): Add more tests.
16235 (casinh_test): Likewise.
16236 * sysdeps/i386/fpu/libm-test-ulps: Update.
16237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16239 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16241 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16243 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16245 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16247 (denorm): Likewise.
16248 (__mp_dbl): Likewise.
16251 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16252 and adjust the header comment.
16254 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16255 variable name from declaration.
16257 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16260 Initialize COMMON_CPUID_INDEX_7 element.
16261 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16262 (CPUID_RTM): Likewise.
16263 (HAS_RTM): Likewise.
16264 (COMMON_CPUID_INDEX_7): New enum.
16266 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16269 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16270 size is zero, record memory as freed.
16272 2013-01-03 Andreas Jaeger <aj@suse.de>
16274 * po/ia.po: Add new Interlingua translation.
16276 2012-01-03 Allan McRae <allan@archlinux.org>
16278 * locale/programs/localedef.c: Fix description of '--posix' flag.
16280 2013-01-02 Joseph Myers <joseph@codesourcery.com>
16282 * NEWS: Update dates in second copyright notice.
16283 * README: Update copyright dates in example.
16284 * manual/libc.texinfo: Update copyright dates.
16285 * scripts/test-installation.pl: Update copyright date in --version
16288 * hurd/ctty-input.c: Fix copyright notice formatting.
16289 * hurd/ctty-output.c: Likewise.
16290 * hurd/dtable.c: Likewise.
16291 * hurd/hurd-raise.c: Likewise.
16292 * hurd/hurdprio.c: Likewise.
16293 * hurd/msgportdemux.c: Likewise.
16294 * misc/sys/file.h: Likewise.
16295 * misc/sys/ioctl.h: Likewise.
16296 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16297 * sysdeps/mach/hurd/chdir.c: Likewise.
16298 * sysdeps/mach/hurd/fchdir.c: Likewise.
16299 * sysdeps/mach/hurd/rename.c: Likewise.
16300 * sysdeps/mach/hurd/rmdir.c: Likewise.
16301 * sysdeps/mach/hurd/seekdir.c: Likewise.
16302 * sysdeps/mach/hurd/setsid.c: Likewise.
16303 * sysdeps/posix/wait3.c: Likewise.
16305 * All files with FSF copyright notices: Update copyright dates
16306 using scripts/update-copyrights.
16307 * intl/plural.c: Regenerated.
16308 * locale/programs/charmap-kw.h: Likewise.
16309 * locale/programs/locfile-kw.h: Likewise.
16311 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16313 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16316 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16317 calculation loop and add branch prediction.
16319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16320 check access beyond bounds of m1np.
16322 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16324 (__inv): Remove local variable MPTWO to use the global
16326 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16327 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16329 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16330 MP3HALFS static const.
16332 2013-01-01 David S. Miller <davem@davemloft.net>
16334 * po/ca.po: Update from translation team.
16336 2013-01-01 Joseph Myers <joseph@codesourcery.com>
16338 * scripts/update-copyrights: New file.
16339 * Makeconfig: Reformat copyright notice.
16340 * ctype/ctype.h: Likewise.
16341 * debug/swprintf_chk.c: Likewise.
16342 * elf/dl-cache.c: Likewise.
16343 * elf/dl-debug.c: Likewise.
16344 * elf/dl-object.c: Likewise.
16345 * grp/initgroups.c: Likewise.
16346 * hurd/Makefile: Likewise.
16347 * hurd/hurd/signal.h: Likewise.
16348 * hurd/hurdfault.c: Likewise.
16349 * hurd/hurdioctl.c: Likewise.
16350 * hurd/hurdlookup.c: Likewise.
16351 * hurd/intr-msg.c: Likewise.
16352 * iconv/gconv_open.c: Likewise.
16353 * libio/swprintf.c: Likewise.
16354 * locale/lc-ctype.c: Likewise.
16355 * locale/nl_langinfo.c: Likewise.
16356 * mach/Machrules: Likewise.
16357 * mach/Makefile: Likewise.
16358 * malloc/obstack.h: Likewise.
16359 * manual/Makefile: Likewise.
16360 * manual/tsort.awk: Likewise.
16361 * misc/bits/stab.def: Likewise.
16362 * nis/nis_print_group_entry.c: Likewise.
16363 * nis/nis_table.c: Likewise.
16364 * nis/nss_compat/compat-pwd.c: Likewise.
16365 * nis/nss_compat/compat-spwd.c: Likewise.
16366 * po/Makefile: Likewise.
16367 * posix/fnmatch.c: Likewise.
16368 * posix/regex.h: Likewise.
16369 * resolv/Makefile: Likewise.
16370 * resolv/nss_dns/dns-network.c: Likewise.
16371 * resolv/res_hconf.c: Likewise.
16372 * scripts/gen-sorted.awk: Likewise.
16373 * soft-fp/soft-fp.h: Likewise.
16374 * stdio-common/printf.h: Likewise.
16375 * stdlib/monetary.h: Likewise.
16376 * stdlib/random.c: Likewise.
16377 * stdlib/random_r.c: Likewise.
16378 * sysdeps/generic/Makefile: Likewise.
16379 * sysdeps/gnu/Makefile: Likewise.
16380 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16382 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16387 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16388 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16390 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16391 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16392 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16393 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16394 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16395 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16396 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16398 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16400 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16401 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16402 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16403 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16404 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16406 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16408 * sysdeps/mach/hurd/errnos.awk: Likewise.
16409 * sysdeps/mach/hurd/fork.c: Likewise.
16410 * sysdeps/mach/hurd/getcwd.c: Likewise.
16411 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16412 * sysdeps/mach/hurd/mmap.c: Likewise.
16413 * sysdeps/mach/hurd/utimes.c: Likewise.
16414 * sysdeps/mach/hurd/xmknod.c: Likewise.
16415 * sysdeps/posix/profil.c: Likewise.
16416 * sysdeps/posix/readdir_r.c: Likewise.
16417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16418 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16419 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16420 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16422 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16424 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16426 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16428 * sysdeps/pthread/lio_listio.c: Likewise.
16429 * sysdeps/sparc/dl-procinfo.h: Likewise.
16430 * sysdeps/unix/i386/sysdep.S: Likewise.
16431 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16432 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16433 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16434 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16436 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16437 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16438 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16439 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16440 * sysdeps/wordsize-32/divdi3.c: Likewise.
16441 * time/sys/time.h: Likewise.
16442 * wcsmbs/Makefile: Likewise.
16444 2013-01-01 David S. Miller <davem@davemloft.net>
16446 * po/fr.po: Update from translation team.
16448 * catgets/gencat.c: Update copyright year.
16449 * csu/version.c: Likewise.
16450 * debug/catchsegv.sh: Likewise.
16451 * debug/pcprofiledump.c: Likewise.
16452 * debug/xtrace.sh: Likewise.
16453 * elf/ldconfig.c: Likewise.
16454 * elf/ldd.bash.in: Likewise.
16455 * elf/pldd.c: Likewise.
16456 * elf/sotruss.ksh: Likewise.
16457 * elf/sprof.c: Likewise.
16458 * iconv/iconv_prog.c: Likewise.
16459 * iconv/iconvconfig.c: Likewise.
16460 * locale/programs/locale.c: Likewise.
16461 * locale/programs/localedef.c: Likewise.
16462 * login/programs/pt_chown.c: Likewise.
16463 * malloc/memusage.sh: Likewise.
16464 * malloc/memusagestat.c: Likewise.
16465 * malloc/mtrace.pl: Likewise.
16466 * nscd/nscd.c: Likewise.
16467 * nss/getent.c: Likewise.
16468 * nss/makedb.c: Likewise.
16469 * posix/getconf.c: Likewise.
16471 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16473 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16476 2012-12-30 Mike Frysinger <vapier@gentoo.org>
16478 * math/bits/mathcalls.h (modf): Use __nonnull.
16480 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16482 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16483 (split): Use macro CN instead of the bare value.
16484 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16487 instead of the bare value.
16488 (power1): Likewise.
16490 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16492 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16494 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16496 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16498 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16499 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16500 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16501 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16503 2012-12-28 Andreas Jaeger <aj@suse.de>
16505 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16506 values are from Linux 3.7.
16508 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16509 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16511 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16513 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
16516 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16518 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16519 variables with preprocessor constants.
16520 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16521 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16522 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16524 2012-12-27 Bruno Haible <bruno@clisp.org>
16527 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16530 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16533 and use variable directly.
16534 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16536 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16538 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16539 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16541 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16543 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16544 include directive. Remove local variable MPONE.
16545 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16546 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16547 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16549 2012-12-25 David S. Miller <davem@davemloft.net>
16551 * version.h (RELEASE): Set to "development".
16552 (VERSION): Set to "2.17.90".
16553 * NEWS: Add 2.18 section.
16555 2012-12-21 David S. Miller <davem@davemloft.net>
16557 * po/hr.po: Update from translation team.
16559 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16561 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16563 2012-12-19 Steve Ellcey <sellcey@mips.com>
16565 * NEWS: Mention new memcpy for MIPS.
16567 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16569 * manual/contrib.texi (Contributors): Spelling correction.
16571 2012-12-15 David S. Miller <davem@davemloft.net>
16573 * po/ru.po: Update from translation team.
16575 2012-12-13 David S. Miller <davem@davemloft.net>
16577 * NEWS: Mention IFUNC testsuite enhancements.
16579 * po/pl.po: Update from translation team.
16580 * po/bg.po: Likewise.
16582 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16583 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16585 2012-12-11 David S. Miller <davem@davemloft.net>
16587 * po/sv.po: Update from translation team.
16589 * po/vi.po: Update from translation team.
16591 * po/cs.po: Update from translation team.
16593 * po/de.po: Update from translation team.
16594 * po/eo.po: Likewise.
16595 * po/nl.po: Likewise.
16597 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16600 * manual/argp.texi (Argp Helper Functions): Move node to follow
16601 Argp Parsing State.
16604 * manual/conf.texi (Limits on File System Capacity): Mention if
16605 terminating null is included in the max size.
16607 2012-12-10 Andreas Jaeger <aj@suse.de>
16609 * po/cs.po: Update from translation team.
16611 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16613 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16614 void pointer and cast to uintptr_t.
16615 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16617 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16618 * sysdeps/s390/s390-64/memset.S: Likewise.
16620 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
16623 * menual/message.texi (Message Translation): Fix typos.
16624 (Helper programs for gettext): Likewise.
16626 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16629 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16632 2012-12-07 David S. Miller <davem@davemloft.net>
16634 * po/libc.pot: Update.
16636 2012-12-07 Richard Henderson <rth@redhat.com>
16639 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16640 normal/normal case to before the switch.
16641 (_FP_DIV): Likewise.
16643 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16644 Mike Frysinger <vapier@gentoo.org>
16646 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16647 check for __NR_fadvise64_64.
16649 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16651 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16652 0, not just to plain "0" as a statement.
16653 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16656 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16658 * NEWS: Use sourceware.org in Bugzilla URL.
16660 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16663 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16665 * stdio-common/tst-put-error.c (do_test): Add newline to the
16666 padded test to ensure flush.
16668 2012-12-05 Jeff Law <law@redhat.com>
16670 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16672 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16674 * README: Don't refer to ports add-on as distributed separately.
16675 Mention AArch64 in list of systems supported in the ports add-on.
16677 * LICENSES: Add more non-FSF copyright and license notices.
16679 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16682 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16684 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16685 10000 as width of padded output.
16687 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16689 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16691 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16692 variable LX with __attribute__ ((unused)).
16693 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16695 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16697 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16698 with __attribute__ ((unused)).
16700 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16702 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16704 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16706 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16707 (CFLAGS-nldbl-acos.c): New variable.
16708 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16709 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16710 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16711 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16712 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16713 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16714 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16715 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16716 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16717 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16718 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16719 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16720 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16721 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16722 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16723 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16724 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16725 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16726 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16727 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16728 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16729 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16730 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16731 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16732 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16733 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16734 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16735 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16736 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16737 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16738 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16739 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16740 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16741 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16742 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16743 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16744 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16745 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16746 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16747 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16748 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16749 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16750 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16751 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16752 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16753 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16754 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16755 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16756 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16757 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16758 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16759 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16760 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16761 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16762 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16763 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16764 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16765 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16766 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16767 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16768 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16769 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16770 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16771 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16772 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16773 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16774 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16775 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16776 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16777 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16778 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16779 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16780 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16781 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16782 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16783 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16784 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16785 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16786 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16787 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16788 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16789 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16790 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16791 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16792 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16793 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16794 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16795 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16796 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16797 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16798 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16799 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16800 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16801 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16802 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16803 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16804 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16807 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16810 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16811 whole low double instead of just low 47 bits when splitting values
16814 2012-12-03 Allan McRae <allan@archlinux.org>
16816 * manual/stdio.texi (Predefined Printf Handlers): Remove
16817 @hsep and @vsep usage.
16819 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16821 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16822 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16824 2012-12-03 Jeff Law <law@redhat.com>
16826 * time/sys/time.h (settimeofday): Do not mark TV argument
16829 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16831 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16832 when currently writing and seek to current position when not.
16833 * libio/Makefile (tests): Remove bug-fclose1.
16834 * libio/bug-fclose1.c: Delete.
16836 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16838 * manual/arith.texi (feenableexcept): Fix typo.
16839 (fedisableexcept): Likewise.
16841 2012-11-30 Roland McGrath <roland@hack.frob.com>
16843 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16844 second, differently-typed declaration, rather than a cast.
16846 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16848 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16849 * include/rpc/svc.h: ... here.
16851 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16854 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16855 depending n and resplen2 to catch cases where answer
16858 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16860 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16861 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16863 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16867 2012-11-29 Roland McGrath <roland@hack.frob.com>
16869 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16871 2012-11-28 Jeff Law <law@redhat.com>
16874 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16875 dataset_temporary. Track alloca usage into alloca_used.
16876 If dataset is large allocate and release it via malloc/free.
16878 2012-06-04 Florian Weimer <fweimer@redhat.com>
16881 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16883 2012-11-28 David S. Miller <davem@davemloft.net>
16885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16887 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16890 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16891 of pi/2 rounded to nearest to 64 bits.
16892 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16893 nearest to 64 bits.
16894 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16897 2012-11-28 Jeff Law <law@redhat.com>
16898 Martin Osvald <mosvald@redhat.com>
16901 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16902 * sunrpc/svc.c: Include time.h.
16903 (__svc_accept_failed): New function.
16904 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16905 any reason other than EINTR, call __svc_accept_failed.
16906 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16907 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16909 2012-11-28 Andreas Schwab <schwab@suse.de>
16911 * scripts/abilist.awk: Also handle indirect functions in .opd
16914 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16917 * sysdeps/x86/fpu/powl_helper.c: New file.
16918 * sysdeps/x86/fpu/Makefile: Likewise.
16919 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16921 (__ieee754_powl): Use __powl_helper for finite arguments except
16922 integer exponents below 8.
16923 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16925 (__ieee754_powl): Use __powl_helper for finite arguments except
16926 integer exponents below 8.
16927 * math/libm-test.inc (pow_test): Add more tests and enable some
16928 previously disabled tests.
16929 * sysdeps/i386/fpu/libm-test-ulps: Update.
16930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16932 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16933 Carlos O'Donell <carlos_odonell@mentor.com>
16935 * nss/makedb.c (is_prime): Assert that input is odd and greater
16936 than 4. Note that fact in a comment too.
16937 (next_prime): Add 4 to input.
16939 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16942 * libio/Makefile (tests): Add test case tst-fwrite-error.
16943 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16944 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16945 * libio/tst-fwrite-error.c: New test case.
16947 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16949 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16950 before casting to void *.
16951 * include/libc-internal.h (__pointer_type): New macro.
16952 (__integer_if_pointer_type_sub): Likewise.
16953 (__integer_if_pointer_type): Likewise.
16954 (cast_to_integer): Likewise.
16955 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16956 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16957 before casting to atomic64_t.
16958 (atomic_exchange_acq): Likewise.
16959 (__arch_exchange_and_add_body): Likewise.
16960 (__arch_add_body): Likewise.
16961 (atomic_add_negative): Likewise.
16962 (atomic_add_zero): Likewise.
16964 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16966 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16967 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16968 (add_fdes): Likewise.
16969 (linear_search_fdes): Likewise.
16970 (binary_search_unencoded_fdes): Likewise.
16972 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16974 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16976 2012-11-24 Adam Conrad <adconrad@0c3.net>
16978 * configure.in: Autodetect C++ header directories.
16979 * configure: Regenerated.
16981 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16983 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16985 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16989 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16991 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16992 LDBL_MANT_DIG == 106]: Disable some tests.
16993 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16995 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16999 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17000 input for small inputs. Return +/- pi/2 for large inputs.
17001 * math/libm-test.inc (atan_test): Add more tests.
17003 * sysdeps/generic/unwind-dw2-fde-glibc.c
17004 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17005 __attribute__ ((unused)).
17008 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17009 x * y if x and y are nonzero and z is zero.
17012 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17013 nonzero exponents with absolute value below 0x1p-117 to +/-
17017 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17018 up arguments below 2**-450, not just those below 2**-500.
17019 * math/libm-test.inc (hypot_test): Add another test.
17022 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17023 Return a+b for ratio over 2**120, not 2**60.
17024 * math/libm-test.inc (hypot_test): Add another test.
17026 * math/libm-test.inc (clog_test): Use
17027 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17028 (clog10_test): Likewise.
17031 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17033 2012-11-22 Andreas Schwab <schwab@suse.de>
17035 * sysdeps/i386/fpu/libm-test-ulps: Update.
17037 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17039 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17040 printf output with newline.
17042 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17045 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17046 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17047 -z nodlopen, -z initfirst and -z execstack support.
17048 * configure: Regenerated.
17050 * elf/elf.h (DF_1_NODIRECT): New macro.
17051 (DF_1_IGNMULDEF): Likewise.
17052 (DF_1_NOKSYMS): Likewise.
17053 (DF_1_NOHDR): Likewise.
17054 (DF_1_EDITED): Likewise.
17055 (DF_1_NORELOC): Likewise.
17056 (DF_1_SYMINTPOSE): Likewise.
17057 (DF_1_GLOBAUDIT): Likewise.
17058 (DF_1_SINGLETON): Likewise.
17059 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17060 DT_1_SUPPORTED_MASK bits.
17061 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17063 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17065 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17067 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17069 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17072 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17073 (sendmmsg): Move declarations...
17074 * socket/sys/socket.h: ... here.
17075 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17076 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17078 * socket/recvmmsg.c: ... this new file.
17079 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17080 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17081 definition of __sendmmsg hidden.
17082 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17083 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17084 Move ENOSYS stub into and include it from...
17085 * socket/sendmmsg.c: ... this new file.
17086 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17087 (sysdep_routines): Move recvmmsg and sendmmsg...
17088 * socket/Makefile (routines): ... here.
17089 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17090 (GLIBC_PRIVATE): Add __sendmmsg.
17091 * include/sys/socket.h (__sendmmsg): Add declarations.
17092 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17095 2012-11-20 Joseph Myers <joseph@codesourcery.com>
17097 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17098 variable I1 with __attribute__ ((unused)).
17099 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17101 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17103 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17104 DUMMY variables with __attribute__ ((unused)).
17106 * bits/byteswap.h: Include <bits/types.h>.
17107 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17109 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17111 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17112 string_t. Do not manually set errno.
17113 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17114 length with __strnlen. Make sure to both set errno and return it on
17117 2012-11-19 David S. Miller <davem@davemloft.net>
17119 With help from Joseph Myers.
17120 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17121 very large arguments properly.
17122 * math/libm-test.inc (atan_test): New tests.
17123 (atan2_test): New tests.
17124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17127 2012-11-19 Joseph Myers <joseph@codesourcery.com>
17130 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17133 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17134 [POSIX] (EADDRNOTAVAIL): Likewise.
17135 [POSIX] (EAFNOSUPPORT): Likewise.
17136 [POSIX] (EALREADY): Likewise.
17137 [POSIX] (ECONNABORTED): Likewise.
17138 [POSIX] (ECONNREFUSED): Likewise.
17139 [POSIX] (ECONNRESET): Likewise.
17140 [POSIX] (EDESTADDRREQ): Likewise.
17141 [POSIX] (EDQUOT): Likewise.
17142 [POSIX] (EHOSTUNREACH): Likewise.
17143 [POSIX] (EIDRM): Likewise.
17144 [POSIX] (EISCONN): Likewise.
17145 [POSIX] (ELOOP): Likewise.
17146 [POSIX] (EMULTIHOP): Likewise.
17147 [POSIX] (ENETDOWN): Likewise.
17148 [POSIX] (ENETUNREACH): Likewise.
17149 [POSIX] (ENOBUFS): Likewise.
17150 [POSIX] (ENODATA): Likewise.
17151 [POSIX] (ENOLINK): Likewise.
17152 [POSIX] (ENOMSG): Likewise.
17153 [POSIX] (ENOPROTOOPT): Likewise.
17154 [POSIX] (ENOSR): Likewise.
17155 [POSIX] (ENOSTR): Likewise.
17156 [POSIX] (ENOTCONN): Likewise.
17157 [POSIX] (ENOTSOCK): Likewise.
17158 [POSIX] (EOPNOTSUPP): Likewise.
17159 [POSIX] (EOVERFLOW): Likewise.
17160 [POSIX] (EPROTO): Likewise.
17161 [POSIX] (EPROTONOSUPPORT): Likewise.
17162 [POSIX] (EPROTOTYPE): Likewise.
17163 [POSIX] (ESTALE): Likewise.
17164 [POSIX] (ETIME): Likewise.
17165 [POSIX] (ETXTBSY): Likewise.
17166 [POSIX] (EWOULDBLOCK): Likewise.
17167 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17168 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17169 [POSIX] (SEEK_CUR): Likewise.
17170 [POSIX] (SEEK_END): Likewise.
17171 [POSIX || UNIX98] (mode_t): Do not require.
17172 [POSIX] (off_t): Likewise.
17173 [POSIX] (pid_t): Likewise.
17174 [POSIX] (sys/stat.h): Do not allow header.
17175 [POSIX] (unistd.h): Likewise.
17176 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17177 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17178 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17179 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17181 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17182 sigevent): Specify elements.
17183 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17185 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17186 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17188 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17189 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17190 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17191 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17192 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17193 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17194 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17195 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17196 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17197 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17198 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17199 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17200 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17201 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17203 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17205 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17209 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17210 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17211 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17212 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17213 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17214 Specify lower bound on value.
17215 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17216 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17217 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17218 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17219 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17220 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17221 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17222 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17224 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17226 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17227 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17228 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17229 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17230 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17231 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17232 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17233 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17234 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17235 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17236 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17237 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17238 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17239 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17240 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17241 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17243 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17245 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17246 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17247 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17248 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17249 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17250 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17252 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17253 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17254 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17255 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17256 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17257 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17260 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17261 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17262 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17263 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17264 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17265 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17266 specify as optional.
17267 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17268 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17269 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17270 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17271 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17272 [XPG3] (NL_LANGMAX): Likewise.
17273 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17274 [POSIX || XPG3] (NL_NMAX): Likewise.
17275 [POSIX || XPG3] (NL_SETMAX): Likewise.
17276 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17277 [XPG3] (NZERO): Likewise.
17278 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17279 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17280 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17281 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17282 (REG_ERANGE): Expect.
17283 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17285 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17286 Use (void) in prototype.
17287 [POSIX] (*_t): Allow.
17288 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17289 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17290 (WRDE_BADVAL): Expect.
17292 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17294 [XPG3 || XPG4] (O_RSYNC): Likewise.
17295 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17297 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17298 [XPG3 || XPG4] (sigqueue): Likewise.
17299 [XPG3 || XPG4] (sigtimedwait): Likewise.
17300 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17301 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17302 [XPG3 || XPG4] (vsnprintf): Likewise.
17303 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17305 [XPG3 || XPG4] (blksize_t): Likewise.
17306 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17308 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17309 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17310 [XPG3 || XPG4] (struct itimerspec): Likewise.
17311 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17312 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17313 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17314 [XPG3 || XPG4] (clockid_t): Likewise.
17315 [XPG3 || XPG4] (timer_t): Likewise.
17316 [XPG3 || XPG4] (clock_getres): Likewise.
17317 [XPG3 || XPG4] (clock_gettime): Likewise.
17318 [XPG3 || XPG4] (clock_settime): Likewise.
17319 [XPG3 || XPG4] (nanosleep): Likewise.
17320 [XPG3 || XPG4] (timer_create): Likewise.
17321 [XPG3 || XPG4] (timer_delete): Likewise.
17322 [XPG3 || XPG4] (timer_gettime): Likewise.
17323 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17324 [XPG3 || XPG4] (timer_settime): Likewise.
17325 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17326 [XPG3 || XPG4] (getlogin_r): Likewise.
17327 [XPG3 || XPG4] (pread): Likewise.
17328 [XPG3 || XPG4] (pthread_atfork): Likewise.
17329 [XPG3 || XPG4] (pwrite): Likewise.
17332 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17335 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17337 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17338 finalizing MALLSTREAM.
17340 * sysdeps/mach/hurd/syncfs.c: New file.
17342 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17345 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17346 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17347 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17348 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17349 (_nss_dns_gethostbyname4_r): Likewise.
17350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17351 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17353 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17356 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17358 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17360 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17361 * elf/cache.c (print_entry): Print ",AArch64" for
17364 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17365 * elf/cache.c (print_entry): Print ",hard-float" for
17368 2012-11-18 David S. Miller <davem@davemloft.net>
17370 With help from Joseph Myers.
17371 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17373 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17375 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17376 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17378 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17379 * math/libm-test.inc (y0_test): New tests.
17380 (y1_test): New tests.
17381 * sysdeps/i386/fpu/libm-test-ulps: Update.
17382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17385 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17387 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17389 * configure: Regenerated.
17391 2012-11-17 David S. Miller <davem@davemloft.net>
17394 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17395 nonzero exponents with absolute value below 0x1p-128 to +/-
17398 2012-11-17 Joseph Myers <joseph@codesourcery.com>
17400 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17402 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17404 * posix/getconf-speclist.c: New file.
17405 * posix/posix-envs.def: Likewise.
17406 * posix/confstr.c (START_ENV_GROUP): New macro.
17407 (END_ENV_GROUP): Likewise.
17408 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17409 (KNOWN_PRESENT_ENV_STRING): Likewise.
17410 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17411 (UNKNOWN_ENVIRONMENT): Likewise.
17412 (confstr): Include posix-envs.def instead of handling
17413 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17414 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17415 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17416 (END_ENV_GROUP): Likewise.
17417 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17418 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17419 (UNKNOWN_ENVIRONMENT): Likewise.
17420 (__sysconf): Include posix-envs.def instead of handling associated
17421 cases directly here.
17422 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17423 preprocessing getconf-speclist.c rather than running getconf or
17424 generating empty file.
17426 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17428 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17430 2012-11-16 Andrej Lajovic <natrij@gmail.com>
17433 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17435 2012-11-16 David S. Miller <davem@davemloft.net>
17437 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17438 smaller than LDBL_EPSILON/2.0L, just return xm1.
17440 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17442 * elf/tst-array1.c (init): Set constructor priority to 1000.
17443 (fini): Set destructor priority to 1000.
17444 * elf/tst-array2dep.c: Likewise.
17446 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17449 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17450 (_IO_new_file_xsputn): Also return EOF if none of the input
17451 data was written when overflow failed.
17452 * libio/iopadn.c (_IO_padn): Likewise.
17453 * libio/iowpadn.c (_IO_wpadn): Likewise.
17454 * stdio-common/tst-put-error.c: Add copyright notice.
17455 (do_test): Add case for printing padded string.
17456 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17457 _IO_padn returned error.
17458 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17459 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17462 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17464 * libio/libioP.h: Add comment note that the references to C++
17465 bits are now obsolete.
17467 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17469 * math/libm-test.inc (check_complex): Use asprintf.
17471 2012-11-14 Joseph Myers <joseph@codesourcery.com>
17473 * debug/pcprofiledump.c (print_version): Update copyright year.
17474 * malloc/memusagestat.c (print_version): Likewise.
17476 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17479 * elf/Makefile (tests): Add tst-audit8.
17480 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17481 ($(objpfx)tst-audit8.out): New target.
17482 (tst-audit8-ENV): New variable.
17483 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17484 audit if l_reloc_result is NULL.
17485 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17486 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17487 * elf/tst-audit8.c: New file.
17489 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17491 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17492 * misc/Makefile (CFLAGS-select.c): Define.
17493 * posix/Makefile (CFLAGS-pause.c): Define.
17495 2012-11-13 David S. Miller <davem@davemloft.net>
17497 * crypt/Makefile: Move test targets after toplevel Rules
17498 inclusion. Grab any necessary sysdep routines when linking.
17499 * crypt/md5.c (md5_process_block): Remove define, we will always
17500 name it __md5_process_block.
17501 (md5_finish_ctx): Update md5_process_block call.
17502 (md5_stream): Likewise.
17503 (md5_process_bytes): Likewise.
17504 (md5_process_block): Rename to __md5_process_block and move to ...
17505 * crypt/md5-block.c: ... here.
17506 * crypt/sha256.c (sha256_process_block): Move to ...
17507 * crypt/sha256-block.c: ... here.
17508 * crypt/sha512.c (sha512_process_block): Move to ...
17509 * crypt/sha512-block.c: ... here.
17510 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17512 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17513 * sysdeps/sparc/sparc64/multiarch/Makefile
17514 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17516 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17517 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17519 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17520 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17521 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17522 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17523 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17524 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17525 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17526 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17527 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17529 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17530 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17532 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17534 2012-11-13 Joseph Myers <joseph@codesourcery.com>
17536 * timezone/tzselect.ksh: Update from tzcode git revision
17537 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17538 * timezone/zdump.c: Likewise.
17539 * timezone/zic.c: Likewise.
17540 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17541 in TZVERSION setting, not $(PKGVERSION).
17542 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17543 REPORT_BUGS_TO settings.
17546 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17549 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17551 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17552 detection to immediately after _FP_ROUND().
17553 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17556 2012-11-11 David S. Miller <davem@davemloft.net>
17558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17560 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17561 __close rather than their public counterparts.
17563 2012-11-10 Joseph Myers <joseph@codesourcery.com>
17565 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17567 [UNIX98] (sem_timedwait): Do not expect.
17568 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17569 [XPG4 || UNIX98] (sockatmark): Do not expect.
17570 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17571 (clock_getcpuclockid): Do not expect.
17572 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17573 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17575 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17576 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17577 [UNIX98] (vwscanf): Likewise.
17578 [UNIX98] (vswscanf): Likewise.
17580 2012-11-09 Joseph Myers <joseph@codesourcery.com>
17582 * timezone/version.h: Remove file.
17583 * timezone/README: Do not refer to version.h.
17584 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17585 $(objpfx)version.h.
17586 ($(objpfx)zdump.o): Likewise.
17587 ($(objpfx)version.h): New target.
17589 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17591 * timezone/README: Don't mention modification to tzselect.ksh.
17592 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17593 work on unmodified tzselect.ksh. Substitute version numbers in
17596 * Makefile (format-me): Remove.
17597 (INSTALL): Adjust indentation. Use commands directly instead of
17598 using $(format-me).
17600 * aclocal.m4 (ACX_PKGVERSION): New macro.
17601 (ACX_BUGURL): Likewise.
17602 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17603 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17604 (REPORT_BUGS_TO): Likewise.
17605 * configure: Regenerated.
17606 * config.h.in (PKGVERSION): New macro.
17607 (REPORT_BUGS_TO): Likewise.
17608 * config.make.in (PKGVERSION): New variable.
17609 (PKGVERSION_TEXI): Likewise.
17610 (REPORT_BUGS_TO): Likewise.
17611 (REPORT_BUGS_TEXI): Likewise.
17612 * Makefile (format-me): Use -I$(common-objpfx)manual.
17613 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17614 ($(common-objpfx)manual/%): New target.
17615 (manual/%): Remove target.
17616 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17617 (print_version): Use PKGVERSION.
17618 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17619 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17620 and REPORT_BUGS_TO.
17621 ($(objpfx)xtrace): Likewise.
17622 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17623 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17624 (print_version): Use PKGVERSION.
17625 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17626 (do_version): Use PKGVERSION.
17627 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17629 (common-ldd-rewrite): Likewise.
17630 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17631 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17632 (print_version): Use PKGVERSION.
17633 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17634 * elf/pldd.c (argp_program_bug_address): Remove variable.
17635 (more_help): New function.
17636 (argp): Use more_help.
17637 (print_version): Use PKGVERSION.
17638 * elf/sln.c (main): Use PKGVERSION.
17639 (usage): Use REPORT_BUGS_TO.
17640 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17641 (top level): Use PKGVERSION.
17642 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17643 (print_version): Use PKGVERSION.
17644 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17645 (print_version): Use PKGVERSION.
17646 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17647 (print_version): Use PKGVERSION.
17648 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17649 (print_version): Use PKGVERSION.
17650 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17651 (print_version): Use PKGVERSION.
17652 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17653 (print_version): Use PKGVERSION.
17654 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17656 ($(objpfx)memusage): Likewise.
17657 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17658 (do_version): Use PKGVERSION.
17659 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17660 (print_version): Use PKGVERSION.
17661 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17662 ($PKGVERSION): New variable.
17663 ($REPORT_BUGS_TO): Likewise.
17664 (usage): Use $REPORT_BUGS_TO.
17665 (top level): Use $PKGVERSION.
17666 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17667 ($(objpfx)pkgvers.texi): New rule.
17668 ($(objpfx)stamp-pkgvers): Likewise.
17669 * manual/install.texi: Include pkgvers.texi.
17670 (--with-pkgversion): Document new configure option.
17671 (--with-bugurl): Likewise.
17672 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17673 than necessarily for this particular distribution. Use
17674 REPORT_BUGS_TO for where to report bugs.
17675 * INSTALL: Regenerated.
17676 * manual/libc.texinfo: Include pkgvers.texi.
17677 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17678 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17679 (print_version): Use PKGVERSION.
17680 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17681 (print_version): Use PKGVERSION.
17682 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17683 (print_version): Use PKGVERSION.
17684 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17685 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17687 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17688 (print_version): Use PKGVERSION.
17689 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17690 (print_version): Use PKGVERSION.
17691 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17694 * timezone/checktab.awk: Update from tzcode 2012i.
17695 * timezone/ialloc.c: Likewise.
17696 * timezone/private.h: Likewise.
17697 * timezone/scheck.c: Likewise.
17698 * timezone/tzfile.h: Likewise.
17699 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17700 (TZVERSION): Hardcode tzcode version number.
17701 * timezone/zdump.c: Update from tzcode 2012i.
17702 * timezone/zic.c: Likewise.
17703 * timezone/version.h: New file.
17704 * timezone/README: Describe version.h. Update upstream location.
17707 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17708 (mktemp): Enable declaration.
17709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17710 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17726 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17727 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17728 for copies of such integer values.
17729 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17730 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17732 2012-11-09 Andreas Jaeger <aj@suse.de>
17734 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17735 definitions and declarations that are provided by
17736 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17738 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17740 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17741 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17742 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17745 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17747 * elf/elf.h: Update comment before AArch64 relocations.
17749 2012-11-07 David S. Miller <davem@davemloft.net>
17751 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17753 (__start_context): Declare.
17754 (__makecontext_ret): Delete.
17755 (__makecontext): Hook up __start_context instead of
17757 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17758 (sysdep_routines): Add __start_context when in stdlib.
17760 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17762 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17763 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17764 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17766 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17767 (READELF): New variable. Use it instead of hardcoded "readelf".
17769 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17771 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17772 * sysdeps/x86/Makefile: Here.
17773 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17774 * sysdeps/x86/tst-xmmymm.sh: This.
17776 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17778 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17780 [UNIX98] (pthread_barrier_t): Do not expect.
17781 [UNIX98] (pthread_barrierattr_t): Likewise.
17782 [UNIX98] (pthread_spinlock_t): Likewise.
17783 [UNIX98] (pthread_barrier_destroy): Likewise.
17784 [UNIX98] (pthread_barrier_init): Likewise.
17785 [UNIX98] (pthread_barrier_wait): Likewise.
17786 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17787 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17788 [UNIX98] (pthread_barrierattr_init): Likewise.
17789 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17790 [UNIX98] (pthread_getcpuclockid): Likewise.
17791 [UNIX98] (pthread_mutex_timedlock): Likewise.
17792 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17793 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17794 [UNIX98] (pthread_sigmask): Likewise.
17795 [UNIX98] (pthread_spin_destroy): Likewise.
17796 [UNIX98] (pthread_spin_init): Likewise.
17797 [UNIX98] (pthread_spin_lock): Likewise.
17798 [UNIX98] (pthread_spin_trylock): Likewise.
17799 [UNIX98] (pthread_spin_unlock): Likewise.
17800 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17802 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17803 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17804 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17805 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17806 [XPG3 || XPG4] (pthread_key_t): Likewise.
17807 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17808 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17809 [XPG3 || XPG4] (pthread_once_t): Likewise.
17810 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17811 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17812 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17813 [XPG3 || XPG4] (pthread_t): Likewise.
17815 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17817 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17819 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17820 Change function return type to int.
17822 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17823 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17824 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17825 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17826 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17827 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17828 [!POSIX] (posix_madvise): Likewise.
17829 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17831 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17832 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17833 (mode_t): Likewise.
17834 (posix_mem_offset): Likewise.
17835 (posix_typed_mem_get_info): Likewise.
17836 (posix_typed_mem_open): Likewise.
17838 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17839 Change condition to [XOPEN2K8].
17841 * conform/conformtest.pl: Preprocess allow-header data with -x c
17842 instead of from stdin.
17843 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17844 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17845 [C99-based standards] (cerfc): Likewise.
17846 [C99-based standards] (cexp2): Likewise.
17847 [C99-based standards] (cexpm1): Likewise.
17848 [C99-based standards] (clog10): Likewise.
17849 [C99-based standards] (clog1p): Likewise.
17850 [C99-based standards] (clog2): Likewise.
17851 [C99-based standards] (clgamma): Likewise.
17852 [C99-based standards] (ctgamma): Likewise.
17853 [C99-based standards] (cerff): Likewise.
17854 [C99-based standards] (cerfcf): Likewise.
17855 [C99-based standards] (cexp2f): Likewise.
17856 [C99-based standards] (cexpm1f): Likewise.
17857 [C99-based standards] (clog10f): Likewise.
17858 [C99-based standards] (clog1pf): Likewise.
17859 [C99-based standards] (clog2f): Likewise.
17860 [C99-based standards] (clgammaf): Likewise.
17861 [C99-based standards] (ctgammaf): Likewise.
17862 [C99-based standards] (cerfl): Likewise.
17863 [C99-based standards] (cerfcl): Likewise.
17864 [C99-based standards] (cexp2l): Likewise.
17865 [C99-based standards] (cexpm1l): Likewise.
17866 [C99-based standards] (clog10l): Likewise.
17867 [C99-based standards] (clog1pl): Likewise.
17868 [C99-based standards] (clog2l): Likewise.
17869 [C99-based standards] (clgammal): Likewise.
17870 [C99-based standards] (ctgammal): Likewise.
17871 * conform/data/inttypes.h-data [C99-based standards]: Include
17872 stdint.h-data. Remove all expectations for stdint.h contents.
17873 [C99-based standards] (PRI*): Do not allow.
17874 [C99-based standards] (SCN*): Likewise.
17875 [C99-based standards] (*_t): Likewise.
17876 [C99-based-standards] (PRId8): Expect macro.
17877 [C99-based-standards] (PRIi8): Likewise.
17878 [C99-based-standards] (PRIo8): Likewise.
17879 [C99-based-standards] (PRIu8): Likewise.
17880 [C99-based-standards] (PRIx8): Likewise.
17881 [C99-based-standards] (PRIX8): Likewise.
17882 [C99-based-standards] (SCNd8): Likewise.
17883 [C99-based-standards] (SCNi8): Likewise.
17884 [C99-based-standards] (SCNo8): Likewise.
17885 [C99-based-standards] (SCNu8): Likewise.
17886 [C99-based-standards] (SCNx8): Likewise.
17887 [C99-based-standards] (PRIdLEAST8): Likewise.
17888 [C99-based-standards] (PRIiLEAST8): Likewise.
17889 [C99-based-standards] (PRIoLEAST8): Likewise.
17890 [C99-based-standards] (PRIuLEAST8): Likewise.
17891 [C99-based-standards] (PRIxLEAST8): Likewise.
17892 [C99-based-standards] (PRIXLEAST8): Likewise.
17893 [C99-based-standards] (SCNdLEAST8): Likewise.
17894 [C99-based-standards] (SCNiLEAST8): Likewise.
17895 [C99-based-standards] (SCNoLEAST8): Likewise.
17896 [C99-based-standards] (SCNuLEAST8): Likewise.
17897 [C99-based-standards] (SCNxLEAST8): Likewise.
17898 [C99-based-standards] (PRIdFAST8): Likewise.
17899 [C99-based-standards] (PRIiFAST8): Likewise.
17900 [C99-based-standards] (PRIoFAST8): Likewise.
17901 [C99-based-standards] (PRIuFAST8): Likewise.
17902 [C99-based-standards] (PRIxFAST8): Likewise.
17903 [C99-based-standards] (PRIXFAST8): Likewise.
17904 [C99-based-standards] (SCNdFAST8): Likewise.
17905 [C99-based-standards] (SCNiFAST8): Likewise.
17906 [C99-based-standards] (SCNoFAST8): Likewise.
17907 [C99-based-standards] (SCNuFAST8): Likewise.
17908 [C99-based-standards] (SCNxFAST8): Likewise.
17909 [C99-based-standards] (PRId16): Likewise.
17910 [C99-based-standards] (PRIi16): Likewise.
17911 [C99-based-standards] (PRIo16): Likewise.
17912 [C99-based-standards] (PRIu16): Likewise.
17913 [C99-based-standards] (PRIx16): Likewise.
17914 [C99-based-standards] (PRIX16): Likewise.
17915 [C99-based-standards] (SCNd16): Likewise.
17916 [C99-based-standards] (SCNi16): Likewise.
17917 [C99-based-standards] (SCNo16): Likewise.
17918 [C99-based-standards] (SCNu16): Likewise.
17919 [C99-based-standards] (SCNx16): Likewise.
17920 [C99-based-standards] (PRIdLEAST16): Likewise.
17921 [C99-based-standards] (PRIiLEAST16): Likewise.
17922 [C99-based-standards] (PRIoLEAST16): Likewise.
17923 [C99-based-standards] (PRIuLEAST16): Likewise.
17924 [C99-based-standards] (PRIxLEAST16): Likewise.
17925 [C99-based-standards] (PRIXLEAST16): Likewise.
17926 [C99-based-standards] (SCNdLEAST16): Likewise.
17927 [C99-based-standards] (SCNiLEAST16): Likewise.
17928 [C99-based-standards] (SCNoLEAST16): Likewise.
17929 [C99-based-standards] (SCNuLEAST16): Likewise.
17930 [C99-based-standards] (SCNxLEAST16): Likewise.
17931 [C99-based-standards] (PRIdFAST16): Likewise.
17932 [C99-based-standards] (PRIiFAST16): Likewise.
17933 [C99-based-standards] (PRIoFAST16): Likewise.
17934 [C99-based-standards] (PRIuFAST16): Likewise.
17935 [C99-based-standards] (PRIxFAST16): Likewise.
17936 [C99-based-standards] (PRIXFAST16): Likewise.
17937 [C99-based-standards] (SCNdFAST16): Likewise.
17938 [C99-based-standards] (SCNiFAST16): Likewise.
17939 [C99-based-standards] (SCNoFAST16): Likewise.
17940 [C99-based-standards] (SCNuFAST16): Likewise.
17941 [C99-based-standards] (SCNxFAST16): Likewise.
17942 [C99-based-standards] (PRId32): Likewise.
17943 [C99-based-standards] (PRIi32): Likewise.
17944 [C99-based-standards] (PRIo32): Likewise.
17945 [C99-based-standards] (PRIu32): Likewise.
17946 [C99-based-standards] (PRIx32): Likewise.
17947 [C99-based-standards] (PRIX32): Likewise.
17948 [C99-based-standards] (SCNd32): Likewise.
17949 [C99-based-standards] (SCNi32): Likewise.
17950 [C99-based-standards] (SCNo32): Likewise.
17951 [C99-based-standards] (SCNu32): Likewise.
17952 [C99-based-standards] (SCNx32): Likewise.
17953 [C99-based-standards] (PRIdLEAST32): Likewise.
17954 [C99-based-standards] (PRIiLEAST32): Likewise.
17955 [C99-based-standards] (PRIoLEAST32): Likewise.
17956 [C99-based-standards] (PRIuLEAST32): Likewise.
17957 [C99-based-standards] (PRIxLEAST32): Likewise.
17958 [C99-based-standards] (PRIXLEAST32): Likewise.
17959 [C99-based-standards] (SCNdLEAST32): Likewise.
17960 [C99-based-standards] (SCNiLEAST32): Likewise.
17961 [C99-based-standards] (SCNoLEAST32): Likewise.
17962 [C99-based-standards] (SCNuLEAST32): Likewise.
17963 [C99-based-standards] (SCNxLEAST32): Likewise.
17964 [C99-based-standards] (PRIdFAST32): Likewise.
17965 [C99-based-standards] (PRIiFAST32): Likewise.
17966 [C99-based-standards] (PRIoFAST32): Likewise.
17967 [C99-based-standards] (PRIuFAST32): Likewise.
17968 [C99-based-standards] (PRIxFAST32): Likewise.
17969 [C99-based-standards] (PRIXFAST32): Likewise.
17970 [C99-based-standards] (SCNdFAST32): Likewise.
17971 [C99-based-standards] (SCNiFAST32): Likewise.
17972 [C99-based-standards] (SCNoFAST32): Likewise.
17973 [C99-based-standards] (SCNuFAST32): Likewise.
17974 [C99-based-standards] (SCNxFAST32): Likewise.
17975 [C99-based-standards] (PRId64): Likewise.
17976 [C99-based-standards] (PRIi64): Likewise.
17977 [C99-based-standards] (PRIo64): Likewise.
17978 [C99-based-standards] (PRIu64): Likewise.
17979 [C99-based-standards] (PRIx64): Likewise.
17980 [C99-based-standards] (PRIX64): Likewise.
17981 [C99-based-standards] (SCNd64): Likewise.
17982 [C99-based-standards] (SCNi64): Likewise.
17983 [C99-based-standards] (SCNo64): Likewise.
17984 [C99-based-standards] (SCNu64): Likewise.
17985 [C99-based-standards] (SCNx64): Likewise.
17986 [C99-based-standards] (PRIdLEAST64): Likewise.
17987 [C99-based-standards] (PRIiLEAST64): Likewise.
17988 [C99-based-standards] (PRIoLEAST64): Likewise.
17989 [C99-based-standards] (PRIuLEAST64): Likewise.
17990 [C99-based-standards] (PRIxLEAST64): Likewise.
17991 [C99-based-standards] (PRIXLEAST64): Likewise.
17992 [C99-based-standards] (SCNdLEAST64): Likewise.
17993 [C99-based-standards] (SCNiLEAST64): Likewise.
17994 [C99-based-standards] (SCNoLEAST64): Likewise.
17995 [C99-based-standards] (SCNuLEAST64): Likewise.
17996 [C99-based-standards] (SCNxLEAST64): Likewise.
17997 [C99-based-standards] (PRIdFAST64): Likewise.
17998 [C99-based-standards] (PRIiFAST64): Likewise.
17999 [C99-based-standards] (PRIoFAST64): Likewise.
18000 [C99-based-standards] (PRIuFAST64): Likewise.
18001 [C99-based-standards] (PRIxFAST64): Likewise.
18002 [C99-based-standards] (PRIXFAST64): Likewise.
18003 [C99-based-standards] (SCNdFAST64): Likewise.
18004 [C99-based-standards] (SCNiFAST64): Likewise.
18005 [C99-based-standards] (SCNoFAST64): Likewise.
18006 [C99-based-standards] (SCNuFAST64): Likewise.
18007 [C99-based-standards] (SCNxFAST64): Likewise.
18008 [C99-based-standards] (PRIdMAX): Likewise.
18009 [C99-based-standards] (PRIiMAX): Likewise.
18010 [C99-based-standards] (PRIoMAX): Likewise.
18011 [C99-based-standards] (PRIuMAX): Likewise.
18012 [C99-based-standards] (PRIxMAX): Likewise.
18013 [C99-based-standards] (PRIXMAX): Likewise.
18014 [C99-based-standards] (SCNdMAX): Likewise.
18015 [C99-based-standards] (SCNiMAX): Likewise.
18016 [C99-based-standards] (SCNoMAX): Likewise.
18017 [C99-based-standards] (SCNuMAX): Likewise.
18018 [C99-based-standards] (SCNxMAX): Likewise.
18019 [C99-based-standards] (PRIdPTR): Likewise.
18020 [C99-based-standards] (PRIiPTR): Likewise.
18021 [C99-based-standards] (PRIoPTR): Likewise.
18022 [C99-based-standards] (PRIuPTR): Likewise.
18023 [C99-based-standards] (PRIxPTR): Likewise.
18024 [C99-based-standards] (PRIXPTR): Likewise.
18025 [C99-based-standards] (SCNdPTR): Likewise.
18026 [C99-based-standards] (SCNiPTR): Likewise.
18027 [C99-based-standards] (SCNoPTR): Likewise.
18028 [C99-based-standards] (SCNuPTR): Likewise.
18029 [C99-based-standards] (SCNxPTR): Likewise.
18030 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18032 * conform/data/stdint.h-data: Update comments to clarify
18034 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18036 [C99-based standards] (INT8_MAX): Likewise.
18037 [C99-based standards] (INT16_MIN): Likewise.
18038 [C99-based standards] (INT16_MAX): Likewise.
18039 [C99-based standards] (INT32_MIN): Likewise.
18040 [C99-based standards] (INT32_MAX): Likewise.
18041 [C99-based standards] (INT64_MIN): Likewise.
18042 [C99-based standards] (INT64_MAX): Likewise.
18043 [C99-based standards] (UINT8_MAX): Likewise.
18044 [C99-based standards] (UINT16_MAX): Likewise.
18045 [C99-based standards] (UINT32_MAX): Likewise.
18046 [C99-based standards] (UINT64_MAX): Likewise.
18047 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18048 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18049 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18050 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18051 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18052 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18053 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18054 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18055 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18056 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18057 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18058 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18059 [C99-based standards] (INT_FAST8_MIN): Likewise.
18060 [C99-based standards] (INT_FAST8_MAX): Likewise.
18061 [C99-based standards] (INT_FAST16_MIN): Likewise.
18062 [C99-based standards] (INT_FAST16_MAX): Likewise.
18063 [C99-based standards] (INT_FAST32_MIN): Likewise.
18064 [C99-based standards] (INT_FAST32_MAX): Likewise.
18065 [C99-based standards] (INT_FAST64_MIN): Likewise.
18066 [C99-based standards] (INT_FAST64_MAX): Likewise.
18067 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18068 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18069 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18070 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18071 [C99-based standards] (INTPTR_MIN): Likewise.
18072 [C99-based standards] (INTPTR_MAX): Likewise.
18073 [C99-based standards] (UINTPTR_MAX): Likewise.
18074 [C99-based standards] (INTMAX_MIN): Likewise.
18075 [C99-based standards] (INTMAX_MAX): Likewise.
18076 [C99-based standards] (UINTMAX_MAX): Likewise.
18077 [C99-based standards] (PTRDIFF_MIN): Likewise.
18078 [C99-based standards] (PTRDIFF_MAX): Likewise.
18079 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18080 [C99-based standards] (SIZE_MAX): Likewise.
18081 [C99-based standards] (WCHAR_MAX): Likewise.
18082 [C99-based standards] (WINT_MAX): Likewise.
18083 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18084 constraint on value.
18085 [C99-based standards] (WCHAR_MIN): Likewise.
18086 [C99-based standards] (WINT_MIN): Likewise.
18087 [C99-based standards] (*_t): Allow.
18088 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18089 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18090 Include math.h-data and complex.h-data. Remove all expectations
18091 of math.h and complex.h contents.
18092 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18094 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18095 (struct tm): Expect tag.
18096 [C99-based-standards] (wcstof): Expect function.
18097 [C99-based-standards] (wcstold): Likewise.
18098 [C99-based-standards] (wcstoll): Likewise.
18099 [C99-based-standards] (wcstoull): Likewise.
18100 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18101 macro-int-constant. Specify type.
18102 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18103 constraint on value.
18104 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18106 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18108 [ISO C standards]: Do not allow headers.
18109 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18110 wcs[abcdefghijklmnopqrstuvwxyz]*.
18111 [ISO C standards] (*_t): Do not allow.
18112 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18114 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18115 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18117 [ISO C standards]: Do not allow headers.
18118 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18119 is[abcdefghijklmnopqrstuvwxyz]*.
18120 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18121 to[abcdefghijklmnopqrstuvwxyz]*.
18122 [ISO C standards] (*_t): Do not allow.
18123 * conform/data/stdalign.h-data: New file.
18124 * conform/data/stdbool.h-data: Likewise.
18125 * conform/data/stdnoreturn.h-data: Likewise.
18127 2012-11-07 Roland McGrath <roland@hack.frob.com>
18130 * manual/filesys.texi (Directory Entries): Typo fix.
18131 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18133 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18135 * elf/elf.h (EM_AARCH64): New macro.
18136 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18137 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18138 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18139 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18140 (R_AARCH64_TLSDESC): Likewise.
18141 (NT_ARM_TLS): Likewise.
18142 (NT_ARM_HW_BREAK): Likewise.
18143 (NT_ARM_HW_WATCH): Likewise.
18145 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18148 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18149 (__ieee754_powl): Saturate nonzero exponents with absolute value
18150 below 0x1p-79 to +/- 0x1p-79.
18151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18152 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18153 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18154 nonzero exponents with absolute value below 0x1p-32 to +/-
18156 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18157 (__ieee754_powl): Saturate nonzero exponents with absolute value
18158 below 0x1p-79 to +/- 0x1p-79.
18159 * math/libm-test.inc (pow_test): Add more tests.
18161 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18163 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18164 _dl_s390_cap_flags with kernel. Increase string length.
18165 (_dl_s390_platforms): Add z196 and zEC12.
18167 2012-11-07 Joseph Myers <joseph@codesourcery.com>
18169 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18170 Change XOPEN21K to XOPEN2K.
18172 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18174 * string/memmove.c: Use memcpy when possible.
18176 2012-11-06 Andreas Jaeger <aj@suse.de>
18178 * po/eo.po: Update from translation team.
18180 2012-11-06 Joseph Myers <joseph@codesourcery.com>
18183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18184 exponent and small x and y exponents, scale x or y up. Increase
18185 by 2 the exponent used in scaling up.
18186 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18187 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18188 * math/libm-test.inc (fma_test): Add more tests.
18189 (fma_test_towardzero): Likewise.
18190 (fma_test_downward): Likewise.
18191 (fma_test_upward): Likewise.
18193 2012-11-05 Joseph Myers <joseph@codesourcery.com>
18196 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18200 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18201 namespace for names of struct fields.
18202 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18204 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18205 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18207 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18210 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18212 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18214 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18218 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18221 2012-11-04 Joseph Myers <joseph@codesourcery.com>
18224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18225 definitely overflow as x * y not x * y + z.
18226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18228 * math/libm-test.inc (fma_test): Add more tests.
18229 (fma_test_towardzero): Likewise.
18230 (fma_test_downward): Likewise.
18231 (fma_test_upward): Likewise.
18233 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18237 * include/stub-tag.h: Remove file.
18238 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18240 * manual/maint.texi (Porting): Don't reference it.
18241 * Makerules ($(objpfx)stubs): Likewise.
18242 * dirent/closedir.c: Don't include <stub-tag.h>.
18243 * dirent/dirfd.c: Likewise.
18244 * dirent/fdopendir.c: Likewise.
18245 * dirent/getdents.c: Likewise.
18246 * dirent/getdents64.c: Likewise.
18247 * dirent/opendir.c: Likewise.
18248 * dirent/readdir.c: Likewise.
18249 * dirent/readdir64.c: Likewise.
18250 * dirent/readdir64_r.c: Likewise.
18251 * dirent/readdir_r.c: Likewise.
18252 * dirent/rewinddir.c: Likewise.
18253 * dirent/seekdir.c: Likewise.
18254 * dirent/telldir.c: Likewise.
18255 * gmon/profil.c: Likewise.
18256 * grp/setgroups.c: Likewise.
18257 * inet/if_index.c: Likewise.
18258 * io/access.c: Likewise.
18259 * io/chdir.c: Likewise.
18260 * io/chmod.c: Likewise.
18261 * io/chown.c: Likewise.
18262 * io/close.c: Likewise.
18263 * io/dup.c: Likewise.
18264 * io/dup2.c: Likewise.
18265 * io/dup3.c: Likewise.
18266 * io/euidaccess.c: Likewise.
18267 * io/faccessat.c: Likewise.
18268 * io/fchdir.c: Likewise.
18269 * io/fchmod.c: Likewise.
18270 * io/fchmodat.c: Likewise.
18271 * io/fchown.c: Likewise.
18272 * io/fchownat.c: Likewise.
18273 * io/fcntl.c: Likewise.
18274 * io/flock.c: Likewise.
18275 * io/fstatfs.c: Likewise.
18276 * io/fstatfs64.c: Likewise.
18277 * io/fstatvfs.c: Likewise.
18278 * io/fstatvfs64.c: Likewise.
18279 * io/futimens.c: Likewise.
18280 * io/fxstat.c: Likewise.
18281 * io/fxstat64.c: Likewise.
18282 * io/fxstatat.c: Likewise.
18283 * io/fxstatat64.c: Likewise.
18284 * io/getcwd.c: Likewise.
18285 * io/isatty.c: Likewise.
18286 * io/lchmod.c: Likewise.
18287 * io/lchown.c: Likewise.
18288 * io/link.c: Likewise.
18289 * io/linkat.c: Likewise.
18290 * io/lseek.c: Likewise.
18291 * io/lseek64.c: Likewise.
18292 * io/lxstat64.c: Likewise.
18293 * io/mkdir.c: Likewise.
18294 * io/mkdirat.c: Likewise.
18295 * io/mkfifo.c: Likewise.
18296 * io/mkfifoat.c: Likewise.
18297 * io/open.c: Likewise.
18298 * io/open64.c: Likewise.
18299 * io/openat.c: Likewise.
18300 * io/openat64.c: Likewise.
18301 * io/pipe.c: Likewise.
18302 * io/pipe2.c: Likewise.
18303 * io/poll.c: Likewise.
18304 * io/posix_fadvise.c: Likewise.
18305 * io/posix_fadvise64.c: Likewise.
18306 * io/posix_fallocate.c: Likewise.
18307 * io/posix_fallocate64.c: Likewise.
18308 * io/read.c: Likewise.
18309 * io/readlink.c: Likewise.
18310 * io/readlinkat.c: Likewise.
18311 * io/rmdir.c: Likewise.
18312 * io/sendfile.c: Likewise.
18313 * io/sendfile64.c: Likewise.
18314 * io/statfs.c: Likewise.
18315 * io/statfs64.c: Likewise.
18316 * io/statvfs.c: Likewise.
18317 * io/statvfs64.c: Likewise.
18318 * io/symlink.c: Likewise.
18319 * io/symlinkat.c: Likewise.
18320 * io/ttyname.c: Likewise.
18321 * io/ttyname_r.c: Likewise.
18322 * io/umask.c: Likewise.
18323 * io/unlink.c: Likewise.
18324 * io/unlinkat.c: Likewise.
18325 * io/utime.c: Likewise.
18326 * io/utimensat.c: Likewise.
18327 * io/write.c: Likewise.
18328 * io/xmknod.c: Likewise.
18329 * io/xmknodat.c: Likewise.
18330 * io/xstat.c: Likewise.
18331 * io/xstat64.c: Likewise.
18332 * login/getpt.c: Likewise.
18333 * login/grantpt.c: Likewise.
18334 * login/unlockpt.c: Likewise.
18335 * math/e_acoshl.c: Likewise.
18336 * math/e_acosl.c: Likewise.
18337 * math/e_asinl.c: Likewise.
18338 * math/e_atan2l.c: Likewise.
18339 * math/e_atanhl.c: Likewise.
18340 * math/e_coshl.c: Likewise.
18341 * math/e_expl.c: Likewise.
18342 * math/e_fmodl.c: Likewise.
18343 * math/e_gammal_r.c: Likewise.
18344 * math/e_hypotl.c: Likewise.
18345 * math/e_j0l.c: Likewise.
18346 * math/e_j1l.c: Likewise.
18347 * math/e_jnl.c: Likewise.
18348 * math/e_lgammal_r.c: Likewise.
18349 * math/e_log10l.c: Likewise.
18350 * math/e_log2l.c: Likewise.
18351 * math/e_logl.c: Likewise.
18352 * math/e_powl.c: Likewise.
18353 * math/e_rem_pio2l.c: Likewise.
18354 * math/e_sinhl.c: Likewise.
18355 * math/e_sqrtl.c: Likewise.
18356 * math/fclrexcpt.c: Likewise.
18357 * math/fedisblxcpt.c: Likewise.
18358 * math/feenablxcpt.c: Likewise.
18359 * math/fegetenv.c: Likewise.
18360 * math/fegetexcept.c: Likewise.
18361 * math/fegetround.c: Likewise.
18362 * math/feholdexcpt.c: Likewise.
18363 * math/fesetenv.c: Likewise.
18364 * math/fesetround.c: Likewise.
18365 * math/feupdateenv.c: Likewise.
18366 * math/fgetexcptflg.c: Likewise.
18367 * math/fraiseexcpt.c: Likewise.
18368 * math/fsetexcptflg.c: Likewise.
18369 * math/ftestexcept.c: Likewise.
18370 * math/k_cosl.c: Likewise.
18371 * math/k_rem_pio2l.c: Likewise.
18372 * math/k_sinl.c: Likewise.
18373 * math/k_tanl.c: Likewise.
18374 * math/s_asinhl.c: Likewise.
18375 * math/s_atanl.c: Likewise.
18376 * math/s_cbrtl.c: Likewise.
18377 * math/s_erfl.c: Likewise.
18378 * math/s_expm1l.c: Likewise.
18379 * math/s_log1pl.c: Likewise.
18380 * math/s_tanhl.c: Likewise.
18381 * misc/acct.c: Likewise.
18382 * misc/brk.c: Likewise.
18383 * misc/chflags.c: Likewise.
18384 * misc/chroot.c: Likewise.
18385 * misc/fchflags.c: Likewise.
18386 * misc/fgetxattr.c: Likewise.
18387 * misc/flistxattr.c: Likewise.
18388 * misc/fremovexattr.c: Likewise.
18389 * misc/fsetxattr.c: Likewise.
18390 * misc/fsync.c: Likewise.
18391 * misc/ftruncate.c: Likewise.
18392 * misc/futimes.c: Likewise.
18393 * misc/futimesat.c: Likewise.
18394 * misc/getdomain.c: Likewise.
18395 * misc/getdtsz.c: Likewise.
18396 * misc/gethostid.c: Likewise.
18397 * misc/gethostname.c: Likewise.
18398 * misc/getloadavg.c: Likewise.
18399 * misc/getpagesize.c: Likewise.
18400 * misc/getsysstats.c: Likewise.
18401 * misc/getxattr.c: Likewise.
18402 * misc/gtty.c: Likewise.
18403 * misc/ioctl.c: Likewise.
18404 * misc/lgetxattr.c: Likewise.
18405 * misc/listxattr.c: Likewise.
18406 * misc/llistxattr.c: Likewise.
18407 * misc/lremovexattr.c: Likewise.
18408 * misc/lsetxattr.c: Likewise.
18409 * misc/lutimes.c: Likewise.
18410 * misc/madvise.c: Likewise.
18411 * misc/mincore.c: Likewise.
18412 * misc/mlock.c: Likewise.
18413 * misc/mlockall.c: Likewise.
18414 * misc/mmap.c: Likewise.
18415 * misc/mprotect.c: Likewise.
18416 * misc/msync.c: Likewise.
18417 * misc/munlock.c: Likewise.
18418 * misc/munlockall.c: Likewise.
18419 * misc/munmap.c: Likewise.
18420 * misc/preadv.c: Likewise.
18421 * misc/preadv64.c: Likewise.
18422 * misc/ptrace.c: Likewise.
18423 * misc/pwritev.c: Likewise.
18424 * misc/pwritev64.c: Likewise.
18425 * misc/readv.c: Likewise.
18426 * misc/reboot.c: Likewise.
18427 * misc/remap_file_pages.c: Likewise.
18428 * misc/removexattr.c: Likewise.
18429 * misc/revoke.c: Likewise.
18430 * misc/select.c: Likewise.
18431 * misc/setdomain.c: Likewise.
18432 * misc/setegid.c: Likewise.
18433 * misc/seteuid.c: Likewise.
18434 * misc/sethostid.c: Likewise.
18435 * misc/sethostname.c: Likewise.
18436 * misc/setregid.c: Likewise.
18437 * misc/setreuid.c: Likewise.
18438 * misc/setxattr.c: Likewise.
18439 * misc/sstk.c: Likewise.
18440 * misc/stty.c: Likewise.
18441 * misc/swapoff.c: Likewise.
18442 * misc/swapon.c: Likewise.
18443 * misc/sync.c: Likewise.
18444 * misc/syncfs.c: Likewise.
18445 * misc/syscall.c: Likewise.
18446 * misc/truncate.c: Likewise.
18447 * misc/ualarm.c: Likewise.
18448 * misc/usleep.c: Likewise.
18449 * misc/ustat.c: Likewise.
18450 * misc/utimes.c: Likewise.
18451 * misc/vhangup.c: Likewise.
18452 * misc/writev.c: Likewise.
18453 * posix/_exit.c: Likewise.
18454 * posix/alarm.c: Likewise.
18455 * posix/execve.c: Likewise.
18456 * posix/fexecve.c: Likewise.
18457 * posix/fork.c: Likewise.
18458 * posix/fpathconf.c: Likewise.
18459 * posix/getaddrinfo.c: Likewise.
18460 * posix/getegid.c: Likewise.
18461 * posix/geteuid.c: Likewise.
18462 * posix/getgid.c: Likewise.
18463 * posix/getgroups.c: Likewise.
18464 * posix/getlogin.c: Likewise.
18465 * posix/getlogin_r.c: Likewise.
18466 * posix/getpgid.c: Likewise.
18467 * posix/getpid.c: Likewise.
18468 * posix/getppid.c: Likewise.
18469 * posix/getresgid.c: Likewise.
18470 * posix/getresuid.c: Likewise.
18471 * posix/getsid.c: Likewise.
18472 * posix/getuid.c: Likewise.
18473 * posix/glob64.c: Likewise.
18474 * posix/nanosleep.c: Likewise.
18475 * posix/pathconf.c: Likewise.
18476 * posix/pause.c: Likewise.
18477 * posix/posix_madvise.c: Likewise.
18478 * posix/pread.c: Likewise.
18479 * posix/pread64.c: Likewise.
18480 * posix/pwrite.c: Likewise.
18481 * posix/pwrite64.c: Likewise.
18482 * posix/sched_getaffinity.c: Likewise.
18483 * posix/sched_getp.c: Likewise.
18484 * posix/sched_gets.c: Likewise.
18485 * posix/sched_primax.c: Likewise.
18486 * posix/sched_primin.c: Likewise.
18487 * posix/sched_rr_gi.c: Likewise.
18488 * posix/sched_setaffinity.c: Likewise.
18489 * posix/sched_setp.c: Likewise.
18490 * posix/sched_sets.c: Likewise.
18491 * posix/sched_yield.c: Likewise.
18492 * posix/setgid.c: Likewise.
18493 * posix/setlogin.c: Likewise.
18494 * posix/setpgid.c: Likewise.
18495 * posix/setresgid.c: Likewise.
18496 * posix/setresuid.c: Likewise.
18497 * posix/setsid.c: Likewise.
18498 * posix/setuid.c: Likewise.
18499 * posix/sleep.c: Likewise.
18500 * posix/spawni.c: Likewise.
18501 * posix/sysconf.c: Likewise.
18502 * posix/times.c: Likewise.
18503 * posix/wait.c: Likewise.
18504 * posix/wait3.c: Likewise.
18505 * posix/wait4.c: Likewise.
18506 * posix/waitpid.c: Likewise.
18507 * resolv/gai_sigqueue.c: Likewise.
18508 * resource/getpriority.c: Likewise.
18509 * resource/getrlimit.c: Likewise.
18510 * resource/getrusage.c: Likewise.
18511 * resource/nice.c: Likewise.
18512 * resource/setpriority.c: Likewise.
18513 * resource/setrlimit.c: Likewise.
18514 * resource/ulimit.c: Likewise.
18515 * rt/aio_cancel.c: Likewise.
18516 * rt/aio_fsync.c: Likewise.
18517 * rt/aio_read.c: Likewise.
18518 * rt/aio_sigqueue.c: Likewise.
18519 * rt/aio_suspend.c: Likewise.
18520 * rt/aio_write.c: Likewise.
18521 * rt/clock_getres.c: Likewise.
18522 * rt/clock_gettime.c: Likewise.
18523 * rt/clock_nanosleep.c: Likewise.
18524 * rt/clock_settime.c: Likewise.
18525 * rt/lio_listio.c: Likewise.
18526 * rt/mq_close.c: Likewise.
18527 * rt/mq_getattr.c: Likewise.
18528 * rt/mq_notify.c: Likewise.
18529 * rt/mq_open.c: Likewise.
18530 * rt/mq_receive.c: Likewise.
18531 * rt/mq_send.c: Likewise.
18532 * rt/mq_setattr.c: Likewise.
18533 * rt/mq_timedreceive.c: Likewise.
18534 * rt/mq_timedsend.c: Likewise.
18535 * rt/mq_unlink.c: Likewise.
18536 * rt/shm_open.c: Likewise.
18537 * rt/shm_unlink.c: Likewise.
18538 * rt/timer_create.c: Likewise.
18539 * rt/timer_delete.c: Likewise.
18540 * rt/timer_getoverr.c: Likewise.
18541 * rt/timer_gettime.c: Likewise.
18542 * rt/timer_settime.c: Likewise.
18543 * setjmp/__longjmp.c: Likewise.
18544 * setjmp/setjmp.c: Likewise.
18545 * signal/kill.c: Likewise.
18546 * signal/killpg.c: Likewise.
18547 * signal/raise.c: Likewise.
18548 * signal/sigaction.c: Likewise.
18549 * signal/sigaltstack.c: Likewise.
18550 * signal/sigblock.c: Likewise.
18551 * signal/sigignore.c: Likewise.
18552 * signal/sigintr.c: Likewise.
18553 * signal/signal.c: Likewise.
18554 * signal/sigpause.c: Likewise.
18555 * signal/sigpending.c: Likewise.
18556 * signal/sigqueue.c: Likewise.
18557 * signal/sigreturn.c: Likewise.
18558 * signal/sigset.c: Likewise.
18559 * signal/sigsetmask.c: Likewise.
18560 * signal/sigstack.c: Likewise.
18561 * signal/sigsuspend.c: Likewise.
18562 * signal/sigtimedwait.c: Likewise.
18563 * signal/sigvec.c: Likewise.
18564 * signal/sigwait.c: Likewise.
18565 * signal/sigwaitinfo.c: Likewise.
18566 * signal/sysv_signal.c: Likewise.
18567 * socket/accept.c: Likewise.
18568 * socket/accept4.c: Likewise.
18569 * socket/bind.c: Likewise.
18570 * socket/connect.c: Likewise.
18571 * socket/getpeername.c: Likewise.
18572 * socket/getsockname.c: Likewise.
18573 * socket/getsockopt.c: Likewise.
18574 * socket/isfdtype.c: Likewise.
18575 * socket/listen.c: Likewise.
18576 * socket/recv.c: Likewise.
18577 * socket/recvfrom.c: Likewise.
18578 * socket/recvmsg.c: Likewise.
18579 * socket/send.c: Likewise.
18580 * socket/sendmsg.c: Likewise.
18581 * socket/sendto.c: Likewise.
18582 * socket/setsockopt.c: Likewise.
18583 * socket/shutdown.c: Likewise.
18584 * socket/sockatmark.c: Likewise.
18585 * socket/socket.c: Likewise.
18586 * socket/socketpair.c: Likewise.
18587 * stdio-common/ctermid.c: Likewise.
18588 * stdio-common/cuserid.c: Likewise.
18589 * stdio-common/remove.c: Likewise.
18590 * stdio-common/rename.c: Likewise.
18591 * stdio-common/renameat.c: Likewise.
18592 * stdio-common/tempname.c: Likewise.
18593 * stdlib/getcontext.c: Likewise.
18594 * stdlib/makecontext.c: Likewise.
18595 * stdlib/setcontext.c: Likewise.
18596 * stdlib/swapcontext.c: Likewise.
18597 * stdlib/system.c: Likewise.
18598 * streams/fattach.c: Likewise.
18599 * streams/fdetach.c: Likewise.
18600 * streams/getmsg.c: Likewise.
18601 * streams/getpmsg.c: Likewise.
18602 * streams/putmsg.c: Likewise.
18603 * streams/putpmsg.c: Likewise.
18604 * sysdeps/unix/bsd/getpt.c: Likewise.
18605 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18606 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18607 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18610 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18611 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18612 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18613 * sysvipc/msgctl.c: Likewise.
18614 * sysvipc/msgget.c: Likewise.
18615 * sysvipc/msgrcv.c: Likewise.
18616 * sysvipc/msgsnd.c: Likewise.
18617 * sysvipc/semctl.c: Likewise.
18618 * sysvipc/semget.c: Likewise.
18619 * sysvipc/semop.c: Likewise.
18620 * sysvipc/semtimedop.c: Likewise.
18621 * sysvipc/shmat.c: Likewise.
18622 * sysvipc/shmctl.c: Likewise.
18623 * sysvipc/shmdt.c: Likewise.
18624 * sysvipc/shmget.c: Likewise.
18625 * termios/tcdrain.c: Likewise.
18626 * termios/tcflow.c: Likewise.
18627 * termios/tcflush.c: Likewise.
18628 * termios/tcgetattr.c: Likewise.
18629 * termios/tcgetpgrp.c: Likewise.
18630 * termios/tcsendbrk.c: Likewise.
18631 * termios/tcsetattr.c: Likewise.
18632 * termios/tcsetpgrp.c: Likewise.
18633 * time/adjtime.c: Likewise.
18634 * time/clock.c: Likewise.
18635 * time/getitimer.c: Likewise.
18636 * time/gettimeofday.c: Likewise.
18637 * time/setitimer.c: Likewise.
18638 * time/settimeofday.c: Likewise.
18639 * time/stime.c: Likewise.
18640 * time/time.c: Likewise.
18642 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
18644 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18647 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18649 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18651 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18655 FE_TONEAREST before applying Dekker multiplication and Knuth
18656 addition. Clear inexact exceptions and check for exact zero
18657 results afterwards.
18658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18659 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18661 * math/libm-test.inc (fma_test): Add more tests.
18662 (fma_test_towardzero): Likewise.
18663 (fma_test_downward): Likewise.
18664 (fma_test_upward): Likewise.
18665 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18667 (libc_fesetround): New macro.
18668 (libc_fesetroundf): Likewise.
18669 (libc_fesetroundl): Likewise.
18670 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18672 (libc_fesetround_387): Likewise.
18673 (libc_fesetroundf): New macro.
18674 (libc_fesetround): Likewise.
18675 (libc_fesetroundl): Likewise.
18676 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18678 (libc_fesetroundf): New macro.
18679 (libc_fesetround): Likewise.
18680 (libc_fesetroundl): Likewise.
18681 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18682 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18683 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18685 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18686 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18688 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18689 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18691 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18695 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18696 integer constant usable in #if and use that to give value to enum
18698 (FE_DIVBYZERO): Likewise.
18699 (FE_UNDERFLOW): Likewise.
18700 (FE_OVERFLOW): Likewise.
18701 (FE_INVALID): Likewise.
18702 (FE_INVALID_SNAN): Likewise.
18703 (FE_INVALID_ISI): Likewise.
18704 (FE_INVALID_IDI): Likewise.
18705 (FE_INVALID_ZDZ): Likewise.
18706 (FE_INVALID_IMZ): Likewise.
18707 (FE_INVALID_COMPARE): Likewise.
18708 (FE_INVALID_SOFTWARE): Likewise.
18709 (FE_INVALID_SQRT): Likewise.
18710 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18711 (FE_TONEAREST): Likewise.
18712 (FE_TOWARDZERO): Likewise.
18713 (FE_UPWARD): Likewise.
18714 (FE_DOWNWARD): Likewise.
18715 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18716 (FE_DIVBYZERO): Likewise.
18717 (FE_OVERFLOW): Likewise.
18718 (FE_UNDERFLOW): Likewise.
18719 (FE_INEXACT): Likewise.
18720 (FE_TONEAREST): Likewise.
18721 (FE_DOWNWARD): Likewise.
18722 (FE_UPWARD): Likewise.
18723 (FE_TOWARDZERO): Likewise.
18724 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18725 (FE_UNDERFLOW): Likewise.
18726 (FE_OVERFLOW): Likewise.
18727 (FE_DIVBYZERO): Likewise.
18728 (FE_INVALID): Likewise.
18729 (FE_TONEAREST): Likewise.
18730 (FE_TOWARDZERO): Likewise.
18731 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18732 (FE_OVERFLOW): Likewise.
18733 (FE_UNDERFLOW): Likewise.
18734 (FE_DIVBYZERO): Likewise.
18735 (FE_INEXACT): Likewise.
18736 (FE_TONEAREST): Likewise.
18737 (FE_TOWARDZERO): Likewise.
18738 (FE_UPWARD): Likewise.
18739 (FE_DOWNWARD): Likewise.
18740 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18741 (FE_DIVBYZERO): Likewise.
18742 (FE_OVERFLOW): Likewise.
18743 (FE_UNDERFLOW): Likewise.
18744 (FE_INEXACT): Likewise.
18745 (FE_TONEAREST): Likewise.
18746 (FE_DOWNWARD): Likewise.
18747 (FE_UPWARD): Likewise.
18748 (FE_TOWARDZERO): Likewise.
18750 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18752 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18754 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18756 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18757 commands. Quote $PWD.
18758 (blacklist_exports): Don't use remove_newlines. Replace "declare
18760 (remove_newlines): Remove.
18762 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18764 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18765 * stdlib/stdlib.h (atof): Moved to ...
18766 * include/bits/stdlib-float.h: Here. New file.
18767 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18768 * stdlib/bits/stdlib-float.h: New file.
18769 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18771 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18774 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18776 * conform/conformtest.pl (@headers): Add fenv.h.
18777 * conform/data/fenv.h-data: New file.
18778 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18779 include of <math/fenv.h>.
18781 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18782 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18783 && !UNIX98]. Enables tests for XOPEN2K8.
18784 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18785 POSIX2008]: Likewise.
18787 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18788 (struct rusage): Do not expect type or its members.
18791 * math/math.h (FP_NAN): Define macro to integer constant usable in
18792 #if and use that to give value to enum constant.
18793 (FP_INFINITE): Likewise.
18794 (FP_ZERO): Likewise.
18795 (FP_SUBNORMAL): Likewise.
18796 (FP_NORMAL): Likewise.
18798 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18800 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18801 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18804 2012-11-02 Roland McGrath <roland@hack.frob.com>
18806 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18807 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18808 autoconf-time if not.
18809 * configure.in: Remove AC_PREREQ.
18811 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18813 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18814 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18815 of the internal implementation.
18817 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18819 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18820 except include of <misc/sys/syslog.h>.
18822 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18825 function returns with a NULL context exit with zero.
18827 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18829 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18831 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18833 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18834 (run_program_cmd): This.
18835 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18836 (tst_langinfo): New variable. Use it.
18838 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18840 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18841 floating point opcodes.
18843 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18845 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18848 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18850 * sysdeps/mach/hurd/powerpc: Remove directory.
18851 * sysdeps/mach/powerpc: Likewise.
18853 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18855 * scripts/check-local-headers.sh: Ignore c++ headers.
18857 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18859 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18860 __libc_cleanup_region_start argument.
18862 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18867 x * y using scaling, not as x * y + z.
18868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18869 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18870 * math/libm-test.inc (fma_test): Add more tests.
18871 (fma_test_towardzero): Likewise.
18872 (fma_test_downward): Likewise.
18873 (fma_test_upward): Likewise.
18875 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18877 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18879 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18881 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18884 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18886 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18888 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18895 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18898 Fix the order of the list for glibc 2.17.
18899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18902 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18906 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18909 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18910 for low part of x being zero before using __atanl (y).
18911 * math/libm-test.inc (atan2_test): Add another test.
18913 * manual/install.texi (Configuring and compiling): Document
18914 general use of test-wrapper and test-wrapper-env.
18915 * INSTALL: Regenerated.
18917 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18918 (__fma): Do not extract and scale down low bits on after-rounding
18919 systems when result rounded to normal precision would have normal
18921 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18922 (__fmal): Do not extract and scale down low bits on after-rounding
18923 systems when result rounded to normal precision would have normal
18925 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18926 (__fmal): Do not extract and scale down low bits on after-rounding
18927 systems when result rounded to normal precision would have normal
18929 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18931 (fma_test): Add more tests.
18932 (fma_test_towardzero): Likewise.
18933 (fma_test_downward): Likewise.
18934 (fma_test_upward): Likewise.
18936 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18938 * sysdeps/i386/tininess.h: Renamed to ...
18939 * sysdeps/x86/tininess.h: This.
18940 * sysdeps/x86_64/tininess.h: Removed.
18942 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18944 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18945 input. Use $(build-program-cmd).
18946 ($(objpfx)tst-array1-static.out): Likewise.
18947 ($(objpfx)tst-array2.out): Likewise.
18948 ($(objpfx)tst-array3.out): Likewise.
18949 ($(objpfx)tst-array4.out): Likewise.
18950 ($(objpfx)tst-array5.out): Likewise.
18951 ($(objpfx)tst-array5-static.out): Likewise.
18953 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18955 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18958 * nss/nsswitch.h (nss_interface_function): Provide new
18959 macro for use with NSS functions.
18960 * grp/initgroups.c: Use new macro.
18961 * nss/getXXbyYY.c: Likewise.
18962 * nss/getXXbyYY_r.c: Likewise.
18963 * nss/getXXent.c: Likewise.
18964 * nss/getXXent_r.c: Likewise.
18965 * sysdeps/posix/getaddrinfo.c: Likewise.
18967 2012-10-30 Andreas Jaeger <aj@suse.de>
18969 * po/ru.po: Update Russion translation from translation project.
18971 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18976 result and shift together with sticky bit instead of replicating
18977 round-to-nearest rounding.
18978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18979 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18980 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18981 missing underflow exceptions.
18982 (fma_test_towardzero): Add more tests.
18983 (fma_test_downward): Likewise.
18984 (fma_test_upward): Likewise.
18987 * sysdeps/generic/tininess.h: New file.
18988 * sysdeps/i386/tininess.h: Likewise.
18989 * sysdeps/sh/tininess.h: Likewise.
18990 * sysdeps/x86_64/tininess.h: Likewise.
18991 * stdlib/tst-strtod-underflow.c: Likewise.
18992 * stdlib/tst-tininess.c: Likewise.
18993 * stdlib/strtod_l.c: Include <tininess.h>.
18994 (round_and_return): Do not set errno for exact underflow cases.
18995 Force an underflow exception when setting errno for underflow.
18996 Determine underflow based on rounding to normal precision if
18997 TININESS_AFTER_ROUNDING.
18998 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18999 ERANGE for exact underflow cases.
19000 * stdlib/Makefile (tests): Add tst-tininess and
19001 tst-strtod-underflow.
19002 ($(objpfx)tst-tininess): Use $(link-libm).
19003 ($(objpfx)tst-strtod-underflow): Likewise.
19005 2012-10-30 Andreas Jaeger <aj@suse.de>
19008 * elf/Makefile (tests): Remove conditional for have-initfini-array
19009 since this is now always required and the variable does not exist
19011 (tests-static): Likewise.
19012 (modules-names): Likewise.
19014 * po/eo.po: Add Esperanto translation from translation project.
19016 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19017 merged with constructor/destructor.
19018 (init_array): Likewise.
19019 * elf/tst-array2dep.c (fini_array): Likewise.
19020 (init_array): Likewise.
19022 2012-10-29 Mike Frysinger <vapier@gentoo.org>
19024 * manual/message.texi: Delete @cartouche tags.
19026 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19028 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19030 * sysdeps/mach/hurd/fsync.c: Likewise.
19032 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19033 [_POSIX_REALTIME_SIGNALS]: Change condition to
19034 [_POSIX_REALTIME_SIGNALS > 0].
19036 2012-10-27 Andreas Jaeger <aj@suse.de>
19038 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19039 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19040 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19041 [__WORDSIZE != 64]: Likewise.
19043 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19045 * iconvdata/tst-table.sh: Remove ${SHELL}.
19046 * iconvdata/tst-tables.sh: Likewise.
19048 2012-10-25 David S. Miller <davem@davemloft.net>
19050 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19051 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19056 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19057 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19058 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19061 2012-10-25 Roland McGrath <roland@hack.frob.com>
19063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19064 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19067 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19068 Jim Blandy <jimb@codesourcery.com>
19070 * scripts/cross-test-ssh.sh: New file.
19071 * manual/install.texi (Configuring and compiling): Document use of
19073 * INSTALL: Regenerated.
19075 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19077 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19080 2012-10-25 Joseph Myers <joseph@codesourcery.com>
19082 * Makeconfig (run-program-prefix): Fix comment.
19084 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19085 Jim Blandy <jimb@codesourcery.com>
19087 * Makeconfig (test-wrapper): New variable,
19088 (test-wrapper-env): Likewise.
19089 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19090 (run-built-tests): Define to yes.
19091 (run-program-prefix): Use $(test-wrapper).
19092 (built-program-cmd): Likewise.
19093 * Rules (make-test-out): Use $(test-wrapper-env) and
19094 $(host-built-program-cmd).
19095 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19096 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19098 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19099 $(test-wrapper-env) to tst-rtld-load-self.sh.
19100 ($(objpfx)order2.out): Use $(test-wrapper).
19101 ($(objpfx)tst-initorder.out): Likewise.
19102 ($(objpfx)tst-initorder2.out): Likewise.
19103 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19104 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19105 (test_wrapper_env): New variable. Use it to run ld.so.
19106 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19107 Use it to run ld.so.
19108 (test_wrapper_env): Likewise.
19109 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19110 $(test-wrapper) to run-iconv-test.sh.
19111 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19112 (ICONV): Use $test_wrapper.
19113 * posix/Makefile ($(objpfx)globtest.out): Pass
19114 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19115 globtest.sh, not $(run-program-prefix).
19116 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19117 (test_wrapper): Likewise.
19118 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19119 set together with run_via_rtld_prefix.
19120 (run_program_prefix): Define in terms of test_wrapper and
19121 run_via_rtld_prefix.
19123 2012-10-24 Roland McGrath <roland@hack.frob.com>
19125 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19126 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19130 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19131 Declare __clock_getres, __clock_gettime, __clock_settime,
19132 __clock_nanosleep, and __clock_getcpuclockid.
19133 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19134 Remove librt_hidden_def (clock_gettime).
19135 * sysdeps/unix/clock_gettime.c: Likewise.
19136 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19137 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19138 * rt/clock_getres.c: Define __clock_getres as an alias.
19139 * sysdeps/posix/clock_getres.c: Likewise.
19140 * rt/clock_settime.c: Define __clock_settime as an alias.
19141 * sysdeps/unix/clock_settime.c: Likewise.
19142 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19143 * sysdeps/unix/clock_nanosleep.c: Likewise.
19144 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19145 * rt/clock-compat.c: New file.
19146 * rt/Makefile (librt-routines): Add clock-compat and move
19147 $(clock-routines) to ...
19148 (routines): ... here, new variable.
19149 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19150 Don't add get_clockfreq here.
19151 * rt/Versions (libc: GLIBC_2.17): New version set.
19152 Add clock_* symbols here.
19153 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19154 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19155 (GLIBC_2.17): Add clock_* symbols.
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19167 * NEWS: Mention the move.
19169 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19170 Use __open, __read, __close rather than their public counterparts.
19171 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19172 (__get_clockfreq_via_cpuinfo): Likewise.
19173 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19174 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19176 * config.h.in (HAVE_IFUNC): New #undef.
19177 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19179 * configure: Regenerated.
19181 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19183 * configure.in: Move READELF check to start of file.
19184 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19185 libc_cv_asm_gnu_indirect_function in the process.
19186 * configure: Regenerated.
19188 2012-10-24 Mike Frysinger <vapier@gentoo.org>
19190 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19191 send the output to /dev/null.
19192 (libc_cv_cc_with_libunwind): Likewise.
19193 (libc_cv_as_noexecstack): Likewise.
19194 * configure: Regenerate.
19196 2012-10-24 Joseph Myers <joseph@codesourcery.com>
19198 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19200 * posix/globtest.sh (TMPDIR): Do not set.
19201 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19202 (testout): Likewise.
19204 2012-10-24 Andreas Jaeger <aj@suse.de>
19206 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19207 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19208 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19209 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19210 posix_fadvise64, posix_fallocate64.
19212 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19213 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19214 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19216 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19218 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19221 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19222 <bits/fcntl-linux.h>.
19223 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19226 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19227 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19228 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19229 [__WORDSIZE != 64]: Likewise.
19231 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19233 * Makeconfig (run-built-tests): New variable.
19234 * Rules [$(cross-compiling) = yes]: Change condition to
19235 [$(run-built-tests) = no].
19236 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19237 to [$(run-built-tests) = yes].
19238 * elf/Makefile [$(cross-compiling) = no]: Likewise
19239 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19240 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19241 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19242 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19243 * io/Makefile [$(cross-compiling) = no]: Likewise.
19244 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19245 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19246 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19247 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19248 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19249 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19250 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19251 * string/Makefile [$(cross-compiling) = no]: Likewise.
19253 * posix/Makefile ($(objpfx)globtest.out): Pass
19254 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19255 $(rtld-installed-name).
19256 * posix/globtest.sh (elf_objpfx): Remove variable.
19257 (rtld_installed_name): Likewise.
19258 (library_path): Likewise.
19259 (run_program_prefix): New variable. Use for running globtest
19262 2012-10-23 Jim Blandy <jimb@codesourcery.com>
19263 Joseph Myers <joseph@codesourcery.com>
19265 * Makeconfig (host-built-program-cmd): New variable.
19266 * elf/Makefile (tst-stackguard1-ARGS): Use
19267 $(host-built-program-cmd).
19268 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19269 (tst-spawn-ARGS): Likewise.
19270 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19272 2012-10-23 Joseph Myers <joseph@codesourcery.com>
19273 Jim Blandy <jimb@codesourcery.com>
19275 * Makeconfig (run-via-rtld-prefix): New variable.
19276 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19277 (built-program-cmd): Likewise.
19279 2012-10-22 Andreas Jaeger <aj@suse.de>
19281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19282 __O_RSYNC if it exists, otherwise to O_SYNC.
19284 2012-10-22 Jim Blandy <jimb@codesourcery.com>
19285 Joseph Myers <joseph@codesourcery.com>
19287 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19289 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19291 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19294 2012-10-22 Andreas Jaeger <aj@suse.de>
19296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19298 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19301 bits/fcntl-linux.h.
19303 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19304 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19311 2012-10-21 Jim Blandy <jimb@codesourcery.com>
19312 Joseph Myers <joseph@codesourcery.com>
19314 * config.make.in (NM): New variable.
19316 2012-10-21 Andreas Jaeger <aj@suse.de>
19318 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19319 definitions and declarations that are provided by
19320 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19322 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19325 * elf/Makefile (tests-static): Add tst-leaks1-static.
19326 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19327 ($(objpfx)tst-leaks1-static): New rule.
19328 ($(objpfx)tst-leaks1-static-mem): Likewise.
19329 (tst-leaks1-static-ENV): New macro.
19330 * elf/dl-open.c (dl_open_worker): Check the main application
19331 only if SHARED is defined.
19332 * elf/tst-leaks1-static.c: New file.
19334 2012-10-20 Andreas Jaeger <aj@suse.de>
19336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19337 generic values for Linux.
19338 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19339 and declarations that are provided by <bits/fcntl-linux.h> and
19340 include <bits/fcntl-linux.h>.
19341 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19344 2012-10-20 Roland McGrath <roland@hack.frob.com>
19346 * io/fcntl.h: Move include of <bits/types.h> to the top and
19347 include it unconditionally.
19349 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19351 * wcsmbs/Makefile (tests-ifunc): New variable.
19352 (tests): Add $(tests-ifunc).
19353 * wcsmbs/test-wcschr-ifunc.c: New file.
19354 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19355 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19356 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19357 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19358 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19360 * string/Makefile (tests-ifunc): New variable.
19361 (tests): Add $(tests-ifunc).
19362 * string/test-memccpy.c (TEST_NAME): New macro.
19363 * string/test-memchr.c (TEST_NAME): Likewise.
19364 * string/test-memcmp.c (TEST_NAME): Likewise.
19365 * string/test-memcpy.c (TEST_NAME): Likewise.
19366 * string/test-memmem.c (TEST_NAME): Likewise.
19367 * string/test-memmove.c (TEST_NAME): Likewise.
19368 * string/test-memset.c (TEST_NAME): Likewise.
19369 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19370 * string/test-stpcpy.c (TEST_NAME): Likewise.
19371 * string/test-stpncpy.c (TEST_NAME): Likewise.
19372 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19373 * string/test-strcasestr.c (TEST_NAME): Likewise.
19374 * string/test-strcat.c (TEST_NAME): Likewise.
19375 * string/test-strchr.c (TEST_NAME): Likewise.
19376 * string/test-strcmp.c(TEST_NAME): Likewise.
19377 * string/test-strcpy.c (TEST_NAME): Likewise.
19378 * string/test-strcspn.c (TEST_NAME): Likewise.
19379 * string/test-strlen.c (TEST_NAME): Likewise.
19380 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19381 * string/test-strncmp.c (TEST_NAME): Likewise.
19382 * string/test-strncpy.c (TEST_NAME): Likewise.
19383 * string/test-strnlen.c (TEST_NAME): Likewise.
19384 * string/test-strpbrk.c (TEST_NAME): Likewise.
19385 * string/test-strrchr.c (TEST_NAME): Likewise.
19386 * string/test-strspn.c (TEST_NAME): Likewise.
19387 * string/test-strstr.c (TEST_NAME): Likewise.
19388 * string/test-bcopy-ifunc.c: New file.
19389 * string/test-bzero-ifunc.c: Likewise.
19390 * string/test-memccpy-ifunc.c: Likewise.
19391 * string/test-memchr-ifunc.c: Likewise.
19392 * string/test-memcmp-ifunc.c: Likewise.
19393 * string/test-memcpy-ifunc.c: Likewise.
19394 * string/test-memmem-ifunc.c: Likewise.
19395 * string/test-memmove-ifunc.c: Likewise.
19396 * string/test-mempcpy-ifunc.c: Likewise.
19397 * string/test-memset-ifunc.c: Likewise.
19398 * string/test-rawmemchr-ifunc.c: Likewise.
19399 * string/test-stpcpy-ifunc.c: Likewise.
19400 * string/test-stpncpy-ifunc.c: Likewise.
19401 * string/test-strcasecmp-ifunc.c: Likewise.
19402 * string/test-strcasestr-ifunc.c: Likewise.
19403 * string/test-strcat-ifunc.c: Likewise.
19404 * string/test-strchr-ifunc.c: Likewise.
19405 * string/test-strchrnul-ifunc.c: Likewise.
19406 * string/test-strcmp-ifunc.c: Likewise.
19407 * string/test-strcpy-ifunc.c: Likewise.
19408 * string/test-strcspn-ifunc.c: Likewise.
19409 * string/test-strlen-ifunc.c: Likewise.
19410 * string/test-strncasecmp-ifunc.c: Likewise.
19411 * string/test-strncat-ifunc.c: Likewise.
19412 * string/test-strncmp-ifunc.c: Likewise.
19413 * string/test-strncpy-ifunc.c: Likewise.
19414 * string/test-strnlen-ifunc.c: Likewise.
19415 * string/test-strpbrk-ifunc.c: Likewise.
19416 * string/test-strrchr-ifunc.c: Likewise.
19417 * string/test-strspn-ifunc.c: Likewise.
19418 * string/test-strstr-ifunc.c: Likewise.
19420 * debug/Makefile (tests-ifunc): New variable.
19421 (tests): Add $(tests-ifunc).
19422 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19423 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19424 * debug/test-stpcpy_chk-ifunc.c: New file.
19425 * debug/test-strcpy_chk-ifunc.c: Likewise.
19427 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19430 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19431 header is not read in.
19433 2012-10-19 Joseph Myers <joseph@codesourcery.com>
19435 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19436 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19437 directly. Pass built executable to script as
19438 $(built-program-cmd).
19439 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19440 $testprogram without using LD_LIBRARY_PATH and $ldso.
19442 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19443 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19444 $(rtld-installed-name).
19445 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19446 (rtld_installed_name): Likewise.
19447 (library_path): Likewise.
19448 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19449 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19450 $(run-program-prefix) to tst-tables.sh.
19451 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19452 it to run tst-table-from and tst-table-to.
19453 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19454 Pass it to tst-table.sh.
19455 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19456 $(run-program-prefix) to tst-gettext.sh.
19457 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19459 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19461 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19462 to run tst-gettext.
19463 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19464 to run tst-gettext2.
19465 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19466 to run tst-translit.
19467 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19468 $(run-program-prefix) to tst-mtrace.sh.
19469 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19471 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19472 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19473 $(rtld-installed-name).
19474 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19475 (rtld_installed_name): Likewise.
19476 (run_program_prefix): New variable. Use it to run wordexp-test.
19478 * Makeconfig (ARCH): Remove all definitions.
19479 (machine): Likewise.
19480 [ARCH]: Remove conditional code.
19481 [!objdir]: Give error.
19482 [!objdir] (objpfx): Remove.
19483 [!objdir] (common-objpfx): Likewise.
19484 [!objdir] (common-objdir): Likewise.
19485 * configure.in (config_makefile): Remove. Hardcode Makefile in
19486 AC_CONFIG_FILES call.
19487 * configure: Regenerated.
19490 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19492 (testout): Likewise.
19494 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19495 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19496 $(rtld-installed-name).
19497 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19498 (rtld_installed_name): Likwise.
19499 (runit): Remove function.
19500 (run_getconf): New variable, Use it for running getconf binary.
19502 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19505 * string/test-memmem.c (check_result): New function.
19506 (do_one_test): Use it.
19507 (check1): New function.
19508 (test_main): Use it.
19510 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19512 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19514 2012-10-18 Joseph Myers <joseph@codesourcery.com>
19516 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19517 (_G_LSEEK64): Likewise.
19518 (_G_MMAP64): Likewise.
19519 (_G_FSTAT64): Likewise.
19520 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19521 (_G_LSEEK64): Likewise.
19522 (_G_MMAP64): Likewise.
19523 (_G_FSTAT64): Likewise.
19524 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19525 unconditional. Call __mmap64 directly.
19526 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19527 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19528 __lseek64 directly.
19529 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19530 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19532 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19533 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19534 __lseek64 directly.
19535 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19536 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19537 __lseek64 directly.
19538 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19539 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19540 __lseek64 directly.
19541 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19542 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19543 __fxstat64 directly.
19544 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19545 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19547 (freopen64) [!_G_OPEN64]: Remove conditional code.
19548 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19550 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19551 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19553 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19554 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19556 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19557 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19559 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19560 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19562 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19563 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19565 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19566 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19568 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19570 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19573 * manual/memory.texi (Malloc Tunable Parameters): Add note
19574 about free list pointers overwriting some perturb bytes.
19575 Wording suggested by Roland McGrath.
19577 2012-10-17 Joseph Myers <joseph@codesourcery.com>
19579 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19580 (lgamma_test): Likewise.
19581 (tgamma_test): Likewise.
19583 2012-10-16 Florian Weimer <fweimer@redhat.com>
19586 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19587 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19589 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19591 * NEWS: Mention BZ #14716.
19592 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19593 when removing AVAILABLE1_USES_J macro.
19595 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19597 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19598 (__bswap_64): __uint64_t for unsigned 64-bit int.
19600 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19602 * include/string.h (memmem): Declare libc hidden alias.
19603 * string/memmem.c (memmem): Define libc hidden alias.
19604 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19605 __read, __close instead of open, read, close.
19607 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19609 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19610 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19612 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19613 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19614 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19616 (__rawmemchr_sse2): Likewise.
19617 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19618 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19619 (__strchr_sse2): Likewise.
19620 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19621 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19622 (__strcasecmp_sse2): Likewise.
19623 (__strncasecmp_sse2): Likewise.
19624 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19625 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19626 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19627 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19628 (__strrchr_sse2): Likewise.
19629 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19631 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19632 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19633 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19634 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19635 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19636 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19637 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19638 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19639 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19640 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19641 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19642 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19643 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19644 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19645 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19646 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19647 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19648 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19649 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19650 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19651 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19652 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19653 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19654 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19655 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19656 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19657 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19658 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19659 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19660 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19662 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19664 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19665 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19666 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19667 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19669 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19671 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19672 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19673 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19674 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19676 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19677 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19678 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19679 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19680 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19681 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19682 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19683 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19684 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19685 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19686 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19687 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19688 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19689 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19690 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19691 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19692 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19693 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19694 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19695 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19696 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19697 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19698 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19699 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19700 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19701 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19702 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19703 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19704 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19705 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19706 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19707 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19708 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19709 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19710 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19711 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19712 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19713 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19714 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19715 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19716 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19718 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19719 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19720 * include/ifunc-impl-list.h: New file.
19721 * misc/ifunc-impl-list.c: Likewise.
19722 * misc/Makefile (routines): Add ifunc-impl-list.
19723 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19724 * string/test-string.h: Include <ifunc-impl-list.h>.
19725 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19726 impl_array): New variables.
19727 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19729 (test_init): Call __libc_ifunc_impl_list to initialize
19730 func_list if TEST_IFUNC and TEST_NAME are defined.
19732 * string/Makefile (strop-tests): Add bcopy and bzero.
19733 * string/test-bcopy.c: New file.
19734 * string/test-bzero.c: Likewise.
19735 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19737 * string/test-memset.c: Support bzero test if TEST_BZERO is
19739 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19741 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19743 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19746 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19748 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19749 * configure: Regenerated.
19751 * Makeconfig (+link-static-before-libc): Don't include
19752 $(link-static-libc).
19754 * libio/libio.h (_IO_pos_t): Remove.
19756 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19758 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19761 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19763 * crypt/crypt-entry.c: Include fips-private.h.
19764 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19765 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19766 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19767 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19769 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19771 * crypt/crypt-private.h: Include stdbool.h.
19772 (_ufc_setup_salt_r): Return bool.
19773 * crypt/crypt-entry.c: Include errno.h.
19774 (__crypt_r): Return NULL with EINVAL for bad salt.
19775 * crypt/crypt_util.c (bad_for_salt): New.
19776 (_ufc_setup_salt_r): Check that salt is long enough and within
19777 the specified alphabet.
19778 * crypt/badsalttest.c: New file.
19779 * crypt/Makefile (tests): Add it.
19780 ($(objpfx)badsalttest): New.
19782 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19784 * NEWS: Add entry for BZ #14602.
19786 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19788 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19790 * math/libm-test.inc: Update comment listing what functions and
19792 (isgreater_test): New function.
19793 (isgreaterequal_test): Likewise.
19794 (isless_test): Likewise.
19795 (islessequal_test): Likewise.
19796 (islessgreater_test): Likewise.
19797 (isunordered_test): Likewise.
19798 (main): Call the new functions.
19800 2012-10-09 Roland McGrath <roland@hack.frob.com>
19802 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19803 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19804 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19805 * sysdeps/i386/configure: Regenerated.
19806 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19807 * sysdeps/mach/configure: Regenerated.
19808 * sysdeps/mach/hurd/configure: Regenerated.
19809 * sysdeps/powerpc/configure: Regenerated.
19810 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19811 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19812 * sysdeps/s390/s390-32/configure: Regenerated.
19813 * sysdeps/s390/s390-64/configure: Regenerated.
19814 * sysdeps/sh/configure: Regenerated.
19815 * sysdeps/sparc/configure: Regenerated.
19816 * sysdeps/unix/sysv/linux/configure: Regenerated.
19817 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19818 * sysdeps/x86_64/configure: Regenerated.
19820 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19821 defined. Don't check if MAP is NULL.
19823 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19825 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19826 (_G_stat64): Likewise.
19827 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19828 (_G_stat64): Likewise.
19829 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19830 instead of struct _G_stat64.
19831 * libio/fileops.c (mmap_remap_check): Likewise.
19832 (decide_maybe_mmap): Likewise.
19833 (_IO_new_file_seekoff): Likewise.
19834 (_IO_file_stat): Likewise.
19835 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19837 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19838 instead of struct _G_stat64.
19839 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19841 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19844 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19846 (CHECK_EOL): New macro.
19847 (two_way_short_needle): Check beginning of haystack for EOL. Use
19849 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19850 Replace with CHECK_EOL.
19851 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19852 Replace with CHECK_EOL.
19854 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19856 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19858 * math/libm-test.inc: Update comment listing what functions and
19860 (finite_test): New function.
19861 (isinf_test): Likewise.
19862 (isnan_test): Likewise.
19863 (fpclassify_test): Test subnormal input.
19864 (isfinite_test): Likewise.
19865 (isnormal_test): Likewise.
19866 (main): Call the new functions.
19868 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19871 * Makerules (%.dynsym): Force C locale when running
19872 $(OBJDUMP) --dynamic-syms.
19874 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19876 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19879 2012-10-06 David S. Miller <davem@davemloft.net>
19881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19882 upper 32-bits of the length value in %o2 since we use branch-on-register
19883 tests which consider the entire 64-bit register.
19885 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19887 * string/test-strstr.c (check2): Add a test for page boundary.
19889 2012-10-05 David S. Miller <davem@davemloft.net>
19891 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19892 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19894 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19896 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19897 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19898 and bzero when HWCAP_SPARC_CRYPTO is present.
19900 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19903 * string/test-strstr.c (check2): New function.
19904 (test_main): Call check2.
19906 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19908 * string/bug-strcasestr1.c (do_test): Moved to ...
19909 * string/test-strcasestr.c (check1): Here. New function.
19910 (do_one_test): Break out result checking code into ...
19911 (check_result): This. New function.
19912 (do_one_test): Call check_result.
19913 (test_main): Call check1.
19914 * string/bug-strchr1.c (do_test): Moved to ...
19915 * string/test-strchr.c (check1): Here. New function.
19916 (do_one_test): Break out result checking code into ...
19917 (check_result): This. New function.
19918 (do_one_test): Call check_result.
19919 (test_main): Call check1.
19920 * string/bug-strstr1.c (main): Moved to ...
19921 * string/test-strstr.c (check1): Here. New function.
19922 (do_one_test): Break out result checking code into ...
19923 (check_result): This. New function.
19924 (do_one_test): Call check_result.
19925 (test_main): Call check1.
19926 * string/bug-strcasestr1.c: Removed.
19927 * string/bug-strchr1.c: Likewise.
19928 * string/bug-strstr1.c: Likewise.
19930 * elf/Makefile (dl-routines): Add hwcaps.
19931 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19932 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19933 (_dl_important_hwcaps): Moved to ...
19934 * elf/dl-hwcaps.c: Here. New file.
19935 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19938 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19939 if IS_IN_rtld isn't defined.
19941 * elf/dl-support.c (_dl_sysinfo_map): New.
19942 Include "get-dynamic-info.h" and "setup-vdso.h".
19943 (_dl_non_dynamic_init): Call setup_vdso.
19944 * elf/dynamic-link.h: Don't include <assert.h>.
19945 (elf_get_dynamic_info): Moved to ...
19946 * elf/get-dynamic-info.h: Here. New file.
19947 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19948 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19949 * elf/setup-vdso.h: Here. New file.
19950 * elf/rtld.c: Include "setup-vdso.h".
19951 (dl_main): Call setup_vdso.
19953 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19955 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19956 creal in comment listing functions tested. List finite, isinf,
19957 isnan, isless, islessequal, isgreater, isgreaterequal,
19958 islessgreater, isunordered, lgamma_r and pow10 as functions and
19959 macros not tested. Mention which functions not tested are aliases
19960 for other functions. Fix typo. Note that signs of NaNs are not
19963 * scripts/config.guess: Update from config.git.
19964 * scripts/config.sub: Likewise.
19966 2012-10-04 Roland McGrath <roland@hack.frob.com>
19968 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19969 * misc/madvise.c (madvise): Renamed to __madvise.
19970 Make madvise a weak alias.
19971 * include/sys/mman.h: Declare __madvise.
19972 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19973 * sysdeps/unix/syscalls.list
19974 (madvise): Make __madvise the strong name, and madvise a weak alias.
19975 * sysdeps/unix/sysv/linux/syscalls.list
19976 (madvise, mmap): Remove redundant entries.
19977 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19978 * malloc/malloc.c (mtrim): Likewise.
19979 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19981 2012-10-03 Roland McGrath <roland@hack.frob.com>
19983 * sysdeps/mach/hurd/dl-cache.c: File removed.
19984 * config.h.in (USE_LDCONFIG): New #undef.
19985 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19986 * configure: Regenerated.
19987 * elf/Makefile (dl-routines): Add dl-cache only under
19988 [$(use-ldconfig) = yes].
19989 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19990 cache on [USE_LDCONFIG].
19991 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19993 * elf/rtld.c (dl_main): Likewise.
19995 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19997 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19998 _SC_LEVEL4_CACHE_LINESIZE.
20000 2012-10-03 Roland McGrath <roland@hack.frob.com>
20002 * sysdeps/unix/bsd/confstr.h: File removed.
20004 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
20006 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20009 2012-10-02 Roland McGrath <roland@hack.frob.com>
20011 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20012 Make 'mapoff' field ElfW(Off) rather than off_t.
20014 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20016 * nscd/Makefile: Remove nscd-cflags and all its users.
20017 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20018 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20021 * malloc.c (malloc_printerr): Clarify error message.
20023 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20026 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20027 Set bit_FMA_Usable if FMA is supported.
20028 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20030 (bit_FMA4_Usable): Updated.
20031 (index_FMA_Usable): New macro.
20032 (CPUID_FMA): Likewise
20033 (HAS_FMA): Defined with bit_FMA_Usable.
20035 2012-10-01 Roland McGrath <roland@hack.frob.com>
20037 * bits/types.h (__swblk_t): Type removed.
20038 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20039 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20041 (__SWBLK_T_TYPE): Likewise.
20042 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20043 (__SWBLK_T_TYPE): Likewise.
20044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20045 (__SWBLK_T_TYPE): Likewise.
20046 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20047 (__SWBLK_T_TYPE): Likewise.
20049 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
20050 Honza Horak <hhorak@redhat.com>
20052 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20053 (xdr_mapname): Use YPMAXMAP as maxsize.
20054 (xdr_peername): Use YPMAXPEER as maxsize.
20055 (xdr_keydat): Use YPAXRECORD as maxsize.
20056 (xdr_valdat): Use YPMAXRECORD as maxsize.
20058 2012-10-01 Roland McGrath <roland@hack.frob.com>
20060 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20062 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20063 * csu/init-first.c: ... here.
20064 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20065 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20066 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20067 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20068 * sysdeps/i386/init-first.c: File removed.
20069 * sysdeps/sh/init-first.c: File removed.
20071 2012-10-01 Joseph Myers <joseph@codesourcery.com>
20074 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20075 if x * y might underflow to zero and z is zero.
20076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20078 * math/libm-test.inc (min_subnorm_value): New variable.
20079 (fma_test): Add more tests.
20080 (fma_test_towardzero): Likewise.
20081 (fma_test_downward): Likewise
20082 (fma_test_upward): Likewise.
20083 (initialize): Set min_subnorm_value.
20085 2012-09-29 Joseph Myers <joseph@codesourcery.com>
20088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20090 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20091 mode for addition resulting in exact zero.
20092 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20093 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20095 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20096 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20097 * math/libm-test.inc (fma_test): Add more tests.
20098 (fma_test_towardzero): New function.
20099 (fma_test_downward): Likewise.
20100 (fma_test_upward): Likewise.
20101 (main): Call the new functions.
20103 2012-09-28 David S. Miller <davem@davemloft.net>
20105 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20107 2012-09-28 Roland McGrath <roland@hack.frob.com>
20109 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20110 instead of SIGALRM.
20112 * sysdeps/gnu/_G_config.h: Moved to ...
20113 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20114 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20115 * sysdeps/generic/_G_config.h: ... here.
20117 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20119 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20121 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20122 Conditionalize target on [libnss_test1.so-version].
20124 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20126 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20127 (elfobjdir): Move out of conditionals.
20129 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20130 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20131 (__nss_lookup_function): Conditionalize label remove_from_tree on
20132 [!DO_STATIC_NSS || SHARED], matching its only use.
20134 2012-09-28 David S. Miller <davem@davemloft.net>
20136 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20137 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20139 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20141 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20143 when HWCAP_SPARC_CRYPTO is present.
20145 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20147 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20149 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20152 * stdio-common/vfprintf.c (process_string_arg): Revert
20155 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20157 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20159 * stdio-common/tst-sprintf.c: Include <locale.h>
20160 (main): Test sprintf's handling of incomplete multibyte
20163 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20165 * elf/dl-runtime.c (VERSYMIDX): Removed.
20166 * elf/dl-version.c (VERSYMIDX): Likewise.
20167 * elf/do-rel.h (VERSYMIDX): Likewise.
20168 (VALIDX): Likewise.
20169 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20170 * elf/rtld.c (VALIDX): Likewise.
20171 (ADDRIDX): Likewise.
20172 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20173 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20174 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
20175 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20176 (VALIDX): Likewise.
20177 (ADDRIDX): Likewise.
20179 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20181 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20183 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20186 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20188 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20189 addresses are in the same scope as 192.0.2/24.
20190 * posix/gai.conf: Document new scope table defaults.
20192 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20195 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20196 for ftell. Compute offsets from write pointers instead.
20197 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20199 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20202 * libio/Makefile (tests): New test case tst-fseek.
20203 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20204 combination works in wide mode.
20205 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20206 state when the external buffer state changes.
20208 2012-09-27 David S. Miller <davem@davemloft.net>
20211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20212 pass reloc->r_addend in as the 'high' argument to
20213 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20217 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20219 * rt/tst-aio2.c: Include <pthread.h>.
20220 * rt/tst-aio3.c: Likewise.
20222 2012-09-27 Steve Ellcey <sellcey@mips.com>
20224 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20226 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20228 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20229 contents on [SHARED].
20231 2012-09-26 Marek Polacek <polacek@redhat.com>
20235 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20236 for C++ and GCC <4.3 as well as for non GCC compilers.
20238 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20242 2012-09-25 Roland McGrath <roland@hack.frob.com>
20244 * Makefile.in (all, install): Declare with .PHONY.
20245 Reported by Michael Hope <michael.hope@linaro.org>.
20247 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20249 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20250 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20252 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20254 (sydep_routines): Add the new and the internal functions.
20255 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20256 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20258 (GLIBC_2.17): Add the new function.
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20260 (GLIBC_2.17): Likewise.
20261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20262 (GLIBC_2.17): Likewise.
20263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20264 (GLIBC_2.17): Likewise.
20265 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20267 2012-09-25 Alan Modra <amodra@gmail.com>
20269 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20270 Add release barrier before setting once_control to say
20271 initialisation is done. Add hints on lwarx. Use macro in
20273 (clear_once_control): Add release barrier.
20275 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20278 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20280 * math/s_clog10.c (__clog10): Likewise.
20281 * math/s_clog10f.c (__clog10f): Likewise.
20282 * math/s_clog10l.c (__clog10l): Likewise.
20283 * math/s_clogf.c (__clogf): Likewise.
20284 * math/s_clogl.c (__clogl): Likewise.
20285 * math/Makefile (libm-calls): Add x2y2m1.
20286 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20287 (__x2y2m1): Likewise.
20288 (__x2y2m1l): Likewise.
20289 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20290 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20291 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20292 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20293 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20294 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20295 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20296 * sysdeps/i386/fpu/libm-test-ulps: Update.
20297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20300 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20301 int as type of variable DEPTH.
20302 (glob): Use size_t instead of int as type of variables NEWCOUNT
20305 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20307 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20308 Add s_sincosf-sse2.
20309 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20310 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20311 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20312 macros for using routine as __sincosf_ia32.
20313 Use macro for function declaration and weak_alias.
20314 * sysdeps/i386/fpu/libm-test-ulps: Update.
20316 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20319 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
20320 subnormal argument.
20321 * math/s_cexpf.c (__cexpf): Likewise.
20322 * math/s_csinf.c (__csinf): Likewise.
20323 * math/s_csinhf.c (__csinhf): Likewise.
20324 * math/s_ctanf.c (__ctanf): Likewise.
20325 * math/s_ctanhf.c (__ctanhf): Likewise.
20326 * math/s_ccosh.c (__ccoshf): Likewise.
20327 * math/s_cexp.c (__cexpl): Likewise.
20328 * math/s_csin.c (__csin): Likewise.
20329 * math/s_csinh.c (__csinh): Likewise.
20330 * math/s_ctan.c (__ctan): Likewise.
20331 * math/s_ctanh.c (ctanh): Likewise.
20332 * math/s_ccoshl.c (__ccoshl): Likewise.
20333 * math/s_cexpl.c (__cexpl): Likewise.
20334 * math/s_csinl.c (__csinl): Likewise.
20335 * math/s_csinhl.c (__csinhl): Likewise.
20336 * math/s_ctanl.c (__ctanl): Likewise.
20337 * math/s_ctanhl.c (__ctanhl): Likewise.
20339 2012-09-25 Joseph Myers <joseph@codesourcery.com>
20341 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20342 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20343 (_IO_off_t): Define to __off_t, not _G_off_t.
20344 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20345 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20346 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20347 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20348 type of __dummy and __dummy2 fields.
20349 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20350 (_G_ssize_t): Likewise.
20351 (_G_off_t): Likewise.
20352 (_G_pid_t): Likewise.
20353 (_G_uid_t): Likewise.
20354 (_G_wchar_t): Likewise.
20355 (_G_wint_t): Likewise.
20356 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20357 (_G_ssize_t): Likewise.
20358 (_G_off_t): Likewise.
20359 (_G_pid_t): Likewise.
20360 (_G_uid_t): Likewise.
20361 (_G_wchar_t): Likewise.
20362 (_G_wint_t): Likewise.
20363 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20364 (_G_ssize_t): Likewise.
20365 (_G_off_t): Likewise.
20366 (_G_pid_t): Likewise.
20367 (_G_uid_t): Likewise.
20368 (_G_wchar_t): Likewise.
20369 (_G_wint_t): Likewise.
20371 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20373 * malloc/arena.c: Include malloc-sysdep.h.
20374 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20375 is sufficient to shrink the heap or an unmap is needed.
20376 * sysdeps/generic/malloc-sysdep.h: New file. Define
20377 new function check_may_shrink_heap.
20378 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20379 new function check_may_shrink_heap.
20381 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20383 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20386 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20388 * catgets/test-gencat.sh: Add "set -e".
20389 * elf/tst-pathopt.sh: Likewise.
20390 * grp/tst_fgetgrent.sh: Likewise.
20391 * iconvdata/run-iconv-test.sh: Likewise.
20392 * intl/tst-gettext.sh: Likewise.
20393 * intl/tst-gettext2.sh: Likewise.
20394 * intl/tst-gettext4.sh: Likewise.
20395 * intl/tst-gettext6.sh: Likewise.
20396 * intl/tst-translit.sh: Likewise.
20397 * io/ftwtest-sh: Likewise.
20398 * libio/test-freopen.sh: Likewise.
20399 * malloc/tst-mtrace.sh: Likewise.
20400 * posix/globtest.sh: Likewise.
20401 * posix/tst-getconf.sh: Likewise.
20402 * posix/wordexp-tst.sh: Likewise.
20403 * stdio-common/tst-printf.sh: Likewise.
20404 * stdio-common/tst-unbputc.sh: Likewise.
20405 * stdlib/tst-fmtmsg.sh: Likewise.
20406 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20407 * catgets/Makefile: Do not specify -e option when running
20408 testsuite shell scripts.
20409 * elf/Makefile: Likewise.
20410 * grp/Makefile: Likewise.
20411 * iconvdata/Makefile: Likewise.
20412 * intl/Makefile: Likewise.
20413 * io/Makefile: Likewise.
20414 * libio/Makefile: Likewise.
20415 * malloc/Makefile: Likewise.
20416 * posix/Makefile: Likewise.
20417 * stdio-common/Makefile: Likewise.
20418 * stdlib/Makefile: Likewise.
20419 * sysdeps/x86_64/Makefile: Likewise.
20421 * io/ftwtest-sh: Add copyright header.
20422 * posix/globtest.sh: Likewise.
20423 * posix/tst-getconf.sh: Likewise.
20424 * posix/wordexp-tst.sh: Likewise.
20425 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20427 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20430 * Makeconfig (+link): Defined as $(+link-static) if
20431 $(build-shared) isn't yes.
20432 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20434 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20436 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20439 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20440 new chunk size with MALLOC_ALIGN_MASK.
20442 2012-09-24 Joseph Myers <joseph@codesourcery.com>
20445 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20447 (__printf_fphex): Determine rounding using get_rounding_mode and
20449 * stdio-common/tst-printf-round.c (struct hex_test): New
20451 (hex_tests): New variable.
20452 (test_hex_in_one_mode): New function.
20453 (do_test): Also run tests for hex float output.
20455 2012-09-21 Joseph Myers <joseph@codesourcery.com>
20457 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20458 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20459 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20460 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20461 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20462 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20463 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20464 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20466 2012-09-20 Joseph Myers <joseph@codesourcery.com>
20468 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20469 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20470 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20471 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20473 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20476 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20478 * elf/tst-rtld-load-self.sh: New test.
20479 * elf/Makefile: Run it.
20481 2012-09-18 Joseph Myers <joseph@codesourcery.com>
20483 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20484 (tst-writev-ENV): Remove.
20485 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20487 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20489 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20491 2012-09-17 Joseph Myers <joseph@codesourcery.com>
20493 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20495 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20497 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20498 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20499 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20502 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20505 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20506 * config.make.in (have-cpp-asm-debuginfo): Removed.
20507 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20508 * configure: Regenerated.
20510 2012-09-14 Joseph Myers <joseph@codesourcery.com>
20513 * stdio-common/printf_fp.c: Include <stdbool.h> and
20515 (___printf_fp): Determine rounding using get_rounding_mode and
20517 * stdio-common/tst-printf-round.c: New file.
20518 * stdio-common/Makefile (tests): Add tst-printf-round.
20519 (link-libm): New variable.
20520 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20522 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20525 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20526 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20528 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20531 2012-09-13 Joseph Myers <joseph@codesourcery.com>
20533 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20534 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20535 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20536 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20538 2012-09-12 Joseph Myers <joseph@codesourcery.com>
20541 * include/rounding-mode.h: New file.
20542 * sysdeps/generic/get-rounding-mode.h: Likewise.
20543 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20544 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20545 (MAX_VALUE): New macro.
20546 (MIN_VALUE): Likewise.
20547 (overflow_value): New function.
20548 (underflow_value): Likewise.
20549 (round_and_return): Use overflow_value and underflow_value to
20550 determine return values in overflow and underflow cases. Use
20551 round_away to determine rounding depending on rounding mode.
20552 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20553 determine return values in overflow and underflow cases.
20554 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20555 (struct test_results): New structure.
20556 (struct test): Use struct test_results to store expected results
20557 for all rounding modes.
20558 (TEST): Include expected results for all rounding modes.
20559 (test_in_one_mode): New function.
20560 (do_test): Use test_in_one_mode to compute and check results.
20561 Check results for all rounding modes.
20562 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20565 2012-12-09 Allan McRae <allan@archlinux.org>
20567 * sysdeps/i386/fpu/libm-test-ulps: Update
20569 2012-09-11 Joseph Myers <joseph@codesourcery.com>
20571 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20572 (_G_int32_t): Likewise.
20573 (_G_uint16_t): Likewise.
20574 (_G_uint32_t): Likewise.
20575 (_G_HAVE_BOOL): Likewise.
20576 (_G_HAVE_ATEXIT): Likewise.
20577 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20578 (_G_HAVE_IO_FILE_OPEN): Likewise.
20579 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20580 (_G_int32_t): Likewise.
20581 (_G_uint16_t): Likewise.
20582 (_G_uint32_t): Likewise.
20583 (_G_HAVE_BOOL): Likewise.
20584 (_G_HAVE_ATEXIT): Likewise.
20585 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20586 (_G_HAVE_IO_FILE_OPEN): Likewise.
20587 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20588 (_G_int32_t): Likewise.
20589 (_G_uint16_t): Likewise.
20590 (_G_uint32_t): Likewise.
20591 (_G_HAVE_BOOL): Likewise.
20592 (_G_HAVE_ATEXIT): Likewise.
20593 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20594 (_G_HAVE_IO_FILE_OPEN): Likewise.
20596 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20598 * csu/libc-tls.c: Update copyright years.
20600 2012-09-10 Joseph Myers <joseph@codesourcery.com>
20602 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20603 [!_G_USING_THUNKS]: Remove conditional code.
20604 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20605 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20607 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20608 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20609 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20610 (_G_VTABLE_LABEL_PREFIX): Likewise.
20611 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20612 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20613 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20614 (_G_VTABLE_LABEL_PREFIX): Likewise.
20615 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20616 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20617 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20618 (_G_VTABLE_LABEL_PREFIX): Likewise.
20619 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20621 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20623 * libio/Makefile: Include ../Makeconfig before tests.
20624 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20625 only if $(build-shared) is yes.
20627 * iconv/gconv_db.c: Update copyright years.
20629 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20631 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20632 unwind info if defined PIC. Fix special cases description.
20633 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20635 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20637 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20639 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20641 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20643 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20646 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20647 (LDLIBS-tst-chk4): This.
20648 (LDFLAGS-tst-chk5): Renamed to ...
20649 (LDLIBS-tst-chk5): This.
20650 (LDFLAGS-tst-chk6): Renamed to ...
20651 (LDLIBS-tst-chk6): This.
20652 (LDFLAGS-tst-lfschk4): Renamed to ...
20653 (LDLIBS-tst-lfschk4): This.
20654 (LDFLAGS-tst-lfschk5): Renamed to ...
20655 (LDLIBS-tst-lfschk5): This.
20656 (LDFLAGS-tst-lfschk6): Renamed to ...
20657 (LDLIBS-tst-lfschk6): This.
20659 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20660 on $(common-objpfx)soversions.mk.
20662 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20665 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20668 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20670 * malloc/arena.c (arena_get_retry): New function that gets
20671 another arena for the caller to try its request on.
20672 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20673 current arena cannot fulfill the request.
20674 (__libc_memalign): Likewise.
20675 (__libc_memalign): Likewise.
20676 (__libc_pvalloc): Likewise.
20677 (__libc_calloc): Likewise.
20679 2012-09-05 John Tobey <john.tobey@gmail.com>
20682 * manual/arith.texi (Operations on Complex): Fix description
20683 of carg branch cut.
20685 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20688 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20692 * manual/memory.texi (Memory): Make order of menu items match
20695 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20697 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20698 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20699 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20701 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20703 * csu/libc-tls.c (static_dtv): Renamed to ...
20704 (_dl_static_dtv): This. Make it global.
20705 (_dl_initial_dtv): Removed.
20706 (__libc_setup_tls): Updated.
20707 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20708 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20711 2012-09-06 Petr Machata <pmachata@redhat.com>
20713 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20714 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20715 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20716 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20718 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20721 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20722 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20725 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20728 * Makeconfig (link-static-before-libc): Replace $(+prector)
20730 (link-static-after-libc): Replace $(+postctor) with
20732 (link-bounded): Replace $(+prector)/$(+postctor) with
20733 $(+prectorT)/$(+postctorT).
20734 (+prectorT): New macro.
20735 (+postctorT): Likewise.
20737 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20739 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20740 (round_str): Handle values above the maximum for IBM long double
20742 * stdlib/tst-strtod-round.c (tests): Regenerated.
20744 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20746 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20748 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20749 zarch_nohighgprs around the zarch optimized routines.
20750 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20751 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20752 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20755 2012-09-05 David S. Miller <davem@davemloft.net>
20757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20759 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20760 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20761 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20762 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20765 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20767 * malloc/arena.c: Fold copyright years.
20768 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20770 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20772 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20774 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20776 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20778 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20780 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20781 change internal state upon failure.
20783 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20785 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20786 * malloc/memusage.c (mmap): Likewise.
20787 (mmap64, mremap): Likewise. Adjust name in comment.
20789 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20791 * libio/fileops.c: Fix typos in comments.
20792 * libio/oldfileops.c: Likewise.
20793 * libio/wfileops.c: Likewise.
20795 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20798 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20799 (tst-malloc-usable-ENV): Set environment for test case.
20800 * malloc/hooks.c (malloc_check_get_size): New function to get
20802 * malloc/malloc.c (musable): Use malloc_check_get_size.
20803 * malloc/tst-malloc-usable.c: New test case.
20805 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20807 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20809 2012-09-05 Allan McRae <allan@archlinux.org>
20812 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20813 determine header location.
20814 * configure: Regenerated.
20816 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20818 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20820 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20821 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20823 (test): Regenerate.
20825 2012-09-04 David S. Miller <davem@davemloft.net>
20827 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20828 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20829 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20831 2012-09-04 Florian Weimer <fweimer@redhat.com>
20833 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20836 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20838 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20841 * libio/iogetdelim.c: Include <limits.h>.
20842 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20843 + len + 1 would overflow.
20845 2012-09-03 Andreas Jaeger <aj@suse.de>
20847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20848 * sysdeps/i386/fpu/libm-test-ulps: Update.
20850 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20852 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20853 Add s_sinf-sse2, s_conf-sse2.
20855 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20856 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20857 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20858 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20860 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20861 for using routine as __sinf_ia32.
20862 Use macro for function declaration and weak_alias.
20863 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20864 for using routine as __cosf_ia32.
20865 Use macro for function declaration and weak_alias.
20867 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20868 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20870 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20871 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20872 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20874 * math/libm-test.inc (cos_test): Add more test cases.
20875 (sin_test): Likewise.
20876 (sincos_test): Likewise.
20878 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20880 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20881 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20883 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20885 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20888 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20889 first element of the GOT.
20890 (elf_machine_load_address): Return the difference between
20891 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20893 2012-09-01 Allan McRae <allan@archlinux.org>
20896 * configure.in (AWK): Require gawk version 3.0 or later.
20897 * configure: Regenerated.
20899 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20901 * sysdeps/unix/sysv/linux/kernel-features.h
20902 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20903 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20904 [__NR_clock_getres]: Make code unconditional.
20905 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20906 (clock_getcpuclockid): Remove code left unreachable by removal of
20908 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20909 code unconditional.
20910 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20911 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20912 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20913 Make code unconditional.
20914 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20915 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20916 * sysdeps/unix/sysv/linux/clock_settime.c
20917 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20919 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20920 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20922 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20925 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20926 scripts/test-installation.pl.
20928 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20929 and $ld_so_version if it is set.
20931 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20934 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20935 failure if reading from procfs failed.
20936 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20938 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20940 * sysdeps/unix/sysv/linux/kernel-features.h
20941 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20942 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20943 Remove conditional code.
20944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20945 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20946 Remove conditional code.
20947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20948 * sysdeps/unix/sysv/linux/i386/fxstat.c
20949 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20951 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20952 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20954 * sysdeps/unix/sysv/linux/i386/lxstat.c
20955 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20957 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20958 Remove conditional code.
20959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20960 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20961 Remove conditional code.
20962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20963 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20964 <kernel-features.h>.
20965 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20967 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20968 Remove conditional code.
20969 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20970 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20971 Remove conditional.
20973 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20976 * NEWS: Add fixed bug number.
20978 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20981 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20982 underflowing exponent in case of negative sign.
20983 * stdlib/tst-strtod-round-data: Add more tests.
20984 * stdlib/tst-strtod-round.c (tests): Regenerated.
20987 * stdlib/strtod_l.c (NDIG): Remove.
20988 (HEXNDIG): Likewise.
20989 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20990 smallest representable value.
20991 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20992 lie within an exact representation of 1/2 ulp of the result.
20993 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20995 (TENS_P9_IDX): Define unconditionally.
20996 (TENS_P9_SIZE): Likewise.
20997 (TENS_P10_IDX): Likewise.
20998 (TENS_P10_SIZE): Likewise.
20999 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21000 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21001 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21002 entries for 10^2^13 and 10^2^14.
21003 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21004 (TENS_P13_IDX): Define.
21005 (TENS_P13_SIZE): Likewise.
21006 (TENS_P14_IDX): Likewise.
21007 (TENS_P14_SIZE): Likewise.
21008 (_fpioconst_pow10): Change array size to
21009 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21011 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21012 1024]: Add entries for 10^2^13 and 10^2^14.
21013 [LAST_POW10 > _LAST_POW10]: Remove #error.
21014 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21015 (_fpioconst_pow10): Change array size to
21016 FPIOCONST_POW10_ARRAY_SIZE.
21017 * stdlib/gen-fpioconst.c: New file.
21018 * stdlib/gen-tst-strtod-round.c: Likewise.
21019 * stdlib/tst-strtod-round-data: Likewise.
21020 * stdlib/tst-strtod-round.c: Likewise.
21021 * stdlib/Makefile (tests): Add tst-strtod-round.
21024 * stdlib/strtod_l.c: Include <stdint.h>.
21025 (NDEBUG): Do not define.
21026 (round_and_return): Change EXPONENT parameter to type intmax_t.
21027 Rearrange calculations to avoid internal overflow possibilities.
21028 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21029 Rearrange calculations to avoid internal overflow possibilities.
21030 Assert that number fits inside MPNSIZE limbs.
21031 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21032 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21033 calculations and add assertions to avoid internal overflow
21034 possibilities. Add casts to avoid signed/unsigned operations.
21035 * stdlib/tst-strtod-overflow.c: New file.
21036 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21038 2012-08-25 Marek Polacek <polacek@redhat.com>
21040 * time/time.h: Fix some typos in comments.
21042 2012-08-23 Roland McGrath <roland@hack.frob.com>
21044 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21045 * posix/tst-rfc3484-2.c: Likewise.
21046 * posix/tst-rfc3484-3.c: Likewise.
21048 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21050 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21051 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21053 2012-08-23 Joseph Myers <joseph@codesourcery.com>
21055 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21056 #include of fxstatat64.c.
21058 2012-08-22 Roland McGrath <roland@hack.frob.com>
21060 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21061 * shadow/getspent_r.c: Likewise.
21062 * shadow/getspnam.c: Likewise.
21063 * shadow/getspnam_r.c: Likewise.
21064 * gshadow/getsgent.c: Likewise.
21065 * gshadow/getsgent_r.c: Likewise.
21066 * gshadow/getsgnam.c: Likewise.
21067 * gshadow/getsgnam_r.c: Likewise.
21068 * inet/getnetbyad.c: Likewise.
21069 * inet/getnetbyad_r.c: Likewise.
21070 * inet/getnetbynm.c: Likewise.
21071 * inet/getnetbynm_r.c: Likewise.
21072 * inet/getnetent.c: Likewise.
21073 * inet/getnetent_r.c: Likewise.
21074 * inet/getproto.c: Likewise.
21075 * inet/getproto_r.c: Likewise.
21076 * inet/getprtent.c: Likewise.
21077 * inet/getprtent_r.c: Likewise.
21078 * inet/getprtname.c: Likewise.
21079 * inet/getprtname_r.c: Likewise.
21080 * inet/getrpcbyname.c: Likewise.
21081 * inet/getrpcbyname_r.c: Likewise.
21082 * inet/getrpcbynumber.c: Likewise.
21083 * inet/getrpcbynumber_r.c: Likewise.
21084 * inet/getrpcent.c: Likewise.
21085 * inet/getrpcent_r.c: Likewise.
21086 * inet/getaliasent.c: Likewise.
21087 * inet/getaliasent_r.c: Likewise.
21088 * inet/getaliasname.c: Likewise.
21089 * inet/getaliasname_r.c: Likewise.
21090 * nscd/getgrgid_r.c: Likewise.
21091 * nscd/getgrnam_r.c: Likewise.
21092 * nscd/gethstbyad_r.c: Likewise.
21093 * nscd/gethstbynm3_r.c: Likewise.
21094 * nscd/getpwnam_r.c: Likewise.
21095 * nscd/getpwuid_r.c: Likewise.
21096 * nscd/getsrvbynm_r.c: Likewise.
21097 * nscd/getsrvbypt_r.c: Likewise.
21098 * nscd/gai.c: Likewise.
21100 * configure.in (build_nscd): New substituted variable, set
21101 by --disable-build-nscd and defaults to $use_nscd.
21102 * configure: Regenerated.
21103 * config.make.in (build-nscd): New substituted variable.
21104 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21105 Change conditional to require [$(build-nscd) = yes] as well.
21106 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21109 * configure.in (use_nscd): New substituted variable, set by
21110 --disable-nscd. If enabled, define USE_NSCD.
21111 * configure: Regenerated.
21112 * config.h.in: Add USE_NSCD.
21113 * config.make.in (use-nscd): New substituted variable.
21114 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21115 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21116 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21117 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21118 (CFLAGS-getgrnam_r.c): Likewise.
21119 (CFLAGS-initgroups.c): Likewise.
21120 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21121 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21123 * inet/getnetgrent_r.c
21124 (nscd_setnetgrent): New function, broken out of ...
21125 (setnetgrent): ... here. Call it.
21126 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21127 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21128 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21129 * nscd/Makefile (routines, aux): Move definitions after include of
21130 Makeconfig. Conditionalize on [$(use-nscd) != no].
21131 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21132 Conditionalize on [USE_NSCD].
21133 (is_nscd, nscd_init_cb): Likewise.
21134 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21135 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21136 * nss/nss_db/db-init.c: Likewise.
21137 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21139 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21140 (make_request): Use it.
21141 (cache_valid_p): New function.
21142 (__check_pf): Use it.
21143 * NEWS: Add item for --disable-nscd.
21145 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21147 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21148 to support sed >= 4.2.1-20-ga9bf076.
21149 * configure: Regenerated.
21151 2012-08-22 Roland McGrath <roland@hack.frob.com>
21153 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21154 Conditionalize whole body on [IREL].
21156 2012-08-22 Jeff Law <law@redhat.com>
21159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21160 if the family is PF_UNSPEC.
21162 2012-08-22 Mike Frysinger <vapier@gentoo.org>
21164 * Makerules (lib-version): Rename from V.
21165 (install-lib-nosubdir): Change V to lib-version.
21167 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21170 * powerpc32/power6/wcschr.c: New file.
21171 * powerpc32/power6/wcscpy.c: New file.
21172 * powerpc32/power6/wcsrchr.c: New file.
21173 * powerpc64/power6/wcschr.c: New file.
21174 * powerpc64/power6/wcscpy.c: New file.
21175 * powerpc64/power6/wcsrchr.c: New file.
21177 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21179 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21180 (two_way_short_needle): Use it.
21181 * string/strstr.c (AVAILABLE1_USES_J): Define.
21182 * string/strcasestr.c: Likewise.
21184 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21186 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21189 * NEWS: Add an entry.
21190 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21191 define their defaults.
21192 (two_way_short_needle): Detect end-of-string on-the-fly.
21193 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21194 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21195 * string/bug-strcasestr1.c: New test.
21196 * string/Makefile: Run it.
21198 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21201 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21202 the first character.
21204 2012-08-21 Roland McGrath <roland@hack.frob.com>
21206 * csu/elf-init.c (__libc_csu_irel): Function removed.
21207 * csu/libc-start.c (apply_irel): New function.
21208 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21210 2012-08-21 Joseph Myers <joseph@codesourcery.com>
21212 * sysdeps/unix/sysv/linux/kernel-features.h
21213 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21214 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21215 <kernel-features.h>.
21216 [__NR_fadvise64_64]: Make code unconditional.
21217 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21218 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21219 !__NR_fadvise64_64)]: Likewise.
21220 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21221 !__NR_fadvise64_64))]: Likewise.
21222 [__NR_fadvise64]: Make code unconditional.
21223 [!__NR_fadvise64]: Remove conditional code.
21224 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21225 <kernel-features.h>.
21226 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21228 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21231 not include <kernel-features.h>.
21232 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21234 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21236 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21237 include <kernel-features.h>.
21238 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21240 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21243 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21245 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21246 slight instruction rearrangements per scrollpipe analysis.
21247 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21249 2012-08-20 Roland McGrath <roland@hack.frob.com>
21251 * manual/syslog.texi (syslog; vsyslog, closelog):
21252 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21253 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21255 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21256 DSOCAPS to match condition on defining it.
21258 2012-08-20 Joseph Myers <joseph@codesourcery.com>
21260 * sysdeps/unix/sysv/linux/kernel-features.h
21261 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21263 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21264 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21266 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21267 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21269 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21270 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21272 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21273 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21275 * sysdeps/unix/sysv/linux/kernel-features.h
21276 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21277 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21279 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21280 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21281 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21282 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21283 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21284 Make code unconditional.
21285 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21286 (__mmap64) [!__NR_mmap2]: Likewise.
21287 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21288 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21289 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21290 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21291 [__NR_mmap2]: Make code unconditional.
21292 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21293 (__mmap64) [!__NR_mmap2]: Likewise.
21295 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21297 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21299 2012-08-18 Andreas Jaeger <aj@suse.de>
21301 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21303 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21305 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21306 * include/unistd.h (__have_sock_cloexec): Likewise.
21307 (__have_pipe2): Likewise.
21308 (__have_dup3): Likewise.
21310 2012-08-18 Mike Frysinger <vapier@gentoo.org>
21313 * include/unistd.h (__have_pipe2): Change define into an extern int.
21314 (__have_dup3): Likewise.
21315 * socket/have_sock_cloexec.c: Include fcntl.h.
21316 (__have_pipe2): New variable.
21317 (__have_dup3): Likewise.
21319 2012-08-17 Mike Frysinger <vapier@gentoo.org>
21321 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21323 2012-08-17 Marek Polacek <polacek@redhat.com>
21325 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21326 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21328 2012-08-17 Roland McGrath <roland@hack.frob.com>
21330 * configure.in: Add AC_SUBST for sysheaders.
21331 * configure: Regenerated.
21332 * config.make.in (sysheaders): New substituted variable.
21334 * sysdeps/unix/mkfifo.c: Moved ...
21335 * sysdeps/posix/mkfifo.c: ... here.
21336 * sysdeps/unix/mkfifoat.c: Moved ...
21337 * sysdeps/posix/mkfifoat.c: ... here.
21339 * sysdeps/unix/utime.c: Moved ...
21340 * sysdeps/posix/utime.c: ... here.
21342 * sysdeps/unix/time.c: Moved ...
21343 * sysdeps/posix/time.c: ... here.
21344 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21345 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
21347 * sysdeps/unix/nice.c: Moved ...
21348 * sysdeps/posix/nice.c: ... here.
21350 * sysdeps/unix/alarm.c: Moved ...
21351 * sysdeps/posix/alarm.c: ... here.
21353 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21355 2012-08-17 Jeff Law <law@redhat.com>
21357 * intl/Makefile (codeset_mo): New variable.
21358 ($(codeset_mo)): New target.
21359 (tst-codeset.out): Depend on that. Remove explicit rule.
21360 (tst-gettext3.out, tst-gettext5.out): Likewise.
21361 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21362 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21363 * intl/tst-codeset.sh: Remove.
21364 * intl/tst-gettext3.sh: Likewise.
21365 * intl/tst-gettext5.sh: Likewise.
21367 2012-08-17 Roland McGrath <roland@hack.frob.com>
21369 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21370 * sysdeps/unix/syscalls.list: ... here.
21372 * sysdeps/posix/getaddrinfo.c
21373 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21374 (gaiconf_init, gaiconf_reload): Use them.
21375 [!_STATBUF_ST_NSEC]
21376 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21377 Define using time_t rather than struct timespec.
21379 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21380 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21382 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21384 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21385 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21388 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21389 __libc_cleanup_push argument.
21391 * bits/param.h: New file.
21392 * misc/sys/param.h: New file.
21393 * include/sys/param.h: New file.
21394 * misc/Makefile (headers): Add bits/param.h.
21395 * sysdeps/generic/sys/param.h: File removed.
21396 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21397 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21398 * sysdeps/mach/hurd/bits/param.h: New file.
21399 * sysdeps/mach/hurd/sys/param.h: File removed.
21401 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21404 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21406 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21407 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21410 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21411 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21412 rather than -D_IO_MTSAFE_IO conditionally.
21413 * stdio-common/Makefile (CPPFLAGS): Likewise.
21414 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21415 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21416 Use $(libio-mtsafe).
21417 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21418 of -D_IO_MTSAFE_IO.
21419 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21420 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21421 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21422 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21423 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21424 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21425 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21426 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21427 (CFLAGS-fread_u_chk.c): Likewise.
21428 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21429 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21430 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21431 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21432 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21433 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21434 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21435 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21436 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21438 * libio/Makefile: Test [$(libc-reentrant) = yes]
21439 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21442 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21443 * sysdeps/pthread/configure: File removed.
21444 * sysdeps/pthread/Makeconfig: New file.
21445 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21446 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21448 2012-08-16 Gary Benson <gbenson@redhat.com>
21450 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21451 unmapping the first object in a namespace.
21453 2012-08-16 Roland McGrath <roland@hack.frob.com>
21455 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21456 (__internal_setnetgrent): ... this. Add internal_function to
21457 definition. Add libc_hidden_def.
21458 (setnetgrent): Update caller.
21459 (internal_endnetgrent): Renamed to ...
21460 (__internal_endnetgrent): ... this. Add internal_function to
21461 definition. Add libc_hidden_def.
21462 (endnetgrent): Update caller.
21463 (internal_getnetgrent_r): Renamed to ...
21464 (__internal_getnetgrent_r): ... this. Add internal_function to
21465 definition. Add libc_hidden_def.
21466 (__getnetgrent_r): Update caller.
21467 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21469 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21471 * stdlib/longlong.h: Update from GCC.
21473 2012-08-16 Roland McGrath <roland@hack.frob.com>
21475 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21476 on _QL, which is set by umul_ppmm but never used.
21477 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21478 variables, which are set by GMP macros but never used.
21479 * stdio-common/_itowa.c (_itowa): Likewise.
21480 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21481 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21483 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21485 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21486 struct La_sh_regs is not constant.
21487 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21488 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21489 and struct La_sparc64_regs are not constant.
21491 2012-08-16 Joseph Myers <joseph@codesourcery.com>
21493 * sysdeps/unix/sysv/linux/kernel-features.h
21494 (__ASSUME_POSIX_TIMERS): Remove.
21495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21496 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21497 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21498 Make code unconditional.
21499 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21500 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21501 Make code unconditional.
21502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21503 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21504 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21506 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21507 Make code unconditional.
21508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21509 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21510 (__libc_missing_posix_timers): Remove.
21512 2012-08-15 Roland McGrath <roland@hack.frob.com>
21514 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21515 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21517 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21519 * elf/dl-sym.c: Include <stdlib.h>.
21521 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21522 constants, which avoids warnings in 32-bit builds.
21524 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21525 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21527 * misc/lseek.c: File moved to ...
21528 * io/lseek.c: ... here.
21530 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21532 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21533 shifting LEN more than 31 bits at once.
21535 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21538 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21539 segmentation fault for a case of two empty input strings.
21540 * string/test-strncasecmp.c (check1): Renamed to...
21541 (bz12205): ...this.
21542 (bz14195): Add new testcase for two empty input strings and N > 0.
21543 (test_main): Call new testcase, adapt for renamed function.
21545 2012-08-15 Andreas Jaeger <aj@suse.de>
21548 * crypt/md5test2.c: New test, based on test supplied by Serge
21549 Belyshev <belyshev@depni.sinp.msu.ru>.
21550 * crypt/Makefile (xtests): Add md5test-giant..
21551 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21553 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21556 * crypt/md5.c (md5_process_block): Don't assume the buffer
21557 length is less than 2**32.
21558 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21559 length is less than 2**64.
21561 2012-08-15 Roland McGrath <roland@hack.frob.com>
21563 * string/str-two-way.h: Include <sys/param.h>.
21564 (MAX): Macro removed.
21566 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21567 Move #define and #undef of memmove to just before and after
21568 including <string.h>.
21570 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21571 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21572 and after including <string.h>. Move declarations of
21573 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21574 to before #include "string/memmove.c".
21576 * include/dirent.h: Declare __getdirentries.
21578 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21579 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21581 2012-08-14 Mike Frysinger <vapier@gentoo.org>
21583 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21584 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21585 * sysdeps/i386/configure: Regenerated.
21586 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21587 STABS_CURRENT_FILE, and STABS_FUN.
21588 (END): Remove call to STABS_FUN_END.
21589 (STABS_CURRENT_FILE1): Delete.
21590 (STABS_CURRENT_FILE): Likewise.
21591 (STABS_FUN): Likewise.
21592 (STABS_FUN_END): Likewise.
21593 (STABS_FUN2): Likewise.
21594 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21595 * sysdeps/x86_64/configure: Regenerated.
21597 2012-08-14 Roland McGrath <roland@hack.frob.com>
21599 * elf/dl-open.c: Include <atomic.h>.
21600 * elf/dl-lookup.c: Likewise.
21602 2012-08-14 Joseph Myers <joseph@codesourcery.com>
21604 * sysdeps/unix/sysv/linux/kernel-features.h
21605 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21606 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21608 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21610 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21611 condition on __ASSUME_CLONE_THREAD_FLAGS.
21613 2012-08-14 Andreas Jaeger <aj@suse.de>
21615 * sysdeps/i386/fpu/libm-test-ulps: Update.
21617 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21619 * include/atomic.h (atomic_exchange_and_add): Split into ...
21620 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21623 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21627 2012-08-13 Jeff Law <law@redhat.com>
21629 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21630 null byte in the output string.
21632 2012-08-10 Joseph Myers <joseph@codesourcery.com>
21634 * sysdeps/unix/sysv/linux/kernel-features.h
21635 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21636 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21637 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21638 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21639 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21640 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21641 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21643 2012-08-09 Jeff Law <law@redhat.com>
21646 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21647 When avoid_arena is set, don't retry in the that arena. Pick the
21648 next one, whatever it might be.
21649 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21650 (arena_lock): Pass in new parameter to arena_get2.
21651 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21653 (__libc_malloc): Unify retrying after main arena failure with
21654 __libc_memalign version.
21655 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21657 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21660 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21661 to __redirect_strstr.
21662 (__strstr_sse42): Use typeof __redirect_strstr.
21663 (__strstr_ia32): Likewise.
21664 (__libc_strstr): New prototype.
21665 (strstr): Renamed to ...
21666 (__libc_strstr): This.
21667 (strstr): New strong alias of __libc_strstr.
21668 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21669 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21672 (__libc_time): New prototype.
21673 (time_ifunc): Replace time with __libc_time.
21674 (time): New strong alias and hidden definition of __libc_time.
21675 (__GI_time): Remove strong alias.
21676 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21677 Include <stddef.h>.
21678 (memmove): Redefined to __redirect_memmove.
21679 (__memmove_sse2): Use typeof __redirect_memmove.
21680 (__memmove_ssse3): Likewise.
21681 (__memmove_ssse3_back): Likewise.
21682 (__libc_memmove): New prototype.
21683 (memmove): Renamed to ...
21684 (__libc_memmove): This.
21685 (memmove): New strong alias of __libc_memmove.
21687 2012-08-08 Mark Salter <msalter@redhat.com>
21690 (R_MN10300_TLS_GD): Define.
21691 (R_MN10300_TLS_LD): Likewise.
21692 (R_MN10300_TLS_LDO): Likewise.
21693 (R_MN10300_TLS_GOTIE): Likewise.
21694 (R_MN10300_TLS_IE): Likewise.
21695 (R_MN10300_TLS_LE): Likewise.
21696 (R_MN10300_TLS_DTPMOD): Likewise.
21697 (R_MN10300_TLS_DTPOFF): Likewise.
21698 (R_MN10300_TLS_TPOFF): Likewise.
21699 (R_MN10300_SYM_DIFF): Likewise.
21700 (R_MN10300_ALIGN): Likewise.
21701 (R_MN10300_NUM): Update.
21703 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21705 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21708 2012-08-08 Roland McGrath <roland@hack.frob.com>
21710 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21712 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21713 sysdeps/unix -> sysdeps/posix move.
21714 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21716 2012-08-07 Allan McRae <allan@archlinux.org>
21719 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21720 (SUNOS_CPP): Likewise.
21721 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21723 (open_input): Call CPP using execvp.
21725 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21727 * sysdeps/unix/sysv/linux/kernel-features.h
21728 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21729 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21730 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21731 (__ASSUME_WAITID_SYSCALL): Likewise.
21732 * sysdeps/unix/sysv/linux/dl-execstack.c
21733 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21734 code unconditional.
21735 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21737 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21738 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21739 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21741 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21743 [__ASSUME_WAITID_SYSCALL]: Likewise.
21744 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21746 2012-08-07 Roland McGrath <roland@hack.frob.com>
21748 * sysdeps/unix/closedir.c: Renamed to ...
21749 * sysdeps/posix/closedir.c: ... here.
21750 * sysdeps/unix/dirfd.c: Renamed to ...
21751 * sysdeps/posix/dirfd.c: ... here.
21752 * sysdeps/unix/dirstream.h: Renamed to ...
21753 * sysdeps/posix/dirstream.h: ... here.
21754 * sysdeps/unix/fdopendir.c: Renamed to ...
21755 * sysdeps/posix/fdopendir.c: ... here.
21756 * sysdeps/unix/opendir.c: Renamed to ...
21757 * sysdeps/posix/opendir.c: ... here.
21758 * sysdeps/unix/readdir.c: Renamed to ...
21759 * sysdeps/posix/readdir.c: ... here.
21760 * sysdeps/unix/readdir_r.c: Renamed to ...
21761 * sysdeps/posix/readdir_r.c: ... here.
21762 * sysdeps/unix/rewinddir.c: Renamed to ...
21763 * sysdeps/posix/rewinddir.c: ... here.
21764 * sysdeps/unix/seekdir.c: Renamed to ...
21765 * sysdeps/posix/seekdir.c: ... here.
21766 * sysdeps/unix/telldir.c: Renamed to ...
21767 * sysdeps/posix/telldir.c: ... here.
21768 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21769 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21770 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21771 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21773 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21774 * bits/fcntl.h: ... here.
21776 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21778 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21779 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21780 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21781 (struct flock): Move l_start, l_len to the beginning.
21782 Use __pid_t for l_pid.
21783 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21784 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21785 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21786 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21787 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21788 [__USE_LARGEFILE64] (struct flock64): New type.
21789 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21791 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21792 * bits/dirent.h: ... here.
21794 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21795 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21797 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21799 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21800 Change from 2.6.0 to 2.6.16.
21801 * sysdeps/unix/sysv/linux/configure: Regenerated.
21802 * sysdeps/unix/sysv/linux/kernel-features.h
21803 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21804 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21806 (__ASSUME_UTIMES): Likewise.
21807 (__ASSUME_CLONE_STOPPED): Remove.
21808 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21809 architectures, not kernel version.
21810 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21811 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21812 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21813 (__ASSUME_WAITID_SYSCALL): Likewise.
21814 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21815 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21816 * README: State 2.6.16 as minimum Linux kernel version. Do not
21817 refer to older versions.
21819 2012-08-06 Roland McGrath <roland@hack.frob.com>
21821 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21822 Define alphasort64 as an alias.
21823 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21824 Define versionsort64 as an alias.
21825 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21826 Define scandir64 as an alias.
21827 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21828 Define scandirat64 as an alias.
21829 * dirent/alphasort64.c (alphasort64):
21830 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21831 * dirent/versionsort64.c: Likewise.
21832 * dirent/scandir64.c: Likewise.
21833 * dirent/scandirat64.c: Likewise.
21834 * sysdeps/wordsize-64/alphasort.c: File removed.
21835 * sysdeps/wordsize-64/alphasort64.c: File removed.
21836 * sysdeps/wordsize-64/scandir.c: File removed.
21837 * sysdeps/wordsize-64/scandir64.c: File removed.
21838 * sysdeps/wordsize-64/scandirat.c: File removed.
21839 * sysdeps/wordsize-64/scandirat64.c: File removed.
21840 * sysdeps/wordsize-64/versionsort.c: File removed.
21841 * sysdeps/wordsize-64/versionsort64.c: File removed.
21842 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21843 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21844 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21845 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21846 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21847 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21848 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21849 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21851 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21853 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21855 [defined __arch64__ || defined __sparcv9]
21856 (__INO_T_MATCHES_INO64_T): New macro.
21857 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21858 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21859 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21860 * sysdeps/unix/sysv/linux/bits/dirent.h
21861 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21862 (_DIRENT_MATCHES_DIRENT64): New macro.
21864 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21865 Define lockf64 as an alias.
21866 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21867 Define fseeko64 as an alias.
21868 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21869 Define ftello64 as an alias.
21870 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21871 Define _IO_fgetpos64 and fgetpos64 as aliases.
21872 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21873 Define _IO_fsetpos64 and fsetpos64 as aliases.
21874 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21875 Conditionalize body on this.
21876 * libio/fseeko64.c: Likewise.
21877 * libio/ftello64.c: Likewise.
21878 * libio/iofgetpos64.c: Likewise.
21879 * libio/iofsetpos64.c: Likewise.
21880 * sysdeps/wordsize-64/lockf.c: File removed.
21881 * sysdeps/wordsize-64/lockf64.c: File removed.
21882 * sysdeps/wordsize-64/fseeko.c: File removed.
21883 * sysdeps/wordsize-64/fseeko64.c: File removed.
21884 * sysdeps/wordsize-64/ftello.c: File removed.
21885 * sysdeps/wordsize-64/ftello64.c: File removed.
21886 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21887 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21888 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21889 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21890 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21891 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21892 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21893 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21894 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21895 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21896 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21897 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21898 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21899 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21901 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21903 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21904 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21905 [defined __arch64__ || defined __sparcv9]
21906 (__OFF_T_MATCHES_OFF64_T): New macro.
21907 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21908 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21909 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21910 (__OFF_T_MATCHES_OFF64_T): New macro.
21912 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21914 * stdlib/secure-getenv.c (__secure_getenv): Replace
21915 GLIBC_2_16 with GLIBC_2_17.
21917 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21919 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21920 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21922 2012-08-03 David S. Miller <davem@davemloft.net>
21924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21926 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21928 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21930 (__ASSUME_CORRECT_SI_PID): Likewise.
21931 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21932 (__ASSUME_TMPFS_NAME): Likewise.
21933 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21934 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21935 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21936 (HAVE_AUX_SECURE): Make definition unconditional.
21937 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21938 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21940 2012-08-03 Roland McGrath <roland@hack.frob.com>
21942 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21943 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21944 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21945 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21946 __eloop_threshold instead of SYMLOOP_MAX.
21948 * sysdeps/generic/eloop-threshold.h: New file.
21949 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21951 * elf/chroot_canon.c (chroot_canon): Likewise.
21953 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21957 Change to 2.6.0 everywhere.
21958 * sysdeps/unix/sysv/linux/configure: Regenerated.
21959 * sysdeps/unix/sysv/linux/kernel-features.h
21960 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21961 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21963 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21964 (__ASSUME_FUTEX_REQUEUE): Remove.
21965 (__ASSUME_STATFS64): Define unconditionally.
21966 (__ASSUME_AT_SECURE): Likewise.
21967 (__ASSUME_CORRECT_SI_PID): Likewise.
21968 (__ASSUME_TGKILL): Define without depending on kernel version for
21970 (__ASSUME_UTIMES): Likewise.
21971 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21973 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21974 (__ASSUME_TMPFS_NAME): Likewise.
21975 * README: Update reference to Linux kernel versions.
21977 2012-08-02 Marek Polacek <polacek@redhat.com>
21980 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21981 libc_cv_asm_type_prefix with %.
21982 * configure: Regenerated.
21983 * include/libc-symbols.h: Remove comment about
21984 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21985 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21986 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21987 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21988 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21989 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21990 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21991 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21992 * elf/tst-unique2mod1.c: Likewise.
21993 * elf/tst-unique1mod2.c: Likewise.
21994 * elf/tst-unique1mod1.c: Likewise.
21995 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21996 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21997 Replace ASM_TYPE_DIRECTIVE with .type.
21998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21999 * sysdeps/i386/sysdep.h: Likewise.
22000 * sysdeps/x86_64/sysdep.h: Likewise.
22001 * sysdeps/sh/sysdep.h: Likewise.
22002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22003 Do not define ASM_TYPE_DIRECTIVE.
22004 * sysdeps/powerpc/sysdep.h: Likewise.
22005 * sysdeps/powerpc/powerpc32/sysdep.h:
22006 Replace ASM_TYPE_DIRECTIVE with .type.
22007 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22008 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22009 * sysdeps/i386/fpu/e_powf.S: Likewise.
22010 * sysdeps/i386/fpu/e_expl.S: Likewise.
22011 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22012 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22013 * sysdeps/i386/fpu/e_pow.S: Likewise.
22014 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22015 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22016 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22017 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22018 * sysdeps/i386/fpu/e_log2.S: Likewise.
22019 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22020 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22021 * sysdeps/i386/fpu/e_powl.S: Likewise.
22022 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22023 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22024 * sysdeps/i386/fpu/e_logl.S: Likewise.
22025 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22026 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22027 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22028 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22029 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22030 * sysdeps/i386/fpu/e_log.S: Likewise.
22031 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22032 * sysdeps/i386/fpu/e_logf.S: Likewise.
22033 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22034 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22035 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22036 * sysdeps/i386/fpu/e_log10.S: Likewise.
22037 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22038 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22039 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22040 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22041 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22042 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22043 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22044 * sysdeps/i386/i686/strtok.S: Likewise.
22045 * sysdeps/i386/i386-mcount.S: Likewise.
22046 * sysdeps/i386/strtok.S: Likewise.
22047 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22048 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22049 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22050 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22051 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22052 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22053 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22054 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22055 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22056 * sysdeps/x86_64/_mcount.S: Likewise.
22057 * sysdeps/x86_64/strtok.S: Likewise.
22058 * sysdeps/sh/_mcount.S: Likewise.
22060 2012-08-01 Roland McGrath <roland@hack.frob.com>
22062 * libio/iofopen.c: Include <fcntl.h>.
22063 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22064 (_IO_fopen64, fopen64): Define as aliases.
22065 * libio/iofopen64.c: Include <fcntl.h>.
22066 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22067 Conditionalize body on this.
22068 * sysdeps/wordsize-64/iofopen.c: File removed.
22069 * sysdeps/wordsize-64/iofopen64.c: File removed.
22071 2012-08-01 Marek Polacek <polacek@redhat.com>
22073 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22074 Use dlfcn directly instead of a variable.
22075 (binfmt-subdir): Do not define.
22078 2012-08-01 Joseph Myers <joseph@codesourcery.com>
22080 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22081 Remove all definitions.
22082 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22083 <kernel-features.h>.
22084 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22085 (miss_F_GETOWN_EX): Remove all definitions.
22086 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22088 [!__ASSUME_FCNTL64]: Remove conditional code.
22089 [__ASSUME_FCNTL64]: Make code unconditional.
22090 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22091 <kernel-features.h>.
22092 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22093 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22094 (lockf64) [__NR_fcntl64]: Make code unconditional.
22095 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22097 * sysdeps/unix/sysv/linux/kernel-features.h
22098 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22099 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22100 Make code unconditional.
22101 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22102 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22104 [__NR_vfork]: Make code unconditional.
22105 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22106 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22108 [__NR_vfork]: Make code unconditional.
22109 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22110 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22112 2012-08-01 Roland McGrath <roland@hack.frob.com>
22114 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22115 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22117 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22118 Define mkstemp64 as an alias.
22119 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22120 Define mkstemps64 as an alias.
22121 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22122 Define mkostemp64 as an alias.
22123 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22124 Define mkostemps64 as an alias.
22125 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22126 Conditionalize body on this.
22127 * misc/mkostemp64.c: Likewise.
22128 * misc/mkostemps64.c: Likewise.
22129 * misc/mkstemps64.c: Likewise.
22130 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22131 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22132 * sysdeps/wordsize-64/mkostemp.c: File removed.
22133 * sysdeps/wordsize-64/mkstemp.c: File removed.
22134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22135 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22136 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22137 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22140 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22141 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22142 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22143 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22145 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22146 compat_symbol macros from <shlib-compat.h> rather than the underlying
22147 default_symbol_version and symbol_version macros, so that DEFAULT
22148 lines in shlib-versions are respected.
22149 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22151 2012-08-01 Florian Weimer <fweimer@redhat.com>
22153 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22154 Declare with warn_unused_result.
22155 (setgid, setregid, setegid, setresgid): Likewise.
22156 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22158 * WUR-REPORT: Remove set*id functions.
22160 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22162 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22164 2012-07-31 Roland McGrath <roland@hack.frob.com>
22167 * include/sys/socket.h (__libc_accept, __libc_accept4):
22168 Add attribute_hidden.
22169 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22171 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22173 * inet/getnetgrent_r.c (setup): Likewise.
22175 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22177 2012-07-31 David S. Miller <davem@davemloft.net>
22179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22181 2012-07-31 Joseph Myers <joseph@codesourcery.com>
22184 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22185 value between 1.0 and 2.0 and smaller part has absolute value less
22187 * math/s_clog10.c (__clog10): Likewise.
22188 * math/s_clog10f.c (__clog10f): Likewise.
22189 * math/s_clog10l.c (__clog10l): Likewise.
22190 * math/s_clogf.c (__clogf): Likewise.
22191 * math/s_clogl.c (__clogl): Likewise.
22192 * math/libm-test.inc (clog_test): Add more tests.
22193 (clog10_test): Likewise.
22194 * sysdeps/i386/fpu/libm-test-ulps: Update.
22195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22197 2012-07-31 Florian Weimer <fweimer@redhat.com>
22199 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22200 Exit with zero in case no suitable GID is found, and write a
22201 message to standard error.
22203 2012-07-30 Roland McGrath <roland@hack.frob.com>
22205 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22207 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22208 (MAXPATHLEN): Removed.
22209 (NOGROUP, NODEV): New macros.
22210 (setbit, clrbit, isset, isclr): New macros.
22211 (howmany, roundup, powerof2): New macros.
22212 (DEV_BSIZE): New macro.
22214 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22215 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22217 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22218 definition on [!__NO_LONG_DOUBLE_MATH].
22220 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22221 PTR_MANGLE and PTR_DEMANGLE.
22223 * socket/accept4.c (accept4): Rename to __libc_accept4.
22224 Define accept4 as a weak alias.
22226 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22227 on [_DIRENT_HAVE_D_TYPE].
22228 * io/ftw.c (ftw_dir): Likewise.
22230 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22232 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22234 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22235 Use the BSD numbers rather than the arbitrary ones we had.
22236 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22237 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22238 (SIGXCPU, SIGXFSZ): New macros.
22241 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22242 initializer on [_LIBC_REENTRANT].
22244 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22245 definitions inside [_POSIX_MAPPED_FILES].
22247 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22249 * dirent/opendir.c: Include <fcntl.h>.
22251 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22252 (__libc_getspecific): Likewise.
22253 (__libc_key_create): Likewise.
22255 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22256 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22257 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22258 (tmpfile64): Define as alias.
22259 * sysdeps/wordsize-64/tmpfile.c: File removed.
22260 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22261 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22262 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22264 * stdio-common/vfscanf.c: Include <stdbool.h>.
22265 * nss/makedb.c: Likewise.
22266 * stdio-common/_i18n_number.h: Likewise.
22267 * argp/argp-help.c: Likewise.
22268 * posix/wordexp.c: Likewise.
22269 * sysdeps/posix/spawni.c: Likewise.
22270 * nss/nss_files/files-initgroups.c: Likewise.
22271 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22272 * nss/nss_files/files-initgroups.c: Likewise.
22273 * nss/nss_db/db-netgrp.c: Likewise.
22274 * nss/nss_db/db-initgroups.c: Likewise.
22275 * io/fchmodat.c: Include <sys/stat.h>.
22277 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22278 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22280 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22283 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22284 Add multiple inclusion protection.
22286 2012-07-27 David S. Miller <davem@davemloft.net>
22288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22290 2012-07-27 Gary Benson <gbenson@redhat.com>
22293 * elf/rtld.c: Include <stap-probe.h>.
22294 (dl_main): Added static probes "init_start" and "init_complete".
22295 * elf/dl-load.c: Include <stap-probe.h>.
22296 (lose): Take new parameter "nsid".
22297 Added static probe "map_failed".
22298 (_dl_map_object_from_fd): Pass namespace id to lose.
22299 Added static probe "map_start".
22300 (open_verify): Pass namespace id to lose.
22301 * elf/dl-open.c: Include <stap-probe.h>.
22302 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22303 and "reloc_complete".
22304 * elf/dl-close.c: Include <stap-probe.h>.
22305 (_dl_close_worker): Added static probes "unmap_start" and
22307 * elf/rtld-debugger-interface.txt: New file documenting the above.
22309 2012-07-26 Roland McGrath <roland@hack.frob.com>
22311 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22312 rather than a string variable.
22313 * sunrpc/rpc_main.c (h_output): Likewise.
22314 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22316 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22318 * inet/check_native.c: New file.
22320 2012-07-26 Joseph Myers <joseph@codesourcery.com>
22323 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22324 if larger part has absolute value 1.0.
22325 * math/s_clog10.c (__clog10): Likewise.
22326 * math/s_clog10f.c (__clog10f): Likewise.
22327 * math/s_clog10l.c (__clog10l): Likewise.
22328 * math/s_clogf.c (__clogf): Likewise.
22329 * math/s_clogl.c (__clogl): Likewise.
22330 * math/libm-test.inc (clog_test): Add more tests.
22331 (clog10_test): Likewise.
22332 * sysdeps/i386/fpu/libm-test-ulps: Update.
22333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22335 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22336 (pltexit): Likewise.
22337 (La_regs): Likewise.
22338 (La_retval): Likewise.
22339 (int_retval): Likewise.
22340 Update #error for removed macros to refer only to definitions in
22342 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22344 (pltexit): Likewise.
22345 (La_regs): Likewise.
22346 (La_retval): Likewise.
22347 (int_retval): Likewise.
22348 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22350 (pltexit): Likewise.
22351 (La_regs): Likewise.
22352 (La_retval): Likewise.
22353 (int_retval): Likewise.
22354 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22356 (pltexit): Likewise.
22357 (La_regs): Likewise.
22358 (La_retval): Likewise.
22359 (int_retval): Likewise.
22360 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22362 (pltexit): Likewise.
22363 (La_regs): Likewise.
22364 (La_retval): Likewise.
22365 (int_retval): Likewise.
22366 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22368 (pltexit): Likewise.
22369 (La_regs): Likewise.
22370 (La_retval): Likewise.
22371 (int_retval): Likewise.
22372 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22374 (pltexit): Likewise.
22375 (La_regs): Likewise.
22376 (La_retval): Likewise.
22377 (int_retval): Likewise.
22378 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22379 macro definitions in tst-audit.h.
22380 * sysdeps/i386/tst-audit.h: New file.
22381 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22382 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22383 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22384 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22385 * sysdeps/sh/tst-audit.h: Likewise.
22386 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22387 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22388 * sysdeps/x86_64/tst-audit.h: Likewise.
22390 2012-07-26 Andreas Jaeger <aj@suse.de>
22392 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22395 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22396 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22397 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22399 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22400 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22401 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22403 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22406 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22408 (si_call_addr, si_syscall, si_arch): Define new macro.
22409 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22411 (si_call_addr, si_syscall, si_arch): Define new marcro.
22412 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22414 (si_call_addr, si_syscall, si_arch): Define new macro.
22415 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22417 (si_call_addr, si_syscall, si_arch): Define new macro.
22419 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22422 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22423 Change to 2.4.21 where previously 2.4.1.
22424 * sysdeps/unix/sysv/linux/configure: Regenerated.
22425 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22426 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22427 Linux kernel version.
22428 (__ASSUME_STD_AUXV): Remove.
22429 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22431 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22432 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22433 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22434 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22435 (__ASSUME_NETLINK_SUPPORT): Likewise.
22436 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22437 (__no_netlink_support): Remove conditional definition.
22438 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22440 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22441 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22442 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22443 (if_nameindex_ioctl): Remove.
22444 (if_nameindex_netlink): Do not handle __no_netlink_support.
22445 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22447 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22448 Remove conditional code.
22449 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22451 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22453 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22454 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22455 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22457 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22458 [!__ASSUME_STD_AUXV]: Remove conditional code.
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22460 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22461 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22463 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22464 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22466 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22468 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22469 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22471 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22473 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22476 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22479 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22480 code unconditional.
22481 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22483 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22485 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22488 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22490 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22493 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22494 code unconditional.
22495 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22497 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22499 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22502 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22503 code unconditional.
22504 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22506 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22508 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22511 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22513 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22514 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22515 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22516 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22517 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22518 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22519 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22520 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22521 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22522 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22523 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22524 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22525 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22526 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22527 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22528 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22529 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22531 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22533 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22534 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22537 2012-07-25 Florian Weimer <fweimer@redhat.com>
22539 * Versions.def: Add GLIBC_2.17.
22540 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22541 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22542 Introduce __libc_secure_getenv.
22543 * stdlib/Versions (2.17): Add secure_getenv
22544 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22545 * stdlib/secure-getenv.c: Rename __secure_getenv to
22546 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22547 symbol __secure_getenv for GLIBC_2.0.
22548 * stdlib/tst-secure-getenv.c: New.
22549 * stdlib/Makefile (tests): Add testcase.
22550 * manual/startup.texi (Environment Access): Document
22552 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22553 __libc_secure_getenv.
22554 * inet/ruserpass.c (ruserpass): Likewise.
22555 * malloc/mtrace.c (mtrace): Likewise.
22556 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
22557 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22558 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22559 * sysdeps/posix/tempname.c: Likewise. Evaluate
22560 HAVE_SECURE_GETENV.
22561 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
22562 __secure_getenv to __libc_secure_getenv.
22563 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
22564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22570 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22576 2012-07-25 Joseph Myers <joseph@codesourcery.com>
22578 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22579 (struct La_i86_retval): Likewise.
22580 (struct La_x86_64_regs): Likewise.
22581 (struct La_x86_64_retval): Likewise.
22582 (struct La_x32_regs): Likewise.
22583 (struct La_x32_retval): Likewise.
22584 (struct La_ppc32_regs): Likewise.
22585 (struct La_ppc32_retval): Likewise.
22586 (struct La_ppc64_regs): Likewise.
22587 (struct La_ppc64_retval): Likewise.
22588 (struct La_sh_regs): Likewise.
22589 (struct La_sh_retval): Likewise.
22590 (struct La_s390_32_regs): Likewise.
22591 (struct La_s390_32_retval): Likewise.
22592 (struct La_s390_64_regs): Likewise.
22593 (struct La_s390_64_retval): Likewise.
22594 (struct La_sparc32_regs): Likewise.
22595 (struct La_sparc32_retval): Likewise.
22596 (struct La_sparc64_regs): Likewise.
22597 (struct La_sparc64_retval): Likewise.
22598 (struct audit_ifaces): Remove architecture-specific pltenter and
22600 * sysdeps/i386/ldsodefs.h: New file.
22601 * sysdeps/powerpc/ldsodefs.h: Likewise.
22602 * sysdeps/s390/ldsodefs.h: Likewise.
22603 * sysdeps/sh/ldsodefs.h: Likewise.
22604 * sysdeps/sparc/ldsodefs.h: Likewise.
22605 * sysdeps/x86_64/ldsodefs.h: Likewise.
22607 2012-07-25 Marek Polacek <polacek@redhat.com>
22610 * math/libm-test.inc (yn_test): Add another test.
22611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22612 to ERANGE when the result is +-Inf.
22613 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22614 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22615 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22616 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22618 2012-07-24 Joseph Myers <joseph@codesourcery.com>
22620 * conform/data/time.h-data (NULL): Use macro-constant. Require
22622 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22624 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22626 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22628 * configure.in <sysdeps resolving>: Correct printing
22630 * configure: Regenerate.
22632 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22634 * math/w_ilogb.c: Include <limits.h>.
22635 * math/w_ilogbl.c: Likewise.
22637 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22639 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22640 va_copy. Document allowing for unavailable va_copy only as
22641 pre-C99 compatibility.
22642 * manual/string.texi (Copying and Concatenation): Use va_copy
22643 instead of __va_copy in concat example.
22645 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22647 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22648 (__sendto): Use create_address_port. Initialize APORT and deallocate
22651 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22652 with O_NOLINK passed to __file_name_lookup.
22654 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22655 with O_NOLINK passed to __file_name_lookup.
22657 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22658 negative N or less than NGIDS.
22660 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22661 type to string_t. Set ERANGE as errno and return it if NAME is not big
22662 enough. Use memcpy instead of strncpy.
22664 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22666 * elf/Makefile (check-data): Remove.
22667 (localplt.data): New vpath directive.
22668 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22669 instead of $(check-data).
22670 * scripts/data/localplt-generic.data: Move to ...
22671 * sysdeps/generic/localplt.data: ... here.
22672 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22673 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22674 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22677 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22680 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22683 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22686 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22689 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22693 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22695 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22696 PPC32 and PPC64 files.
22697 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22698 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22700 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22702 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22703 __makecontext_ret to ...
22704 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22705 ... here and call exit if uc_link is NULL. New file.
22706 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22707 __makecontext_ret.S.
22708 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22709 __makecontext_ret to ...
22710 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22711 ... here and call exit if uc_link is NULL. New file.
22712 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22713 __makecontext_ret.S.
22715 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22717 * elf/elf.h (R_390_IRELATIVE): New definition.
22718 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22719 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22720 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22721 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22722 (elf_machine_lazy_rel): Likewise.
22723 * sysdeps/s390/dl-irel.h: New file.
22724 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22725 * sysdeps/s390/s390-64/memset.S: New asm code.
22726 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22727 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22728 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22729 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22730 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22731 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22732 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22733 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22734 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22735 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22736 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22737 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22738 * sysdeps/s390/s390-32/memset.S: New asm code.
22739 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22741 2012-07-17 Marek Polacek <polacek@redhat.com>
22744 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22745 * sysdeps/s390/s390-64/configure.in: Likewise.
22746 * sysdeps/sparc/configure.in: Likewise.
22747 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22748 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22749 * sysdeps/i386/configure.in: Likewise.
22750 * sysdeps/x86_64/configure.in: Likewise.
22751 * sysdeps/sh/configure.in: Likewise.
22752 * sysdeps/s390/s390-32/configure: Regenerated.
22753 * sysdeps/s390/s390-64/configure: Likewise.
22754 * sysdeps/x86_64/configure: Likewise.
22755 * sysdeps/sh/configure: Likewise.
22756 * sysdeps/powerpc/powerpc64/configure: Likewise.
22757 * sysdeps/powerpc/powerpc32/configure: Likewise.
22758 * sysdeps/sparc/configure: Likwise.
22759 * sysdeps/i386/configure: Likewise.
22761 * elf/dl-open.c: Comment fixes.
22763 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22765 * Makefile [CXX] (check-data): Remove.
22766 [CXX] (c++-types.data): New vpath directive.
22767 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22768 vpath. Do not allow for C++ type data being missing.
22769 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22770 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22771 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22772 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22773 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22774 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22775 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22778 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22781 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22784 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22787 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22790 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22793 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22796 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22799 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22800 definitions to architecture-specific files.
22801 (TLS_IE): Likewise.
22802 (TLS_LD): Likewise.
22803 (TLS_GD): Likewise.
22804 * sysdeps/i386/tls-macros.h: New file.
22805 * sysdeps/powerpc/tls-macros.h: Likewise.
22806 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22807 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22808 * sysdeps/sh/tls-macros.h: Likewise.
22809 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22810 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22811 * sysdeps/x86_64/tls-macros.h: Likewise.
22813 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22815 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22816 zero value for regular exit case.
22818 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22819 (__start_context): Preserve zero value for regular exit case.
22821 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22822 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22824 * manual/setjmp.texi (setcontext): Clarify normal process
22825 termination when uc_link is the null pointer.
22826 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22829 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22831 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22832 preprocessor. Test for each exception mask separately.
22834 2012-07-16 Andreas Jaeger <aj@suse.de>
22836 * po/ru.po: Update from translation team.
22838 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22840 * conform/data/string.h-data (NULL): Use macro-constant. Require
22842 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22843 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22844 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22845 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22846 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22848 2012-07-13 Andreas Jaeger <aj@suse.de>
22850 * po/fr.po: Update from translation team.
22852 2012-07-12 Marek Polacek <polacek@redhat.com>
22855 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22856 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22859 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22862 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22863 Change to 2.4.1 where previously 2.4.0.
22864 * sysdeps/unix/sysv/linux/configure: Regenerated.
22865 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22866 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22868 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22869 (__ASSUME_AT_CLKTCK): Remove.
22870 (__ASSUME_AT_PAGESIZE): Likewise.
22871 (__ASSUME_AT_XID): Likewise.
22872 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22873 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22874 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22876 (HAVE_AUX_PAGESIZE): Likewise.
22877 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22878 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22879 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22881 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22885 the temporary buffer used to invoke __gethostbyname2_r,
22886 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22887 host_data / struct gaih_addrtuple.
22888 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22889 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22890 header file nss/nsswitch.h.
22891 * nss/nsswitch.h (global scope): Add definition of implementation
22892 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22893 resolv/nss_dns/dns-host.c).
22895 2012-07-11 Andreas Jaeger <aj@suse.de>
22897 * po/fr.po: Update from translation team.
22899 * po/sv.po: Update from translation team
22900 * po/fr.po: Another update from translation team.
22902 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22904 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22905 for subnormals or multiply small sinh result by itself.
22906 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22909 2012-07-11 David S. Miller <davem@davemloft.net>
22911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22913 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22916 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22917 (INTERNAL_MARK): Shift it here.
22919 2012-07-10 Marek Polacek <polacek@redhat.com>
22922 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22923 libc_cv_asm_global_directive with .globl.
22924 * configure: Regenerated.
22925 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22927 * sysdeps/i386/configure: Regenerated.
22928 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22930 * sysdeps/x86_64/configure: Regenerated.
22931 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22932 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22933 * elf/tst-unique2mod2.c: Likewise.
22934 * elf/tst-unique2mod1.c: Likewise.
22935 * elf/tst-unique1mod2.c: Likewise.
22936 * elf/tst-unique1mod1.c: Likewise.
22937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22938 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22939 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22940 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22941 * sysdeps/mach/sysdep.h: Likewise.
22942 * sysdeps/i386/sysdep.h: Likewise.
22943 * sysdeps/i386/i386-mcount.S: Likewise.
22944 * sysdeps/x86_64/_mcount.S: Likewise.
22945 * sysdeps/x86_64/sysdep.h: Likewise.
22946 * sysdeps/sh/_mcount.S: Likewise.
22947 * sysdeps/sh/sysdep.h: Likewise.
22948 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22949 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22950 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22951 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22952 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22953 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22954 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22955 * locale/localeinfo.h: Likewise.
22956 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22957 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22959 2012-07-09 Roland McGrath <roland@hack.frob.com>
22962 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22964 * manual/message.texi (The Uniforum approach): Likewise.
22965 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22966 (glibc iconv Implementation): Likewise.
22968 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22971 * math/s_clog.c (__clog): Avoid scaling a value down where that
22972 could result in underflow.
22973 * math/s_clog10.c (__clog10): Likewise.
22974 * math/s_clog10f.c (__clog10f): Likewise.
22975 * math/s_clog10l.c (__clog10l): Likewise.
22976 * math/s_clogf.c (__clogf): Likewise.
22977 * math/s_clogl.c (__clogl): Likewise.
22978 * math/libm-test.inc (clog_test): Add more tests.
22979 (clog10_test): Likewise.
22980 * sysdeps/i386/fpu/libm-test-ulps: Update.
22981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22983 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22986 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22987 by 7 not 8 to examine high bit of fractional part.
22990 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22991 for call to __mcount_internal.
22992 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22993 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22994 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22996 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22999 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23000 approximation for values within 0x1p-13f of an odd multiple of
23002 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23003 exception. Add more tests.
23004 * sysdeps/i386/fpu/libm-test-ulps: Update.
23007 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23008 inputs and return -1 for them. Do not check for +Inf in case not
23009 reachable for +Inf.
23010 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23011 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23013 and return -1 for them. Do not check for +Inf in case not
23014 reachable for +Inf.
23015 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23017 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23018 and return -1 for them. Do not check for +Inf in case not
23019 reachable for +Inf.
23020 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23021 spurious underflow.
23022 * sysdeps/i386/fpu/libm-test-ulps: Update.
23023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23025 2012-07-06 Mike Frysinger <vapier@gentoo.org>
23027 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23029 2012-07-05 Joseph Myers <joseph@codesourcery.com>
23033 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23034 could result in spurious underflow. Scale down values above
23035 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23036 * math/s_csqrtf.c (__csqrtf): Likewise.
23037 * math/s_csqrtl.c (__csqrtl): Likewise.
23038 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23039 spurious underflow.
23040 * sysdeps/i386/fpu/libm-test-ulps: Update.
23041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23043 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23045 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23047 * catgets/xopen-msg.awk: New file.
23048 * catgets/xopen-msg.sed: Removed.
23050 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23052 * intl/po2test.awk: New file.
23053 * intl/po2test.sed: Removed.
23055 2012-07-04 Joseph Myers <joseph@codesourcery.com>
23058 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23059 or multiply small sinh result by itself.
23060 * math/s_ctanf.c (__ctanf): Likewise.
23061 * math/s_ctanh.c (__ctanh): Likewise.
23062 * math/s_ctanhf.c (__ctanhf): Likewise.
23063 * math/s_ctanhl.c (__ctanhl): Likewise.
23064 * math/s_ctanl.c (__ctanl): Likewise.
23065 * math/libm-test.inc (ctan_test_tonearest): New function.
23066 (ctan_test_towardzero): Likewise.
23067 (ctan_test_downward): Likewise.
23068 (ctan_test_upward): Likewise.
23069 (ctanh_test_tonearest): Likewise.
23070 (ctanh_test_towardzero): Likewise.
23071 (ctanh_test_downward): Likewise.
23072 (ctanh_test_upward): Likewise.
23073 (main): Call these new functions.
23074 * sysdeps/i386/fpu/libm-test-ulps: Update.
23075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23077 2012-07-03 Mike Frysinger <vapier@gentoo.org>
23079 * .gitignore: Delete /ports entry.
23081 2012-07-03 Andreas Jaeger <aj@suse.de>
23083 * po/bg.po: Update from translation team.
23084 * po/cs.po: Likewise.
23085 * po/de.po: Likewise.
23086 * po/hr.po: Likewise.
23087 * po/nl.pl: Likewise.
23088 * po/pl.po: Likewise.
23089 * po/vi.po: Likewise.
23091 2012-07-03 Joseph Myers <joseph@codesourcery.com>
23093 * Makeconfig [!+link] (+link-before-libc): New variable.
23094 [!+link] (+link-after-libc): Likewise.
23095 [!+link] (+link-tests): Likewise.
23096 [!+link] (+link): Define in terms of $(+link-before-libc) and
23097 $(+link-after-libc).
23098 [!+link-static] (+link-static-before-libc): New variable.
23099 [!+link-static] (+link-static-after-libc): Likewise.
23100 [!+link-static] (+link-static-tests): Likewise.
23101 [!+link-static] (+link-static): Define in terms of
23102 $(+link-static-before-libc) and $(+link-static-after-libc).
23103 [build-shared] (link-libc-before-gnulib): New variable.
23104 [build-shared] (link-libc-tests): Likewise.
23105 [build-shared] (link-libc): Define in terms of
23106 $(link-libc-before-gnulib).
23107 [!build-shared] (link-libc-tests): New variable.
23108 (link-libc-static-tests): New variable.
23109 [!gnulib] (gnulib-arch): New variable.
23110 [!gnulib] (gnulib-tests): Likewise.
23111 [!gnulib] (static-gnulib-arch): Likewise.
23112 [!gnulib] (static-gnulib-tests): Likewise.
23113 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23114 Define with "=" instead of ":=".
23115 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23116 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23117 * Rules (binaries-all-notests): New variable.
23118 (binaries-all-tests): Likewise.
23119 (binaries-static-notests): Likewise.
23120 (binaries-static-tests): Likewise.
23121 (binaries-all): Define using $(binaries-all-notests) and
23122 $(binaries-all-tests).
23123 (binaries-static): Define using $(binaries-static-notests) and
23124 $(binaries-static-tests).
23125 (binaries-shared-tests): New variable.
23126 (binaries-shared-notests): Likewise.
23127 (binaries-shared): Remove variable.
23128 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23129 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23130 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23131 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23132 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23133 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23134 * elf/Makefile (sln-modules): New variable.
23135 (extra-objs): Add $(sln-modules:=.o).
23136 (ldconfig-modules): Add static-stubs.
23137 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23138 * elf/static-stubs.c: New file.
23141 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23142 by 7 not 8 to examine high bit of fractional part. Use volatile
23143 variables when splitting into final array of floats if
23144 __FLT_EVAL_METHOD__ != 0.
23145 * math/libm-test.inc (cos_test): Add another test.
23146 (sin_test): Likewise.
23147 * sysdeps/i386/fpu/libm-test-ulps: Update.
23150 * math/libm-test.inc (cosh_test): Add more tests.
23152 * version.h (RELEASE): Set to "development".
23153 (VERSION): Set to "2.16.90".
23155 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23157 * NEWS: Update copyright. Remove last-updated date.
23158 Mention math library bug fixes and timezone data changes.
23159 * README: Mention GNU/Hurd, x32, and HPPA support status.
23161 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23163 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23165 2012-06-27 Andreas Jaeger <aj@suse.de>
23167 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23169 2012-06-25 Andreas Jaeger <aj@suse.de>
23171 * sysdeps/s390/fpu/libm-test-ulps: Update.
23173 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23174 Thomas Schwinge <thomas@codesourcery.com>
23176 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23177 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23181 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23183 * sysdeps/mach/start.c: Remove file.
23184 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23185 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23186 * sysdeps/sh/init-first.c: Likewise.
23188 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23189 registers for frame unwinding purposes, add CFI directives.
23190 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23191 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23192 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23195 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23196 __fortify_fail returning.
23197 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23200 sysdeps/sh/____longjmp_chk.S.
23201 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23202 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23203 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23204 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23206 * sysdeps/sh/abort-instr.h: New file.
23207 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23208 process in case exit returns.
23210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23211 initialize the GOT register before use.
23213 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23214 calculation of ARGC > 4.
23216 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23217 meaningful names to some local labels.
23219 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23220 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23223 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23224 (__arch_compare_and_exchange_val_16_acq): Likewise.
23225 (__arch_compare_and_exchange_val_32_acq): Likewise.
23226 (atomic_exchange_and_add): Fix gUSA sequence.
23227 (atomic_add): Likewise.
23228 (atomic_add_negative): Likewise.
23229 (atomic_add_zero): Likewise.
23230 (atomic_bit_test_set): Likewise.
23232 2012-06-22 Andreas Schwab <schwab@redhat.com>
23235 * include/link.h (struct link_map): Add l_free_initfini.
23236 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23238 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23239 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23240 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23243 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23245 * configure.in: Use AC_LANG_SOURCE.
23246 * configure: Regenerate.
23248 2012-06-22 Roland McGrath <roland@hack.frob.com>
23250 * configure.in (libc_cv_localstatedir): New substituted variable.
23251 * configure: Regenerated.
23252 * config.make.in (localstatedir): New variable, substituted from
23253 libc_cv_localstatedir.
23254 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23255 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23256 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23257 * sysdeps/gnu/configure: Regenerated.
23259 2012-06-21 Jeff Law <law@redhat.com>
23262 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23263 free. Simplify list management for _LIBC case.
23265 2012-06-21 Joseph Myers <joseph@codesourcery.com>
23268 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23269 Clear sign bit of 64-bit integer value before comparing against
23272 * sysdeps/mach/configure: Regenerated.
23274 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23277 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23279 2012-06-21 Jeff Law <law@redhat.com>
23282 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23283 uint16_t for elements in the "seen" array to avoid char overflows.
23284 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23285 * elf/dl-open.c (dl_open_worker): Likewise.
23287 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23289 * scripts/list-sources.sh: Scan PORTS for translations.
23290 * po/libc.pot: Regenerated.
23292 2012-06-21 Andreas Jaeger <aj@suse.de>
23295 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23297 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23298 * bits/byteswap-16.h (__bswap_16): Likewise.
23299 * bits/byteswap.h (__bswap_constant_16): Likewise.
23301 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23304 * sysdeps/i386/fpu_control.h: Removed.
23305 * sysdeps/x86_64/fpu_control.h: Moved to ...
23306 * sysdeps/x86/fpu_control.h: Here.
23308 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23309 (_FPU_SETCW): Likewise.
23311 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23314 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23315 * sysdeps/x86/fpu/bits/mathinline.h: This.
23316 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23320 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23321 functions if __x86_64__ is defined.
23323 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23325 * string/endian.h: Add !__ASSEMBLER__ condition for including
23326 conversion interfaces.
23328 2012-06-15 Joseph Myers <joseph@codesourcery.com>
23331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23332 of ABS(x) in calculating zero to negative powers other than odd
23334 * math/libm-test.inc (pow_test): Add more tests.
23336 2012-06-15 Andreas Jaeger <aj@suse.de>
23338 * manual/contrib.texi (Contributors): Update entry of Liubov
23339 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23342 2012-06-15 Cyril Hrubis <metan@ucw.cz>
23344 * string/string.h: Add __wur to GNU version of strerror_r.
23346 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23349 * string/Makefile (tests): Add tst-strtok_r.
23350 * string/tst-strtok_r.c: New file.
23351 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23352 RAX_LP/RDX_LP on SAVE_PTR.
23354 2012-06-14 Roland McGrath <roland@hack.frob.com>
23356 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23358 2012-06-14 Joseph Myers <joseph@codesourcery.com>
23360 * libm_test.inc (csqrt_test): Allow more spurious underflow
23362 (j0_test): Likewise.
23363 (j1_test): Likewise.
23364 (y0_test): Likewise.
23365 (y1_test): Likewise.
23367 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23369 * po/Makefile (libc.pot): Use UTF-8 charset.
23371 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23374 Suppress sign-conversion warning from FD_SET.
23375 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23376 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23377 not unsigned long int.
23378 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23380 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23384 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23385 __extern_always_inline instead of __extern_inline.
23386 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23387 (__signbit): Likewise.
23388 (__signbitl): Support C++ namespace.
23389 (lrintf): New inline function.
23391 (llrintf): Likewise.
23392 (llrint): Likewise.
23402 (floorf): Likewise.
23403 (nearbyint): Likewise.
23404 (nearbyintf): Likewise.
23406 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23408 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23409 non-default versions.
23411 2012-06-11 Roland McGrath <roland@hack.frob.com>
23414 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23416 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23418 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23419 (FE_UPWARD, FE_DOWNWARD): Don't define.
23420 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23421 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23423 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23425 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23426 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23428 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23430 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23431 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23432 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23433 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23435 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23438 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23439 * sysdeps/i386/fpu/Implies: New file.
23440 * sysdeps/x86_64/fpu/Implies: Likewise.
23441 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23442 * sysdeps/x86/fpu/bits/fenv.h: This.
23444 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23447 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23450 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23451 character 0xffff that matches the last element of the
23454 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23456 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23459 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23461 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23462 values higher than 25.6283.
23464 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23466 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23467 subnormal exponent extraction and add some __builtin_expect.
23468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23469 Fix for subnormal mantissa calculation.
23471 2012-06-04 Mike Frysinger <vapier@gentoo.org>
23473 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23474 cpu2 is -1 and errno is not ENOSYS.
23476 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23479 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23480 * sysdeps/x86/bits/string.h: This.
23481 * sysdeps/x86_64/bits/string.h: Removed.
23483 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23484 if not compiling for x86-64, but compiling for >= i486.
23486 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23487 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23489 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23490 New macro from Linux kernel 3.4.0.
23491 (FP_XSTATE_MAGIC2): Likewise.
23492 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23493 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23494 (struct _fpx_sw_bytes): New struct.
23495 (struct _xsave_hdr): Likewise.
23496 (struct _ymmh_state): Likewise.
23497 (struct _xstate): Likewise.
23499 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23500 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23501 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23502 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23503 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23504 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23506 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23507 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23508 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23509 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23510 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23511 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23513 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23516 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23517 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23518 (sysdep_headers): Include sys/platform/ppc.h.
23519 * sysdeps/powerpc/test-gettimebase.c: Test for
23520 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23521 * manual/Makefile (appendices): Include platform.texi.
23522 * manual/contrib.texi (Contributors): Update @node pointers.
23523 * manual/maint.texi (Maintenance): Likewise.
23524 (Platform): New node.
23525 * manual/platform.texi: New file. Document the new features.
23527 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23528 Jakub Jelinek <jakub@redhat.com>
23531 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23532 where __builtin_expect is unavailable.
23534 2012-06-03 David S. Miller <davem@davemloft.net>
23536 * stdlib/longlong.h: Updated from GCC.
23538 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23541 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23542 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23545 (GLIBC_2.16): Likewise.
23547 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23549 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23551 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23554 (default-abi): New variable.
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23556 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23558 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23560 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23562 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23565 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23566 definition. Document in comment.
23568 2012-06-01 David S. Miller <davem@davemloft.net>
23570 * stdlib/longlong.h: Updated from GCC.
23572 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23575 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23576 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23577 sys/debugreg.h sys/io.h here.
23578 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23579 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23581 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23582 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23583 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23584 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23585 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23586 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23589 Define only if __x86_64__ is defined.
23591 2012-06-01 Joseph Myers <joseph@codesourcery.com>
23594 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23595 Use int64_t for variable i.
23596 * math/libm-test.inc (fmod_test): Add more tests.
23598 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23599 z computation is not scheduled after fetestexcept.
23600 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23601 Use math_force_eval instead of asm to ensure calculation scheduled
23602 before exception test.
23603 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23604 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23606 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23609 computation is not scheduled after fetestexcept.
23611 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23614 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23615 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23617 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23619 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23620 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23622 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23625 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23627 (__WCHAR_MIN): Support __WORDSIZE == 64.
23628 (__WCHAR_MAX): Likewise.
23630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23631 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23635 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23638 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23639 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23641 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23642 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23644 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23645 Defined to 1 if __x86_64__ isn't defined.
23646 (_STAT_VER_LINUX_OLD): New.
23647 (st_atime): Remove duplicate.
23648 (st_mtime): Likewise.
23649 (st_ctime): Likewise.
23651 2012-05-31 David S. Miller <davem@davemloft.net>
23653 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23656 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23658 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23662 * elf/dl-reloc.c: Include <_itoa.h>.
23663 (_dl_reloc_bad_type): Remove use of INTUSE.
23664 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23665 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23666 * stdio-common/psiginfo.c (psiginfo): Likewise.
23667 * stdio-common/psignal.c (psignal): Likewise.
23668 * string/strsignal.c (strsignal): Likewise.
23669 * include/signal.h (_sys_siglist): Declare hidden proto.
23670 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23671 INTVARDEF with libc_hidden_data_def.
23672 * stdio-common/itoa-udigits.c: Likewise.
23673 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23674 (_itoa_lower_digits_internal): Remove declaration.
23675 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23676 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23677 (_sys_sigabbrev_internal): Remove aliases.
23678 (_sys_siglist): Define hidden alias.
23680 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23685 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23688 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23689 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23691 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23692 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23693 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23694 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23696 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23698 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23699 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23700 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23702 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23710 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23711 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23712 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23715 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23716 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23717 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23718 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23719 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23721 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23722 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23724 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23725 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23727 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23728 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23729 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23731 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23732 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23734 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23736 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23737 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23738 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23740 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23742 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23744 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23746 * math/math.h (M_El): Use two more decimal places.
23747 (M_LOG2El): Likewise.
23748 (M_LOG10El): Likewise.
23749 (M_LN2l): Likewise.
23750 (M_LN10l): Likewise.
23752 (M_PI_2l): Likewise.
23753 (M_PI_4l): Likewise.
23754 (M_1_PIl): Likewise.
23755 (M_2_PIl): Likewise.
23756 (M_2_SQRTPIl): Likewise.
23757 (M_SQRT2l): Likewise.
23758 (M_SQRT1_2l): Likewise.
23760 2012-05-31 David S. Miller <davem@davemloft.net>
23762 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23763 values between float registers.
23764 * sysdeps/sparc/sparc64/memset.S: Likewise.
23765 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23767 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23769 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23770 -D_FORTIFY_SOURCE=1.
23771 (CPPFLAGS-tst-longjmp_chk.c): Define.
23772 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23773 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23774 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23775 CFLAGS-tst-wchar-h.c.
23777 2012-05-31 Marek Polacek <polacek@redhat.com>
23780 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23781 __endmntent_internal): Remove declaration.
23782 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23783 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23784 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23786 2012-05-30 David S. Miller <davem@davemloft.net>
23788 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23789 (___Q_simulate_exceptions): Use real FP ops rather than writing
23791 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23794 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23797 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23798 * sysdeps/x86/bits/xtitypes.h: This.
23800 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23801 * sysdeps/x86/bits/wordsize.h: This.
23803 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23804 * sysdeps/x86/bits/huge_vall.h: This.
23806 * sysdeps/i386/bits/select.h: Removed.
23807 * sysdeps/x86_64/bits/select.h: Renamed to ...
23808 * sysdeps/x86/bits/select.h: This.
23810 * sysdeps/i386/bits/setjmp.h: Removed.
23811 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23812 * sysdeps/x86/bits/setjmp.h: This.
23814 * sysdeps/i386/bits/mathdef.h: Removed.
23815 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23816 * sysdeps/x86/bits/mathdef.h: This.
23818 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23821 * include/sys/socket.h (__connect_internal)
23822 (__libc_sa_len_internal): Remove declaration.
23823 (__connect, __libc_sa_len): Declare hidden_proto.
23824 (SA_LEN): Remove use of INTUSE.
23825 * socket/connect.c: Add libc_hidden_def.
23826 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23827 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23828 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23830 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23831 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23832 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23833 of adding _internal alias.
23835 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23838 * sysdeps/i386/bits/link.h: Removed.
23839 * sysdeps/i386/bits/linkmap.h: Likewise.
23840 * sysdeps/x86_64/bits/link.h: Renamed to ...
23841 * sysdeps/x86/bits/link.h: This.
23842 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23843 * sysdeps/x86/bits/linkmap.h: This.
23845 * sysdeps/i386/bits/endian.h: Removed.
23846 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23847 * sysdeps/x86/bits/endian.h: This.
23849 * sysdeps/i386/bits/byteswap.h: Removed.
23850 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23851 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23852 * sysdeps/x86/bits/byteswap.h: This.
23853 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23854 * sysdeps/x86/bits/byteswap-16.h: This.
23855 * sysdeps/i386/Implies: Add x86.
23856 * sysdeps/x86_64/Implies: Likewise.
23858 2012-05-30 David S. Miller <davem@davemloft.net>
23860 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23861 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23862 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23863 (FP_TRAPPING_EXCEPTIONS): Define.
23864 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23865 (FP_TRAPPING_EXCEPTIONS): Define.
23866 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23867 subnormals only when inexact has been signalled or underflow
23868 exceptions are enabled.
23869 (_FP_PACK_CANONICAL): Likewise.
23871 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23875 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23877 2012-05-30 Richard Henderson <rth@twiddle.net>
23879 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23880 with #ifndef NOT_IN_libc.
23882 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23883 marked to avoid plt entry.
23885 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23888 * Makeconfig (default-abi): New macro.
23889 (abi-includes): Likewise.
23890 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23891 $(abi-$(default-abi)-lib-soname) for soname if defined.
23892 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23894 * Makefile (installed-stubs): Likewise.
23895 * include/stubs-biarch.h: Removed.
23896 * scripts/lib-names.awk: Only handle one library at a time.
23897 * scripts/soversions.awk: Remove WORDSIZE support.
23898 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23900 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23902 (syscall-list-default-condition): Likewise.
23903 (syscall-list-default-condition): Likewise.
23904 (syscall-list-includes): Likewise.
23905 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23906 syscall-list-* with abi-*. Handle undefined abi-variants.
23907 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23908 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23909 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23910 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23911 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23912 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23914 (syscall-list-32-options): Likewise.
23915 (syscall-list-32-condition): Likewise.
23916 (syscall-list-64-options): Likewise.
23917 (syscall-list-64-condition): Likewise.
23918 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23920 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23923 (abi-64-ld-soname): New macro.
23924 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23925 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23928 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23929 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23931 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23933 * sysdeps/unix/sysv/linux/kernel-features.h
23934 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23935 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23936 include <kernel-features.h>.
23937 [!__NR_ftruncate64]: Remove conditional code.
23938 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23939 [__NR_ftruncate64]: Make code unconditional.
23940 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23941 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23942 include <kernel-features.h>.
23943 [!__NR_ftruncate64]: Remove conditional code.
23944 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23945 [__NR_ftruncate64]: Make code unconditional.
23946 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23948 include <kernel-features.h>.
23949 [!__NR_ftruncate64]: Remove conditional code.
23950 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23951 [__NR_ftruncate64]: Make code unconditional.
23952 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23954 include <kernel-features.h>.
23955 [!__NR_ftruncate64]: Remove conditional code.
23956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23957 [__NR_ftruncate64]: Make code unconditional.
23958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23960 * configure.in (libc_cv_fpie): Weaken to a compile test using
23961 LIBC_TRY_CC_OPTION.
23962 * configure: Regenerated.
23964 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23966 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23979 2012-05-27 David S. Miller <davem@davemloft.net>
23981 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23983 (__Q_simulate_exceptions): Return void. Change to simulate
23984 exceptions by writing into the %fsr.
23985 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23986 (__Qp_handle_exceptions): Likewise.
23988 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23989 __Qp_handle_exceptions.
23990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23991 __Qp_handle_exceptions.
23992 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23993 as unused and give dummy FP_RND_NEAREST initializer.
23994 (FP_INHIBIT_RESULTS): Define.
23995 (___Q_simulate_exceptions): Update declaration.
23996 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23998 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23999 as unused and give dummy FP_RND_NEAREST initializer.
24000 (__Qp_handle_exceptions): Update declaration.
24001 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24004 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24006 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24007 the temporary FPU control word.
24008 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24009 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24011 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24012 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24013 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24014 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24015 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24016 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24017 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24018 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24020 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24022 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24025 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24027 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24028 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24029 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24030 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24032 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24033 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24036 2012-05-27 Ulrich Drepper <drepper@gmail.com>
24038 * po/h.po: Update from translation team.
24040 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24042 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24044 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24045 handling of denormals.
24046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24047 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24048 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24049 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24052 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24055 2012-05-26 Marek Polacek <polacek@redhat.com>
24058 * math/libm-test.inc (fma_test): Don't always expect underflow
24061 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24064 * elf/tst-execstack.c: Include stackinfo.h.
24065 (do_test): Adjust test case to ensure that pthread_getattr_np
24066 behaviour remains the same after marking stack executable.
24068 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24070 * sysdeps/unix/sysv/linux/kernel-features.h
24071 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24072 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24074 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24075 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24076 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24078 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24079 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24081 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24083 * configure.in: Define the default includes to being none.
24084 * configure: Regenerated.
24086 2012-05-25 Roland McGrath <roland@hack.frob.com>
24088 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24089 * sysdeps/x86_64/setjmp.S: Likewise.
24090 * sysdeps/i386/bsd-setjmp.S: Likewise.
24091 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24092 * sysdeps/i386/setjmp.S: Likewise.
24093 * sysdeps/i386/__longjmp.S: Likewise.
24094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24095 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24097 * include/stap-probe.h: New file.
24098 * configure.in: Handle --enable-systemtap.
24099 * configure: Regenerated.
24100 * config.h.in (USE_STAP_PROBE): New #undef.
24101 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24102 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24103 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24105 2012-05-25 Joseph Myers <joseph@codesourcery.com>
24108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24109 to 2.4.0 where earlier.
24110 * sysdeps/unix/sysv/linux/configure: Regenerated.
24111 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24112 <kernel-features.h>.
24113 [__ASSUME_32BITUIDS]: Make code unconditional.
24114 [!__ASSUME_32BITUIDS]: Remove conditional code.
24115 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24116 <kernel-features.h>.
24117 [__ASSUME_32BITUIDS]: Make code unconditional.
24118 [!__ASSUME_32BITUIDS]: Remove conditional code.
24119 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24120 [__ASSUME_32BITUIDS]: Make code unconditional.
24121 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24122 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24123 <kernel-features.h>.
24124 [__ASSUME_32BITUIDS]: Make code unconditional.
24125 [!__ASSUME_32BITUIDS]: Remove conditional code.
24126 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24127 <kernel-features.h>.
24128 [__ASSUME_32BITUIDS]: Make code unconditional.
24129 [!__ASSUME_32BITUIDS]: Remove conditional code.
24130 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
24139 <kernel-features.h>.
24140 [__ASSUME_32BITUIDS]: Make code unconditional.
24141 [!__ASSUME_32BITUIDS]: Remove conditional code.
24142 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24143 <kernel-features.h>.
24144 [__ASSUME_32BITUIDS]: Make code unconditional.
24145 [!__ASSUME_32BITUIDS]: Remove conditional code.
24146 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24147 <kernel-features.h>.
24148 [__ASSUME_32BITUIDS]: Make code unconditional.
24149 [!__ASSUME_32BITUIDS]: Remove conditional code.
24150 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24151 <kernel-features.h>.
24152 [__ASSUME_32BITUIDS]: Make code unconditional.
24153 [!__ASSUME_32BITUIDS]: Remove conditional code.
24154 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24155 <kernel-features.h>.
24156 [__ASSUME_32BITUIDS]: Make code unconditional.
24157 [!__ASSUME_32BITUIDS]: Remove conditional code.
24158 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24159 <kernel-features.h>.
24160 [__ASSUME_32BITUIDS]: Make code unconditional.
24161 [!__ASSUME_32BITUIDS]: Remove conditional code.
24162 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24163 <kernel-features.h>.
24164 [__NR_setresgid] (__setresgid): Do not declare.
24165 [__ASSUME_32BITUIDS]: Make code unconditional.
24166 [!__ASSUME_32BITUIDS]: Remove conditional code.
24167 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24168 <kernel-features.h>.
24169 [__NR_setresuid] (__setresuid): Do not declare.
24170 [__ASSUME_32BITUIDS]: Make code unconditional.
24171 [!__ASSUME_32BITUIDS]: Remove conditional code.
24172 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24173 <kernel-features.h>.
24174 [__ASSUME_32BITUIDS]: Make code unconditional.
24175 [!__ASSUME_32BITUIDS]: Remove conditional code.
24176 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24177 <kernel-features.h>.
24178 [__ASSUME_32BITUIDS]: Make code unconditional.
24179 [!__ASSUME_32BITUIDS]: Remove conditional code.
24180 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24181 <kernel-features.h>.
24182 [__ASSUME_32BITUIDS]: Make code unconditional.
24183 [!__ASSUME_32BITUIDS]: Remove conditional code.
24184 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24185 <kernel-features.h>.
24186 [__ASSUME_32BITUIDS]: Make code unconditional.
24187 [!__ASSUME_32BITUIDS]: Remove conditional code.
24188 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24189 <kernel-features.h>.
24190 [__ASSUME_32BITUIDS]: Make code unconditional.
24191 [!__ASSUME_32BITUIDS]: Remove conditional code.
24192 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24193 <kernel-features.h>.
24194 [__ASSUME_32BITUIDS]: Make code unconditional.
24195 [!__ASSUME_32BITUIDS]: Remove conditional code.
24196 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24197 <kernel-features.h>.
24198 [__ASSUME_32BITUIDS]: Make code unconditional.
24199 [!__ASSUME_32BITUIDS]: Remove conditional code.
24200 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24201 <kernel-features.h>.
24202 [__ASSUME_32BITUIDS]: Make code unconditional.
24203 [!__ASSUME_32BITUIDS]: Remove conditional code.
24204 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24205 <kernel-features.h>.
24206 [__ASSUME_32BITUIDS]: Make code unconditional.
24207 [!__ASSUME_32BITUIDS]: Remove conditional code.
24208 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24209 <kernel-features.h>.
24210 [__ASSUME_32BITUIDS]: Make code unconditional.
24211 [!__ASSUME_32BITUIDS]: Remove conditional code.
24212 * sysdeps/unix/sysv/linux/kernel-features.h
24213 (__ASSUME_SETRESUID_SYSCALL): Remove.
24214 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24215 (__ASSUME_32BITUIDS): Likewise.
24216 (__ASSUME_LDT_WORKS): Likewise.
24217 (__ASSUME_O_DIRECTORY): Likewise.
24218 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24219 architecture but not kernel version.
24220 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24221 (__ASSUME_MMAP2_SYSCALL): Likewise.
24222 (__ASSUME_STAT64_SYSCALL): Likewise.
24223 (__ASSUME_IPC64): Likewise.
24224 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24225 <kernel-features.h>.
24226 [__ASSUME_32BITUIDS]: Make code unconditional.
24227 [!__ASSUME_32BITUIDS]: Remove conditional code.
24228 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24229 <kernel-features.h>.
24230 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24231 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24232 132096]: Remove conditional code.
24233 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24234 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24235 <kernel-features.h>.
24236 [__ASSUME_32BITUIDS]: Make code unconditional.
24237 [!__ASSUME_32BITUIDS]: Remove conditional code.
24238 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24239 <kernel-features.h>.
24240 [__ASSUME_32BITUIDS]: Make code unconditional.
24241 [!__ASSUME_32BITUIDS]: Remove conditional code.
24242 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24243 <kernel-features.h>.
24244 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24246 (__setresgid): Do not declare.
24247 [__ASSUME_32BITUIDS]: Make code unconditional.
24248 [!__ASSUME_32BITUIDS]: Remove conditional code.
24249 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24250 <kernel-features.h>.
24251 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24253 (__setresuid): Do not declare.
24254 [__ASSUME_32BITUIDS]: Make code unconditional.
24255 [!__ASSUME_32BITUIDS]: Remove conditional code.
24256 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24257 <kernel-features.h>.
24258 [__ASSUME_32BITUIDS]: Make code unconditional.
24259 [!__ASSUME_32BITUIDS]: Remove conditional code.
24260 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24261 <kernel-features.h>.
24262 [__ASSUME_32BITUIDS]: Make code unconditional.
24263 [!__ASSUME_32BITUIDS]: Remove conditional code.
24265 2012-05-25 Richard Henderson <rth@twiddle.net>
24267 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24268 dl_hwcap to ifunc resolver.
24269 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24271 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24272 dl_hwcap to ifunc resolver.
24273 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24275 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24278 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24279 for |x| <= 2**-26, not 2**-57.
24280 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24283 2012-05-24 Jeff Law <law@redhat.com>
24285 * stdio-common/Makefile (tests): Add bug25.
24286 * stdio-common/bug25.c: New test.
24288 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24291 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24292 multiple of MALLOC_ALIGNMENT in size.
24293 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24295 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24297 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24299 (FILENAME_MAX): Use macro-int-constant.
24300 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24301 (_IOFBF): Use macro-int-constant.
24302 (_IOLBF): Likewise.
24303 (_IONBF): Likewise.
24304 (SEEK_CUR): Likewise.
24305 (SEEK_END): Likewise.
24306 (SEEK_SET): Likewise.
24307 (TMP_MAX): Likewise.
24308 (EOF): Use macro-int-constant. Require < 0.
24309 (NULL): Use macro-constant. Require == 0.
24310 (stdin): Require type to be FILE *.
24311 (stdout): Likewise.
24312 (stderr): Likewise.
24313 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24314 macro-int-constant.
24315 (EXIT_SUCCESS): Likewise.
24316 (NULL): Use macro-constant. Require == 0.
24317 (RAND_MAX): Use macro-int-constant.
24318 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24319 [C99-based standards] (strtof): Require function.
24320 [C99-based standards] (strtold): Likewise.
24321 [C99-based standards] (strtoll): Likewise.
24322 [C99-based standards] (strtoull): Likewise.
24323 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24324 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24325 [ISO || ISO99 || ISO11] (math.h): Likewise.
24326 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24327 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24330 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24333 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24334 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24335 * intl/dgettext.c (DCGETTEXT): Likewise.
24336 * intl/gettext.c (DCGETTEXT): Likewise.
24337 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24338 * posix/regex_internal.h (gettext): Likewise.
24339 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24340 Remove declaration.
24341 * include/argz.h (__argz_count_internal)
24342 (__argz_stringify_internal): Remove declaration.
24343 (__argz_count, __argz_stringify): Declare hidden proto.
24344 * intl/dcgettext.c: Remove use of INTDEF.
24345 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24346 * string/argz-stringify.c: Likewise.
24347 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24348 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24349 Declare hidden proto.
24350 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24351 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24352 Declare hidden proto.
24353 * include/stdio.h (__asprintf_internal): Don't declare.
24354 (__asprintf): Don't define as macro. Declare hidden proto.
24355 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24356 (__fsetlocking): Declare hidden proto.
24357 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24358 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24360 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24361 (_IO_setlinebuf): Remove use of INTUSE.
24362 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24363 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24364 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24365 Remove declaration.
24366 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24367 (_IO_do_flush): Remove use of INTUSE.
24368 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24369 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24370 (_IO_adjust_column, _IO_least_wmarker)
24371 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24372 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24373 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24374 (_IO_default_doallocate, _IO_wdefault_doallocate)
24375 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24376 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24377 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24378 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24379 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24380 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24381 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24382 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24383 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24384 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24385 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24386 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24387 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24389 (_IO_flush_all_internal, _IO_adjust_column_internal)
24390 (_IO_default_uflow_internal, _IO_default_finish_internal)
24391 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24392 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24393 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24394 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24395 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24396 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24397 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24398 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24399 (_IO_file_close_internal, _IO_file_close_it_internal)
24400 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24401 (_IO_file_init_internal, _IO_file_attach_internal)
24402 (_IO_file_fopen_internal, _IO_file_read_internal)
24403 (_IO_file_sync_internal, _IO_file_seek_internal)
24404 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24405 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24406 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24407 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24408 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24409 (_IO_list_all_internal, _IO_link_in_internal)
24410 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24411 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24412 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24413 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24414 (_IO_do_write_internal, _IO_padn_internal)
24415 (_IO_getline_info_internal, _IO_getline_internal)
24416 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24417 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24418 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24419 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24420 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24421 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24422 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24423 with libc_hidden_ver, remove use of INTUSE.
24424 * libio/genops.c: Likewise.
24425 * libio/freopen.c: Likewise.
24426 * libio/freopen64.c: Likewise.
24427 * libio/iofclose.c: Likewise.
24428 * libio/iofdopen.c: Likewise.
24429 * libio/iofflush.c: Likewise.
24430 * libio/iofflush_u.c: Likewise.
24431 * libio/iofgets.c: Likewise.
24432 * libio/iofgets_u.c: Likewise.
24433 * libio/iofopen.c: Likewise.
24434 * libio/iofopncook.c: Likewise.
24435 * libio/iofread.c: Likewise.
24436 * libio/iofread_u.c: Likewise.
24437 * libio/ioftell.c: Likewise.
24438 * libio/iofwrite.c: Likewise.
24439 * libio/iogetline.c: Likewise.
24440 * libio/iogets.c: Likewise.
24441 * libio/iogetwline.c: Likewise.
24442 * libio/iopadn.c: Likewise.
24443 * libio/iopopen.c: Likewise.
24444 * libio/ioseekoff.c: Likewise.
24445 * libio/ioseekpos.c: Likewise.
24446 * libio/iosetbuffer.c: Likewise.
24447 * libio/iosetvbuf.c: Likewise.
24448 * libio/ioungetc.c: Likewise.
24449 * libio/ioungetwc.c: Likewise.
24450 * libio/iovdprintf.c: Likewise.
24451 * libio/iovsprintf.c: Likewise.
24452 * libio/iovsscanf.c: Likewise.
24453 * libio/memstream.c: Likewise.
24454 * libio/obprintf.c: Likewise.
24455 * libio/oldfileops.c: Likewise.
24456 * libio/oldiofclose.c: Likewise.
24457 * libio/oldiofdopen.c: Likewise.
24458 * libio/oldiofopen.c: Likewise.
24459 * libio/oldiopopen.c: Likewise.
24460 * libio/oldstdfiles.c: Likewise.
24461 * libio/putc.c: Likewise.
24462 * libio/setbuf.c: Likewise.
24463 * libio/setlinebuf.c: Likewise.
24464 * libio/stdfiles.c: Likewise.
24465 * libio/strops.c: Likewise.
24466 * libio/vasprintf.c: Likewise.
24467 * libio/vscanf.c: Likewise.
24468 * libio/vsnprintf.c: Likewise.
24469 * libio/vswprintf.c: Likewise.
24470 * libio/wfiledoalloc.c: Likewise.
24471 * libio/wfileops.c: Likewise.
24472 * libio/wgenops.c: Likewise.
24473 * libio/wmemstream.c: Likewise.
24474 * libio/wstrops.c: Likewise.
24475 * libio/__fpurge.c: Likewise.
24476 * libio/__fsetlocking.c: Likewise.
24477 * assert/assert.c: Likewise.
24478 * debug/fgets_chk.c: Likewise.
24479 * debug/fgets_u_chk.c: Likewise.
24480 * debug/fread_chk.c: Likewise.
24481 * debug/fread_u_chk.c: Likewise.
24482 * debug/gets_chk.c: Likewise.
24483 * debug/obprintf_chk.c: Likewise.
24484 * debug/vasprintf_chk.c: Likewise.
24485 * debug/vdprintf_chk.c: Likewise.
24486 * debug/vsnprintf_chk.c: Likewise.
24487 * debug/vsprintf_chk.c: Likewise.
24488 * malloc/mtrace.c: Likewise.
24489 * misc/error.c: Likewise.
24490 * misc/syslog.c: Likewise.
24491 * stdio-common/asprintf.c: Likewise.
24492 * stdio-common/fxprintf.c: Likewise.
24493 * stdio-common/getw.c: Likewise.
24494 * stdio-common/isoc99_fscanf.c: Likewise.
24495 * stdio-common/isoc99_scanf.c: Likewise.
24496 * stdio-common/isoc99_vfscanf.c: Likewise.
24497 * stdio-common/isoc99_vscanf.c: Likewise.
24498 * stdio-common/isoc99_vsscanf.c: Likewise.
24499 * stdio-common/printf-prs.c: Likewise.
24500 * stdio-common/printf_fp.c: Likewise.
24501 * stdio-common/printf_fphex.c: Likewise.
24502 * stdio-common/printf_size.c: Likewise.
24503 * stdio-common/putw.c: Likewise.
24504 * stdio-common/scanf.c: Likewise.
24505 * stdio-common/sprintf.c: Likewise.
24506 * stdio-common/tmpfile.c: Likewise.
24507 * stdio-common/vfprintf.c: Likewise.
24508 * stdio-common/vfscanf.c: Likewise.
24509 * stdlib/strfmon_l.c: Likewise.
24510 * sunrpc/openchild.c: Likewise.
24511 * sunrpc/xdr_stdio.c: Likewise.
24512 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24513 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24515 2012-05-24 Roland McGrath <roland@hack.frob.com>
24517 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24519 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24520 in the third column, to generate for the shared library an IFUNC
24521 that uses _dl_vdso_vsym.
24522 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24523 * Makeconfig (object-suffixes-noshared): New variable.
24525 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24526 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24527 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24528 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24531 * include/sys/time.h (__gettimeofday): Remove macro.
24532 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24533 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24535 (__gettimeofday): Add libc_hidden_def.
24536 (gettimeofday): Add libc_hidden_weak.
24537 * sysdeps/mach/gettimeofday.c: Likewise.
24538 * sysdeps/posix/gettimeofday.c: Likewise.
24539 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24540 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24541 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24542 (__gettimeofday_internal): Remove strong_alias.
24543 (__gettimeofday): Add libc_hidden_def.
24544 (gettimeofday): Add libc_hidden_weak.
24545 * sysdeps/unix/syscalls.list (gettimeofday):
24546 Remove __gettimeofday_internal alias.
24548 2012-05-24 Daniel Jacobowitz <drow@false.org>
24549 H.J. Lu <hongjiu.lu@intel.com>
24552 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24553 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24554 (largebin_index_32_big): New.
24555 (largebin_index): Use it for 16-byte alignment.
24556 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24557 correction with front_misalign.
24559 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24587 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24588 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24590 2012-05-24 Joseph Myers <joseph@codesourcery.com>
24594 * math/libm-test.inc (exp_test): Add test from bug 14036.
24595 (pow_test): Add test from bug 10846.
24597 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24599 (special_function): Do not include flags in test name.
24600 (parse_args): Likewise.
24601 * sysdeps/i386/fpu/libm-test-ulps: Update.
24602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24603 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24604 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24607 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24609 * math/libm-test.inc ("Philosophy"): Update comment about
24611 (UNDERFLOW_EXCEPTION): New macro.
24612 (UNDERFLOW_EXCEPTION_OK): Likewise.
24613 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24614 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24615 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24616 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24617 (INVALID_EXCEPTION_OK): Update value.
24618 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24619 (OVERFLOW_EXCEPTION_OK): Likewise.
24620 (IGNORE_ZERO_INF_SIGN): Likewise.
24621 (test_exceptions): Handle underflow exceptions.
24622 (acos_test): Update for underflow exception expectations.
24623 (cexp_test): Likewise.
24624 (clog_test): Likewise.
24625 (clog10_test): Likewise.
24626 (csqrt_test): Likewise.
24627 (ctan_test): Likewise.
24628 (ctanh_test): Likewise.
24629 (exp_test): Likewise.
24630 (exp10_test): Likewise.
24631 (exp2_test): Likewise.
24632 (expm1_test): Likewise.
24633 (fma_test): Likewise.
24634 (j0_test): Likewise.
24635 (jn_test): Likewise.
24636 (nexttoward_test): Likewise.
24637 (pow_test): Likewise.
24638 (scalbn_test): Likewise.
24639 (scalbln_test): Likewise.
24640 (tan_test): Likewise.
24641 (y1_test): Likewise.
24642 * sysdeps/i386/fpu/libm-test-ulps: Update.
24643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24645 2012-05-23 David S. Miller <davem@davemloft.net>
24647 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24648 (__libc_sigaction): Remove unused local variables.
24650 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24652 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24654 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24656 mktime: avoid signed integer overflow
24657 * time/mktime.c (__mktime_internal): Do not mishandle the case
24658 where diff == INT_MIN.
24660 mktime: simplify computation of average
24661 * time/mktime.c (ranged_convert): Use new time_t_avg function
24662 instead of rolling our own (probably-slower) code.
24664 mktime: do not assume signed right shift propagates sign bit
24665 * time/mktime.c (isdst_differ): New static function.
24666 (__mktime_internal): No need to normalize tm_isdst now.
24667 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24670 mktime: merge another wrapv change from gnulib
24671 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24672 from some compilers.
24674 mktime: remove incorrect attempt at unusual arithmetics
24675 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24676 The code didn't really work on such machines anyway.
24677 (TYPE_MINIMUM): Assume two's complement.
24678 (twos_complement_arithmetic): Verify that long_int and time_t
24679 are two's complement (or unsigned, in the latter case).
24681 mktime: check signed shifts on long_int and time_t, too
24682 * time/mktime.c (SHR): Check that shifts work as desired
24683 on the types long_int and time_t too, as SHR is used on
24686 mktime: do not assume 'long' is wide enough
24687 * time/mktime.c (verify): Move decl up.
24688 (long_int): New type.
24689 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24690 to remove assumption in the code that 'long' is wide enough to
24691 store year values. This assumption is not true on x32 and on
24692 some non-glibc platforms.
24694 mktime: merge wrapv change from gnulib
24695 * time/mktime.c (WRAPV): New macro.
24696 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24697 (guess_time_tm, __mktime_internal): Do not assume that signed
24698 integer overflow wraps around; modern compilers generate code
24699 where this assumption is no longer valid.
24701 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24703 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24704 Replace "jmp L(pseudo_end)" with "ret".
24705 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24708 2012-05-23 Andreas Jaeger <aj@suse.de>
24710 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24711 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24713 2012-05-23 Andreas Jaeger <aj@suse.de>
24714 Maximilian Attems <max@stro.at>
24716 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24719 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24721 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24722 code so that pseudo_end is just ret and the stack pointer is
24723 correct also for static library in error case.
24725 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24727 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24728 move to syscalls.list.
24729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24734 * manual/install.texi (Running make install): Do not mention Linux
24735 kernel version for which pt_chown is not needed.
24736 (Linux): Do not mention problems with nscd with 2.0 kernels.
24737 * INSTALL: Regenerated.
24739 2012-05-23 Andreas Jaeger <aj@suse.de>
24741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24742 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24744 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24745 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24746 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24748 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24750 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24752 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24754 * sysdeps/unix/sysv/linux/bits/in.h
24755 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24757 2012-05-22 Roland McGrath <roland@hack.frob.com>
24759 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24760 (PREPARE_VERSION): Just use assert instead, it will be elided
24761 under [NDEBUG] anyway.
24763 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24765 * sysdeps/unix/sysv/linux/Makefile: Include
24766 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24767 (sysdep_routines): Remove sysctl.
24768 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24769 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24770 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24771 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24772 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24774 2012-05-22 Andreas Jaeger <aj@suse.de>
24776 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24777 that pseudo_end is just ret and the stack pointer is correct also
24778 for static library in error case.
24780 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24783 * nss/nsswitch.c (defconfig_entries): New variable.
24784 (__nss_database_lookup): Don't leak defconfig entries.
24785 (nss_parse_service_list): Don't leak on error paths.
24786 (free_database_entries): New function.
24787 (free_defconfig): New function.
24788 (free_mem): Move common code to free_database_entries.
24790 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24792 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24794 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24796 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24797 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24800 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24801 (INTERNAL_SYSCALL_TYPES): Likewise.
24802 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24803 (LOAD_REGS_TYPES_[1-6]): Likewise.
24804 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24805 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24807 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24809 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24810 copysignl for GLIBC_2_0.
24811 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24812 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24814 logbl for GLIBC_2_0.
24815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24818 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24820 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24821 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24823 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24826 * time/mktime.c: Update copyright years.
24828 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24830 mktime: merge comment-quoting-style change from gnulib
24831 * time/mktime.c: Quote 'like this' in comments.
24832 The GNU coding standards suggest that we no longer quote `like this',
24833 as "`" and "'" are typically rendered asymmetrically nowadays.
24834 The typical gnulib style is to quote 'like this' when quoting
24835 code, and "like this" when quoting English.
24837 * time/mktime.c (compile-command): Add "-I.".
24839 mktime: merge mktime-internal.h change from gnulib
24840 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24842 mktime: merge time_r change from gnulib
24843 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24845 mktime: merge DEBUG change from gnulib
24846 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24847 case system <time.h> has a #define.
24849 mktime: merge <sys/types.h> change from gnulib
24850 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24851 since <time.t> is now guaranteed to define time_t.
24853 mktime: merge HAVE_CONFIG_H change from gnulib
24854 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24856 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24858 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24863 (struct rusage): Use anonymous union to pad each field to
24866 2012-05-21 David S. Miller <davem@davemloft.net>
24868 * Makefules (o-iterator): Remove .s cases.
24869 (compile-command.s): Delete.
24870 (COMPILE.s): Delete.
24871 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24873 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24875 * configure.in (libc_cv_predef_stack_protector): Only consider
24876 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24877 * configure: Regenerated.
24879 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24882 New macro. Use R*LP on int and pointer.
24883 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24884 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24885 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24886 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24888 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24889 [__WORDSIZE_TIME64_COMPAT32] instead of
24890 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24891 (struct utmp): Likewise.
24892 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24893 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24895 (__WORDSIZE_TIME64_COMPAT32): This.
24896 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24897 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24898 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24899 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24900 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24901 (__WORDSIZE_TIME64_COMPAT32): New macro.
24903 2012-05-21 Andreas Jaeger <aj@suse.de>
24905 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24906 only if [SHARED]. Add prototype for __wcschr_ia32.
24908 2012-05-21 Roland McGrath <roland@hack.frob.com>
24910 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24911 of %rbp unmolested in the jmp_buf while mangling the low bits.
24912 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24913 unmolested high bits of %rbp while demangling the low bits.
24914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24916 2012-05-21 Andreas Jaeger <aj@suse.de>
24918 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24919 * sunrpc/svc_simple.c: Use it for registerrpc.
24920 * sunrpc/xcrypt.c: Use it for passwd2des.
24922 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24924 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24926 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24927 Don't define if [__SYSCALL_WORDSIZE != 32].
24928 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24931 2012-05-21 Bruno Haible <bruno@clisp.org>
24932 Andreas Jaeger <aj@suse.de>
24934 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24935 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24936 inptr and inend for must_buffer_ch.
24937 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24938 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24939 * stdio-common/Makefile (tests): Remove bug15.
24940 (bug15-ENV): Remove macro.
24941 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24944 2012-05-19 Andreas Jaeger <aj@suse.de>
24945 Roland McGrath <roland@hack.frob.com>
24947 * manual/contrib.texi: Completely rewritten. It contains now an
24948 alphabetical list of contributors and their contributions.
24950 2012-05-21 Richard Henderson <rth@twiddle.net>
24952 * misc/getauxval.c (__getauxval): Use unsigned long int.
24953 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24954 (getauxval): Use unsigned long int.
24956 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24958 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24960 2012-05-21 Roland McGrath <roland@hack.frob.com>
24962 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24963 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24964 __alignof__ (long double).
24966 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24970 2012-05-20 Richard Henderson <rth@twiddle.net>
24972 * misc/getauxval.c: New file.
24973 * misc/sys/auxv.h: New file.
24974 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24975 (routines): Add getauxval.
24976 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24977 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24978 * elf/dl-sysdep.c (_dl_auxv): Remove.
24979 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24980 * elf/dl-support.c (_dl_auxv): New variable.
24981 (_dl_aux_init): Initialize it.
24982 * manual/startup.texi (Auxiliary Vector): New node.
24983 * sysdeps/generic/bits/hwcap.h: New file.
24984 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24985 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24986 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24987 * sysdeps/sparc/sysdep.h: ... here. Include it.
24988 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25001 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25005 2012-05-19 David S. Miller <davem@davemloft.net>
25007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25009 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25012 * math/s_ccosh.c: Include <float.h>
25013 (__ccosh): Avoid internal overflow calculating sinh and cosh
25014 values before multiplying by sin and cos values.
25015 * math/s_ccoshf.c: Likewise.
25016 * math/s_ccoshl.c: Likewise.
25017 * math/s_csin.c: Likewise.
25018 * math/s_csinf.c: Likewise.
25019 * math/s_csinl.c: Likewise.
25020 * math/s_csinh.c: Likewise.
25021 * math/s_csinhf.c: Likewise.
25022 * math/s_csinhl.c: Likewise.
25023 * math/libm-test.inc (ccos_test): Add more tests.
25024 (ccosh_test): Likewise.
25025 (csin_test): Likewise.
25026 (csinh_test): Likewise.
25027 * sysdeps/i386/fpu/libm-test-ulps: Update.
25028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25030 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25032 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25033 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25035 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25037 2012-05-19 Joseph Myers <joseph@codesourcery.com>
25039 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25040 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25041 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25042 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25043 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25044 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25045 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25046 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25047 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25048 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25049 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25050 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25051 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25052 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25053 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25054 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25055 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25056 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25057 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25058 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25059 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25060 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25061 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25062 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25063 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25064 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25065 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25066 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25067 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25068 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25069 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25071 2012-05-18 Andreas Jaeger <aj@suse.de>
25073 * csu/.gitignore: Delete.
25075 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25077 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25078 (timex): Use __syscall_slong_t.
25080 2012-05-18 Andreas Jaeger <aj@suse.de>
25081 Carlos O'Donell <carlos_odonell@mentor.com>
25083 * manual/install.texi (Configuring and compiling): Update
25084 description about files modified in the source directory.
25085 * INSTALL: Regenerated.
25087 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25089 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25090 value. Use "or" to set return value to -1.
25091 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25092 negate return value.
25094 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25096 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25097 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25098 failure if the compiler has Graphite support disabled.
25099 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25101 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25102 CFLAGS-memmove.c): Likewise.
25103 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25106 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25108 * sysdeps/x86_64/x32/_itoa.h: New file.
25110 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25111 getdents system call only if kernel and user dirents have the
25112 same d_ino and d_off.
25114 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25115 LLONG_MAX != LONG_MAX.
25116 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25117 (_fitoa_word): Likewise.
25119 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25121 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25122 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25125 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25126 include <bits/wordsize.h>. Check __x86_64__ instead of
25128 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25129 if __x86_64__ is defined. Use anonymous union on fpstate.
25131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25134 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25136 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25137 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25138 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25139 Refer to _rtld_local_ro instead of _rtld_global_ro.
25140 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25142 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25144 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25146 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25147 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25148 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25150 * sysdeps/powerpc/powerpc32/dl-machine.c
25151 (__elf_machine_runtime_setup) [PROF]: Don't reference
25154 2012-05-18 Andreas Jaeger <aj@suse.de>
25156 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25157 function only available for GCCs before 3.4 since GCC 3.4
25158 introduced a builtin.
25160 (llrintf): Likewise.
25161 (llrint): Likewise.
25168 (nearbyint): Likewise.
25169 (nearbyintf): Likewise.
25173 (floorf): Likewise.
25175 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25177 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25178 on both fields and cast pointer to __syscall_ulong_t.
25180 * bits/types.h (__fsword_t): New type.
25181 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25182 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25184 (__FSWORD_T_TYPE): Likewise.
25185 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25186 (__FSWORD_T_TYPE): Likewise.
25187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25188 (__FSWORD_T_TYPE): Likewise.
25189 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25190 (__FSWORD_T_TYPE): Likewise.
25191 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25192 __SWORD_TYPE with __fsword_t.
25193 (statfs64): Likewise.
25195 2012-05-17 David S. Miller <davem@davemloft.net>
25197 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25199 2012-05-17 Andreas Jaeger <aj@suse.de>
25201 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25204 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25206 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25208 2012-05-17 Andreas Jaeger <aj@suse.de>
25210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25213 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25215 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25217 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25219 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25220 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25222 2012-05-17 Andreas Jaeger <aj@suse.de>
25223 Carlos O'Donell <carlos_odonell@mentor.com>
25226 * sysdeps/x86_64/multiarch/init-arch.h
25227 (bit_YMM_Usable): Rename to...
25228 (bit_AVX_Usable): ... this.
25229 (bit_FMA4_Usable): New macro.
25230 (bit_XMM_state): New macro.
25231 (bit_YMM_state): New macro.
25232 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25233 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25234 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25235 (CPUID_OSXSAVE): New macro.
25236 (CPUID_AVX): New macro.
25237 (CPUID_FMA4): New macro.
25238 (index_YMM_Usable): Rename to...
25239 (index_AVX_Usable): ... this.
25240 (HAS_AVX): Use HAS_ARCH_FEATURE.
25241 (HAS_FMA4): Likewise.
25242 (HAS_YMM_USABLE): Remove.
25243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25244 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25246 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25247 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25248 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25249 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25250 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25252 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25254 * math/libm-test.c: Support platforms without multiple rounding modes.
25255 * math/bug-nextafter.c: Support platforms without FP exceptions.
25256 * math/bug-nexttoward.c: Likewise.
25257 * math/test-fenv.c: Likewise.
25258 * math/test-misc.c: Likewise.
25259 * stdlib/bug-getcontext.c: Likewise.
25261 2012-05-17 Andreas Jaeger <aj@suse.de>
25263 * manual/examples/search.c (critter_cmp): Change signature to
25265 * manual/string.texi (Collation Functions): Likewise.
25267 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25269 * bits/types.h: Fold copyright years.
25270 * bits/typesizes.h: Likewise.
25271 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25273 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25275 * time/time.h: Likewise.
25277 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25280 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25281 in instead of returning them. Return void.
25282 (__libc_mallinfo): Accumulate over all arenas.
25283 (__malloc_stats): Adjust for change in int_mallinfo interface.
25285 2012-05-16 Roland McGrath <roland@hack.frob.com>
25288 * configure.in (NM): Add AC_CHECK_TOOL for it.
25289 (libc_extra_cflags): New substituted variable.
25290 Check for -fstack-protector being used implicitly.
25291 * configure: Regenerated.
25292 * config.make.in (config-extra-cflags): New variable,
25293 gets @libc_extra_cflags@.
25294 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25297 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25298 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25299 * configure: Regenerated.
25300 * config.make.in (CPPUNDEFS): New substituted variable.
25301 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25302 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25303 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25305 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25307 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25308 (mq_attr): Use __syscall_slong_t.
25310 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25313 Check __x86_64__ instead of __WORDSIZE.
25314 (_STAT_VER_LINUX): Likewise.
25315 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25316 __syscall_ulong_t and __syscall_slong_t.
25317 (stat64): Likewise.
25319 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25321 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25323 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25325 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25327 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25329 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25332 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25333 include <bits/wordsize.h>. Check __x86_64__ instead of
25335 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25337 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25340 include <bits/wordsize.h>. Check __x86_64__ instead of
25342 (user_regs_struct): Use "__extension__ unsigned long long"
25343 instead of "unsigned long" if __x86_64__ is defined.
25344 (user): Likewise. Pad after pointer field if __ILP32__ is
25347 2012-05-16 Joseph Myers <joseph@codesourcery.com>
25349 * configure.in (makeinfo): Require version 4.5 or later. Allow
25351 * configure: Regenerated.
25352 * manual/install.texi (texinfo): Increase version requirement to
25354 * INSTALL: Regenerated.
25356 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25358 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25360 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25362 * sysdeps/x86_64/x32/ffs.c: New file.
25364 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25366 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25367 defined. Use __syscall_ulong_t.
25368 (shminfo): Use __syscall_ulong_t.
25369 (shm_info): Likewise.
25371 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25374 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25376 (msgqnum_t): Use __syscall_ulong_t.
25377 (msglen_t): Likewise.
25378 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25381 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25382 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25384 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25386 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25387 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25389 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25392 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25393 include <bits/wordsize.h>. Check __x86_64__ instead of
25396 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25397 "unsigned long long int" if __x86_64__ is defined.
25398 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25400 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25402 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25404 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25406 (GET_PC): Cast to uintptr_t first.
25407 (GET_FRAME): Likewise.
25408 (GET_STACK): Likewise.
25410 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25411 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25412 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25413 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25414 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25415 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25416 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25417 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25418 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25419 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25420 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25421 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25422 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25423 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25424 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25425 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25426 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25427 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25428 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25429 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25430 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25431 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25432 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25434 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25435 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25436 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25437 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25438 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25440 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25442 * Makerules (+depfiles): Also collect depfiles from .oS in
25444 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25445 .oS, $(libnldbl-routines)).
25447 * Makerules (native-compile-mkdep-flags): Define.
25448 * sunrpc/Makefile (extra-objs): Add $(addprefix
25449 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25450 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25451 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25452 calling $(make-target-directory).
25454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25456 * bits/types.h (__snseconds_t): Removed.
25457 * time/time.h (struct timespec): Replace __snseconds_t with
25459 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25460 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25462 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25463 (__SNSECONDS_T_TYPE): Likewise.
25464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25465 (__SNSECONDS_T_TYPE): Likewise.
25466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25467 (__SNSECONDS_T_TYPE): Likewise.
25469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25471 * sysdeps/mach/hurd/bits/typesizes.h
25472 (__SYSCALL_SLONG_TYPE): New macro.
25473 (__SYSCALL_ULONG_TYPE): Likewise.
25475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25477 * bits/types.h (__syscall_slong_t): New type.
25478 (__syscall_ulong_t): Likewise.
25480 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25481 (__SYSCALL_ULONG_TYPE): Likewise.
25482 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25483 (__SYSCALL_SLONG_TYPE): Likewise.
25484 (__SYSCALL_ULONG_TYPE): Likewise.
25485 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25486 (__SYSCALL_SLONG_TYPE): Likewise.
25487 (__SYSCALL_ULONG_TYPE): Likewise.
25488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25489 (__SYSCALL_SLONG_TYPE): Likewise.
25490 (__SYSCALL_ULONG_TYPE): Likewise.
25492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25494 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25495 Add sigaltstack-offsets.sym.
25496 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25497 <sigaltstack-offsets.h>.
25498 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25499 longjmp_msg pointer.
25500 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25501 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25503 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25505 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25507 * elf/stackguard-macros.h: Remove file.
25508 * sysdeps/generic/stackguard-macros.h: New file.
25509 * sysdeps/i386/stackguard-macros.h: Likewise.
25510 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25511 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25512 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25513 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25514 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25515 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25516 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25517 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25518 <elf/stackguard-macros.h>.
25521 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25522 __aligned__ in attribute.
25523 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25524 (gregset_t): Likewise.
25526 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25528 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25529 * sysdeps/x86_64/64/Implies-after: Here. New file.
25530 * sysdeps/x86_64/x32/Implies-after: New file.
25532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25534 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25535 and access return value for _dl_profile_fixup. Use R10_LP to
25538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25540 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25544 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25545 * sysdeps/x86_64/x32/sysdep.h: New file.
25547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25549 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25550 * sysdeps/x86_64/setjmp.S: Likewise.
25552 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25554 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25556 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25557 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25558 remove unused global constant.
25560 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25562 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25563 include of <not-cancel.h>.
25565 2012-05-15 Roland McGrath <roland@hack.frob.com>
25567 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25569 2012-05-15 Jeff Law <law@redhat.com>
25570 Andreas Jaeger <aj@suse.de>
25573 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25575 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25576 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25577 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25578 code changing __hst_map_handle.map.
25580 2012-05-15 Roland McGrath <roland@hack.frob.com>
25582 * configure.in (sysnames): Look for Implies-before and Implies-after
25584 * configure: Regenerated.
25586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25588 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25589 8-byte data alignment with LP_SIZE alignment.
25591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25593 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25598 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25600 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25602 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25603 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25604 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25608 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25610 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25611 (stackinfo_sub_sp): Likewise.
25613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25618 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25625 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25630 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25634 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25635 into R11_LP and load __x86_64_shared_cache_size_half into
25638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25640 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25643 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25652 powerpc32/power7/fpu/s_logb.c via #include.
25653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25654 powerpc32/power7/fpu/s_logbf.c via #include.
25655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25656 powerpc32/power7/fpu/s_logbl.c via #include.
25658 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25660 * README.libm: Remove file.
25662 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25664 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25665 count for x32. Use R*_LP and omit operand-size suffix.
25667 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25669 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25670 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25671 * sysdeps/x86_64/x32/shlib-versions: New file.
25673 2012-05-14 Roland McGrath <roland@hack.frob.com>
25675 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25676 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25677 Use _dl_fatal_printf instead.
25679 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25681 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25682 set if not set by the user. Do not allow for being unset.
25683 * sysdeps/unix/sysv/linux/configure: Regenerated.
25685 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25687 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25688 the `q' suffix from lea and replace .quad with ASM_ADDR.
25690 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25692 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25693 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25695 (PTR_DEMANGLE): Likewise.
25697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25699 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25701 (ASM_ADDR): Likewise.
25702 (RAX_LP): Likewise.
25703 (RBP_LP): Likewise.
25704 (RBX_LP): Likewise.
25705 (RCX_LP): Likewise.
25706 (RDI_LP): Likewise.
25707 (RSI_LP): Likewise.
25708 (RSP_LP): Likewise.
25711 (R10_LP): Likewise.
25712 (R10_LP): Likewise.
25713 (R11_LP): Likewise.
25714 (R12_LP): Likewise.
25715 (R13_LP): Likewise.
25716 (R14_LP): Likewise.
25717 (R15_LP): Likewise.
25719 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25721 * sysdeps/x86_64/x32/dl-machine.h: New file.
25723 2012-05-14 Andreas Jaeger <aj@suse.de>
25725 * manual/Makefile (subdir): Remove export of subdir.
25726 (all): Remove target.
25727 (.PHONY): Remove all from list.
25728 (mkinstalldirs): Remove.
25729 (.PHONY): Remove installdirs from list.
25730 ($(inst_infodir)/libc.info): Use make-target-directory.
25731 (installdirs): Remove.
25732 (subdir_%): Remove.
25733 (glibc-targets): Remove.
25736 ($(objpfx)stubs ../po/manual.pot): Remove.
25737 ($(objpfx)stamp%): Remove.
25738 (make-target-directory): Remove.
25739 (subdir_install): Remove.
25740 (routines): Remove.
25747 * manual/.gitignore: Remove, it's not needed anymore.
25748 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25750 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25752 (texis): Renamed to $(objpfx)texis.
25753 (texis-path): New, contains path to generated files.
25754 (chapters.%): Use texis-path for complete path, add extra argument
25756 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25757 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25758 (summary,texi, stamp-summary): Use complete path of
25759 files. Generate files in build dir.
25760 (dir-add.texi): Build in build dir.
25761 (libm-err.texi,stamp-libm-err): Likewise.
25762 (version.texi, stamp-version): Likewise.
25763 (.%c.texi): Likewise.
25764 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25765 (mostlyclean): Remove target.
25766 (realclean): Remove target.
25767 (generated): Add new variable with contents from mostlyclean and
25768 realclean, remove entries duplicated in common-mostlyclean, add
25769 stamp-libm-err and stamp-version.
25770 (generated-dirs): Add libc directory.
25771 ($(inst_infodir)/libc.info): Install files from build dir.
25773 * manual/install.texi (Configuring and compiling): Adjust since
25774 the info files are not part of the tar ball anymore.
25776 2012-05-14 Andreas Jaeger <aj@suse.de>
25778 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25781 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25785 to 2.2.0 where earlier.
25786 * sysdeps/unix/sysv/linux/configure: Regenerated.
25787 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25788 Remove conditional code.
25789 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25790 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25791 Remove conditional code.
25792 [!__NR_lchown]: Likewise.
25793 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25794 [__NR_lchown]: Likewise.
25795 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25796 comment referencing __ASSUME_LCHOWN_SYSCALL.
25797 * sysdeps/unix/sysv/linux/i386/sigaction.c
25798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25801 Remove conditional code.
25802 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25803 (__protocol_available): Remove #if 0 code.
25804 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25806 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25807 * sysdeps/unix/sysv/linux/kernel-features.h
25808 (__ASSUME_GETCWD_SYSCALL): Don't define.
25809 (__ASSUME_REALTIME_SIGNALS): Likewise.
25810 (__ASSUME_PREAD_SYSCALL): Likewise.
25811 (__ASSUME_PWRITE_SYSCALL): Likewise.
25812 (__ASSUME_POLL_SYSCALL): Likewise.
25813 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25814 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25816 (__ASSUME_SIOCGIFNAME): Don't define.
25817 (__ASSUME_MSG_NOSIGNAL): Likewise.
25818 (__ASSUME_SENDFILE): Define unconditionally.
25819 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25820 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25822 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25823 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25824 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25825 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25826 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25827 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25828 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25830 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25833 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25834 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25839 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25840 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25845 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25846 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25851 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25852 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25853 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25854 Remove conditional code.
25855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25856 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25857 Remove conditional code.
25858 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25859 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25860 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25861 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25862 Remove conditional code.
25863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25864 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25865 Remove conditional code.
25866 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25867 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25868 Remove conditional code.
25869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25870 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25871 Remove conditional code.
25872 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25873 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25874 Remove conditional code.
25875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25876 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25877 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25878 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25879 * sysdeps/unix/sysv/linux/sigaction.c
25880 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25881 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25882 * sysdeps/unix/sysv/linux/sigpending.c
25883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25885 * sysdeps/unix/sysv/linux/sigprocmask.c
25886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25888 * sysdeps/unix/sysv/linux/sigsuspend.c
25889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25891 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25892 (__libc_missing_rt_sigs): Remove.
25893 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25894 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25895 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25896 Remove conditional code.
25897 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25898 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25901 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25905 2012-05-14 Andreas Jaeger <aj@suse.de>
25907 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25908 it's not used in glibc.
25909 (__coshm1): Likewise.
25910 (__acosh1p): Likewise.
25913 * manual/string.texi (Copying and Concatenation): Add missing
25914 variable in concat example.
25915 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25917 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25921 __builtin_clzl with __builtin_clzll.
25923 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25926 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25929 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25931 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25932 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25933 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25934 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25936 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25938 * NEWS: Update ia64 info.
25940 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25942 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25945 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25947 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25948 * sysdeps/unix/syscalls.list (dup3): Likewise.
25949 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25950 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25952 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25954 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25955 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25957 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25959 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25961 (TLS_IE): Use mov/add instead of movq/addq to load thread
25963 (TLS_GD_PREFIX): New.
25966 2012-05-11 David S. Miller <davem@davemloft.net>
25968 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25969 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25970 (_FPU_SETCW): Likewise.
25972 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25974 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25975 is 32-byte aligned.
25977 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25980 * iconvdata/gb18030.c: Update tables.
25981 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25982 characters specially.
25983 (BODY for TO_LOOP): Add encoding of missing ranges.
25985 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25988 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25989 * sysdeps/mach/hurd/dup3.c: Likewise.
25990 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25991 * sysdeps/powerpc/memmove.c:: Likewise.
25993 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25995 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25996 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25998 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26000 * elf/elf.h (R_X86_64_RELATIVE64): New.
26001 (R_X86_64_NUM): Updated.
26002 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26003 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26004 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26005 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26006 tst-quad1pie tst-quad2pie
26007 (modules-names): Add tst-quadmod1 tst-quadmod2.
26008 ($(objpfx)tst-quad1): New dependency.
26009 ($(objpfx)tst-quad2): Likewise.
26010 ($(objpfx)tst-quad1pie): Likewise.
26011 ($(objpfx)tst-quad2pie): Likewise.
26012 * sysdeps/x86_64/tst-quad1.c: New file.
26013 * sysdeps/x86_64/tst-quad1pie.c: New file.
26014 * sysdeps/x86_64/tst-quad2.c: Likewise.
26015 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26016 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26017 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26018 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26019 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26023 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26024 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26025 * streams/stropts.h (t_scalar_t): Define type.
26027 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26028 (_PATH_PRESERVE): Set to "/var/lib".
26029 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26031 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26034 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26035 if __dir_mkfile succeeded.
26037 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26038 checking for _hurd_dtablesize. Unlock it right after having
26039 finished _hurd_dtable allocation.
26041 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26043 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26044 * sysdeps/mach/hurd/configure: Regenerated.
26045 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26046 special-casing to...
26047 * sysdeps/gnu/configure.in: ... this new file.
26048 * sysdeps/unix/sysv/linux/configure: Regenerated.
26049 * sysdeps/gnu/configure: New generated file.
26051 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26052 for Linux: use nsec instead of usec, as well as:
26053 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26054 members of type struct timespec.
26055 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26057 (struct stat64): Likewise.
26058 (_STATBUF_ST_NSEC): New macro.
26059 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26061 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26062 __strtoul_internal rather than strtoul.
26064 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26066 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26069 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26071 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26072 which preserves existing values.
26073 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26075 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26077 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26078 TIMEOUT values. Return EINVAL for NFDS values either negative or
26079 greater than FD_SETSIZE.
26081 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26083 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26084 allocated, call __vm_protect to finish enabling the existing space, and
26085 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26086 allocate the remainder.
26088 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26090 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26091 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26093 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26095 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26096 sysdeps/mach/hurd/readlink.c.
26098 * posix/tst-sysconf.c (posix_options): Only use
26099 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26100 _POSIX_SYNCHRONIZED_IO when they are defined
26101 * sysdeps/mach/hurd/bits/posix_opt.h:
26102 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26103 (_XOPEN_REALTIME): Undefine macro.
26104 (_XOPEN_REALTIME_THREADS): Undefine macro.
26105 (_XOPEN_SHM): Undefine macro.
26106 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26110 (_POSIX_ASYNC_IO): Undefine macro.
26111 (_POSIX_PRIORITIZED_IO): Undefine macro.
26112 (_POSIX_SPIN_LOCKS): Define macro to -1.
26114 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26115 SA_NODEFER, SA_RESETHAND.
26116 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26117 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26120 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26122 * elf/Makefile (pldd-modules): Define unconditionally.
26124 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26126 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26128 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26130 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26131 Return ENOENT when name is empty.
26132 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26134 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26136 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26138 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26140 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26142 Fix mlock in all cases except non-readable pages.
26143 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26144 instead of VM_PROT_ALL as parameter to __vm_wire function.
26146 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26147 (__mkdir): When path is `/', just fail with EEXIST.
26148 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26152 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26153 <sys/uio.h> (for writev).
26154 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26155 and <sys/param.h> (for MIN).
26157 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26159 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26160 REQUESTED_TIME. Properly set the remaining time and return EINTR
26163 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26165 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26166 Depend on against $(link-rpcuserlibs).
26168 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26170 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26171 (__libc_stack_end): Do not use attribute_relro.
26172 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26173 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
26174 to libthread-provided value.
26175 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26178 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26181 * bits/libc-lock.h (__libc_once_get): New macro.
26182 * sysdeps/mach/bits/libc-lock.h: Likewise.
26183 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26185 instead of using implementation details.
26187 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26188 * libio/freopen.c: Likewise.
26189 * libio/freopen64.c: Likewise.
26190 * misc/syslog.c: Likewise.
26191 * nscd/connections.c: Likewise.
26192 * nscd/netgroupcache.c: Likewise.
26193 * sysdeps/posix/getcwd.c: Likewise.
26195 2012-05-10 Roland McGrath <roland@hack.frob.com>
26197 * math/w_ilogbf.c: Add #include <limits.h>.
26199 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26201 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
26202 path instead of returning without unlocking.
26204 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26205 immediate-write ioctls.
26206 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26208 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26210 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26211 __builtin_frame_address instead of making assumptions about the
26212 location of the return address relative to DATA. Force early load of
26213 the return address.
26214 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26215 __builtin_frame_address.
26218 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26219 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26220 implement dup3 and do some further code clean-ups.
26221 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26222 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26224 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26226 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26228 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26229 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26230 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26231 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26232 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26235 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26236 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26237 when handler == SIG_ERR, not when handler != SIG_ERR.
26239 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26241 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26242 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26245 accept4 for GNU Hurd.
26246 * include/sys/socket.h (__libc_accept4): New prototype.
26247 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26248 to implement __libc_accept4.
26249 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26251 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26253 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26254 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26255 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26256 signal-defines.sym.
26258 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26260 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
26262 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
26264 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26265 assertion on O_CLOEXEC flag.
26266 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26267 * hurd/intern-fd.c: Likewise.
26268 * hurd/port2fd.c: Likewise.
26270 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26273 * bits/in.h (IPV6_PKTINFO): Define new macro.
26274 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26276 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26281 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26282 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26283 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26284 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26287 * math/libm-test.inc (logb_test) : Additional logb tests.
26289 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26290 Andreas Jaeger <aj@suse.de>
26292 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26293 * configure: Regenerated.
26294 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26295 * config.make.in (link-obsolete-rpc): New substituted variable.
26296 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26297 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26298 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26299 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26300 so that libc.a contains the symbols.
26301 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26302 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26303 * sunrpc/auth_none.c: Likewise.
26304 * sunrpc/auth_unix.c: Likewise.
26305 * sunrpc/authdes_prot.c: Likewise.
26306 * sunrpc/authuxprot.c: Likewise.
26307 * sunrpc/clnt_gen.c: Likewise.
26308 * sunrpc/clnt_perr.c: Likewise.
26309 * sunrpc/clnt_raw.c: Likewise.
26310 * sunrpc/clnt_simp.c: Likewise.
26311 * sunrpc/clnt_tcp.c: Likewise.
26312 * sunrpc/clnt_udp.c: Likewise.
26313 * sunrpc/clnt_unix.c: Likewise.
26314 * sunrpc/des_crypt.c: Likewise.
26315 * sunrpc/des_soft.c: Likewise.
26316 * sunrpc/get_myaddr.c: Likewise.
26317 * sunrpc/key_call.c: Likewise.
26318 * sunrpc/key_prot.c: Likewise.
26319 * sunrpc/netname.c: Likewise.
26320 * sunrpc/pm_getmaps.c: Likewise.
26321 * sunrpc/pm_getport.c: Likewise.
26322 * sunrpc/pmap_clnt.c: Likewise.
26323 * sunrpc/pmap_prot.c: Likewise.
26324 * sunrpc/pmap_prot2.c: Likewise.
26325 * sunrpc/pmap_rmt.c: Likewise.
26326 * sunrpc/publickey.c: Likewise.
26327 * sunrpc/rpc_cmsg.c: Likewise.
26328 * sunrpc/rpc_common.c: Likewise.
26329 * sunrpc/rpc_dtable.c: Likewise.
26330 * sunrpc/rpc_prot.c: Likewise.
26331 * sunrpc/rpc_thread.c: Likewise.
26332 * sunrpc/rtime.c: Likewise.
26333 * sunrpc/svc.c: Likewise.
26334 * sunrpc/svc_auth.c: Likewise.
26335 * sunrpc/svc_raw.c: Likewise.
26336 * sunrpc/svc_run.c: Likewise.
26337 * sunrpc/svc_tcp.c: Likewise.
26338 * sunrpc/svc_udp.c: Likewise.
26339 * sunrpc/svc_unix.c: Likewise.
26340 * sunrpc/svcauth_des.c: Likewise.
26341 * sunrpc/xcrypt.c: Likewise.
26342 * sunrpc/xdr.c: Likewise.
26343 * sunrpc/xdr_array.c: Likewise.
26344 * sunrpc/xdr_float.c: Likewise.
26345 * sunrpc/xdr_intXX_t.c: Likewise.
26346 * sunrpc/xdr_mem.c: Likewise.
26347 * sunrpc/xdr_rec.c: Likewise.
26348 * sunrpc/xdr_ref.c: Likewise.
26349 * sunrpc/xdr_sizeof.c: Likewise.
26350 * sunrpc/xdr_stdio.c: Likewise.
26352 2012-05-10 Roland McGrath <roland@hack.frob.com>
26354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26355 change. Update copyright years.
26357 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26359 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26361 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26362 Joseph Myers <joseph@codesourcery.com>
26363 Paul Pluzhnikov <ppluzhnikov@google.com>
26366 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26368 [cross-compiling] (extra-libs): Likewise.
26369 [cross-compiling] (extra-libs-others): Likewise.
26370 [cross-compiling] (librpcsvc-routines): Likewise.
26371 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26372 [cross-compiling] (omit-deps): Likewise.
26373 (sunrpc-CPPFLAGS): New variable.
26374 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26375 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26376 (cross-rpcgen-objs): New variable.
26377 (extra-objs): Append $(cross-rpcgen-objs).
26378 ($(cross-rpcgen-objs)): New rule.
26379 ($(objpfx)cross-rpcgen): Likewise.
26380 (rpcgen-cmd): Define to use $(built-program-file). Expand
26382 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26383 ($(objpfx)x%.stmp): Likewise.
26384 * sunrpc/proto.h [IS_IN_build] (_): Define.
26385 [IS_IN_build] (_libc_intl_domainname): Likewise.
26387 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26390 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26391 and R_X86_64_TPOFF64.
26393 2012-05-10 Joseph Myers <joseph@codesourcery.com>
26395 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26396 sysdeps/unix/sysv/syscalls.list.
26399 * sysdeps/unix/sysv/syscalls.list: Remove file.
26401 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26404 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26405 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26406 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26407 (__LC_IDENTIFICATION): Make these macros useful in #if
26408 expressions, as required by C99.
26410 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26412 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26413 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26416 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26418 * stdlib/longlong.h: Updated from GCC.
26420 2012-05-09 Andreas Jaeger <aj@suse.de>
26422 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26423 default is first entry.
26424 (run_mode): Set type.
26425 (main): Remove informal message about syslog.
26426 (options): Fix typo.
26429 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
26432 (llrintf): Likewise.
26433 (llrint): Likewise.
26436 (nearbyint): Likewise.
26437 (nearbyintf): Likewise.
26439 2012-05-09 Andreas Jaeger <aj@suse.de>
26440 Pedro Alves <palves@redhat.com>
26442 * nscd/nscd.c (run_mode): Use enum.
26443 (main): Cleanup coding style issue.
26445 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
26446 Andreas Jaeger <aj@suse.de>
26448 * nscd/nscd.c (go_background): Replaced with...
26449 (run_mode): ... this.
26450 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
26451 (options): Add -F --foreground.
26452 (main): Implement it.
26453 (parse_opt): Parse it.
26455 2012-05-09 Andreas Jaeger <aj@suse.de>
26458 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26459 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26460 -Wconversion warning.
26461 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26464 2012-05-09 Joseph Myers <joseph@codesourcery.com>
26466 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26468 (LC_ALL): Use macro-int-constant.
26469 (LC_COLLATE): Likewise.
26470 (LC_CTYPE): Likewise.
26471 (LC_MESSAGES): Likewise.
26472 (LC_MONETARY): Likewise.
26473 (LC_NUMERIC): Likewise.
26474 (LC_TIME): Likewise.
26475 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26476 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26477 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26478 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26480 [C99-based standards] (float_t): Expect type.
26481 [C99-based standards] (double_t): Expect type.
26482 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26484 [C99-based standards] (HUGE_VALL): Likewise.
26485 [C99-based standards] (INFINITY): Likewise.
26486 [C99-based standards] (NAN): Likewise.
26487 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26488 [C99-based standards] (FP_NAN): Likewise.
26489 [C99-based standards] (FP_NORMAL): Likewise.
26490 [C99-based standards] (FP_SUBNORMAL): Likewise.
26491 [C99-based standards] (FP_ZERO): Likewise.
26492 [C99-based standards] (FP_FAST_FMA): Use
26493 optional-macro-int-constant. Specify type. Require == 1.
26494 [C99-based standards] (FP_FAST_FMAF): Likewise.
26495 [C99-based standards] (FP_FAST_FMAL): Likewise.
26496 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26497 [C99-based standards] (FP_ILOGBNAN): Likewise.
26498 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26500 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26501 [C99-based standards] (math_errhandling): Specify type.
26502 [ISO99 || ISO11] (signgam): Do not allow.
26503 [non-C99-based standards] (copysignf): Do not allow.
26504 [non-C99-based standards] (exp2f): Likewise.
26505 [non-C99-based standards] (log2f): Likewise.
26506 [non-C99-based standards] (modff): Allow.
26507 [non-C99-based standards] (erff): Do not allow.
26508 [non-C99-based standards] (erfcf): Likewise.
26509 [non-C99-based standards] (gammaf): Likewise.
26510 [non-C99-based standards] (hypotf): Likewise.
26511 [non-C99-based standards] (j0f): Likewise.
26512 [non-C99-based standards] (j1f): Likewise.
26513 [non-C99-based standards] (jnf): Likewise.
26514 [non-C99-based standards] (lgammaf): Likewise.
26515 [non-C99-based standards] (tgammaf): Likewise.
26516 [non-C99-based standards] (y0f): Likewise.
26517 [non-C99-based standards] (y1f): Likewise.
26518 [non-C99-based standards] (ynf): Likewise.
26519 [non-C99-based standards] (isnanf): Likewise.
26520 [non-C99-based standards] (acoshf): Likewise.
26521 [non-C99-based standards] (asinhf): Likewise.
26522 [non-C99-based standards] (atanhf): Likewise.
26523 [non-C99-based standards] (cbrtf): Likewise.
26524 [non-C99-based standards] (expm1f): Likewise.
26525 [non-C99-based standards] (ilogbf): Likewise.
26526 [non-C99-based standards] (log1pf): Likewise.
26527 [non-C99-based standards] (logbf): Likewise.
26528 [non-C99-based standards] (nextafterf): Likewise.
26529 [non-C99-based standards] (remainderf): Likewise.
26530 [non-C99-based standards] (rintf): Likewise.
26531 [non-C99-based standards] (scalbf): Likewise.
26532 [non-C99-based standards] (copysignl): Likewise.
26533 [non-C99-based standards] (exp2l): Likewise.
26534 [non-C99-based standards] (log2l): Likewise.
26535 [non-C99-based standards] (modfl): Allow.
26536 [non-C99-based standards] (erfl): Do not allow.
26537 [non-C99-based standards] (erfcl): Likewise.
26538 [non-C99-based standards] (gammal): Likewise.
26539 [non-C99-based standards] (hypotl): Likewise.
26540 [non-C99-based standards] (j0l): Likewise.
26541 [non-C99-based standards] (j1l): Likewise.
26542 [non-C99-based standards] (jnl): Likewise.
26543 [non-C99-based standards] (lgammal): Likewise.
26544 [non-C99-based standards] (tgammal): Likewise.
26545 [non-C99-based standards] (y0l): Likewise.
26546 [non-C99-based standards] (y1l): Likewise.
26547 [non-C99-based standards] (ynl): Likewise.
26548 [non-C99-based standards] (isnanl): Likewise.
26549 [non-C99-based standards] (acoshl): Likewise.
26550 [non-C99-based standards] (asinhl): Likewise.
26551 [non-C99-based standards] (atanhl): Likewise.
26552 [non-C99-based standards] (cbrtl): Likewise.
26553 [non-C99-based standards] (expm1l): Likewise.
26554 [non-C99-based standards] (ilogbl): Likewise.
26555 [non-C99-based standards] (log1pl): Likewise.
26556 [non-C99-based standards] (logbl): Likewise.
26557 [non-C99-based standards] (nextafterl): Likewise.
26558 [non-C99-based standards] (remainderl): Likewise.
26559 [non-C99-based standards] (rintl): Likewise.
26560 [non-C99-based standards] (scalbl): Likewise.
26561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26562 [non-C99-based standards] (FP_*): Do not allow.
26563 [C99-based standards] (FP_*): Change to
26564 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26565 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26567 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26568 (SIG_ERR): Likewise.
26569 [X/Open-based standards] (SIG_HOLD): Likewise.
26570 (SIG_IGN): Likewise.
26571 (SIGABRT): Use macro-int-constant. Specify type. Require
26573 (SIGFPE): Likewise.
26574 (SIGILL): Likewise.
26575 (SIGINT): Likewise.
26576 (SIGSEGV): Likewise.
26577 (SIGTER): Likewise.
26578 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26579 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26580 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26581 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26582 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26583 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26584 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26585 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26586 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26587 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26588 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26589 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26590 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26591 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26592 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26593 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26594 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26595 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26596 [X/Open-based standards] (SIGTRAP): Likewise.
26597 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26598 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26599 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26600 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26601 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26604 2012-05-08 Ian Wienand <ianw@vmware.com>
26607 * time/tzset.c (__tzset_parse_tz): Update default rules for
26608 daylight time changes in the Energy Policy Act of 2005.
26610 2012-05-09 Andreas Jaeger <aj@suse.de>
26613 * elf/ldconfig.c (parse_conf): Change string to make clear that
26614 ldconfig only issued a warning if ld.so.conf does not exist.
26616 2012-05-08 David S. Miller <davem@davemloft.net>
26618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26619 movxtod instead of popping the value on the stack.
26621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26623 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26625 * config.h.in: Add HAVE_ARM_PCS_VFP.
26627 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
26630 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26631 checking but the checks are disabled for any reason.
26633 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26635 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26636 and ELF64_R_TYPE with ELFW(R_TYPE).
26638 2012-05-08 Joseph Myers <joseph@codesourcery.com>
26640 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26641 (ulimit): Likewise.
26643 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26644 (settimeofday): Likewise.
26646 2012-05-08 Mike Frysinger <vapier@gentoo.org>
26648 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26649 a struct th_u2 inside the union, and move tu_block/tu_code into
26650 a new th_u3 union of tu_block/tu_code inside of that. Move
26651 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26652 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26653 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26654 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26655 (th_stuff): Change to th_u1.tu_stuff.
26657 (th_msg): Change to th_u1.th_u2.tu_data.
26659 2012-05-07 David S. Miller <davem@davemloft.net>
26661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26664 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26665 (SETUP_PIC_REG): Use it.
26666 (SETUP_PIC_REG_LEAF): Use it.
26668 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26672 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26674 (EXPL_FINITE): Likewise.
26675 (FLDLOG): Likewise.
26676 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26677 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26679 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26681 (EXPL_FINITE): Likewise.
26682 (FLDLOG): Likewise.
26683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26684 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26686 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26687 test of -max_value argument for long double.
26688 * sysdeps/i386/fpu/libm-test-ulps: Update.
26689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26691 2012-05-06 David S. Miller <davem@davemloft.net>
26693 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26694 quad soft-float symbols whose references which are compiler
26696 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26698 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26704 (EXPL_FINITE): Likewise.
26705 (FLDLOG): Likewise.
26708 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26709 Adjust comments for base varying.
26710 (__expl_finite): Change alias to EXPL_FINITE.
26711 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26713 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26714 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26716 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26717 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26719 (EXPL_FINITE): Likewise.
26720 (FLDLOG): Likewise.
26723 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26724 Adjust comments for base varying.
26725 (__expl_finite): Change alias to EXPL_FINITE.
26726 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26731 * math/libm-test.inc (check_float_internal): Correct ulp
26732 calculation for subnormal expected results.
26734 2012-05-06 Andreas Jaeger <aj@suse.de>
26736 * Makeconfig (+math-flags): New, set to -frounding-math.
26737 (+cflags): Add +math-flags so that all of glibc gets compiled with
26740 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26742 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26744 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26750 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26751 (__ieee754_expl): Allow for and saturate large arguments.
26752 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26753 (u_threshold): Likewise.
26754 (__exp): Call __ieee754_exp before checking for overflow and
26756 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26757 (u_threshold): Likewise.
26758 (__expf): Call __ieee754_expf before checking for overflow and
26760 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26761 (u_threshold): Likewise.
26762 (__expl): Call __ieee754_expl before checking for overflow and
26764 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26765 (__ieee754_expl): Allow for and saturate large arguments.
26766 * math/libm-test.inc (exp_test): Add another test. Do not allow
26767 missing overflow exception on overflow.
26768 (expm1_test): Do not allow missing overflow exception on overflow.
26770 * sysdeps/i386/fpu/e_expl.c: Move to ...
26771 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26772 rather than using inline asm.
26773 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26774 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26775 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26777 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26780 (signal): Likewise.
26784 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26786 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26787 sysdeps/unix/common/syscalls.list.
26788 (fchmod): Likewise.
26789 (fchown): Likewise.
26790 (ftruncate): Likewise.
26791 (getrusage): Likewise.
26792 (gettimeofday): Likewise.
26793 (setpgid): Likewise.
26794 (setregid): Likewise.
26795 (setreuid): Likewise.
26796 (sigaction): Likewise.
26797 (truncate): Likewise.
26798 (vhangup): Likewise.
26799 * sysdeps/unix/common/syscalls.list: Remove file.
26800 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26801 * sysdeps/unix/sysv/linux/Implies: Likewise.
26803 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26805 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26807 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26811 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26814 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26817 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26820 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26823 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26826 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26829 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26833 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26837 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26840 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26844 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26848 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26850 * sysdeps/unix/common/bits/dirent.h: Remove file.
26851 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26853 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26854 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26855 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26856 * sysdeps/unix/bsd/isatty.c: Likewise.
26857 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26858 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26859 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26861 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26864 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26865 long double comparison inaccuracies.
26866 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26869 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26871 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26874 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26877 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26878 nonzero digits before rounding a hex value.
26879 * stdlib/tst-strtod.c (tests): Add another test.
26881 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26883 * sysdeps/s390/fpu/libm-test-ulps: Update.
26885 2012-05-03 Andreas Jaeger <aj@suse.de>
26887 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26888 does not get optimized out.
26889 (malloc_opt_barrier): New.
26891 2012-05-03 Andreas Jaeger <aj@suse.de>
26892 Roland McGrath <roland@hack.frob.com>
26894 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26895 intermediate file deletion.
26896 (generated): Add .symlist files.
26898 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26901 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26902 Redirect under this condition.
26903 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26904 [__USE_GNU] (__dprintf_chk): Not under this condition.
26905 [__USE_GNU] (__vdprintf_chk): Likewise.
26906 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26907 under this condition.
26908 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26909 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26910 [__USE_XOPEN2K8] (vdprintf): Likewise.
26911 [__USE_GNU] (__dprintf_chk): Not under this condition.
26912 [__USE_GNU] (__vdprintf_chk): Likewise.
26913 [__USE_GNU] (dprintf): Likewise.
26914 [__USE_GNU] (vdprintf): Likewise.
26916 2012-05-03 Roland McGrath <roland@hack.frob.com>
26918 * elf/Makefile (common-generated): Set this instead of generated for
26919 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26920 $(all-built-dso)-derived lists.
26922 2012-05-03 Andreas Jaeger <aj@suse.de>
26924 * sysdeps/i386/fpu/libm-test-ulps: Update.
26927 * FAQ.in: Likewise.
26928 * scripts/gen-FAQ.pl: Likewise.
26929 * manual/install.texi (Installation): Point to online location of
26931 * Makefile (files-for-dist): Remove FAQ.
26934 2012-05-02 Allan McRae <allan@archlinux.org>
26936 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26937 (LDFLAGS-reldepmod5.so): Likewise.
26938 (LDFLAGS-reldep6mod1.so): Likewise.
26939 (LDFLAGS-reldep6mod4.so): Likewise.
26940 (LDFLAGS-reldep8mod3.so): Likewise.
26941 (LDFLAGS-unload4mod1.so): Likewise.
26942 (LDFLAGS-unload4mod2.so): Likewise.
26943 (LDFLAGS-tst-initorder): Likewise.
26944 (LDFLAGS-tst-initordera2.so): Likewise.
26945 (LDFLAGS-tst-initordera3.so): Likewise.
26946 (LDFLAGS-tst-initordera4.so): Likewise.
26947 (LDFLAGS-tst-initorderb2.so): Likewise.
26948 (LDFLAGS-noload): Likewise.
26949 (LDFLAGS-next): Likewise.
26950 (LDFLAGS-order2mod1.so): Likewise.
26951 (LDFLAGS-order2mod2.so): Likewise.
26952 (LDFLAGS-tst-initorder2): Likewise.
26953 (LDFLAGS-tst-initorder2a.so): Likewise.
26954 (LDFLAGS-tst-initorder2b.so): Likewise.
26955 (LDFLAGS-tst-initorder2c.so): Likewise.
26956 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26958 2012-05-02 David S. Miller <davem@davemloft.net>
26960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26962 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26965 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26967 2012-05-02 Andreas Jaeger <aj@suse.de>
26969 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26970 since we manipulate rounding mode.
26971 (CPPFLAGS-test-idouble.c): Likewise.
26972 (CPPFLAGS-test-ifloat.c): Likewise.
26973 (CFLAGS-test-ldouble.c): Likewise.
26974 (CFLAGS-test-double.c): Likewise.
26975 (CFLAGS-test-float.c): Likewise.
26976 (CFLAGS-test-misc.c): Likewise.
26977 (CFLAGS-test-test-fenv.c): Likewise.
26979 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26983 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26984 comparisons to determine direction to adjust input.
26986 2012-05-01 Roland McGrath <roland@hack.frob.com>
26988 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26989 output to the target.
26991 * scripts/localplt.awk: New file.
26992 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26993 (check-localplt-CFLAGS): Variable removed.
26994 ($(all-built-dso:=.jmprel)): New static pattern rule.
26995 (generated): Add those targets.
26996 (localplt-built-dso): New variable.
26997 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26999 * elf/check-localplt.c: File removed.
27001 * scripts/check-execstack.awk: New file.
27002 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27003 (check-execstack-CFLAGS): Variable removed.
27004 ($(objpfx)check-execstack.h): Target removed.
27005 ($(objpfx)execstack-default): New target.
27006 (generated): Add that instead of check-execstack.h.
27007 ($(all-built-dso:=.phdr)): New static pattern rule.
27008 (generated): Add those targets.
27009 * elf/check-execstack.c: File removed.
27011 * scripts/check-textrel.awk: New file.
27012 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27013 (check-textrel-CFLAGS): Variable removed.
27014 (all-built-dso): Use := to define.o
27015 ($(all-built-dso:=.dyn)): New static pattern rule.
27016 (generated): Add those targets.
27017 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27018 * config.make.in (READELF): New substituted variable.
27019 * elf/check-textrel.c: File removed.
27021 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27023 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27025 * conform/data/ctype.h-data [C99-based standards] (isblank):
27027 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27028 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27030 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27031 Specify type. Require positive value.
27032 (EILSEQ): Likewise.
27033 (ERANGE): Likewise.
27034 [ISO || POSIX] (EILSEQ): Do not expect.
27035 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27036 Specify type. Require positive value.
27037 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27038 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27039 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27040 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27041 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27042 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27043 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27044 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27045 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27046 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27047 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27048 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27049 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27050 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27051 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27052 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27053 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27054 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27055 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27056 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27057 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27058 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27059 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27060 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27061 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27062 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27063 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27064 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27065 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27066 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27067 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27068 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27069 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27070 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27071 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27072 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27073 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27074 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27075 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27076 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27077 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27078 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27079 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27080 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27081 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27082 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27083 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27084 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27085 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27086 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27087 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27088 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27089 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27090 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27091 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27092 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27093 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27094 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27097 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27098 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27099 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27100 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27101 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27102 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27103 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27104 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27105 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27106 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27107 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27108 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27109 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27110 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27111 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27112 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27113 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27115 (FLT_ROUNDS): Expect as macro, not constant.
27116 (FLT_MANT_DIG): Use macro-int-constant.
27117 (DBL_MANT_DIG): Likewise.
27118 (LDBL_MANT_DIG): Likewise.
27119 (FLT_DIG): Likewise.
27120 (DBL_DIG): Likewise.
27121 (LDBL_DIG): Likewise.
27122 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27123 (DBL_MIN_EXP): Likewise.
27124 (LDBL_MIN_EXP): Likewise.
27125 (FLT_MAX_EXP): Use macro-int-constant.
27126 (DBL_MAX_EXP): Likewise.
27127 (LDBL_MAX_EXP): Likewise.
27128 (FLT_MAX_10_EXP): Likewise.
27129 (DBL_MAX_10_EXP): Likewise.
27130 (LDBL_MAX_10_EXP): Likewise.
27131 (FLT_MAX): Use macro-constant.
27132 (DBL_MAX): Likewise.
27133 (LDBL_MAX): Likewise.
27134 (FLT_EPSILON): Use macro-constant. Give upper bound.
27135 (DBL_EPSILON): Likewise.
27136 (LDBL_EPSILON): Likewise.
27137 (FLT_MIN): Likewise.
27138 (DBL_MIN): Likewise.
27139 (LDBL_MIN): Likewise.
27140 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27141 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27142 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27143 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27144 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27145 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27146 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27147 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27148 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27149 [ISO11] (FLT_TRUE_MIN): Likewise.
27150 [ISO11] (LDBL_TRUE_MIN): Likewise.
27151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27152 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27153 (SCHAR_MIN): Use macro-int-constant. Specify type.
27154 (SCHAR_MAX): Likewise.
27155 (UCHAR_MAX): Likewise.
27156 (CHAR_MIN): Likewise.
27157 (CHAR_MAX): Likewise.
27158 (MB_LEN_MAX): Use macro-int-constant.
27159 (SHRT_MIN): Use macro-int-constant. Specify type.
27160 (SHRT_MAX): Likewise.
27161 (USHRT_MAX): Likewise.
27162 (INT_MAX): Likewise.
27163 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27165 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27167 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27169 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27170 bound negative. Suffix upper bound with "L".
27171 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27173 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27175 [C99-based standards] (LLONG_MAX): Likewise.
27176 [C99-based standards] (ULLONG_MAX): Likewise.
27177 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27179 [ISO11] (max_align_t): Require type.
27180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27182 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27183 from $CFLAGS, without defining away __attribute__ calls.
27184 (checknamespace): Use $CFLAGS_namespace.
27186 * conform/conformtest.pl (@keywords): Only include C99 keywords
27187 for standards based on C99 or C11.
27189 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27191 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27194 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27195 usability of symbols in #if.
27197 * conform/conformtest.pl: If macro or constant types start
27198 "promoted:", expect the symbol to be of the following type
27199 promoted by the integer promotions.
27201 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27202 in one place. Also handle "macro-constant".
27204 * conform/conformtest.pl: Only accept expected macro values with
27205 "==". Parse all "macro" lines in one place.
27206 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27208 * conform/conformtest.pl: Handle braced types on "constant" lines
27209 instead of handling "typed-constant".
27210 * conform/data/signal.h-data: Use "constant" instead of
27213 * conform/conformtest.pl: Handle "optional-" at start of lines in
27214 one place rather than duplicating several cases. Handle each
27215 format of "macro" line with initial "optional-".
27217 * conform/conformtest.pl: Only accept expected constant or
27218 optional-constant values with "==". Parse all "constant" lines in
27219 one place. Parse all "optional-constant" lines in one place.
27220 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27221 * conform/data/fmtmsg.h-data: Likewise.
27222 * conform/data/netinet/in.h-data: Likewise.
27223 * conform/data/tar.h-data: Likewise.
27224 * conform/data/limits.h-data: Use "==" form on "constant" and
27225 "optional-constant" lines.
27227 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27228 Use -std=c99 for XOPEN2K.
27229 (@knownproblems): Remove.
27230 (newtoken): Don't check %isknown.
27232 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27233 Do not expect macro.
27234 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27235 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27236 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27237 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27238 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27239 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27240 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27241 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27242 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27243 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27244 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27245 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27246 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27247 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27248 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27249 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27250 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27251 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27252 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27253 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27254 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27255 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27256 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27258 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27259 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27260 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27261 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27262 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27263 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27264 [XPG3] (acosh): Likewise.
27265 [XPG3] (asinh): Likewise.
27266 [XPG3] (atanh): Likewise.
27267 [XPG3] (cbrt): Likewise.
27268 [XPG3] (expm1): Likewise.
27269 [XPG3] (ilogb): Likewise.
27270 [XPG3] (log1p): Likewise.
27271 [XPG3] (logb): Likewise.
27272 [XPG3] (nextafter): Likewise.
27273 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27274 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27275 [XPG3] (remainder): Likewise.
27276 [XPG3] (rint): Likewise.
27277 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27278 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27279 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27280 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27281 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27282 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27283 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27284 [UNIX98 || XOPEN2K] (scalb): Expect.
27285 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27286 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27287 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27288 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27289 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27290 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27291 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27292 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27293 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27294 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27295 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27296 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27297 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27298 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27299 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27300 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27301 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27302 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27303 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27304 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27305 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27306 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27307 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27308 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27309 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27310 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27311 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27312 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27313 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27314 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27315 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27316 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27317 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27318 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27319 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27320 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27321 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27322 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27323 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27324 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27325 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27326 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27327 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27328 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27329 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27330 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27331 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27332 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27333 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27334 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27335 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27336 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27337 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27338 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27339 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27340 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27341 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27342 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27343 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27344 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27345 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27346 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27347 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27348 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27349 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27350 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27351 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27352 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27353 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27354 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27355 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27356 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27357 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27358 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27359 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27360 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27361 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27362 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27363 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27364 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27365 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27366 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27367 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27368 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27369 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27370 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27371 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27372 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27373 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27374 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27375 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27376 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27377 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27378 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27379 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27380 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27381 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27382 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27383 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27384 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27385 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27386 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27387 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27388 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27389 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27390 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27391 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27392 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27393 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27394 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27395 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27396 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27397 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27398 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27399 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27400 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27401 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27402 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27403 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27404 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27405 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27406 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27407 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27408 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27409 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27410 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27411 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27412 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27413 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27414 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27415 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27416 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27417 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27418 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27419 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27420 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27421 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27423 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27424 _XOPEN_SOURCE_EXTENDED for XPG4.
27426 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27428 * Makeconfig (localtime): Remove variable.
27429 (inst_localtime-file): Likewise.
27431 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27452 2012-05-01 Joseph Myers <joseph@codesourcery.com>
27456 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27457 comparisons to determine direction to adjust input.
27458 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27459 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27460 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27462 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27466 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27467 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27469 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27471 * math/libm-test.inc (nexttoward_test): Add more tests.
27473 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27476 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27477 in version GLIBC_2.1, not GLIBC_2.0.
27478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27481 2012-04-30 Joseph Myers <joseph@codesourcery.com>
27484 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27486 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27487 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27488 * math/libm-test.inc (acos_test): Add more tests.
27489 (asin_test): Likewise.
27490 * sysdeps/i386/fpu/libm-test-ulps: Update.
27491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27494 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27496 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27497 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27498 * math/libm-test.inc (acos_test_tonearest): New function.
27499 (acos_test_towardzero): Likewise.
27500 (acos_test_downward): Likewise.
27501 (acos_test_upward): Likewise.
27502 (asin_test_tonearest): Likewise.
27503 (asin_test_towardzero): Likewise.
27504 (asin_test_downward): Likewise.
27505 (asin_test_upward): Likewise.
27506 (main): Call the new functions.
27507 * sysdeps/i386/fpu/libm-test-ulps: Update.
27508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27512 * math/e_exp10.c: Include <float.h>.
27513 (__ieee754_exp10): Handle underflow here rather than multiplying
27514 large negative argument by M_LN10.
27515 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27517 * math/e_exp10l.c: Include <float.h>.
27518 (__ieee754_exp10l): Handle underflow here rather than multiplying
27519 large negative argument by M_LN10l.
27520 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27521 spurious overflow exception on underflow.
27523 2012-04-29 Marek Polacek <polacek@redhat.com>
27525 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27526 (__fortify_function): New macro.
27527 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27528 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27529 __extern_always_inline.
27530 * libio/bits/stdio2.h: Likewise.
27531 * libio/bits/stdio.h: Likewise.
27532 * string/string.h: Likewise.
27533 * string/bits/string3.h: Likewise.
27534 * include/stdio.h: Likewise.
27535 * stdlib/bits/stdlib.h: Likewise.
27536 * stdlib/stdlib.h: Likewise.
27537 * rt/bits/mqueue2.h: Likewise.
27538 * rt/mqueue.h: Likewise.
27539 * posix/bits/unistd.h: Likewise.
27540 * posix/unistd.h: Likewise.
27541 * io/bits/poll2.h: Likewise.
27542 * io/bits/fcntl2.h: Likewise.
27543 * io/fcntl.h: Likewise.
27544 * io/sys/poll.h: Likewise.
27545 * misc/bits/syslog.h: Likewise.
27546 * misc/bits/syslog-ldbl.h: Likewise.
27547 * misc/sys/syslog.h: Likewise.
27548 * socket/bits/socket2.h: Likewise.
27549 * socket/sys/socket.h: Likewise.
27550 * debug/tst-chk1.c: Likewise.
27551 * wcsmbs/bits/wchar2.h: Likewise.
27552 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27553 * wcsmbs/wchar.h: Likewise.
27555 2012-04-29 Andreas Jaeger <aj@suse.de>
27557 * Makerules (tests): Remove enable-check-abi protection.
27558 (check-abi-warn): Remove.
27559 (check-abi-%): Remove check-abi-warn usage.
27561 * configure.in: Remove check-abi configure option.
27562 * configure: Regenerated.
27563 * config.make.in (enable-check-abi): Remove.
27565 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27568 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27569 double functions to double *_finite functions.
27572 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27573 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27575 * stdio-common/Makefile (tests): Add tst-sprintf3.
27576 * stdio-common/tst-sprintf3.c: New file.
27578 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27579 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27581 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27583 * conform/conformtest.pl: Remove duplicate typed-constant
27586 2012-04-28 David S. Miller <davem@davemloft.net>
27588 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27589 (check-abi-%): Remove AWK script prerequisite and explicit
27591 (check-abi): Rewrite to just diff the symlist with the abilist.
27592 (config-tls, config-abi-config): Delete, no longer used.
27593 (update-abi-%): Remove AWK script and explicit abilist directory.
27594 (update-abi): Rewrite to simply compare and conditionally copy the
27595 symlist and the sysdep abilist file. Remove update-abi-config
27597 * abilist/ld.abilist: Remove.
27598 * abilist/libBrokenLocale.abilist: Remove.
27599 * abilist/libanl.abilist: Remove.
27600 * abilist/libcrypt.abilist: Remove.
27601 * abilist/libdl.abilist: Remove.
27602 * abilist/librt.abilist: Remove.
27603 * abilist/libthread_db.abilist: Remove.
27604 * abilist/libutil.abilist: Remove.
27605 * scripts/extract-abilist.awk: Remove.
27606 * scripts/merge-abilist.awk: Remove.
27607 * sysdeps/generic/libcidn.abilist: New file.
27608 * sysdeps/generic/libnss_compat.abilist: New file.
27609 * sysdeps/generic/libnss_db.abilist: New file.
27610 * sysdeps/generic/libnss_dns.abilist: New file.
27611 * sysdeps/generic/libnss_files.abilist: New file.
27612 * sysdeps/generic/libnss_hesiod.abilist: New file.
27613 * sysdeps/generic/libnss_nis.abilist: New file.
27614 * sysdeps/generic/libnss_nisplus.abilist: New file.
27615 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27616 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27617 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27620 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27621 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27622 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27623 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27624 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27625 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27626 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27627 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27629 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27630 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27632 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27635 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27636 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27637 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27638 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27639 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27641 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27642 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27643 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27645 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27748 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27749 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27750 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27753 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27754 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27755 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27756 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27757 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27758 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27759 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27760 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27761 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27813 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27815 * conform/conformtest.pl: Fix typo in handling typed-constant from
27818 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27820 * README: Cut down references to pre-2.6 Linux kernels and
27821 Linuxthreads. Update lists of configurations in libc and ports
27822 and sort alphabetically. Say "or newer" with Linux kernel version
27825 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27827 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27830 * math/libm-test.inc (logb_test_downward): New test to expose
27831 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27834 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27837 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27839 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27840 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27842 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27844 * sysdeps/unix/i386/brk.S: Remove file.
27845 * sysdeps/unix/i386/dl-brk.S: Likewise.
27846 * sysdeps/unix/i386/pipe.S: Likewise.
27847 * sysdeps/unix/i386/sigreturn.S: Likewise.
27848 * sysdeps/unix/i386/syscall.S: Likewise.
27849 * sysdeps/unix/i386/vfork.S: Likewise.
27850 * sysdeps/unix/i386/wait.S: Likewise.
27852 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27853 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27855 * configure.in (arm*-none*): Do not allow without
27856 --enable-hacker-mode.
27857 (netbsd*): Remove case setting base_os.
27858 (386bsd*): Likewise.
27859 (freebsd*): Likewise.
27862 (sunos*): Likewise.
27863 (ultrix*): Likewise.
27864 (newsos*): Likewise.
27865 (dynix*): Likewise.
27871 (minix*): Likewise.
27872 (irix4*): Likewise.
27873 (irix6*): Likewise.
27874 (solaris[2-9]*): Likewise.
27876 * configure: Regenerated.
27878 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27881 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27882 overflow or cancellation in calculating denominator.
27883 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27885 down expression to avoid unexpected rounding in newer GCCs.
27886 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27888 2012-04-26 David S. Miller <davem@davemloft.net>
27890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27891 long-double compat symbols.
27892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27906 2012-04-25 David S. Miller <davem@davemloft.net>
27908 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27909 HWCAP_* values only after the memory barriers have been defined.
27910 (atomic_full_barrier): Define.
27911 (atomic_read_barrier): Define.
27912 (atomic_write_barrier): Define.
27914 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27916 * shlib-versions: Add libgcc_s version information.
27917 * sysdeps/generic/libgcc_s.h: Remove.
27918 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27920 * sysdeps/gnu/unwind-resume.c: Likewise.
27921 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27923 2012-04-25 David S. Miller <davem@davemloft.net>
27925 * sysdeps/unix/sparc/brk.S: Delete.
27926 * sysdeps/unix/sparc/dl-brk.S: Delete.
27927 * sysdeps/unix/sparc/pipe.S: Delete.
27928 * sysdeps/unix/sparc/sysdep.S: Delete.
27929 * sysdeps/unix/sparc/sysdep.h: Delete.
27930 * sysdeps/unix/sparc/vfork.S: Delete.
27931 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27932 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27933 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27934 ret_ERRVAL, r0, r1, MOVE): Define.
27935 (JUMPTARGET): Remove.
27936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27937 sysdeps/unix/sparc/sysdep.h
27938 (ENTRY, END): Remove.
27939 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27941 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27943 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27944 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27947 * timezone/README: Update upstream location and email address for
27949 * timezone/zdump.c: Update from tzcode 2012b.
27950 * timezone/zic.c: Likewise.
27952 * configure.in (libc_cv_as_needed): Remove test.
27953 * configure: Regenerated.
27954 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27955 conditional definition.
27956 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27957 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27958 * config.make.in (have-as-needed): Remove variable.
27960 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27961 Paul Pluzhnikov <ppluzhnikov@google.com>
27963 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27966 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27968 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27969 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27970 * sysdeps/sh/strlen.S: Likewise.
27972 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27974 * sysdeps/unix/fork.S: Remove file.
27975 * sysdeps/unix/i386/fork.S: Likewise.
27976 * sysdeps/unix/sparc/fork.S: Likewise.
27978 * sysdeps/unix/system.c: Remove file.
27979 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27981 * sysdeps/unix/getegid.S: Remove file.
27982 * sysdeps/unix/geteuid.S: Likewise.
27984 2012-04-24 Roland McGrath <roland@hack.frob.com>
27986 * scripts/check-localplt.awk: New file.
27987 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27989 * scripts/data/localplt-generic.data: Add a comment.
27991 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27992 NODE when __dir_mkfile failed.
27993 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27994 Reported by Ludovic Courtès <ludo@gnu.org>.
27996 2012-04-24 Andreas Jaeger <aj@suse.de>
27998 * Makerules (common-clean): Also remove gen-as-const-headers
28001 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28003 * Makerules (native-compile): Do not change working directory for
28004 build. Use $(OUTPUT_OPTION) in command.
28005 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28007 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28010 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28011 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28012 * math/libm-test.inc (floor_test): Add more tests.
28013 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28015 2012-04-24 Joseph Myers <joseph@codesourcery.com>
28017 * sysdeps/unix/getdents.c: Remove file.
28018 * sysdeps/unix/sysv/getdents.c: Likewise.
28019 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28021 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28022 sysdeps/unix/mman/syscalls.list.
28024 (mprotect): Likewise.
28026 (munmap): Likewise.
28027 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28028 * sysdeps/unix/mman/syscalls.list: Remove.
28029 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28031 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28032 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28033 * configure: Regenerated.
28034 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28035 $(libgcc_s_suffix).
28036 * config.make.in (libgcc_s_suffix): Remove variable.
28038 2012-04-23 Joseph Myers <joseph@codesourcery.com>
28040 * sysdeps/unix/sysv/gethostname.c: Move to ...
28041 * sysdeps/posix/gethostname.c: ... here.
28043 * sysdeps/unix/execve.S: Remove file.
28045 * sysdeps/unix/_exit.S: Remove file.
28047 2012-04-23 Andreas Jaeger <aj@suse.de>
28050 * manual/Makefile: Remove make dist support, there's no
28051 need for a stand-alone documentation tar ball.
28052 (TEXI2DVI): Define always, it's not in Makeconfig.
28055 (edition): Removed.
28056 (glibc-doc-$(edition).tar): Removed
28060 (ETAGS): Remove, it's in Makeconfig.
28061 (move-if-change): Remove, it's in Makeconfig.
28063 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
28066 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28067 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28068 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28069 (strtod_l, strtof_l, strtold_l): Remove __wur.
28070 It is not necessarily an error to ignore strtol's return value.
28071 One can reliably look at the stored endptr to decide whether
28072 the number had valid syntax.
28074 2012-04-21 Andreas Jaeger <aj@suse.de>
28077 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28079 2012-04-21 Joseph Myers <joseph@codesourcery.com>
28081 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28082 * sysdeps/unix/sysv/Versions: Remove file.
28084 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28089 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
28092 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28093 version from __vm86.
28095 2012-04-20 Joseph Myers <joseph@codesourcery.com>
28097 * sysdeps/unix/common/lxstat.c: Remove file.
28098 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28100 * sysdeps/unix/sysv/Makefile: Remove file.
28102 * sysdeps/unix/sysv/direct.h: Remove file.
28104 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28105 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28106 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28107 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28108 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28109 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28110 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28112 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28114 * sysdeps/unix/xmknod.c: Remove file.
28115 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28117 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28119 * sysdeps/unix/sysv/i386/time.S: Remove file.
28121 * sysdeps/unix/fxstat.c: Remove file.
28122 * sysdeps/unix/xstat.c: Likewise.
28123 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28125 * sysdeps/unix/sysv/sigaction.c: Remove file.
28127 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28128 (sysdep_headers): Remove variable.
28129 [termio.h not in sysdep_headers] (generated): Likewise.
28130 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28131 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28132 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28133 * sysdeps/unix/sysv/tcflow.c: Likewise.
28134 * sysdeps/unix/sysv/tcflush.c: Likewise.
28135 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28136 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28137 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28138 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28139 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28141 * sysdeps/unix/siglist.c: Remove file.
28143 * sysdeps/unix/getppid.S: Remove file.
28145 * sysdeps/unix/mkdir.c: Remove file.
28146 * sysdeps/unix/rmdir.c: Likewise.
28148 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28150 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28152 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28153 errlist-compat value.
28155 2012-04-18 David S. Miller <davem@davemloft.net>
28157 * sysdeps/generic/memcopy.h (reg_char): Delete.
28158 * debug/strcat_chk.c: Use char, not reg_char.
28159 * debug/strcpy_chk.c: Likewise.
28160 * debug/strncat_chk.c: Likewise.
28161 * debug/strncpy_chk.c: Likewise.
28162 * string/memchr.c: Likewise.
28163 * string/memrchr.c: Likewise.
28164 * string/rawmemchr.c: Likewise.
28165 * string/strcat.c: Likewise.
28166 * string/strchr.c: Likewise.
28167 * string/strchrnul.c: Likewise.
28168 * string/strcmp.c: Likewise.
28169 * string/strcpy.c: Likewise.
28170 * string/strncat.c: Likewise.
28171 * string/strncmp.c: Likewise.
28172 * string/strncpy.c: Likewise.
28174 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28176 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28177 __builtin_memcopy is called when src and dest ranges are known to not
28180 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28182 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28183 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28184 fwd_align_merge macro call.
28185 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28186 bwd_align_merge macro call.
28187 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28189 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28191 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28192 bwd_align_merge macros.
28193 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28194 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28195 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28197 2012-04-18 David S. Miller <davem@davemloft.net>
28199 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28201 2012-04-18 Andreas Jaeger <aj@suse.de>
28204 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28205 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28208 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28209 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28210 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28212 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28213 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28214 Adjust for changed ldbl-128 files.
28216 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28217 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28220 2012-04-17 David S. Miller <davem@davemloft.net>
28222 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28224 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28226 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28227 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28228 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28229 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28230 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28231 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28233 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28236 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28237 * math/libm-test.inc: Add ilogb errno and exception tests.
28238 * math/w_ilogb.c: New file: ilogb wrapper.
28239 * math/w_ilogbf.c: New file: ilogbf wrapper.
28240 * math/w_ilogbl.c: New file: ilogbl wrapper.
28241 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28242 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28243 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28244 exception being thrown with 0.0 as argument.
28245 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28246 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28247 exception being thrown with 0.0 as argument.
28248 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28249 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28250 exception being thrown with 0.0 as argument.
28251 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28252 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28253 exception being thrown with 0.0 as argument.
28254 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28255 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
28256 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
28257 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28258 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28259 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28260 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28261 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28262 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28264 2012-04-17 Petr Baudis <pasky@ucw.cz>
28266 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28269 2012-04-16 Marek Polacek <polacek@redhat.com>
28271 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28273 2012-04-16 Marek Polacek <polacek@redhat.com>
28275 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28276 operands of fdivp instruction.
28278 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28280 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28281 * elf/tst-auditmod3b.c: Likewise.
28282 * elf/tst-auditmod4b.c: Likewise.
28283 * elf/tst-auditmod5b.c: Likewise.
28284 * elf/tst-auditmod6b.c: Likewise.
28285 * elf/tst-auditmod6c.c: Likewise.
28286 * elf/tst-auditmod7b.c: Likewise.
28287 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28288 * sysdeps/x86_64/preconfigure.in: Likewise.
28289 * sysdeps/x86_64/preconfigure: Regenerated.
28291 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28293 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28296 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
28298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28299 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28301 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28304 * locale/iso-639.def: Fix gl language name. Spotted by
28307 2012-04-12 Roland McGrath <roland@hack.frob.com>
28310 * libio/libio.h (__io_write_fn): Update comment.
28312 2012-04-12 Petr Baudis <pasky@ucw.cz>
28315 * stdio.texi (Hook Functions): The user provided writer function
28316 is not allowed to return -1.
28318 2012-04-11 David S. Miller <davem@davemloft.net>
28320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28322 2012-04-11 Mike Frysinger <vapier@gentoo.org>
28324 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28325 Add a leading slash to rtkaio.
28327 2012-04-11 Jim Meyering <meyering@redhat.com>
28330 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28331 It is not necessarily an error to ignore fwrite's return
28332 value. One can reliably use ferror to test for errors after
28335 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28337 * bits/types.h (__snseconds_t): New type.
28338 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28340 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28341 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28342 (__SNSECONDS_T_TYPE): Likewise.
28343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28344 (__SNSECONDS_T_TYPE): Likewise.
28345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28346 (__SNSECONDS_T_TYPE): Likewise.
28348 2012-04-10 Andreas Jaeger <aj@suse.de>
28351 * manual/time.texi (Processor Time): Return type of times is
28352 elapsed real time since an arbitrary point in the past.
28353 (CPU Time): Move CLK_TCK from here...
28354 (Processor Time): ...to here. Correct description.
28355 * manual/conf.texi (Constants for Sysconf): Correct description of
28358 2012-04-10 David S. Miller <davem@davemloft.net>
28361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28362 where the is a gap between DT_REL(A) and DT_JMPREL.
28364 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28366 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28367 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28368 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28370 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28372 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28373 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28374 (dl_main): Handle --inhibit-cache.
28375 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28377 * elf/dl-load.c (_dl_map_object): Use it.
28378 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28380 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28383 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28384 (__ieee754_powl): Saturate large exponents rather than testing for
28385 overflow of y*log2(x).
28386 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28387 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28391 * math/s_ctan.c: Include <float.h>.
28392 (__ctan): Avoid internal overflow or cancellation in calculating
28394 * math/s_ctanf.c: Likewise.
28395 * math/s_ctanl.c: Likewise.
28396 * math/s_ctanh.c: Likewise.
28397 * math/s_ctanhf.c: Likewise.
28398 * math/s_ctanhl.c: Likewise.
28399 * math/libm-test.inc (ctan_test): Add more tests.
28400 (ctanh_test): Likewise.
28401 * sysdeps/i386/fpu/libm-test-ulps: Update.
28402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28404 2012-04-09 Andreas Jaeger <aj@suse.de>
28407 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28408 is an optional BSD extension.
28411 * manual/stdio.texi (Opening Streams): Document additional fopen
28414 2012-04-09 Roland McGrath <roland@hack.frob.com>
28416 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28417 %eax without telling the compiler.
28419 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28422 * manual/install.texi: Use sourceware.org.
28424 2012-04-09 Joseph Myers <joseph@codesourcery.com>
28427 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28428 (__ieee754_pow): Generate overflow and underflow using huge*huge
28429 and tiny*tiny rather than just returning constant infinity or zero
28430 for large exponents.
28431 * math/libm-test.inc (pow_test): Require overflow exceptions for
28432 applicable cases of large exponents.
28435 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28436 (__ieee754_pow): Use iterative multiplication algorithm only for
28437 integer exponents with absolute value below 1024. Check for odd
28438 integer exponents when using algorithm for real exponents.
28439 * math/libm-test.inc (pow_test): Add more tests.
28440 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28442 2012-04-08 Joseph Myers <joseph@codesourcery.com>
28445 * math/libm-test.inc (exp_test): Do not allow overflow exception
28448 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28451 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28452 instead of __kernel_standard_f.
28454 2012-04-08 Mike Frysinger <vapier@gentoo.org>
28456 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28457 * sysdeps/x86_64/memset_chk.S: Likewise.
28459 2012-04-08 Andreas Jaeger <aj@suse.de>
28462 * manual/startup.texi (Environment Access): Describe return value
28463 for putenv and setenv.
28466 * manual/filesys.texi (Directory Entries): Add description for
28470 * manual/filesys.texi (Directory Entries): Clarify that it's file
28471 system not operating system in the description of DT_UNKNOWN.
28474 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28476 2012-04-08 Stephen Compall <s11@member.fsf.org>
28479 * manual/llio.texi (Opening and Closing Files): Add cross
28480 reference to explain mode argument.
28482 2012-04-07 Mike Frysinger <vapier@gentoo.org>
28484 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28485 * sysdeps/x86_64/memset_chk.S: Likewise.
28487 2012-04-07 David S. Miller <davem@davemloft.net>
28489 * elf/elf.h (R_SPARC_WDISP10): Define.
28490 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28492 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28493 R_SPARC_SIZE64 and R_SPARC_H34.
28495 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28498 conditions and remove no longer applicable assertion.
28500 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28502 * bits/byteswap.h: Include <features.h>.
28503 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28504 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28506 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28508 * bits/byteswap.h (__bswap_16): Removed.
28509 Include <bits/byteswap-16.h> to get __bswap_16.
28510 * sysdeps/i386/bits/byteswap.h: Likewise.
28511 * sysdeps/s390/bits/byteswap.h: Likewise.
28512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28513 * bits/byteswap-16.h: New file.
28514 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28515 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28516 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28517 * string/Makefile (headers): Add bits/byteswap-16.h.
28519 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28522 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28524 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28525 * nss/tst-nss-static.c: New.
28527 2012-04-06 Robert Millan <rmh@gnu.org>
28530 * manual/llio.texi (File Position Primitive): lseek
28531 refers to WHENCE when it really means OFFSET.
28533 2012-04-06 Andreas Jaeger <aj@suse.de>
28535 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28536 strncmp declarations.
28538 * abilist/libc.abilist: Add __poll and __ppoll.
28540 2012-04-05 David S. Miller <davem@davemloft.net>
28542 * scripts/check-local-headers.sh: Accept a host triplet in the
28543 path matched by the exclude regexp.
28545 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28547 * sysdeps/powerpc/powerpc32/dl-machine.h
28548 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28549 * sysdeps/s390/s390-32/dl-machine.h
28550 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28551 * sysdeps/sparc/sparc32/dl-machine.h
28552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28553 * sysdeps/sparc/sparc64/dl-machine.h
28554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28556 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28558 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
28559 undefined symbol errors.
28561 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
28564 2012-04-05 Michael Matz <matz@suse.de>
28567 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28569 2012-04-05 Andreas Jaeger <aj@suse.de>
28572 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28575 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28577 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28578 which ROUND is no valid rounding mode.
28580 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28582 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28584 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28586 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28588 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28589 an exception using FPU order intentionally.
28591 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28593 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28594 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28595 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28596 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28598 2012-04-05 Simon Josefsson <simon@josefsson.org>
28601 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28602 EINVAL when BUFLEN is too smal.
28604 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28607 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28608 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28610 2012-04-03 Andreas Jaeger <aj@suse.de>
28613 * manual/setjmp.texi (System V contexts): Fix sentence.
28616 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28617 New macro for this case.
28618 [!__GNUC__] (__bswap_64): New inline function for this case.
28619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28620 * bits/byteswap.h: Likewise.
28621 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28622 ull, guard with __GLIBC_HAVE_LONG_LONG.
28624 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28625 __GLIBC_HAVE_LONG_LONG.
28627 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28628 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28630 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28633 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28634 inptr and inend, rather than using last_ch.
28636 2012-04-02 David S. Miller <davem@davemloft.net>
28638 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28639 * stdio-common/printf-parse.h (read_int): Change return type to
28640 'int', return -1 on INT_MAX overflow.
28641 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28642 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28643 overflows INT_MAX. Check for overflow of in-format-string precision
28644 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28645 SIZE_MAX not INT_MAX for integer overflow test.
28646 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28647 skip the construct in the format string but do not record anything.
28648 * stdio-common/bug22.c: Adjust to test both width/prevision
28649 INT_MAX overflow as well as total length INT_MAX overflow. Check
28650 explicitly for proper errno values.
28652 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28654 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28656 * string/test-strcmp.c [! WIDE]: Likewise.
28657 * time/tst-mktime2.c: Likewise for INT_MAX.
28658 * string/test-string.h: #include <sys/param.h> for MIN.
28660 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28661 * sysdeps/i386/init-first.c (init): Likewise.
28662 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28663 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28664 * sysdeps/sh/init-first.c (init): Likewise.
28666 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28668 * po/ru.po: Update from translation team.
28669 * po/vi.po: Likewise.
28671 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28673 * resolv/nss_dns/dns-host.c: Merge copyright years.
28675 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28678 Optimize memcpy with prefetch if
28679 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28680 src, dst pointers have unequal 16 byte alignments.
28682 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28685 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28686 from a CNAME entry and return the minimum ttl for the query.
28687 (gaih_getanswer_slice): Likewise.
28689 2012-03-30 Jeff Law <law@redhat.com>
28691 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28693 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28694 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28696 * resolv/nss_dns/dns-host.c: Update copyright year.
28698 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28700 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28701 requests to save a system call. Fix check that all bytes are sent.
28703 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28704 comments for sendmmsg.
28706 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28709 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28710 with only 1 character between 0x0041 and 0x01b0.
28711 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28712 * wcsmbs/tst-mbsnrtowcs.c: New file.
28714 2012-03-29 David S. Miller <davem@davemloft.net>
28716 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28717 small copies by hand.
28719 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28722 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28723 _nss_compat_initgroups_dyn): Fall back to malloc/free
28724 for large group memberships.
28726 2012-03-28 David S. Miller <davem@davemloft.net>
28728 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28729 that branches into memcpy.
28730 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28731 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28732 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28733 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28736 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28737 implementation too.
28738 * sysdeps/sparc/mempcpy.S: New file.
28740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28741 the IFUNC routine in the libc case.
28742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28744 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28745 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28746 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28747 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28748 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28749 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28750 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28751 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28753 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28754 loop to 256 bytes instead of 64 bytes and fix test signedness.
28756 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28757 * sysdeps/sparc/sparc32/Makefile: rather than here...
28758 * sysdeps/sparc/sparc64/Makefile: and here.
28760 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28762 * malloc/mallocbug.c: Avoid warnings about unused variables.
28764 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28767 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28768 in the right place. Discard and retry query if response is
28769 larger than input buffer size.
28771 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28776 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28777 x for large integer exponent.
28778 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28779 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28780 sign of result as needed afterwards.
28781 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28782 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28783 result for underflowing pow the same as for overflow.
28784 (__kernel_standard_l): Handle powl overflow and underflow here
28785 rather than calling __kernel_standard.
28786 * math/libm-test.inc (pow_test): Add more tests.
28801 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28802 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28803 (__kernel_standard_l): New function.
28804 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28806 * math/w_acosl.c (__acosl): Likewise.
28807 * math/w_asinl.c (__asinl): Likewise.
28808 * math/w_atan2l.c (__atan2l): Likewise.
28809 * math/w_atanhl.c (__atanhl): Likewise.
28810 * math/w_coshl.c (__coshl): Likewise.
28811 * math/w_exp10l.c (__exp10l): Likewise.
28812 * math/w_exp2l.c (__exp2l): Likewise.
28813 * math/w_fmodl.c (__fmodl): Likewise.
28814 * math/w_hypotl.c (__hypotl): Likewise.
28815 * math/w_j0l.c (__j0l, __y0l): Likewise.
28816 * math/w_j1l.c (__j1l, __y1l): Likewise.
28817 * math/w_jnl.c (__jnl, __ynl): Likewise.
28818 * math/w_lgammal.c (__lgammal): Likewise.
28819 * math/w_log10l.c (__log10l): Likewise.
28820 * math/w_log2l.c (__log2l): Likewise.
28821 * math/w_logl.c (__logl): Likewise.
28822 * math/w_powl.c (__powl): Likewise.
28823 * math/w_remainderl.c (__remainderl): Likewise.
28824 * math/w_scalbl.c (sysv_scalbl): Likewise.
28825 * math/w_sinhl.c (__sinhl): Likewise.
28826 * math/w_sqrtl.c (__sqrtl): Likewise.
28827 * math/w_tgammal.c (__tgammal): Likewise.
28828 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28829 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28830 * math/libm-test.inc (acos_test): Add more tests.
28831 (acosh_test): Likewise.
28832 (asin_test): Likewise.
28833 (atanh_test): Likewise.
28834 (exp_test): Likewise.
28835 (exp10_test): Likewise.
28836 (exp2_test): Likewise.
28837 (expm1_test): Likewise.
28838 (lgamma_test): Likewise.
28839 (log_test): Likewise.
28840 (log10_test): Likewise.
28841 (log1p_test): Likewise.
28842 (log2_test): Likewise.
28843 (pow_test): Do not allow some spurious overflow exceptions.
28844 (sqrt_test): Add more tests.
28845 (tgamma_test): Likewise.
28846 (y0_test): Likewise.
28847 (y1_test): Likewise.
28848 (yn_test): Likewise.
28850 2012-03-27 Anton Blanchard <anton@samba.org>
28852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28854 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28855 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28856 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28858 2012-03-27 David S. Miller <davem@davemloft.net>
28860 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28862 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28863 have-as-vis3 check.
28865 2012-03-27 Andreas Jaeger <aj@suse.de>
28867 * sysdeps/x86_64/elf/configure.in: Moved to ...
28868 * sysdeps/x86_64/configure.in: ... here.
28869 * sysdeps/x86_64/elf/start.S: Moved to ...
28870 * sysdeps/x86_64/start.S: ... here.
28871 * sysdeps/x86_64/elf/configure: Delete.
28873 * sysdeps/x86_64/configure.in: Merge contents from
28874 sysdeps/i386/configure.in (without i686 check).
28876 * sysdeps/i386/elf/Versions: Merge into ...
28877 * sysdeps/i386/Versions: ... this.
28878 * sysdeps/i386/elf/Versions: Delete file.
28879 * sysdeps/i386/elf/start.S: Moved to ...
28880 * sysdeps/i386/start.S: ...here.
28881 * sysdeps/i386/elf/configure.in: Merge into...
28882 * sysdeps/i386/configure.in: ...here.
28883 * sysdeps/i386/elf/configure.in: Delete file.
28884 * sysdeps/i386/elf/configure: Delete file.
28886 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28887 * debug/backtracesyms.c: ... here.
28888 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28889 * debug/backtracesymsfd.c: ... here.
28890 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28891 * sysdeps/generic/ifunc-sel.h: ... here.
28893 * sysdeps/unix/i386/start.c: Delete file.
28894 * sysdeps/unix/sparc/start.c: Delete file.
28895 * sysdeps/unix/start.c: Delete file.
28897 * sysdeps/sh/elf/configure.in: Moved to ...
28898 * sysdeps/sh/configure.in: ... here.
28899 * sysdeps/sh/elf/start.S: Moved to ...
28900 * sysdeps/sh/start.S: ... here.
28901 * sysdeps/sh/elf/configure: Delete file.
28903 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28904 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28905 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28906 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28907 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28908 * sysdeps/powerpc/powerpc64/start.S: here.
28909 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28910 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28911 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28912 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28913 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28915 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28916 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28917 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28918 * sysdeps/powerpc/powerpc32/start.S: ... here.
28919 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28920 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28921 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28923 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28924 * sysdeps/powerpc/ifunc-sel.h: ... here.
28925 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28926 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28928 * sysdeps/sparc/elf/configure.in: Moved to ...
28929 * sysdeps/sparc/configure.in: ... here.
28930 * sysdeps/sparc/elf/configure: Delete file.
28931 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28932 * sysdeps/sparc/sparc32/start.S: ... here.
28933 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28934 * sysdeps/sparc/sparc64/start.S: ... here.
28935 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28936 * sysdeps/sparc/sparc32/Makefile: ... this.
28937 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28938 * sysdeps/sparc/sparc64/Makefile: ... this.
28940 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28941 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28942 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28943 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28944 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28945 * sysdeps/s390/s390-32/setjmp.S: ... here.
28946 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28947 * sysdeps/s390/s390-32/configure.in: ... here.
28948 * sysdeps/s390/s390-32/elf/configure: Delete file.
28949 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28950 * sysdeps/s390/s390-32/start.S: ... here.
28952 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28953 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28954 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28955 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28956 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28957 * sysdeps/s390/s390-64/setjmp.S: ... here.
28958 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28959 * sysdeps/s390/s390-64/configure.in: ... here
28960 * sysdeps/s390/s390-64/elf/configure: Delete file.
28961 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28962 * sysdeps/s390/s390-64/start.S: ... here.
28963 * sysdeps/s390/s390-64/elf/configure: Delete.
28965 * configure.in: Remove support for elf directories in sysdeps.
28967 * configure: Regenerated.
28968 * sysdeps/i386/configure: Regenerated.
28969 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28970 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28971 * sysdeps/s390/s390-32/configure: Regenerated.
28972 * sysdeps/s390/s390-64/configure: Regenerated.
28973 * sysdeps/sh/configure: Regenerated.
28974 * sysdeps/sparc/configure: Regenerated.
28975 * sysdeps/x86_64/configure: Regenerated.
28977 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28981 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28982 denormal result into account.
28984 2012-03-25 Roland McGrath <roland@hack.frob.com>
28986 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28987 Reported by Allan McRae <allan@archlinux.org>.
28989 2012-03-23 Jeff Law <law@redhat.com>
28991 * nss/getnssent.c (__nss_getent): Fix typo.
28993 2012-03-23 David S. Miller <davem@davemloft.net>
28995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28997 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28999 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29000 to pad to uint64_t for each field.
29001 (dl_tls_index): Replace unsigned long with uint64_t.
29003 2012-03-23 Daniel Jacobowitz <dmj@google.com>
29004 Paul Pluzhnikov <ppluzhnikov@google.com>
29007 * grp/Makefile (otherlibs): Don't set it.
29008 * inet/Makefile (otherlibs): Likewise.
29009 * login/Makefile (otherlibs): Likewise.
29010 * nscd/Makefile (otherlibs): Likewise.
29011 * posix/Makefile (otherlibs): Likewise.
29012 * pwd/Makefile (otherlibs): Likewise.
29013 * rt/Makefile (otherlibs): Likewise.
29014 * sunrpc/Makefile (otherlibs): Likewise.
29015 * nss/Makefile (otherlibs): Likewise.
29016 Add libnss_files to routines and static-only-routines.
29017 ($(objpfx)getent): Remove rule.
29018 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29019 static-only-routines.
29021 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29024 * math/s_cexp.c: Include <float.h>.
29025 (__cexp): Handle exp result overflowing not necessarily
29026 overflowing both real and imaginary parts of result.
29027 * math/s_cexpf.c: Likewise.
29028 * math/s_cexpl.c: Likewise.
29029 * math/libm-test.inc (cexp_test): Add more tests.
29030 * sysdeps/i386/fpu/libm-test-ulps: Update.
29031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29033 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29035 * include/link.h (ELFW): New macro.
29036 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29037 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29039 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29041 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29044 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29046 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29048 (struct La_x32_retval): Likewise.
29050 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29052 * sysdeps/x86_64/preconfigure.in: New file.
29053 * sysdeps/x86_64/preconfigure: New generated file.
29055 2012-03-22 Joseph Myers <joseph@codesourcery.com>
29058 * math/e_exp2l.c: Include <float.h>.
29059 (__ieee754_exp2l): Handle overflow and underflow cases
29060 separately. Only pass fractional part of argument to
29062 * math/libm-test.inc (exp2_test): Add more tests.
29064 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29065 negating x to take absolute value.
29066 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29071 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29072 computing low part if x was negated.
29073 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29075 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29077 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29078 la_x32_gnu_pltexit.
29079 (pltexit): Cast int_retval to ptrdiff_t.
29080 * elf/tst-auditmod3b.c: Likewise.
29081 * elf/tst-auditmod4b.c: Likewise.
29082 * elf/tst-auditmod5b.c: Likewise.
29083 * elf/tst-auditmod6b.c: Likewise.
29084 * elf/tst-auditmod6c.c: Likewise.
29085 * elf/tst-auditmod7b.c: Likewise.
29087 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29088 and x32_gnu_pltexit.
29090 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29091 __ELF_NATIVE_CLASS.
29092 (La_x32_regs): New macro.
29093 (La_x32_retval): Likewise.
29094 (la_x32_gnu_pltenter): New function prototype.
29095 (la_x32_gnu_pltexit): Likewise.
29097 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29104 * configure.in (libc_cv_cc_nofma): Check for option to disable
29105 generation of FMA instructions.
29106 * configure: Regenerate.
29107 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29108 * sysdeps/ieee754/dbl-64/Makefile: New file.
29109 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29110 Remove brandred-fma4.
29111 (CFLAGS-brandred-fma4.c): Remove.
29112 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29113 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29115 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29118 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29120 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29121 LLONG_MAX != LONG_MAX.
29122 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29123 (_fitoa_word): Likewise.
29124 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29125 LLONG_MAX != LONG_MAX.
29126 * stdio-common/_itowa.h: Include <_itoa.h>.
29127 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29128 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29129 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29130 only if not defined.
29131 (_ITOA_WORD_TYPE): Likewise.
29132 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29133 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29135 2012-03-21 David S. Miller <davem@davemloft.net>
29137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29139 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29141 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29142 of x86_64 when setting libc_cv_slibdir, libdir and
29144 * sysdeps/unix/sysv/linux/configure: Regenerated.
29146 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29148 * manual/lang.texi (Old Varargs): Remove section.
29149 (How Variadic): Update menu.
29150 (va_start): Do not mention varargs.h.
29152 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29153 Joseph Myers <joseph@codesourcery.com>
29155 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29157 * configure: Regenerated.
29159 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29161 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29162 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29165 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29168 * Makefile (files-for-dist): Remove NOTES.
29169 (NOTES): Remove rule.
29170 * README: Don't refer to NOTES.
29171 * manual/creature.texi: Don't include macros.texi.
29172 * manual/intro.texi (creature.texi): Remove comment referring to
29175 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29176 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29177 * configure: Regenerated.
29178 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29179 LIBC_TRY_CC_OPTION.
29180 (libc_cv_as_i686): Likewise.
29181 (libc_cv_cc_avx): Likewise.
29182 (libc_cv_cc_sse2avx): Likewise.
29183 (libc_cv_cc_fma4): Likewise.
29184 (libc_cv_cc_novzeroupper): Likewise.
29185 * sysdeps/i386/configure: Regenerated.
29188 * sysdeps/i386/fpu/s_cexp.S: Remove.
29189 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29190 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29191 * math/libm-test.inc (cexp_test): Add more tests.
29192 * sysdeps/i386/fpu/libm-test-ulps: Update.
29193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29195 2012-03-21 Allan McRae <allan@archlinux.org>
29197 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29199 2012-03-21 Joseph Myers <joseph@codesourcery.com>
29202 * math/w_exp2.c: Do not include <float.h>.
29203 (o_threshold, u_threshold): Remove.
29204 (__exp2): Calculate result before checking finiteness and calling
29206 * math/w_exp2f.c: Likewise.
29207 * math/w_exp2l.c: Likewise.
29208 * math/libm-test.inc (exp2_test): Require overflow exception for
29212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29213 range of signed 64-bit integers before using fistpll. Remove
29214 checks for whether integers fit in mantissa bits.
29215 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29216 the range of signed 32-bit integers before using fistpl. Remove
29217 checks for whether integers fit in mantissa bits.
29218 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29219 (__ieee754_powl): Test for y outside the range of signed 64-bit
29220 integers before using fistpll. Reduce 64-bit values to 63-bit
29222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29223 divide-by-zero is raised for zero to large negative powers.
29224 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29225 (__ieee754_powl): Test for y outside the range of signed 64-bit
29226 integers before using fistpll. Reduce 64-bit values to 63-bit
29228 * math/libm-test.inc (pow_test): Add more tests.
29230 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29232 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29233 <stdio-common/_itoa.h>.
29234 * debug/segfault.c: Likewise.
29235 * elf/dl-cache.c: Likewise.
29236 * elf/dl-minimal.c: Likewise.
29237 * elf/dl-misc.c: Likewise.
29238 * elf/dl-sysdep.c: Likewise.
29239 * elf/dl-version.c: Likewise.
29240 * elf/rtld.c: Likewise.
29241 * hurd/hurdsock.c: Likewise.
29242 * hurd/lookup-retry.c: Likewise.
29243 * malloc/malloc.c: Likewise.
29244 * malloc/mtrace.c: Likewise.
29245 * nscd/nscd_getgr_r.c: Likewise.
29246 * nscd/nscd_getpw_r.c: Likewise.
29247 * nscd/nscd_getserv_r.c: Likewise.
29248 * posix/getopt_init.c: Likewise.
29249 * posix/wordexp.c: Likewise.
29250 * stdio-common/_itoa.c: Likewise.
29251 * stdio-common/printf_fphex.c: Likewise.
29252 * stdio-common/vfprintf.c: Likewise.
29253 * string/_strerror.c: Likewise.
29254 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29255 * sysdeps/i386/i686/hp-timing.h: Likewise.
29256 * sysdeps/mach/_strerror.c: Likewise.
29257 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29258 * sysdeps/mach/hurd/sethostid.c: Likewise.
29259 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29260 * sysdeps/mach/xpg-strerror.c: Likewise.
29261 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29262 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29263 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29264 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29265 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29266 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29267 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29268 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29269 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29270 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29271 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29272 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29273 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29274 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29275 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29276 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29277 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29278 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29279 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29280 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29281 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29283 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29285 * stdio-common/_itoa.h: Moved to ...
29286 * sysdeps/generic/_itoa.h: Here.
29288 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29290 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29291 instead of "_itoa.h" and "_itowa.h".
29292 * stdio-common/vfprintf.: Likewise.
29294 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29296 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29298 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29299 (__signbit): Likwise.
29300 (llrintf): Likwise.
29303 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29305 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29308 2012-03-20 Joseph Myers <joseph@codesourcery.com>
29310 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29311 OVERFLOW_EXCEPTION_OK.
29312 * math/libm-test.inc ("Philosophy"): Update comment about
29314 (OVERFLOW_EXCEPTION): Define.
29315 (OVERFLOW_EXCEPTION_OK): Likewise.
29316 (INVALID_EXCEPTION_OK): Renumber.
29317 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29318 (IGNORE_ZERO_INF_SIGN): Likewise.
29319 (test_exceptions): Handle FE_OVERFLOW.
29320 (exp10_test): Expect overflow exceptions.
29321 (exp2_test): Likewise.
29322 (expm1_test): Likewise.
29323 (nextafter_test): Likewise.
29324 (pow_test): Likewise.
29325 (scalbn_test): Likewise.
29326 (scalbln_test): Likewise.
29328 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29330 * sysdeps/x86_64/bits/atomic.h
29331 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29333 (atomic_exchange_acq): Likewise.
29334 (__arch_exchange_and_add_body): Likewise.
29335 (__arch_add_body): Likewise.
29336 (atomic_add_negative): Likewise.
29337 (atomic_add_zero): Likewise.
29339 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29341 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
29342 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29344 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29346 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29347 Check __x86_64__ instead of __WORDSIZE.
29349 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29351 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29353 2012-03-19 David S. Miller <davem@davemloft.net>
29355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29357 * sysdeps/sparc/fpu/fenv_private.h: New file.
29358 * sysdeps/sparc/fpu/math_private.h: Use it.
29359 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29361 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29362 (libc_feholdexcept_setroundl): Remove.
29363 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29365 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29366 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29368 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29370 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29371 int64_t instead of long int.
29372 (INSERT_WORDS64): Likwise.
29374 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29376 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29377 _Unwind_GetCFA return to _Unwind_Ptr first.
29379 2012-03-19 Joseph Myers <joseph@codesourcery.com>
29382 * math/s_clog.c: Include <float.h>.
29383 (__clog): Scale large or subnormal inputs.
29384 * math/s_clogf.c: Likewise.
29385 * math/s_clogl.c: Likewise.
29386 * math/s_clog10.c: Include <float.h>.
29387 (M_LOG10_2): Define.
29388 (__clog10): Scale large or subnormal inputs.
29389 * math/s_clog10f.c: Likewise.
29390 * math/s_clog10l.c: Likewise.
29391 * math/libm-test.inc (clog_test): Add more tests.
29392 (clog10_test): Likewise.
29393 * sysdeps/i386/fpu/libm-test-ulps: Update.
29394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29397 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29399 * math/libm-test.inc (atan2_test): Add another test.
29401 * Makerules (common-objdir-compile): Remove.
29402 * sysdeps/unix/Makefile (config-generated): Do not add
29403 $(unix-generated) to variable.
29404 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29405 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29407 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29409 [generic bits/local_lim.h] (before-compile): Do not append to
29411 [generic bits/local_lim.h] (common-generated): Likewise.
29412 [generic sys/param.h] (before-compile): Do not append to variable.
29413 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29414 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29415 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29416 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29418 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29419 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29420 [generic sys/param.h] ($(addprefix
29421 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29422 [generic sys/param.h] (common-generated): Do not append to
29424 [generic sys/param.h] (sysdep_headers): Likewise.
29425 [generic bits/errno.h] (before-compile): Do not append to
29427 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29429 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29430 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29431 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29432 [generic bits/errno.h] (common-generated): Do not append to
29434 [generic bits/ioctls.h] (before-compile): Do not append to
29436 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29438 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29439 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29440 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29443 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29444 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29445 [generic bits/ioctls.h] (common-generated): Do not append to
29447 [generic sys/syscall.h] (syscall.h): Remove variable.
29448 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29450 [generic sys/syscall.h] (before-compile): Do not append to
29452 [generic sys/syscall.h] (common-generated): Likewise.
29453 * sysdeps/unix/errnos-tmpl.c: Remove file.
29454 * sysdeps/unix/errnos.awk: Likewise.
29455 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29456 * sysdeps/unix/ioctls.awk: Likewise.
29457 * sysdeps/unix/mk-local_lim.c: Likewise.
29458 * sysdeps/unix/snarf-ioctls: Likewise.
29460 2012-03-19 Richard Henderson <rth@twiddle.net>
29462 * sysdeps/i386/fpu/fenv_private.h: New file.
29463 * sysdeps/i386/fpu/math_private.h: Use it.
29464 (math_opt_barrier, math_force_eval): Remove.
29465 (libc_feholdexcept_setround_53bit): Remove.
29466 (libc_feupdateenv_53bit): Remove.
29467 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29468 (math_opt_barrier, math_force_eval): Remove.
29469 (libc_feholdexcept): Remove.
29470 (libc_feholdexcept_setround): Remove.
29471 (libc_fetestexcept, libc_fesetenv): Remove.
29472 (libc_feupdateenv_test): Remove.
29473 (libc_feupdateenv, libc_feholdsetround): Remove.
29474 (libc_feresetround): Remove.
29476 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29477 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29479 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29480 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29481 (libc_feupdateenv_testl): New.
29482 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29483 (libc_feupdateenv_testf): New.
29484 (libc_feupdateenv): Use libc_feupdateenv_test.
29485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29486 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29488 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29489 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29490 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29491 (libc_feresetround_noex): New.
29492 (libc_feresetround_noexf): New.
29493 (libc_feresetround_noexl): New.
29494 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29495 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29496 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29497 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29502 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29503 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29504 SET_RESTORE_ROUND_NOEX.
29505 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29506 SET_RESTORE_ROUND_NOEXF.
29507 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29508 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29509 (libc_feholdsetroundf): New.
29510 (libc_feresetround, libc_feresetroundf): New.
29512 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29513 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29514 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29516 * sysdeps/generic/math_private.h: Include <fenv.h>.
29517 (default_libc_feholdexcept): New.
29518 (default_libc_feholdexcept_setround): New.
29519 (default_libc_fesetenv, default_libc_feupdateenv): New.
29520 (libc_feholdexcept): Only define if undefined.
29521 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29522 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29523 (libc_feholdexcept_setroundl): Likewise.
29524 (libc_feholdexcept_setround_53bit): Likewise.
29525 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29526 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29527 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29528 (libc_feupdateenv_53bit): Likewise.
29529 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29530 (libc_feholdexcept): Convert from macro to inline function.
29531 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29532 (libc_fesetenv, libc_feupdateenv): Likewise.
29534 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29535 not previously defined.
29536 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29537 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29538 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29539 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29540 * sysdeps/ieee754/flt-32/math_private.h: New file.
29541 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29542 math_private.h below SET_FLOAT_WORD.
29543 (__isnan, __isinf_ns, __finite): Remove.
29544 (__isnanf, __isinf_nsf, __finitef): Remove.
29546 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29550 2012-03-17 David S. Miller <davem@davemloft.net>
29553 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29556 2012-03-16 David S. Miller <davem@davemloft.net>
29558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29562 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29564 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29565 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29566 sysdep_routines when subdir is sysvipc.
29567 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29568 __getshmlba helper.
29570 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29572 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29574 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29577 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29579 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29580 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29581 (__lround): Renamed to ...
29582 (__llround): This. Replace long int with long long int.
29583 Define lround functions as aliases of llround functions.
29584 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29586 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29588 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29589 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29590 adresses to uintptr_t. Replace "long int" and "unsigned long
29591 int" with "greg_t" on va_arg.
29593 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29595 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29596 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29598 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29599 Move e_machine check before EI_CLASS check. Handle x32
29600 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29601 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29602 SKIP_EM_IA_64 and include
29603 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29605 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29606 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29607 (add_system_dir): New macro.
29609 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29610 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29612 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29623 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29625 * math/w_j0f.c (j0f): Likewise.
29627 * math/w_j0l.c (__j0l): Likewise.
29629 * math/w_j1.c (j1): Likewise.
29631 * math/w_j1f.c (j1f): Likewise.
29633 * math/w_j1l.c (__j1l): Likewise.
29635 * math/w_jn.c (jn): Likewise.
29637 * math/w_jnf.c (jnf): Likewise.
29639 * math/w_jnl.c (__jnl): Likewise.
29641 * math/libm-test.inc (j0_test): Add more tests.
29642 (j1_test): Likewise.
29643 (jn_test): Likewise. Add trailing semicolon to existing test.
29644 (y0_test): Likewise.
29645 (y1_test): Likewise.
29646 * sysdeps/i386/fpu/libm-test-ulps: Update.
29647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29651 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29652 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29653 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29654 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29655 (__tanl): Set errno for infinite argument.
29656 * sysdeps/i386/fpu/mptan.c: Remove.
29657 * sysdeps/i386/fpu/s_tan.S: Likewise.
29658 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29659 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29660 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29661 * math/libm-test.inc (tan_test): Add more tests and enable more
29662 tests for double and long double.
29663 * sysdeps/i386/fpu/libm-test-ulps: Update.
29664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29666 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29668 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29669 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29671 2012-03-16 Roland McGrath <roland@hack.frob.com>
29673 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29674 * configure.in: Use it for both main tree and add-ons.
29675 * configure: Regenerated.
29677 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29679 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29681 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29683 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29687 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29688 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29689 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29690 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29691 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29693 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29695 != 0 for prec == 2.
29696 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29697 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29698 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29699 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29700 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29701 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29702 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29703 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29704 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29705 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29706 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29707 * math/libm-test.inc (cos_test): Add more tests and enable more
29708 tests for long double.
29709 (sin_test): Likewise.
29710 (sincos_test): Likewise.
29711 * sysdeps/i386/fpu/libm-test-ulps: Update.
29712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29714 2012-03-16 David S. Miller <davem@davemloft.net>
29716 * sysdeps/sparc/fpu/math_private.h: New file.
29718 2012-03-15 David S. Miller <davem@davemloft.net>
29720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29730 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29734 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29735 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29737 * sysdeps/sparc/sparc-ifunc.h: New file.
29738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29762 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29783 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29785 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29789 2012-03-15 Andreas Jaeger <aj@suse.de>
29792 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29793 ieee754/flt-32 implementation for sin, cos and sincos.
29794 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29795 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29796 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29797 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29798 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29799 ieee754/flt-32 implementation for tan.
29801 * math/libm-test.inc (cos_test): Enable some large input tests for
29803 (sin_test): Likewise.
29804 (sincos_test): Likewise.
29805 (tan_test): Add tests for large input.
29807 * sysdeps/i386/fpu/libm-test-ulps: Update.
29809 2012-03-15 Andreas Jaeger <aj@suse.de>
29812 * math/libm-test.inc (cos_test): Add more test cases.
29813 (sin_test): Likewise.
29814 (sincos_test): Likewise.
29816 2012-03-15 Andreas Jaeger <aj@suse.de>
29819 * math/libm-test.inc (cos_test): Add a test case for large input
29821 (sin_test): Likewise.
29822 (sincos_test): Likewise.
29824 2012-03-15 Andreas Jaeger <aj@suse.de>,
29825 Joseph Myers <joseph@codesourcery.com>
29828 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29829 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29830 * sysdeps/i386/fpu/branred.c: Likewise.
29831 * sysdeps/i386/fpu/dosincos.c: Likewise.
29832 * sysdeps/i386/fpu/mpa.c: Likewise.
29833 * sysdeps/i386/fpu/s_cos.S: Likewise.
29834 * sysdeps/i386/fpu/s_sin.S: Likewise.
29835 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29836 * sysdeps/i386/fpu/sincos32.c: Likewise.
29838 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29840 (libc_feupdateenv_53bit): Define.
29841 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29843 (libc_feupdateenv_53bit): Define.
29845 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29846 53 bit (without extend i386 double precision).
29848 * math/libm-test.inc (sincos_test): Add tests for large input.
29852 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29854 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29858 2012-03-15 David S. Miller <davem@davemloft.net>
29860 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29861 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29862 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29863 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29888 fmin/fmax sysdep routines.
29889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29891 2012-03-14 David S. Miller <davem@davemloft.net>
29893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29898 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29914 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29918 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29921 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29965 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29970 * sysdeps/sparc/configure.in: New file.
29971 * sysdeps/sparc/configure: Generate.
29972 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29973 * configure: Regenerate.
29974 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29975 * config.make.in (have-as-vis3): New.
29976 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29977 available use -Av9d instead of -Av9a.
29978 * sysdeps/sparc/sparc64/Makefile: Likewise.
29979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29994 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29995 fzeros/fnegs to load 0x80000000 into a float register instead of
29997 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29999 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30003 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30004 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30005 ($(inst_includedir)/bits/syscall.h): Remove rule.
30006 ($(objpfx)bits/syscall.d): Include instead of
30007 $(objpfx)syscall-list.d.
30008 (generated): Change syscall-list.h and syscall-list.d to
30009 bits/syscall.h and bits/syscall.d.
30011 2012-03-14 Roland McGrath <roland@hack.frob.com>
30014 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30016 2012-03-14 Joseph Myers <joseph@codesourcery.com>
30019 * math/s_csqrt.c: Include <float.h>.
30020 (__csqrt): Scale large or subnormal inputs.
30021 * math/s_csqrtf.c: Likewise.
30022 * math/s_csqrtl.c: Likewise.
30023 * math/libm-test.inc (csqrt_test): Add more tests.
30024 * sysdeps/i386/fpu/libm-test-ulps: Update.
30025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30028 * math/libm-test.inc (hypot_test): Add more tests.
30030 2012-03-13 David S. Miller <davem@davemloft.net>
30033 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30034 double-precision for the calculation instead of scaling.
30036 2012-03-13 Joseph Myers <joseph@codesourcery.com>
30038 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30039 manipulate bits before adding and subtracting TWO52[sx].
30040 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30041 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30043 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30045 2012-03-13 David S. Miller <davem@davemloft.net>
30047 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30048 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30050 rtld-global-offsets.h
30051 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30053 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30056 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30058 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30059 'err' in the ifdef scope in which it is actually used.
30061 * nss/nss_db/db-init.c: Include string.h
30063 2012-03-12 David S. Miller <davem@davemloft.net>
30065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30066 masking out of the most significant byte of random value used.
30067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30068 Fix coding style in previous change.
30070 * sysdeps/unix/sysv/linux/kernel-features.h
30071 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30072 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30074 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30077 2012-03-11 David S. Miller <davem@davemloft.net>
30079 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30080 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30082 for 'resultvar' otherwise things get truncated on 64-bit.
30084 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30085 Fix masking out of the most significant byte of random value used.
30087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30089 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30093 2012-03-09 David S. Miller <davem@davemloft.net>
30095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30096 variables with appropriate CPP guards.
30097 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30098 frame pointer, not the stack pointer. Correct layout comments. Fix test
30099 on resulting framesize and the management of the outregs buffer for pltexit.
30100 Preserve floating point return values across _dl_call_pltexit call.
30101 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30102 framesize and the management of the outregs buffer for pltexit.
30103 Preserve floating point return values across _dl_call_pltexit
30105 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30106 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30107 (print_exit): Fix format string for return register value.
30109 2012-03-10 Joseph Myers <joseph@codesourcery.com>
30111 * sunrpc/Makefile (others): Add rpcgen.
30112 ($(objpfx)rpcgen): Remove special build rule and dependency on
30114 * sunrpc/rpcgen.c: New file.
30116 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30119 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30120 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30121 * sysdeps/i386/crti.S: Likewise.
30122 * sysdeps/i386/crtn.S: Likewise.
30123 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30124 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30125 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30126 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30127 * sysdeps/sh/crti.S: Likewise.
30128 * sysdeps/sh/crtn.S: Likewise.
30129 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30132 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30134 * locale/programs/locfile-kw.gperf: Likewise.
30135 * locale/programs/charmap-kw.h: Regenerated.
30136 * locale/programs/locfile-kw.h: Likewise.
30139 * intl/plural.y: Replace FSF snail mail address with URL.
30140 * intl/plural.c: Regenerated.
30142 2012-03-09 Richard Henderson <rth@twiddle.net>
30144 * include/math_private.h: Remove file.
30145 * math/math_private.h: Move file ...
30146 * sysdeps/generic/math_private.h: ... here.
30148 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30149 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30150 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30152 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
30153 and <math_private.h>.
30154 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30155 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30156 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30157 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30158 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30159 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30160 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30162 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30163 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30164 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30165 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30166 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30167 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30168 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30169 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30171 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30172 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30173 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30174 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30175 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30176 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30178 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30179 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30180 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30181 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30190 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30191 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30192 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30193 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30194 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30195 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30196 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30197 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30198 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30199 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30200 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30205 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30207 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30208 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30209 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30210 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30212 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30213 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30222 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30238 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30239 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30241 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30242 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30243 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30244 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30245 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30247 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30248 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30249 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30250 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30251 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30252 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30253 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30254 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30255 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30256 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30257 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30258 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30259 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30260 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30261 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30262 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30264 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30265 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30266 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30267 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30268 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30269 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30270 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30271 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30272 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30273 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30274 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30275 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30276 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30277 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30278 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30279 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30281 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30282 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30283 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30284 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30285 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30287 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30288 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30289 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30290 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30291 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30292 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30293 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30294 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30295 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30296 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30297 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30298 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30299 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30300 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30301 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30302 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30303 * sysdeps/ieee754/k_standard.c: Likewise.
30304 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30305 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30306 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30307 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30308 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30309 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30310 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30311 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30312 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30313 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30314 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30315 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30316 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30317 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30318 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30319 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30320 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30321 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30322 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30323 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30331 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30332 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30333 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30335 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30336 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30355 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30360 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30366 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30367 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30368 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30376 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30378 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30380 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30381 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30382 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30383 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30384 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30385 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30386 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30388 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30389 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30392 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30394 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30395 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30396 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30397 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30400 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30401 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30402 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30403 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30405 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30406 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30407 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30408 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30411 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30412 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30413 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30414 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30415 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30416 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30417 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30418 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30419 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30420 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30422 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30423 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30424 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30426 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30427 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30428 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30429 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30430 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30431 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30432 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30433 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30434 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30435 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30436 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30437 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30438 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30439 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30440 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30441 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30442 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30443 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30444 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30445 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30446 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30447 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30448 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30449 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30450 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30451 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30452 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30453 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30454 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30455 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30457 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30458 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30459 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30460 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30461 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30462 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30463 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30464 * sysdeps/ieee754/s_lib_version.c: Likewise.
30465 * sysdeps/ieee754/s_matherr.c: Likewise.
30466 * sysdeps/ieee754/s_signgam.c: Likewise.
30467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30469 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30470 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30471 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30472 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30473 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30474 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30475 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30476 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30477 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30478 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30479 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30480 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30481 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30482 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30483 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30484 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30489 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30491 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30492 * sunrpc/rpc_main.c: Likewise.
30493 * sunrpc/rpc_svcout.c: Likewise.
30495 2012-03-09 David S. Miller <davem@davemloft.net>
30497 * include/math_private.h: New file.
30499 2012-03-09 Joseph Myers <joseph@codesourcery.com>
30501 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30502 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30503 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30504 from <bits/socket_type.h>.
30505 (enum __socket_type): Don't define here.
30506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30508 bits/socket_type.h.
30511 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30512 checking __USE_GNU.
30514 * Makerules ($(inst_includedir)/%.h): New rule.
30515 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30516 (install-others): Remove variable setting.
30517 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30519 2012-03-08 Richard Henderson <rth@twiddle.net>
30521 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30522 from macro to inline function; merge with the
30523 !__LIBC_INTERNAL_MATH_INLINES version.
30524 (__ieee754_sqrtf): Likewise.
30526 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30527 to inline function.
30528 (__rintf, __floor, __floorf): Likewise.
30530 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30531 macro to inline function.
30532 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30534 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30535 not <math/math_private.h>.
30537 2012-03-08 David S. Miller <davem@davemloft.net>
30539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30541 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30543 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30545 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30547 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30548 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30550 2012-03-08 Ulrich Drepper <drepper@gmail.com>
30552 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30553 be defined individually, they must be defined as a block. Define
30554 S for printing a string instead of hidint the different by using a
30555 macro for adding the 'l'.
30556 * stdio-common/tst-fphex-wide.c: Adjust.
30558 2012-03-07 Marek Polacek <polacek@redhat.com>
30560 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30562 2012-03-08 Marek Polacek <polacek@redhat.com>
30565 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30566 * stdio-common/tst-fphex.c: Define a few macros to make the
30567 test reusable. Use them.
30568 * stdio-common/tst-fphex-wide.c: New file.
30570 2012-03-08 Joseph Myers <joseph@codesourcery.com>
30573 * manual/macros.texi (gnusystems): New macro.
30574 (nongnusystems): Likewise.
30575 (gnulinuxhurdsystems): Likewise.
30576 (gnuhurdsystems): Likewise..
30577 (gnulinuxsystems): Likewise.
30578 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30579 variants of the GNU system, not "GNU system".
30580 * manual/conf.texi: Likewise.
30581 * manual/errno.texi: Likewise. Update example of errno macro
30583 * manual/filesys.texi: Likewise.
30584 (getumask): Document as specific to GNU/Hurd.
30585 * manual/install.texi: Likewise. Reword some references to
30587 * manual/intro.texi: Likewise.
30588 * manual/io.texi: Likewise.
30589 (File Name Portability): Detail which constraints are inapplicable
30590 to all GNU systems and which are only inapplicable to GNU/Hurd.
30591 * manual/job.texi: Likewise.
30592 * manual/llio.texi: Likewise.
30593 (O_NOCTTY): Document as present on GNU/Linux.
30594 * manual/maint.texi: Likewise.
30595 * manual/memory.texi: Likewise.
30596 * manual/pattern.texi: Likewise.
30597 * manual/pipe.texi: Likewise.
30598 * manual/process.texi: Likewise.
30599 * manual/resource.texi: Likewise.
30600 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30602 * manual/setjmp.texi: Likewise.
30603 * manual/signal.texi: Likewise.
30604 * manual/startup.texi: Likewise.
30605 * manual/stdio.texi: Likewise.
30606 * manual/terminal.texi: Likewise.
30607 (ONLCR): Document as POSIX.
30608 (OXTABS): Document availability on GNU/Linux as XTABS.
30609 (ONOEOT): Document availability separately from other bits.
30610 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30611 * manual/time.texi: Likewise.
30612 * manual/users.texi: Likewise.
30613 * INSTALL: Regenerated.
30614 * sysdeps/gnu/errlist.c: Regenerated.
30616 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30617 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30618 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30620 * configure: Regenerated.
30622 2012-03-07 Joseph Myers <joseph@codesourcery.com>
30624 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30625 default includes instead of AC_HEADER_CHECK.
30626 * sysdeps/i386/configure: Regenerated.
30629 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30630 * math/s_cacoshf.c (__cacoshf): Likewise.
30631 * math/s_cacoshl.c (__cacoshl): Likewise.
30632 * math/s_casinh.c (__casinh): Set signs of result from argument.
30633 * math/s_casinhf.c (__casinhf): Likewise.
30634 * math/s_casinhl.c (__casinhl): Likewise.
30635 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30636 (casinh_test): Add more tests.
30637 * sysdeps/i386/fpu/libm-test-ulps: Update.
30638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30640 2012-03-07 Ulrich Drepper <drepper@gmail.com>
30642 * po/zh_TW.po: Update from translation team.
30644 * login/Makefile (distribute): Remove variable.
30645 * catgets/Makefile: Likewise.
30646 * mach/Makefile: Likewise.
30647 * malloc/Makefile: Likewise.
30648 * misc/Makefile: Likewise.
30649 * iconv/Makefile: Likewise.
30650 * nscd/Makefile: Likewise.
30651 * hurd/Makefile: Likewise.
30652 * manual/Makefile: Likewise.
30653 * locale/Makefile: Likewise.
30654 * intl/Makefile: Likewise.
30655 * conform/Makefile: Likewise.
30656 * nss/Makefile: Likewise.
30657 * time/Makefile: Likewise.
30658 * soft-fp/Makefile: Likewise.
30659 * dirent/Makefile: Likewise.
30660 * gmon/Makefile: Likewise.
30661 * po/Makefile: Likewise.
30662 * rt/Makefile: Likewise.
30663 * socket/Makefile: Likewise.
30664 * math/Makefile: Likewise.
30665 * signal/Makefile: Likewise.
30666 * debug/Makefile: Likewise.
30667 * elf/Makefile: Likewise.
30668 * timezone/Makefile: Likewise.
30669 * stdlib/Makefile: Likewise.
30670 * iconvdata/Makefile: Likewise.
30671 * sunrpc/Makefile: Likewise.
30672 * io/Makefile: Likewise.
30673 * argp/Makefile: Likewise.
30674 * inet/Makefile: Likewise.
30675 * hesiod/Makefile: Likewise.
30676 * grp/Makefile: Likewise.
30677 * csu/Makefile: Likewise.
30678 * wctype/Makefile: Likewise.
30679 * crypt/Makefile: Likewise.
30680 * libio/Makefile: Likewise.
30681 * string/Makefile: Likewise.
30682 * nis/Makefile: Likewise.
30683 * resolv/Makefile: Likewise.
30684 * stdio-common/Makefile: Likewise.
30685 * wcsmbs/Makefile: Likewise.
30686 * dlfcn/Makefile: Likewise.
30687 * posix/Makefile: Likewise.
30690 * timezone/Makefile: Don't install timezone files, just the programs
30693 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30695 * nss/databases.def: Add missing gshadow entry.
30697 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30699 2012-03-06 Marek Polacek <polacek@redhat.com>
30702 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30703 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30704 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30705 * stdio-common/tst-long-dbl-fphex.c: New file.
30707 2012-03-06 David S. Miller <davem@davemloft.net>
30709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30710 (set_obp_int): New function.
30711 (get_obp_int): New function.
30712 (__get_clockfreq_via_dev_openprom): Likewise.
30713 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30714 Avoid unused variable warnings on 'val' and use builtin_expect.
30715 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30717 (INLINE_CLONE_SYSCALL): Likewise.
30719 2012-03-05 David S. Miller <davem@davemloft.net>
30721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30723 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30728 only for |x| >= 40.
30729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30731 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30733 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30734 Replace gettimeofday with __vdso_gettimeofday.
30736 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30737 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30738 __vdso_clock_gettime and __vdso_getcpu.
30740 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30741 time with __vdso_time.
30743 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30745 * manual/lang.texi (size_t): Note types to which size_t may be
30746 equivalent with the GNU C Library, but do not describe when
30747 differences between them are significant.
30749 2012-03-05 Andreas Jaeger <aj@suse.de>
30751 * sysdeps/i386/fpu/libm-test-ulps: Update.
30753 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30756 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30757 (__ieee754_pow): Save and restore rounding mode and use
30758 round-to-nearest for main computations.
30759 * math/libm-test.inc (pow_test_tonearest): New function.
30760 (pow_test_towardzero): Likewise.
30761 (pow_test_downward): Likewise.
30762 (pow_test_upward): Likewise.
30763 (main): Call the new functions.
30764 * sysdeps/i386/fpu/libm-test-ulps: Update.
30765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30768 * math/libm-test.inc (cosh_test_tonearest): New function.
30769 (cosh_test_towardzero): Likewise.
30770 (cosh_test_downward): Likewise.
30771 (cosh_test_upward): Likewise.
30772 (sinh_test_tonearest): Likewise.
30773 (sinh_test_towardzero): Likewise.
30774 (sinh_test_downward): Likewise.
30775 (sinh_test_upward): Likewise.
30776 (main): Call the new functions.
30777 * sysdeps/i386/fpu/libm-test-ulps: Update.
30778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30780 2012-03-05 Tom de Vries <tom@codesourcery.com>
30782 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30783 default stack guard is set in last bytes.
30784 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30786 2012-03-05 Kees Cook <keescook@chromium.org>
30788 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30791 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30792 possibly allocate from heap instead of stack.
30793 * stdio-common/bug-vfprintf-nargs.c: New file.
30794 * stdio-common/Makefile (tests): Add nargs overflow test.
30796 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30800 2012-03-03 Marek Polacek <polacek@redhat.com>
30802 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30803 * math/math_private.h: Likewise.
30804 * stdlib/tst-strtod.c: Likewise.
30805 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30806 * sysdeps/x86_64/bits/atomic.h: Likewise.
30808 2012-03-02 David S. Miller <davem@davemloft.net>
30810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30814 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30815 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30816 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30817 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30819 2012-03-02 Roland McGrath <roland@hack.frob.com>
30822 * manual/examples/README: New file, says the example source files
30823 can be used under GPL>=2.
30824 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30825 line containing just "*/".
30826 * manual/examples/add.c: Add copyright header (GPL>=2).
30827 * manual/examples/argp-ex1.c: Likewise.
30828 * manual/examples/argp-ex2.c: Likewise.
30829 * manual/examples/argp-ex3.c: Likewise.
30830 * manual/examples/argp-ex4.c: Likewise.
30831 * manual/examples/atexit.c: Likewise.
30832 * manual/examples/db.c: Likewise.
30833 * manual/examples/dir.c: Likewise.
30834 * manual/examples/dir2.c: Likewise.
30835 * manual/examples/execinfo.c: Likewise.
30836 * manual/examples/filecli.c: Likewise.
30837 * manual/examples/filesrv.c: Likewise.
30838 * manual/examples/fmtmsgexpl.c: Likewise.
30839 * manual/examples/genpass.c: Likewise.
30840 * manual/examples/inetcli.c: Likewise.
30841 * manual/examples/inetsrv.c: Likewise.
30842 * manual/examples/isockad.c: Likewise.
30843 * manual/examples/longopt.c: Likewise.
30844 * manual/examples/memopen.c: Likewise.
30845 * manual/examples/memstrm.c: Likewise.
30846 * manual/examples/mkfsock.c: Likewise.
30847 * manual/examples/mkisock.c: Likewise.
30848 * manual/examples/mygetpass.c: Likewise.
30849 * manual/examples/pipe.c: Likewise.
30850 * manual/examples/popen.c: Likewise.
30851 * manual/examples/rprintf.c: Likewise.
30852 * manual/examples/search.c: Likewise.
30853 * manual/examples/select.c: Likewise.
30854 * manual/examples/setjmp.c: Likewise.
30855 * manual/examples/sigh1.c: Likewise.
30856 * manual/examples/sigusr.c: Likewise.
30857 * manual/examples/stpcpy.c: Likewise.
30858 * manual/examples/strdupa.c: Likewise.
30859 * manual/examples/strftim.c: Likewise.
30860 * manual/examples/strncat.c: Likewise.
30861 * manual/examples/subopt.c: Likewise.
30862 * manual/examples/swapcontext.c: Likewise.
30863 * manual/examples/termios.c: Likewise.
30864 * manual/examples/testopt.c: Likewise.
30865 * manual/examples/testpass.c: Likewise.
30866 * manual/examples/timeval_subtract.c: Likewise.
30869 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30871 * manual/timeval_subtract.c.texi: ... here, new file.
30873 2012-03-02 David S. Miller <davem@davemloft.net>
30875 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30877 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30880 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30881 (__sin): Save and restore rounding mode and use round-to-nearest
30882 for all computations.
30883 (__cos): Save and restore rounding mode and use round-to-nearest
30884 for all computations.
30885 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30887 (tan): Save and restore rounding mode and use round-to-nearest for
30889 * math/libm-test.inc (cos_test_tonearest): New function.
30890 (cos_test_towardzero): Likewise.
30891 (cos_test_downward): Likewise.
30892 (cos_test_upward): Likewise.
30893 (sin_test_tonearest): Likewise.
30894 (sin_test_towardzero): Likewise.
30895 (sin_test_downward): Likewise.
30896 (sin_test_upward): Likewise.
30897 (tan_test_tonearest): Likewise.
30898 (tan_test_towardzero): Likewise.
30899 (tan_test_downward): Likewise.
30900 (tan_test_upward): Likewise.
30901 (main): Call the new functions.
30902 * sysdeps/i386/fpu/libm-test-ulps: Update.
30903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30906 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30907 small n, then large n, before computing and testing k+n.
30908 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30913 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30914 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30915 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30916 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30917 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30918 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30921 * math/libm-test.inc (scalbn_test): Add more tests.
30922 (scalbln_test): Likewise.
30924 * manual/filesys.texi (mode_t): Describe constraints on size and
30925 signedness, not exact equivalence to a particular type.
30927 (ino64_t): Likewise.
30929 (nlink_t): Likewise.
30930 (blkcnt_t): Likewise.
30931 (blkcnt64_t): Likewise.
30932 * manual/llio.texi (off_t): Likewise.
30935 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30936 (__ieee754_exp): Save and restore rounding mode and use
30937 round-to-nearest for all computations.
30938 * math/libm-test.inc (exp_test_tonearest): New function.
30939 (exp_test_towardzero): Likewise.
30940 (exp_test_downward): Likewise.
30941 (exp_test_upward): Likewise.
30942 (main): Call the new functions.
30943 * sysdeps/i386/fpu/libm-test-ulps: Update.
30944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30946 2012-03-01 Chris Demetriou <cgd@google.com>
30948 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30949 have predictable order.
30951 2012-03-01 David S. Miller <davem@davemloft.net>
30953 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30955 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30956 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30957 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30958 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30960 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30961 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30962 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30964 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30965 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30966 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30967 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30968 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30972 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30973 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30974 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30976 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30977 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30978 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30979 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30980 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30981 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30982 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30983 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30984 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30985 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30986 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30987 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30989 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30990 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30991 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30992 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30993 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30994 * sysdeps/sparc/elf/configure: Regenerated.
30996 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30998 * configure.in (AS, LD): Require binutils 2.20 or later.
30999 * configure: Regenerated.
31000 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31001 as required minimum version.
31002 * INSTALL: Regenerated.
31006 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31007 before squaring exponent.
31008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31009 bottom long double and 27 bits of top long double before squaring
31011 * math/libm-test.inc (erfc_test): Add more tests.
31012 * sysdeps/i386/fpu/libm-test-ulps: Update.
31013 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31016 2012-03-01 Kai Tietz <ktietz@redhat.com>
31018 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31019 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31020 containing bit-fields.
31021 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31022 * soft-fp/single.h (_FP_UNION_S): Likewise.
31023 * soft-fp/double.h (_FP_UNION_D): Likewise.
31025 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31028 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31029 not include ../strcmp.S.
31030 [USE_AS_STRNCASECMP_L]: Likewise.
31031 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31032 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31033 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31034 (__strncasecmp_l_ia32): Define as alias to
31035 __strncasecmp_l_nonascii.
31038 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31039 * sysdeps/i386/fpu/libm-test-ulps: Update.
31040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31042 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31045 2012-02-29 Jeff Law <law@redhat.com>
31047 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31048 out of bounds read.
31050 2012-02-29 Marek Polacek <polacek@redhat.com>
31053 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31054 * elf/Makefile: Add rules to run tst-unused-dep.out.
31056 2012-02-28 David S. Miller <davem@davemloft.net>
31058 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31059 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31060 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31061 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31062 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31063 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31065 2012-02-29 Joseph Myers <joseph@codesourcery.com>
31067 * math/libm-test.inc (llround_test): Move one test from
31068 lround_test. Use TEST_f_L in moved test.
31069 (lround_test): Move misplaced test to llround_test. Add testcase
31072 2012-02-28 Ulrich Drepper <drepper@gmail.com>
31074 * sysdeps/x86_64/fpu/e_expf.S: New file.
31075 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31077 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31080 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31081 of remain_len that may cause incomplete multi-byte character and
31083 * posix/bug-regex33.c: New file.
31084 * posix/Makefile (tests): Add bug-regex33.
31086 2012-02-28 Joseph Myers <joseph@codesourcery.com>
31088 * manual/macros.texi: New file.
31089 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31090 * manual/libc.texinfo: Include macros.texi.
31091 * manual/creatute.texi: Likewise.
31092 * manual/install.texi: Likewise.
31093 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31094 @glibcadj{} in references to the GNU C Library.
31095 * manual/charset.texi: Likewise.
31096 * manual/conf.texi: Likewise.
31097 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31098 when not using those macros.
31099 * manual/creature.texi: Likewise.
31100 * manual/crypt.texi: Likewise.
31101 * manual/errno.texi: Likewise.
31102 * manual/filesys.texi: Likewise.
31103 * manual/header.texi: Likewise.
31104 * manual/install.texi: Likewise.
31105 * manual/intro.texi: Likewise.
31106 * manual/io.texi: Likewise.
31107 * manual/job.texi: Likewise.
31108 * manual/lang.texi: Likewise.
31109 * manual/libc.texiinfo: Likewise.
31110 * manual/llio.texi: Likewise.
31111 * manual/locale.texi: Likewise.
31112 * manual/maint.texi: Likewise.
31113 * manual/math.texi: Likewise.
31114 * manual/memory.texi: Likewise.
31115 * manual/message.texi: Likewise.
31116 * manual/nss.texi: Likewise.
31117 * manual/pattern.texi: Likewise.
31118 * manual/process.texi: Likewise.
31119 * manual/resource.texi: Likewise.
31120 * manual/search.texi: Likewise.
31121 * manual/setjmp.texi: Likewise.
31122 * manual/signal.texi: Likewise.
31123 * manual/socket.texi: Likewise.
31124 * manual/startup.texi: Likewise.
31125 * manual/stdio.texi: Likewise.
31126 * manual/string.texi: Likewise.
31127 * manual/sysinfo.texi: Likewise.
31128 * manual/syslog.texi: Likewise.
31129 * manual/terminal.texi: Likewise.
31130 * manual/time.texi: Likewise.
31131 * manual/users.texi: Likewise.
31132 * INSTALL: Regenerated.
31133 * NOTES: Regenerated.
31134 * sysdeps/gnu/errlist.c: Regenerated.
31136 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31138 * include/dirent.h: Include <dirstream.h> before
31141 2012-02-28 David S. Miller <davem@davemloft.net>
31143 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31144 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31145 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31146 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31148 2012-02-27 David S. Miller <davem@davemloft.net>
31150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31152 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31153 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31156 frame pointer instead of stack pointer relative arg slot.
31157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31158 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31159 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31161 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31164 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31166 2012-02-27 David S. Miller <davem@davemloft.net>
31168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31172 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31173 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31174 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31175 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31177 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31179 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31180 later. Allow versions 5-9.
31181 * configure: Regenerated.
31182 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31183 required minimum version and 4.6 as recommended version. Do not
31184 mention bugs in GCC 2.7 and 2.8.
31185 * INSTALL: Regenerated.
31187 2012-02-27 David S. Miller <davem@davemloft.net>
31189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31193 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31194 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31195 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31196 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31199 manipulate bits before adding and subtracting TWO112[sx].
31200 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31202 2012-02-27 Roland McGrath <roland@hack.frob.com>
31205 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31206 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31207 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31208 being in POSIX, because they are in 1003.1-2008.
31210 * rt/tst-aio.c: Include <fcntl.h>.
31211 * rt/tst-aio7.c: Likewise.
31212 * rt/tst-aio64.c: Likewise.
31214 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31216 2012-02-27 Joseph Myers <joseph@codesourcery.com>
31218 * manual/install.texi (--with-headers): Describe headers as
31219 interface headers, not private headers.
31220 (Specific advice for GNU/Linux systems): Describe use of headers
31221 from "make headers_install", not private headers from older
31223 * INSTALL: Regenerated.
31224 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31226 * sysdeps/unix/sysv/linux/configure: Regenerated.
31228 * manual/llio.texi (fclean): Remove documentation.
31230 * manual/Makefile (libc-texi-generated): New variable. Include
31232 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31233 $(libc-texi-generated), not duplicated list of files.
31234 (version.texi, stamp-version): New rules.
31235 (realclean): Remove $(libc-texi-generated), not individual files
31236 from that list. Do not remove dir-add.texinfo.
31237 * manual/libc.texinfo: Comment out uses of edition numbers and
31238 references to printed manual. Remove last-updated dates.
31239 (EDITION): Comment out.
31241 (VERSION, UPDATED): Remove.
31242 (version.texi): Include.
31244 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31246 * sysdeps/posix/spawni.c: Include <signal.h>.
31247 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31248 * sysdeps/pthread/aio_fsync.c: Likewise.
31250 2012-02-26 Ulrich Drepper <drepper@gmail.com>
31252 * conform/Makefile (tests): Run only when not cross-compiling and
31253 when fast-check is not defined.
31255 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31256 * conform/data/limits.h-data: Fixes for POSIX2008.
31257 * conform/run-conformtest.sh: Run all tests.
31258 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31260 * include/bits/dlfcn.h: Likewise.
31261 * include/langinfo.h: Likewise.
31262 * include/monetary.h: Likewise.
31263 * include/sys/poll.h: Likewise.
31265 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31267 * posix/spawn.h: Define __need_sigset_t.
31268 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31269 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31270 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31271 to get sigevent_t only.
31272 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31273 only for __USE_GNU.
31274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31275 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31276 process_vm_writev only for __USE_GNU.
31277 * termios/termios.h: Declare tcgetsid also for POSIX2008.
31279 * conform/Makefile: For now ignore errors from run-conformtest.
31280 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31281 POSIX to avoid namespace pollution. Don't prepend headers.
31282 * conform/data/aio.h-data: Fixes for POSIX testing.
31283 * conform/data/fcntl.h-data: Likewise.
31284 * conform/data/glob.h-data: Likewise.
31285 * conform/data/grp.h-data: Likewise.
31286 * conform/data/pthread.h-data: Likewise.
31287 * conform/data/pwd.h-data: Likewise.
31288 * conform/data/signal.h-data: Likewise.
31289 * conform/data/spawn.h-data: Likewise.
31290 * conform/data/stdio.h-data: Likewise.
31291 * conform/data/stdlib.h-data: Likewise.
31292 * conform/data/stropts.h-data: Likewise.
31293 * conform/data/sys/mman.h-data: Likewise.
31294 * conform/data/sys/stat.h-data: Likewise.
31295 * conform/data/sys/types.h-data: Likewise.
31296 * conform/data/sys/wait.h-data: Likewise.
31297 * conform/data/time.h-data: Likewise.
31298 * conform/data/unistd.h-data: Likewise.
31299 * conform/data/utime.h-data: Likewise.
31301 * io/sys/stat.h: fchmod was always in POSIX.
31302 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31303 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31304 * rt/aio.h: Define __need_timespec before including <time.h>.
31305 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31306 struct. Add forward declaration of pthread_attr_t and use it in
31308 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31310 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31311 always remove CLK_TCK definition.
31313 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31315 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31317 2012-02-25 Ulrich Drepper <drepper@gmail.com>
31319 * conform/run-conformtest.sh: New file.
31320 * conform/Makefile: Run run-conformtest for tests.
31321 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31324 * conform/data/uchar.h-data: New file.
31325 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31326 * conform/data/arpa/inet.h-data: Likewise.
31327 * conform/data/assert.h-data: Likewise.
31328 * conform/data/complex.h-data: Likewise.
31329 * conform/data/cpio.h-data: Likewise.
31330 * conform/data/ctype.h-data: Likewise.
31331 * conform/data/dirent.h-data: Likewise.
31332 * conform/data/dlfcn.h-data: Likewise.
31333 * conform/data/errno.h-data: Likewise.
31334 * conform/data/fcntl.h-data: Likewise.
31335 * conform/data/float.h-data: Likewise.
31336 * conform/data/fmtmsg.h-data: Likewise.
31337 * conform/data/fnmatch.h-data: Likewise.
31338 * conform/data/ftw.h-data: Likewise.
31339 * conform/data/glob.h-data: Likewise.
31340 * conform/data/grp.h-data: Likewise.
31341 * conform/data/iconv.h-data: Likewise.
31342 * conform/data/inttypes.h-data: Likewise.
31343 * conform/data/langinfo.h-data: Likewise.
31344 * conform/data/libgen.h-data: Likewise.
31345 * conform/data/limits.h-data: Likewise.
31346 * conform/data/locale.h-data: Likewise.
31347 * conform/data/math.h-data: Likewise.
31348 * conform/data/monetary.h-data: Likewise.
31349 * conform/data/mqueue.h-data: Likewise.
31350 * conform/data/ndbm.h-data: Likewise.
31351 * conform/data/net/if.h-data: Likewise.
31352 * conform/data/netdb.h-data: Likewise.
31353 * conform/data/netinet/in.h-data: Likewise.
31354 * conform/data/nl_types.h-data: Likewise.
31355 * conform/data/poll.h-data: Likewise.
31356 * conform/data/pthread.h-data: Likewise.
31357 * conform/data/pwd.h-data: Likewise.
31358 * conform/data/regex.h-data: Likewise.
31359 * conform/data/sched.h-data: Likewise.
31360 * conform/data/search.h-data: Likewise.
31361 * conform/data/semaphore.h-data: Likewise.
31362 * conform/data/setjmp.h-data: Likewise.
31363 * conform/data/signal.h-data: Likewise.
31364 * conform/data/spawn.h-data: Likewise.
31365 * conform/data/stdarg.h-data: Likewise.
31366 * conform/data/stdio.h-data: Likewise.
31367 * conform/data/stdlib.h-data: Likewise.
31368 * conform/data/string.h-data: Likewise.
31369 * conform/data/strings.h-data: Likewise.
31370 * conform/data/stropts.h-data: Likewise.
31371 * conform/data/sys/ipc.h-data: Likewise.
31372 * conform/data/sys/mman.h-data: Likewise.
31373 * conform/data/sys/msg.h-data: Likewise.
31374 * conform/data/sys/resource.h-data: Likewise.
31375 * conform/data/sys/select.h-data: Likewise.
31376 * conform/data/sys/sem.h-data: Likewise.
31377 * conform/data/sys/shm.h-data: Likewise.
31378 * conform/data/sys/socket.h-data: Likewise.
31379 * conform/data/sys/stat.h-data: Likewise.
31380 * conform/data/sys/statvfs.h-data: Likewise.
31381 * conform/data/sys/time.h-data: Likewise.
31382 * conform/data/sys/timeb.h-data: Likewise.
31383 * conform/data/sys/times.h-data: Likewise.
31384 * conform/data/sys/types.h-data: Likewise.
31385 * conform/data/sys/uio.h-data: Likewise.
31386 * conform/data/sys/un.h-data: Likewise.
31387 * conform/data/sys/utsname.h-data: Likewise.
31388 * conform/data/sys/wait.h-data: Likewise.
31389 * conform/data/syslog.h-data: Likewise.
31390 * conform/data/tar.h-data: Likewise.
31391 * conform/data/termios.h-data: Likewise.
31392 * conform/data/utime.h-data: Likewise.
31393 * conform/data/utmpx.h-data: Likewise.
31394 * conform/data/varargs.h-data: Likewise.
31395 * conform/data/wchar.h-data: Likewise.
31396 * conform/data/wctype.h-data: Likewise.
31397 * conform/data/wordexp.h-data: Likewise.
31399 * include/stropts.h: New file.
31400 * include/uchar.h: New file.
31401 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31402 * include/assert.h: Likewise.
31403 * include/ctype.h: Likewise.
31404 * include/dirent.h: Likewise.
31405 * include/dlfcn.h: Likewise.
31406 * include/fcntl.h: Likewise.
31407 * include/fnmatch.h: Likewise.
31408 * include/glob.h: Likewise.
31409 * include/grp.h: Likewise.
31410 * include/libio.h: Likewise.
31411 * include/locale.h: Likewise.
31412 * include/math.h: Likewise.
31413 * include/net/if.h: Likewise.
31414 * include/netdb.h: Likewise.
31415 * include/netinet/in.h: Likewise.
31416 * include/pthread.h: Likewise.
31417 * include/pwd.h: Likewise.
31418 * include/regex.h: Likewise.
31419 * include/sched.h: Likewise.
31420 * include/search.h: Likewise.
31421 * include/setjmp.h: Likewise.
31422 * include/signal.h: Likewise.
31423 * include/stdio.h: Likewise.
31424 * include/stdlib.h: Likewise.
31425 * include/string.h: Likewise.
31426 * include/sys/cdefs.h: Likewise.
31427 * include/sys/mman.h: Likewise.
31428 * include/sys/msg.h: Likewise.
31429 * include/sys/resource.h: Likewise.
31430 * include/sys/select.h: Likewise.
31431 * include/sys/socket.h: Likewise.
31432 * include/sys/stat.h: Likewise.
31433 * include/sys/statvfs.h: Likewise.
31434 * include/sys/time.h: Likewise.
31435 * include/sys/times.h: Likewise.
31436 * include/sys/uio.h: Likewise.
31437 * include/sys/utsname.h: Likewise.
31438 * include/sys/wait.h: Likewise.
31439 * include/termios.h: Likewise.
31440 * include/time.h: Likewise.
31441 * include/ulimit.h: Likewise.
31442 * include/unistd.h: Likewise.
31443 * include/utime.h: Likewise.
31444 * include/wchar.h: Likewise.
31445 * include/wctype.h: Likewise.
31446 * include/wordexp.h: Likewise.
31448 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31450 * time/time.h: TIME_UTC must be a macro.
31451 Make timespec_get available for ISO C11 only as well.
31453 2012-02-24 Ulrich Drepper <drepper@gmail.com>
31455 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31456 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31458 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31460 * configure.in: Use -o not -a in test for unsupported multi-arch.
31462 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31464 * manual/texinfo.tex: Update to version 2012-01-19.16.
31466 2012-02-24 Joseph Myers <joseph@codesourcery.com>
31468 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31470 2012-02-24 Roland McGrath <roland@hack.frob.com>
31473 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31474 * manual/fdl-1.3.texi: New file.
31475 * manual/fdl-1.1.texi: File removed.
31478 * manual/libc.texinfo (FDL_VERSION): New @set.
31479 Use it for mention of FDL in cover text.
31480 (Documentation License): Use it in @include file name.
31482 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31483 Roland McGrath <roland@hack.frob.com>
31486 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31487 not LONG_LONG_MAX and LONG_LONG_MIN.
31488 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31489 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31491 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31493 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31497 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31498 manipulate bits before adding and subtracting TWO23[sx].
31499 * math/libm-test.inc (nearbyint_test): Add more tests.
31501 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31504 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31505 bits before adding and subtracting TWO23[sx].
31506 * math/libm-test.inc (rint_test): Add more tests.
31507 (rint_test_tonearest): Likewise.
31508 (rint_test_towardzero): Likewise.
31509 (rint_test_downward): Likewise.
31510 (rint_test_upward: Likewise.
31512 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31515 * include/stdc-predef.h: New file. Extracted from features.h.
31516 * include/features.h: Include stdc-predef.h.
31517 * Makefile (headers): Add stdc-predef.h.
31518 * CONFORMANCE (Compiler limitations): Update.
31520 2012-02-22 Joseph Myers <joseph@codesourcery.com>
31522 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31524 2012-02-21 David S. Miller <davem@davemloft.net>
31526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31527 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31529 2012-02-20 David S. Miller <davem@davemloft.net>
31531 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31532 using a normal save/restore sequence, rather than allocating a
31533 dummy stack frame just to store a frame pointer and restore.
31534 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31536 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31538 * manual/install.texi: Fix stray word in line-wrapped comment.
31540 2012-02-20 David S. Miller <davem@davemloft.net>
31542 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31543 both binutils and gcc support GOTDATA.
31545 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31546 "rd %pc" in the PIC register setup sequences.
31548 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31549 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31550 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31551 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31552 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31555 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31556 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31557 (SYSCALL_ERROR_HANDLER): Likewise.
31558 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31559 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31560 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31561 (SYSCALL_ERROR_HANDLER): Likewise.
31563 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31564 (HAVE_GCC_GOTDATA): New.
31565 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31566 relocation support in both binutils and gcc.
31567 * sysdeps/sparc/elf/configure: Regenerate.
31569 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31570 * sysdeps/sparc/sparc32/elf/configure: Delete.
31571 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31572 * sysdeps/sparc/sparc64/elf/configure: Delete.
31573 * sysdeps/sparc/elf/configure.in: New file.
31574 * sysdeps/sparc/elf/configure: Generate.
31576 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31577 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31578 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31579 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31580 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31582 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31584 * manual/install.texi: Do not mention specific glibc version
31586 * manual/libc.texinfo (VERSION, UPDATED): Update.
31587 (@copying): Use @copyright{} and range of years.
31589 2012-02-21 Joseph Myers <joseph@codesourcery.com>
31592 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31593 [crti.S not in sysdirs] (generated): Do not append.
31594 [crti.S not in sysdirs] (omit-deps): Likewise.
31595 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31596 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31597 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31598 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31599 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31601 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31602 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31603 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31604 * csu/defs.awk: Remove file.
31605 * sysdeps/generic/initfini.c: Likewise.
31606 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31608 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31611 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31613 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31614 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31615 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31616 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31618 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31620 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31621 (__EPOLL_PACKED): Define to empty if not defined by
31623 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31627 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31629 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31630 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31631 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31632 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31634 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31638 2012-02-20 Joseph Myers <joseph@codesourcery.com>
31640 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31643 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31644 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31647 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31649 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31650 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31652 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31654 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31655 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31657 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31659 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31662 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31664 * math/w_acos.c: Use non-signaling floating-point comparisons.
31665 * math/w_acosf.c: Likewise.
31666 * math/w_acosh.c: Likewise.
31667 * math/w_acoshf.c: Likewise.
31668 * math/w_acoshl.c: Likewise.
31669 * math/w_acosl.c: Likewise.
31670 * math/w_asin.c: Likewise.
31671 * math/w_asinf.c: Likewise.
31672 * math/w_asinl.c: Likewise.
31673 * math/w_atanh.c: Likewise.
31674 * math/w_atanhf.c: Likewise.
31675 * math/w_atanhl.c: Likewise.
31676 * math/w_exp2.c: Likewise.
31677 * math/w_exp2f.c: Likewise.
31678 * math/w_exp2l.c: Likewise.
31679 * math/w_j0.c: Likewise.
31680 * math/w_j0f.c: Likewise.
31681 * math/w_j0l.c: Likewise.
31682 * math/w_j1.c: Likewise.
31683 * math/w_j1f.c: Likewise.
31684 * math/w_j1l.c: Likewise.
31685 * math/w_jn.c: Likewise.
31686 * math/w_jnf.c: Likewise.
31687 * math/w_log.c: Likewise.
31688 * math/w_log10.c: Likewise.
31689 * math/w_log10f.c: Likewise.
31690 * math/w_log10l.c: Likewise.
31691 * math/w_log2.c: Likewise.
31692 * math/w_log2f.c: Likewise.
31693 * math/w_log2l.c: Likewise.
31694 * math/w_logf.c: Likewise.
31695 * math/w_logl.c: Likewise.
31696 * math/w_sqrt.c: Likewise.
31697 * math/w_sqrtf.c: Likewise.
31698 * math/w_sqrtl.c: Likewise.
31699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31700 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31701 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31702 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31703 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31705 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31708 * manual/string.texi (strnlen): Use correct parameter name in
31709 equivalent expression.
31711 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31714 * manual/users.texi (seteuid): Consistently use neweuid for
31717 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31720 * manual/nss.texi (Services in the NSS configuration): Correct
31721 list of services in example configuration file.
31723 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31726 * manual/arith.texi: Remove statements about negative zero
31727 behaving identically to zero.
31729 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31732 * manual/install.texi: Do not document upgrading from libc5.
31734 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31737 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31739 2012-02-18 David S. Miller <davem@davemloft.net>
31741 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31742 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31743 %o7 across the call.
31744 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31747 SETUP_PIC_REG_LEAF.
31748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31749 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31750 * sysdeps/sparc/crtn.S: Likewise.
31752 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31754 * aout/Makefile: Remove.
31756 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31759 * manual/examples/argp-ex1.c (main): Format definition in GNU
31761 * manual/examples/argp-ex2.c (main): Likewise.
31762 * manual/examples/argp-ex3.c (main): Likewise.
31763 * manual/examples/argp-ex4.c (main): Likewise.
31764 * manual/examples/longopt.c (main): Use new-style prototype
31766 * manual/examples/strncat.c (main): Specify return type and use
31767 (void) for arguments.
31768 * manual/examples/subopt.c (main): Use char **argv argument.
31770 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31773 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31776 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31779 * manual/string.texi (strchr): Change when strchrnul is
31782 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31785 * manual/locale.texi (setlocale): Document LOCPATH.
31787 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31790 * manual/process.texi (execle): Move @dots{} before last argument.
31792 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31795 * manual/charset.texi (Generic Charset Conversion): Fix typo
31796 (LC_TYPE -> LC_CTYPE).
31798 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31801 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31802 (scalbnf): Likewise.
31803 (scalbnl): Likewise.
31804 (scalbln): Likewise.
31805 (scalblnf): Likewise.
31806 (scalblnl): Likewise.
31807 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31808 (vwarnx): Likewise.
31811 * manual/filesys.texi (telldir): Use braces around return type.
31812 * manual/llio.texi (mmap): Add space after comma.
31813 (mmap64): Likewise.
31814 * manual/math.texi (jn): Use @var{} on parameter names.
31820 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31822 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31824 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31825 (sched_get_priority_max): Likewise.
31826 * manual/signal.texi (sigvec): Add space after comma.
31827 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31829 (if_indextoname): Likewise.
31830 (if_freenameindex): Likewise.
31831 (sendto): Use ',' instead of '.' in prototype.
31832 * manual/startup.texi (syscall): Use @dots{} instead of literal
31834 * manual/stdio.texi (__fpending): Separate initial words of
31835 paragraph from @deftypefun line.
31836 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31838 (vsyslog): Use @var{} on parameter names.
31839 * manual/terminal.texi (stty): Use @var{} on parameter names.
31840 * manual/users.texi (getutmp): Use @var{} on parameter names.
31841 (getutmpx): Likewise.
31843 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31846 * manual/stdio.texi (fopen): Fix typos in description of
31849 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31852 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31853 get clock_id definition.
31855 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31858 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31859 (madvise): Cast every argument to void on its own.
31861 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31864 * manual/startup.texi (Exit Status): Fix typo.
31866 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31869 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31870 * manual/examples/argp-ex2.c: Likewise.
31871 * manual/examples/argp-ex3.c: Likewise.
31873 2012-02-16 Richard Henderson <rth@redhat.com>
31875 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31876 * sysdeps/s390/s390-32/initfini.c: Remove.
31877 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31878 * sysdeps/s390/s390-64/initfini.c: Remove.
31880 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31882 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31883 compiler output for sysdeps/generic/initfini.c.
31884 * sysdeps/sh/elf/initfini.c: Remove file.
31886 2012-02-16 David S. Miller <davem@davemloft.net>
31889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31891 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31892 * sysdeps/sparc/crti.S: New file.
31893 * sysdeps/sparc/crtn.S: New file.
31894 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31895 * sysdeps/sparc/sparc64/Makefile: Likewise.
31897 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31900 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31902 2012-02-15 Roland McGrath <roland@hack.frob.com>
31905 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31907 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31908 (write, read, close): Likewise.
31909 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31911 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31913 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31914 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31915 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31916 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31918 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31919 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31922 2012-02-14 Marek Polacek <polacek@redhat.com>
31924 * sysdeps/x86_64/crti.S: New file.
31925 * sysdeps/x86_64/crtn.S: New file.
31926 * sysdeps/x86_64/elf/initfini.c: Remove file.
31928 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31930 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31931 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31932 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31933 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31935 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31939 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31941 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31942 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31943 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31944 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31946 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31950 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31952 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31953 __feraiseexcept instead of feraiseexcept.
31955 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31956 nanosleep invocations.
31957 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31958 strings, and add error checking for a nanosleep invocations.
31960 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31962 Replace FSF snail mail address with URLs, as per GNU coding standards.
31963 Most of the snail mail addresses were wrong anyway, and omitting
31964 them makes the source code easier to maintain. Almost all of the
31965 changes are to license notices and to locale LC_IDENTIFICATION
31966 addresses, except for this one:
31967 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31968 not its snail mail address.
31970 2012-02-09 Richard Henderson <rth@twiddle.net>
31972 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31973 of kernel-features.h.
31975 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31977 2012-02-08 Marek Polacek <polacek@redhat.com>
31979 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31980 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31981 * sysdeps/gnu/_G_config.h: Likewise.
31982 * sysdeps/generic/_G_config.h: Likewise.
31984 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31986 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31990 * sysdeps/powerpc/powerpc32/crti.S: New file.
31991 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31992 * sysdeps/powerpc/powerpc64/crti.S: New file.
31993 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31995 * Makeconfig (have-initfini): Don't set.
31996 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31997 * configure.in (nopic_initfini): Don't substitute.
31998 * config.h.in (HAVE_INITFINI): Don't #undef.
31999 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32000 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32002 2012-02-08 Joseph Myers <joseph@codesourcery.com>
32004 Support crti.S and crtn.S provided directly by architectures.
32005 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32006 [crti.S in sysdirs] (omit-deps): Likewise.
32007 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32008 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32009 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32010 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32011 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32012 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32013 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32014 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32015 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32016 compiler output for sysdeps/generic/initfini.c.
32017 * sysdeps/i386/elf/Makefile: Remove file.
32018 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32020 2012-02-07 Marek Polacek <polacek@redhat.com>
32022 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32023 * sysdeps/gnu/_G_config.h: Likewise.
32024 * sysdeps/mach/hurd/_G_config.h: Likewise.
32026 2012-02-07 Marek Polacek <polacek@redhat.com>
32028 * math/Makefile (tests): Add tst-CMPLX2.
32029 * math/tst-CMPLX2.c: New file.
32031 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32033 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32035 * math/libm-test.inc (jn_test): Add missing L suffix.
32037 2012-02-06 Marek Polacek <polacek@redhat.com>
32039 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32040 * sysdeps/i386/fpu/e_powf.S: Likewise.
32041 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32042 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32043 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32044 * sysdeps/i386/fpu/e_pow.S: Likewise.
32045 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32046 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32047 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32048 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32049 * sysdeps/i386/fpu/e_log2.S: Likewise.
32050 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32052 * sysdeps/i386/fpu/e_powl.S: Likewise.
32053 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32054 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32055 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32056 * sysdeps/i386/fpu/e_logl.S: Likewise.
32057 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32058 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32059 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32060 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32061 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32062 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32063 * sysdeps/i386/fpu/e_log.S: Likewise.
32064 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32065 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32066 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32067 * sysdeps/i386/fpu/e_logf.S: Likewise.
32068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32070 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32071 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32072 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32073 * sysdeps/i386/fpu/e_log10.S: Likewise.
32074 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32075 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32076 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32077 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32078 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32079 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32080 * sysdeps/i386/asm-syntax.h: Likewise.
32081 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32082 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32083 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32084 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32085 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32086 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32087 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32088 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32089 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32090 * sysdeps/powerpc/sysdep.h: Likewise.
32091 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32092 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32094 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32097 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32099 2012-02-06 Joseph Myers <joseph@codesourcery.com>
32101 * sysdeps/i386/sysdep.h: Include <features.h>.
32102 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32105 2012-02-05 Joseph Myers <joseph@codesourcery.com>
32107 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32109 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32112 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32114 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32115 (SETUP_PIC_REG): Use GET_PC_THUNK.
32116 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32119 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32121 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32122 for non-PIC compilation.
32123 (SETUP_PIC_REG): Add .p2align directive.
32124 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32125 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32126 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32127 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32128 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32129 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32130 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32131 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32132 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32133 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32134 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32135 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32137 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32138 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32139 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32140 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32141 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32142 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32143 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32144 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32150 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32151 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32152 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32153 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32154 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32155 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32156 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32157 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32158 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32159 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32160 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32161 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32162 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32163 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32164 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32166 2012-02-03 Joseph Myers <joseph@codesourcery.com>
32168 * math/tst-CMPLX.c: Include <stdio.h>.
32170 2012-01-31 Joseph Myers <joseph@codesourcery.com>
32172 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32174 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32175 * sysdeps/sparc/bits/mathdef.h: Likewise.
32177 2012-01-31 Marek Polacek <polacek@redhat.com>
32179 * libio/libio.h: Don't define _PARAMS.
32180 * locale/programs/config.h: Don't define PARAMS.
32181 * stdlib/strtol_l.c: Likewise.
32182 (__strtol_l): Remove PARAMS from the prototype.
32184 2012-01-31 Ulrich Drepper <drepper@gmail.com>
32186 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32187 names. Just use the correct names. Remove unnecessary wrapper
32189 * malloc/arena.c: Likewise.
32190 * malloc/hooks.c: Likewise.
32192 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32193 ARENA_TEST says not to. Simplify test for creation of a new arena.
32194 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32196 2012-01-30 Ulrich Drepper <drepper@gmail.com>
32198 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32200 (update_get_addr): New function.
32201 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32202 GET_ADDR_MODULE parameter.
32204 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32206 * crypt/cert.c: Remove __STDC__ conditionals.
32207 * crypt/crypt-entry.c: Likewise.
32208 * crypt/crypt_util.c: Likewise.
32209 * libio/filedoalloc.c: Likewise.
32210 * libio/fileops.c: Likewise.
32211 * libio/genops.c: Likewise.
32212 * libio/iofclose.c: Likewise.
32213 * libio/iofdopen.c: Likewise.
32214 * libio/iofopen.c: Likewise.
32215 * libio/iofopen64.c: Likewise.
32216 * libio/iogetdelim.c: Likewise.
32217 * libio/iopopen.c: Likewise.
32218 * libio/obprintf.c: Likewise.
32219 * libio/oldfileops.c: Likewise.
32220 * libio/oldiofclose.c: Likewise.
32221 * libio/oldiofdopen.c: Likewise.
32222 * libio/oldiofopen.c: Likewise.
32223 * libio/oldiopopen.c: Likewise.
32224 * libio/wfiledoalloc.c: Likewise.
32225 * libio/wgenops.c: Likewise.
32226 * locale/programs/xmalloc.c: Likewise.
32227 * misc/syslog.c: Likewise.
32228 * stdio-common/xbug.c: Likewise.
32229 * string/memchr.c: Likewise.
32230 * string/memcmp.c: Likewise.
32231 * string/memrchr.c: Likewise.
32232 * string/rawmemchr.c: Likewise.
32233 * sysdeps/posix/getcwd.c: Likewise.
32234 * time/strftime_l.c: Likewise.
32236 2012-01-30 Joseph Myers <joseph@codesourcery.com>
32238 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
32239 * config.make.in (config-cflags-sse2avx): Define.
32240 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32243 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32245 * scripts/config.guess: Update from upstream config git repository.
32246 * scripts/config.sub: Likewise.
32248 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32250 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32252 (R_TILEPRO_*, R_TILEGX_*): New macros.
32254 * scripts/firstversions.awk: Fix bug in version range handling.
32256 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32258 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32260 * include/sys/epoll.h: New file.
32261 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32264 2012-01-28 Ulrich Drepper <drepper@gmail.com>
32266 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32267 Avoid unnecessary __WORDSIZE == 64 test.
32268 (fmaxf): Use VEX format if possible.
32273 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32274 * math/math_private.h: Remove libc_fegetround* and
32276 * sysdeps/i386/configure.in: Check for -msse2avx.
32277 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32278 also if SSE2AVX is defined.
32279 Remove libc_fegetround* and libc_fesetround*.
32280 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32281 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32285 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32290 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32292 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32296 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32298 2012-01-27 Ulrich Drepper <drepper@gmail.com>
32301 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32303 * Makeconfig (libm): Define.
32304 * elf/Makefile: Add rules to build and run tst-relsort1.
32305 * elf/tst-relsort1.c: New file.
32306 * elf/tst-relsort1mod1.c: New file.
32307 * elf/tst-relsort1mod2.c: New file.
32309 2012-01-27 Joseph Myers <joseph@codesourcery.com>
32311 * math/s_ldexp.c: Remove __STDC__ conditionals.
32312 * math/s_ldexpf.c: Likewise.
32313 * math/s_ldexpl.c: Likewise.
32314 * math/s_nextafter.c: Likewise.
32315 * math/s_nexttowardf.c: Likewise.
32316 * math/s_significand.c: Likewise.
32317 * math/s_significandf.c: Likewise.
32318 * math/s_significandl.c: Likewise.
32319 * math/w_jnl.c: Likewise.
32320 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32321 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32322 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32323 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32324 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32326 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32327 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32328 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32329 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32330 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32332 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32333 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32334 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32335 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32336 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32338 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32339 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32340 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32341 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32342 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32344 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32345 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32346 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32347 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32348 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32351 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32352 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32353 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32354 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32355 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32356 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32357 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32358 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32359 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32360 * sysdeps/ieee754/k_standard.c: Likewise.
32361 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32362 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32363 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32364 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32365 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32366 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32368 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32369 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32370 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32371 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32372 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32373 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32374 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32375 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32377 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32378 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32382 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32386 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32390 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32391 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32392 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32394 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32422 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32424 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32427 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32428 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32429 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32432 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32435 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32436 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32440 * sysdeps/ieee754/s_matherr.c: Likewise.
32441 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32442 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32443 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32444 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32446 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32448 * crypt/md5.h: Remove __STDC__ conditionals.
32449 * libio/libioP.h: Likewise.
32450 * locale/programs/config.h: Likewise.
32451 * sysdeps/generic/sysdep.h: Likewise.
32452 * sysdeps/i386/asm-syntax.h: Likewise.
32453 * sysdeps/s390/asm-syntax.h: Likewise.
32454 * sysdeps/unix/sysdep.h: Likewise.
32455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32458 2012-01-26 Joseph Myers <joseph@codesourcery.com>
32460 * libio/libio.h: Remove __STDC__ conditionals.
32461 * malloc/obstack.h: Likewise.
32462 * math/complex.h: Likewise.
32463 * math/math.h: Likewise.
32464 * sysdeps/generic/_G_config.h: Likewise.
32465 * sysdeps/gnu/_G_config.h: Likewise.
32466 * sysdeps/mach/hurd/_G_config.h: Likewise.
32467 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32468 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32469 * sysdeps/sparc/bits/mathdef.h: Likewise.
32471 2012-01-26 Ulrich Drepper <drepper@gmail.com>
32474 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
32475 Clean up HAS_* macros.
32476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
32477 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32479 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32481 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32482 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32483 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32484 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32485 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32487 2012-01-25 Joseph Myers <joseph@codesourcery.com>
32489 * elf/tst-unique3.cc (gets): Remove declaration.
32490 * elf/tst-unique3lib.cc (gets): Likewise.
32491 * elf/tst-unique3lib2.cc (gets): Likewise.
32492 * elf/tst-unique4.cc (gets): Likewise.
32494 2012-01-24 Ulrich Drepper <drepper@gmail.com>
32496 * include/stdio.h: Add C++ protection. Add gets declarations and
32498 * debug/tst-chk1.c: Don't declare gets here.
32499 * stdio-common/tst-gets.c: Likewise.
32501 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32503 * posix/glob: Remove directory.
32505 2012-01-24 Joseph Myers <joseph@codesourcery.com>
32507 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32509 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32511 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32512 of the non-standard EPFNOSUPPORT.
32514 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32516 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32517 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32518 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32520 2012-01-21 Ulrich Drepper <drepper@gmail.com>
32522 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32524 2012-01-20 Ulrich Drepper <drepper@gmail.com>
32526 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32528 * nscd/grpcache.c (cache_addgr): Likewise.
32529 * nscd/hstcache.c (cache_addhst): Likewise.
32530 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32531 * nscd/pwdcache.c (cache_addpw): Likewise.
32532 * nscd/servicescache.c (cache_addserv): Likewise.
32534 2012-01-16 Ulrich Drepper <drepper@gmail.com>
32536 * malloc/malloc.c: Various cleanups.
32537 * malloc/hooks.c: Likewise.
32539 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32540 * stdlib/bug-fmtmsg1.c: New file.
32542 * stdlib/fmtmsg.c (init): Add missing unlock.
32543 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32545 2012-01-12 Marek Polacek <polacek@redhat.com>
32547 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32550 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32552 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32553 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32554 macro to ensure uniqueness of label name.
32555 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32556 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32558 2012-01-11 Ulrich Drepper <drepper@gmail.com>
32560 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32562 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32563 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32564 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32567 2012-01-10 Ulrich Drepper <drepper@gmail.com>
32569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32571 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32572 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32573 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32575 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32577 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
32578 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32579 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
32582 * math/bits/math-finite.h: Add ldexp support.
32584 2012-01-10 Marek Polacek <polacek@redhat.com>
32586 * locale/programs/localedef.h (show_archive_content): Add noreturn
32589 2012-01-09 Ulrich Drepper <drepper@gmail.com>
32591 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32593 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32595 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32597 * io/Makefile (headers): Add bits/poll2.h.
32599 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32602 typo #include statement.
32604 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32606 * include/sys/cdefs.h: Define __attribute_alloc_size.
32607 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32608 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32609 * elf/pldd.c: Likewise.
32610 * iconv/iconv_charmap.c: Likewise.
32611 * iconv/iconvconfig.c: Likewise.
32612 * iconv/strtab.c: Likewise.
32613 * locale/programs/locale.c: Likewise.
32614 * locale/programs/localedef.h: Likewise.
32615 * locale/programs/simple-hash.c: Likewise.
32616 * nscd/nscd.h: Likewise.
32617 * nss/makedb.c: Likewise.
32618 * sysdeps/generic/ldconfig.h: Likewise.
32619 * locale/programs/localedef.c: Remove xmalloc prototype.
32620 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32622 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32624 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32627 2012-01-08 Ulrich Drepper <drepper@gmail.com>
32629 * math/Makefile (tests): Add tst-CMPLX.
32630 * math/tst-CMPLX.c: New file.
32632 * math/complex.h (CMPLXL): Fix typo.
32634 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32635 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32637 * debug/tst-chk1.c: Add poll and ppoll tests.
32638 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32639 * include/sys/poll.h: Add hidden proto for ppoll.
32640 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32641 * sysdeps/mach/hurd/ppoll.c: Likewise.
32642 * io/ppoll.c: Likewise.
32643 * debug/poll_chk.c: New file.
32644 * debug/ppoll_chk.c: New file.
32645 * include/bits/poll2.h: New file.
32646 * io/bits/poll2.h: New file.
32649 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32651 * configure.in: static is always set to yes. Remove.
32652 * config.make.in: Don't set build-static.
32653 * Makeconfig: Remove use of build-static.
32654 * dlfcn/Makefile: Likewise.
32655 * elf/Makefile: Likewise.
32656 * math/Makefile: Likewise.
32657 * misc/Makefile: Likewise.
32658 * nptl/Makefile: Likewise.
32659 * sysdeps/mach/hurd/Makefile: Likewise.
32661 * configure.in: PWD_P is not used anymore.
32662 * config.make.in: Remove PWD_P entry.
32664 * configure.in: Remove last remnants of RANLIB.
32665 No need to check for signed size_t anymore.
32666 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32668 Remove __builtin_expect test because we require at least gcc 3.4.
32669 * aclocal.m4: Likewise.
32671 * wcsmbs/mbrtoc16.c: Implement using towc function.
32672 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32673 * wcsmbs/wcsmbsload.c: Likewise.
32674 * iconv/gconv_simple.c: Likewise.
32675 * iconv/gconv_int.h: Likewise.
32676 * iconv/gconv_builtin.h: Likewise.
32677 * iconv/iconv_prog.c: Remove CHAR16 handling.
32679 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32681 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32683 * configure.in: Remove --with-elf and --enable-bounded options.
32684 Dont set base_machine for ia64. More non-ELF conditions removed.
32685 Remove testing and setting of leading underscore information.
32686 * config.make.in (build-bounded): Set to no.
32687 * config.h.in: Remove NO_UNDERSCORES entry.
32688 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32690 * csu/start.c: Remove !NO_UNDERSCORE code.
32691 * locale/localeinfo.h: Likewise.
32692 * sysdeps/generic/machine-gmon.h: Likewise.
32693 * sysdeps/generic/sysdep.h: Likewise.
32694 * sysdeps/i386/sysdep.h: Likewise.
32695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32696 * sysdeps/mach/sysdep.h: Likewise.
32697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32698 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32699 * sysdeps/sh/sysdep.h: Likewise.
32700 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32701 * sysdeps/unix/i386/sysdep.S: Likewise.
32702 * sysdeps/unix/sparc/start.c: Likewise.
32703 * sysdeps/unix/sparc/sysdep.S: Likewise.
32704 * sysdeps/unix/sparc/sysdep.h: Likewise.
32705 * sysdeps/unix/start.c: Likewise.
32706 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32707 * sysdeps/x86_64/sysdep.h: Likewise.
32709 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32712 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32714 * argp/argp-fmtstream.h: Use const instead __const.
32715 * argp/argp.h: Likewise.
32716 * assert/assert.h: Likewise.
32717 * bits/fenv.h: Likewise.
32718 * bits/sched.h: Likewise.
32719 * bits/sigset.h: Likewise.
32720 * bits/sigthread.h: Likewise.
32721 * catgets/nl_types.h: Likewise.
32722 * conform/data/pthread.h-data: Likewise.
32723 * crypt/crypt-private.h: Likewise.
32724 * crypt/crypt.h: Likewise.
32725 * crypt/crypt_util.c: Likewise.
32726 * ctype/ctype.h: Likewise.
32727 * debug/execinfo.h: Likewise.
32728 * debug/mbsnrtowcs_chk.c: Likewise.
32729 * debug/mbsrtowcs_chk.c: Likewise.
32730 * debug/wcsnrtombs_chk.c: Likewise.
32731 * debug/wcsrtombs_chk.c: Likewise.
32732 * debug/wcstombs_chk.c: Likewise.
32733 * dirent/dirent.h: Likewise.
32734 * dlfcn/dlfcn.h: Likewise.
32735 * elf/neededtest4.c: Likewise.
32736 * grp/grp.h: Likewise.
32737 * gshadow/gshadow.h: Likewise.
32738 * iconv/gconv.h: Likewise.
32739 * iconv/gconv_int.h: Likewise.
32740 * iconv/gconv_simple.c: Likewise.
32741 * iconv/iconv.h: Likewise.
32742 * iconv/loop.c: Likewise.
32743 * iconv/skeleton.c: Likewise.
32744 * include/aio.h: Likewise.
32745 * include/aliases.h: Likewise.
32746 * include/argz.h: Likewise.
32747 * include/arpa/inet.h: Likewise.
32748 * include/assert.h: Likewise.
32749 * include/dirent.h: Likewise.
32750 * include/dlfcn.h: Likewise.
32751 * include/execinfo.h: Likewise.
32752 * include/fcntl.h: Likewise.
32753 * include/fenv.h: Likewise.
32754 * include/glob.h: Likewise.
32755 * include/grp.h: Likewise.
32756 * include/libintl.h: Likewise.
32757 * include/mntent.h: Likewise.
32758 * include/netdb.h: Likewise.
32759 * include/pwd.h: Likewise.
32760 * include/rpc/netdb.h: Likewise.
32761 * include/sched.h: Likewise.
32762 * include/search.h: Likewise.
32763 * include/shadow.h: Likewise.
32764 * include/signal.h: Likewise.
32765 * include/stdio.h: Likewise.
32766 * include/stdlib.h: Likewise.
32767 * include/string.h: Likewise.
32768 * include/sys/socket.h: Likewise.
32769 * include/sys/stat.h: Likewise.
32770 * include/sys/statfs.h: Likewise.
32771 * include/sys/statvfs.h: Likewise.
32772 * include/sys/syslog.h: Likewise.
32773 * include/sys/time.h: Likewise.
32774 * include/sys/uio.h: Likewise.
32775 * include/time.h: Likewise.
32776 * include/unistd.h: Likewise.
32777 * include/utmp.h: Likewise.
32778 * include/wchar.h: Likewise.
32779 * include/wctype.h: Likewise.
32780 * inet/aliases.h: Likewise.
32781 * inet/arpa/inet.h: Likewise.
32782 * inet/netinet/ether.h: Likewise.
32783 * inet/netinet/in.h: Likewise.
32784 * intl/libintl.h: Likewise.
32785 * io/bits/fcntl2.h: Likewise.
32786 * io/fcntl.h: Likewise.
32787 * io/ftw.h: Likewise.
32788 * io/sys/poll.h: Likewise.
32789 * io/sys/stat.h: Likewise.
32790 * io/sys/statfs.h: Likewise.
32791 * io/sys/statvfs.h: Likewise.
32792 * io/utime.h: Likewise.
32793 * libio/bits/stdio.h: Likewise.
32794 * libio/bits/stdio2.h: Likewise.
32795 * libio/libio.h: Likewise.
32796 * libio/libioP.h: Likewise.
32797 * libio/stdio.h: Likewise.
32798 * locale/lc-ctype.c: Likewise.
32799 * locale/locale.h: Likewise.
32800 * login/utmp.h: Likewise.
32801 * malloc/arena.c: Likewise.
32802 * malloc/malloc.c: Likewise.
32803 * malloc/malloc.h: Likewise.
32804 * malloc/mcheck.c: Likewise.
32805 * malloc/mtrace.c: Likewise.
32806 * math/bits/mathcalls.h: Likewise.
32807 * math/fenv.h: Likewise.
32808 * math/math_private.h: Likewise.
32809 * misc/bits/error.h: Likewise.
32810 * misc/bits/syslog.h: Likewise.
32811 * misc/err.h: Likewise.
32812 * misc/error.h: Likewise.
32813 * misc/fstab.h: Likewise.
32814 * misc/mntent.h: Likewise.
32815 * misc/regexp.h: Likewise.
32816 * misc/search.h: Likewise.
32817 * misc/sgtty.h: Likewise.
32818 * misc/sys/mman.h: Likewise.
32819 * misc/sys/syslog.h: Likewise.
32820 * misc/sys/uio.h: Likewise.
32821 * misc/sys/xattr.h: Likewise.
32822 * misc/ttyent.h: Likewise.
32823 * nis/rpcsvc/ypclnt.h: Likewise.
32824 * nss/nss.h: Likewise.
32825 * posix/bits/unistd.h: Likewise.
32826 * posix/fnmatch.h: Likewise.
32827 * posix/glob.h: Likewise.
32828 * posix/sched.h: Likewise.
32829 * posix/spawn.h: Likewise.
32830 * posix/sys/wait.h: Likewise.
32831 * posix/unistd.h: Likewise.
32832 * posix/wordexp.h: Likewise.
32833 * pwd/pwd.h: Likewise.
32834 * resolv/netdb.h: Likewise.
32835 * resource/sys/resource.h: Likewise.
32836 * rt/aio.h: Likewise.
32837 * rt/bits/mqueue2.h: Likewise.
32838 * rt/mqueue.h: Likewise.
32839 * shadow/shadow.h: Likewise.
32840 * signal/signal.h: Likewise.
32841 * socket/send.c: Likewise.
32842 * socket/sendto.c: Likewise.
32843 * socket/sys/socket.h: Likewise.
32844 * stdio-common/printf.h: Likewise.
32845 * stdlib/bits/stdlib.h: Likewise.
32846 * stdlib/fmtmsg.h: Likewise.
32847 * stdlib/monetary.h: Likewise.
32848 * stdlib/stdlib.h: Likewise.
32849 * stdlib/ucontext.h: Likewise.
32850 * streams/stropts.h: Likewise.
32851 * string/argz.h: Likewise.
32852 * string/bits/string2.h: Likewise.
32853 * string/string.h: Likewise.
32854 * string/strings.h: Likewise.
32855 * sunrpc/rpc/auth.h: Likewise.
32856 * sunrpc/rpc/auth_des.h: Likewise.
32857 * sunrpc/rpc/clnt.h: Likewise.
32858 * sunrpc/rpc/netdb.h: Likewise.
32859 * sunrpc/rpc/pmap_clnt.h: Likewise.
32860 * sunrpc/rpc/xdr.h: Likewise.
32861 * sysdeps/generic/inttypes.h: Likewise.
32862 * sysdeps/generic/net/if.h: Likewise.
32863 * sysdeps/generic/sys/swap.h: Likewise.
32864 * sysdeps/gnu/net/if.h: Likewise.
32865 * sysdeps/gnu/utmpx.h: Likewise.
32866 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32867 * sysdeps/i386/i486/bits/string.h: Likewise.
32868 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32869 * sysdeps/s390/bits/string.h: Likewise.
32870 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32871 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32872 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32873 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32874 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32875 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32876 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32877 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32878 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32879 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32880 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32881 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32882 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32883 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32884 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32885 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32886 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32889 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32890 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32891 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32892 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32893 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32894 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32895 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32896 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32898 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32899 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32900 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32901 * sysvipc/sys/ipc.h: Likewise.
32902 * sysvipc/sys/msg.h: Likewise.
32903 * sysvipc/sys/sem.h: Likewise.
32904 * sysvipc/sys/shm.h: Likewise.
32905 * termios/termios.h: Likewise.
32906 * time/sys/time.h: Likewise.
32907 * time/time.h: Likewise.
32908 * wcsmbs/bits/wchar2.h: Likewise.
32909 * wcsmbs/uchar.h: Likewise.
32910 * wcsmbs/wchar.h: Likewise.
32911 * wctype/wctype.h: Likewise.
32914 * Makeconfig: Remove all but ELF support including AIX support.
32915 * Makerules: Likewise.
32916 * config.h.in: Likewise.
32917 * config.make.in: Likewise.
32918 * configure: Likewise.
32919 * configure.in: Likewise.
32920 * csu/Makefile: Likewise.
32921 * csu/version.c: Likewise.
32922 * debug/Makefile: Likewise.
32923 * dlfcn/Makefile: Likewise.
32924 * elf/Makefile: Likewise.
32925 * extra-lib.mk: Likewise.
32926 * iconv/Makefile: Likewise.
32927 * include/libc-symbols.h: Likewise.
32928 * include/shlib-compat.h: Likewise.
32929 * resolv/Makefile: Likewise.
32930 * resolv/res_libc.c: Likewise.
32931 * rt/Makefile: Likewise.
32932 * sysdeps/i386/asm-syntax.h: Likewise.
32933 * sysdeps/i386/sysdep.h: Likewise.
32934 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32935 * sysdeps/mach/sysdep.h: Likewise.
32936 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32937 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32938 * sysdeps/s390/asm-syntax.h: Likewise.
32939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32940 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32941 * sysdeps/sh/sysdep.h: Likewise.
32942 * sysdeps/unix/sparc/sysdep.h: Likewise.
32943 * sysdeps/wordsize-32/divdi3.c: Likewise.
32944 * sysdeps/x86_64/sysdep.h: Likewise.
32946 * argp/Versions: Remove _argp_unlock_xxx.
32949 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32950 * abilist/libBrokenLocale.abilist: Likewise.
32951 * abilist/libanl.abilist: Likewise.
32952 * abilist/libc.abilist: Likewise.
32953 * abilist/libcrypt.abilist: Likewise.
32954 * abilist/libdl.abilist: Likewise.
32955 * abilist/libm.abilist: Likewise.
32956 * abilist/libnsl.abilist: Likewise.
32957 * abilist/libpthread.abilist: Likewise.
32958 * abilist/libresolv.abilist: Likewise.
32959 * abilist/librt.abilist: Likewise.
32960 * abilist/libthread_db.abilist: Likewise.
32961 * abilist/libutil.abilist: Likewise.
32962 * abilist/libnss_db.abilist: New file.
32964 * scripts/abilist.awk: Add support for indirect functions.
32966 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32968 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32970 * shlib-versions: Remove entries for ports architectures.
32972 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32974 * elf/stackguard-macros.h: Remove support for IA-64.
32975 * elf/tst-auditmod1.c: Likewise.
32976 * sysdeps/generic/ldsodefs.h: Likewise.
32978 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32979 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32983 * configure.in: Remove --enable-omitfp support.
32985 * config.make.in: Likewise.
32986 * Makeconfig: Likewise.
32987 * manual/install.texi: Likewise.
32989 In case anyone cares, the IA-64 architecture could move to ports.
32990 * sysdeps/ia64/*: Removed.
32991 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32992 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32995 * configure.in: Remove entries for unsupported architectures.
32998 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32999 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33001 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33002 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33003 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33004 fall back to using wcrtomb.
33005 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33006 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33008 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33009 * wcsmbs/tst-c16c32-1.c: New file.
33011 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33014 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33016 * elf/tst-unique3.cc: Add explicit declaration of gets.
33017 * elf/tst-unique3lib.cc: Likewise.
33018 * elf/tst-unique3lib2.cc: Likewise.
33019 * elf/tst-unique4.cc: Likewise.
33021 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33023 2012-01-06 Joseph Myers <joseph@codesourcery.com>
33026 * assert/assert.h (static_assert): Don't define for C++.
33027 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33028 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33030 2012-01-03 Ulrich Drepper <drepper@gmail.com>
33032 * iconv/loop.c (single loop): Fix assertion in storing of
33035 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33037 2012-01-01 Ulrich Drepper <drepper@gmail.com>
33039 * posix/getconf.c: Update copyright year.
33040 * nss/getent.c: Likewise.
33041 * nss/makedb.c: Likewise.
33042 * iconv/iconvconfig.c: Likewise.
33043 * iconv/iconv_prog.c: Likewise.
33044 * elf/ldconfig.c: Likewise.
33045 * elf/pldd.c: Likewise.
33046 * elf/sotruss.ksh: Likewise.
33047 * catgets/gencat.c: Likewise.
33048 * csu/version.c: Likewise.
33049 * elf/ldd.bash.in: Likewise.
33050 * elf/sprof.c (print_version): Likewise.
33051 * locale/programs/locale.c: Likewise.
33052 * locale/programs/localedef.c: Likewise.
33053 * login/programs/pt_chown.c: Likewise.
33054 * nscd/nscd.c (print_version): Likewise.
33055 * debug/xtrace.sh: Likewise.
33056 * malloc/memusage.sh: Likewise.
33057 * malloc/mtrace.pl: Likewise.
33058 * debug/catchsegv.sh: Likewise.
33060 2011-12-30 Jakub Jelinek <jakub@redhat.com>
33062 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33065 2011-12-24 Ulrich Drepper <drepper@gmail.com>
33068 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33069 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33071 * iconv/gconv_int.h: Likewise.
33072 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33073 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33074 from libc for GLIBC_2.16.
33075 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33076 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33077 * wcsmbs/uchar.h: Really define mbstate_t.
33078 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33079 * wcsmbs/c16rtomb.c: New file.
33080 * wcsmbs/mbrtoc16.c: New file.
33081 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33082 for C/POSIX locale.
33083 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33084 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33086 * wcsmbs/wchar.h: Add missing __restrict.
33088 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33091 * time/Makefile (routines): Add timespec_get.
33092 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33093 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33094 timespec for ISO C11.
33095 * time/timespec_get.c: New file.
33096 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33097 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33100 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33101 * stdlib/stdlib.h: Declare aligned_alloc.
33102 * Versions.def: Add GLIBC_2.16 for libc.
33103 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33106 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33109 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
33113 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33116 * assert/assert.h (static_assert): Define.
33118 * version.h: Update for 2.16 development version.
33121 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33124 * version.h (RELEASE): Bump for 2.15 release.
33125 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33127 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33128 Patch by Marek Polacek <mpolacek@redhat.com>.
33130 * bits/byteswap.h: Protect long long constants with __extension__.
33131 * sysdeps/i386/bits/byteswap.h: Likewise.
33132 * sysdeps/ia64/bits/byteswap.h: Likewise.
33133 * sysdeps/s390/bits/byteswap.h: Likewise.
33134 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33136 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33139 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33140 destination buffer.
33141 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33143 2011-12-23 Marek Polacek <polacek@redhat.com>
33145 * elf/dl-addr.c (determine_info): Add inline keyword.
33146 * elf/tst-auditmod4b.c (check_avx): Likewise.
33147 * elf/tst-auditmod6b.c (check_avx): Likewise.
33148 * elf/tst-auditmod6c.c (check_avx): Likewise.
33149 * elf/tst-auditmod7b.c (check_avx): Likewise.
33151 2011-12-23 Ulrich Drepper <drepper@gmail.com>
33153 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33156 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33159 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33160 processing for last bytes.
33162 2011-08-06 Bruno Haible <bruno@clisp.org>
33165 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33166 U+0385, not to U+1FEE.
33169 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33170 entry for U+00A5 U+0301.
33172 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33175 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33176 buffer for the output is too small.
33178 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33182 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33183 SSE flags if possible.
33185 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33189 processing for last bytes.
33191 2011-12-22 Joseph Myers <joseph@codesourcery.com>
33193 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33194 (syscall-list-default-options, syscall-list-default-condition)
33195 (syscall-list-includes): Define.
33196 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33197 list of ABIs and options and #if conditions for each ABI. Do not
33198 handle common syscalls between ABIs specially.
33199 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33201 (syscall-list-variants, syscall-list-32bit-options)
33202 (syscall-list-32bit-condition, syscall-list-64bit-options)
33203 (syscall-list-64bit-condition): Define.
33204 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33205 (syscall-list-variants, syscall-list-32bit-options)
33206 (syscall-list-32bit-condition, syscall-list-64bit-options)
33207 (syscall-list-64bit-condition): Define.
33208 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33210 (syscall-list-variants, syscall-list-32bit-options)
33211 (syscall-list-32bit-condition, syscall-list-64bit-options)
33212 (syscall-list-64bit-condition): Define.
33213 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33215 (syscall-list-variants, syscall-list-32bit-options)
33216 (syscall-list-32bit-condition, syscall-list-64bit-options)
33217 (syscall-list-64bit-condition): Define.
33219 2011-12-22 Ulrich Drepper <drepper@gmail.com>
33221 * locale/iso-639.def: Add brx entry.
33224 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33225 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33227 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33228 __feraiseexcept_renamed.
33230 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33233 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33234 EPOLLET with unsigned values.
33235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33236 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33238 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33239 to large cancellation.
33240 * math/s_cacoshf.c: Likewise.
33241 * math/s_cacoshl.c: Likewise.
33243 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33247 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33248 * math/s_cacoshf.c: Likewise.
33249 * math/s_cacoshl.c: Likewise.
33251 2011-12-21 Ulrich Drepper <drepper@gmail.com>
33254 * iconv/gconv.h: Define __GCONV_SWAP.
33255 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33256 * iconvdata/utf-16.c: Likewise.
33257 * iconvdata/utf-32.c: Likewise.
33259 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33262 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33263 numerator after shifting it by one limb.
33265 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33267 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33268 under [__USE_EXTERN_INLINES].
33270 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33273 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33275 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33277 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33278 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33280 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33281 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33282 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33283 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33284 for strncasecmp/strncasecmp_l compilation.
33285 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33286 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33288 2011-12-08 Marek Polacek <mpolacek@redhat.com>
33291 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33294 2011-12-17 Ulrich Drepper <drepper@gmail.com>
33297 * time/tzfile.c (__tzfile_read): Check values from file header.
33299 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33301 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33302 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33303 * powerpc/powerpc32/dl-start.S: Likewise.
33304 * powerpc/powerpc32/elf/start.S: Likewise.
33305 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33306 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33307 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33308 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33309 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33310 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33311 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33312 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33313 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33314 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33315 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33316 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33317 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33318 * powerpc/powerpc32/memset.S: Likewise.
33319 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33320 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33321 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33322 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33323 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33324 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33325 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33326 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33327 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33328 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33329 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33330 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33331 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33333 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33335 * math/libm-test.inc: Added more nearbyint tests.
33336 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33337 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33338 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33339 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33341 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33343 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33346 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33348 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33349 Add wcscpy-ssse3 wcscpy-c.
33350 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33351 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33352 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33353 * sysdeps/x86_64/wcschr.S: New file.
33354 * sysdeps/x86_64/wcsrchr.S: New file.
33355 * string/test-strcmp.c: Remove checking of wcscmp function for
33357 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33358 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33359 wcsrchr-sse2 wcsrchr-c.
33360 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33361 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33362 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33363 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33364 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33365 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33366 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33367 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33368 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33369 * wcsmbc/wcschr.c (WCSCHR): New macro.
33371 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33373 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33374 * wcsmbs/test-wcsrchr.c: New file.
33375 * string/test-strrchr.c: Add wcsrchr support.
33377 * wcsmbs/test-wcscpy.c: New file.
33378 * string/test-strcpy.c: Add wcscpy support.
33381 2011-12-10 Ulrich Drepper <drepper@gmail.com>
33383 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33386 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33389 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33391 2011-12-04 Ulrich Drepper <drepper@gmail.com>
33393 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
33394 Minor optimizations.
33396 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33397 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33398 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33400 2011-12-03 Ulrich Drepper <drepper@gmail.com>
33402 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33403 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33404 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33405 for gcc to avoid warnings.
33406 * inet/Makefile (tests): Add tst-checks.
33407 * inet/tst-checks.c: New file.
33409 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33412 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33415 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33416 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33418 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33420 2011-12-02 Ulrich Drepper <drepper@gmail.com>
33422 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33425 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33427 2011-11-29 Joseph Myers <joseph@codesourcery.com>
33429 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33430 conditional on GCC version.
33431 (__arch_compare_and_exchange_val_8_acq)
33432 (__arch_compare_and_exchange_val_16_acq)
33433 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33434 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33435 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33437 2011-12-02 Joseph Myers <joseph@codesourcery.com>
33439 * sysdeps/sh/backtrace.c: New file.
33441 2011-12-02 Andreas Schwab <schwab@redhat.com>
33443 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33446 2011-12-01 Andreas Schwab <schwab@redhat.com>
33448 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33449 falling back to utime.
33451 2011-11-30 Andreas Schwab <schwab@redhat.com>
33453 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33454 expectations for float.
33456 2011-11-29 Andreas Schwab <schwab@redhat.com>
33458 * locale/weight.h (findidx): Add parameter len.
33459 * locale/weightwc.h (findidx): Likewise.
33460 * posix/fnmatch_loop.c (FCT): Adjust caller.
33461 * posix/regcomp.c (build_equiv_class): Likewise.
33462 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33463 * posix/regexec.c (check_node_accept_bytes): Likewise.
33464 * string/strcoll_l.c (STRCOLL): Likewise.
33465 * string/strxfrm_l.c (STRXFRM): Likewise.
33467 2011-11-17 Ulrich Drepper <drepper@gmail.com>
33469 * Makefile.in: Remove CVSOPT handling.
33470 * configure.in: Remove use of AC_REVISION.
33471 * iconvdata/Makefile (distribute): No need to filter out CVS.
33472 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33475 2011-11-16 Andreas Schwab <schwab@redhat.com>
33477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33478 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33479 [USE_AS_STRNCASECMP_L]: Likewise.
33480 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33481 NO_TLS_DIRECT_SEG_REFS.
33482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33483 Fix argument offsets for non-PIC.
33484 [USE_AS_STRNCASECMP_L]: Likewise.
33485 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33486 NO_TLS_DIRECT_SEG_REFS.
33488 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33490 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
33492 * locale/loadlocale.c (_nl_load_locale): Likewise.
33494 2011-11-15 Andreas Schwab <schwab@redhat.com>
33496 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33497 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33498 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33499 (SYSCALL_GETTIME): Set errno on error.
33501 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33502 count references to noai6ai_cached.
33504 2011-11-15 Ulrich Drepper <drepper@gmail.com>
33506 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33508 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33509 FD_CLOEXEC for /proc/self/maps.
33511 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33512 FD_CLOEXEC for /proc/meminfo.
33514 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33517 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33518 FD_CLOEXEC for given file.
33520 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33522 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33523 FD_CLOEXEC for /etc/hosts.
33524 (_gethtent): Likewise.
33526 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33528 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33529 cancellation and set FD_CLOEXEC for /etc/netgroup.
33531 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33532 reading /etc/publickey.
33534 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33535 allow cancellation when reading /etc/group.
33537 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33539 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33541 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33542 when using data file.
33544 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33546 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33547 (write_nis_obj): Use "c" and "e" in fopen.
33549 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33551 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33553 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33555 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33557 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33560 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33562 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33564 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33566 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33567 file parsing and set FD_CLOEXEC.
33569 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33571 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33573 2011-11-14 Andreas Schwab <schwab@redhat.com>
33575 * malloc/arena.c (arena_get2): Don't call reused_arena when
33576 _int_new_arena failed.
33578 2011-11-14 Ulrich Drepper <drepper@gmail.com>
33580 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33581 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33583 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33584 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33585 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33586 to compile strcasecmp and strncasecmp.
33587 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33588 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33590 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33592 2011-11-13 Ulrich Drepper <drepper@gmail.com>
33594 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33595 locale-defines.sym to gen-as-const-headers.
33596 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33597 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33599 to compile strcasecmp and strncasecmp.
33600 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33601 strcasecmp_l and strncasecmp_l.
33602 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33603 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33604 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33605 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33606 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33607 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33608 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33609 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33610 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33611 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33612 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33614 2011-11-12 Ulrich Drepper <drepper@gmail.com>
33616 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33617 result of SYSDEP_GETTIME_CPU to retval.
33618 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33619 parameter list to macro. Remove trailing semicolon. Adjust users.
33621 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33624 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33626 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33628 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33629 from unused variable.
33631 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33633 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33636 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33639 * sunrpc/rpc_prot.c (rejected): Fix case value.
33641 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33642 unsigned long long int to avoid warnings in shift.
33644 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33646 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33649 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33650 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33651 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33653 * nis/nis_table.c (nis_list): Use variable of correct type for
33654 result of __follow_path call.
33656 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33658 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33659 of math functions ceil, trunc, floor, round, and sqrt, when
33660 avaliable on the platform.
33661 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33663 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33664 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33665 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33667 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33669 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33670 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33672 2011-11-11 Roland McGrath <roland@hack.frob.com>
33674 * include/unistd.h: Fix __readlink return type.
33675 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33677 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33679 * stdlib/ucontext.h: Undo last change for makecontext.
33681 2011-11-11 Andreas Schwab <schwab@redhat.com>
33683 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33685 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33686 * setjmp/setjmp.h: Mark functions as non-leaf.
33687 * setjmp/bits/setjmp2.h: Likewise.
33688 * stdlib/ucontext.h: Likewise.
33690 2011-11-10 Andreas Schwab <schwab@redhat.com>
33692 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33693 (reused_arena): Don't check arena limit.
33694 (arena_get2): Atomically check arena limit.
33696 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33698 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33699 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33704 2011-11-07 Andreas Schwab <schwab@redhat.com>
33706 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33707 handler when locking.
33709 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33710 Fix size of allocated buffer.
33712 2011-11-04 Andreas Schwab <schwab@redhat.com>
33715 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33716 declarations for long double functions.
33717 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33719 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33721 2011-11-03 Andreas Schwab <schwab@redhat.com>
33723 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33726 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33729 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33731 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33733 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33735 * include/alloca.h (stackinfo_alloca_round): Define.
33736 (extend_alloca): Use it.
33737 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33738 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33741 * scripts/check-local-headers.sh: Ignore libaudit.h.
33743 * nscd/Makefile (extra-objs): Make recursively expanded.
33745 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33747 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33748 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33750 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33751 * posix/tst-rfc3484-2.c: Likewise.
33752 * posix/tst-rfc3484-3.c: Likewise.
33754 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33756 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33758 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33759 process_vm_writev from libc using GLIBC_2.15 version.
33761 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33763 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33765 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33768 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33771 * nss/getent.c (initgroups_keys): Show error message in case no group
33774 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33775 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33776 __bump_nl_timestamp.
33777 * nscd/connections (nscd_init): When host database is served open
33778 netlink socket and request notification about configuration changes.
33779 (main_loop_poll): Track netlink file descriptor and bump timestamp
33780 in case data becomes available.
33781 (main_loop_epoll): Likewise.
33782 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33783 (database_pers_head): Add extra_data fileds.
33784 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33785 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33786 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33788 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33789 in6ai data, call __free_in6ai.
33790 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33791 Add -DHAVE_NETLINK.
33792 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33793 interface information. Reuse previous data if netlink timestamp
33795 (__bump_nl_timestamp): New function.
33796 (__free_in6ai): New function.
33798 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33800 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33801 close_not_cancel_no_status here.
33802 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33804 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33807 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33810 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33811 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33812 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33814 2011-07-03 Andreas Jaeger <aj@suse.de>
33817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33818 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33819 * math/libm-test.inc (sin_test): Add test case.
33821 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33824 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33825 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33827 * elf/chroot_canon.c (chroot_canon): Cleanups.
33829 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33832 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33833 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33835 * string/test-strchr.c: Make usable for strchrnul testing.
33836 * string/test-strchrnul.c: New file.
33837 * string/Makefile (strop-tests): Add strchrnul.
33839 * po/it.po: Update from translation team.
33840 * po/es.po: Likewise.
33842 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33844 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33845 the three constants needed as parameters. Drop the others.
33846 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33847 __m128i_strloadu_tolower.
33848 Create and initialize variable zero and use it in all the places
33849 where _mm_setzero_si128 was used.
33851 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33852 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33853 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33854 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33856 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33857 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33858 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33859 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33860 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33861 __mpranred, __mptan.
33862 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33863 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33864 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33865 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33866 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33867 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33868 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33869 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33870 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33872 2011-10-28 Andreas Schwab <schwab@redhat.com>
33874 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33875 redefine if SHARED.
33876 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33879 wide char related routines to wcsmbs subdir.
33881 2011-10-27 Andreas Schwab <schwab@redhat.com>
33884 * misc/sys/cdefs.h (__THROWNL): Define.
33885 * posix/unistd.h: Use __THREADNL instead of __THREAD
33886 for memory synchronization functions.
33888 2011-10-26 Roland McGrath <roland@hack.frob.com>
33891 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33893 * manual/stdio.texi (Obstack Streams): Node removed.
33895 2011-10-26 Andreas Schwab <schwab@redhat.com>
33897 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33898 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33899 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33901 * math/math_private.h (math_force_eval): Allow non-addressable
33903 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33905 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33907 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33908 file is not needed.
33910 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33911 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33914 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33915 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33916 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33917 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33919 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33920 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33921 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33922 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33923 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33924 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33925 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33926 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33927 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33928 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33929 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33930 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33932 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33933 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33934 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33935 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33936 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33937 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33939 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33940 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33942 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33943 place. Use VEX encoding when compiling for AVX.
33945 2011-10-25 Andreas Schwab <schwab@redhat.com>
33947 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33948 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33950 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33952 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33954 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33955 useless if() expression.
33956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33965 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33966 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33967 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33968 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33969 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33971 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33972 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33974 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33976 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33978 2011-10-25 Andreas Schwab <schwab@redhat.com>
33980 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33982 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33984 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33986 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33987 .text section. Avoid duplicate constants.
33988 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33998 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34000 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34003 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34005 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34011 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34012 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34013 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34014 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34015 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34016 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34017 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34019 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34020 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34021 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34022 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34023 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34024 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34026 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34027 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34029 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34034 2011-10-24 Ulrich Drepper <drepper@gmail.com>
34036 * sysdeps/x86_64/dla.h: Move to ...
34037 * sysdeps/x86_64/fpu/dla.h: ...here.
34038 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34039 situations. Use __builtin_fma only for gcc 4.6 and up.
34041 * config.make.in: Add have-mfma4 entry.
34042 * configure.in: Substitute libc_cv_cc_fma4.
34043 * math/Makefile (dbl-only-routines): Add sincostab.
34044 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34045 Use __sincostab not sincos.
34046 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34048 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34049 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34050 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34053 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34054 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34055 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34056 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34058 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34059 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34061 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34062 define aliases when function name is a macro.
34063 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34064 sysdeps/ieee754/dbl-64/sincos.tbl.
34065 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34066 fma4-enabled routines.
34067 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34068 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34069 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34070 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34072 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34073 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34074 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34075 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34076 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34077 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34078 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34079 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34080 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34082 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34083 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34084 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34085 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34087 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34088 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34089 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34090 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34091 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34092 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34093 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34095 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34096 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34098 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34102 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34106 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34107 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34109 2011-10-24 Andreas Schwab <schwab@redhat.com>
34111 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34113 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34115 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34117 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34121 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34122 Remove unused variable magic_bits.
34123 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34125 * string/strnlen.c: Define and use STRNLEN macro.
34126 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34127 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34129 * wcsmbs/wcslen.c: Define and use WCSLEN.
34130 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34131 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34132 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34133 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34134 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34135 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34136 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34138 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34141 strnlen-sse2-no-bsf.
34142 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34143 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34144 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34145 Add strnlen support.
34146 (USE_AS_STRNLEN): New macro.
34147 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34148 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34149 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34150 * sysdeps/x86_64/wcslen.S: New file.
34152 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34155 XMM-moves are used for copying on small sizes.
34157 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34159 * wcsmbs/Makefile (strop-tests): Add wcschr.
34160 * wcsmbs/test-wcschr.c: New file.
34161 * string/test-strchr.c: Update.
34162 Add wcschr support.
34165 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34167 * wcsmbs/Makefile (strop-tests): Add wcslen.
34168 * wcsmbs/test-wcslen.c: New file.
34169 * string/test-strlen.c: Update.
34170 Add wcslen support.
34173 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34175 * po/it.po: Update from translation team.
34177 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34179 * sysdeps/x86_64/wcscmp.S: Update.
34180 Fix wrong comparison semantics.
34181 wcscmp shall use signed comparison not unsigned.
34182 Don't use substraction to avoid overflow bug.
34183 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34184 * wcsmbc/wcscmp.c: Likewise.
34185 * string/test-strcmp.c: Likewise.
34186 Add new tests to check cases with negative values.
34188 2011-10-23 Ulrich Drepper <drepper@gmail.com>
34190 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34191 * sysdeps/x86_64/dla.h: ...here. New file.
34192 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34195 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34197 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34202 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34205 __ynl_finite aliases.
34207 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34211 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34213 [DLA_FMA] (EMULV): Use DLA_FMA.
34214 [DLA_FMA] (MUL12): Use EMULV.
34215 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34216 that are not needed.
34217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34218 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34220 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34221 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34223 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34225 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34227 * math/s_nan.c: Undef __nan.
34228 * math/s_nanf.c: Undef __nanf.
34229 * math/s_nanl.c: Undef __nanl.
34230 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34233 2011-10-22 Ulrich Drepper <drepper@gmail.com>
34235 * math/s_catan.c: Add branch predictions.
34236 * math/s_catanf.c: Likewise.
34237 * math/s_catanh.c: Likewise.
34238 * math/s_catanhf.c: Likewise.
34239 * math/s_catanhl.c: Likewise.
34240 * math/s_catanl.c: Likewise.
34241 * math/s_cexp.c: Likewise.
34242 * math/s_cexpf.c: Likewise.
34243 * math/s_cexpl.c: Likewise.
34244 * math/s_clog.c: Likewise.
34245 * math/s_clog10.c: Likewise.
34246 * math/s_clog10f.c: Likewise.
34247 * math/s_clog10l.c: Likewise.
34248 * math/s_clogf.c: Likewise.
34249 * math/s_clogl.c: Likewise.
34250 * math/s_csqrt.c: Likewise.
34251 * math/s_csqrtf.c: Likewise.
34252 * math/s_csqrtl.c: Likewise.
34253 * math/s_ctanf.c: Likewise.
34254 * math/s_ctanh.c: Likewise.
34255 * math/s_ctanhf.c: Likewise.
34256 * math/s_ctanhl.c: Likewise.
34257 * math/s_ctanl.c: Likewise.
34259 * math/math_private.h: Define __nan, __nanf, __nanl.
34260 * math/s_cacosh.c: Include <math_private.h>.
34261 * math/s_cacoshl.c: Likewise.
34262 * math/s_casinh.c: Likewise.
34263 * math/s_casinhf.c: Likewise.
34264 * math/s_casinhl.c: Likewise.
34265 * math/s_ccos.c: Rely entire on ccosh.
34266 * math/s_ccosf.c: Rely entire on ccoshf.
34267 * math/s_ccosl.c: Rely entirely on ccoshl.
34268 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34269 Remove tests for FE_INVALID.
34270 * math/s_ccoshf.c: Likewise.
34271 * math/s_ccoshl.c: Likewise.
34272 * math/s_csin.c: Likewise.
34273 * math/s_csinf.c: Likewise.
34274 * math/s_csinh.c Likewise.
34275 * math/s_csinhf.c: Likewise.
34276 * math/s_csinhl.c: Likewise.
34277 * math/s_csinl.c: Likewise.
34278 * math/s_ctan.c: Likewise.
34279 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34280 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34281 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34283 2011-10-21 Ulrich Drepper <drepper@gmail.com>
34285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34286 compilation problems.
34288 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34291 2011-10-20 Ulrich Drepper <drepper@gmail.com>
34293 * sysdeps/i386/configure.in: Test for -mfma4 option.
34294 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34295 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34296 COMMON_CPUID_INDEX_80000001.
34297 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34298 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34299 use it if FMA3 is not supported.
34300 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34302 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34303 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34305 2011-10-20 Andreas Schwab <schwab@redhat.com>
34308 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34309 it would create a cycle with a link time dependency.
34311 2011-10-19 Ulrich Drepper <drepper@gmail.com>
34313 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34315 * string/Makefile (strop-tests): Add rawmemchr.
34316 * string/test-rawmemchr.c: New file.
34318 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34319 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34320 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34321 when compiling str{,n}casecmp and when AVX is available. Hook up
34322 new optimized code in initializers.
34324 2011-10-19 Andreas Schwab <schwab@redhat.com>
34326 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34327 __feraiseexcept instead of feraiseexcept.
34329 2011-10-18 Ulrich Drepper <drepper@gmail.com>
34331 * math/math_private.h: Define defaults for libc_fetestexcept and
34333 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34334 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34335 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34336 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34337 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34338 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34339 libc_fetestexcept and libc_feupdateenv.
34341 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34342 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34343 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34344 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34345 libc_feholdexcept_setround.
34347 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34348 Add s_nearbyint-c and s_nearbyintf-c.
34349 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34350 nearbyintf inlines.
34351 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34352 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34353 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34354 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34356 * math/math_private.h: Define defaults for libc_fegetround,
34357 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34358 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34359 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34360 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34361 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34362 standard functions.
34363 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34364 Remove comments and hacks for old compiler versions.
34365 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34366 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34367 libc_feholdexceptl.
34369 2011-10-18 Andreas Schwab <schwab@redhat.com>
34371 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
34372 (__feraiseexcept_renamed): Add __NTH.
34373 (feraiseexcept): Add __NTH. Rename local variables to fix
34374 namespace violations.
34376 2011-10-17 Ulrich Drepper <drepper@gmail.com>
34378 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34380 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34382 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34383 recently added interfaces.
34384 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34386 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34387 about macro parameter expansion.
34389 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34390 __NO_MATH_INLINES is defined. Cleanups.
34392 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34393 and __floorf is target has SSE4.1.
34394 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34395 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34396 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34399 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34401 (floorf): Likewise.
34403 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34405 2011-10-17 Andreas Schwab <schwab@redhat.com>
34407 * misc/sys/cdefs.h: Fix last change.
34409 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34412 2011-10-16 Ulrich Drepper <drepper@gmail.com>
34414 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34416 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34417 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34418 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34419 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34420 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34422 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34423 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34424 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34425 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34426 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34427 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34428 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34429 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34430 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34431 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34432 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34433 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34434 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34435 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34436 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34437 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34439 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34440 ceil, ceilf, floor, floorf.
34442 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34443 Perform IRELATIVE relocations last.
34445 * elf/do-rel.h: Add another parameter nrelative, replacing the
34446 local variable with the same name. Change name of the function
34447 to end in Rel or Rela (uppercase).
34448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34449 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34450 elf_dynamic_do_##reloc function.
34452 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34454 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34455 is sufficient, at least on modern CPUs.
34457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34459 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34460 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34462 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34464 * math/bits/math-finite.h: Add entries for exp.
34465 * math/e_expl.c: Add __*_finite alias.
34466 * sysdeps/i386/fpu/e_exp.S: Likewise.
34467 * sysdeps/i386/fpu/e_expf.S: Likewise.
34468 * sysdeps/i386/fpu/e_expl.c: Likewise.
34469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34470 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34471 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34472 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34473 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34474 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34475 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34477 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34478 is sufficient, at least on modern CPUs.
34480 * ctype/ctype-info.c (__ctype_init): Define.
34481 * include/ctype.h (__ctype_init): Declare.
34482 (__ctype_b_loc): The variable is always initialized.
34483 (__ctype_toupper_loc): Likewise.
34484 (__ctype_tolower_loc): Likewise.
34485 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34486 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34488 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34490 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34492 * configure.in: Also look in $cxxmachine/include for C++ system
34495 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34497 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34498 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34499 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34500 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34501 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34502 (USE_AS_WMEMCMP): New macro.
34504 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34505 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34506 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34507 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34509 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34510 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34511 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34512 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34513 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34514 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34515 (USE_AS_WMEMCMP): New macro.
34516 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34517 * sysdeps/string/test-memcmp.c: Update.
34518 Fix simple_wmemcmp.
34520 * wcsmbs/wmemcmp.c: Update.
34521 (WMEMCMP): New macro.
34524 2011-10-12 Andreas Jaeger <aj@suse.de>
34527 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34529 2011-10-15 Ulrich Drepper <drepper@gmail.com>
34531 * libio/iofwide.c (do_length): Avoid warning.
34533 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34535 2011-10-14 Ulrich Drepper <drepper@gmail.com>
34537 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34539 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34540 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34541 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34542 * sysdeps/i386/i686/fpu/e_log.S: New file.
34543 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34544 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34546 * ctype/ctype.h: Add support for inlined isXXX functions when
34547 compiling C++ code.
34549 2011-10-14 Andreas Schwab <schwab@redhat.com>
34551 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34553 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34555 2011-10-13 Roland McGrath <roland@hack.frob.com>
34558 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34560 2011-10-13 Andreas Schwab <schwab@redhat.com>
34562 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34563 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34566 * sysdeps/x86_64/memrchr.S: Check for zero size.
34568 * string/stratcliff.c: Add memrchr tests.
34570 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34573 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34574 rawmemchr-sse2 rawmemchr-sse2-bsf.
34575 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34576 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34577 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34578 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34579 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34580 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34581 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34582 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34583 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34584 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34585 * string/memrchr.c (MEMRCHR): New macro.
34587 2011-10-12 Ulrich Drepper <drepper@gmail.com>
34589 Add integration with gcc's -ffinite-math-only and optimize wrapper
34591 * Versions.def: Define GLIBC_2.15 version for libm.
34592 * math/Makefile (headers): Add bits/math-finite.h.
34593 * math/bits/math-finite.h: New file.
34594 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34595 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34596 * math/e_acoshl.c: Add __*_finite alias.
34597 * math/e_acosl.c: Likewise.
34598 * math/e_asinl.c: Likewise.
34599 * math/e_atan2l.c: Likewise.
34600 * math/e_atanhl.c: Likewise.
34601 * math/e_coshl.c: Likewise.
34602 * math/e_exp10.c: Likewise.
34603 * math/e_exp10f.c: Likewise.
34604 * math/e_exp10l.c: Likewise.
34605 * math/e_exp2l.c: Likewise.
34606 * math/e_fmodl.c: Likewise.
34607 * math/e_gammal_r.c: Likewise.
34608 * math/e_hypotl.c: Likewise.
34609 * math/e_j0l.c: Likewise.
34610 * math/e_j1l.c: Likewise.
34611 * math/e_jnl.c: Likewise.
34612 * math/e_lgammal_r.c: Likewise.
34613 * math/e_log10l.c: Likewise.
34614 * math/e_log2l.c: Likewise.
34615 * math/e_logl.c: Likewise.
34616 * math/e_powl.c: Likewise.
34617 * math/e_sinhl.c: Likewise.
34618 * math/e_sqrtl.c: Likewise.
34619 * math/e_scalb.c: Completely rewritten and optimized.
34620 * math/e_scalbf.c: Likewise.
34621 * math/e_scalbl.c: Likewise.
34622 * math/w_acos.c: Likewise.
34623 * math/w_acosf.c: Likewise.
34624 * math/w_acosl.c: Likewise.
34625 * math/w_acosh.c: Likewise.
34626 * math/w_acoshf.c: Likewise.
34627 * math/w_acoshl.c: Likewise.
34628 * math/w_asin.c: Likewise.
34629 * math/w_asinf.c: Likewise.
34630 * math/w_asinl.c: Likewise.
34631 * math/w_atan2.c: Likewise.
34632 * math/w_atan2f.c: Likewise.
34633 * math/w_atan2l.c: Likewise.
34634 * math/w_atanh.c: Likewise.
34635 * math/w_atanhf.c: Likewise.
34636 * math/w_atanhl.c: Likewise.
34637 * math/w_exp10.c: Likewise.
34638 * math/w_exp10f.c: Likewise.
34639 * math/w_exp10l.c: Likewise.
34640 * math/w_fmod.c: Likewise.
34641 * math/w_fmodf.c: Likewise.
34642 * math/w_fmodl.c: Likewise.
34643 * math/w_j0.c: Likewise.
34644 * math/w_j0f.c: Likewise.
34645 * math/w_j0l.c: Likewise.
34646 * math/w_j1.c: Likewise.
34647 * math/w_j1f.c: Likewise.
34648 * math/w_j1l.c: Likewise.
34649 * math/w_jn.c: Likewise.
34650 * math/w_jnf.c: Likewise.
34651 * math/w_log.c: Likewise.
34652 * math/w_logf.c: Likewise.
34653 * math/w_logl.c: Likewise.
34654 * math/w_log10.c: Likewise.
34655 * math/w_log10f.c: Likewise.
34656 * math/w_log10l.c: Likewise.
34657 * math/w_log2.c: Likewise.
34658 * math/w_log2f.c: Likewise.
34659 * math/w_log2l.c: Likewise.
34660 * math/w_pow.c: Likewise.
34661 * math/w_powf.c: Likewise.
34662 * math/w_powl.c: Likewise.
34663 * math/w_remainder.c: Likewise.
34664 * math/w_remainderf.c: Likewise.
34665 * math/w_remainderl.c: Likewise.
34666 * math/w_scalb.c: Likewise.
34667 * math/w_scalbf.c: Likewise.
34668 * math/w_scalbl.c: Likewise.
34669 * math/w_sqrt.c: Likewise.
34670 * math/w_sqrtf.c: Likewise.
34671 * math/w_sqrtl.c: Likewise.
34672 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34673 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34675 * math/math_private.h: Declare __kernel_standard_f.
34676 * math/w_cosh.c: Remove cruft and optimize a bit.
34677 * math/w_coshf.c: Likewise.
34678 * math/w_coshl.c: Likewise.
34679 * math/w_exp2.c: Likewise.
34680 * math/w_exp2f.c: Likewise.
34681 * math/w_exp2l.c: Likewise.
34682 * math/w_hypot.c: Likewise.
34683 * math/w_hypotf.c: Likewise.
34684 * math/w_hypotl.c: Likewise.
34685 * math/w_lgamma.c: Likewise.
34686 * math/w_lgamma_r.c: Likewise.
34687 * math/w_lgammaf.c: Likewise.
34688 * math/w_lgammaf_r.c: Likewise.
34689 * math/w_lgammal.c: Likewise.
34690 * math/w_lgammal_r.c: Likewise.
34691 * math/w_sinh.c: Likewise.
34692 * math/w_sinhf.c: Likewise.
34693 * math/w_sinhl.c: Likewise.
34694 * math/w_tgamma.c: Likewise.
34695 * math/w_tgammaf.c: Likewise.
34696 * math/w_tgammal.c: Likewise.
34697 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34699 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34700 Minor optimizations. Pretty printing. Remove cruft.
34701 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34702 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34703 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34704 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34705 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34706 * sysdeps/i386/fpu/e_asin.S: Likewise.
34707 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34708 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34709 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34710 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34711 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34712 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34713 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34714 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34715 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34716 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34717 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34718 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34719 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34720 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34721 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34722 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34723 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34724 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34725 * sysdeps/i386/fpu/e_log.S: Likewise.
34726 * sysdeps/i386/fpu/e_log10.S: Likewise.
34727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34728 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34729 * sysdeps/i386/fpu/e_log2.S: Likewise.
34730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34731 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34732 * sysdeps/i386/fpu/e_logf.S: Likewise.
34733 * sysdeps/i386/fpu/e_logl.S: Likewise.
34734 * sysdeps/i386/fpu/e_pow.S: Likewise.
34735 * sysdeps/i386/fpu/e_powf.S: Likewise.
34736 * sysdeps/i386/fpu/e_powl.S: Likewise.
34737 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34738 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34739 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34740 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34741 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34742 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34743 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34744 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34745 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34746 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34747 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34749 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34751 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34752 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34753 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34754 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34755 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34756 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34757 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34759 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34760 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34762 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34763 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34764 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34765 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34766 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34767 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34768 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34769 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34770 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34771 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34772 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34773 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34774 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34775 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34776 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34777 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34778 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34779 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34780 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34781 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34782 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34783 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34784 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34785 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34786 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34787 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34788 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34789 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34790 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34791 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34792 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34793 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34794 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34795 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34796 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34797 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34798 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34799 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34800 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34801 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34802 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34803 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34804 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34805 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34806 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34807 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34809 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34810 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34811 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34812 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34815 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34816 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34817 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34818 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34819 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34820 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34821 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34822 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34823 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34824 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34825 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34826 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34827 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34828 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34830 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34831 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34833 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34835 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34836 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34837 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34838 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34839 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34840 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34841 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34842 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34843 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34844 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34845 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34846 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34847 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34848 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34849 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34850 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34851 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34854 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34855 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34856 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34857 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34858 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34859 (__isnanf): Likewise.
34860 (__isinf_ns): Likewise.
34861 (__isinf_nsf): Likewise.
34862 (__finite): Likewise.
34863 (__finitef): Likewise.
34864 (__ieee754_sqrt): Define as macro.
34865 (__ieee754_sqrtf): Define as macro.
34866 (__ieee754_sqrtl): Define as macro.
34867 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34869 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34870 __FINITE_MATH_ONLY__ consistent.
34871 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34873 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34875 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34878 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34880 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34882 * po/ja.po: Update from translation team.
34884 2011-10-08 Roland McGrath <roland@hack.frob.com>
34886 * locale/programs/locarchive.c (prepare_address_space): New function.
34887 (create_archive, enlarge_archive, open_archive): Use it.
34889 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34890 inside [SHARED], where it is used.
34892 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34894 * nss/getent.c (netgroup_keys): Remove unused variable.
34895 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34897 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34899 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34900 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34901 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34902 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34903 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34904 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34905 * math/Makefile (libm-calls): Add s_isinf_ns.
34906 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34907 * math/multc3.c: Likewise.
34908 * math/s_casin.c: Likewise.
34909 * math/s_casinf.c: Likewise.
34910 * math/s_casinl.c: Likewise.
34911 * math/s_ccos.c: Likewise.
34912 * math/s_ccosf.c: Likewise.
34913 * math/s_ccosl.c: Likewise.
34914 * math/s_ctan.c: Likewise.
34915 * math/s_ctanf.c: Likewise.
34916 * math/s_ctanh.c: Likewise.
34917 * math/s_ctanhf.c: Likewise.
34918 * math/s_ctanhl.c: Likewise.
34919 * math/s_ctanl.c: Likewise.
34920 * math/w_fmod.c: Likewise.
34921 * math/w_fmodf.c: Likewise.
34922 * math/w_fmodl.c: Likewise.
34923 * math/w_remainder.c: Likewise.
34924 * math/w_remainderf.c: Likewise.
34925 * math/w_remainderl.c: Likewise.
34926 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34927 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34928 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34929 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34930 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34931 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34932 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34933 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34935 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34937 * stdio-common/printf_fphex.c: Likewise.
34938 * stdio-common/printf_size.c: Likewise.
34940 * math/e_exp10.c: Include math_private.h using <...> not "...".
34941 * math/e_exp10f.c: Likewise.
34942 * math/e_exp10l.c: Likewise.
34943 * math/e_exp2l.c: Likewise.
34944 * math/e_j0l.c: Likewise.
34945 * math/e_j1l.c: Likewise.
34946 * math/e_jnl.c: Likewise.
34947 * math/e_lgammal_r.c: Likewise.
34948 * math/e_rem_pio2l.c: Likewise.
34949 * math/e_scalb.c: Likewise.
34950 * math/e_scalbf.c: Likewise.
34951 * math/e_scalbl.c: Likewise.
34952 * math/k_cosl.c: Likewise.
34953 * math/k_sinl.c: Likewise.
34954 * math/k_tanl.c: Likewise.
34955 * math/s_cacoshf.c: Likewise.
34956 * math/s_catan.c: Likewise.
34957 * math/s_catanf.c: Likewise.
34958 * math/s_catanh.c: Likewise.
34959 * math/s_catanhf.c: Likewise.
34960 * math/s_catanhl.c: Likewise.
34961 * math/s_catanl.c: Likewise.
34962 * math/s_ccosh.c: Likewise.
34963 * math/s_ccoshf.c: Likewise.
34964 * math/s_ccoshl.c: Likewise.
34965 * math/s_cexp.c: Likewise.
34966 * math/s_cexpf.c: Likewise.
34967 * math/s_cexpl.c: Likewise.
34968 * math/s_clog.c: Likewise.
34969 * math/s_clog10.c: Likewise.
34970 * math/s_clog10f.c: Likewise.
34971 * math/s_clog10l.c: Likewise.
34972 * math/s_clogf.c: Likewise.
34973 * math/s_clogl.c: Likewise.
34974 * math/s_csin.c: Likewise.
34975 * math/s_csinf.c: Likewise.
34976 * math/s_csinh.c: Likewise.
34977 * math/s_csinhf.c: Likewise.
34978 * math/s_csinhl.c: Likewise.
34979 * math/s_csinl.c: Likewise.
34980 * math/s_csqrt.c: Likewise.
34981 * math/s_csqrtf.c: Likewise.
34982 * math/s_csqrtl.c: Likewise.
34983 * math/s_ctan.c: Likewise.
34984 * math/s_ctanf.c: Likewise.
34985 * math/s_ctanh.c: Likewise.
34986 * math/s_ctanhf.c: Likewise.
34987 * math/s_ctanhl.c: Likewise.
34988 * math/s_ctanl.c: Likewise.
34989 * math/s_ldexp.c: Likewise.
34990 * math/s_ldexpf.c: Likewise.
34991 * math/s_ldexpl.c: Likewise.
34992 * math/s_significand.c: Likewise.
34993 * math/s_significandf.c: Likewise.
34994 * math/s_significandl.c: Likewise.
34995 * math/w_acos.c: Likewise.
34996 * math/w_acosf.c: Likewise.
34997 * math/w_acosh.c: Likewise.
34998 * math/w_acoshf.c: Likewise.
34999 * math/w_acoshl.c: Likewise.
35000 * math/w_acosl.c: Likewise.
35001 * math/w_asin.c: Likewise.
35002 * math/w_asinf.c: Likewise.
35003 * math/w_asinl.c: Likewise.
35004 * math/w_atan2.c: Likewise.
35005 * math/w_atan2f.c: Likewise.
35006 * math/w_atan2l.c: Likewise.
35007 * math/w_atanh.c: Likewise.
35008 * math/w_atanhf.c: Likewise.
35009 * math/w_atanhl.c: Likewise.
35010 * math/w_cosh.c: Likewise.
35011 * math/w_coshf.c: Likewise.
35012 * math/w_coshl.c: Likewise.
35013 * math/w_dremf.c: Likewise.
35014 * math/w_exp10.c: Likewise.
35015 * math/w_exp10f.c: Likewise.
35016 * math/w_exp10l.c: Likewise.
35017 * math/w_exp2.c: Likewise.
35018 * math/w_exp2f.c: Likewise.
35019 * math/w_fmod.c: Likewise.
35020 * math/w_fmodf.c: Likewise.
35021 * math/w_fmodl.c: Likewise.
35022 * math/w_hypot.c: Likewise.
35023 * math/w_hypotf.c: Likewise.
35024 * math/w_hypotl.c: Likewise.
35025 * math/w_j0.c: Likewise.
35026 * math/w_j0f.c: Likewise.
35027 * math/w_j0l.c: Likewise.
35028 * math/w_j1.c: Likewise.
35029 * math/w_j1f.c: Likewise.
35030 * math/w_j1l.c: Likewise.
35031 * math/w_jn.c: Likewise.
35032 * math/w_jnf.c: Likewise.
35033 * math/w_jnl.c: Likewise.
35034 * math/w_lgamma.c: Likewise.
35035 * math/w_lgamma_r.c: Likewise.
35036 * math/w_lgammaf.c: Likewise.
35037 * math/w_lgammaf_r.c: Likewise.
35038 * math/w_lgammal.c: Likewise.
35039 * math/w_lgammal_r.c: Likewise.
35040 * math/w_log.c: Likewise.
35041 * math/w_log10.c: Likewise.
35042 * math/w_log10f.c: Likewise.
35043 * math/w_log10l.c: Likewise.
35044 * math/w_log2.c: Likewise.
35045 * math/w_log2f.c: Likewise.
35046 * math/w_log2l.c: Likewise.
35047 * math/w_logf.c: Likewise.
35048 * math/w_logl.c: Likewise.
35049 * math/w_pow.c: Likewise.
35050 * math/w_powf.c: Likewise.
35051 * math/w_powl.c: Likewise.
35052 * math/w_remainder.c: Likewise.
35053 * math/w_remainderf.c: Likewise.
35054 * math/w_remainderl.c: Likewise.
35055 * math/w_scalb.c: Likewise.
35056 * math/w_scalbf.c: Likewise.
35057 * math/w_scalbl.c: Likewise.
35058 * math/w_sinh.c: Likewise.
35059 * math/w_sinhf.c: Likewise.
35060 * math/w_sinhl.c: Likewise.
35061 * math/w_sqrt.c: Likewise.
35062 * math/w_sqrtf.c: Likewise.
35063 * math/w_sqrtl.c: Likewise.
35064 * math/w_tgamma.c: Likewise.
35065 * math/w_tgammaf.c: Likewise.
35066 * math/w_tgammal.c: Likewise.
35068 * po/ja.po: Update from translation team.
35070 2011-09-29 Andreas Jaeger <aj@suse.de>
35073 * sunrpc/netname.c (netname2host): Fix logic.
35077 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35079 * math/w_remainder.c (__remainder): Likewise.
35080 * math/w_remainderf.c (__remainderf): Likewise.
35081 * math/libm-test.inc (remainder_test): Add test cases.
35083 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35085 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35088 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35090 * string/test-memcmp.c: Avoid unncessary #defines.
35091 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35093 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35095 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35096 Use new sse2 version for core i3 - i7 as it's faster
35097 than sse42 version.
35098 (bit_Prefer_PMINUB_for_stringop): New.
35099 * sysdeps/x86_64/rawmemchr.S: Update.
35100 Replace with faster SSE2 version.
35101 * sysdeps/x86_64/memrchr.S: New file.
35102 * sysdeps/x86_64/memchr.S: Update.
35103 Replace with faster SSE2 version.
35105 2011-09-12 Marek Polacek <mpolacek@redhat.com>
35107 * elf/dl-load.c (lose): Add cast to avoid warning.
35109 2011-10-07 Ulrich Drepper <drepper@gmail.com>
35111 * po/ca.po: Update from translation team.
35113 * inet/getnetgrent_r.c: Hook up nscd.
35114 * nscd/Makefile (routines): Add nscd_netgroup.
35115 (nscd-modules): Add netgroupcache.
35116 (CFLAGS-netgroupcache.c): Define.
35117 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35118 (cache_search): Add const to second parameter.
35119 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35121 (dbs): Add netgrdb entry.
35122 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35123 (verify_persistent_db): Handle netgrdb.
35124 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35125 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35127 (netgroup_response_header): Define.
35128 (innetgroup_response_header): Define.
35129 (datahead): Add netgroup_response_header and innetgroup_response_header
35131 * nscd/nscd.conf: Add entries for netgroup cache.
35132 * nscd/nscd.h (dbtype): Add netgrdb.
35133 (_PATH_NSCD_NETGROUP_DB): Define.
35134 (netgroup_iov_disabled): Declare.
35135 (xmalloc, xcalloc, xrealloc): Move declarations here.
35136 (cache_search): Adjust prototype.
35137 Add netgroup-related prototypes.
35138 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35139 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35140 (__nscd_innetgr): Declare.
35141 * nscd/selinux.c (perms): Use access_vector_t as element type and
35142 add netgroup-related initializers.
35143 * nscd/netgroupcache.c: New file.
35144 * nscd/nscd_netgroup.c: New file.
35145 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35146 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35147 For four parameters use innetgr.
35148 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35149 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35150 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35151 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35153 * nscd/connections.c (register_traced_file): Don't register file
35154 for disabled databases.
35156 2011-10-06 Ulrich Drepper <drepper@gmail.com>
35158 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35160 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35161 from tree and freeing node.
35163 2011-09-25 Jiri Olsa <jolsa@redhat.com>
35165 * nss/nsswitch.c (__nss_database_lookup): Handle
35166 nss_parse_service_list out of memory case.
35168 2011-09-15 Jiri Olsa <jolsa@redhat.com>
35170 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35171 out of memory case.
35173 2011-10-04 Andreas Schwab <schwab@redhat.com>
35175 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35176 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35178 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35179 elf_machine_rela, elf_machine_lazy_rel.
35180 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35181 (ELF_DYNAMIC_DO_REL): Likewise.
35182 (ELF_DYNAMIC_DO_RELA): Likewise.
35183 (ELF_DYNAMIC_RELOCATE): Likewise.
35184 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35185 to ELF_DYNAMIC_DO_REL.
35186 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35187 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35188 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35190 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35191 skip_ifunc, don't call ifunc function if non-zero.
35192 (elf_machine_rela): Likewise.
35193 (elf_machine_lazy_rel): Likewise.
35194 (elf_machine_lazy_rela): Likewise.
35195 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35196 (elf_machine_lazy_rel): Likewise.
35197 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35199 (elf_machine_lazy_rel): Likewise.
35200 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35202 (elf_machine_lazy_rel): Likewise.
35203 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35204 (elf_machine_lazy_rel): Likewise.
35205 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35206 (elf_machine_lazy_rel): Likewise.
35207 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35208 (elf_machine_lazy_rel): Likewise.
35209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35210 (elf_machine_lazy_rel): Likewise.
35211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35212 (elf_machine_lazy_rel): Likewise.
35213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35214 (elf_machine_lazy_rel): Likewise.
35216 2011-09-28 Ulrich Drepper <drepper@gmail.com>
35218 * nss/nss_files/files-init.c (_nss_files_init): Use static
35219 initialization for all the *_traced_file variables.
35221 2011-09-28 Andreas Schwab <schwab@redhat.com>
35223 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35225 2011-09-27 Roland McGrath <roland@hack.frob.com>
35228 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35230 2011-09-27 Andreas Schwab <schwab@redhat.com>
35232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35233 Reread the line before reparsing it.
35235 2011-09-26 Andreas Schwab <schwab@redhat.com>
35237 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35239 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35240 Maxim Kuvyrkov <maxim@codesourcery.com>
35241 Joseph Myers <joseph@codesourcery.com>
35243 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35244 if needed for __stack_chk_guard.
35246 2011-09-19 Roland McGrath <roland@hack.frob.com>
35248 * sysdeps/posix/spawni.c (script_execute): Always define it.
35249 It will be optimized away if unused.
35250 (maybe_script_execute): New function.
35251 (__spawni): Call it.
35253 * Makerules: Don't include tls.make.
35254 (config-tls): Always set to thread.
35255 * tls.make.c: File removed.
35257 2011-09-19 Mike Frysinger <vapier@gentoo.org>
35259 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35260 * config.make.in (CPPFLAGS-config): New substituted variable.
35262 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35267 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35268 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35270 2011-09-15 Roland McGrath <roland@hack.frob.com>
35272 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35273 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35274 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35275 (CALL_FAIL): Likewise.
35276 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35277 (CALL_FAIL): Macro removed.
35278 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35280 2011-09-15 Ulrich Drepper <drepper@gmail.com>
35282 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35283 for __FINITE_MATH_ONLY__ == 1.
35285 2011-09-15 Andreas Schwab <schwab@redhat.com>
35287 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35288 __ieee754_sqrt instead of sqrt.
35289 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35290 __ieee754_sqrtf instead of sqrtf.
35291 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35292 __floorf instead of floorf.
35293 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35294 __floorf, __truncf instead of floorf, truncf.
35296 2011-09-14 Ulrich Drepper <drepper@gmail.com>
35298 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35300 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35301 __extern_always_inline.
35302 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35305 2011-09-14 Andreas Schwab <schwab@redhat.com>
35307 * elf/rtld.c (dl_main): Also relocate in dependency order when
35308 doing symbol dependency testing.
35310 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35313 Always define `refsym'.
35315 2011-09-13 Andreas Schwab <schwab@redhat.com>
35317 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35318 (__FD_ELT): Renamed from __FDELT.
35319 * misc/bits/select2.h (__FD_ELT): Likewise.
35320 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35321 __FD_MASK instead of __FDELT, __FDMASK.
35322 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35324 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35327 * elf/Makefile (gen-ldd): Fix pattern.
35329 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35330 (init_tls): Likewise.
35332 2011-09-12 Ulrich Drepper <drepper@gmail.com>
35334 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35336 2011-09-12 Andreas Schwab <schwab@redhat.com>
35338 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35339 `struct cmsghdr *' instead of `void *'.
35340 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35343 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35345 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35347 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35348 ldd_rewrite_script.
35350 2011-09-11 Ulrich Drepper <drepper@gmail.com>
35352 * configure.in: Remove --with-tls option.
35353 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35354 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35355 out in case it is missing.
35356 * sysdeps/ia64/elf/configure.in: Likewise.
35357 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35358 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35359 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35360 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35361 * sysdeps/sh/elf/configure.in: Likewise.
35362 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35363 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35364 * sysdeps/x86_64/elf/configure.in: Likewise.
35365 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35366 * sysdeps/mach/hurd/tls.h: Likewise.
35369 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35372 * configure.in: Fix use of AC_INIT.
35374 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35376 2011-09-10 Ulrich Drepper <drepper@gmail.com>
35378 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35380 * malloc/hooks.c: Likewise.
35383 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35384 variables statically.
35385 (narenas): Initialize.
35386 (list_lock): Initialize.
35387 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35388 initializtion of main_arena and list_lock. Small cleanups.
35389 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35390 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35391 Add initializers to main_arena and mp_.
35392 (malloc_state): Remove pagesize member. Change all users to use
35395 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35396 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35397 is always initialized.
35399 * malloc/malloc.c: Removed unused configurations and dead code.
35400 * malloc/arena.c: Likewise.
35401 * malloc/hooks.c: Likewise.
35402 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
35404 * include/tls.h: Removed. USE___THREAD must always be defined.
35405 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35406 * elf/dl-libc.c: Likewise.
35407 * elf/dl-tsd.c: Likewise.
35408 * include/errno.h: Likewise.
35409 * include/netdb.h: Likewise.
35410 * include/resolv.h: Likewise.
35411 * inet/herrno-loc.c: Likewise.
35412 * inet/herrno.c: Likewise.
35413 * malloc/arena.c: Likewise.
35414 * malloc/hooks.c: Likewise.
35415 * malloc/malloc.c: Likewise.
35416 * resolv/res-state.c: Likewise.
35417 * resolv/res_libc.c: Likewise.
35418 * sysdeps/i386/dl-machine.h: Likewise.
35419 * sysdeps/ia64/dl-machine.h: Likewise.
35420 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35421 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35422 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35423 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35424 * sysdeps/sh/dl-machine.h: Likewise.
35425 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35426 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35427 * sysdeps/unix/i386/sysdep.S: Likewise.
35428 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35429 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35430 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35433 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35434 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35438 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35439 * sysdeps/x86_64/dl-machine.h: Likewise.
35440 * tls.make.c: Likewise.
35442 * configure.in: Remove --with-__thread option. Make tests for
35443 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35444 tls_model attribute fail if no support is available. Remove
35446 * Makeconfig: Adjust for dropped configure option. All features are
35448 * Makerules: Likewise.
35449 * Versions.def: Likewise.
35450 * argp/argp-fmtstream.c: Likewise.
35451 * argp/argp-fmtstream.h: Likewise.
35452 * argp/argp-help.c: Likewise.
35453 * assert/assert.c: Likewise.
35454 * config.h.in: Likewise.
35455 * config.make.in: Likewise.
35456 * configure: Likewise.
35457 * configure.in: Likewise.
35458 * csu/Versions: Likewise.
35459 * csu/init.c: Likewise.
35460 * elf/tst-audit2.c: Likewise.
35461 * elf/tst-tls10.c: Likewise.
35462 * elf/tst-tls10.h: Likewise.
35463 * elf/tst-tls11.c: Likewise.
35464 * elf/tst-tls12.c: Likewise.
35465 * elf/tst-tls14.c: Likewise.
35466 * elf/tst-tlsmod11.c: Likewise.
35467 * elf/tst-tlsmod12.c: Likewise.
35468 * elf/tst-tlsmod13.c: Likewise.
35469 * elf/tst-tlsmod13a.c: Likewise.
35470 * elf/tst-tlsmod14a.c: Likewise.
35471 * elf/tst-tlsmod15b.c: Likewise.
35472 * elf/tst-tlsmod16a.c: Likewise.
35473 * elf/tst-tlsmod16b.c: Likewise.
35474 * elf/tst-tlsmod7.c: Likewise.
35475 * elf/tst-tlsmod8.c: Likewise.
35476 * elf/tst-tlsmod9.c: Likewise.
35477 * gmon/gmon.c: Likewise.
35478 * grp/fgetgrent_r.c: Likewise.
35479 * grp/putgrent.c: Likewise.
35480 * hurd/fopenport.c: Likewise.
35481 * include/libc-symbols.h: Likewise.
35482 * include/tls.h: Likewise.
35483 * intl/gettextP.h: Likewise.
35484 * intl/loadinfo.h: Likewise.
35485 * locale/global-locale.c: Likewise.
35486 * locale/localeinfo.h: Likewise.
35487 * mach/devstream.c: Likewise.
35488 * malloc/arena.c: Likewise.
35489 * malloc/set-freeres.c: Likewise.
35490 * misc/err.c: Likewise.
35491 * misc/getttyent.c: Likewise.
35492 * misc/mntent_r.c: Likewise.
35493 * posix/getopt.c: Likewise.
35494 * posix/wordexp.c: Likewise.
35495 * pwd/fgetpwent_r.c: Likewise.
35496 * resolv/Versions: Likewise.
35497 * resolv/res_hconf.c: Likewise.
35498 * shadow/fgetspent_r.c: Likewise.
35499 * shadow/putspent.c: Likewise.
35500 * stdio-common/printf_fphex.c: Likewise.
35501 * stdio-common/tmpfile.c: Likewise.
35502 * stdlib/abort.c: Likewise.
35503 * stdlib/fmtmsg.c: Likewise.
35504 * sunrpc/auth_unix.c: Likewise.
35505 * sunrpc/clnt_perr.c: Likewise.
35506 * sunrpc/clnt_tcp.c: Likewise.
35507 * sunrpc/clnt_udp.c: Likewise.
35508 * sunrpc/clnt_unix.c: Likewise.
35509 * sunrpc/openchild.c: Likewise.
35510 * sunrpc/svc_simple.c: Likewise.
35511 * sunrpc/svc_tcp.c: Likewise.
35512 * sunrpc/svc_udp.c: Likewise.
35513 * sunrpc/svc_unix.c: Likewise.
35514 * sunrpc/xdr.c: Likewise.
35515 * sunrpc/xdr_array.c: Likewise.
35516 * sunrpc/xdr_rec.c: Likewise.
35517 * sunrpc/xdr_ref.c: Likewise.
35518 * sunrpc/xdr_stdio.c: Likewise.
35520 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35522 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35524 2011-07-03 Andreas Jaeger <aj@suse.de>
35526 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35527 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35528 regenerate with gen-libm-tests.pl.
35530 2010-05-12 Petr Baudis <pasky@suse.cz>
35533 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35534 around j0() zero points by switching to j1().
35535 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35536 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35538 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35540 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35542 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35544 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
35546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35547 Patch in part by Pavel Roskin <proski@gnu.org>.
35550 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35552 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35553 Free memory block if necessary.
35556 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35557 be NULL. Don't lock in this case.
35559 2011-09-09 Roland McGrath <roland@hack.frob.com>
35561 * elf/elf.h (ELFOSABI_GNU): New macro.
35562 (ELFOSABI_LINUX): Define to that.
35564 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35566 * string/strncat.c (strncat): Undef the symbol in case it has been
35567 defined in bits/string.h.
35569 2011-09-09 Ulrich Drepper <drepper@gmail.com>
35571 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35573 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
35576 2011-08-17 Andreas Jaeger <aj@suse.de>
35578 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35580 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35581 Ian Lance Taylor <iant@google.com>
35583 * math/libm-test.inc (lround_test): New testcase.
35584 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35586 2011-09-08 Ulrich Drepper <drepper@gmail.com>
35588 * Makefile: Remove support for automatic cvs check-ins.
35589 * Makerules: Likewise.
35590 * config.make.in: Likewise.
35591 * configure.in: Likewise.
35592 * intl/Makefile: Likewise.
35593 * locale/Makefile: Likewise.
35594 * po/Makefile: Likewise.
35595 * posix/Makefile: Likewise.
35596 * sysdeps/gnu/Makefile: Likewise.
35597 * sysdeps/mach/hurd/Makefile: Likewise.
35598 * sysdeps/sparc/sparc32/Makefile: Likewise.
35601 * posix/Makefile (bug-regex32-ENV): Define.
35602 Patch by John Stanley <jpsinthemix@verizon.net>.
35604 * misc/Makefile (headers): Add bits/select2.h.
35605 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35606 * misc/bits/select2.h: New file.
35607 * include/bits/select2.h: New file.
35608 * debug/Makefile (routines): Add fdelt_chk.
35609 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35610 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35612 * debug/fdelt_chk.c: New file.
35614 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35615 * wcsmbs/test-wmemcmp.c: Likewise.
35616 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
35617 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
35619 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35621 * string/Makefile (strop-tests): Add memcmp.
35622 * string/test-wmemcmp.c: New file.
35623 * string/test-memcmp.c: Add wmemcmp support.
35625 2011-09-08 Roland McGrath <roland@hack.frob.com>
35628 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35631 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35632 garbage value in a __mach_port_mod_refs call in the cases of the
35633 task-self and thread-self ports.
35635 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35637 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35639 2011-09-08 Andreas Schwab <schwab@redhat.com>
35641 * elf/dl-load.c (lose): Check for non-null L.
35643 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35645 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35647 * elf/dl-libc.c (dlerror_run): Pass back error code from
35651 * elf/dl-load.c (lose): Free l_origin if it is valid.
35653 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35655 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35660 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35662 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35664 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35665 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35666 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35667 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35668 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35669 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35670 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35671 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35672 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35673 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35675 2011-08-15 Alan Modra <amodra@gmail.com>
35678 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35679 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35680 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35681 ppc_mcount to static-only-routines.
35682 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35684 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35685 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35687 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35689 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35690 for finite and infinity parameters.
35692 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35694 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35695 and add nop instructions for throughput optimization.
35696 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35698 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35700 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35701 aligned copy for power7 with vector-scalar instructions.
35702 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35704 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35709 2011-09-07 Andreas Schwab <schwab@redhat.com>
35712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35715 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35717 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35718 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35719 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35720 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35723 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35725 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35726 Forgot to demangle the pointer.
35728 * sysdeps/i386/sysdep.h: Define atom_text_section.
35729 * sysdeps/x86_64/sysdep.h: Likewise.
35730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35731 section with atom_text_section.
35732 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35733 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35734 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35736 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35739 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35740 already be defined. Change to take two parameters and don't assign
35741 result to variable. Adjust all users.
35742 Define INTERNAL_GETTIME if not already defined.
35743 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35745 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35746 HAVE_CLOCK_GETTIME_VSYSCALL.
35747 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35749 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35750 gettimeofday vsyscall, just use time.
35752 2011-09-06 Andreas Schwab <schwab@redhat.com>
35754 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35757 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35759 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35761 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35763 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35764 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35765 syscall if possible.
35767 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35769 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35770 e_ident. Don't pass to find_mapsXX.
35771 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35773 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35776 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35777 * sysdeps/x86_64/multiarch/strchr.S: Update.
35778 Check bit_slow_BSF bit.
35779 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35780 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35783 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35786 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35788 (tryshell): Define.
35789 (__spawni): Change last parameter to be flag. Test
35790 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35791 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35792 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35793 * posix/spawni.c: Likewise.
35794 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35795 * posix/spawnp.c: Likewise. Change normal version to use
35796 SPAWN_XFLAGS_USE_PATH.
35797 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35798 SPAWN_XFLAGS_TRY_SHELL.
35801 * posix/glob.h: Remove gcc 1.x support.
35804 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35806 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35809 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35811 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35812 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35813 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35815 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35816 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35818 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35820 * sysdeps/x86_64/wcscmp.S: New file.
35822 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35823 wcscmp-c wcscmp-sse2
35824 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35825 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35826 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35827 * wcsmbs/wcscmp.c: Allow renaming.
35829 2011-09-05 David S. Miller <davem@davemloft.net>
35831 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35832 stack slot, rather than the struct return pointer slot.
35833 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35834 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35836 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35838 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35840 * po/ja.po: Update from translation team.
35843 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35844 kernel in 64-bit binaries.
35846 2011-09-01 David S. Miller <davem@davemloft.net>
35848 * elf/elf.h (HWCAP_SPARC_*): Move to..
35849 * sysdeps/sparc/sysdep.h: this new file and add new values.
35850 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35851 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35852 _DL_HWCAP_COUNT to 24.
35853 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35855 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35856 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35857 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35858 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35859 instead of magic constants.
35860 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35862 2011-08-31 David S. Miller <davem@davemloft.net>
35864 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35866 Reimplement to do errno handling inline.
35867 (SYSCALL_ERROR_HANDLER): New macro.
35868 (__SYSCALL_STRING): Do not do errno handling in asm.
35869 (__CLONE_SYSCALL_STRING): Delete.
35870 (__INTERNAL_SYSCALL_STRING): Delete.
35871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35872 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35873 (PSEUDO): Reimplement to do errno handling inline.
35874 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35875 (SYSCALL_ERROR_HANDLER): New macro.
35876 (__SYSCALL_STRING): Do not do errno handling in asm.
35877 (__CLONE_SYSCALL_STRING): Delete.
35878 (__INTERNAL_SYSCALL_STRING): Delete.
35879 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35880 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35882 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35883 (inline_syscall*): Add 'err' argument.
35884 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35885 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35886 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35887 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35889 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35890 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35892 2011-08-30 Andreas Schwab <schwab@redhat.com>
35894 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35896 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35898 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35901 2011-08-24 David S. Miller <davem@davemloft.net>
35903 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35905 2011-08-24 Andreas Schwab <schwab@redhat.com>
35907 * elf/Makefile: Add rules to build and run unload8 test.
35908 * elf/unload8.c: New file.
35909 * elf/unload8mod1.c: New file.
35910 * elf/unload8mod1x.c: New file.
35911 * elf/unload8mod2.c: New file.
35912 * elf/unload8mod3.c: New file.
35914 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35917 2011-08-23 David S. Miller <davem@davemloft.net>
35919 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35920 subtract stack bias.
35921 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35922 %sp not %fp in calculations.
35923 (_JMPBUF_UNWINDS_ADJ): Likewise.
35925 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35926 (aio_suspend): Call it to force an exception region around the
35927 AIO_MISC_WAIT() invocation.
35929 2011-08-23 Andreas Schwab <schwab@redhat.com>
35931 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35934 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35936 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35938 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35939 and <dl-machine.h>.
35940 (Elf64_FuncDesc): Remove.
35942 2011-08-22 David S. Miller <davem@davemloft.net>
35944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35945 sigaltstack check, add missing cfi directives.
35946 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35947 missing cfi directives, and sigaltstack handling.
35949 2011-08-16 Andreas Schwab <schwab@redhat.com>
35952 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35953 object is seen twice.
35954 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35956 * elf/Makefile (distribute): Add tst-initorder2.c.
35957 (tests): Add tst-initorder2.
35958 (modules-names): Add tst-initorder2a tst-initorder2b
35959 tst-initorder2c tst-initorder2d. Add rules to build them.
35960 ($(objpfx)tst-initorder2.out): New rule.
35961 * elf/tst-initorder2.c: New file.
35962 * elf/tst-initorder2.exp: New file.
35964 2011-08-22 Andreas Schwab <schwab@redhat.com>
35966 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35968 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35969 dependencies back to end of function.
35971 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35972 $(elfobjdir)/ld.so.
35974 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35977 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35979 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35980 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35981 of __vdso_gettimeofday.
35982 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35983 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35985 (_libc_vdso_platform_setup): Remove initialization of
35986 __vdso_gettimeofday and __vdso_time.
35988 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35990 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35991 and fgetc_unlocked.
35992 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35995 * elf/dl-open.c (add_to_global): Report additions to the global scope
35996 for LD_DEBUG=scopes.
35997 (dl_open_worker): Also print scope of newly loaded dependencies.
35998 (_dl_show_scope): Indicate if there is no scope.
36001 * stdio-common/Makefile (tests): Add bug24.
36002 * stdio-common/bug24.c: New file.
36004 2011-08-19 Andreas Jaeger <aj@suse.de>
36007 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36008 non-existant file when using close-on-exec mode.
36010 2011-08-20 Ulrich Drepper <drepper@gmail.com>
36012 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36013 the very first instruction.
36015 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36016 the CFI state in the end.
36017 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36018 inclusion of dl-trampoline.h.
36019 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36021 2011-08-19 Andreas Schwab <schwab@redhat.com>
36023 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36024 expectations for long double.
36026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36027 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36029 2011-08-14 David S. Miller <davem@davemloft.net>
36031 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36032 artificual limit depends upon the system page size.
36034 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36036 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36037 * resolv/Makefile: Define CFLAGS-libresolv.
36039 2011-08-17 Andreas Schwab <schwab@redhat.com>
36041 * nss/makedb.c (compute_tables): Make variables used in nested
36044 2011-08-17 Ulrich Drepper <drepper@gmail.com>
36046 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36047 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36048 if buffer was too small.
36050 * elf/pldd.c (main): Attach to all threads in the process.
36051 Rewrite /proc handling to use *at functions.
36053 2011-08-16 Ulrich Drepper <drepper@gmail.com>
36055 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36056 specifies first scope to show.
36057 (dl_open_worker): Update callers. Move printing scope of new
36058 object to before the relocation.
36059 * elf/rtld.c (dl_main): Update _dl_show_scope call.
36060 * sysdeps/generic/ldsodefs.h: Update declaration.
36062 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36063 string for the scope number.
36065 2011-08-14 Ulrich Drepper <drepper@gmail.com>
36067 * nscd/servicescache.c (cache_addserv): Make sure written is always
36070 2011-08-14 Roland McGrath <roland@hack.frob.com>
36072 * sysdeps/i386/i486/bits/atomic.h
36073 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36074 statement expression, so as to suppress "set but not used" warning.
36075 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36077 * string/strncat.c (STRNCAT): Use prototype definition.
36079 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36080 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36082 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36083 (localedef-modules): Add localedef.
36084 (locale-modules): Add locale.
36086 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36087 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36088 to avoid a warning.
36090 2011-08-14 David S. Miller <davem@davemloft.net>
36092 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36093 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36095 2011-08-13 Ulrich Drepper <drepper@gmail.com>
36097 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
36098 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36099 * elf/rtld.c (dl_main): Set l_name of vDSO.
36100 Call _dl_show_scope when DL_DEBUG_SCOPES.
36101 (process_dl_debug): Recognize scopes flag and also set it for all.
36102 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36103 Declare _dl_show_scope.
36105 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36106 (do_dlopen): Pass caller_dlopen to dl_open.
36107 (__libc_dlopen_mode): Initialize caller_dlopen.
36109 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36110 of libc. Make tolower call locale-independent. Optimize a bit by
36111 using isdigit instead of isalnum.
36112 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36114 2011-08-12 Ulrich Drepper <drepper@gmail.com>
36116 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36117 was a dependency or dynamically loaded.
36119 2011-08-11 Ulrich Drepper <drepper@gmail.com>
36121 * intl/l10nflist.c: Allow architecture-specific pop function.
36122 * sysdeps/x86_64/l10nflist.c: New file.
36124 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36127 2011-08-10 Andreas Schwab <schwab@redhat.com>
36129 * include/dirent.h: Add libc_hidden_proto for scandirat and
36130 scandirat64. Don't declare __scandirat64.
36131 * dirent/scandirat.c: Add libc_hidden_def.
36132 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36133 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36135 2011-08-10 David S. Miller <davem@davemloft.net>
36137 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36140 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36143 2011-08-09 Ulrich Drepper <drepper@gmail.com>
36145 * Versions.def [libc]: Add GLIBC_2.15.
36146 * dirent/Makefile (routines): Add scandirat and scandirat64.
36147 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36149 * dirent/dirent.h: Declare scandirat and scandirat64.
36150 * dirent/scandirat.c: New file.
36151 * dirent/scandirat64.c: New file.
36152 * sysdeps/wordsize-64/scandirat.c: New file.
36153 * sysdeps/wordsize-64/scandirat64.c: New file.
36154 * dirent/opendir.c: Define opendirat.
36155 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36157 * dirent/scandir64.c: Adjust for scandir.c change.
36158 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36159 __scandirat64, and __scandir_cancel_handler.
36160 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36161 additional parameter and use openat instead of open (outside of ld.so).
36162 Add new __opendir as wrapper around __opendirat.
36163 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36164 here without requiring old scandirat implementation.
36166 2011-08-08 Ulrich Drepper <drepper@gmail.com>
36168 * dirent/scandir.c (cancel_handler): Renamed to
36169 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36170 defined. Adjust users.
36171 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36172 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36174 2011-08-04 Ulrich Drepper <drepper@gmail.com>
36176 * string/test-string.h (IMPL): Use __STRING to expand name and then
36179 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36182 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36184 * string/Makefile: Update.
36185 (strop-tests): Append strncat.
36186 * string/test-wcscmp.c: New file.
36187 New comprehensive test for wcscmp.
36188 * string/test-strcmp.c: Update.
36189 (WIDE): New define.
36191 2011-07-22 Andreas Schwab <schwab@redhat.com>
36193 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36196 2011-07-26 Andreas Schwab <schwab@redhat.com>
36198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36199 encoding to ACE if AI_IDN.
36201 2011-08-01 Jakub Jelinek <jakub@redhat.com>
36203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36204 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36206 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36208 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36209 Fix overflow bug in strncat.
36210 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36212 * string/test-strncat.c: Update.
36213 Add new tests for checking overflow bugs.
36215 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36218 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36219 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36220 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36221 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36222 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36223 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36224 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36225 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36228 (USE_AS_STRCAT): Define.
36229 Add strcat and strncat support.
36230 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36232 2011-07-25 Andreas Schwab <schwab@redhat.com>
36234 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36235 __n bigger than INT_MAX+1.
36236 (__strncmp_g): Likewise.
36238 2011-07-23 Ulrich Drepper <drepper@gmail.com>
36240 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36241 * libio/stido.h: Likewise.
36243 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36248 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36249 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36250 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36251 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36255 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36260 (_dl_x86_64_save_sse): Likewise.
36262 2011-07-22 Ulrich Drepper <drepper@gmail.com>
36264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36266 (_dl_x86_64_save_sse): Likewise.
36268 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36270 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36272 2011-07-21 Andreas Schwab <schwab@redhat.com>
36274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36276 (_dl_x86_64_save_sse): Use correct AVX check.
36278 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36280 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36281 bug in strncpy/strncat.
36282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36284 2011-07-21 Ulrich Drepper <drepper@gmail.com>
36286 * string/tester.c (test_strcat): Add tests for different alignments
36287 of source and destination.
36288 (test_strncat): Likewise.
36290 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36293 * posix/glob.c (glob): Check passed in values before using them in
36294 expressions to avoid some overflows.
36295 (glob_in_dir): Likewise.
36298 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36299 check for AVX enablement so that we don't crash with old kernels and
36301 * elf/tst-audit4.c: Add same checks here.
36302 * elf/tst-audit6.c: Likewise.
36304 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
36306 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36308 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36310 2011-07-20 Ulrich Drepper <drepper@gmail.com>
36312 * po/cs.po: Update from translation team.
36313 * po/bg.po: Likewise.
36315 2011-07-12 Marek Polacek <mpolacek@redhat.com>
36317 * misc/sys/cdefs.h: Add support for const attribute.
36318 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36319 to gnu_dev_{major,minor,makedev} functions.
36321 2011-07-20 Marek Polacek <mpolacek@redhat.com>
36323 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36325 2011-07-20 Andreas Schwab <schwab@redhat.com>
36327 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36330 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36332 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36333 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36334 register in order to avoid conflicts with the soft frame pointer
36335 being held in r11 when necessary.
36336 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36337 (INTERNAL_VSYSCALL_NCS): Likewise.
36339 2011-07-14 Marek Polacek <mpolacek@redhat.com>
36341 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36342 * elf/dl-fini.c (_dl_fini): Adjust caller.
36343 * elf/dl-close.c (_dl_close_worker): Likewise.
36344 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36346 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36348 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36349 "aux_cache->nlibs < 0".
36351 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36352 in the reload-count case.
36354 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36357 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36358 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36359 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36360 * sysdeps/x86_64/multiarch/strcat.S: New file.
36361 * sysdeps/x86_64/multiarch/strncat.S: New file.
36362 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36364 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36365 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36366 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36367 (USE_AS_STRCAT): Define.
36368 Add strcat and strncat support.
36369 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36371 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36372 * string/strncat.c: Update.
36373 (USE_AS_STRNCAT): Define.
36374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36375 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36377 * sysdeps/x86_64/multiarch/init-arch.h
36378 (bit_Prefer_PMINUB_for_stringop): New.
36379 (index_Prefer_PMINUB_for_stringop): Likewise.
36380 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36381 bit_Prefer_PMINUB_for_stringop.
36383 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36385 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36387 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36388 of casting of buffer.
36389 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36390 buffer32 and buffer64.
36391 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36392 writes instead of casting of buffer.
36393 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36395 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36398 2011-07-19 Andreas Schwab <schwab@redhat.com>
36400 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36402 2011-07-19 Ulrich Drepper <drepper@gmail.com>
36404 * nscd/nscd.c (termination_handler): Don't do anything for a database
36405 if it has not yet been initialized.
36407 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36409 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36411 2011-07-15 Marek Polacek <mpolacek@redhat.com>
36413 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36415 2011-07-18 Ulrich Drepper <drepper@gmail.com>
36417 * po/nl.po: Update from translation team.
36418 * po/sv.po: Likewise.
36420 2011-07-16 Roland McGrath <roland@hack.frob.com>
36422 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36423 now disallowed by GCC.
36425 * configure.in (use-default-link): Default to yes if a test -shared
36426 link meets our qualifications.
36427 * configure: Regenerated.
36429 * config.make.in (output-format): New variable.
36430 * configure.in: Check for ld --print-output-format support.
36431 * configure: Regenerated.
36432 * Makerules ($(common-objpfx)format.lds)
36433 [$(output-format) != unknown]: Just use $(output-format),
36434 instead of the linker-script munging.
36436 2011-07-14 Roland McGrath <roland@hack.frob.com>
36438 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36439 of $(common-objpfx)shlib.lds.
36440 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36442 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36443 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36445 * configure.in (-z relro check): Adjust test code to add a large
36446 writable data section after it.
36447 * configure: Regenerated.
36449 2011-07-11 Roland McGrath <roland@hack.frob.com>
36451 * configure.in (-z relro check): Fix test code to make the variable
36453 * configure: Regenerated.
36455 2011-07-11 Ulrich Drepper <drepper@gmail.com>
36457 * nscd/nscd.h (struct traced_file): Define.
36458 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36459 elements. Add traced_files.
36460 (inotify_fd): Declare.
36461 (register_traced_file): Declare.
36462 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36463 (inotify_fd): Export.
36464 (resolv_conf_descr): Remove.
36465 (nscd_init): Move inotify descriptor creation to main.
36466 Don't register files for notification here.
36467 (register_traced_file): New function.
36468 (invalidate_cache): Don't use reset_res to determine whether to call
36469 res_init, go through the list of registered files.
36470 (main_loop_poll): The inotify descriptors are now stored in the
36471 structures for the traced files.
36472 (main_loop_epoll): Likewise
36473 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36474 to __nss_disable_nscd.
36475 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36476 for a database anymore. Check the records for all the registered
36478 * nss/Makefile (libnss_files-routines): Add files-init.
36479 (libnss_db-routines): Add db-init.
36480 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36481 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36482 * nss/nss_db/db-init.c: New file.
36483 * nss/nss_files/files-init.c: New file.
36484 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36485 __nss_lookup_function.
36486 (__nss_lookup_function): Call nss_load_library.
36487 (nss_load_all_libraries): New function.
36488 (__nss_disable_nscd): Take parameter with callback function for files
36489 to register. Set is_nscd. Load all the DSOs for the NSS modules
36490 used for the cached services.
36491 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36492 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36493 options for features to all the files in nscd.
36495 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36497 2011-07-10 Roland McGrath <roland@hack.frob.com>
36499 * csu/elf-init.c (__libc_csu_init): Comment typo.
36501 2011-07-09 Ulrich Drepper <drepper@gmail.com>
36503 * po/pl.po: Update from translation team.
36504 * po/ja.po: Likewise.
36505 * po/ru.po: Likewise.
36506 * po/ko.po: Likewise.
36507 * po/fr.po: Likewise.
36509 2011-07-09 Roland McGrath <roland@hack.frob.com>
36511 * configure.in (.ctors/.dtors header and trailer check):
36512 Use an empirical test on a built program.
36513 * configure: Regenerated.
36515 * configure.in (-z relro check): Use an empirical test on a built DSO.
36516 Detect, but do not require, on ia64.
36517 * configure: Regenerated.
36519 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36520 Update tests that use readelf to use $READELF instead.
36521 * configure: Regenerated.
36523 2011-07-08 Ulrich Drepper <drepper@gmail.com>
36525 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36526 if the result is not used.
36528 2011-07-05 Andreas Jaeger <aj@suse.de>
36531 * stdlib/tst-strtod.c: Add testcase.
36533 2011-07-07 Ulrich Drepper <drepper@gmail.com>
36535 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
36536 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
36537 The latter has a higher limit. Take additional parameter to pass to
36539 (__pathconf): Pass file to __statfs_link_max.
36540 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36542 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36546 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36547 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36549 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36550 (__statfs_filesize_max): Likewise.
36551 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36553 2011-07-05 Andreas Jaeger <aj@suse.de>
36555 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36557 2011-07-06 Marek Polacek <mpolacek@redhat.com>
36559 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36561 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36564 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36566 * Makefile (strop-tests): Add strncat.
36567 * string/test-strncat.c: New file.
36569 2011-06-30 Marek Polacek <mpolacek@redhat.com>
36571 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36573 2011-06-21 Andreas Jaeger <aj@suse.de>
36575 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36576 Copy rule from iconvdata/Makefile.
36578 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36581 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36582 but no long options are defined, just return 'W'.
36584 2011-06-22 Marek Polacek <mpolacek@redhat.com>
36587 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36589 2011-07-06 Ulrich Drepper <drepper@gmail.com>
36591 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36593 (innetgr): Likewise.
36595 2011-07-05 Roland McGrath <roland@hack.frob.com>
36597 * config.make.in (install_root): Default to $(DESTDIR).
36599 2011-07-05 Ulrich Drepper <drepper@gmail.com>
36601 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36603 2011-07-02 Roland McGrath <roland@hack.frob.com>
36605 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36607 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36608 containing directory rather than embedding absolute directory names.
36610 * scripts/check-local-headers.sh: Rewritten using awk.
36611 Match by word, not by line. Print error messages for matches.
36612 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36614 * Makerules [shlib-lds-flags empty]:
36615 ($(common-objpfx)libc_pic.opts): New target.
36616 ($(common-objpfx)libc_pic.os.clean): New target.
36617 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36619 * config.make.in (OBJCOPY): New variable.
36620 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36621 * configure: Regenerated.
36623 * config.make.in (use-default-link): New variable.
36624 * configure.in (use_default_link): Grok --with-default-link to set it.
36625 * configure: Regenerated.
36626 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36627 (shlib-lds, shlib-lds-flags): Define to empty.
36629 * Makerules (shlib-lds): New variable.
36630 (shlib-lds-flags): New variable.
36631 (build-shlib, build-moduile, build-module-asneeded): Use it.
36632 ($(common-objpfx)libc.so): Use $(shlib-lds).
36633 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36634 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36636 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36637 DT_FLAGS/DT_FLAGS_1 with zero flags.
36639 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36640 linker script munging.
36642 2011-07-02 Ulrich Drepper <drepper@gmail.com>
36644 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36646 * crypt/sha512.c (sha512_process_block): Perform total addition using
36647 128-bit if possible.
36648 (__sha512_finish_ctx): Likewise.
36649 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36651 * crypt/sha256.c (SWAP64): Define.
36652 (sha256_process_block): Perform total addition using 64-bit if
36654 (__sha256_finish_ctx): Likewise.
36656 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36658 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36659 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36660 * nscd/hstcache.c (cache_addhst): Likewise.
36661 * nscd/grpcache.c (cache_addgr): Likewise.
36662 * nscd/aicache.c (addhstaiX): Likewise
36663 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36665 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36667 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36668 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36669 * nscd/hstcache.c (cache_addhst): Likewise.
36670 * nscd/grpcache.c (cache_addgr): Likewise.
36671 * nscd/aicache.c (addhstaiX): Likewise
36673 2011-07-01 Andreas Schwab <schwab@redhat.com>
36675 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36676 domain only when needed.
36678 2011-06-30 Andreas Schwab <schwab@redhat.com>
36680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36681 is always restored.
36683 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36685 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36686 are re-adding the entry.
36687 * nscd/servicescache.c (cache_addserv): Likewise.
36689 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36691 * sysdeps/generic/dl-irel.h: fix protection against multiple
36693 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36695 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36698 * malloc/memusage.sh: Fix quoting in message.
36699 * debug/xtrace.sh: Likewise.
36701 * configure.in: Remove support for --experimental-malloc option, make
36703 * config.make.in: Likewise.
36704 * malloc/Makefile: Likewise.
36706 2011-06-27 Andreas Schwab <schwab@redhat.com>
36708 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36709 two-byte characters.
36711 2011-06-27 Roland McGrath <roland@hack.frob.com>
36713 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36714 AC_CACHE_CHECK invocation.
36715 * configure: Regenerated.
36717 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36719 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36722 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36723 bit from old_res_options.
36725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36727 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36728 value type for setfct.
36730 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36733 __gettimeofday instead of gettimeofday.
36735 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36737 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36739 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36743 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36746 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36749 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36750 strcpy-sse2-unaligned strncpy-sse2-unaligned
36751 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36752 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36753 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36754 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36755 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36756 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36757 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36758 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36759 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36760 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36761 (STRCPY): Support SSE2 and SSSE3 versions.
36763 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36766 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36767 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36768 kernels which artificially limit size of requests.
36770 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36773 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36774 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36775 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36776 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36777 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36778 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36779 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36780 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36781 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36782 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36783 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36784 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36785 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36786 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36788 Enable unaligned load optimization for Intel Core i3, i5 and i7
36790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36792 (index_Fast_Unaligned_Load): Define.
36793 (HAS_FAST_UNALIGNED_LOAD): Define.
36795 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36797 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36799 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36802 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36803 until it is clear that the information is realy needed.
36804 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36806 2011-06-22 Andreas Schwab <schwab@redhat.com>
36808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36810 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36813 /sys/devices/system/cpu/online if it is usable.
36815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36816 reading the information from the /proc filesystem to once a second.
36818 2011-06-21 Andreas Jaeger <aj@suse.de>
36820 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36821 NULL after inclusion of kernel headers.
36823 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36825 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36826 calls to internal_setent.
36829 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36830 addresses using gethostbyname4_r ignore IPv4 addresses.
36832 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36833 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36835 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36837 2011-06-20 David S. Miller <davem@davemloft.net>
36839 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36841 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36843 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36844 (elf_irel): Use it.
36845 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36846 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36847 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36848 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36849 * sysdeps/x86_64/dl-irel.h: Likewise.
36851 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36852 * elf/dl-sym.c: Likewise.
36854 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36856 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36857 need to dereference resplen2.
36859 2011-06-14 Andreas Schwab <schwab@redhat.com>
36861 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36863 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36865 * Makeconfig: Define vardbdir and inst_vardbdir.
36866 * nss/Makefile: Add rules to install db-Makefile.
36868 * nss/nss_db/db-XXX.c: Cleanup.
36870 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36871 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36873 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36874 * nss/makedb.c: Implement -g option to specify that value strings
36875 are generated and should not be added to table iterated over for
36877 * nss/nss_db/db-initgroups.c: New file.
36879 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36882 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36883 (internal_getgrouplist): Adjust to name change.
36884 Update use_initgroups_entry if this is not the first call.
36885 * nss/databases.def: Add initgroups entry.
36887 * nss/makedb.c (compute_tables): Check result of multiple hash table
36888 sizes to minimize maximum chain length.
36890 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36892 * Versions.def: Add entry for libnss_db.
36893 * shlib-versions: Likewise.
36894 * nss/Makefile: Add rules to build libnss_db.
36895 * nss/Versions: Add libnss_db information. Organize libnss_files
36897 * nss/db-Makefile: Add gshadow support. Change rules for the new
36898 makedb progra. Some minor improvements to generate smaller files.
36899 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36901 * nss/makedb.c: ...here.
36902 Improve database format to be smaller and require less memory at
36904 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36906 * nss/nss_db/db-netgrp.c: Likewise.
36907 * nss/nss_db/db-open.c: Likewise.
36908 * nss/nss_files/flies-XXX.x: Adjust comments.
36909 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36910 * nss/nss_files/files-grp.c: Likewise.
36911 * nss/nss_files/files-hosts.c: Likewise.
36912 * nss/nss_files/files-network.c: Likewise.
36913 * nss/nss_files/files-proto.c: Likewise.
36914 * nss/nss_files/files-pwd.c: Likewise.
36915 * nss/nss_files/files-rpc.c: Likewise.
36916 * nss/nss_files/files-service.c: Likewise.
36917 * nss/nss_files/files-sgrp.c: Likewise.
36918 * nss/nss_files/files-spwd.c: Likewise.
36919 * nss/nss_db/db-alias.c: Removed.
36920 * nss/nss_db/dummy-db.h: Removed.
36922 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36924 * nss/makedb.c: Rewritten to not use database library.
36925 * nss/Makefile: Update to build new makedb program.
36927 2011-06-14 Andreas Jaeger <aj@suse.de>
36929 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36930 memset declaration.
36932 2011-06-10 Andreas Schwab <schwab@redhat.com>
36934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36937 2011-06-10 Roland McGrath <roland@hack.frob.com>
36939 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36940 * elf/Makefile ($(objpfx)ld.so): Likewise.
36942 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36943 Don't list ld.so twice in dependencies.
36945 * posix/bug-regex31.c: Include <stdlib.h>.
36947 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36949 * nis/nss_compat/compat-spwd.c
36950 (getspent_next_nss_netgr): Remove unused variable.
36951 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36953 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36954 nonmembers" output to use the right array.
36956 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36958 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36960 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36961 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36962 * catgets/gencat.c (read_input_file): Likewise.
36963 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36965 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36966 variable definition inside #if's controlling its use.
36968 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36970 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36972 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36974 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36977 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36979 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36980 * configure: Regenerated.
36982 * Makerules: Revert last change.
36983 * elf/Makefile: Likewise.
36985 2011-06-09 Roland McGrath <roland@hack.frob.com>
36987 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36988 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36989 (reloc-link): Likewise.
36991 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36993 * elf/Makefile: Add rules to build pldd.
36994 * elf/pldd.c: New file.
36995 * elf/pldd-xx.c: New file.
36997 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36999 * version.h: Update for 2.15 development version.
37001 2011-06-07 David S. Miller <davem@davemloft.net>
37003 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37005 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37006 elf_machine_lazy_rel): Likewise.
37007 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37009 elf_machine_lazy_rel): Likewise.
37010 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37011 dl_hwcap via passed in argument.
37012 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37015 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37017 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37019 2011-06-06 Roland McGrath <roland@hack.frob.com>
37022 * manual/fdl-1.1.texi: New file, verbatim from:
37023 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37024 * manual/lgpl-2.1.texi: New file, verbatim from:
37025 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37026 * manual/Makefile (licenses): New variable, list those new file names.
37028 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37030 * manual/fdl.texi: File removed.
37031 * manual/lesser.texi: File removed.
37032 * manual/libc.texinfo (Copying, Documentation License):
37033 Use new @include file names, put @appendix directive before @include.
37035 2011-06-04 Jakub Jelinek <jakub@redhat.com>
37038 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37039 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37040 (mq_open): Add __NTH.
37042 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37045 Assume Intel Core i3/i5/i7 processor if AVX is available.
37047 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37049 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37052 2011-05-31 Andreas Schwab <schwab@redhat.com>
37054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37055 memory. Use alloca_account. Fix memory leak when retrying.
37057 2011-05-31 Ulrich Drepper <drepper@gmail.com>
37059 * version.h (RELEASE): Bump for 2.14 release.
37060 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37062 * config.make.in (RANLIB): Remove entry.
37064 2011-05-30 Ulrich Drepper <drepper@gmail.com>
37066 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37067 (libc.pot): Work around missing support for .ksh extension in xgettext.
37070 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37071 if both request failed.
37072 (send_dg): In case of server errors clear resplen or *resplen2.
37075 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37076 when there are multiple maps.
37077 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37078 (_dl_fini): Remove test here.
37080 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37082 2011-05-29 Ulrich Drepper <drepper@gmail.com>
37085 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37086 bit from old_res_options.
37087 (gaih_inet): Likewise.
37090 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
37093 * resolv/res_init.c (res_setoptions): Make the code more compact.
37096 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37100 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37102 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37105 * malloc/malloc.h: Declare malloc hook variables as volatile.
37107 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37111 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
37112 raise in the comment.
37113 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37114 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37115 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
37117 2011-05-28 Ulrich Drepper <drepper@gmail.com>
37120 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37121 grow the buffers more if it already has to be sufficient.
37122 (build_wcs_upper_buffer): Likewise.
37123 * posix/regexec.c (check_matching): Likewise.
37124 (clean_state_log_if_needed): Likewise.
37125 (extend_buffers): Don't enlarge buffers beyond size of the input
37127 Patches mostly by Emil Wojak <emil@wojak.eu>.
37128 * posix/bug-regex32.c: New file.
37129 * posix/Makefile (tests): Add bug-regex32.
37131 * locale/findlocale.c (_nl_find_locale): Return right away if
37132 _nl_explode_name failed.
37133 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37135 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37137 * debug/xtrace.sh: Unify messages.
37138 * malloc/memusage.sh: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37142 time symbol from vDSO. Substitute with vsyscall if not available.
37143 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37146 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37147 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37148 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37149 Add sendmmsg and internal_sendmmsg.
37150 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37151 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37152 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37154 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37155 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37158 2011-05-27 Ulrich Drepper <drepper@gmail.com>
37161 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37162 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37164 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37168 * iconvdata/Makefile (tests): Add bug-iconv9.
37169 * iconvdata/bug-iconv9.c: New file.
37171 2011-05-27 Andreas Schwab <schwab@redhat.com>
37174 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37176 2011-05-25 Jakub Jelinek <jakub@redhat.com>
37178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37179 (struct user_regs_struct): Change intcs field back to cs.
37181 2011-05-25 Ulrich Drepper <drepper@gmail.com>
37183 * po/ja.po: Update from translation team.
37185 2011-05-23 Ulrich Drepper <drepper@gmail.com>
37188 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37189 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37191 2011-05-20 Andreas Schwab <schwab@redhat.com>
37193 * stdlib/longlong.h: Update from GCC.
37195 2011-05-23 Andreas Schwab <schwab@redhat.com>
37197 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37199 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37200 Add parameter name.
37201 (__sysconf): Pass it down.
37203 2011-05-22 Ulrich Drepper <drepper@gmail.com>
37206 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37208 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37209 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37210 add in in __libc_use_alloca calls. Adjust callers.
37211 (glob): Use malloc in some situations.
37213 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37214 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37217 2011-05-21 Ulrich Drepper <drepper@gmail.com>
37219 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37220 and CLOCK_BOOTTIME_ALARM.
37223 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37226 * string/_strerror.c (__strerror_r): Print negative errors as signed
37230 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37231 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37232 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37234 * configure.in: Fix typo in redirection and correct removal of test
37235 files in two cases.
37238 * locale/setlocale.c (new_composite_name): Fix test to check for
37239 identical name of all categories.
37242 * libio/filedoalloc.c (local_isatty): New function.
37243 (_IO_file_doallocate): Use local_isatty.
37244 * stdio-common/perror.c (perror): In case a new stream is used
37245 forward the stream error.
37246 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37249 2011-05-20 Ulrich Drepper <drepper@gmail.com>
37252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37254 * include/alloca.h (extend_alloca_account): Define.
37257 * posix/regex.h: Fix comments with documentation of user-accessible
37258 fields after compilation and describe correct free'ing of pattern
37259 after re_compile_pattern.
37260 Patch by Reuben Thomas <rrt@sc3d.org>.
37262 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37264 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37265 and -mno-altivec to prevent the compiler from using Altivec and/or
37266 VSX instructions when the corresponding registers are not available.
37268 2011-05-19 Andreas Schwab <schwab@redhat.com>
37270 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37272 2011-05-19 Ulrich Drepper <drepper@gmail.com>
37274 * libio/freopen.c (freopen): Use __dup2, not dup2.
37275 * libio/freopen64.c (freopen64): Likewise.
37277 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37280 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37281 * math/Makefile (tests): Add test-powl.
37282 (CFLAGS-test-powl.c): Define.
37283 * math/test-powl.c: New file.
37285 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37287 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37289 2011-05-17 Ulrich Drepper <drepper@gmail.com>
37292 * iconvdata/gb18030.c: Update to GB18020-2005.
37294 2011-05-16 Ulrich Drepper <drepper@gmail.com>
37296 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37297 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37298 Patch by Aharon Robbins <arnold@skeeve.com>.
37301 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37305 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37306 through underflows.
37309 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37310 point to strings before performing equality test for error_one_per_line
37314 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37318 (struct user_fpregs_struct): Avoid __uint*_t types.
37321 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37322 symbol info. Use it instead of calling _dl_addr locally.
37323 (lock_and_info): New function.
37324 (tr_freehook): Call lock_and_info and pass symbol info as additional
37325 parameter to tr_where.
37326 (tr_mallochook): Likewise.
37327 (tr_reallochook): Likewise.
37328 (tr_memalignhook): Likewise.
37330 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37331 used and couldn't be at all thread-safe.
37333 2011-05-15 Ulrich Drepper <drepper@gmail.com>
37335 * libio/freopen.c (freopen): Don't close old file descriptor
37336 before the new one is opened. Instead dup the new file descriptor
37337 to the old one after the new stream is created.
37338 * libio/freopen64.c (freopen64): Likewise.
37339 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37340 * libio/fileops.c (_IO_new_file_close_it): Handle new
37341 _IO_FLAGS2_NOCLOSE flag.
37342 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37343 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37344 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37345 _IO_FLAGS2_NOCLOSE flag.
37346 * include/unistd.h: Add hidden_proto for dup3.
37347 Define __have_dup3.
37348 * io/dup3.c: Define hidden symbol.
37349 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37352 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37353 when an incomplete long option is used.
37354 * posix/tst-getopt_long1.c: New file.
37355 * posix/Makefile (tests): Add tst-getopt_long1.
37358 * scripts/config.guess: Update from autoconf-2.68.
37359 * scripts/config.sub: Likewise.
37362 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37364 (has_cpuclock): ...this. New function.
37365 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37366 macro here based on has_cpuclock code.
37369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37370 First byte (not low byte) is now always NUL.
37371 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37374 Use non-cancelable interfaces.
37377 * locale/iso-639.def: Add entry for Sorani.
37380 * include/stdlib.h: Move include protection to the right place.
37381 Define abort_msg_s. Declare __abort_msg with it.
37382 * stdlib/abort.c (__abort_msg): Adjust type.
37383 * assert/assert.c (__assert_fail_base): New function. Majority
37384 of code from __assert_fail. Allocate memory for __abort_msg with
37386 (__assert_fail): Now call __assert_fail_base.
37387 * assert/assert-perr.c: Remove bulk of implementation. Use
37388 __assert_fail_base.
37389 * include/assert.hL Declare __assert_fail_base.
37390 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37392 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37394 2011-05-14 Ulrich Drepper <drepper@gmail.com>
37398 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37399 until all modules are registered in the DTV.
37400 * elf/Makefile: Add rules to build and run tst-tls19.
37401 * elf/tst-tls19.c: New file.
37402 * elf/tst-tls19mod1.c: New file.
37403 * elf/tst-tls19mod2.c: New file.
37404 * elf/tst-tls19mod3.c: New file.
37405 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37408 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37412 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37413 two-byte sequence errors.
37414 * iconvdata/Makefile (tests): Add bug-iconv8.
37415 * iconvdata/bug-iconv8.c: New file.
37418 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37421 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37424 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37425 (dummy_getcfa): New function.
37426 (init): Get _Unwind_GetCFA address, use dummy if not found.
37427 (backtrace_helper): In recursion check, also check whether CFA changes.
37428 (__backtrace): Completely initialize arg.
37430 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
37431 storing incomplete byte sequence in state object. Avoid testing for
37432 guaranteed too small input if we know there is enough data available.
37434 2011-05-11 Andreas Schwab <schwab@redhat.com>
37436 * Makeconfig (+link-pie): Indent.
37437 * Rules (binaries-pie): Define if $(have-fpie) and
37439 (binaries-shared): Also filter out $(binaries-pie).
37440 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37441 * nscd/Makefile (others-pie): Add nscd.
37442 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37443 ($(objpfx)nscd): Remove command override.
37444 * login/Makefile (others-pie): Add pt_chown.
37445 ($(objpfx)pt_chown): Remove command override.
37446 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37447 remove command overrides.
37449 2011-05-13 Ulrich Drepper <drepper@gmail.com>
37451 * libio/tst_putwc.c: Fix error messages.
37454 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37455 currently writing and seek to current position when not.
37456 * libio/Makefile (tests): Add bug-fclose1.
37457 * libio/bug-fclose1.c: New file.
37459 2011-05-12 Ulrich Drepper <drepper@gmail.com>
37462 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37463 don't set DF_1_NODELETE here.
37464 (do_lookup_x): When entering new entry test for copy relocation
37465 and if necessary set DF_1_NODELETE flag.
37466 * elf/tst-unique4.cc: New file.
37467 * elf/tst-unique4.h: New file.
37468 * elf/tst-unique4lib.cc: New file.
37469 * elf/Makefile: Add rules to build and run tst-unique4.
37470 Patch by Piotr Bury <pbury@goahead.com>.
37472 2011-05-11 Ulrich Drepper <drepper@gmail.com>
37475 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37478 * misc/mntent_r.c (addmntent): Flush the stream after the output
37481 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37482 (is_trusted_path_normalize): Skip initial colon. Append slash
37483 to empty buffer. Duplicate is_trusted_path code but allow
37484 constructed patch to be prefix.
37485 (is_dst): Allow $ORIGIN followed by /.
37486 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37487 Correct testing of result of is_trusted_path_normalize
37488 (decompose_rpath): Fix warning.
37490 2011-05-10 Ulrich Drepper <drepper@gmail.com>
37493 * grp/initgroups.c (internal_getgrouplist): When we found the service
37494 list through the initgroups entry in nsswitch.conf do not always
37495 continue on a successful lookup. Don't always use the
37496 __nss_group_database value if it is set.
37497 * nss/nsswitch.conf (initgroups): Change action for successful db
37498 lookup to continue for compatibility.
37500 2011-05-09 Ulrich Drepper <drepper@gmail.com>
37503 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37505 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37507 * iconvdata/tst-tables.sh: Likewise.
37508 * iconvdata/cp770.c: New file.
37509 * iconvdata/cp771.c: New file.
37510 * iconvdata/cp772.c: New file.
37511 * iconvdata/cp773.c: New file.
37512 * iconvdata/cp774.c: New file.
37513 * iconvdata/testdata/CP770: New file.
37514 * iconvdata/testdata/CP770..UTF8: New file.
37515 * iconvdata/testdata/CP771: New file.
37516 * iconvdata/testdata/CP771..UTF8: New file.
37517 * iconvdata/testdata/CP772: New file.
37518 * iconvdata/testdata/CP772..UTF8: New file.
37519 * iconvdata/testdata/CP773: New file.
37520 * iconvdata/testdata/CP773..UTF8: New file.
37521 * iconvdata/testdata/CP774: New file.
37522 * iconvdata/testdata/CP774..UTF8: New file.
37524 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37526 * iconvdata/gen-8bit-gap.sh: Likewise.
37527 * iconvdata/gen-8bit.sh: Likewise.
37529 * locale/iso-639.def: Add ary entry.
37532 * locale/C-translit.h.in: Add U20A1 transliteration.
37535 * locale/iso-639.def: Add wae entry.
37536 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37539 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37543 * locale/C-translit.h.in: Add entry for U20B9.
37544 Patch by pravin.d.s@gmail.com.
37546 2011-05-08 Ulrich Drepper <drepper@gmail.com>
37549 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37550 ENAMETOOLONG use generic getcwd.
37551 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37552 in rtld. Use *stat64.
37553 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
37554 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
37555 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
37556 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37557 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37558 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37559 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37560 __fstatat64 macros.
37561 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37562 * dirent/rewinddir.c: Add libc_hidden_def.
37563 * sysdeps/mach/hurd/rewinddir.c: Likewise.
37564 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
37566 * include/dirent.h (__alloc_dir): Add flags parameter.
37567 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37568 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37570 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37571 from fdopendir if O_CLOEXEC is already set.
37573 2011-03-15 Alan Modra <amodra@gmail.com>
37575 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37576 l_tls_firstbyte_offset non-zero. Save padding offset in
37577 l_tls_firstbyte_offset for later use.
37578 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37579 freeing static tls block.
37581 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37583 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37584 where #ifdef was intended. The intent is to prevent ARG_MAX from
37585 being defined by the kernel headers.
37587 2011-05-07 Ulrich Drepper <drepper@gmail.com>
37590 * resolv/resolv.h: Define RES_NOTLDQUERY.
37591 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37592 no-tld-query and set RES_NOTLDQUERY.
37593 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37594 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37595 modern BIND to search name as TLD unless forbidden.
37597 2011-05-07 Petr Baudis <pasky@suse.cz>
37598 Ulrich Drepper <drepper@gmail.com>
37601 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37602 (is_trusted_path): ...to here.
37603 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
37604 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
37605 using is_trusted_path_normalize() in setuid scripts.
37607 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37609 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37610 __BEGIN/__END_DECLS.
37612 2011-05-06 Ulrich Drepper <drepper@gmail.com>
37614 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37615 NSS_STATUS_NOTFOUND if no record was found.
37617 2011-05-05 Andreas Schwab <schwab@redhat.com>
37619 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37620 (headers-not-in-tirpc): Remove rpc/netdb.h
37621 * resolv/netdb.h: Revert last change.
37623 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37625 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37626 circular dependency between libgcc.a and libc.a.
37628 2011-05-05 Andreas Schwab <schwab@redhat.com>
37630 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37631 * nis/Makefile: Don't install rpcsvc/*.
37632 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37633 instead of <rpc/types.h>.
37634 (MAXHOSTNAMELEN): Define.
37636 2011-05-03 Andreas Schwab <schwab@redhat.com>
37638 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37640 2011-04-28 Maciej Babinski <mbabinski@google.com>
37643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37644 gethostbyname4_r when IPv6 results are possible.
37646 2011-05-02 Ulrich Drepper <drepper@gmail.com>
37649 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37650 _PC_PIPE_BUF handling.
37652 2011-04-30 Bruno Haible <bruno@clisp.org>
37655 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37656 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37658 * inet/getnameinfo.c (getnameinfo): Likewise.
37660 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37662 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37663 to groups setting in database lookup.
37664 * nss/nsswitch.conf: Add initgroups entry.
37666 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37669 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37671 Patch by Eric Blake <eblake@redhat.com>.
37673 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37675 * sunrpc/Makefile (need-export-routines): Add svc_run.
37676 (routines): Remove svc_run.
37677 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37678 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37679 * sunrpc/svc_run.c (svc_run): Likewise.
37680 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37682 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37684 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37685 problem in reallocation in last patch.
37687 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37689 * sunrpc/Makefile: Move inclusion of Rules.
37691 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37693 * nss/nss_files/files-initgroups.c: New file.
37694 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37695 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37696 _nss_files_initgroups_dyn.
37698 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37700 * elf/elf.h (R_ARM_IRELATIVE): Define.
37702 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37704 * po/ru.po: Update from translation team.
37706 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37708 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37711 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37714 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37715 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37716 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37717 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37720 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37722 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37725 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37728 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37731 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37733 * stdlib/bug-getcontext.c: New file.
37734 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37736 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37738 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37739 instructions into .machine "z9-109".
37740 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37741 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37743 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37745 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37746 between environment variables and auxiliary vector.
37748 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37750 * Makefile: Add rules to build linkobj/libc.so.
37751 * include/libc-symbols.h: Define libc_hidden_nolink.
37752 * include/rpc/auth.h: Mark functions which are to be hidden.
37753 * include/rpc/auth_des.h: Likewise.
37754 * include/rpc/auth_unix.h: Likewise.
37755 * include/rpc/clnt.h: Likewise.
37756 * include/rpc/des_crypt.h: Likewise.
37757 * include/rpc/key_prot.h: Likewise.
37758 * include/rpc/pmap_clnt.h: Likewise.
37759 * include/rpc/pmap_prot.h: Likewise.
37760 * include/rpc/pmap_rmt.h: Likewise.
37761 * include/rpc/rpc_msg.h: Likewise.
37762 * include/rpc/svc.h: Likewise.
37763 * include/rpc/svc_auth.h: Likewise.
37764 * include/rpc/xdr.h: Likewise.
37765 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37766 * nss/Makefile: Likewise.
37767 * sunrpc/Makefile: Don't install headers. Build library with normal
37768 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37769 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37770 for the compat linking library. Remove use of INTDEF/INTUSE.
37771 * sunrpc/auth_none.c: Likewise.
37772 * sunrpc/auth_unix.c: Likewise.
37773 * sunrpc/authdes_prot.c: Likewise.
37774 * sunrpc/authuxprot.c: Likewise.
37775 * sunrpc/clnt_gen.c: Likewise.
37776 * sunrpc/clnt_perr.c: Likewise.
37777 * sunrpc/clnt_raw.c: Likewise.
37778 * sunrpc/clnt_simp.c: Likewise.
37779 * sunrpc/clnt_tcp.c: Likewise.
37780 * sunrpc/clnt_udp.c: Likewise.
37781 * sunrpc/clnt_unix.c: Likewise.
37782 * sunrpc/des_crypt.c: Likewise.
37783 * sunrpc/des_soft.c: Likewise.
37784 * sunrpc/get_myaddr.c: Likewise.
37785 * sunrpc/key_call.c: Likewise.
37786 * sunrpc/key_prot.c: Likewise.
37787 * sunrpc/netname.c: Likewise.
37788 * sunrpc/pm_getmaps.c: Likewise.
37789 * sunrpc/pm_getport.c: Likewise.
37790 * sunrpc/pmap_clnt.c: Likewise.
37791 * sunrpc/pmap_prot.c: Likewise.
37792 * sunrpc/pmap_prot2.c: Likewise.
37793 * sunrpc/pmap_rmt.c: Likewise.
37794 * sunrpc/publickey.c: Likewise.
37795 * sunrpc/rpc_cmsg.c: Likewise.
37796 * sunrpc/rpc_common.c: Likewise.
37797 * sunrpc/rpc_dtable.c: Likewise.
37798 * sunrpc/rpc_prot.c: Likewise.
37799 * sunrpc/rpc_thread.c: Likewise.
37800 * sunrpc/rtime.c: Likewise.
37801 * sunrpc/svc.c: Likewise.
37802 * sunrpc/svc_auth.c: Likewise.
37803 * sunrpc/svc_authux.c: Likewise.
37804 * sunrpc/svc_raw.c: Likewise.
37805 * sunrpc/svc_run.c: Likewise.
37806 * sunrpc/svc_simple.c: Likewise.
37807 * sunrpc/svc_tcp.c: Likewise.
37808 * sunrpc/svc_udp.c: Likewise.
37809 * sunrpc/svc_unix.c: Likewise.
37810 * sunrpc/svcauth_des.c: Likewise.
37811 * sunrpc/xcrypt.c: Likewise.
37812 * sunrpc/xdr.c: Likewise.
37813 * sunrpc/xdr_array.c: Likewise.
37814 * sunrpc/xdr_float.c: Likewise.
37815 * sunrpc/xdr_intXX_t.c: Likewise.
37816 * sunrpc/xdr_mem.c: Likewise.
37817 * sunrpc/xdr_rec.c: Likewise.
37818 * sunrpc/xdr_ref.c: Likewise.
37819 * sunrpc/xdr_sizeof.c: Likewise.
37820 * sunrpc/xdr_stdio.c: Likewise.
37822 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37825 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37826 * sysdeps/ia64/dl-tls.h: Likewise.
37827 * sysdeps/powerpc/dl-tls.h: Likewise.
37828 * sysdeps/s390/dl-tls.h: Likewise.
37829 * sysdeps/sh/dl-tls.h: Likewise.
37830 * sysdeps/sparc/dl-tls.h: Likewise.
37831 * sysdeps/x86_64/dl-tls.h: Likewise.
37832 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37834 2011-03-14 Andreas Schwab <schwab@redhat.com>
37836 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37837 rpath element also skip the following colon.
37838 (expand_dynamic_string_token): Add is_path parameter and pass
37839 down to DL_DST_REQUIRED and _dl_dst_substitute.
37840 (decompose_rpath): Call expand_dynamic_string_token with
37841 non-zero is_path. Ignore empty rpaths.
37842 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37845 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37850 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37853 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37854 Patch by Filipe David Manana <fdmanana@apache.org>.
37856 2011-04-07 Andreas Schwab <schwab@redhat.com>
37858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37859 Maintain aligned stack.
37860 (CHECK_RSP): Remove unused macro.
37862 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37864 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37865 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37867 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37869 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37871 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37873 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37876 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37877 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37878 * sysdeps/x86_64/memmove.c: New file.
37879 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37880 (memcpy): Renamed to ...
37881 (__new_memcpy): This.
37882 (memcpy): Provide GLIBC_2_14 memcpy.
37883 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37884 (memcpy): Provide GLIBC_2_2_5 memcpy.
37886 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37889 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37891 2011-03-30 Andreas Schwab <schwab@redhat.com>
37893 * misc/syncfs.c: New file.
37894 * misc/Makefile (routines): Add syncfs.
37895 * posix/unistd.h: Declare syncfs.
37896 * sysdeps/unix/syscalls.list: Add syncfs.
37898 2011-04-01 Andreas Schwab <schwab@redhat.com>
37900 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37902 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37903 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37904 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37907 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37910 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37912 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37913 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37918 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37920 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37921 sync_file_range.c with -fexceptions.
37922 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37923 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37924 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37925 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37926 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37927 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37929 sync_file_range as cancellation point
37930 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37931 now a wrapper around __call_sync_file_range with cancellation handling.
37932 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37933 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37934 function name to __call_sync_file_range.
37935 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37936 Add call_sync_file_range.
37938 2011-04-01 Andreas Schwab <schwab@redhat.com>
37940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37943 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37945 * iconv/iconv.h: Fix typo in comment.
37946 * io/fcntl.h: Likewise.
37947 * libio/stdio.h: Likewise.
37948 * posix/spawn.h: Likewise.
37949 * posix/unistd.h: Likewise.
37950 * stdlib/stdlib.h: Likewise.
37951 * time/time.h: Likewise.
37952 * wcsmbs/wchar.h: Likewise.
37954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37955 open_by_handle): Add.
37956 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37957 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37958 Augment a few comments.
37959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37961 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37962 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37964 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37967 * io/fcntl.h (AT_EMPTY_PATH): Define.
37969 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37971 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37972 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37973 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37975 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37976 * Versions.def: Add GLIBC_2.14.
37977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37980 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37982 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37984 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37986 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37989 * string/test-strncmp.c (do_page_test): New function.
37990 (check2): Likewise.
37991 (test_main): Call check2.
37992 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37994 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37997 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37998 Handle cache information in CPU leaf 4.
37999 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38001 2011-03-18 Ulrich Drepper <drepper@gmail.com>
38004 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38005 character representation.
38006 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38008 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38010 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38011 END(__isnan) to END(__isnanf) to match function entry point/label
38012 EALIGN(__isnanf,...).
38014 2011-03-10 Jakub Jelinek <jakub@redhat.com>
38016 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38018 2011-03-10 Ulrich Drepper <drepper@gmail.com>
38021 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38022 copy from the symbol referenced in the relocation to initialize the
38024 Patch by Piotr Bury <pbury@goahead.com>.
38025 * elf/Makefile: Add rules to build and tst-unique3.
38026 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38027 * elf/tst-unique3.cc: New file.
38028 * elf/tst-unique3.h: New file.
38029 * elf/tst-unique3lib.cc: New file.
38030 * elf/tst-unique3lib2.cc: New file.
38032 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38034 2011-03-10 Mike Frysinger <vapier@gentoo.org>
38036 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38037 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38040 2011-03-06 Ulrich Drepper <drepper@gmail.com>
38042 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38043 to-be-loaded object along a path to loader is ld.so.
38045 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38046 Ulrich Drepper <drepper@gmail.com>
38048 * sysdeps/x86_64/memset.S: After aligning destination, code
38049 branches to different locations depending on the value of
38050 misalignment, when multiarch is enabled. Fix this.
38052 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38054 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38055 Set _x86_64_preferred_memory_instruction for AMD processsors.
38056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38057 Set bit_Prefer_SSE_for_memop for AMD processors.
38059 2011-03-04 Ulrich Drepper <drepper@gmail.com>
38061 * libio/fmemopen.c (fmemopen): Optimize a bit.
38063 2011-03-03 Andreas Schwab <schwab@redhat.com>
38065 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38067 2011-03-03 Roland McGrath <roland@redhat.com>
38069 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38071 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38073 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
38074 __bzero_ultra1 instead of __memset_ultra1.
38076 2011-02-23 Andreas Schwab <schwab@redhat.com>
38077 Ulrich Drepper <drepper@gmail.com>
38080 * include/link.h (struct link_map): Add l_orig_initfini.
38081 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38082 returning unsuccessfully.
38083 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38084 close of a file loaded at startup, restore the original l_initfini
38086 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38087 list, store the pointer.
38088 * elf/Makefile ($(objpfx)noload-mem): New rule.
38089 (noload-ENV): Define.
38090 (tests): Add $(objpfx)noload-mem.
38091 * elf/noload.c: Include <memcheck.h>.
38092 (main): Call mtrace. Close all opened handles.
38094 2011-02-17 Andreas Schwab <schwab@redhat.com>
38097 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38098 dependencies are missing.
38100 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38102 Fix __if_freereq crash: Unlike the generic version which uses free,
38104 * sysdeps/mach/hurd/ifreq.h: New file.
38106 2011-01-27 Petr Baudis <pasky@suse.cz>
38107 Ulrich Drepper <drepper@gmail.com>
38110 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38111 to extend_alloca().
38112 * stdio-common/bug23.c: New file.
38113 * stdio-common/Makefile (tests): Add bug23.
38115 2010-09-28 Andreas Schwab <schwab@redhat.com>
38116 Ulrich Drepper <drepper@gmail.com>
38119 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38120 before performing relro protection. At old place add assertion
38121 to make sure nothing changed.
38123 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38124 Glauber de Oliveira Costa <glommer@gmail.com>
38126 * elf/elf.h: Add new ARM TLS relocs.
38128 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38131 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38133 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38135 * sysdeps/wordsize-64/tst-writev.c: New file.
38137 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38139 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38140 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38141 insns in _dl_start to prevent a TOC reference before relocs are
38144 2011-02-15 Ulrich Drepper <drepper@gmail.com>
38147 * Makeconfig: Remove RANLIB definition.
38148 * Makerules: Don't use RANLIB.
38149 * aclocal.m4: Remove ranlib test.
38150 * configure.in: No need to check for ranlib.
38151 * elf/rtld-Rules: Don't use RANLIB.
38153 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38155 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38157 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38158 inclusion protection macro.
38160 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38161 SIGRTMIN and SIGRTMAX and print information in that case only when
38162 SIGRTMIN is defined.
38164 2011-02-11 Jakub Jelinek <jakub@redhat.com>
38166 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38167 arginfo fn returning -1.
38169 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38170 and thousands string is zero terminated.
38172 2011-02-03 Andreas Schwab <schwab@redhat.com>
38174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38175 sysdeps/unix/sysv/linux/bits/socket.h.
38177 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38179 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38180 (__CPU_COUNT): Remove old macros.
38181 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38182 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38183 (__CPU_ALLOC, __CPU_FREE): Add macros.
38184 (__sched_cpualloc, __sched_cpufree): Add declarations.
38186 2011-02-05 Ulrich Drepper <drepper@gmail.com>
38188 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38189 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38190 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38191 (readdhstai): Return value of addhstaiX call.
38192 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38193 (addgrbyX): Return value returned by cache_addgr.
38194 (readdgrbyname): Return value returned by addgrbyX.
38195 (readdgrbygid): Likewise.
38196 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38197 (addpwbyX): Return value returned by cache_addpw.
38198 (readdpwbyname): Return value returned by addhstbyX.
38199 (readdpwbyuid): Likewise.
38200 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38201 (addservbyX): Return value returned by cache_addserv.
38202 (readdservbyname): Return value returned by addservbyX:
38203 (readdservbyport): Likewise.
38204 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38205 (addhstbyX): Return value returned by cache_addhst.
38206 (readdhstbyname): Return value returned by addhstbyX.
38207 (readdhstbyaddr): Likewise.
38208 (readdhstbynamev6): Likewise.
38209 (readdhstbyaddrv6): Likewise.
38210 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38211 (readdinitgroups): Return value returned by addinitgroupsX.
38212 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38213 (prune_cache): Keep track of timeout value of re-added entries.
38214 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38215 * nscd/nscd.h: Adjust prototypes of readd* functions.
38217 2011-02-04 Roland McGrath <roland@redhat.com>
38219 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38220 (nis_stats): Likewise.
38221 * nis/nis_modify.c (nis_modify): Likewise.
38222 * nis/nis_remove.c (nis_remove): Likewise.
38223 * nis/nis_add.c (nis_add): Likewise.
38225 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38227 * posix/fnmatch_loop.c: Add some consts.
38229 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38231 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38234 * config.make.in (config-cflags-novzeroupper): Define.
38235 * configure.in: Substitute libc_cv_cc_novzeroupper.
38236 * elf/Makefile (AVX-CFLAGS): Define.
38237 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38238 (CFLAGS-tst-auditmod4a.c): Likewise.
38239 (CFLAGS-tst-auditmod4b.c): Likewise.
38240 (CFLAGS-tst-auditmod6b.c): Likewise.
38241 (CFLAGS-tst-auditmod6c.c): Likewise.
38242 (CFLAGS-tst-auditmod7b.c): Likewise.
38243 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38245 2011-02-02 Ulrich Drepper <drepper@gmail.com>
38247 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38248 function to the callback.
38249 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38251 2011-02-02 Andreas Schwab <schwab@redhat.com>
38253 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38256 2011-01-19 Ulrich Drepper <drepper@gmail.com>
38259 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38261 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38263 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38266 * elf/Makefile: Add rules to build and run new test.
38267 * elf/tst-initorder.c: New file.
38268 * elf/tst-initorder.exp: New file.
38269 * elf/tst-initordera1.c: New file.
38270 * elf/tst-initordera2.c: New file.
38271 * elf/tst-initordera3.c: New file.
38272 * elf/tst-initordera4.c: New file.
38273 * elf/tst-initorderb1.c: New file.
38274 * elf/tst-initorderb2.c: New file.
38275 * elf/tst-order-a1.c: New file.
38276 * elf/tst-order-a2.c: New file.
38277 * elf/tst-order-a3.c: New file.
38278 * elf/tst-order-a4.c: New file.
38279 * elf/tst-order-b1.c: New file.
38280 * elf/tst-order-b2.c: New file.
38281 * elf/tst-order-main.c: New file.
38282 New test case by George Gensure <werkt0@gmail.com>.
38284 2010-10-01 Andreas Schwab <schwab@redhat.com>
38286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38287 decoding ACE if AI_CANONIDN.
38289 2011-01-18 Ulrich Drepper <drepper@gmail.com>
38291 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38293 2011-01-17 Ulrich Drepper <drepper@gmail.com>
38295 * version.h (RELEASE): Bump for 2.13 release.
38296 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38298 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38300 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38302 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38303 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38304 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38305 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38307 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38309 * posix/getconf.c: Update copyright year.
38310 * catgets/gencat.c: Likewise.
38311 * csu/version.c: Likewise.
38312 * debug/catchsegv.sh: Likewise.
38313 * debug/xtrace.sh: Likewise.
38314 * elf/ldconfig.c: Likewise.
38315 * elf/ldd.bash.in: Likewise.
38316 * elf/sprof.c (print_version): Likewise.
38317 * iconv/iconv_prog.c: Likewise.
38318 * iconv/iconvconfig.c: Likewise.
38319 * locale/programs/locale.c: Likewise.
38320 * locale/programs/localedef.c: Likewise.
38321 * malloc/memusage.sh: Likewise.
38322 * malloc/mtrace.pl: Likewise.
38323 * nscd/nscd.c (print_version): Likewise.
38324 * nss/getent.c: Likewise.
38326 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38327 PF_CAIF, and PF_ALG.
38328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38330 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38332 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38333 (modules-names): Use them.
38334 (ifunc-test-modules, ifunc-pie-tests): Define.
38335 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38336 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38337 (test-extras): Likewise.
38338 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38339 $(compile-command.c).
38340 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38341 (all-built-dso): Define.
38342 (check-textrel.out, check-execstack.out): Depend on it.
38344 * configure.in: Don't override --enable-multi-arch.
38346 2011-01-15 Ulrich Drepper <drepper@gmail.com>
38349 * nscd/hstcache.c (tryagain): Define.
38350 (cache_addhst): Return tryagain not notfound for temporary errors.
38351 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38354 2011-01-14 Ulrich Drepper <drepper@gmail.com>
38357 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38358 to make the syscall.
38359 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38362 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38363 and fall back to matching as normal character if the string ends before
38364 the matching ']' is found. This is what POSIX requires.
38365 * posix/testfnm.c: Adjust test result.
38366 * posix/globtest.sh: Adjust test result. Add new test.
38367 * posix/tst-fnmatch.input: Likewise.
38368 * posix/tst-fnmatch2.c: Add new test.
38370 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38372 * elf/Makefile (check-execstack): Revert last change. Depend on
38374 (check-execstack.h): New target.
38375 (generated): Add check-execstack.h.
38376 * elf/check-execstack.c: Include "check-execstack.h".
38377 (main): Revert last change.
38378 (handle_file): Return zero if GNU_STACK is absent and
38379 DEFAULT_STACK_PERMS doesn't include PF_X.
38381 2011-01-13 Ulrich Drepper <drepper@gmail.com>
38383 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38384 in child fails because the descriptor is already closed.
38385 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38386 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
38390 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38394 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38395 temporary buffer used to handle multi lookups locally.
38396 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
38398 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38400 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38403 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38405 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38406 alignment for SSE2.
38408 2011-01-12 Ulrich Drepper <drepper@gmail.com>
38411 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38412 characters. When rounding increased number of integer digits recompute
38414 * stdio-common/tst-grouping.c: New file.
38415 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38417 2011-01-09 Ulrich Drepper <drepper@gmail.com>
38419 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38420 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38422 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38424 * bits/select.h: Likewise.
38426 2011-01-08 Ulrich Drepper <drepper@gmail.com>
38428 * po/ja.po: Update from translation team.
38430 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
38433 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38434 implementation just like for lxstat, fxstatat, et al.
38436 2010-12-27 Jim Meyering <meyering@redhat.com>
38439 * posix/regexec.c (build_trtable): Return failure indication upon
38440 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38442 2010-12-25 Ulrich Drepper <drepper@gmail.com>
38445 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38446 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38447 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38448 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38451 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38454 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38455 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38457 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38459 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38460 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38461 script has SORT_BY_INIT_PRIORITY.
38462 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38463 NO_CTORS_DTORS_SECTIONS is defined.
38464 * elf/soinit.c: Likewise.
38465 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38466 NO_CTORS_DTORS_SECTIONS is defined.
38467 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38468 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38469 * sysdeps/sh/init-first.c: Likewise.
38470 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38472 2010-12-24 Ulrich Drepper <drepper@gmail.com>
38474 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38475 always use the slow path.
38477 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38479 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38480 similar rule which adds the sysdep directories to the header search in
38481 order to pick up the correct platform stackinfo.h.
38482 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38483 perform test if it is, otherwise return successfully without testing.
38484 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38485 DEFAULT_STACK_PERMS define in stackinfo.h.
38486 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38487 defined in stackinfo.h.
38488 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38489 DEFAULT_STACK_PERMS defined in stackinfo.h.
38490 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38491 * sysdeps/ia64/stackinfo.h: Likewise.
38492 * sysdeps/s390/stackinfo.h: Likewise.
38493 * sysdeps/sh/stackinfo.h: Likewise.
38494 * sysdeps/sparc/stackinfo.h: Likewise.
38495 * sysdeps/x86_64/stackinfo.h: Likewise.
38496 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38497 PF_X for powerpc64. Retain PF_X for powerpc32.
38499 2010-12-19 Ulrich Drepper <drepper@gmail.com>
38501 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38503 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38504 GETDENTS_64BIT_ALIGNED.
38506 2010-12-14 Ulrich Drepper <dreper@gmail.com>
38508 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
38510 2010-12-10 Andreas Schwab <schwab@redhat.com>
38512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38515 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38516 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38518 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38519 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38521 2010-12-09 Ulrich Drepper <drepper@gmail.com>
38524 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38527 2010-12-09 Jakub Jelinek <jakub@redhat.com>
38529 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38531 2010-12-03 Ulrich Drepper <drepper@gmail.com>
38533 * po/it.po: Update from translation team.
38535 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38537 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38540 2010-11-30 Ulrich Drepper <drepper@gmail.com>
38542 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38544 2010-11-24 Andreas Schwab <schwab@redhat.com>
38546 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38548 (gaih_getanswer_slice): Likewise.
38550 2010-10-20 Jakub Jelinek <jakub@redhat.com>
38552 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38554 2010-05-31 Petr Baudis <pasky@suse.cz>
38557 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38558 silently even in the chroot mode.
38560 2010-11-22 Ulrich Drepper <drepper@gmail.com>
38562 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38563 last patch a bit. Pretty printing
38565 2010-05-31 Petr Baudis <pasky@suse.cz>
38568 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38569 initialization of skip_initgroups_dyn.
38571 2010-11-19 Ulrich Drepper <drepper@gmail.com>
38573 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38574 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38576 2010-11-16 Ulrich Drepper <drepper@gmail.com>
38578 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38580 2010-11-11 Andreas Schwab <schwab@redhat.com>
38582 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38583 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38584 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38585 ($(objpfx)tst-fnmatch-mem): New rule.
38586 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38587 * posix/tst-fnmatch.c (main): Call mtrace.
38589 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38592 Support Intel processor model 6 and model 0x2c.
38594 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
38596 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38599 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38602 * string/test-strncasecmp.c (check_result): New function.
38603 (do_one_test): Use it.
38604 (check1): New function.
38605 (test_main): Use it.
38606 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38607 Support strcasecmp and strncasecmp.
38609 2010-11-08 Ulrich Drepper <drepper@gmail.com>
38612 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38613 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38615 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38617 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38619 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38621 * sysdeps/x86_64/multiarch/bzero.S: New file.
38622 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38623 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38624 * sysdeps/x86_64/multiarch/memset.S: New file.
38625 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38627 Set bit_Prefer_SSE_for_memop for Intel processors.
38628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38630 (index_Prefer_SSE_for_memop): Define.
38631 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38633 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
38635 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38636 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38638 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38641 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38642 (__x86_64_raw_data_cache_size_half): Likewise.
38643 (__x86_64_raw_shared_cache_size): Likewise.
38644 (__x86_64_raw_shared_cache_size_half): Likewise.
38646 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38647 (__x86_64_raw_data_cache_size_half): Likewise.
38648 (__x86_64_raw_shared_cache_size): Likewise.
38649 (__x86_64_raw_shared_cache_size_half): Likewise.
38650 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38651 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38652 and __x86_64_raw_shared_cache_size_half. Round
38653 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38654 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38655 to multiple of 256 bytes.
38657 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38660 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38661 of inacessible symlinks. Verify result of symlink before returning it.
38662 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38663 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38665 2010-10-28 Erich Ritz <erichritz@gmail.com>
38667 * math/math.h (isinf): Fix typo in comment.
38669 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38671 * po/da.po: Update from translation team.
38673 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38675 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38676 is added to the list.
38678 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38679 Ulrich Drepper <drepper@gmail.com>
38681 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38682 the global list here. Move code to...
38683 (_dl_add_to_namespace_list): ...here. New function.
38684 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38685 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38686 * elf/dl-load.c (lose): Don't remove the element from the list.
38687 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38688 (_dl_map_object): Likewise.
38690 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38693 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38694 into all bytes of SSE register.
38695 Patch by Richard Li <richardpku@gmail.com>.
38697 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38700 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38703 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38705 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38706 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38707 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38708 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38713 2010-10-22 Andreas Schwab <schwab@redhat.com>
38715 * include/dlfcn.h (__RTLD_SECURE): Define.
38716 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38717 mode & __RTLD_SECURE instead.
38718 (open_path): Rename preloaded parameter to secure.
38719 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38720 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38721 * elf/dl-deps.c (openaux): Likewise.
38722 * elf/rtld.c (struct map_args): Remove is_preloaded.
38723 (map_doit): Don't use it.
38724 (dl_main): Likewise.
38725 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38726 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38728 2010-09-09 Andreas Schwab <schwab@redhat.com>
38730 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38731 (sysd-rules-targets): Remove duplicates.
38732 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38733 rtld-%.$o dependency.
38735 2010-10-18 Andreas Schwab <schwab@redhat.com>
38737 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38738 _dl_map_object do it.
38740 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38742 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38743 fast fma builtins, define the macros in the C99 standard.
38744 (FP_FAST_FMAF): Likewise.
38745 (FP_FAST_FMAL): Likewise.
38746 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38748 * bits/mathdef.h: Update copyright year.
38749 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38751 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38753 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38754 builtins, define the macros in the C99 standard.
38755 (FP_FAST_FMAF): Likewise.
38756 (FP_FAST_FMAL): Likewise.
38757 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38759 (FP_FAST_FMAF): Likewise.
38761 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38764 * math/libm-test.inc (fma_test): Some new testcases.
38765 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38767 y and infinite z. Do multiplication by C already in long double.
38768 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38770 y and infinite z. Do bitwise or of inexact bit into u.d.
38771 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38772 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38773 * sysdeps/i386/fpu/s_fma.S: Removed.
38774 * sysdeps/i386/fpu/s_fmal.S: Removed.
38776 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38779 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38781 computation is not scheduled after fetestexcept. Fix value
38782 of minimum denormal long double.
38784 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38787 * math/libm-test.inc (fma_test): Add some more tests.
38788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38791 2010-10-15 Andreas Schwab <schwab@redhat.com>
38793 * scripts/data/localplt-s390-linux-gnu.data: New file.
38794 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38796 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38799 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38800 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38802 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38804 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38806 if one of x and y is very large and the other is subnormal.
38807 * sysdeps/s390/fpu/s_fmaf.c: New file.
38808 * sysdeps/s390/fpu/s_fma.c: New file.
38809 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38810 * sysdeps/powerpc/fpu/s_fma.S: New file.
38811 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38812 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38813 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38815 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38818 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38821 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38822 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38823 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38824 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38825 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38828 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38831 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38832 * posix/bug-regex31.input: Add test case.
38834 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38836 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38837 * posix/bug-regex31.input: New file.
38840 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38841 (parse_sub_exp): Fix last change, use postorder.
38843 * posix/bug-regex31.c: New file.
38844 * posix/Makefile: Add rules to build and run bug-regex31.
38846 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38849 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38852 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38853 to have entries in sys_siglist.
38856 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38859 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38862 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38863 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38864 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38865 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38866 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38867 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38868 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38869 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38870 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38871 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38872 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38873 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38874 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38875 * math/ftestexcept.c (fetestexcept): Likewise.
38876 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38877 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38878 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38879 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38880 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38881 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38882 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38884 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38887 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38890 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38892 * string/bug-strstr1.c: New file.
38893 * string/Makefile: Add rules to build and run bug-strstr1.
38895 2010-10-05 Eric Blake <eblake@redhat.com>
38898 * string/str-two-way.h (two_way_long_needle): Always clear memory
38899 when skipping input due to the shift table.
38901 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38904 * malloc/mcheck.c: Handle large requests.
38907 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38908 for strncmp and strncasecmp.
38909 * string/stratcliff.c: Add tests for strcmp and strncmp.
38910 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38912 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38914 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38917 2010-09-30 Andreas Jaeger <aj@suse.de>
38919 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38920 (CGROUP_SUPER_MAGIC): Define.
38921 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38922 Handle btrfs and cgroup file systems.
38923 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38926 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38928 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38929 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38931 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38934 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38935 trying to locate the ELF header.
38937 2010-09-27 Andreas Schwab <schwab@redhat.com>
38940 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38941 Mask out sign-bit copies when constructing f_fsid.
38943 2010-09-24 Petr Baudis <pasky@suse.cz>
38945 * debug/stack_chk_fail_local.c: Add missing licence exception.
38946 * debug/warning-nop.c: Likewise.
38948 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38950 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38951 implementing getdents64 using getdents syscall, set d_type if
38952 __ASSUME_GETDENTS32_D_TYPE.
38954 2010-09-16 Andreas Schwab <schwab@redhat.com>
38956 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38957 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38959 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38962 * posix/unistd.h: Undo change of feature selection for ftruncate from
38965 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38967 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38970 2010-09-20 Andreas Schwab <schwab@redhat.com>
38972 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38974 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38976 2010-09-14 Andreas Schwab <schwab@redhat.com>
38978 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38979 variables after CHECK_SP call.
38980 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38982 2010-09-13 Andreas Schwab <schwab@redhat.com>
38983 Ulrich Drepper <drepper@redhat.com>
38985 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38986 re-relocationg ld.so.
38987 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38988 _dl_init_paths call.
38989 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38992 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38994 * resolv/res_init.c (__res_vinit): Count the default server we added.
38996 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38997 Ulrich Drepper <drepper@redhat.com>
39000 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39001 (____longjmp_chk): Use %ebx for saving value across system call.
39004 2010-09-06 Andreas Schwab <schwab@redhat.com>
39006 * manual/Makefile: Don't mix pattern rules with normal rules.
39008 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39010 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39012 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39013 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39014 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39015 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39019 2010-09-04 Ulrich Drepper <drepper@redhat.com>
39022 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39023 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39025 2010-09-02 Ulrich Drepper <drepper@redhat.com>
39027 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39028 * sysdeps/x86_64/addmul_1.S: Likewise.
39029 * sysdeps/x86_64/lshift.S: Likewise.
39030 * sysdeps/x86_64/mul_1.S: Likewise.
39031 * sysdeps/x86_64/rshift.S: Likewise.
39032 * sysdeps/x86_64/sub_n.S: Likewise.
39033 * sysdeps/x86_64/submul_1.S: Likewise.
39035 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39037 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39038 Define __sched_param instead of SCHED_* and sched_param when
39039 <bits/sched.h> is included with __need_schedparam defined.
39040 * bits/sched.h [__need_schedparam]
39041 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
39042 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39043 (__defined_schedparam): Define to 1.
39044 (__sched_param): New structure, identical to sched_param.
39045 (__need_schedparam): Undefine.
39047 2010-08-31 Mike Frysinger <vapier@gentoo.org>
39049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39050 (epoll_create1): Declare.
39052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39054 2010-08-31 Andreas Schwab <schwab@redhat.com>
39057 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39058 shifting retval into place.
39060 2010-09-01 Ulrich Drepper <drepper@redhat.com>
39062 * nis/rpcsvc/nis.h: Update copyright notice.
39063 * nis/rpcsvc/nis.x: Likewise.
39064 * nis/rpcsvc/nis_callback.h: Likewise.
39065 * nis/rpcsvc/nis_callback.x: Likewise.
39066 * nis/rpcsvc/nis_object.x: Likewise.
39067 * nis/rpcsvc/nis_tags.h: Likewise.
39068 * nis/rpcsvc/yp.h: Likewise.
39069 * nis/rpcsvc/yp.x: Likewise.
39070 * nis/rpcsvc/ypupd.h: Likewise.
39071 * nis/yp_xdr.c: Likewise.
39072 * nis/ypupdate_xdr.c: Likewise.
39074 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39075 mainly the body of pmap_getport. Add parameters to specify timeouts.
39076 (pmap_getport): Use __libc_rpc_getport.
39077 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39078 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39079 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39081 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39086 2010-08-27 Roland McGrath <roland@redhat.com>
39088 * sysdeps/i386/i686/multiarch/Makefile
39089 (CFLAGS-varshift.c): New variable.
39091 2010-08-27 Ulrich Drepper <drepper@redhat.com>
39093 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39094 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39098 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39100 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39102 * sysdeps/x86_64/strlen.S: Unroll the loop.
39103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39104 strlen-sse2 strlen-sse2-bsf.
39105 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39106 __strlen_no_bsf if bit_Slow_BSF is set.
39107 (__strlen_sse42): Removed.
39108 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39109 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39111 2010-08-25 Roland McGrath <roland@redhat.com>
39113 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39114 * sysdeps/x86_64/multiarch/varshift.c: New file.
39115 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39116 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39117 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39118 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39120 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39123 strlen-sse2 strlen-sse2-bsf.
39124 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39125 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39126 (__strlen_sse2): Removed.
39127 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39128 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39130 bit_Slow_BSF for Atom.
39131 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39132 (index_Slow_BSF): Define.
39133 (HAS_SLOW_BSF): Define.
39135 2010-08-25 Ulrich Drepper <drepper@redhat.com>
39138 * resolv/res_init.c (__res_vinit): When no server address at all
39139 is given default to loopback.
39141 2010-08-24 Roland McGrath <roland@redhat.com>
39143 * configure.in: Remove config-name.h generation.
39144 * configure: Regenerated.
39145 * config-name.in: File removed.
39146 * scripts/config-uname.sh: New file.
39147 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39148 ($(objdir)config-name.h): New target.
39150 * sunrpc/rpc_parse.h: Avoid nested comment.
39152 2010-08-24 Richard Henderson <rth@redhat.com>
39153 Ulrich Drepper <drepper@redhat.com>
39154 H.J. Lu <hongjiu.lu@intel.com>
39156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39158 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39159 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39160 _mm_alignr_epi8 with _mm_loadu_si128.
39161 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39162 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39163 (__m128i_shift_right): Removed.
39164 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39165 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39166 * sysdeps/x86_64/multiarch/varshift.h: New file.
39167 * sysdeps/x86_64/multiarch/varshift.S: New file.
39169 2010-08-21 Mike Frysinger <vapier@gentoo.org>
39171 * configure.in: Move assembler checks to before sysdep dir checking.
39173 2010-08-20 Petr Baudis <pasky@suse.cz>
39175 * LICENSES: Sync the sunrpc license.
39177 2010-08-19 Ulrich Drepper <drepper@redhat.com>
39179 * sunrpc/auth_des.c: Update copyright notice once again.
39180 * sunrpc/auth_none.c: Likewise.
39181 * sunrpc/auth_unix.c: Likewise.
39182 * sunrpc/authdes_prot.c: Likewise.
39183 * sunrpc/authuxprot.c: Likewise.
39184 * sunrpc/bindrsvprt.c: Likewise.
39185 * sunrpc/clnt_gen.c: Likewise.
39186 * sunrpc/clnt_perr.c: Likewise.
39187 * sunrpc/clnt_raw.c: Likewise.
39188 * sunrpc/clnt_simp.c: Likewise.
39189 * sunrpc/clnt_tcp.c: Likewise.
39190 * sunrpc/clnt_udp.c: Likewise.
39191 * sunrpc/clnt_unix.c: Likewise.
39192 * sunrpc/des_crypt.c: Likewise.
39193 * sunrpc/des_soft.c: Likewise.
39194 * sunrpc/get_myaddr.c: Likewise.
39195 * sunrpc/getrpcport.c: Likewise.
39196 * sunrpc/key_call.c: Likewise.
39197 * sunrpc/key_prot.c: Likewise.
39198 * sunrpc/openchild.c: Likewise.
39199 * sunrpc/pm_getmaps.c: Likewise.
39200 * sunrpc/pm_getport.c: Likewise.
39201 * sunrpc/pmap_clnt.c: Likewise.
39202 * sunrpc/pmap_prot.c: Likewise.
39203 * sunrpc/pmap_prot2.c: Likewise.
39204 * sunrpc/pmap_rmt.c: Likewise.
39205 * sunrpc/rpc/auth.h: Likewise.
39206 * sunrpc/rpc/auth_unix.h: Likewise.
39207 * sunrpc/rpc/clnt.h: Likewise.
39208 * sunrpc/rpc/des_crypt.h: Likewise.
39209 * sunrpc/rpc/key_prot.h: Likewise.
39210 * sunrpc/rpc/netdb.h: Likewise.
39211 * sunrpc/rpc/pmap_clnt.h: Likewise.
39212 * sunrpc/rpc/pmap_prot.h: Likewise.
39213 * sunrpc/rpc/pmap_rmt.h: Likewise.
39214 * sunrpc/rpc/rpc.h: Likewise.
39215 * sunrpc/rpc/rpc_des.h: Likewise.
39216 * sunrpc/rpc/rpc_msg.h: Likewise.
39217 * sunrpc/rpc/svc.h: Likewise.
39218 * sunrpc/rpc/svc_auth.h: Likewise.
39219 * sunrpc/rpc/types.h: Likewise.
39220 * sunrpc/rpc/xdr.h: Likewise.
39221 * sunrpc/rpc_clntout.c: Likewise.
39222 * sunrpc/rpc_cmsg.c: Likewise.
39223 * sunrpc/rpc_common.c: Likewise.
39224 * sunrpc/rpc_cout.c: Likewise.
39225 * sunrpc/rpc_dtable.c: Likewise.
39226 * sunrpc/rpc_hout.c: Likewise.
39227 * sunrpc/rpc_main.c: Likewise.
39228 * sunrpc/rpc_parse.c: Likewise.
39229 * sunrpc/rpc_parse.h: Likewise.
39230 * sunrpc/rpc_prot.c: Likewise.
39231 * sunrpc/rpc_sample.c: Likewise.
39232 * sunrpc/rpc_scan.c: Likewise.
39233 * sunrpc/rpc_scan.h: Likewise.
39234 * sunrpc/rpc_svcout.c: Likewise.
39235 * sunrpc/rpc_tblout.c: Likewise.
39236 * sunrpc/rpc_util.c: Likewise.
39237 * sunrpc/rpc_util.h: Likewise.
39238 * sunrpc/rpcinfo.c: Likewise.
39239 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39240 * sunrpc/rpcsvc/key_prot.x: Likewise.
39241 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39242 * sunrpc/rpcsvc/mount.x: Likewise.
39243 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39244 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39245 * sunrpc/rpcsvc/rex.x: Likewise.
39246 * sunrpc/rpcsvc/rstat.x: Likewise.
39247 * sunrpc/rpcsvc/rusers.x: Likewise.
39248 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39249 * sunrpc/rpcsvc/spray.x: Likewise.
39250 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39251 * sunrpc/rtime.c: Likewise.
39252 * sunrpc/svc.c: Likewise.
39253 * sunrpc/svc_auth.c: Likewise.
39254 * sunrpc/svc_authux.c: Likewise.
39255 * sunrpc/svc_raw.c: Likewise.
39256 * sunrpc/svc_run.c: Likewise.
39257 * sunrpc/svc_simple.c: Likewise.
39258 * sunrpc/svc_tcp.c: Likewise.
39259 * sunrpc/svc_udp.c: Likewise.
39260 * sunrpc/svc_unix.c: Likewise.
39261 * sunrpc/svcauth_des.c: Likewise.
39262 * sunrpc/xcrypt.c: Likewise.
39263 * sunrpc/xdr.c: Likewise.
39264 * sunrpc/xdr_array.c: Likewise.
39265 * sunrpc/xdr_float.c: Likewise.
39266 * sunrpc/xdr_mem.c: Likewise.
39267 * sunrpc/xdr_rec.c: Likewise.
39268 * sunrpc/xdr_ref.c: Likewise.
39269 * sunrpc/xdr_sizeof.c: Likewise.
39270 * sunrpc/xdr_stdio.c: Likewise.
39272 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39275 2010-08-19 Andreas Schwab <schwab@redhat.com>
39277 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39279 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
39281 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39283 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39284 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39285 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39286 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39287 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39288 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39289 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39290 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39291 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39292 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39293 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39294 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39296 2010-07-26 Anton Blanchard <anton@samba.org>
39298 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39299 * malloc/arena.c (heap_trim): Likewise.
39301 2010-08-16 Ulrich Drepper <drepper@redhat.com>
39303 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39306 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39308 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39310 * sysdeps/i386/elf/Makefile: New file.
39312 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39314 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39315 from fanotify_init.
39316 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39319 2010-08-15 Ulrich Drepper <drepper@redhat.com>
39321 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39323 * sysdeps/multiarch/strcmp.S: Likewise.
39325 2010-08-14 Ulrich Drepper <drepper@redhat.com>
39327 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39328 strncase_l-nonascii.
39329 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39330 Add strncase_l-ssse3.
39331 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39332 * sysdeps/x86_64/strcmp.S: Likewise.
39333 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39334 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39335 * sysdeps/x86_64/strncase.S: New file.
39336 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39337 * sysdeps/x86_64/strncase_l.S: New file.
39338 * string/Makefile (strop-tests): Add strncasecmp.
39339 * string/test-strncasecmp.c: New file.
39341 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39344 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39345 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39347 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39349 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39351 2010-08-12 Ulrich Drepper <drepper@redhat.com>
39353 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39354 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39355 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39357 2010-05-01 Alan Modra <amodra@gmail.com>
39359 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39360 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39361 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39362 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39363 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39364 tidying. Don't tail-call __sigjmp_save for static lib.
39365 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39367 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39368 (CALL_MCOUNT): Add eh info, and nop after bl.
39369 (TAIL_CALL_SYSCALL_ERROR): New macro.
39370 (PSEUDO_RET): Use it.
39371 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39372 Correct save location of integer regs and cr.
39373 (_dl_profile_resolve): Correct cr save location. Delete nops
39374 after bl when SHARED. Reduce cfi size a little by better
39375 placement of cfi directives.
39376 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39377 make a stack frame. Instead use parm save area as a temp.
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39379 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39381 Don't make a stack frame for parent, use parm save area.
39382 Increase child stack frame to 112 bytes. Don't save unused reg,
39383 and adjust reg usage. Set up cfi on error recovery and
39384 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39386 (__makecontext): Add dummy nop after jump to exit.
39387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39388 Use correct parm save area and cr save, reduce stack frame.
39389 Correct cfi for possible PSEUDO_RET frame setup.
39390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39391 Branch to local label emitted by PSEUDO_RET rather than
39394 2010-08-12 Andreas Schwab <schwab@redhat.com>
39397 * locale/programs/locale.c (print_assignment): New function.
39398 (show_locale_vars): Use it.
39400 2010-08-11 Ulrich Drepper <drepper@redhat.com>
39402 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39404 (struct statfs64): Likewise.
39405 (_STATFS_F_FLAGS): Define.
39406 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39407 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39408 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39409 (ST_VALID): Define locally.
39410 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39411 __statvfs_getflags, use the provided value.
39412 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39413 __ASSUME_STATFS_F_FLAGS.
39415 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39417 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39418 Add sys/fanotify.h.
39419 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39420 fanotify_mask for GLIBC_2.13.
39421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39422 fanotify_init and fanotify_mark.
39423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39424 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39426 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39428 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39429 prlimit64 for GLIBC_2.13.
39430 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39435 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39436 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39437 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39438 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39440 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39443 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39444 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39446 * nss/Makefile: Add rules to build and run tst-nss-test1.
39447 * shlib-versions: Add entry for libnss_test1.
39448 * nss/nss_test1.c: New file.
39449 * nss/tst-nss-test1.c: New file.
39451 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39452 (__nss_configure_lookup): Set appropriate entry in
39453 __nss_configure_lookup to true.
39454 * nss/nsswitch.h: Define enum with indeces of databases in
39455 databases and __nss_database_custom arrays. Declare
39456 __nss_database_custom.
39457 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39458 to avoid using nscd when custom rules are installed.
39459 * nss/getXXbyYY_r.c: Likewise.
39460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39462 * nss/nss_files/files-parse.c: Whitespace fixes.
39464 2010-08-09 Ulrich Drepper <drepper@redhat.com>
39467 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39468 * posix/fnmatch_loop.c: Likewise.
39470 2010-07-17 Andi Kleen <ak@linux.intel.com>
39472 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39473 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39474 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39475 * Versions.def [GLIBC_2.13]: Add.
39477 2010-08-06 Ulrich Drepper <drepper@redhat.com>
39479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39480 Also fail if tpwd after pwuid call is NULL.
39482 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39484 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39485 when converting to ms.
39487 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39489 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39490 EOPNOTSUPP errors with ENOTTY.
39491 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39492 EOPNOTSUPP errors with ENOTTY.
39494 2010-07-31 Ulrich Drepper <drepper@redhat.com>
39496 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39497 Add strcasecmp_l-ssse3.
39498 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39500 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39501 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39502 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39504 2010-07-30 Ulrich Drepper <drepper@redhat.com>
39506 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39508 * string/Makefile (strop-tests): Add strcasecmp.
39509 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39510 strcasecmp_l-nonascii.
39511 (gen-as-const-headers): Add locale-defines.sym.
39512 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39513 * sysdeps/x86_64/strcasecmp.S: New file.
39514 * sysdeps/x86_64/strcasecmp_l.S: New file.
39515 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39516 * sysdeps/x86_64/locale-defines.sym: New file.
39517 * string/test-strcasecmp.c: New file.
39519 * string/test-strcasestr.c: Test both ends of the range of characters.
39520 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39522 2010-07-29 Roland McGrath <roland@redhat.com>
39525 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39527 2010-07-27 Ulrich Drepper <drepper@redhat.com>
39529 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39532 2010-07-27 Andreas Schwab <schwab@redhat.com>
39534 * manual/memory.texi (Malloc Tunable Parameters): Document
39537 2010-07-26 Roland McGrath <roland@redhat.com>
39540 * configure.in (-fgnu89-inline check): Set and substitute
39541 gnu89_inline, not libc_cv_gnu89_inline.
39542 * configure: Regenerated.
39543 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39545 2010-07-26 Ulrich Drepper <drepper@redhat.com>
39547 * string/test-strnlen.c: New file.
39548 * string/Makefile (strop-tests): Add strnlen.
39549 * string/tester.c (test_strnlen): Add a few more test cases.
39550 * string/tst-strlen.c: Better error reporting.
39552 * sysdeps/x86_64/strnlen.S: New file.
39554 2010-07-24 Ulrich Drepper <drepper@redhat.com>
39556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39557 lower-latency instructions.
39559 2010-07-23 Ulrich Drepper <drepper@redhat.com>
39561 * string/test-strcasestr.c: New file.
39562 * string/test-strstr.c: New file.
39563 * string/Makefile (strop-tests): Add strstr and strcasestr.
39564 * string/str-two-way.h: Don't undefine MAX.
39565 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39567 2010-07-21 Andreas Schwab <schwab@redhat.com>
39569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39570 strcasestr-nonascii.
39571 (CFLAGS-strcasestr-nonascii.c): Define.
39572 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39574 Remove unused attribute.
39576 2010-07-20 Roland McGrath <roland@redhat.com>
39578 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39579 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39580 ld.so.cache was broken. With it, there is no way to disable dsocaps
39581 like LD_HWCAP_MASK can disable hwcaps.
39583 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39585 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39587 2010-07-16 Ulrich Drepper <drepper@redhat.com>
39589 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39590 call in strcasestr.
39591 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39592 __strcasestr_sse42_nonascii.
39593 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39594 strcasestr-nonascii.c.
39595 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39597 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
39599 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39600 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39601 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39602 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39604 2010-07-09 Ulrich Drepper <drepper@redhat.com>
39606 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39609 2010-07-06 Andreas Schwab <schwab@redhat.com>
39612 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39615 2010-07-06 Ulrich Drepper <drepper@redhat.com>
39617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39618 _PC_PIPE_BUF using F_GETPIPE_SZ.
39620 2010-07-05 Roland McGrath <roland@redhat.com>
39622 * manual/arith.texi (Rounding Functions): Fix rint description
39623 implicit in round description.
39625 2010-07-02 Ulrich Drepper <drepper@redhat.com>
39627 * elf/Makefile: Fix linking for a few tests to make recent linker
39630 2010-06-30 Andreas Schwab <schwab@redhat.com>
39632 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39633 $(common-objpfx)libc_nonshared.a.
39635 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
39637 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39638 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39639 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39640 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39641 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39642 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39643 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39644 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39659 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39660 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39661 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39662 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39663 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39664 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39665 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39666 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39667 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39668 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39669 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39670 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39686 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39688 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39689 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39690 * string/memmove.c (memmove): Renamed to ...
39691 (MEMMOVE): ...this. Default to memmove.
39692 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39693 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39695 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39696 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39697 mempcpy-ssse3-back memmove-ssse3-back.
39698 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39699 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39700 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39701 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39702 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39703 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39704 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39705 * sysdeps/x86_64/multiarch/memmove.c: New file.
39706 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39707 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39708 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39709 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39710 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39713 (index_Fast_Copy_Backward): Define.
39714 (HAS_ARCH_FEATURE): Define.
39715 (HAS_FAST_REP_STRING): Define.
39716 (HAS_FAST_COPY_BACKWARD): Define.
39718 2010-06-21 Andreas Schwab <schwab@redhat.com>
39720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39721 Restore proper fallback handling.
39723 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39726 * posix/group_member.c (__group_member): Correct checking loop.
39728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39729 OOM in getpwuid_r correctly. Return error number when the caller
39730 should return, otherwise -1.
39731 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39732 call returning > 0 value.
39733 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39735 2010-06-07 Andreas Schwab <schwab@redhat.com>
39737 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39738 libc_nonshared.a from targets in modules-names.
39740 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39742 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39745 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39747 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39748 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39749 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39752 2010-06-02 Andreas Schwab <schwab@redhat.com>
39754 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39756 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39758 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39767 2010-06-14 Roland McGrath <roland@redhat.com>
39769 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39771 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39773 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39774 __REDIRECT followed by __THROW.
39775 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39776 * posix/getopt.h (getopt): Likewise.
39778 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39780 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39781 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39782 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39784 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39785 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39787 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39789 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39791 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39795 Properly check family and model.
39797 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39799 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39801 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39803 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39805 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39807 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39810 2010-05-19 Andreas Schwab <schwab@redhat.com>
39812 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39815 2010-05-21 Andreas Schwab <schwab@redhat.com>
39817 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39818 and internal_recvmmsg.
39819 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39820 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39821 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39822 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39824 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39825 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39826 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39828 2010-05-20 Andreas Schwab <schwab@redhat.com>
39830 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39832 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39834 POWER7 optimizations.
39835 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39836 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39838 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39840 * version.h: Update for 2.13 development version.
39842 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39844 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39845 exceptions. Return 0.
39847 2010-05-07 Roland McGrath <roland@redhat.com>
39849 * elf/ldconfig.c (main): Add a const.
39851 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39853 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39854 (args_options): Add no-idn option.
39855 (ahosts_keys_int): Add idn_flags to ai_flags.
39856 (parse_option): Handle 'i' option to clear idn_flags.
39858 * malloc/malloc.c (_int_free): Possible race in the most recently
39859 added check. Only act on the data if no current modification
39862 See ChangeLog.17 for earlier changes.