]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update ARM HWCAP data.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5d7b57ca
JM
12014-02-20 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4 macro.
5 (HWCAP_ARM_LPAE): Likewise.
6 (HWCAP_ARM_EVTSTRM): Likewise.
7 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8 Add vpfd32, lpae and evtstrm.
9 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10 Increase to 22.
11
63689d61
JM
122014-02-19 Joseph Myers <joseph@codesourcery.com>
13
14 * math/auto-libm-test-in: Add tests of clog10.
15 * math/auto-libm-test-out: Regenerated.
16 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17 * sysdeps/i386/fpu/libm-test-ulps: Update.
18 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19
ab09bf61
AS
202014-02-18 Andreas Schwab <schwab@suse.de>
21
22 [BZ #16574]
23 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24 Store non-zero if the second buffer was newly allocated.
25 (send_dg): Likewise.
26 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
27 to send_vc and send_dg.
28 (res_nsend): Pass NULL for ansp2_malloced.
29 * resolv/res_query.c (__libc_res_nquery): Add parameter
30 answerp2_malloced and pass it down to __libc_res_nsend.
31 (res_nquery): Pass additional NULL to __libc_res_nquery.
32 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
34 second answer buffer if answerp2_malloced was set.
35 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36 (__libc_res_nquerydomain): Add parameter
37 answerp2_malloced and pass it down to __libc_res_nquery.
38 (res_nquerydomain): Pass additional NULL to
39 __libc_res_nquerydomain.
40 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41 additional NULL to __libc_res_nsend and __libc_res_nquery.
42 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43 additional NULL to __libc_res_nsearch.
44 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45 parameter of __libc_res_nsearch to check for separately allocated
46 second buffer.
47 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
48 __libc_res_nquery.
49 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50 additional NULL to __libc_res_nquery.
51 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
52 __libc_res_nsearch.
53 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
54 * include/resolv.h: Update prototypes of __libc_res_nquery,
55 __libc_res_nsearch, __libc_res_nsend.
56
a4fb7861
JM
572014-02-18 Joseph Myers <joseph@codesourcery.com>
58
c6af2d89
JM
59 * math/auto-libm-test-in: Add tests of fma.
60 * math/auto-libm-test-out: Regenerated.
61 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
62 (fma_towardzero_test_data): Likewise.
63 (fma_downward_test_data): Likewise.
64 (fma_upward_test_data): Likewise.
65 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
66 mpc_mode.
67 (rounding_modes): Add values for new field.
68 (func_calc_method): Add value mpfr_fff_f.
69 (func_calc_desc): Add mpfr_fff_f union field.
70 (test_function): Add field exact_args.
71 (FUNC): Add macro argument EXACT_ARGS.
72 (FUNC_mpfr_f_f): Update call to FUNC.
73 (FUNC_mpfr_f_f): Likewise.
74 (FUNC_mpfr_ff_f): Likewise.
75 (FUNC_mpfr_if_f): Likewise.
76 (FUNC_mpc_c_f): Likewise.
77 (FUNC_mpc_c_c): Likewise.
78 (test_functions): Add fma. Update calls to FUNC.
79 (handle_input_arg): Add argument exact_args.
80 (add_test): Update call to handle_input_arg.
81 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
82 (output_for_one_input_case): Update call to calc_generic_results.
83 Recalculate exact zero results in each rounding mode.
84
a4fb7861
JM
85 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
86 non-negative before setting low bit.
87 * math/auto-libm-test-in: Mark one asin test possibly having
88 spurious underflow.
89 * math/auto-libm-test-out: Regenerated.
90 * sysdeps/i386/fpu/libm-test-ulps: Update.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92
ef114eaf
DH
932014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
94
95 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
96 * sysdeps/unix/sysv/linux/microblaze: Move directory from
97 ports/sysdeps/unix/sysv/linux/microblaze.
98 * README: Add missing listing for microblaze*-*-linux-gnu.
99
c70a4b1d
MF
1002014-02-16 Mike Frysinger <vapier@gentoo.org>
101
102 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
103 * sysdeps/unix/sysv/linux/ia64: Move directory from
104 ports/sysdeps/unix/sysv/linux/ia64.
105 * README: Update listing for ia64-*-linux-gnu.
106
591aeaf7
TD
1072014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
108 Joseph Myers <joseph@codesourcery.com>
109
110 * Makeconfig (test-name): New variable.
111 (evaluate-test): Likewise.
112 * Makerules (do-test-clean): Remove .test-result files.
113 (common-mostlyclean): Likewise.
114 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
115 * scripts/evaluate-test.sh: New file.
116
6e89caf1
JM
1172014-02-14 Joseph Myers <joseph@codesourcery.com>
118
7f98f180
JM
119 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
120 separate $(objpfx)tst-fopenloc-cmp.out and
121 $(objpfx)tst-fopenloc-mem.out targets.
122 (tests): Update dependencies.
123 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
124 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
125 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
126 (tst-rxspencer-no-utf8-ARGS): New variable.
127 (tst-rxspencer-no-utf8-ENV): Likewise.
128 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
129 instead of $(objpfx)tst-rxspencer-mem.
130 ($(objpfx)tst-rxspencer-mem): Change target to
131 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
132 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
133 * posix/tst-rxspencer-no-utf8.c: New file.
134
6e89caf1
JM
135 * elf/Makefile ($(objpfx)order.out): Remove rule.
136 [$(run-built-tests) = yes] (tests): Depend on
137 $(objpfx)order-cmp.out.
138 ($(objpfx)order-cmp.out): New rule.
139 [$(run-built-tests) = yes] (tests): Depend on
140 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
141 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
142 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
143 $(objpfx)tst-array5-static-cmp.out.
144 ($(objpfx)tst-array1.out): Remove rule.
145 ($(objpfx)tst-array1-cmp.out): New rule.
146 ($(objpfx)tst-array1-static.out): Remove rule.
147 ($(objpfx)tst-array1-static-cmp.out): New rule.
148 ($(objpfx)tst-array2.out): Remove rule.
149 ($(objpfx)tst-array2-cmp.out): New rule.
150 ($(objpfx)tst-array3.out): Remove rule.
151 ($(objpfx)tst-array3-cmp.out): New rule.
152 ($(objpfx)tst-array4.out): Remove rule.
153 ($(objpfx)tst-array4-cmp.out): New rule.
154 ($(objpfx)tst-array5.out): Remove rule.
155 ($(objpfx)tst-array5-cmp.out): New rule.
156 ($(objpfx)tst-array5-static.out): Remove rule.
157 ($(objpfx)tst-array5-static-cmp.out): New rule.
158 [$(run-built-tests) = yes] (tests): Depend on
159 $(objpfx)order2-cmp.out.
160 ($(objpfx)order2.out): Remove rule.
161 ($(objpfx)order2-cmp.out): New rule.
162 ($(objpfx)tst-initorder.out): Remove rule.
163 [$(run-built-tests) = yes] (tests): Depend on
164 $(objpfx)tst-initorder-cmp.out.
165 ($(objpfx)tst-initorder-cmp.out): New rule.
166 ($(objpfx)tst-initorder2.out): Remove rule.
167 [$(run-built-tests) = yes] (tests): Depend on
168 $(objpfx)tst-initorder2-cmp.out.
169 ($(objpfx)tst-initorder2-cmp.out): New rule.
170 [$(run-built-tests) = yes] (tests): Depend on
171 $(objpfx)tst-unused-dep-cmp.out.
172 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
173 ($(objpfx)tst-unused-dep-cmp.out): New rule.
174 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
175 on $(objpfx)tst-setvbuf1-cmp.out.
176 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
177 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
178 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
179 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
180 ($(objpfx)tst-svc.out): Remove rule.
181 ($(objpfx)tst-svc-cmp.out): New rule.
182
ed9a38e2
JM
1832014-02-13 Joseph Myers <joseph@codesourcery.com>
184
185 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
186 * ctype/ctype.h [__USE_MISC]: Likewise.
187 * dirent/dirent.h [__USE_MISC]: Likewise.
188 * grp/grp.h [__USE_MISC]: Likewise.
189 * io/fcntl.h [__USE_MISC]: Likewise.
190 * io/sys/stat.h [__USE_MISC]: Likewise.
191 * libio/stdio.h [__USE_MISC]: Likewise.
192 * posix/unistd.h [__USE_MISC]: Likewise.
193 * pwd/pwd.h [__USE_MISC]: Likewise.
194 * stdlib.h [__USE_MISC]: Likewise.
195 * string/bits/string2.h [__USE_MISC]: Likewise.
196 * string/string.h [__USE_MISC]: Likewise.
197 * time/time.h [__USE_MISC]: Likewise.
198
d6680619
AS
1992014-02-13 Andreas Schwab <schwab@suse.de>
200
201 [BZ #16574]
202 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
203 second answer buffer if it was separately allocated.
204
ace614b8
JM
2052014-02-12 Joseph Myers <joseph@codesourcery.com>
206
743151ae
JM
207 * sysdeps/mips/math-tests.h: Include <features.h>.
208 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
209 (ROUNDING_TESTS_long_double): Do not define.
210 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
211 (EXCEPTION_TESTS_long_double): Likewise.
212 * sysdeps/mips/mips64/libm-test-ulps: Update.
213
498afc54
JM
214 * include/features.h (__USE_BSD): Remove macro definitions.
215 (__USE_SVID): Likewise.
216 (_BSD_SOURCE): Likewise.
217 (_SVID_SOURCE): Likewise.
218 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
219 from definition of _DEFAULT_SOURCE.
220 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
221 [_DEFAULT_SOURCE].
222 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
223 * bits/mman.h [__USE_BSD]: Likewise.
224 * bits/termios.h [__USE_BSD]: Likewise.
225 * bits/waitstatus.h [__USE_BSD]: Likewise.
226 * ctype/ctype.h [__USE_SVID]: Likewise.
227 * dirent/dirent.h [__USE_BSD]: Likewise.
228 * grp/grp.h [__USE_SVID]: Likewise.
229 [__USE_BSD]: Likewise.
230 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
231 * io/fcntl.h [__USE_BSD]: Likewise.
232 * io/ftw.h [__USE_BSD]: Likewise.
233 * io/sys/stat.h [__USE_BSD]: Likewise.
234 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
235 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
236 * libio/stdio.h [__USE_SVID]: Likewise.
237 [__USE_BSD]: Likewise.
238 * math/math.h [__USE_SVID]: Likewise.
239 [__USE_BSD]: Likewise.
240 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
241 * misc/bits/syslog.h [__USE_BSD]: Likewise.
242 * misc/search.h [__USE_SVID]: Likewise.
243 * misc/sys/mman.h [__USE_BSD]: Likewise.
244 * misc/sys/syslog.h [__USE_BSD]: Likewise.
245 * misc/sys/uio.h [__USE_BSD]: Likewise.
246 * posix/bits/unistd.h [__USE_BSD]: Likewise.
247 * posix/glob.h [__USE_BSD]: Likewise.
248 * posix/regex.h [__USE_BSD]: Likewise.
249 * posix/sys/types.h [__USE_BSD]: Likewise.
250 [__USE_SVID]: Likewise.
251 * posix/sys/utsname.h [__USE_SVID]: Likewise.
252 * posix/sys/wait.h [__USE_BSD]: Likewise.
253 [__USE_SVID]: Likewise.
254 * posix/unistd.h [__USE_BSD]: Likewise.
255 [__USE_SVID]: Likewise.
256 * pwd/pwd.h [__USE_SVID]: Likewise.
257 * resolv/netdb.h [__USE_BSD]: Likewise.
258 * setjmp/setjmp.h [__USE_BSD]: Likewise.
259 * signal/signal.h [__USE_BSD]: Likewise.
260 [__USE_SVID]: Likewise.
261 * socket/sys/socket.h [__USE_BSD]: Likewise.
262 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
263 * stdlib/stdlib.h [__USE_BSD]: Likewise.
264 [__USE_SVID]: Likewise.
265 * string/bits/string2.h [__USE_BSD]: Likewise.
266 [__USE_SVID]: Likewise.
267 * string/bits/string3.h [__USE_BSD]: Likewise.
268 * string/endian.h [__USE_BSD]: Likewise.
269 * string/string.h [__USE_SVID]: Likewise.
270 [__USE_BSD]: Likewise.
271 * string/strings.h [__USE_BSD]: Likewise.
272 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
273 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
274 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
275 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
276 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
277 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
278 Likewise.
279 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
280 Likewise.
281 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
282 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
283 Likewise.
284 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
285 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
286 Likewise.
287 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
288 Likewise.
289 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
290 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
291 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
292 Likewise.
293 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
294 Likewise.
295 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
296 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
297 * termios/termios.h [__USE_BSD]: Likewise.
298 * time/sys/time.h [__USE_BSD]: Likewise.
299 * time/time.h [__USE_BSD]: Likewise.
300 [__USE_SVID]: Likewise.
301
dd7b064c
JM
302 * Makefile (subdir_targets): Remove subdir_lint.out.
303
a2c4c199
JM
304 * stdio-common/Makefile (do-tst-unbputc): Remove target.
305 (do-tst-printf): Likewise.
306 (tests): Depend directly on $(objpfx)tst-unbputc.out and
307 $(objpfx)tst-printf.out.
308
8756f740
JM
309 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
310
1b6dd3f1
JM
311 * Makerules (check-abi-%): Change target to
312 $(objpfx)check-abi-%.out.
313 (check-abi target): Update dependencies.
314 (check-abi-pattern variable): Redirect output of diff to $@.
315 (check-abi variable): Likewise.
316 * elf/Makefile (check-abi): Update dependencies.
317
ace614b8
JM
318 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
319 unused.
320 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
321 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
322 subnormal range.
323 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
324 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
325 value has largest subnormal exponent.
326 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
327 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
328 * sysdeps/aarch64/soft-fp/sfp-machine.h
329 (_FP_TININESS_AFTER_ROUNDING): New macro.
330 * sysdeps/alpha/soft-fp/sfp-machine.h
331 (_FP_TININESS_AFTER_ROUNDING): Likewise.
332 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
333 Likewise.
334 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
336 * sysdeps/mips/soft-fp/sfp-machine.h
337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
338 * sysdeps/powerpc/soft-fp/sfp-machine.h
339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
340 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
341 Likewise.
342 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
344 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
345 (_FP_TININESS_AFTER_ROUNDING): Likewise.
346 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
347 Likewise.
348
fbfdf9cb
DAS
3492014-02-12 Dylan Alex Simon <dylan@dylex.net>
350
351 [BZ #16545]
352 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
353 model 1.
354
68b7efaa
RH
3552014-02-12 Richard Henderson <rth@redhat.com>
356
c70a4b1d 357 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
358 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
359 * sysdeps/unix/sysv/linux/alpha: Move directory from
360 ports/sysdeps/unix/sysv/linux/alpha.
361 * README: Update listing for alpha-*-linux-gnu.
362
cb4a2928
JM
3632014-02-11 Joseph Myers <joseph@codesourcery.com>
364
c941736c
JM
365 * include/features.h: Update comment documenting feature test
366 macros.
367 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
368 _DEFAULT_SOURCE.
369 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
370 (_SVID_SOURCE): Likewise.
371 (_DEFAULT_SOURCE): Update description of default features.
372 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
373 with _GNU_SOURCE.
374 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
375 (S_ISVTX): Likewise.
376 * manual/math.texi (Mathematical Constants): Likewise.
377 * manual/signal.texi (Interrupted Primitives): Likewise.
378 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
379 * math/test-matherr.c (_SVID_SOURCE): Do not define.
380 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
381 Don't refer to _SVID_SOURCE in warning text.
382
e8d8d7ec
JM
383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
384
cb4a2928
JM
385 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
386 already defined.
387 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
388 * sysdeps/mips/dl-lookup.c: Remove.
389 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
390
7e6424e3
AK
3912014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
392
393 [BZ #16447]
394 * math/auto-libm-test-in: Add testcase for expl.
395 * math/auto-libm-test-out: Regenerate.
396 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
397 calculation of unsafe.
398 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
399
75eff3fe
MS
4002014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
401
402 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
403 * sysdeps/unix/sysv/linux/aarch64: Move directory from
404 ports/sysdeps/unix/sysv/linux/aarch64.
405 * README: Update listing for aarch64*-*-linux-gnu.
406
d35f1e80
WN
4072014-02-11 Will Newton <will.newton@linaro.org>
408
409 * manual/probes.texi (Mathematical Function Probes): Use
410 "triggered" instead of "hit".
411
7b3436d4
WN
4122014-02-11 Will Newton <will.newton@linaro.org>
413
414 * manual/probes.texi (Internal Probes): Add documentation
415 of setjmp, longjmp and longjmp_target probes.
416
b4f12ca3
WN
4172014-02-11 Will Newton <will.newton@linaro.org>
418
419 * include/stap-probe.h: Add comment about probe argument
420 format.
421
c13a72b7
WN
4222014-02-11 Will Newton <will.newton@linaro.org>
423
424 * malloc/mtrace.c (attribute_hidden): Remove unused macro
425 definition. (tr_where, tr_freehook, tr_mallochook,
426 tr_reallochook, tr_memalignhook): Use ANSI protoype.
427
195b8165
DM
4282014-02-11 David S. Miller <davem@davemloft.net>
429
430 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
431 processing int_tests.
432
2ad7600b
JM
4332014-02-10 Joseph Myers <joseph@codesourcery.com>
434
435 * sysdeps/mips: Move directory from ports/sysdeps/mips.
436 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
437 * sysdeps/unix/sysv/linux/mips: Move directory from
438 ports/sysdeps/unix/sysv/linux/mips.
439 * README: Update listing for mips-*-linux-gnu and
440 mips64-*-linux-gnu.
441
73588a72
AS
4422014-02-10 Andreas Schwab <schwab@linux-m68k.org>
443
444 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
445 * sysdeps/unix/sysv/linux/m68k: Move directory from
446 ports/sysdeps/unix/sysv/linux/m68k.
447 * README: Update listing for m68k-*-linux-gnu.
448
4372980f
CM
4492014-02-10 Chris Metcalf <cmetcalf@tilera.com>
450
451 * sysdeps/tile: Move directory from ports/sysdeps/tile.
452 * sysdeps/unix/sysv/linux/generic: Move directory from
453 ports/sysdeps/unix/sysv/linux/generic.
454 * sysdeps/unix/sysv/linux/tile: Move directory from
455 ports/sysdeps/unix/sysv/linux/tile.
456 * README: Update listing for tile*-*-linux-gnu.
457
a1ffb40e
OB
4582014-02-10 Ondřej Bílka <neleai@seznam.cz>
459
460 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
461 * benchtests/bench-memmem.c (simple_memmem): Likewise.
462 * catgets/open_catalog.c (__open_catalog): Likewise.
463 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
464 * debug/confstr_chk.c: Likewise.
465 * debug/fread_chk.c (__fread_chk): Likewise.
466 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
467 * debug/getgroups_chk.c: Likewise.
468 * debug/mbsnrtowcs_chk.c: Likewise.
469 * debug/mbsrtowcs_chk.c: Likewise.
470 * debug/mbstowcs_chk.c: Likewise.
471 * debug/memcpy_chk.c: Likewise.
472 * debug/memmove_chk.c: Likewise.
473 * debug/mempcpy_chk.c: Likewise.
474 * debug/memset_chk.c: Likewise.
475 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
476 * debug/strcat_chk.c (__strcat_chk): Likewise.
477 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
478 * debug/strncat_chk.c (__strncat_chk): Likewise.
479 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
480 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
481 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
482 * debug/wcpncpy_chk.c: Likewise.
483 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
484 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
485 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
486 * debug/wcsncpy_chk.c: Likewise.
487 * debug/wcsnrtombs_chk.c: Likewise.
488 * debug/wcsrtombs_chk.c: Likewise.
489 * debug/wcstombs_chk.c: Likewise.
490 * debug/wmemcpy_chk.c: Likewise.
491 * debug/wmemmove_chk.c: Likewise.
492 * debug/wmempcpy_chk.c: Likewise.
493 * debug/wmemset_chk.c: Likewise.
494 * dirent/scandirat.c (SCANDIRAT): Likewise.
495 * dlfcn/dladdr1.c (dladdr1): Likewise.
496 * dlfcn/dladdr.c (dladdr): Likewise.
497 * dlfcn/dlclose.c (dlclose_doit): Likewise.
498 * dlfcn/dlerror.c (__dlerror): Likewise.
499 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
500 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
501 * dlfcn/dlopen.c (dlopen_doit): Likewise.
502 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
503 * dlfcn/dlsym.c (dlsym_doit): Likewise.
504 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
505 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
506 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
507 Likewise.
508 * elf/dl-conflict.c: Likewise.
509 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
510 * elf/dl-dst.h: Likewise.
511 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
512 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
513 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
514 * elf/dl-init.c (call_init, _dl_init): Likewise.
515 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
516 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
517 _dl_map_object_from_fd, open_verify, open_path,
518 _dl_map_object): Likewise.
519 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
520 Likewise.
521 * elf/dl-minimal.c (__libc_memalign): Likewise.
522 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
523 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
524 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
525 * elf/dl-sym.c (do_sym): Likewise.
526 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
527 _dl_tls_get_addr_soft): Likewise.
528 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
529 * elf/dl-writev.h (_dl_writev): Likewise.
530 * elf/ldconfig.c (search_dir): Likewise.
531 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
532 dl_main): Likewise.
533 * elf/setup-vdso.h (setup_vdso): Likewise.
534 * grp/compat-initgroups.c (compat_call): Likewise.
535 * grp/fgetgrent.c (fgetgrent): Likewise.
536 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
537 * grp/putgrent.c (putgrent): Likewise.
538 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
539 Likewise.
540 * hurd/hurdinit.c: Likewise.
541 * iconvdata/8bit-gap.c (struct): Likewise.
542 * iconvdata/ansi_x3.110.c : Likewise.
543 * iconvdata/big5.c : Likewise.
544 * iconvdata/big5hkscs.c : Likewise.
545 * iconvdata/cp1255.c: Likewise.
546 * iconvdata/cp1258.c : Likewise.
547 * iconvdata/cp932.c : Likewise.
548 * iconvdata/euc-cn.c: Likewise.
549 * iconvdata/euc-jisx0213.c : Likewise.
550 * iconvdata/euc-jp.c: Likewise.
551 * iconvdata/euc-jp-ms.c : Likewise.
552 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
553 * iconvdata/gb18030.c : Likewise.
554 * iconvdata/gbbig5.c (const): Likewise.
555 * iconvdata/gbgbk.c: Likewise.
556 * iconvdata/gbk.c : Likewise.
557 * iconvdata/ibm1364.c : Likewise.
558 * iconvdata/ibm930.c : Likewise.
559 * iconvdata/ibm932.c: Likewise.
560 * iconvdata/ibm933.c : Likewise.
561 * iconvdata/ibm935.c : Likewise.
562 * iconvdata/ibm937.c : Likewise.
563 * iconvdata/ibm939.c : Likewise.
564 * iconvdata/ibm943.c: Likewise.
565 * iconvdata/iso_11548-1.c: Likewise.
566 * iconvdata/iso-2022-cn.c : Likewise.
567 * iconvdata/iso-2022-cn-ext.c : Likewise.
568 * iconvdata/iso-2022-jp-3.c: Likewise.
569 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
570 * iconvdata/iso-2022-kr.c : Likewise.
571 * iconvdata/iso646.c (gconv_end): Likewise.
572 * iconvdata/iso_6937-2.c : Likewise.
573 * iconvdata/iso_6937.c : Likewise.
574 * iconvdata/iso8859-1.c: Likewise.
575 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
576 * iconvdata/shift_jisx0213.c : Likewise.
577 * iconvdata/sjis.c : Likewise.
578 * iconvdata/t.61.c : Likewise.
579 * iconvdata/tcvn5712-1.c : Likewise.
580 * iconvdata/tscii.c: Likewise.
581 * iconvdata/uhc.c : Likewise.
582 * iconvdata/unicode.c (gconv_end): Likewise.
583 * iconvdata/utf-16.c (gconv_end): Likewise.
584 * iconvdata/utf-32.c (gconv_end): Likewise.
585 * iconvdata/utf-7.c (base64): Likewise.
586 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
587 * iconv/gconv_close.c (__gconv_close): Likewise.
588 * iconv/gconv_open.c (__gconv_open): Likewise.
589 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
590 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
591 internal_ucs4le_loop_single, ucs4le_internal_loop,
592 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
593 * iconv/iconv.c (iconv): Likewise.
594 * iconv/iconv_close.c: Likewise.
595 * iconv/loop.c (SINGLE): Likewise.
596 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
597 * include/atomic.h: Likewise.
598 * inet/inet6_option.c (option_alloc): Likewise.
599 * intl/bindtextdom.c (set_binding_values): Likewise.
600 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
601 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
602 * intl/localealias.c (read_alias_file): Likewise.
603 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
604 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
605 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
606 * libio/fmemopen.c (fmemopen): Likewise.
607 * libio/iofgets.c (_IO_fgets): Likewise.
608 * libio/iofgets_u.c (fgets_unlocked): Likewise.
609 * libio/iofgetws.c (fgetws): Likewise.
610 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
611 * libio/iogetdelim.c (_IO_getdelim): Likewise.
612 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
613 adjust_wide_data, _IO_wfile_seekoff): Likewise.
614 * locale/findlocale.c (_nl_find_locale): Likewise.
615 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
616 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
617 Likewise.
618 * locale/setlocale.c (setlocale): Likewise.
619 * login/programs/pt_chown.c (main): Likewise.
620 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
621 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
622 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
623 mmap, mmap64, mremap, munmap): Likewise.
624 * math/e_exp2l.c: Likewise.
625 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
626 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
627 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
628 * math/s_catan.c (__catan): Likewise.
629 * math/s_catanf.c (__catanf): Likewise.
630 * math/s_catanh.c (__catanh): Likewise.
631 * math/s_catanhf.c (__catanhf): Likewise.
632 * math/s_catanhl.c (__catanhl): Likewise.
633 * math/s_catanl.c (__catanl): Likewise.
634 * math/s_ccosh.c (__ccosh): Likewise.
635 * math/s_ccoshf.c (__ccoshf): Likewise.
636 * math/s_ccoshl.c (__ccoshl): Likewise.
637 * math/s_cexp.c (__cexp): Likewise.
638 * math/s_cexpf.c (__cexpf): Likewise.
639 * math/s_cexpl.c (__cexpl): Likewise.
640 * math/s_clog10.c (__clog10): Likewise.
641 * math/s_clog10f.c (__clog10f): Likewise.
642 * math/s_clog10l.c (__clog10l): Likewise.
643 * math/s_clog.c (__clog): Likewise.
644 * math/s_clogf.c (__clogf): Likewise.
645 * math/s_clogl.c (__clogl): Likewise.
646 * math/s_csin.c (__csin): Likewise.
647 * math/s_csinf.c (__csinf): Likewise.
648 * math/s_csinh.c (__csinh): Likewise.
649 * math/s_csinhf.c (__csinhf): Likewise.
650 * math/s_csinhl.c (__csinhl): Likewise.
651 * math/s_csinl.c (__csinl): Likewise.
652 * math/s_csqrt.c (__csqrt): Likewise.
653 * math/s_csqrtf.c (__csqrtf): Likewise.
654 * math/s_csqrtl.c (__csqrtl): Likewise.
655 * math/s_ctan.c (__ctan): Likewise.
656 * math/s_ctanf.c (__ctanf): Likewise.
657 * math/s_ctanh.c (__ctanh): Likewise.
658 * math/s_ctanhf.c (__ctanhf): Likewise.
659 * math/s_ctanhl.c (__ctanhl): Likewise.
660 * math/s_ctanl.c (__ctanl): Likewise.
661 * math/w_pow.c: Likewise.
662 * math/w_powf.c: Likewise.
663 * math/w_powl.c: Likewise.
664 * math/w_scalb.c (sysv_scalb): Likewise.
665 * math/w_scalbf.c (sysv_scalbf): Likewise.
666 * math/w_scalbl.c (sysv_scalbl): Likewise.
667 * misc/error.c (error_tail): Likewise.
668 * misc/pselect.c (__pselect): Likewise.
669 * nis/nis_callback.c (__nis_create_callback): Likewise.
670 * nis/nis_call.c (__nisfind_server): Likewise.
671 * nis/nis_creategroup.c (nis_creategroup): Likewise.
672 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
673 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
674 * nis/nis_getservlist.c (nis_getservlist): Likewise.
675 * nis/nis_lookup.c (nis_lookup): Likewise.
676 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
677 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
678 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
679 * nis/nis_xdr.c (xdr_endpoint): Likewise.
680 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
681 internal_getgrgid_r): Likewise.
682 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
683 Likewise.
684 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
685 internal_getpwuid_r): Likewise.
686 * nis/nss_compat/compat-spwd.c (getspent_next_file,
687 internal_getspnam_r): Likewise.
688 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
689 _nss_nis_getaliasbyname_r): Likewise.
690 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
691 _nss_nis_getntohost_r): Likewise.
692 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
693 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
694 Likewise.
695 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
696 internal_nis_gethostent_r, internal_gethostbyname2_r,
697 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
698 _nss_nis_gethostbyname4_r): Likewise.
699 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
700 initgroups_netid): Likewise.
701 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
702 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
703 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
704 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
705 _nss_nis_getprotobynumber_r): Likewise.
706 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
707 _nss_nis_getsecretkey): Likewise.
708 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
709 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
710 Likewise.
711 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
712 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
713 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
714 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
715 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
716 _nss_nis_getspnam_r): Likewise.
717 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
718 Likewise.
719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
720 _nss_nisplus_getntohost_r): Likewise.
721 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
722 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
723 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
724 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
725 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
726 Likewise.
727 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
728 _nss_nisplus_getnetbyaddr_r): Likewise.
729 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
730 _nss_nisplus_getprotobynumber_r): Likewise.
731 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
732 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
733 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
734 Likewise.
735 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
736 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
737 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
738 _nss_nisplus_getspnam_r): Likewise.
739 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
740 * nscd/aicache.c (addhstaiX): Likewise.
741 * nscd/cache.c (cache_search, prune_cache): Likewise.
742 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
743 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
744 * nscd/grpcache.c (addgrbyX): Likewise.
745 * nscd/hstcache.c (addhstbyX): Likewise.
746 * nscd/initgrcache.c (addinitgroupsX): Likewise.
747 * nscd/mem.c (gc, mempool_alloc): Likewise.
748 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
749 Likewise.
750 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
751 Likewise.
752 * nscd/nscd_getai.c (__nscd_getai): Likewise.
753 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
754 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
755 Likewise.
756 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
758 * nscd/nscd_helper.c (__readvall, open_socket,
759 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
760 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
761 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
762 * nscd/pwdcache.c (addpwbyX): Likewise.
763 * nscd/selinux.c (preserve_capabilities): Likewise.
764 * nscd/servicescache.c (addservbyX): Likewise.
765 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
766 * posix/fnmatch.c (fnmatch): Likewise.
767 * posix/getopt.c (_getopt_internal_r): Likewise.
768 * posix/glob.c (glob, glob_in_dir): Likewise.
769 * posix/wordexp.c (exec_comm_child): Likewise.
770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
771 gaih_getanswer_slice): Likewise.
772 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
773 * resolv/res_init.c: Likewise.
774 * resolv/res_mkquery.c (res_nmkquery): Likewise.
775 * resolv/res_query.c (__libc_res_nquery): Likewise.
776 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
777 Likewise.
778 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
779 * stdio-common/perror.c (perror): Likewise.
780 * stdio-common/printf_fp.c (___printf_fp): Likewise.
781 * stdio-common/tmpnam.c (tmpnam): Likewise.
782 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
783 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
784 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
785 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
786 * stdlib/putenv.c (putenv): Likewise.
787 * stdlib/setenv.c (__add_to_environ): Likewise.
788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
789 * stdlib/strtol_l.c (INTERNAL): Likewise.
790 * string/memmem.c (memmem): Likewise.
791 * string/strerror.c (strerror): Likewise.
792 * string/strnlen.c (__strnlen): Likewise.
793 * string/test-memmem.c (simple_memmem): Likewise.
794 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
795 * sunrpc/pm_getport.c (__get_socket): Likewise.
796 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
797 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
798 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
799 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
800 Likewise.
801 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
802 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
803 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
804 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
805 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
806 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
807 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
808 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
809 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
810 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
811 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
812 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
814 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
815 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
816 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
817 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
818 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
819 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
820 Likewise.
821 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
822 Likewise.
823 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
824 Likewise.
825 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
826 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
828 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
829 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
830 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
831 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
834 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
835 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
838 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
840 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
841 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
842 Likewise.
843 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
844 Likewise.
845 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
846 Likewise.
847 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
849 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
850 Likewise.
851 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
852 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
853 * sysdeps/posix/opendir.c (__opendirat): Likewise.
854 * sysdeps/posix/sleep.c: Likewise.
855 * sysdeps/posix/tempname.c: Likewise.
856 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
857 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
858 Likewise.
859 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
860 elf_machine_rela): Likewise.
861 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
863 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
864 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
865 Likewise.
866 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
867 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
868 elf_machine_rela, elf_machine_lazy_rel): Likewise.
869 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
870 elf_machine_rela, elf_machine_lazy_rel): Likewise.
871 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
872 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
873 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
874 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
875 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
877 elf_machine_lazy_rel): Likewise.
878 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
880 elf_machine_lazy_rel): Likewise.
881 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
882 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
883 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
884 * sysdeps/unix/grantpt.c (grantpt): Likewise.
885 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
886 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
887 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
888 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
889 Likewise.
890 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
891 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
892 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
893 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
894 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
895 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
896 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
897 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
898 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
899 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
900 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
901 Likewise.
902 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
903 (__posix_fallocate64_l64): Likewise.
904 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
905 (posix_fallocate): Likewise.
906 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
907 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
908 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
909 getifaddrs_internal): Likewise.
910 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
911 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
912 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
913 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
914 * sysdeps/unix/sysv/linux/posix_fallocate64.c
915 (__posix_fallocate64_l64): Likewise.
916 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
917 Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
919 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
920 Likewise.
921 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
922 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
923 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
926 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
927 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
928 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
929 Likewise.
930 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
931 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
932 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
933 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
934 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
935 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
936 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
937 Likewise.
938 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
939 (posix_fallocate): Likewise.
940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
941 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
942 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
943 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
944 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
945 Likewise.
946 * time/asctime.c (asctime_internal): Likewise.
947 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
948 * time/tzset.c (__tzset_parse_tz): Likewise.
949 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
950 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
951 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
952 * wcsmbs/wcsmbsload.h: Likewise.
953
f3d338c9
OB
9542014-02-10 Ondřej Bílka <neleai@seznam.cz>
955
956 [BZ #15894]
957 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
958
bdfe308a
OB
9592014-02-10 Ondřej Bílka <neleai@seznam.cz>
960
961 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
962 arena_get2): Remove THREAD_STATS conditionals.
963 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
964 __malloc_stats, int): Likewise.
965
d674667c
MF
9662014-02-08 Mike Frysinger <vapier@gentoo.org>
967
968 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
969 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
970
6349768c
MF
9712014-02-08 Mike Frysinger <vapier@gentoo.org>
972
973 * manual/setjmp.texi: Fix typos/grammar errors.
974
0b7c7473
MF
9752014-02-08 Mike Frysinger <vapier@gentoo.org>
976
977 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
978 Only return early when n is <= 0. Delete unused return statement.
979
ac8cc9e3
MF
9802014-02-08 Mike Frysinger <vapier@gentoo.org>
981
982 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
983 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
984 * debug/tst-longjmp_chk3.c: New file.
985
c5bb8e23
MF
9862014-02-08 Mike Frysinger <vapier@gentoo.org>
987
988 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
989 (test_main): Replace code with set_fortify_handler call.
990 * debug/test-strcpy_chk.c: Likewise.
991 * debug/tst-chk1.c: Likewise.
992 * debug/tst-longjmp_chk.c: Likewise.
993 * test-skeleton.c: Include fcntl.h & paths.h
994 (set_fortify_handler): Define.
995
10444e42
MF
9962014-02-08 Mike Frysinger <vapier@gentoo.org>
997
998 * debug/tst-longjmp_chk.c: Add header comment and include
999 ../test-skeleton.c.
1000 (do_test): Mark static.
1001 (TEST_FUNCTION): Define.
1002
1e805e8d
MF
10032014-02-08 Mike Frysinger <vapier@gentoo.org>
1004
1005 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1006 (IP_PMTUDISC_INTERFACE): Likewise.
1007 (IP_MULTICAST_IF): Likewise.
1008 (IP_MULTICAST_TTL): Likewise.
1009 (IP_MULTICAST_LOOP): Likewise.
1010 (IP_ADD_MEMBERSHIP): Likewise.
1011 (IP_DROP_MEMBERSHIP): Likewise.
1012 (IP_UNBLOCK_SOURCE): Likewise.
1013 (IP_BLOCK_SOURCE): Likewise.
1014 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1015 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1016 (IP_MSFILTER): Likewise.
1017 (MCAST_JOIN_GROUP): Likewise.
1018 (MCAST_BLOCK_SOURCE): Likewise.
1019 (MCAST_UNBLOCK_SOURCE): Likewise.
1020 (MCAST_LEAVE_GROUP): Likewise.
1021 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1022 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1023 (MCAST_MSFILTER): Likewise.
1024 (IP_MULTICAST_ALL): Likewise.
1025 (IP_UNICAST_IF): Likewise.
1026
73f79bb7
MF
10272014-02-08 Mike Frysinger <vapier@gentoo.org>
1028
1029 * timezone/Makefile: Delete $(have-ksh) check.
1030 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1031 * timezone/tzselect.ksh: Add +x mode bits.
1032
8da79b60
MF
10332014-02-08 Mike Frysinger <vapier@gentoo.org>
1034
1035 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1036 (ANON_INODE_FS_MAGIC): Likewise.
1037 (BDEVFS_MAGIC): Likewise.
1038 (BINFMTFS_MAGIC): Likewise.
1039 (BTRFS_TEST_MAGIC): Likewise.
1040 (CRAMFS_MAGIC_WEND): Likewise.
1041 (DEBUGFS_MAGIC): Likewise.
1042 (ECRYPTFS_SUPER_MAGIC): Likewise.
1043 (EXT3_SUPER_MAGIC): Likewise.
1044 (EXT4_SUPER_MAGIC): Likewise.
1045 (FUTEXFS_SUPER_MAGIC): Likewise.
1046 (HOSTFS_SUPER_MAGIC): Likewise.
1047 (HUGETLBFS_MAGIC): Likewise.
1048 (MINIX3_SUPER_MAGIC): Likewise.
1049 (MTD_INODE_FS_MAGIC): Likewise.
1050 (NILFS_SUPER_MAGIC): Likewise.
1051 (OPENPROM_SUPER_MAGIC): Likewise.
1052 (PIPEFS_MAGIC): Likewise.
1053 (PSTOREFS_MAGIC): Likewise.
1054 (QNX6_SUPER_MAGIC): Likewise.
1055 (RAMFS_MAGIC): Likewise.
1056 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1057 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1058 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1059 (SECURITYFS_MAGIC): Likewise.
1060 (SELINUX_MAGIC): Likewise.
1061 (SMACK_MAGIC): Likewise.
1062 (SOCKFS_MAGIC): Likewise.
1063 (SQUASHFS_MAGIC): Likewise.
1064 (STACK_END_MAGIC): Likewise.
1065 (TMPFS_MAGIC): Likewise.
1066 (USBDEVICE_SUPER_MAGIC): Likewise.
1067 (V9FS_MAGIC): Likewise.
1068 (XENFS_SUPER_MAGIC): Likewise.
1069 (CRAMFS_MAGIC): Fix typo in comment.
1070 (EXT2_SUPER_MAGIC): Update comment.
1071 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1072
464263cc
JM
10732014-02-08 Joseph Myers <joseph@codesourcery.com>
1074
c6bfe5c4
JM
1075 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1076 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1077 * sysdeps/unix/sysv/linux/arm: Move directory from
1078 ports/sysdeps/unix/sysv/linux/arm.
1079 * README: Update listing for arm-*-linux-gnueabi.
1080
464263cc
JM
1081 * README: Remove mention of am33.
1082
32749f6c
RM
10832014-02-07 Roland McGrath <roland@hack.frob.com>
1084
1085 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1086 than the comma operator, to avoid "rhs of comma has no effect"
1087 compiler warnings.
1088 (__sigfillset, __sigandset, __sigorset): Likewise.
1089 * include/signal.h (__sigemptyset): Likewise.
1090 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1091
d5b396c1
AM
10922014-02-07 Allan McRae <allan@archlinux.org>
1093
1094 * version.h (RELEASE): Set to "development".
1095 (VERSION): Set to "2.19.90"
1096 * NEWS: Add 2.20 section.
1097
3bfff2ed
CD
10982014-02-06 Carlos O'Donell <carlos@redhat.com>
1099
1100 [BZ #16529]
1101 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1102
ee7cc385
SP
11032014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1104
1105 * manual/contrib.texi: Update entry for Carlos O'Donell,
1106 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1107
f877c4f2
CD
11082014-02-05 Carlos O'Donell <carlos@rehdat.com>
1109
27e839f6
CD
1110 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1111
f877c4f2
CD
1112 * sysdeps/unix/sysv/linux/kernel-features.h
1113 [__LINUX_KERNEL_VERSION >= 0x020621]
1114 (__ASSUME_PROC_PID_TASK_COMM): Define.
1115
68159946
SP
11162014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1117
1118 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1119 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1120 Leonard and Allan McRae.
1121
2b528732
DM
11222014-02-04 David S. Miller <davem@davemloft.net>
1123
1124 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1125 32-bit.
1126
0ff82463
AZ
11272014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1128
c01603f7
AZ
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1130 file
1131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1132 New file
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1134 file.
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1136 file.
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1138 New file.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1140 file.
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1142 file.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1144 New file.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1146 New file.
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1148 New file.
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1150 New file.
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1152 New file.
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1154 New file.
1155
11562014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1157
0ff82463
AZ
1158 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1159 * shlib-versions: Likewise.
1160
1695c773
AZ
11612014-02-04 Roland McGrath <roland@hack.frob.com>
1162 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1163
1164 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1165 (abilist-pattern): New variable, set to %-le.abilist.
1166
1167 * Makerules (abilist-pattern): New variable.
1168 (vpath): Use $(abilist-pattern) in place of %.abilist.
1169 (check-abi-% pattern rule): Likewise.
1170 (check-abi, update-abi): Likewise.
1171
6c0ce4b4
EW
11722014-02-04 Eric Wong <normalperson@yhbt.net>
1173
1174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1175
dc98b8f5
EW
11762014-02-04 Eric Wong <normalperson@yhbt.net>
1177
1178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1179
481e3524
CD
11802014-02-03 Carlos O'Donell <carlos@redhat.com>
1181
1182 * manual/startup.texi: Add next, previous, and top entries for
1183 the `Program Arguments' and `Environment Variables' nodes.
1184
375592d3
AO
11852014-02-03 Alexandre Oliva <aoliva@redhat.com>
1186
1187 * manual/macros.texi: Add comments before MTASC-safety macros.
1188
f54838ba
AO
1189 * manual/users.texi: Document MTASC-safety properties.
1190
909e12ad
AO
1191 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1192 pthread_getspecific, pthread_setspecific): Format with
1193 @deftypefun, and add @safety note.
1194 * manual/signal.texi: Move comments that analyze the above
1195 functions to their home place.
1196
fd3daba4
AM
11972014-02-03 Allan McRae <allan@archlinux.org>
1198
1199 * po/sl.po: Update Slovenian translation from translation project.
1200
597636d7
AO
12012014-02-02 Alexandre Oliva <aoliva@redhat.com>
1202
1203 * manual/time.texi (timegm): Add missing blank after @c.
1204 Reported by Joseph Myers <joseph@codesourcery.com>.
1205
ee196e3c
AO
12062014-02-01 Alexandre Oliva <aoliva@redhat.com>
1207
1208 * manual/check-safety.sh: New.
1209 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1210
f8d529d5
AO
1211 * manual/terminal.texi: Document MTASC-safety properties.
1212
de55fdf4
AO
1213 * manual/filesys.texi: Document MTASC-safety properties.
1214
c3299c08
AO
1215 * manual/errno.texi: Document MTASC-safety properties.
1216
06e90b14
AO
1217 * manual/intro.texi: Document safety identifiers and
1218 conditionals.
1219
1acd4371
AO
1220 * manual/string.texi (wcstok): Fix prototype.
1221 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1222
23e5b8cb
AO
1223 * manual/time.texi: Document MTASC-safety properties.
1224
11087373
AO
1225 * manual/string.texi: Document MTASC-safety properties.
1226
5da2c93d
AO
1227 * manual/threads.texi: Document MTASC-safety properties.
1228
171e9210
AO
1229 * manual/stdio.texi: Document MTASC-safety properties.
1230
d9e02532
AO
1231 * manual/syslog.texi: Document MTASC-safety properties.
1232
6af8bab7
AO
1233 * manual/sysinfo.texi: Document MTASC-safety properties.
1234
663b02d7
AO
1235 * manual/startup.texi: Document MTASC-safety properties.
1236
973f180b
AO
1237 * manual/socket.texi: Document MTASC-safety properties.
1238
8f3c25c8
AO
1239 * manual/signal.texi: Document MTASC-safety properties.
1240
542210fb
AO
12412014-01-31 Alexandre Oliva <aoliva@redhat.com>
1242
1243 * manual/setjmp.texi: Document MTASC-safety properties.
1244
433c45a2
AO
1245 * manual/search.texi: Document MTASC-safety properties.
1246
c8ce789c
AO
1247 * manual/resource.texi: Document MTASC-safety properties.
1248
19f5d29c
AO
1249 * manual/process.texi: Document MTASC-safety properties.
1250
e2dfb7f4
AO
1251 * manual/platform.texi: Document MTASC-safety properties.
1252
8c1413f5
AO
1253 * manual/pipe.texi: Document MTASC-safety properties.
1254
03483ada
AO
1255 * manual/pattern.texi: Document MTASC-safety properties.
1256
29e7e2df
AO
1257 * manual/message.texi: Document MTASC-safety properties.
1258
9f529d7c
AO
1259 [BZ #12751]
1260 * manual/memory.texi: Document MTASC-safety properties.
1261
27aaa791
AO
1262 * manual/math.texi: Document MTASC-safety properties.
1263
f2d58726
AO
1264 * manual/locale.texi: Document MTASC-safety properties.
1265
2cc3615c
AO
1266 * manual/llio.texi: Document MTASC-safety properties.
1267
d9f0ec97
AO
1268 * manual/libdl.texi: New.
1269
e7c4409a
AO
1270 * manual/lang.texi: Document MTASC-safety properties.
1271
27bdc63c
AO
1272 * manual/job.texi: Document MTASC-safety properties.
1273
a7b90ea9
AO
1274 * manual/getopt.texi: Document MTASC-safety properties.
1275
c49130e3
AO
1276 * manual/ctype.texi: Document MTASC-safety properties.
1277
0d23a5c1
MR
12782014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1279
1280 [BZ #16046]
1281 * csu/libc-tls.c (static_map): Remove variable.
1282 (__libc_setup_tls): Use main executable's link map for TLS data.
1283 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1284 casing for LM_ID_BASE and GL(dl_nns).
1285 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1286 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1287 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1288 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1289 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1290 member.
1291 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1292 l_phnum members.
1293
0037bb60
AO
12942014-01-30 Alexandre Oliva <aoliva@redhat.com>
1295
1296 * manual/debug.texi: Document MTASC-safety properties.
1297
409e00bd
L
12982014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 [BZ #16510]
1301 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1302 of __x86_64__ when disabling x87 inline functions.
1303
86e60666
AO
13042014-01-29 Alexandre Oliva <aoliva@redhat.com>
1305
1306 * manual/charset.texi: Document MTASC-safety properties.
1307
76167637
AO
1308 * manual/crypt.texi: Document MTASC-safety properties.
1309
e567f2a0
AO
1310 * manual/conf.texi: Document MTASC-safety properties.
1311
b719dafd
AO
1312 * manual/arith.texi: Document MTASC-safety properties.
1313
4a16c662
AO
1314 * manual/argp.texi: Document MTASC-safety properties.
1315
0a57b83e
AO
1316 * manual/macros.texi: Introduce macros to document multi
1317 thread, asynchronous signal and asynchronous cancellation
1318 safety properties.
1319 * manual/intro.texi: Introduce the properties themselves.
1320
feab2397
KK
13212014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1322
1323 * sysdeps/sh/sh4/Makefile: New file.
1324
1c0d11bc
AS
13252014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1326
1327 * math/gen-libm-test.pl ($srcdir): New variable.
1328 ($auto_input): Use it.
1329
af37a8a3
SP
13302014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1331
d7b00f98
SP
1332 [BZ #16506]
1333 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1334 access beyond array bounds when parsing netgroups file.
1335
af37a8a3
SP
1336 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1337 the old buffer before realloc.
1338
0c00f062
AM
13392014-01-27 Allan McRae <allan@archlinux.org>
1340
1341 * po/fr.po: Update French translation from translation project.
1342
7d69a1b0
KK
13432014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1344
1345 * sysdeps/sh/libm-test-ulps: Regenerate.
1346
6e697ff7
DM
13472014-01-24 David S. Miller <davem@davemloft.net>
1348
1349 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1350
9cadb35c
KK
13512014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1352
1353 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
1354 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
1355
5d41dadf
SP
13562013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1357
1358 [BZ #16474]
1359 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
1360 string pointers after reallocation.
1361
0bad441c
KK
13622014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1363
1364 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
1365 __SH4A__ instead of __SH_FPU_ANY__.
1366
7007c661
KK
13672014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1368
1369 * sysdeps/sh/fpu_control.h: New file.
1370 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
1371 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
1372 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
1373 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
1374 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
1375 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
1376 * sysdeps/sh/sys/ucontext.h: Remove.
1377 * sysdeps/sh/sys: Remove directory.
1378
0f0c35e4
AK
13792014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1380
1381 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
1382 s390/sys/ucontext.h.
1383 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
1384 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
1385
4959e284
L
13862014-01-20 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 [BZ #15605]
1389 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
1390
d98720e0
AZ
13912014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392
1393 [BZ#16431]
1394 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1395 Adjust the vDSO correctly for internal calls.
1396 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1397
91cbd0bc
AM
13982014-01-20 Allan McRae <allan@archlinux.org>
1399
1400 * po/ca.po: Update Catalan translation from translation project.
1401
7a02cfad
MF
14022014-01-16 Mike Frysinger <vapier@gentoo.org>
1403
1404 * sysdeps/s390/sotruss-lib.c: New file.
1405
736c304a
AZ
14062014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407
1408 [BZ#16430]
6e077ee5 1409 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
1410 (__GI___gettimeofday): Alias for a different internal symbol to avoid
1411 local calls issues by not having a PLT stub required for IFUNC calls.
1412 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
1413
94d0cea0
JM
14142014-01-16 Joseph Myers <joseph@codesourcery.com>
1415
1416 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
1417 * math/test-fpucw-static.c: Likewise.
1418
980cb518
SP
14192013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1420
1421 [BZ #16453]
1422 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
1423
2393fc01
AZ
14242014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1425
1426 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
1427 implementation for powerpc.
1428
d359bcc2
OB
14292014-01-15 Ondřej Bílka <neleai@seznam.cz>
1430
1431 [BZ #14782]
1432 * sysdeps/posix/system.c (__libc_system): Do not enable
1433 asynchronous cancellation.
1434
7beb48cb
AK
14352014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1436
1437 [BZ #16427]
1438 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
1439 handling only for numbers special also in the IEEE case.
1440
c20d5bf5
AK
14412014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1442
1443 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1444
e83bd4ee
AM
14452014-01-11 Allan McRae <allan@archlinux.org>
1446
76d0ea69
AM
1447 * po/bg.po: Update Bulgarian translation from translation project.
1448
e83bd4ee
AM
1449 * po/de.po: Update German translation from translation project.
1450
bc2ba20a
RM
14512014-01-10 Roland McGrath <roland@hack.frob.com>
1452
1453 * sysdeps/generic/gcc-compat.h: New file.
1454
649ecea2
SP
14552014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1456
1457 * benchtests/asin-inputs: Correct slow inputs.
1458 * benchtests/acos-inputs: Likewise.
1459
1b19c006
AM
14602014-01-10 Allan McRae <allan@archlinux.org>
1461
a46dab08
AM
1462 * po:sv.po: Update Swedish translation from translation project.
1463
421df74a
AM
1464 * po/vi.po: Update Vietnamese translation from translation project.
1465
d61c51a7
AM
1466 * po/eo.po: Update Esperanto translation from translation project.
1467
0339a319
AM
1468 * po/cs.po: Update Czech translation from translation project.
1469
94ad3e99
AM
1470 * po/nl.po: Update Dutch translation from translation project.
1471
e349ca71
AM
1472 * po/pl.po: Update Polish translation from translation project.
1473
ddf930c1
AM
1474 * po/ru.po: Update Russian translation from translation project.
1475
1b19c006
AM
1476 * po/uk.po: Update Ukrainian translation from translation project.
1477
9f236c49
BM
14782014-01-08 Brooks Moses <bmoses@google.com>
1479
1480 * elf/dl-load.c: Fix comment typo.
1481
cd6701cf
CD
14822014-01-08 Carlos O'Donell <carlos@redhat.com>
1483
1484 * po/header.pot: Rename to...
1485 * po/pot.header: ... this.
1486 * po/Makefile: Use pot.header.
1487
66671c84
YK
14882014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
1489 Maxim Kuvyrkov <maxim@kugelworks.com>
1490
1491 [BZ #16394]
cd6701cf
CD
1492 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
1493 SRC and DEST against LEN.
66671c84 1494
38f34581
AZ
14952014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1496
1497 [BZ #16414]
1498 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
1499 implementation.
1500 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
1501
15022014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
1503
1504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1505
4c327f2a
JM
15062014-01-08 Joseph Myers <joseph@codesourcery.com>
1507
1508 [BZ #16408]
1509 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
1510 for large positive arguments.
1511
b821f414
JM
15122014-01-07 Joseph Myers <joseph@codesourcery.com>
1513
1f0f2067
JM
1514 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1515
a5a326f6
JM
1516 * math/auto-libm-test-in: Mark various tests with
1517 xfail-rounding:ldbl-128ibm.
1518 * math/auto-libm-test-out: Regenerated.
1519
b821f414
JM
1520 [BZ #16407]
1521 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1522 Increase overflow threshold.
1523
94c8a4bc
OB
15242014-01-07 Ondřej Bílka <neleai@seznam.cz>
1525
1526 [BZ #14286]
1527 * stdio-common/vfprintf.c: Check for integer overflow.
1528
87ded0c3
AK
15292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1530
1531 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
1532 the first argument and return value of __tls_get_addr_internal.
1533
c5eebdd0
AK
15342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1535
1536 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
1537 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
1538
05d138ef
AK
15392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1540
1541 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
1542 * sysdeps/s390/rtld-global-offsets.sym: New file.
1543 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
1544 GLIBC_2.19 symbol.
1545 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
1546 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
1547 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1548 ... this.
1549 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
1550 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1551 ... this.
1552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1553 Regenerate.
1554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1555 Regenerate.
1556 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
1557 halfs of GPRs for high_gprs contexts.
1558 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
1559 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
1560 field.
1561 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
1562 uc_flags field.
1563 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
1564 64 bit versions:
1565 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
1566 for high GPRs (uc_high_gprs) and for future extensions
1567 (__reserved).
1568 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
1569 for future extensions (__reserved).
1570 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
1571 64 bit versions:
1572 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
1573 SC_HIGHGPRS offset definition.
1574 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
1575 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
1576
93a45ff1
AK
15772014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1578
1579 * Versions.def: Add GLIBC_2.19 for libpthread.
1580 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
1581 siglongjmp for libpthread with GLIBC_2.19 symver.
1582 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
1583 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
1584 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
1585 * sysdeps/s390/__longjmp.c: New file.
1586 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
1587 * sysdeps/s390/longjmp.c: New file.
1588 * sysdeps/s390/setjmp.S: New file.
1589 * sysdeps/s390/sigjmp.S: New file.
1590 * sysdeps/s390/v1-longjmp.c: New file.
1591 * sysdeps/s390/v1-setjmp.h: New file.
1592 * sysdeps/s390/v1-sigjmp.c: New file.
1593 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
1594 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
1595 GLIBC_2.19 version.
1596 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
1597 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
1598 versioned symbols for ____longjmp_chk.
1599 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1600 Likewise.
1601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1602 Regenerate.
1603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1604 Regenerate.
1605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1606 Regenerate.
1607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1608 Regenerate.
1609 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
1610 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
1611 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
1612 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
1613 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
1614 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
1615 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
1616 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
1617 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
1618 * sysdeps/s390/rtld-__longjmp.c: New file.
1619 * sysdeps/s390/rtld-setjmp.S: New file.
1620
eb3fc44b
JM
16212014-01-06 Joseph Myers <joseph@codesourcery.com>
1622
1623 [BZ #16400]
1624 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1625 Return -__logl (x) for small positive arguments without evaluating
1626 a polynomial.
1627
9341dde4
MF
16282014-01-06 Mike Frysinger <vapier@gentoo.org>
1629
1630 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
1631 Rename to ...
1632 (__ptrace_peeksiginfo_args): ... this.
1633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1634 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1636
4cff0293
AM
16372014-01-06 Allan McRae <allan@archlinux.org>
1638
1639 * inet/netinet/in.h: Fix typo in comment.
1640
75595dcf
AJ
16412014-01-05 Andreas Jaeger <aj@suse.de>
1642
1643 * sysdeps/i386/fpu/libm-test-ulps: Update.
1644
79c1e109
AM
16452014-01-05 Allan McRae <allan@archlinux.org>
1646
dd804818
AM
1647 * po/libc.pot: Regenerated.
1648
79c1e109
AM
1649 * malloc/memusagestat.c: Fix gettext call formatting.
1650
0c813d1f
SK
16512014-01-04 Sami Kerola <kerolasa@iki.fi>
1652
1653 * nscd/nscd.c: Improve usage() output.
1654
20f4a8d9
MF
16552014-01-04 Mike Frysinger <vapier@gentoo.org>
1656
1657 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
1658 * sysdeps/unix/sysv/linux/configure: Regenerated.
1659 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
1660 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
1661
22562bb2
JM
16622014-01-03 Joseph Myers <joseph@codesourcery.com>
1663
1664 [BZ #16390]
1665 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1666 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
1667
d7ad2d9b
AZ
16682014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1669
1670 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1671 extra tokens at end of #undef directive.
1672 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1673 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1674 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1675
7dd009d8
JM
16762014-01-03 Joseph Myers <joseph@codesourcery.com>
1677
24db925a
JM
1678 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1679
7dd009d8
JM
1680 * math/auto-libm-test-in: Mark various tests with
1681 xfail-rounding:ldbl-128ibm.
1682 * math/auto-libm-test-out: Regenerated.
1683
396e3ecf
JM
16842014-01-02 Joseph Myers <joseph@codesourcery.com>
1685
819e5d50
JM
1686 [BZ #16386]
1687 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1688 numbers with subnormal high part when calculating exponent.
1689
90b6a1e5
JM
1690 [BZ #16385]
1691 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1692 fabs.
1693
396e3ecf
JM
1694 [BZ #16384]
1695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1696 M_LN2l.
1697 (__ieee754_acoshl): Use __log1pl not __log1p.
1698
6c8dbf00
OB
16992013-01-02 Ondřej Bílka <neleai@seznam.cz>
1700
1701 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1702 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1703 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1704 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1705 Convert to GNU style.
1706 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1707 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1708 memalign_check, __malloc_set_state): Likewise.
1709 * malloc/mallocbug.c (main): Likewise.
1710 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1711 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1712 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1713 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1714 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1715 * malloc/malloc.h: Likewise.
1716 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1717 memalignhook, reallochook, mabort): Likewise.
1718 * malloc/mcheck.h: Likewise.
1719 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1720 mmap64, mremap, munmap, dest): Likewise.
1721 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1722 * malloc/morecore.c (__default_morecore): Likewise.
1723 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1724 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1725 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1726 print_and_abort): Likewise.
1727 * malloc/obstack.h: Likewise.
1728 * malloc/set-freeres.c (__libc_freeres): Likewise.
1729 * malloc/tst-mallocstate.c (main): Likewise.
1730 * malloc/tst-mtrace.c (main): Likewise.
1731 * malloc/tst-realloc.c (do_test): Likewise.
1732
d4124212
SP
17332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1734
9a3c6a6f
SP
1735 [BZ #16366]
1736 * nscd/netgroupcache.c (do_notfound): New function.
1737 (addgetnetgrentX): Use it.
1738
d4124212
SP
1739 [BZ # 16365]
1740 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1741 NSS_STATUS_NOTFOUND.
1742
97b9a009
JM
17432014-01-01 Joseph Myers <joseph@codesourcery.com>
1744
1745 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1747
d4697bc9
AM
17482014-01-01 Allan McRae <allan@archlinux.org>
1749
ddb3687f
AM
1750 * scripts/update-copyrights: Update configure input file suffix.
1751
88726d48
AM
1752 * NEWS: Update copyright year.
1753 * catgets/gencat.c: Likewise.
1754 * csu/version.c: Likewise.
1755 * debug/catchsegv.sh: Likewise.
1756 * debug/pcprofiledump.c: Likewise.
1757 * debug/xtrace.sh: Likewise.
1758 * elf/ldconfig.c: Likewise.
1759 * elf/ldd.bash.in: Likewise.
1760 * elf/pldd.c: Likewise.
1761 * elf/sotruss.ksh: Likewise.
1762 * elf/sprof.c: Likewise.
1763 * iconv/iconv_prog.c: Likewise.
1764 * iconv/iconvconfig.c: Likewise.
1765 * locale/programs/locale.c: Likewise.
1766 * locale/programs/localedef.c: Likewise.
1767 * login/programs/pt_chown.c: Likewise.
1768 * malloc/memusage.sh: Likewise.
1769 * malloc/memusagestat.c: Likewise.
1770 * malloc/mtrace.pl: Likewise.
1771 * manual/libc.texinfo: Likewise.
1772 * nscd/nscd.c: Likewise.
1773 * nss/getent.c: Likewise.
1774 * nss/makedb.c: Likewise.
1775 * posix/getconf.c: Likewise.
1776 * scripts/test-installation.pl: Likewise.
1777
d4697bc9
AM
1778 * All files with FSF copyright notices: Update copyright dates
1779 using scripts/update-copyrights.
1780 * intl/plural.c: Regenerated.
1781 * locale/programs/charmap-kw.h: Likewise.
1782 * locale/programs/locfile-kw.h: Likewise.
1783
c8590f9d
MF
17842013-12-31 Mike Frysinger <vapier@gentoo.org>
1785
1786 * sysdeps/unix/sysv/linux/configure: Regenerated.
1787 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1788 the linux/fanotify.h header.
1789 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1790 HAVE_LINUX_FANOTIFY_H is defined.
1791
b19221b9
SP
17922013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1793
dd1d85e5
SP
1794 * benchtests/cos-inputs: New inputs.
1795 * benchtests/sin-inputs: Likewise.
1796
1acbb90f
SP
1797 * benchtests/atan-inputs: New inputs. Fix name of multiple
1798 precision fallback inputs.
1799
4c012ed3
SP
1800 * benchtests/atanh-inputs: New inputs.
1801 * benchtests/tanh-inputs: Likewise.
1802
eff98324
SP
1803 * benchtests/acosh-inputs: New inputs.
1804 * benchtests/asinh-inputs: Likewise.
1805
ce641152
SP
1806 * benchtests/cosh-inputs: New inputs.
1807 * benchtests/sinh-inputs: Likewise.
1808
b19221b9
SP
1809 * benchtests/acos-inputs: Add more inputs.
1810 * benchtests/asin-inputs: Likewise.
1811
030a4976 18122013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 1813
030a4976 1814 [BZ #16375]
9dcc8f11
VS
1815 * manual/arith.texi: Fix spelling.
1816 * manual/charset.texi: Likewise.
1817 * manual/errno.texi: Likewise.
1818 * manual/filesys.texi: Likewise.
1819 * manual/lang.texi: Likewise.
1820 * manual/llio.texi: Likewise.
1821 * manual/locale.texi: Likewise.
1822 * manual/message.texi: Likewise.
1823 * manual/resource.texi: Likewise.
1824 * manual/search.texi: Likewise.
1825 * manual/setjmp.texi: Likewise.
1826 * manual/stdio.texi: Likewise.
1827 * manual/string.texi: Likewise.
1828 * manual/sysinfo.texi: Likewise.
1829 * manual/time.texi: Likewise.
1830
11520a57
CD
18312013-12-27 Carlos O'Donell <carlos@redhat.com>
1832
1833 * po/sl.po: New file.
1834
471103ae
MF
18352013-12-27 Mike Frysinger <vapier@gentoo.org>
1836
1837 * .gitignore: Add core/.gdbinit/.gdb_history.
1838
6c9642ed
AM
18392013-12-27 Allan McRae <allan@archlinux.org>
1840
1841 [BZ #16369]
1842 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1843 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1844
3f637079
BM
18452013-12-24 Brooks Moses <bmoses@google.com>
1846
1847 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1848 all compilers that claim C++98 compliance, not just GCC.
1849 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1850 Likewise.
1851
abc26e99
MK
18522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1853
1854 * NEWS: Restore accidentally deleted bug-fix entries.
1855
362b47fe
MK
18562013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1857 Ondřej Bílka <neleai@seznam.cz>
1858
1859 [BZ #15073]
1860 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 1861 have_lock.
362b47fe 1862
b9bcbbcb
OB
18632013-12-23 Ondřej Bílka <neleai@seznam.cz>
1864
1865 [BZ #12986]
1866 * manual/stdio.texi (String Input Conversions): Clarify that character
1867 classes are not supported.
1868
fb55fcd2
AZ
18692013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1870
1871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1872
ef7344f0
JM
18732013-12-22 Joseph Myers <joseph@codesourcery.com>
1874
4f40e4b3
JM
1875 [BZ #16337]
1876 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1877 Calculate results for small negative arguments directly rather
1878 than using reflection formula with special underflow handling.
1879
ef7344f0
JM
1880 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1881 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1882 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1883 (fchflags): Likewise.
1884 (revoke): Likewise.
1885 (setlogin): Likewise.
1886 (sigaltstack): Likewise.
1887 (wait4): Likewise.
1888 (sigblock): Remove.
1889 (sigsetmask): Likewise.
1890 (wait3): Likewise.
1891 (waitpid): Likewise.
1892 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1893 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1894 file.
1895 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1896 * sysdeps/unix/bsd/Makefile: ... here.
1897 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1898 * sysdeps/unix/bsd/Versions: ... here.
1899 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1900 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1901 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1902 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1903 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1904 * sysdeps/unix/bsd/sigblock.c: ... here.
1905 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1906 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1907 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1908 * sysdeps/unix/bsd/sigvec.c: ... here.
1909 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1910 * sysdeps/unix/bsd/tcdrain.c: ... here.
1911 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1912 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1913 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1914 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1915 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1916 * sysdeps/unix/bsd/wait.c: ... here.
1917 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1918 * sysdeps/unix/bsd/wait3.c: ... here.
1919 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1920 * sysdeps/unix/bsd/waitpid.c: ... here.
1921
5b0626b9
JM
19222013-12-21 Joseph Myers <joseph@codesourcery.com>
1923
1924 [BZ #16356]
1925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1926 round-to-nearest for [!USE_AS_EXPM1L].
1927 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1928 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1929 more tests of exp and exp10. Expect some exp10 tests to miss
1930 exceptions or fail in directed rounding modes.
1931 * math/auto-libm-test-out: Regenerated.
1932 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1933 (exp10_test_tonearest): New function.
1934 (exp10_towardzero_test_data): New array.
1935 (exp10_test_towardzero): New function.
1936 (exp10_downward_test_data): New array.
1937 (exp10_test_downward): New function.
1938 (exp10_upward_test_data): New array.
1939 (exp10_test_upward): New function.
1940 (main): Call the new functions.
1941 * sysdeps/i386/fpu/libm-test-ulps: Update.
1942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1943
7fda5682
JM
19442013-12-20 Joseph Myers <joseph@codesourcery.com>
1945
31e3a405
JM
1946 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1947 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1948 * math/auto-libm-test-out: Regenerated.
1949 * math/libm-test.inc (acosh_test_data): Add more tests.
1950 (atanh_test_data): Likewise.
1951 (ceil_test_data): Likewise.
1952 (copysign_test_data): Likewise.
1953 * sysdeps/i386/fpu/libm-test-ulps: Update.
1954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1955
85bff96a
JM
1956 * timezone/checktab.awk: Update from tzcode 2013i.
1957 * timezone/private.h: Likewise.
1958 * timezone/scheck.c: Likewise.
1959 * timezone/tzfile.h: Likewise.
1960 * timezone/tzselect.ksh: Likewise.
1961 * timezone/zdump.c: Likewise.
1962 * timezone/zic.c: Likewise.
1963
b7867a3b
JM
1964 * math/auto-libm-test-in: Add tests of cpow.
1965 * math/auto-libm-test-out: Regenerated.
1966 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1967 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1968 mpc_cc_c.
1969 (func_calc_desc): Add mpc_cc_c union field.
1970 (test_functions): Add cpow.
1971 (special_fill_2pi): New function.
1972 (special_real_inputs): Add 2pi.
1973 (calc_generic_results): Handle mpc_cc_c.
1974 * sysdeps/i386/fpu/libm-test-ulps: Update.
1975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1976
7fda5682
JM
1977 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1978 csqrt, ctan and ctanh.
1979 * math/auto-libm-test-out: Regenerated.
1980 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1981 (TEST_COND_x86): Likewise.
1982 (ccos_test_data): Use AUTO_TESTS_c_c.
1983 (ccosh_test_data): Likewise.
1984 (cexp_test_data): Likewise.
1985 (clog_test_data): Likewise.
1986 (csqrt_test_data): Likewise.
1987 (ctan_test_data): Likewise.
1988 (ctan_tonearest_test_data): Likewise.
1989 (ctan_towardzero_test_data): Likewise.
1990 (ctan_downward_test_data): Likewise.
1991 (ctan_upward_test_data): Likewise.
1992 (ctanh_test_data): Likewise.
1993 (ctanh_tonearest_test_data): Likewise.
1994 (ctanh_towardzero_test_data): Likewise.
1995 (ctanh_downward_test_data): Likewise.
1996 (ctanh_upward_test_data): Likewise.
1997 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1998 mpc_c_c.
1999 (func_calc_desc): Add mpc_c_c union field.
2000 (FUNC_mpc_c_c): New macro.
2001 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2002 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2003 ctanh.
2004 (special_fill_min_subnorm_p120): New function.
2005 (special_real_inputs): Add min_subnorm_p120.
2006 (calc_generic_results): Handle mpc_c_c.
2007 * sysdeps/i386/fpu/libm-test-ulps: Update.
2008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2009
5ff8d60e
SP
20102013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
392dd2de
SP
2012 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2013 do_sin_slow): New functions.
2014 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2015 cslow2, csloww1, csloww2): Use the new functions.
2016
84ba214c
SP
2017 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2018 Use M to change sign of result instead of X. Assume X is
2019 positive.
2020 (csloww1): Likewise.
2021 (__sin): Adjust.
2022 (__cos): Adjust.
2023
975195e4
SP
2024 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2025 arguments A and DA.
2026 (__sin): Adjust.
2027 (__cos): Likewise.
2028
5ff8d60e
SP
2029 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2030 (__cos): Likewise.
2031 (sloww1): Don't adjust sign of DX.
2032 (csloww1): Likewise.
2033 (sloww2): Use X directly and don't adjust sign of DX.
2034 (csloww2): Likewise.
2035
eb983568
JM
20362013-12-19 Joseph Myers <joseph@codesourcery.com>
2037
64a17f1a
JM
2038 * math/auto-libm-test-in: Add tests of cabs and carg.
2039 * math/auto-libm-test-out: Regenerated.
2040 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2041 (carg_test_data): Likewise.
2042 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2043 mpc_c_f.
2044 (func_calc_desc): Add mpc_c_f union field.
2045 (test_functions): Add cabs and carg.
2046 (calc_generic_results): Handle mpc_c_f.
2047
eb983568
JM
2048 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2049 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2050 as a macro and a compat symbol.
2051 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2052 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2053 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2054 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2055 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2056 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2057 not use .hidden.
2058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2059 Likewise.
2060 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2061 Likewise.
2062 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2063 Likewise.
2064 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2065 Likewise.
2066 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2067 Likewise.
2068 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2069 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2070 from GLIBC_2.3.2.
2071
6eeb678a
AZ
20722013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2075
6f6fc482
JM
20762013-12-19 Joseph Myers <joseph@codesourcery.com>
2077
21fea2e2
JM
2078 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2079 trailing whitespace removed.
2080 * scripts/config.guess: Update to version 2013-11-29.
2081 * scripts/config.sub: Update to version 2013-10-01.
2082
6f6fc482
JM
2083 * math/auto-libm-test-in: Add tests of sincos.
2084 * math/auto-libm-test-out: Regenerated.
2085 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2086 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2087 mpfr_f_11.
2088 (func_calc_desc): Add mpfr_f_11 union field.
2089 (test_functions): Add sincos.
2090 (calc_generic_results): Handle mpfr_f_11.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2093
83f5c32d
AS
20942013-12-19 Andreas Schwab <schwab@suse.de>
2095
2096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2097 CALL_MCOUNT.
2098 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2099 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2100 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2101
c688b419
JM
21022013-12-19 Joseph Myers <joseph@codesourcery.com>
2103
335ee092
JM
2104 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2105 * sysdeps/i386/fpu/libm-test-ulps: Update.
2106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2107
f88acd39
JM
2108 [BZ #16293]
2109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2110 round-to-nearest mode when using frndint.
2111 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2112 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2113 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2114 Likewise.
2115 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2116 sinh test to fail.
2117 * math/auto-libm-test-out: Regenerated.
2118 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2119 (TEST_COND_x86): Likewise.
2120 (expm1_tonearest_test_data): New array.
2121 (expm1_test_tonearest): New function.
2122 (expm1_towardzero_test_data): New array.
2123 (expm1_test_towardzero): New function.
2124 (expm1_downward_test_data): New array.
2125 (expm1_test_downward): New function.
2126 (expm1_upward_test_data): New array.
2127 (expm1_test_upward): New function.
2128 (main): Run the new test functions.
2129 * sysdeps/i386/fpu/libm-test-ulps: Update.
2130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2131
c688b419
JM
2132 * include/features.h: Update comment documenting feature test
2133 macros. Mention _DEFAULT_SOURCE in comment.
2134 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2135 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2136 _BSD_SOURCE and _SVID_SOURCE.
2137 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2138 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2139 !_SVID_SOURCE]: Likewise.
2140 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2141 (__USE_POSIX_IMPLICITLY): Define.
2142 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2143 (_POSIX_SOURCE): Undefine and redefine.
2144 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2145 (_POSIX_C_SOURCE): Likewise.
2146 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2147 (Feature Test Macros): Update documentation of default features.
2148
9f6e964c
RS
21492013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2150
2151 * benchtests/Makefile: Add bench-strtok.
2152 * benchtests/bench-strtok.c: New file: strtok benchtest.
2153
ee0a148a
AM
21542013-12-19 Allan McRae <allan@archlinux.org>
2155
2156 * manual/install.texi: Suppress menu for plain text output.
2157 * INSTALL: Regenerated.
2158
b9ab448f
BM
21592013-12-18 Brooks Moses <bmoses@google.com>
2160
2161 [BZ #15846]
2162 * misc/getauxval.c: Include errno.h.
2163 (__getauxval): Set errno to ENOENT if the requested type is not
2164 found.
2165 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2166 don't declare with __attribute_const__.
2167 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2168 * manual/startup.texi: Document that getauxval sets errno.
2169
23776487
JM
21702013-12-18 Joseph Myers <joseph@codesourcery.com>
2171
f889953b
JM
2172 * math/auto-libm-test-in: Add tests of jn and yn.
2173 * math/auto-libm-test-out: Regenerated.
2174 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2175 (yn_test_data): Likewise.
2176 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2177 mpfr_if_f.
2178 (func_calc_desc): Add mpfr_if_f union field.
2179 (FUNC_mpfr_if_f): New macro.
2180 (test_functions): Add jn and yn.
2181 (calc_generic_results): Assert type of second input for
2182 mpfr_ff_f. Handle mpfr_if_f.
2183 (output_for_one_input_case): Disable all checking for arguments
2184 fitting floating-point types in case of an integer argument.
2185 * sysdeps/i386/fpu/libm-test-ulps: Update.
2186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2187
23776487
JM
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2189 Don't expect fegetround reference in libm.so.
2190
cb756c6d
MS
21912013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2192
2193 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2194 $(config-cflags-nofma).
2195
2dec468f
JM
21962013-12-18 Joseph Myers <joseph@codesourcery.com>
2197
5953eb3a
JM
2198 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2199 * math/auto-libm-test-out: Regenerated.
2200
2dec468f
JM
2201 [BZ #16338]
2202 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2203 to determine exponent and adjust argument to have exponent of -1.
2204 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2205 log2.
2206 * math/auto-libm-test-out: Regenerated.
2207 * sysdeps/i386/fpu/libm-test-ulps: Update.
2208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2209
4d84e6ad
OB
22102013-12-18 Ondřej Bílka <neleai@seznam.cz>
2211
2212 * manual/probes.texi: Remove cases when per-thread arenas are
2213 disabled.
2214
1818483b
AS
22152013-12-18 Andreas Schwab <schwab@suse.de>
2216
2217 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2218 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2219 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2220 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2221 * sysdeps/i386/i686/multiarch/Makefile: Update.
2222 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2223
25de95bf
JM
22242013-12-17 Joseph Myers <joseph@codesourcery.com>
2225
2226 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2227 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2228
674762d9
PE
22292013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2230
ed27ed83 2231 [BZ #15968]
0748546f
PE
2232 Support TZ transition times < 00:00:00.
2233 This is needed for version-3 tz-format files; it supports time
2234 stamps past 2037 for America/Godthab (the only entry in the tz
2235 database for which this change is relevant).
2236 * manual/time.texi (TZ Variable): Document transition times
2237 from -167:59:59 through -00:00:01.
2238 * time/tzset.c (tz_rule): Time of day is now signed.
2239 (__tzset_parse_tz): Parse negative time of day.
2240
4480e934
PE
2241 Document TZ transition times >= 25:00:00.
2242 * manual/time.texi (TZ Variable): Document transition times from
2243 25:00:00 through 167:59:59. These are already supported, and this
2244 support will help with version-3 tz-format files.
2245
69947401
PE
2246 * manual/time.texi (TZ Variable): Modernize North America example
2247 to reflect current (i.e., 2007-and-later) daylight saving rules.
2248
674762d9
PE
2249 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2250
7011c262
JM
22512013-12-17 Joseph Myers <joseph@codesourcery.com>
2252
2fc6557e
JM
2253 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2254 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2257 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2258 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2259 * sysdeps/unix/bsd/clock.c: Likewise.
2260 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2261 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2262 * sysdeps/unix/bsd/init-posix.c: Likewise.
2263 * sysdeps/unix/bsd/poll.c: Likewise.
2264 * sysdeps/unix/bsd/ptsname.c: Likewise.
2265 * sysdeps/unix/bsd/seekdir.c: Likewise.
2266 * sysdeps/unix/bsd/setegid.c: Likewise.
2267 * sysdeps/unix/bsd/seteuid.c: Likewise.
2268 * sysdeps/unix/bsd/setgid.c: Likewise.
2269 * sysdeps/unix/bsd/setrgid.c: Likewise.
2270 * sysdeps/unix/bsd/setruid.c: Likewise.
2271 * sysdeps/unix/bsd/setsid.c: Likewise.
2272 * sysdeps/unix/bsd/setuid.c: Likewise.
2273 * sysdeps/unix/bsd/sigaction.c: Likewise.
2274 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2275 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2276 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2277 * sysdeps/unix/bsd/telldir.c: Likewise.
2278 * sysdeps/unix/bsd/times.c: Likewise.
2279 * sysdeps/unix/bsd/usleep.c: Likewise.
2280
029c7b25
JM
2281 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2282 ($(objpfx)libbsd-compat.a): Remove rule.
2283
7011c262
JM
2284 * include/features.h (__FAVOR_BSD): Do not define.
2285 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2286 features conflicting with POSIX.
2287 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2288 (_BSD_SOURCE): Remove description of not being a subset of other
2289 feature test macros.
2290 * manual/job.texi (getpgrp): Do not document BSD version.
2291 (getpgid): Do not document by reference to BSD getpgrp.
2292 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2293 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2294 * signal/signal.h [__FAVOR_BSD]: Likewise.
2295 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2296 instead of making contents conditional on [__FAVOR_BSD].
2297 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2298
affb6f78
AZ
22992013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2300
2301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2302
c88769dd
JM
23032013-12-17 Joseph Myers <joseph@codesourcery.com>
2304
6432a540
JM
2305 [BZ #16314]
2306 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2307 values below 2**-450, not 2**-500.
2308 * math/auto-libm-test-in: Don't allow spurious underflow from
2309 hypot.
2310 * math/auto-libm-test-out: Regenerated.
2311
c88769dd
JM
2312 [BZ #16316]
2313 [BZ #16330]
2314 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2315 values of ha and hb and sort them after adjusting subnormal
2316 arguments.
2317 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2318 Likewise.
2319 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2320 values of ea and eb and sort them after adjusting subnormal
2321 arguments.
2322 * math/auto-libm-test-in: Do not expect some hypot tests of
2323 subnormals to fail. Add more hypot tests.
2324 * math/auto-libm-test-out: Regenerated.
2325
29618f6b
KK
23262013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2327
2328 [BZ #13304]
2329 * sysdeps/sh/s_fma.c: New file.
2330 * sysdeps/sh/s_fmaf.c: New file.
2331 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2332 version.
2333 * sysdeps/sh/Implies: Add sh/soft-fp.
2334
eacfdfbf
RM
23352013-12-16 Roland McGrath <roland@hack.frob.com>
2336
2337 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2338 level of indirection to members `objname', `errstring', `malloced'.
2339 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2340 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2341 it as the __longjmp argument (just pass 1 instead).
2342 (_dl_catch_error): Initialize C with argument pointers and address of
2343 volatile local ERRCODE rather than copying values out of C at return.
2344
ff362e5b
JM
23452013-12-16 Joseph Myers <joseph@codesourcery.com>
2346
2347 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2348 * math/auto-libm-test-out: Regenerated.
2349 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2350 (hypot_test_data): Likewise.
2351 (pow_test_data): Likewise.
2352 (pow_tonearest_test_data): Likewise.
2353 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2354 mpfr_ff_f.
2355 (func_calc_desc): Add mpfr_ff_f union field.
2356 (FUNC_mpfr_ff_f): New macro.
2357 (test_functions): Add atan2, hypot and pow.
2358 (special_fill_min): New function.
2359 (special_fill_minus_min): Likewise.
2360 (special_fill_min_subnorm): Likewise.
2361 (special_fill_minus_min_subnorm): Likewise.
2362 (special_real_inputs): Add min, -min, min_subnorm and
2363 -min_subnorm.
2364 (calc_generic_results): Handle mpfr_ff_f.
2365 * sysdeps/i386/fpu/libm-test-ulps: Update.
2366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2367
5764c27f
WN
23682013-12-16 Will Newton <will.newton@linaro.org>
2369
2370 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
2371 (Aligned Memory Blocks): Add documentation for aligned_alloc
2372 and suggest it as an alternative to posix_memalign.
2373 (Hooks for Malloc): Document __memalign_hook is also called
2374 for aligned_alloc. (Summary of Malloc): Add summary for
2375 aligned alloc. Document __memalign_hook is also called
2376 for aligned_alloc.
2377
0a096e44
WN
23782013-12-16 Will Newton <will.newton@linaro.org>
2379
2380 * manual/memory.texi (Malloc Examples): Clarify default
2381 alignment documentation. Suggest posix_memalign rather
2382 than memalign or valloc.
2383 (Aligned Memory Blocks): Remove suggestion to use memalign
2384 or valloc. Remove obsolete comment about BSD.
2385 Document memalign errno values and mark the function obsolete.
2386 Document posix_memalign returned error codes. Mark valloc
2387 as obsolete. (Hooks for Malloc): __memalign_hook is also
2388 called for posix_memalign and valloc.
2389 (Summary of Malloc): Add posix_memalign to function summary.
2390 __memalign_hook is also called for posix_memalign and valloc.
2391
8d561986
SP
23922013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2393
2394 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
2395 TAYLOR_SIN.
2396 (__sin): Adjust.
2397 (__cos): Likewise.
2398 (sloww): Use mynumber union. Expand ternary operator into
2399 if-else statements.
2400 (cslow): use mynumber union.
2401
73616a74
AM
24022013-12-16 Allan McRae <allan@archlinux.org>
2403
9e8ac24b
AM
2404 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
2405 * configure: Regenerated.
2406
6f8e37eb
AM
2407 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
2408
8894bad3
AM
2409 [BZ #14120]
2410 * configure.ac: Added --enable-maintainer-mode. Check for
2411 autoconf when enabled.
2412 * configure: Regenerated.
2413
73616a74
AM
2414 * nscd/nscd.service: New file.
2415 * nscd/nscd.tmpfiles: New file.
2416
584b18eb
OB
24172013-12-14 Ondřej Bílka <neleai@seznam.cz>
2418
2419 [BZ #12100]
2420 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
2421 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
2422 * sysdeps/x86_64/multiarch/strstr.c: ... here.
2423 (strstr): Add __strstr_sse2_unaligned ifunc.
2424 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
2425 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
2426 (strcasestr): Remove __strcasestr_sse42 ifunc.
2427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
2428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2429 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2430
8a5c7897
KK
24312013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2432
2433 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
2434 * sysdeps/sh/bits/fenv.h: ... here.
2435 * sysdeps/sh/sh4/fpu/bits: Remove directory.
2436
fd712ef3
AZ
24372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2438
2439 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
2440
42fcb46c
AZ
24412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2442
2443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
2444 hypotf multiarch implementations.
2445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
2446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
2447 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
2448 multiarch hypot for PPC64.
2449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
2450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
2451 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
2452 multiarch hypotf for PPC64.
2453
83efded4
AZ
24542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2455
2456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
2457 modff multiarch implementations.
2458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
2459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
2460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
2461 multiarch modf for PPC64.
2462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
2463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
2464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
2465 multiarch modff for PPC64.
2466
43e246d2
AZ
24672013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2468
2469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
2470 and logl multiarch implementations.
2471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
2472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
2473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
2474 multiarch logb for PPC64.
2475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
2476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
2477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
2478 multiarch logb for PPC64.
2479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
2480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
2481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
2482 multiarch logb for PPC64.
2483
8fdad123
AZ
24842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2485
2486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
2487 isinff multiarch implementation.
2488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
2489 file.
2490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
2491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
2492 multiarch isinf for PPC64.
2493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
2494 file.
2495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
2496 multiarch isinff for PPC64.
2497
1481d706
AZ
24982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499
2500 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
2501 finitef multiarch implementation.
2502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
2503 file.
2504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
2505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
2506 multiarch finite for PPC64.
2507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
2508 file.
2509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
2510 multiarch finitef for PPC64.
2511
5ccd5fc8
AZ
25122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2513
2514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
2515 lrint multiarch implementation.
2516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
2517 file.
2518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
2519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
2520 multiarch llrint for PPC64.
2521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
2522 multiarch lrint for PPC64.
2523
2568f3fa
AZ
25242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2525
2526 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
2527 copysignf multiarch implementation.
2528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
2529 file.
2530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
2531 file.
2532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
2533 multiarch copysign for PPC64.
2534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
2535 multiarch copysignf for PPC64.
2536
1cb341fd
AZ
25372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2538
2539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
2540 multiarch implementation.
2541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
2542 file.
2543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
2544 file.
2545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
2546 file.
2547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
2548 file.
2549 multiarch llround for PPC64.
2550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
2551 multiarch trunc for PPC64.
2552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
2553 multiarch truncf for PPC64.
2554
59a3e194
AZ
25552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2556
2557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
2558 multiarch implementation.
2559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
2560 file.
2561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
2562 file.
2563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
2564 file.
2565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
2566 file.
2567 multiarch llround for PPC64.
2568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
2569 multiarch round for PPC64.
2570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
2571 multiarch roundf for PPC64.
2572
357fd3b4
AZ
25732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2574
2575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
2576 multiarch implementation.
2577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
2578 file.
2579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
2580 file.
2581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
2582 file.
2583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
2584 file.
2585 multiarch llround for PPC64.
2586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
2587 multiarch floor for PPC64.
2588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
2589 multiarch floorf for PPC64.
2590
96770f12
AZ
25912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
2593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
2594 multiarch implementation.
2595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
2596 file.
2597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
2598 file.
2599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
2600 file.
2601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
2602 file.
2603 multiarch llround for PPC64.
2604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
2605 multiarch ceil for PPC64.
2606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
2607 multiarch ceilf for PPC64.
2608
c3627f6e
AZ
26092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2610
2611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
2612 multiarch implementation.
2613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
2614 file.
2615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
2616 file.
2617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
2618 file.
2619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
2620 multiarch llround for PPC64.
2621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
2622 multiarch lround for PPC64.
2623
b2284ad7
AZ
26242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2625
2626 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
2627 multiarch implementation.
2628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
2629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
2630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
2631 file.
2632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
2633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
2634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
2635 multiarch isnan for PPC64.
2636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
2637 multiarch isnanf for PPC64.
2638
69bbc63d
AZ
26392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2640
2641 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
2642 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
2643 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
2644 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
2645 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
2647
c24517c9
AZ
26482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2649
2650 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
2651 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2653 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2654
a52374e8
AZ
26552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2656
2657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
2658 multiarch implementations.
2659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2660 (__libc_ifunc_impl_list): Likewise.
2661 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2662 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
2663 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
2664 multiarch stpcpy for PPC64.
2665
7f5ec113
AZ
26662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667
2668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2669 multiarch implementations.
2670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2671 (__libc_ifunc_impl_list): Likewise.
2672 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2673 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2674 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2675 multiarch strcpy for PPC64.
2676
e28bcd42
AZ
26772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2678
2679 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2680 redefine function name.
2681 (_wordcopy_fwd_dest_aligned): Likewise.
2682 (_wordcopy_bwd_aligned): Likewise.
2683 (_wordcopy_bwd_dest_aligned): Likewise.
2684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2685 multiarch implementations.
2686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2687 (__libc_ifunc_impl_list): Likewise.
2688 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2689 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2690 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2691 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2692 multiarch wcscpy for PPC64.
2693
92cacfce
AZ
26942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695
2696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2697 multiarch implementations.
2698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2699 (__libc_ifunc_impl_list): Likewise.
2700 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2701 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2702 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2703 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2704 multiarch wcscpy for PPC64.
2705
7b714620
AZ
27062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2707
2708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2709 multiarch implementations.
2710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2711 (__libc_ifunc_impl_list): Likewise.
2712 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2713 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2714 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2715 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2716 multiarch wcsrchr for PPC64.
2717
16fd2ae3
AZ
27182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2721 multiarch implementations.
2722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2723 (__libc_ifunc_impl_list): Likewise.
2724 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2725 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2726 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2727 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2728 multiarch wcschr for PPC64.
2729
9ee2969b
AZ
27302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2731
2732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2733 multiarch implementations.
2734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2735 (__libc_ifunc_impl_list): Likewise.
2736 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2737 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2738 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2739 multiarch strchrnul for PPC64.
2740
372dc060
AZ
27412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2742
2743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2744 implementations.
2745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2746 (__libc_ifunc_impl_list): Likewise.
2747 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2748 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2749 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2750 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2751 strchr for PPC64.
2752
24c2c3b9
AZ
27532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2754
2755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2756 implementations.
2757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2758 (__libc_ifunc_impl_list): Likewise.
2759 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2760 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2761 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2762 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2763 strncmp for PPC64.
2764
1c92d9a0
AZ
27652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2766
2767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2768 multiarch implementations.
2769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2770 (__libc_ifunc_impl_list): Likewise.
2771 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2772 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2773 strncasecmp for PPC64.
2774 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2775 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2776 multiarch strncasecmp_l for PPC64.
2777
17de3ee3
AZ
27782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2779
2780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2781 multiarch implementations.
2782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2783 (__libc_ifunc_impl_list): Likewise.
2784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2785 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2786 multiarch strcasecmp for PPC64.
2787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2788 file.
2789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2790 multiarch strcasecmp_l for PPC64.
2791
62982bf9
AZ
27922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2793
2794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2795 implementations.
2796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2797 (__libc_ifunc_impl_list): Likewise.
2798 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2799 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2800 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2801 strnlen for PPC64.
2802
a65f4904
AZ
28032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2804
2805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2806 implementations.
2807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2808 (__libc_ifunc_impl_list): Likewise.
2809 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2810 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2811 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2812 strlen for PPC64.
2813
1fd005ad
AZ
28142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815
2816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2817 implementations.
2818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2819 (__libc_ifunc_impl_list): Likewise.
2820 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2821 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2822 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2823 rawmemrchr for PPC64.
2824
cd05ba91
AZ
28252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826
2827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2828 implementation.
2829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2830 (__libc_ifunc_impl_list): Likewise.
2831 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2832 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2833 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2834 memrchr for PPC64.
2835
870f8676
AZ
28362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2837
2838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2839 implementation.
2840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2841 (__libc_ifunc_impl_list): Likewise.
2842 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2843 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2844 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2845 memchr for PPC64.
2846
f00be62b
AZ
28472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2848
2849 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2850 implementation.
2851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2852 (__libc_ifunc_impl_list): Likewise.
2853 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2854 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2855 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2856 mempcpy for PPC64.
2857
8a29a3d0
AZ
28582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2859
2860 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2861 avoid cretion of __bzero symbol.
2862 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2863 Likewise.
2864 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2865 Likewise.
2866 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2867 Likewise.
2868 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2869 multiarch implementations.
2870 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2871 (__libc_ifunc_impl_list): Likewise.
2872 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2873 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2874 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2875 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2876 bzero for PPC32.
2877 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2878 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2879 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2880 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2881 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2882 memset for PPC64.
2883 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2884
07253fcf
AZ
28852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2886
2887 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2889 implementations.
2890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2891 (__libc_ifunc_impl_list): Likewise.
2892 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2893 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2894 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2895 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2896 memcmp for PPC64.
2897
b5beafbc
AZ
28982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899
2900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2901 multiarch for POWER/PPC64.
2902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2903 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2904 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2905 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2906 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2907 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2908 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2909 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2910 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2911 memcpy for PPC64.
2912
5e6a4d4b
AZ
29132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2914
2915 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2916 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2917 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2918 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2919 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2920 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2921 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2922 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2923 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2924 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2925 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2926 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2927 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2928 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2929 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2937
ddfab6dc
KK
29382013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2939
2940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2941
19b5525e
SP
29422013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2943
2944 * benchtests/Makefile (bench): Add exp2 and log2.
2945 (LDLIBS-bench-exp2): Add -lm.
2946 (LDLIBS-bench-log2): Likewise.
2947 * benchtests/exp2-inputs: New inputs file.
2948 * benchtests/log2-inputs: New inputs file.
2949 * benchtests/log-inputs: Add new inputs.
2950 * benchtests/tan-inputs: Likewise.
2951
196f7f5d
SP
29522013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2953
7a74607f
SP
2954 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2955 definition...
2956 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2957 csloww1, csloww2): ... from here.
2958
196f7f5d
SP
2959 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2960 instead of structures.
2961 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2962 (POLYNOMIAL): Likewise.
2963 (TAYLOR_SLOW): Likewise.
2964 (__sin): Likewise.
2965 (__cos): Likewise.
2966 (slow1): Likewise.
2967 (slow2): Likewise.
2968 (sloww): Likewise.
2969 (sloww1); Likewise.
2970 (sloww2): Likewise.
2971 (bsloww1): Likewise.
2972 (bsloww2): Likewise.
2973 (cslow2): Likewise.
2974 (csloww): Likewise.
2975 (csloww1): Likewise.
2976 (csloww2): Likewise.
2977
0dfa665c
OB
29782013-12-10 Ondřej Bílka <neleai@seznam.cz>
2979
2980 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2981 (__malloc_assert, __libc_realloc, __libc_calloc,
2982 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2983 memcpy and memset.
2984 * malloc/hooks.c (realloc_check): Likewise.
2985
5782a80f
OB
29862013-12-10 Ondřej Bílka <neleai@seznam.cz>
2987
2988 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2989 * malloc/arena.c: Remove PER_THREAD conditional.
2990 [!PER_THREAD]: Remove code.
2991 (ptmalloc_unlock_all2): Likewise.
2992 (ptmalloc_init): Likewise.
2993 (_int_new_arena): Likewise.
2994 (arena_get2): Likewise.
2995 * malloc/hooks.c (__malloc_get_state): Likewise.
2996 (__malloc_set_state): Likewise.
2997 * malloc/malloc.c: Likewise.
2998 (struct malloc_state): Likewise.
2999 (struct malloc_par): Likewise.
3000 (__libc_realloc): Likewise.
3001 (__libc_mallopt): Likewise.
3002
aeb95445
AZ
30032013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004
3005 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3006
e8349efd
OB
30072013-12-09 Ondřej Bílka <neleai@seznam.cz>
3008
3009 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3010 macro to a function. Check for zero perturb_byte.
3011 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3012
f3eeb3fc
OB
30132013-12-09 Ondřej Bílka <neleai@seznam.cz>
3014
3015 * malloc/malloc.c: (force_reg): Remove.
3016 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3017 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3018 force_reg by atomic_forced_read.
3019 * malloc/arena.c (ptmalloc_init): Likewise.
3020 * malloc/hooks.c (top_check): Likewise.
3021
be2f9009
AZ
30222013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3025
e7b914bd
MT
30262013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3027
3028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3029
9f0be4f8
JM
30302013-12-08 Joseph Myers <joseph@codesourcery.com>
3031
3032 * math/auto-libm-test-in: Add tests of lgamma.
3033 * math/auto-libm-test-out: Regenerated.
3034 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3035 (M_LOG_2_SQRT_PIl): Likewise.
3036 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3038 mpfr_f_f1.
3039 (func_calc_desc): Add mpfr_f_f1 union field.
3040 (ARGS1): New macro.
3041 (ARGS2): Likewise.
3042 (ARGS3): Likewise.
3043 (ARGS4): Likewise.
3044 (RET1): Likewise.
3045 (RET2): Likewise.
3046 (CALC): Likewise.
3047 (FUNC): Likewise.
3048 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3049 (test_functions): Add lgamma.
3050 (calc_generic_results): Handle mpfr_f_f1.
3051 * sysdeps/i386/fpu/libm-test-ulps: Update.
3052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3053
24eeafdb
AZ
30542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3055
3056 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3057 __mpn_add_n for PowerPC64/POWER7.
3058 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3059 __mpn_sub_n for PowerPC64/POWER7.
3060
4a2c0fd4
AZ
30612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3062
3063 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3064 __mpn_addmul_1 for PowerPC64.
3065 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3066 __mpn_submul_1 for PowerPC64.
3067 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3068 for PowerPC64.
3069 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3070 for PowerPC64.
3071
4b5b548c
FS
30722013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3073
3074 [BZ #15089]
3075 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3076
0a3ac0aa
AZ
30772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3078
3079 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3080
ccdc8438
AZ
30812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3082
3083 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3084 add multiarch folders.
3085 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3086 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3087 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3088 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3089 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3090 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3091 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3092 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3093 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3094 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3095 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3102
2e973d99
AZ
31032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104
3105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3106 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3108 New file.
3109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3110 New file.
3111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3112 multiarch __ieee754_hypot for PowerPC32.
3113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3114 New file.
3115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3116 New file.
3117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3118 multiarch __ieee754_hypotf for PowerPC32.
3119
2d9470b2
AZ
31202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3123 long_double_symbol only if __logbl is defined.
3124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3125 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3127 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3128 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3129 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3131 path for implementation.
3132 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3135 logb, and logbl multiarch implementations for PowerPC32.
3136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3137 file.
3138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3139 file.
3140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3141 multiarch logb for PowerPC32.
3142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3143 file.
3144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3145 file.
3146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3147 multiarch logbf for PowerPC32.
3148 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3150 file.
3151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3152 multiarch logbl implementation for PowerPC32.
3153
5212ffce
AZ
31542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155
3156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3157 and modff multiarch implementations.
3158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3159 New file.
3160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3161 New file.
3162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3163 multiarch modf for PowerPC32.
3164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3165 New file.
3166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3167 New file.
3168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3169 multiarch modff for PowerPC32.
3170
79dccf31
AZ
31712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3172
3173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3174 and lrintf multiarch implementations.
3175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3176 New file.
3177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3178 New file.
3179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3180 multiarch lrint for PowerPC32.
3181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3182 file: multiarch lrintf for PowerPC32.
3183
deb66480
AZ
31842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3185
3186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3187 and lroundf multiarch implementations.
3188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3189 New file.
3190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3191 New file.
3192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3193 New file.
3194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3195 multiarch lround for PowerPC32.
3196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3197 file: multiarch lroundf for PowerPC32.
3198
264b036b
AZ
31992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3200
3201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3202 copysign and copysignf multiarch implementations.
3203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3204 New file.
3205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3206 New file.
3207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3208 file: multiarch copysign for PowerPC32.
3209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3210 file: multiarch copysignf for PowerPC32.
3211
d47db6c9
AZ
32122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3213
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3215 and truncf multiarch implementations.
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3217 New file.
3218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3219 file.
3220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3221 multiarch trunc for PowerPC32.
3222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3223 New file.
3224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3225 New file.
3226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3227 multiarch truncf for PowerPC32.
3228
ddb60b5a
AZ
32292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3230
3231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3232 and roundf multiarch implementations.
3233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3234 New file.
3235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3236 file.
3237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3238 multiarch round for PowerPC32.
3239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3240 New file.
3241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3242 New file.
3243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3244 multiarch roundf for PowerPC32.
3245
bedcf49b
AZ
32462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3247
3248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3249 and floorf multiarch implementations.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3251 New file.
3252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3253 file.
3254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3255 multiarch floor for PowerPC32.
3256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3257 New file.
3258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3259 New file.
3260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3261 multiarch floorf for PowerPC32.
3262
35ae5b40
AZ
32632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3264
3265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3266 and ceilf multiarch implementations.
3267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3268 New file.
3269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3270 file.
3271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3272 multiarch ceil for PowerPC32.
3273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3274 New file.
3275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3276 file.
3277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3278 multiarch ceilf for PowerPC32.
3279
ae1a4cd9
AZ
32802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3281
3282 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3283 is defined.
3284 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3285 FINITEF is defined.
3286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3287 and finitef multiarch implementations.
3288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3289 New file.
3290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3291 file.
3292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3293 multiarch finite for PowerPC32.
3294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3295 New file.
3296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3297 file: multiarch finitef for PowerPC32.
3298
64fffd65
AZ
32992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3300
3301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3302 and isinff multiarch implementations.
3303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3304 file.
3305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3306 file.
3307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3308 multiarch isinf for PowerPC32.
3309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3310 New file.
3311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3312 multiarch isinff for PowerPC32.
3313
8e4e7ba2
AZ
33142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3315
3316 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3317 alias when __isnan is defined.
3318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3319 and isnanf multiarch implementations.
3320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3321 file.
3322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3323 file.
3324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3325 file.
3326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3327 file.
3328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3329 multiarch isnan for PowerPC32.
3330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3331 New file.
3332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3333 New file.
3334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3335 multiarch isnanf for PowerPC32.
3336
ddba588e
AZ
33372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3338
3339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3340 and sqrtf multiarch implementations.
3341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3342 file.
3343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3344 file.
3345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3346 multiarch sqrt for PowerPC32.
3347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3348 file.
3349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3350 file.
3351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
3352 multiarch sqrtf for PowerPC32.
3353
0f96a2f0
AZ
33542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355
3356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
3357 and llroundf multiarch implementations.
3358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
3359 New file.
3360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
3361 New file.
3362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
3363 New file.
3364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
3365 file: multiarch llround for PowerPC32.
3366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
3367 file: multiarch llroundf for PowerPC32.
3368
c9b5d79e
AZ
33692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3370
3371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
3372 multiarch PowerPC32 fpu implementations.
3373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
3374 New file.
3375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
3376 New file.
3377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
3378 multiarch llrint for PowerPC32.
3379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
3380 New file.
3381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
3382 New file.
3383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
3384 file.
3385
9cbb3aab
AZ
33862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3387
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
3389
ea5a72f8
AZ
33902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3391
3392 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
3393 file.
3394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
3395 file.
3396 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
3397 file.
3398 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
3399 multiarch wordcopy for PPC32.
3400 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3401 wordcopy objects.
3402 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3403 (__libc_ifunc_impl_list): Likewise.
3404 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
3405 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
3406 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
3407 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
3408 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
3409 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
3410
93be09e7
AZ
34112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3412
3413 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
3414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
3415 file.
3416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
3417 file.
3418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
3419 file.
3420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
3421 multiarch wcscpy for PPC32.
3422 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
3423 multiarch objects.
3424 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3425 (__libc_ifunc_impl_list): Likewise.
3426 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3427 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3428 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
3429 sysdeps/powerpc/power6/wcscpy.c.
3430
bb04e529
AZ
34312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3432
3433 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
3434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
3435 file.
3436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
3437 file.
3438 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
3439 file.
3440 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
3441 multiarch wcsrchr for PPC32.
3442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3443 multiarch objects.
3444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3445 (__libc_ifunc_impl_list): Likewise.
3446 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
3447 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
3448 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
3449 sysdeps/powerpc/power6/wcsrchr.c.
3450
05b5cd1c
AZ
34512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3452
3453 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
3454 file.
3455 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
3456 file.
3457 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
3458 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
3459 multiarch wcschr for PPc32.
3460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
3461 multiarch objects.
3462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3463 (__libc_ifunc_impl_list): Likewise.
3464 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
3465 * sysdeps/powerpc/power6/wcschr.c: ... to here.
3466 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
3467 sysdeps/powerpc/power6/wcschr.c.
3468
ba964147
AZ
34692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3470
3471 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
3472 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
3473 file.
3474 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
3475 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
3476 file: multiarch strchr for PPC32.
3477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
3478 multiarch objects.
3479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3480 (__libc_ifunc_impl_list): Likewise.
3481
31c81aaa
AZ
34822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3483
3484 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
3485 name.
3486 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
3487 file.
3488 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
3489 file.
3490 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
3491 multiarch strchrnul for PPC32.
3492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
3493 multiarch objects.
3494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3495 (__libc_ifunc_impl_list): Likewise.
3496
0d0607d9
AZ
34972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3498
3499 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
3500 file.
3501 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
3502 multiarch strncasecmp for PPC32.
3503 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
3504 file.
3505 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
3506 multiarch strncasecmp_l for PPC32.
3507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
3508 strncasecmp multiarch objects.
3509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3510 (__libc_ifunc_impl_list): Likewise.
3511
4dfd5c86
AZ
35122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3513
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
3515 file.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
3517 multiarch strncasecmp for PPC32.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3519 New file.
3520 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
3521 multiarch strcasecmp_l for PPC32.
3522 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
3523 multiarch objects.
3524 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3525 (__libc_ifunc_impl_list): Likewise.
3526
a19e01a3
AZ
35272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528
3529 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
3530 file.
3531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
3532 file.
3533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
3534 multiarch strncmp for PPC32.
3535 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
3536 multiarch objects.
3537 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3538 (__libc_ifunc_impl_list): Likewise.
3539
ae9cf7a2
AZ
35402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3541
3542 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
3543 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
3544 file.
3545 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
3546 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
3547 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
3548 multiarch objects.
3549 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3550 (__libc_ifunc_impl_list): Likewise.
3551
3148bb7d
AZ
35522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3553
3554 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
3555 file.
3556 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
3557 file.
3558 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
3559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
3560 multiarch objects.
3561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3562 (__libc_ifunc_impl_list): Likewise.
3563
7af8b946
AZ
35642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3565
3566 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
3567 file.
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
3569 file.
3570 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
3571 multiarch rawmemchr for PPC32.
3572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
3573 multiarch objects.
3574 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3575 (__libc_ifunc_impl_list): Likewise.
3576
03a6aa6a
AZ
35772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3578
3579 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
3580 file.
3581 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
3582 file.
3583 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
3584 file: memrchr multiarch for PPC32.
3585 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
3586 multiarch objects.
3587 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
3588 (__libc_ifunc_impl_list): Likewise.
3589
1c62e6d9
AZ
35902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3591
3592 * string/memchr.c (__memchr): Using macro to redefine symbol name.
3593 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
3594 file.
3595 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
3596 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
3597 multiarch memchr for PPC32.
3598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
3599 multiarch objects.
3600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3601 (__libc_ifunc_impl_list): Likewise.
3602
87da8bdb
AZ
36032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3604
3605 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
3606 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
3607 file.
3608 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
3609 file.
3610 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
3611 file: multiarch mempcpy for PPC32.
3612 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
3613 multiarch objects.
3614 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3615 (__libc_ifunc_impl_list): Likewise.
3616
20ed4714
AZ
36172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3618
3619 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
3620 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
3621 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
3622 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
3623 multiarch bzero for PPC32.
3624 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
3625 file.
3626 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
3627 file.
3628 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
3629 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
3630 file: multiarch memset for PPC32.
3631 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
3632 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
3633 memset multiarch objects.
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3635 (__libc_ifunc_impl_list): Likewise.
3636
ab3e3a46
AZ
36372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638
3639 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
3640 file.
3641 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
3643 memcmp for PPC32.
3644 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
3645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
3646 multiarch objects.
3647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3648 (__libc_ifunc_impl_list): Likewise.
3649
930de6f0
AZ
36502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
3653 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
3655 file.
3656 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
3657 file.
3658 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
3659 file.
3660 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
3661 multiarch memcpy for PPC32.
3662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
3663 multiarch objects.
3664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3665 (__libc_ifunc_impl_list): Likewise.
3666
4c628e00
AZ
36672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3668
3669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3670 support multiarch for POWER/PPC32.
3671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3672 Likewise.
3673 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3675 Implies file to make multiarch folder appers before the fpu and
3676 default folder for power4 configuration.
3677
f4479220
SP
36782013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3679
3680 * scripts/bench.pl: Append volatile keyword to type.
3681
8517800f
KK
36822013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3683
3684 * sysdeps/sh/sotruss-lib.c: New file.
3685 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3686
180138f1
AZ
36872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3688
3689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3690
bbf37bdc
JM
36912013-12-05 Joseph Myers <joseph@codesourcery.com>
3692
e47cc4e0
JM
3693 [BZ #6810]
3694 * math/w_tgamma.c: Include <errno.h>.
3695 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3696 * math/w_tgammaf.c: Include <errno.h>.
3697 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3698 * math/w_tgammal.c: Include <errno.h>.
3699 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3700 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3701 underflow. Add more tgamma tests.
3702 * math/auto-libm-test-out: Regenerated.
3703 * sysdeps/i386/fpu/libm-test-ulps: Update.
3704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3705
bbf37bdc
JM
3706 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3707 sin, sinh, tan, tanh, tgamma, y0 and y1.
3708 * math/auto-libm-test-out: Regenerated.
3709 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3710 (TEST_COND_x86): Likewise.
3711 (M_E2l): Remove macro.
3712 (M_E3l): Likewise.
3713 (M_2_SQRT_PIl): Likewise.
3714 (M_SQRT_PIl): Likewise.
3715 (M_1_DIV_El): Likewise.
3716 (log_test_data): Use AUTO_TESTS_f_f.
3717 (log10_test_data): Likewise.
3718 (log1p_test_data): Likewise.
3719 (log2_test_data): Likewise.
3720 (sin_test_data): Likewise.
3721 (sin_tonearest_test_data): Likewise.
3722 (sin_towardzero_test_data): Likewise.
3723 (sin_downward_test_data): Likewise.
3724 (sin_upward_test_data): Likewise.
3725 (sinh_test_data): Likewise.
3726 (sinh_tonearest_test_data): Likewise.
3727 (sinh_towardzero_test_data): Likewise.
3728 (sinh_downward_test_data): Likewise.
3729 (sinh_upward_test_data): Likewise.
3730 (tan_test_data): Likewise.
3731 (tan_tonearest_test_data): Likewise.
3732 (tan_towardzero_test_data): Likewise.
3733 (tan_downward_test_data): Likewise.
3734 (tan_upward_test_data): Likewise.
3735 (tanh_test_data): Likewise.
3736 (tgamma_test_data): Likewise.
3737 (y0_test_data): Likewise.
3738 (y1_test_data): Likewise.
3739 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3740 (special_real_inputs): Add pi/4.
3741 * sysdeps/i386/fpu/libm-test-ulps: Update.
3742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743
eb5ad6b9
AZ
37442013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3745
3746 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3747 "longjmp_target" static probes.
3748 (__longjmp): Rename to __longjmp_symbol.
3749 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3750 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3751 on which longjmp to generate.
3752 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3754 probe.
3755 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3756 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3757 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3758 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3759 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3760 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3762 __longjmp_symbol based on which __longjmp to generate.
3763 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3764 probe.
3765 (setjmp): Rename to setjmp_symbol.
3766 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3767 (_setjmp): Rename to _setjmp_symbol.
3768 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3769 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3770 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3771 which setjmp to generate.
3772 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3773 "longjmp_target" static probes.
3774
d136c6dc
SP
37752013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3776
9298ecba
SP
3777 * benchtests/README: Add note about output arguments.
3778 * benchtests/bench-sincos.c: Remove file.
3779 * benchtests/sincos-inputs: New file.
3780 * scripts/bench.pl: Identify output arguments and define
3781 static variables for them.
3782
232983e9
SP
3783 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3784
d136c6dc
SP
3785 [BZ #15941]
3786 * Makefile (INSTALL): Add install-plain.texi as the primary
3787 dependency.
3788 * manual/install-plain.texi: New file.
3789 * manual/install.texi: Include node directive only for
3790 non-plaintext output.
3791
699ff837
JM
37922013-12-04 Joseph Myers <joseph@codesourcery.com>
3793
ab07cea8
JM
3794 * stdlib/longlong.h: Update from GCC.
3795
699ff837
JM
3796 [BZ #6807]
3797 [BZ #15901]
3798 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3799 * math/w_j0f.c (y0f): Likewise.
3800 * math/w_j0l.c (__y0l): Likewise.
3801 * math/w_j1.c (y1): Likewise.
3802 * math/w_j1f.c (y1f): Likewise.
3803 * math/w_j1l.c (__y1l): Likewise
3804 * math/w_jn.c (yn): Likewise.
3805 * math/w_jnf.c (ynf): Likewise.
3806 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3807 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3808 value for Bessel function domain errors outside _SVID_ mode.
3809 Adjust sign of return value for yn (negative integer, 0).
3810 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3811 by zero in return for negative x and set sign appropriately for
3812 negative n.
3813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3815 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3816 expectations in error cases.
3817 (y1_test_data): Likewise.
3818 (yn_test_data): Likewise.
3819 * sysdeps/i386/fpu/libm-test-ulps: Update.
3820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3821
5b118558
UW
38222013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3823
3824 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3825 "64" to "64-v1". Add "64-v2".
3826 (abi-64-options): Rename to ...
3827 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3828 (abi-64-condition): Rename to ...
3829 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3830 (abi-64-ld-soname): Rename to ...
3831 (abi-64-v1-ld-soname): ... this.
3832 (abi-64-v2-options): Define.
3833 (abi-64-v2-condition): Likewise.
3834 (abi-64-v2-ld-soname): Likewise.
3835 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3836 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3840
61cd8fe4
UW
38412013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3842 Alan Modra <amodra@gmail.com>
3843
3844 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3845 New versions for use with the ELFv2 ABI.
3846 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3847 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3848 declaration.
3849 (struct La_ppc64v2_retval): Likewise.
3850 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3851 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3852 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3853 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3854 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3855 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3856 Do not save or restore CR.
3857 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3858 (_dl_profile_resolve): Do no save or restore CR. Support extended
3859 return values for ELFv2 ABI. Fix location of FPR return registers.
3860 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3861 updated values for _CALL_ELF == 2.
3862 (La_regs, La_retval, int_retval): Likewise.
3863
8b8a692c
UW
38642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3865
3866 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3867 (FRAME_MIN_SIZE_PARM): Likewise.
3868 (FRAME_BACKCHAIN): Likewise.
3869 (FRAME_CR_SAVE): Likewise.
3870 (FRAME_LR_SAVE): Likewise.
3871 (FRAME_TOC_SAVE): Likewise.
3872 (FRAME_PARM_SAVE): Likewise.
3873 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3874 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3875 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3876 (call_mcount_parm_offset): New macro.
3877 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3878 (PROF): Use symbolic stack frame offsets.
3879 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3880 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3881 Redefine in terms of FRAME_MIN_SIZE.
3882 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3883 (_dl_profile_resolve): Likewise. Update comment.
3884 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3885 symbols stack frame offsets.
3886 (__sigsetjmp): Likewise.
3887 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3888 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3889 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3890 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3891
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3893 (FRAME_BACKCHAIN): Remove.
3894 (FRAME_CR_SAVE): Likewise.
3895 (FRAME_LR_SAVE): Likewise.
3896 (FRAME_COMPILER_DW): Likewise.
3897 (FRAME_LINKER_DW): Likewise.
3898 (FRAME_TOC_SAVE): Likewise.
3899 (FRAME_PARM_SAVE): Likewise.
3900 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3901 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3902 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3904 (CHECK_SP): Use symbolic stack frame offsets.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3906 zone" instead of caller's parameter save area for temp storage.
3907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3908 Likewise. Also, use symbolic stack frame offsets.
3909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3910 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3911 our own stack frame instead of the caller's.
3912 (__socket): Use symbolic stack frame offsets.
3913
122b66de
UW
39142013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3915 Alan Modra <amodra@gmail.com>
3916
3917 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3918 Define.
3919 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3920 PPC64_LOCAL_ENTRY_OFFSET): Define.
3921 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3922 New function.
3923 (elf_machine_fixup_plt): Call it.
3924 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3925 reloc arguments.
3926 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
3927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3928 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
3929 r2 before calling target.
3930
696caf1d
UW
39312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3932 Alan Modra <amodra@gmail.com>
3933
3934 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3935 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3936 versions of macros to support ELFv2 ABI.
3937 (LOCALENTRY): New macro.
3938 (ENTRY, EALIGN): Use it.
3939 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3940 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3941 fall through into ENTRY entry point.
3942 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3943 Only define if _CALL_ELF != 2.
3944
3945 (elf_machine_matches_host): Verify ABI version matches.
3946 (RTLD_START): Use LOCALENTRY.
3947 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3948 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3949 (PLT_ENTRY_WORDS): New macro.
3950 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3951 (elf_machine_runtime_setup): Support ELFv2 ABI.
3952 (elf_machine_fixup_plt): Likewise.
3953 (elf_machine_plt_conflict): Likewise.
3954 (resolve_ifunc): Likewise.
3955 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3956 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3957 Likewise.
3958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3959 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3961 (makecontext): Support ELFv2 ABI.
3962 * elf/elf.h (EF_PPC64_ABI): Define.
3963
d31beafa
UW
39642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3965
3966 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3967 New assembler macro.
3968 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3969 [ASSEMBLER] (ENTRY): ... but instead here ...
3970 [ASSEMBLER] (EALIGN): ... and here.
3971 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3972 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3973 [!ASSEMBLER] (ENTRY_2): Use it.
3974 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3975 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3976 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3977 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3978 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3980 Use PPC64_LOAD_FUNCPTR.
3981
b525166b
UW
39822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3983
3984 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3985
7ec07d9a
AM
39862013-12-04 Alan Modra <amodra@gmail.com>
3987
3988 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3989 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3990 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3991 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3992
3993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3994 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3995 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3996 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3997 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3998 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3999
5162e7dd
UW
40002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4001
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4003 (__makecontext): Fix incorrect CFI when backtracing out of
4004 context created via makecontext.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4006 (__setcontext): Fix incorrect CFI during switch to new context.
4007 (__novec_setcontext): Likewise.
4008
19e3372b
OB
40092013-12-04 Ondřej Bílka <neleai@seznam.cz>
4010
4011 [BZ #4772]
4012 * time/strptime_l.c (__strptime_internal): Allow modifiers
4013 in strptime.
4014 * time/tst-strptime.c (day_tests): Add testcase.
4015
4016
ecaf142d
SP
40172013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4018
4019 * scripts/bench.pl: Skip over blank lines.
4020
fbf964ae
PE
40212013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4022
4023 [BZ #926]
4024 * manual/time.texi (Calendar Time): Clarify what timezone functions
4025 use.
4026
fa60a674
AZ
40272013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4028
4029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4030
d674f0ef
OB
40312013-12-04 Ondřej Bílka <neleai@seznam.cz>
4032
4033 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4034 implementation.
4035 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4036 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4037 * debug/memset_chk.c (__memset_chk): Likewise.
4038 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4039 * debug/strncpy_chk.c: Likewise.
4040
17dea188
JM
40412013-12-03 Joseph Myers <joseph@codesourcery.com>
4042
749008ff
JM
4043 [BZ #15268]
4044 [BZ #15425]
4045 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4046 (__ieee754_exp): For possibly underflowing results, check size of
4047 result and force underflow exception if required.
4048 * math/auto-libm-test-in: Add more tests of exp.
4049 * math/auto-libm-test-out: Regenerated.
4050 * sysdeps/i386/fpu/libm-test-ulps: Update.
4051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4052
17dea188
JM
4053 [BZ #16283]
4054 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4055 * math/w_exp2f.c (__exp2f): Likewise.
4056 * math/w_exp2l.c (__exp2l): Likewise.
4057 * math/auto-libm-test-in: Do not allow missing errno on exp2
4058 underflow.
4059 * math/auto-libm-test-out: Regenerated.
4060
b20de2c3
OB
40612013-12-03 Ondřej Bílka <neleai@seznam.cz>
4062
4063 [BZ #16274]
4064 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4065 handle filename validation.
4066 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4067 (do_open): Delete.
4068
d8e2dbe3
JM
40692013-12-03 Joseph Myers <joseph@codesourcery.com>
4070
34e16df5
JM
4071 [BZ #6786]
4072 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4073 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4074 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4075 <float.h>.
4076 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4077 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4078 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4079 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4080 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4081 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4082 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4083 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4084 Add more erfc tests.
4085 * math/auto-libm-test-out: Regenerated.
4086 * sysdeps/i386/fpu/libm-test-ulps: Update.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4088
d8e2dbe3
JM
4089 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4090 exp2, expm1, j0 and j1.
4091 * math/auto-libm-test-out: Regenerated.
4092 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4093 (erfc_test_data): Likewise.
4094 (exp_test_data): Likewise.
4095 (exp_tonearest_test_data): Likewise.
4096 (exp_towardzero_test_data): Likewise.
4097 (exp_downward_test_data): Likewise.
4098 (exp_upward_test_data): Likewise.
4099 (exp10_test_data): Likewise.
4100 (exp2_test_data): Likewise.
4101 (expm1_test_data): Likewise.
4102 (j0_test_data): Likewise.
4103 (j1_test_data): Likewise.
4104 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4105 (input_flag_type): Add flag_xfail_rounding.
4106 (input_flags): Add xfail-rounding.
4107 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4108 (output_for_one_input_case): Handle flag_xfail_rounding.
4109 * sysdeps/i386/fpu/libm-test-ulps: Update.
4110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4111
18d14251
AJ
41122013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4113
3d2e6075 4114 [BZ #16289]
18d14251
AJ
4115 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4116 division by 0.
4117
520d437b
SP
41182013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4119
4120 [BZ #16195]
4121 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4122 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4123 (STAP_PROBE0): New macro.
4124 (STAP_PROBE1): Likewise.
4125 (STAP_PROBE2): Likewise.
4126 (STAP_PROBE3): Likewise.
4127 (STAP_PROBE4): Likewise.
4128
416e0145
OB
41292013-12-02 Ondřej Bílka <neleai@seznam.cz>
4130
4131 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4132
9d17796a
SE
41332013-12-02 Steve Ellcey <sellcey@mips.com>
4134
4135 * benchtests/Makefile (bench): Add sqrt.
4136 (LDLIBS-bench-sqrt): New.
4137 * benchtests/sqrt-input: New.
4138
f524d6a8
PS
41392013-12-02 Pavel Simerda <psimerda@redhat.com>
4140
639a0ef8
PS
4141 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4142 (GAIH_EAI): Likewise.
4143 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4144 (gaih_inet): Likewise.
4145 (getaddrinfo): Don't use GAIH_EAI.
4146
f524d6a8
PS
4147 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4148 (struct gaih): Remove definition.
4149
df3aedaf
SP
41502013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4151
4152 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4153 Use HERRNOP directly.
4154
1ab19dec
AZ
41552013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4156
b42ad38d 4157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4158
176b0c79
JM
41592013-11-30 Joseph Myers <joseph@codesourcery.com>
4160
4161 * math/gen-auto-libm-tests.c (test_functions): Add more
4162 single-argument functions.
4163 (special_fill_pi_2): New function.
4164 (special_fill_minus_pi_2): Likewise.
4165 (special_fill_pi_6): Likewise.
4166 (special_fill_minus_pi_6): Likewise.
4167 (special_fill_pi_3): Likewise.
4168 (special_fill_2pi_3): Likewise.
4169 (special_fill_e): Likewise.
4170 (special_fill_1_e): Likewise.
4171 (special_fill_e_minus_1): Likewise.
4172 (special_real_inputs): Add more special inputs.
4173 (output_for_one_input_case): Do not require ERANGE on underflow to
4174 zero if round-to-nearest result does not underflow to zero, unless
4175 exact results required.
4176 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4177 atan, atanh, cbrt, cos and cosh.
4178 * math/auto-libm-test-out: Regenerated.
4179 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4180 (acos_tonearest_test_data): Likewise.
4181 (acos_towardzero_test_data): Likewise.
4182 (acos_downward_test_data): Likewise.
4183 (acos_upward_test_data): Likewise.
4184 (acosh_test_data): Likewise.
4185 (asin_test_data): Likewise.
4186 (asin_tonearest_test_data): Likewise.
4187 (asin_towardzero_test_data): Likewise.
4188 (asin_upward_test_data): Likewise.
4189 (asinh_test_data): Likewise.
4190 (atan_test_data): Likewise.
4191 (atanh_test_data): Likewise.
4192 (cbrt_test_data): Likewise.
4193 (cos_test_data): Likewise.
4194 (cos_tonearest_test_data): Likewise.
4195 (cos_towardzero_test_data): Likewise.
4196 (cos_downward_test_data): Likewise.
4197 (cos_upward_test_data): Likewise.
4198 (cosh_test_data): Likewise.
4199 (cosh_tonearest_test_data): Likewise.
4200 (cosh_towardzero_test_data): Likewise.
4201 (cosh_downward_test_data): Likewise.
4202 (cosh_upward_test_data): Likewise.
4203 * sysdeps/i386/fpu/libm-test-ulps: Update.
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4205
ffb536d0
JM
42062013-11-29 Joseph Myers <joseph@codesourcery.com>
4207
2a77a467
JM
4208 [BZ #6787]
4209 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4210 * math/w_exp10f.c (__exp10f): Likewise.
4211 * math/w_exp10l.c (__exp10l): Likewise.
4212 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4213 errno settings in existing tests.
4214
ea3bc4e8
JM
4215 [BZ #14032]
4216 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4217 precision control set to double precision.
4218 * sysdeps/i386/fpu/w_sqrt.c: New file.
4219 * math/auto-libm-test-in: Add more tests.
4220 * math/auto-libm-test-out: Update.
4221
0712c9d8
JM
4222 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4223 (sqrt_test_tonearest): New function.
4224 (sqrt_towardzero_test_data): New variable.
4225 (sqrt_test_towardzero): New function.
4226 (sqrt_downward_test_data): New variable.
4227 (sqrt_test_downward): New function.
4228 (sqrt_upward_test_data): New variable.
4229 (sqrt_test_upward): New function.
4230 (main): Call the new functions.
4231
ffb536d0
JM
4232 * math/gen-auto-libm-tests.c: New file.
4233 * math/auto-libm-test-in: Likewise.
4234 * math/auto-libm-test-out: New generated file.
4235 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4236 variables.
4237 (%beautify): Add generated representations of zero.
4238 (top level): Set $auto_input and call parse_auto_input.
4239 (beautify): Remove trailing "f" from hex float constants.
4240 (parse_args): Handle XFAIL_TEST.
4241 (convert_condition): New function.
4242 (or_value): Likewise.
4243 (or_cond_value): Likewise.
4244 (generate_testfile): Handle AUTO_TESTS_* lines.
4245 (parse_auto_input): New function.
4246 * math/libm-test.inc (XFAIL_TEST): New macro.
4247 (ERRNO_UNCHANGED): Update value.
4248 (ERRNO_EDOM): Likewise.
4249 (ERRNO_ERANGE): Likewise.
4250 (IGNORE_RESULT): Likewise.
4251 (TEST_COND_flt_32): New macro.
4252 (TEST_COND_dbl_64): Likewise.
4253 (TEST_COND_ldbl_96_intel): Likewise.
4254 (TEST_COND_ldbl_96_m68k): Likewise.
4255 (TEST_COND_ldbl_128): Likewise.
4256 (TEST_COND_ldbl_128ibm): Likewise.
4257 (TEST_COND_long32): Likewise.
4258 (TEST_COND_long64): Likewise.
4259 (TEST_COND_before_rounding): Likewise.
4260 (TEST_COND_after_rounding): Likewise.
4261 (enable_test): Handle XFAIL_TEST flag.
4262 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4263 with finite results.
4264 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4265 auto-libm-test-out.
4266
acd98a8e
AK
42672013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4268 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4269
4270 [BZ #16214]
4271 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4272 __tls_get_addr_internal instead of __tls_get_offset in order to
4273 avoid GOT pointer dependency. Make rtld export
4274 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4275 __tls_get_addr since we are a __tls_get_offset platform.
4276 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4277 GOT pointer being set up before.
4278 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4279
3c1c46a6
JM
42802013-11-28 Joseph Myers <joseph@codesourcery.com>
4281
7475aef5
JM
4282 * manual/math.texi (Errors in Math Functions): Document accuracy
4283 goals.
4284
8bca7cd8
JM
4285 [BZ #15004]
4286 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4287 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4292 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4302
91a1f3fe
JM
4303 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4304 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4305 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4306 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4307 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4308 Likewise.
4309 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4310 Likewise.
4311 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4312 Likewise.
4313 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4314 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4315 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4316 atomic-feupdateenv and flt-rounds.
4317 * sysdeps/powerpc/nofpu/Versions (libc): Add
4318 __atomic_feholdexcept, __atomic_feclearexcept,
4319 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4320 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4321 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4322 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4323 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4324 here.
4325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4326 Update.
4327
c5df7609
JM
4328 * manual/arith.texi (FP Exceptions): Document that exceptions may
4329 not be raised when matherr is used.
4330 (Math Error Reporting): Document overflow in directed rounding
4331 modes. Document that errno may not be set when finite values are
4332 returned on overflow. Document intent to set errno on underflow
4333 only for underflow to zero.
4334
3c1c46a6
JM
4335 [BZ #16271]
4336 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4337 round-to-nearest then adjust result for other rounding modes.
4338 * include/fenv.h (fegetround): Use libm_hidden_proto.
4339 * math/fegetround.c (fegetround): Use libm_hidden_def.
4340 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4341 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4342 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4343 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4344 Likewise.
4345 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4346 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4347 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4348 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4349
5a4c6d53
SP
43502013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4351
4352 [BZ #16077]
4353 * nss/Versions (libnss_files): Add
4354 _nss_files_gethostbyname3_r.
4355 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
4356 New function.
4357 (HOST_DB_LOOKUP): Remove macro.
4358 (_nss_files_gethostbyname_r): Implement function without the
4359 HOST_DB_LOOKUP macro.
4360 (_nss_files_gethostbyname2_r): Likewise.
4361
897b98ba
OB
43622013-11-28 Ondřej Bílka <neleai@seznam.cz>
4363
4364 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
4365
6f476861
UB
43662013-11-26 Uros Bizjak <ubizjak@gmail.com>
4367
4368 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
4369 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
4370 warning.
4371
bd12ab55
AZ
43722013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4373
4374 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
4375 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
4376 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4377 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4378 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
4379 __fe_nomask_env_priv and attribute_hidden.
4380 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
4381 (libc_feupdateenv_test_ppc): Likewise.
4382 (libc_feresetround_ppc): Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4384 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
4385 compat_symbol macro.
4386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4387 (__fe_nomask_env): Likewise.
4388 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
4389
52bb6543
OB
43902013-11-26 Ondřej Bílka <neleai@seznam.cz>
4391
4392 * string/Makefile: Remove ifunc tests.
4393 * string/test-string.h: Define TEST_IFUNC.
4394 * string/test-bcopy-ifunc.c: Remove.
4395 * string/test-bzero-ifunc.c: Likewise.
4396 * string/test-memccpy-ifunc.c: Likewise.
4397 * string/test-memchr-ifunc.c: Likewise.
4398 * string/test-memcmp-ifunc.c: Likewise.
4399 * string/test-memcpy-ifunc.c: Likewise.
4400 * string/test-memmem-ifunc.c: Likewise.
4401 * string/test-memmove-ifunc.c: Likewise.
4402 * string/test-mempcpy-ifunc.c: Likewise.
4403 * string/test-memrchr-ifunc.c: Likewise.
4404 * string/test-memset-ifunc.c: Likewise.
4405 * string/test-rawmemchr-ifunc.c: Likewise.
4406 * string/test-stpcpy-ifunc.c: Likewise.
4407 * string/test-stpncpy-ifunc.c: Likewise.
4408 * string/test-strcasecmp-ifunc.c: Likewise.
4409 * string/test-strcasestr-ifunc.c: Likewise.
4410 * string/test-strcat-ifunc.c: Likewise.
4411 * string/test-strchr-ifunc.c: Likewise.
4412 * string/test-strchrnul-ifunc.c: Likewise.
4413 * string/test-strcmp-ifunc.c: Likewise.
4414 * string/test-strcpy-ifunc.c: Likewise.
4415 * string/test-strcspn-ifunc.c: Likewise.
4416 * string/test-strlen-ifunc.c: Likewise.
4417 * string/test-strncasecmp-ifunc.c: Likewise.
4418 * string/test-strncat-ifunc.c: Likewise.
4419 * string/test-strncmp-ifunc.c: Likewise.
4420 * string/test-strncpy-ifunc.c: Likewise.
4421 * string/test-strnlen-ifunc.c: Likewise.
4422 * string/test-strpbrk-ifunc.c: Likewise.
4423 * string/test-strrchr-ifunc.c: Likewise.
4424 * string/test-strspn-ifunc.c: Likewise.
4425 * string/test-strstr-ifunc.c: Likewise.
4426
ab260039 44272013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
4428
4429 * benchtests/Makefile: Remove ifunc tests.
4430 * benchtests/bench-string.h: Define TEST_IFUNC.
4431 * benchtests/bench-bcopy-ifunc.c: Remove.
4432 * benchtests/bench-bzero-ifunc.c: Likewise.
4433 * benchtests/bench-memccpy-ifunc.c: Likewise.
4434 * benchtests/bench-memchr-ifunc.c: Likewise.
4435 * benchtests/bench-memcmp-ifunc.c: Likewise.
4436 * benchtests/bench-memcpy-ifunc.c: Likewise.
4437 * benchtests/bench-memmem-ifunc.c: Likewise.
4438 * benchtests/bench-memmove-ifunc.c: Likewise.
4439 * benchtests/bench-mempcpy-ifunc.c: Likewise.
4440 * benchtests/bench-memrchr-ifunc.c: Likewise.
4441 * benchtests/bench-memset-ifunc.c: Likewise.
4442 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
4443 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
4444 * benchtests/bench-stpcpy-ifunc.c: Likewise.
4445 * benchtests/bench-stpncpy-ifunc.c: Likewise.
4446 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
4447 * benchtests/bench-strcasestr-ifunc.c: Likewise.
4448 * benchtests/bench-strcat-ifunc.c: Likewise.
4449 * benchtests/bench-strchr-ifunc.c: Likewise.
4450 * benchtests/bench-strchrnul-ifunc.c: Likewise.
4451 * benchtests/bench-strcmp-ifunc.c: Likewise.
4452 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
4453 * benchtests/bench-strcpy-ifunc.c: Likewise.
4454 * benchtests/bench-strcspn-ifunc.c: Likewise.
4455 * benchtests/bench-strlen-ifunc.c: Likewise.
4456 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
4457 * benchtests/bench-strncat-ifunc.c: Likewise.
4458 * benchtests/bench-strncmp-ifunc.c: Likewise.
4459 * benchtests/bench-strncpy-ifunc.c: Likewise.
4460 * benchtests/bench-strnlen-ifunc.c: Likewise.
4461 * benchtests/bench-strpbrk-ifunc.c: Likewise.
4462 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 4463 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
4464 * benchtests/bench-strspn-ifunc.c: Likewise.
4465 * benchtests/bench-strstr-ifunc.c: Likewise.
4466
44672013-11-26 Ondřej Bílka <neleai@seznam.cz>
4468
ab260039
OB
4469 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
4470
d1d9eaf4 44712013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 4472
d1d9eaf4
OB
4473 * resolv/netdb.h: Use __glibc_reserved instead __unused.
4474 * rt/aio.h: Likewise.
4475 * sysdeps/gnu/bits/utmp.h: Likewise.
4476 * sysdeps/gnu/bits/utmpx.h: Likewise.
4477 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4478 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
4479 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
4480 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
4481 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
4482 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
4483 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
4484 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
4485 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
4486 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
4487 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
4488 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
4489 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
4491 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4492 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
4493 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
4494 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
4495 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
4496 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
4497 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
4498 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
4500 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4501 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
4502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4503 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
4504 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
4505 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
4507 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
4508 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
4509 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
4510 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4511 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
4512 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
4513 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
4514 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
4515 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
4516 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
4517 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4518 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4519
a7624ed9
CD
45202013-11-25 Carlos O'Donell <carlos@redhat.com>
4521
4522 [BZ #16245]
4523 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
4524 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
4525
63cfe52b
JM
45262013-11-25 Joseph Myers <joseph@codesourcery.com>
4527
4528 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
4529 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4530 Likewise.
4531
41e8926a
AZ
45322013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4533
4534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
4535 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
4536 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
4537 (__fesetround): Remove define.
4538 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
4539 rounding and exceptions handling.
4540 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
4541 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
4542 (__fe_nomask_env): Likewise.
4543 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
4544 __fegetround instead of fegetround.
4545 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4546 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4547
6851bd4d
RM
45482013-11-21 Roland McGrath <roland@hack.frob.com>
4549
070906ff
RM
4550 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
4551 it's there.
4552
6851bd4d
RM
4553 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4554
84ae135d
MI
45552013-11-21 Meador Inge <meadori@codesourcery.com>
4556
4557 [BZ #11157]
4558 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
4559 (encrypt_r): Likewise.
4560 * malloc/obstack.h (obstack_free): Likewise.
4561 * posix/unistd.h (encrypt): Likewise.
4562
daf75146
GM
45632013-11-21 Guy Martin <gmsoft@tuxicoman.be>
4564
4565 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
4566 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
4567 DL_CALL_DT_FINI() that call the functions directly.
4568 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
4569 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
4570 * elf/dl-fini.c: Likewise.
4571
10ad46bc
OB
45722013-11-20 Ondřej Bílka <neleai@seznam.cz>
4573
4574 * malloc/hooks.c (memalign_check): Add alignment rounding.
4575 * malloc/malloc.c (_mid_memalign): New function.
4576 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
4577 Implement by calling _mid_memalign.
4578 * manual/probes.texi (Memory Allocation Probes): Remove
4579 memory_valloc_retry and memory_pvalloc_retry.
4580
f3fd2628
SP
45812013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4582
4712799f
SP
4583 * locale/programs/locarchive.c (open_archive): Add const
4584 qualifier to ARCHIVEFNAME and copy default fname to
4585 DEFAULT_FNAME.
4586
0417b20f
SP
4587 [BZ #15601]
4588 * libio/tst-widetext.input: Rename Oriya to Odia.
4589 * locale/iso-639.def: Likewise.
4590
f3fd2628
SP
4591 * manual/probes.texi (Mathematical Function Probes): Add
4592 documentation for sin, cos, asin and acos probes.
4593 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
4594 (__sin32): Add slowasin probe.
4595 (__cos32): Add slowacos probe.
4596 (__mpsin): Add slowsin probe.
4597 (__mpcos): Add slowcos probe.
4598
73c1ce4f
JM
45992013-11-19 Joseph Myers <joseph@codesourcery.com>
4600
4601 [BZ #15483]
4602 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
4603 thread-local __sim_exceptions_thread and global
4604 __sim_exceptions_global.
4605 (__sim_disabled_exceptions): Change to thread-local
4606 __sim_disabled_exceptions_thread and global
4607 __sim_disabled_exceptions_global.
4608 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4609 and global __sim_round_mode_global.
4610 (__simulate_exceptions): Use thread-local floating-point state and
4611 set global state from it as needed.
4612 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
4613 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
4614 __sim_round_mode_thread.
4615 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
4616 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
4617 and global __sim_exceptions_global.
4618 (__sim_disabled_exceptions): Change to thread-local
4619 __sim_disabled_exceptions_thread and global
4620 __sim_disabled_exceptions_global.
4621 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
4622 and global __sim_round_mode_global.
4623 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
4624 (SIM_SET_GLOBAL): Likewise.
4625 * sysdeps/powerpc/soft-fp/sfp-machine.h
4626 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
4627 __sim_round_mode_thread.
4628 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
4629 __sim_disabled_exceptions_thread.
4630 (__sim_exceptions): Change to __sim_exceptions_thread.
4631 (__sim_disabled_exceptions): Change to
4632 __sim_disabled_exceptions_thread.
4633 (__sim_round_mode): Change to __sim_round_mode_thread.
4634 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
4635 thread-local floating-point state and set global state from it as
4636 needed.
4637 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
4638 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
4639 (__sim_disabled_exceptions): Remove extern declaration.
4640 (feenableexcept): Use thread-local floating-point state and set
4641 global state from it as needed.
4642 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
4643 extern declaration.
4644 (__sim_disabled_exceptions): Likewise.
4645 (__sim_round_mode): Likewise.
4646 (__fegetenv): Use thread-local floating-point state.
4647 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
4648 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4649 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
4650 floating-point state and set global state from it as needed.
4651 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
4652 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4653 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
4654 Likewise.
4655 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4656 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
4657 Likewise.
4658 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
4659 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
4660 Use __sim_round_mode_thread.
4661 * math/test-fenv-tls.c: New file.
4662 * math/Makefile (tests): Add test-fenv-tls.
4663 ($(objpfx)test-fenv-tls): Depend on
4664 $(common-objpfx)nptl/libpthread.so.
4665
b5449b12
AS
46662013-11-19 Andreas Schwab <schwab@suse.de>
4667
4668 * locale/programs/locale.c (show_info): Decode wordarray elements.
4669 * locale/categories.def (LC_MONETARY): Add element for
4670 _NL_MONETARY_CRNCYSTR.
4671 * locale/C-monetary.c (conversion_rate): New variable.
4672 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4673 element.
4674
e186536b
CM
46752013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4676
4677 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4678 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4679
5c349950
PP
46802013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4681
4682 * elf/Makefile (tst-auxv): New test.
4683 * elf/tst-auxv.c: New
4684 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4685
699df45b
JM
46862013-11-18 Joseph Myers <joseph@codesourcery.com>
4687
4688 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4689 (hidden_proto): Caller changed.
4690 (hidden_tls_proto): New macro.
4691 (libc_hidden_tls_proto): Likewise.
4692 (rtld_hidden_tls_proto): Likewise.
4693 (libm_hidden_tls_proto): Likewise.
4694 (libresolv_hidden_tls_proto): Likewise.
4695 (librt_hidden_tls_proto): Likewise.
4696 (libdl_hidden_tls_proto): Likewise.
4697 (libnss_files_hidden_tls_proto): Likewise.
4698 (libnsl_hidden_tls_proto): Likewise.
4699 (libnss_nisplus_hidden_tls_proto): Likewise.
4700 (libutil_hidden_tls_proto): Likewise.
4701
b7589107
OB
47022013-11-18 Ondřej Bílka <neleai@seznam.cz>
4703
4704 [BZ #10253]
4705 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4706 (decompose_rpath): Defer expansion to fillin_rpath.
4707 (_dl_init_paths): Pass linkmap to fillin_rpath.
4708
250c23bd
RS
47092013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4710
4711 * benchtests/Makefile: Add strsep.
4712 * benchtests/bench-strsep.c: New file: strsep benchtest.
4713 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4714
a7931fcf
AS
47152013-11-18 Andreas Schwab <schwab@suse.de>
4716
4717 * locale/programs/locale.c (show_info) [case byte]: Check for
4718 '\377' instead of '\177'.
4719 * locale/C-monetary.c (not_available): Always use "\377".
4720 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4721 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4722 detect unavailable sign_posn locale elements.
4723 * locale/localeconv.c (__localeconv): For grouping and
4724 mon_grouping handle "\177" and "\377" like no grouping.
4725 (INT_ELEM): New macro. Use it to set all numeric members.
4726 * locale/programs/ld-monetary.c (monetary_read)
4727 <tok_mon_grouping>: Normalize single -1 to the empty string.
4728 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4729 Likewise.
4730
728dab0e
OB
47312013-11-07 Ondřej Bílka <neleai@seznam.cz>
4732
4733 [BZ #16055]
4734 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4735 when we match (nil).
4736 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4737
66294491
JM
47382013-11-16 Joseph Myers <joseph@codesourcery.com>
4739
ce665817
JM
4740 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4741 (NO_TEST_INLINE): Update value.
4742 (ERRNO_UNCHANGED): Likewise.
4743 (ERRNO_EDOM): Likewise.
4744 (ERRNO_ERANGE): Likewise.
4745 (IGNORE_RESULT): Likewise.
4746 (check_float_internal): Check signs of NaN results if
4747 TEST_NAN_SIGN used.
4748 (check_complex): Pass TEST_NAN_SIGN flag through to second
4749 check_float_internal call.
4750 (copysign_test_data): Add tests with quiet NaNs as second
4751 argument. Use TEST_NAN_SIGN.
4752 (fabs_test_data): Add test of negative quiet NaN argument. Use
4753 TEST_NAN_SIGN.
4754 (signbit_test_data): Add tests of quiet NaN argument.
4755 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4756
ee1466a9
JM
4757 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4758 $ignore_result.
4759 (parse_args): Handle function results specified as IGNORE.
4760 * math/libm-test.inc (IGNORE_RESULT): New macro.
4761 (check_float_internal): Do not check numerical result if flag
4762 IGNORE_RESULT set.
4763 (check_complex): Pass through IGNORE_RESULT to second
4764 check_float_internal call.
4765 (check_int): Do not check numerical result if flag IGNORE_RESULT
4766 set.
4767 (check_long): Likewise.
4768 (check_bool): Likewise.
4769 (check_longlong): Likewise.
4770 (lrint_test_data): Add tests of infinite and NaN arguments.
4771 (lrint_tonearest_test_data): Likewise.
4772 (lrint_towardzero_test_data): Likewise.
4773 (lrint_downward_test_data): Likewise.
4774 (lrint_upward_test_data): Likewise.
4775 (llrint_test_data): Likewise.
4776 (llrint_tonearest_test_data): Likewise.
4777 (llrint_towardzero_test_data): Likewise.
4778 (llrint_downward_test_data): Likewise.
4779 (llrint_upward_test_data): Likewise.
4780 (lround_test_data): Likewise.
4781 (llround_test_data): Likewise.
4782
14407b7e
JM
4783 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4784 (ERRNO_UNCHANGED): Update value.
4785 (ERRNO_EDOM): Likewise.
4786 (ERRNO_ERANGE): Likewise.
4787 (NO_TEST_INLINE_FLOAT): New macro.
4788 (NO_TEST_INLINE_DOUBLE): Likewise.
4789 (enable_test): New function.
4790 (RUN_TEST_f_f): Check enable_test before running test.
4791 (RUN_TEST_2_f): Likewise.
4792 (RUN_TEST_fff_f): Likewise.
4793 (RUN_TEST_c_f): Likewise.
4794 (RUN_TEST_f_f1): Likewise.
4795 (RUN_TEST_fF_f1): Likewise.
4796 (RUN_TEST_fI_f1): Likewise.
4797 (RUN_TEST_ffI_f1): Likewise.
4798 (RUN_TEST_c_c): Likewise.
4799 (RUN_TEST_cc_c): Likewise.
4800 (RUN_TEST_f_i): Likewise.
4801 (RUN_TEST_f_i_tg): Likewise.
4802 (RUN_TEST_ff_i_tg): Likewise.
4803 (RUN_TEST_f_b): Likewise.
4804 (RUN_TEST_f_b_tg): Likewise.
4805 (RUN_TEST_f_l): Likewise.
4806 (RUN_TEST_f_L): Likewise.
4807 (RUN_TEST_fFF_11): Likewise.
4808 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4809 conditionals.
4810 (cosh_test_data): Likewise.
4811 (exp_test_data): Likewise.
4812 (expm1_test_data): Likewise.
4813 (hypot_test_data): Likewise.
4814 (pow_test_data): Likewise.
4815 (sinh_test_data): Likewise.
4816 (tanh_test_data): Likewise.
4817 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4818 flags argument.
4819
ca07f197
JM
4820 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4821 tests with quiet NaN input and output.
4822 (acosh_test_data): Likewise.
4823 (asin_test_data): Likewise.
4824 (asinh_test_data): Likewise.
4825 (atan_test_data): Likewise.
4826 (atanh_test_data): Likewise.
4827 (atan2_test_data): Likewise.
4828 (cbrt_test_data): Likewise.
4829 (cos_test_data): Likewise.
4830 (cosh_test_data): Likewise.
4831 (erf_test_data): Likewise.
4832 (erfc_test_data): Likewise.
4833 (exp_test_data): Likewise.
4834 (exp10_test_data): Likewise.
4835 (exp2_test_data): Likewise.
4836 (expm1_test_data): Likewise.
4837 (hypot_test_data): Likewise.
4838 (j0_test_data): Likewise.
4839 (j1_test_data): Likewise.
4840 (jn_test_data): Likewise.
4841 (lgamma_test_data): Likewise.
4842 (log_test_data): Likewise.
4843 (log10_test_data): Likewise.
4844 (log1p_test_data): Likewise.
4845 (log2_test_data): Likewise.
4846 (pow_test_data): Likewise.
4847 (scalb_test_data): Likewise.
4848 (sin_test_data): Likewise.
4849 (sincos_test_data): Likewise.
4850 (sinh_test_data): Likewise.
4851 (tan_test_data): Likewise.
4852 (tanh_test_data): Likewise.
4853 (tgamma_test_data): Likewise.
4854 (y0_test_data): Likewise.
4855 (y1_test_data): Likewise.
4856 (yn_test_data): Likewise.
4857
66294491
JM
4858 [BZ #16167]
4859 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4860 argument being NaN and avoid computations with second argument in
4861 that case.
4862 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4863 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4864 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4865
1820b143
CL
48662013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4867
4868 * locale/iso-639.def: Add Chitwani Tharu (the).
4869
714bd261
AS
48702013-11-14 Andreas Schwab <schwab@suse.de>
4871
4872 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4873 word instead of empty string.
4874
7ab44563
AZ
48752013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4876
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4878 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4880 (__fe_nomask_env): Likewise.
4881
e8470ea2
SE
48822013-11-13 Steve Ellcey <sellcey@mips.com>
4883
4884 * benchtests/bench-timing.h: Include time.h.
4885
17c1d9f0
L
48862013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4887
4888 [BZ #15997]
4889 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4890 to 3.4.0 for x32.
4891 * sysdeps/unix/sysv/linux/configure: Regenerated.
4892
9310c284
JM
48932013-11-13 Joseph Myers <joseph@codesourcery.com>
4894
4895 [BZ #16151]
4896 * stdlib/strtod_l.c (round_and_return): Do not consider
4897 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4898 exponent one less than half the least subnormal exponent.
4899 * stdlib/test-strtod-round-data: Add more tests.
4900 * stdlib/tst-strtod-round.c (tests): Regenerated.
4901
7a2ad8cf
AZ
49022013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4903
4904 [BZ #14143]
4905 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4906 (__fe_mask_env): Likewise.
4907 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4908 libm_hidden_proto and add function prototype.
4909 (__fe_mask_env): Add function prototype.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4911 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4913 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4915 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4916
50727aa7
MS
49172013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4918
b2f386c1 4919 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
4920 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4921
a615be46
MS
49222013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4923
4924 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4925 of htab_find_slot().
4926
7ddace62
DM
49272013-11-11 David S. Miller <davem@davemloft.net>
4928
4929 [BZ #16150]
4930 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4931 symbol in the non-vis3 case in static builds.
4932 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4933 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4934 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4935 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4936
9182aa67
JK
49372013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4938
4939 [BZ #387]
4940 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4941 it is empty.
4942
450a2e2d
AZ
49432013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4944
b2f386c1
SP
4945 * benchtests/Makefile: Add bench-strtod.
4946 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 4947
8ec3f656
AS
49482013-11-11 Andreas Schwab <schwab@suse.de>
4949
4950 [BZ #16153]
4951 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4952 terminating NUL in key length.
4953
76a9b998
AZ
49542013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4955
4956 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4957 Add artificial ODP entry for vDSO symbol for PPC64.
4958 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4959 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4960
e4368156
OB
49612013-11-07 Ondřej Bílka <neleai@seznam.cz>
4962
4963 [BZ #15374]
4964 * nss/getent.c (services_keys): Recognize services starting with digit.
4965
8d6bb57c
DM
49662013-11-06 David S. Miller <davem@davemloft.net>
4967
4968 [BZ #15985]
4969 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4970 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4971
e256c421
WN
49722013-11-06 Will Newton <will.newton@linaro.org>
4973
4974 * manual/memory.texi (Malloc Examples): Remove register
4975 keyword from examples.
4976
f6e12daa 49772013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 4978
f6e12daa 4979 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 4980
9d880655
AS
49812013-11-04 Joseph Myers <joseph@codesourcery.com>
4982
fd2f9486 4983 [BZ #6981]
9d880655
AS
4984 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4985 depending on [__GCC_IEC_559 > 0].
4986 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4987 depending on [__GCC_IEC_559_COMPLEX > 0].
4988
ae129d3c
CL
49892013-11-03 Chris Leonard <cjl@sugarlabs.org>
4990
4991 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4992 to iso-639.def.
4993
4a15c2a4 49942013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
4995
4996 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4997
8b35e35d
OB
49982013-11-01 Ondřej Bílka <neleai@seznam.cz>
4999
5000 [BZ #16112]
5001 * malloc/malloc (malloc_info): Do not handle first bin as
5002 special case.
5003
1d70fd6c
CL
50042013-11-01 Chris Leonard <cjl@sugarlabs.org>
5005
5006 * locale/iso-639.def: Add Central Nahuatl (nhn).
5007
8c5c2600
BH
50082013-11-01 Bruno Haible <bruno@clisp.org>
5009
5010 [BZ #7003]
5011 * manual/math.texi (BSD Random): Specify range upper bound as
5012 in POSIX.
5013
da5579c2
CL
50142013-10-31 Chris Leonard <cjl@sugarlabs.org>
5015
5016 * locale/iso-639.def: Add Meadow Mari (mhr).
5017
5d30d853
OB
50182013-10-31 Ondřej Bílka <neleai@seznam.cz>
5019
5020 [BZ #14752], [BZ #15763]
5021 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5022 Validate name.
5023 * rt/tst_shm.c: Add test for escaping directory.
5024
a4966c61
AS
50252013-10-31 Andreas Schwab <schwab@suse.de>
5026
8a43e768 5027 [BZ #15917]
a4966c61
AS
5028 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5029 followed by 'x' as part of digit sequence.
5030 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5031
28d708c4
MAP
50322013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5033
5034 [BZ #16037]
5035 * configure.ac: allow GNU Make 4.0 and greater.
5036 * configure: Regenerated.
5037
a56ee40b
WN
50382013-10-30 Will Newton <will.newton@linaro.org>
5039
5040 [BZ #16038]
5041 * malloc/hooks.c (memalign_check): Limit alignment to the
5042 maximum representable power of two.
5043 * malloc/malloc.c (__libc_memalign): Likewise.
5044 * malloc/tst-memalign.c (do_test): Add test for very
5045 large alignment values.
5046 * malloc/tst-posix_memalign.c (do_test): Likewise.
5047
c6e4925d
OB
50482013-10-30 Ondřej Bílka <neleai@seznam.cz>
5049
5050 [BZ #11087]
5051 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5052 (munmap_chunk): Likewise.
5053 (mremap_chunk): Likewise.
5054
50552013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5056
8a43e768 5057 [BZ #15799]
bbea82f7
OB
5058 * stdlib/div.c (div): Remove obsolete code.
5059 * stdlib/ldiv.c (ldiv): Likewise.
5060 * stdlib/lldiv.c (lldiv): Likewise.
5061
977f4b31
SP
50622013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5063
5064 [BZ #16071]
5065 * nss/nss_files/files-XXX.c (get_contents_ret): New
5066 enumerator.
5067 (get_contents): New function.
5068 (internal_getent): Use it. Expand size of LINEBUFLEN.
5069
cb8a6dbd
MF
50702013-10-30 Mike Frysinger <vapier@gentoo.org>
5071
5072 * configure.in: Moved to ...
5073 * configure.ac: ... here. Change reference to configure.in
5074 to configure.ac.
5075 * sysdeps/arm/preconfigure.ac: ... here.
5076 configure.in to configure.ac.
5077 * sysdeps/gnu/configure.in: Moved to ...
5078 * sysdeps/gnu/configure.ac: ... here.
5079 * sysdeps/i386/configure.in: Moved to ...
5080 * sysdeps/i386/configure.ac: ... here.
5081 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5082 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5083 * sysdeps/mach/configure.in: Moved to ...
5084 * sysdeps/mach/configure.ac: ... here.
5085 * sysdeps/mach/hurd/configure.in: Moved to ...
5086 * sysdeps/mach/hurd/configure.ac: ... here.
5087 * sysdeps/powerpc/configure.in: Moved to ...
5088 * sysdeps/powerpc/configure.ac: ... here.
5089 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5090 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5091 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5092 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5093 * sysdeps/s390/s390-32/configure.in: Moved to ...
5094 * sysdeps/s390/s390-32/configure.ac: ... here.
5095 * sysdeps/s390/s390-64/configure.in: Moved to ...
5096 * sysdeps/s390/s390-64/configure.ac: ... here.
5097 * sysdeps/sh/configure.in: Moved to ...
5098 * sysdeps/sh/configure.ac: ... here.
5099 * sysdeps/sparc/configure.in: Moved to ...
5100 * sysdeps/sparc/configure.ac: ... here.
5101 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5102 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5103 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5104 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5105 * sysdeps/x86_64/configure.in: Moved to ...
5106 * sysdeps/x86_64/configure.ac: ... here.
5107 * sysdeps/x86_64/preconfigure.in: Moved to ...
5108 * sysdeps/x86_64/preconfigure.ac: ... here.
5109 * aclocal.m4: Change reference to configure.in to configure.ac.
5110 * config.h.in: Likewise.
5111 * manual/install.texi: Likewise.
5112 * manual/maint.texi: Likewise.
5113 * Makefile: Likewise.
5114 * malloc/Makefile: Likewise.
5115 * nscd/Makefile: Likewise.
5116 * Makeconfig: Change reference to configure.in and
5117 preconfigure.in to configure.ac and preconfigure.ac
5118 respectively.
5119 * INSTALL: Regenerated.
5120 * configure: Likewise.
5121 * sysdeps/gnu/configure: Likewise.
5122 * sysdeps/i386/configure: Likewise.
5123 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5124 * sysdeps/mach/configure: Likewise.
5125 * sysdeps/mach/hurd/configure: Likewise.
5126 * sysdeps/powerpc/configure: Likewise.
5127 * sysdeps/powerpc/powerpc32/configure: Likewise.
5128 * sysdeps/powerpc/powerpc64/configure: Likewise.
5129 * sysdeps/s390/s390-32/configure: Likewise.
5130 * sysdeps/s390/s390-64/configure: Likewise.
5131 * sysdeps/sh/configure: Likewise.
5132 * sysdeps/sparc/configure: Likewise.
5133 * sysdeps/unix/sysv/linux/configure: Likewise.
5134 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5135 * sysdeps/x86_64/configure: Likewise.
5136 * sysdeps/x86_64/preconfigure: Likewise.
5137
36a4953a
AS
51382013-10-29 Andreas Schwab <schwab@suse.de>
5139
5140 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5141
c79a1204
SP
51422013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5143
dfa1b402
SP
5144 * benchtests/pow-inputs: Add new inputs.
5145
54f73d9c
SP
5146 * benchtests/exp-inputs: Add new inputs.
5147
c79a1204
SP
5148 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5149 conditional check for return value.
5150 (__cos32): Likewise.
5151
67beb545 51522013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5153
5154 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5155 to provide a boost for large inputs with word alignment.
5156 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5157 implementation based on optimized PPC64 strcpy.
5158 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5159 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5160 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5161 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5162
151659f6
OB
51632013-10-25 Ondřej Bílka <neleai@seznam.cz>
5164
482a077e 5165 [BZ #2801]
151659f6
OB
5166 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5167
10b0f26b
OB
51682013-10-25 Ondřej Bílka <neleai@seznam.cz>
5169
5170 [BZ #14876]
5171 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5172 * time/tst-strptime.c (day_tests): Add testcase.
5173
ca42d35e
OB
51742013-10-25 Ondřej Bílka <neleai@seznam.cz>
5175
482a077e 5176 [BZ #14029]
ca42d35e
OB
5177 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5178
52e6d801
FB
51792013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5180
5181 [BZ #16074]
5182 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5183 MAP_FAILED on error.
5184
7cbcdb36
SP
51852013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5186
5187 [BZ #16072]
5188 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5189 heap for large requests.
5190
894f3f10
AM
51912013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5192
5193 [BZ #9954]
5194 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5195 result if the result has no associated interface.
5196 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5197 interface for all 127.X.Y.Z addresses.
5198
b85545a6
CL
51992013-10-24 Chris Leonard <cjl@sugarlabs.org>
5200
5201 * locale/iso-639.def: Add Ligurian (lij)
5202
d1f23d46
OB
52032013-10-21 Ondřej Bílka <neleai@seznam.cz>
5204
5205 [BZ #15825]
5206 * sunrpc/rpc_main.c: Document rpcgen -5.
5207
4db5b08f
MS
52082013-10-19 Michael Stahl <mstahl@redhat.com>
5209
5210 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5211
a471e96a
OB
52122013-10-19 Ondřej Bílka <neleai@seznam.cz>
5213
d1f23d46 5214 [BZ #10278]
a471e96a
OB
5215 * posix/glob.c: Match only directories when trailing slash is present.
5216 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5217 (main): Add testcase.
5218
45c30c61
OB
52192013-10-19 Ondřej Bílka <neleai@seznam.cz>
5220
5221 [BZ #15670]
5222 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5223
484c12fb
CD
52242013-10-18 Carlos O'Donell <carlos@redhat.com>
5225
3d7dc513
CD
5226 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5227 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5228 AUTH_DES and cindex for FIPS 140-2.
5229 (DES Encryption): Add cindex FIPS 46-3.
5230
484c12fb
CD
5231 * locale/locarchive.h (struct locarhandle): Add fname.
5232 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5233 if an optional argument was specified to --list-archive,
5234 otherwise NULL.
5235 * locale/programs/locarchive.c (show_archive_content): Take new
5236 argument fname and pass it via ah.fname to open_archive.
5237 * locale/programs/localedef.h: Update decl.
5238 (open_archive): If AH->fname is non-null, open that file
5239 rather than the default file name, and don't ignore ENOENT.
5240 (create_archive): Set AH.fname to NULL.
5241 (delete_locales_from_archive): Likewise.
5242 (add_locales_to_archive): Likewise.
5243 * locale/programs/locfile.c (write_all_categories): Likewise.
5244
3c8325fb
JM
52452013-10-18 Joseph Myers <joseph@codesourcery.com>
5246 Aldy Hernandez <aldyh@redhat.com>
5247
5248 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5249 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5250 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5251 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5252 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5253 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5254 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5255 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5256 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5257 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5258 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5259 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5260 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5261 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5262 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5263 Likewise.
5264 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5265 Likewise.
5266 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5267 Likewise.
5268 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5269 Likewise.
5270 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5271 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5272 Likewise.
5273 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5274 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5275 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5276 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5277 Likewise.
5278 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5279 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5280 * sysdeps/powerpc/preconfigure: Likewise.
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5282 Likewise.
5283 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5284 Replace contents of file by #include of <fenv_libc.h>.
5285 * sysdeps/powerpc/soft-fp/sfp-machine.h
5286 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5287 and <sys/prctl.h>.
5288 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5289 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5290 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5291 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5292 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5293 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5295 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5296 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5297 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5298 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5299 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5301 Allow copysignl PLT reference to be missing.
5302
5abe0682
RS
53032013-10-18 Richard Sandiford <richard@codesourcery.com>
5304 Joseph Myers <joseph@codesourcery.com
5305
5306 [BZ #15948]
5307 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5308 single character.
5309 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5310
c7738d08
SP
53112013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5312
5313 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5314 * elf/tst-tls1.c: Likewise.
5315 * elf/tst-tls10.h: Likewise.
5316 * elf/tst-tls14.c: Likewise.
5317 * elf/tst-tls2.c: Likewise.
5318 * elf/tst-tls3.c: Likewise.
5319 * elf/tst-tls4.c: Likewise.
5320 * elf/tst-tls5.c: Likewise.
5321 * elf/tst-tls6.c: Likewise.
5322 * elf/tst-tls7.c: Likewise.
5323 * elf/tst-tls8.c: Likewise.
5324 * elf/tst-tls9.c: Likewise.
5325 * elf/tst-tlsmod1.c: Likewise.
5326 * elf/tst-tlsmod13.c: Likewise.
5327 * elf/tst-tlsmod13a.c: Likewise.
5328 * elf/tst-tlsmod14a.c: Likewise.
5329 * elf/tst-tlsmod16a.c: Likewise.
5330 * elf/tst-tlsmod16b.c: Likewise.
5331 * elf/tst-tlsmod2.c: Likewise.
5332 * elf/tst-tlsmod3.c: Likewise.
5333 * elf/tst-tlsmod4.c: Likewise.
5334 * elf/tst-tlsmod5.c: Likewise.
5335 * elf/tst-tlsmod6.c: Likewise.
5336
0bfcf2c7
OB
53372013-10-18 Ondřej Bílka <neleai@seznam.cz>
5338
5339 [BZ #12486]
5340 * malloc/malloc.c: remove checks for statistics.
5341
264aad1e
OB
53422013-10-17 Ondřej Bílka <neleai@seznam.cz>
5343
5344 [BZ #15277]
5345 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5346 * inet/tst-network.c: Add testcase.
5347
b957ced8
AS
53482013-10-17 Andreas Schwab <schwab@suse.de>
5349
5350 [BZ #15218]
5351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
5352 to determine canonical name.
5353
c5d5d574
OB
53542013-10-17 Ondřej Bílka <neleai@seznam.cz>
5355
5356 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
5357 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
5358 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5362 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5364 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5367 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5369 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
5375 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5378 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5379 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
5380 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
5381 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5411 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
5412 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5414
e5c2c2d0
JM
54152013-10-17 Joseph Myers <joseph@codesourcery.com>
5416
5417 [BZ #16041]
5418 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
5419 make result into a quiet NaN.
5420
51ca9e29
JM
54212013-10-16 Joseph Myers <joseph@codesourcery.com>
5422
5423 * soft-fp/adddf3.c: Fix horizontal whitespace.
5424 * soft-fp/addsf3.c: Likewise.
5425 * soft-fp/addtf3.c: Likewise.
5426 * soft-fp/divdf3.c: Likewise.
5427 * soft-fp/divsf3.c: Likewise.
5428 * soft-fp/divtf3.c: Likewise.
5429 * soft-fp/double.h: Likewise.
5430 * soft-fp/eqdf2.c: Likewise.
5431 * soft-fp/eqsf2.c: Likewise.
5432 * soft-fp/eqtf2.c: Likewise.
5433 * soft-fp/extenddftf2.c: Likewise.
5434 * soft-fp/extended.h: Likewise.
5435 * soft-fp/extendsfdf2.c: Likewise.
5436 * soft-fp/extendsftf2.c: Likewise.
5437 * soft-fp/extendxftf2.c: Likewise.
5438 * soft-fp/fixdfdi.c: Likewise.
5439 * soft-fp/fixdfsi.c: Likewise.
5440 * soft-fp/fixdfti.c: Likewise.
5441 * soft-fp/fixsfdi.c: Likewise.
5442 * soft-fp/fixsfsi.c: Likewise.
5443 * soft-fp/fixsfti.c: Likewise.
5444 * soft-fp/fixtfdi.c: Likewise.
5445 * soft-fp/fixtfsi.c: Likewise.
5446 * soft-fp/fixtfti.c: Likewise.
5447 * soft-fp/fixunsdfdi.c: Likewise.
5448 * soft-fp/fixunsdfsi.c: Likewise.
5449 * soft-fp/fixunsdfti.c: Likewise.
5450 * soft-fp/fixunssfdi.c: Likewise.
5451 * soft-fp/fixunssfsi.c: Likewise.
5452 * soft-fp/fixunssfti.c: Likewise.
5453 * soft-fp/fixunstfdi.c: Likewise.
5454 * soft-fp/fixunstfsi.c: Likewise.
5455 * soft-fp/fixunstfti.c: Likewise.
5456 * soft-fp/floatdidf.c: Likewise.
5457 * soft-fp/floatdisf.c: Likewise.
5458 * soft-fp/floatditf.c: Likewise.
5459 * soft-fp/floatsidf.c: Likewise.
5460 * soft-fp/floatsisf.c: Likewise.
5461 * soft-fp/floatsitf.c: Likewise.
5462 * soft-fp/floattidf.c: Likewise.
5463 * soft-fp/floattisf.c: Likewise.
5464 * soft-fp/floattitf.c: Likewise.
5465 * soft-fp/floatundidf.c: Likewise.
5466 * soft-fp/floatundisf.c: Likewise.
5467 * soft-fp/floatunditf.c: Likewise.
5468 * soft-fp/floatunsidf.c: Likewise.
5469 * soft-fp/floatunsisf.c: Likewise.
5470 * soft-fp/floatunsitf.c: Likewise.
5471 * soft-fp/floatuntidf.c: Likewise.
5472 * soft-fp/floatuntisf.c: Likewise.
5473 * soft-fp/floatuntitf.c: Likewise.
5474 * soft-fp/fmadf4.c: Likewise.
5475 * soft-fp/fmasf4.c: Likewise.
5476 * soft-fp/fmatf4.c: Likewise.
5477 * soft-fp/gedf2.c: Likewise.
5478 * soft-fp/gesf2.c: Likewise.
5479 * soft-fp/getf2.c: Likewise.
5480 * soft-fp/ledf2.c: Likewise.
5481 * soft-fp/lesf2.c: Likewise.
5482 * soft-fp/letf2.c: Likewise.
5483 * soft-fp/muldf3.c: Likewise.
5484 * soft-fp/mulsf3.c: Likewise.
5485 * soft-fp/multf3.c: Likewise.
5486 * soft-fp/negdf2.c: Likewise.
5487 * soft-fp/negsf2.c: Likewise.
5488 * soft-fp/negtf2.c: Likewise.
5489 * soft-fp/op-1.h: Likewise.
5490 * soft-fp/op-2.h: Likewise.
5491 * soft-fp/op-4.h: Likewise.
5492 * soft-fp/op-8.h: Likewise.
5493 * soft-fp/op-common.h: Likewise.
5494 * soft-fp/quad.h: Likewise.
5495 * soft-fp/single.h: Likewise.
5496 * soft-fp/soft-fp.h: Likewise.
5497 * soft-fp/sqrtdf2.c: Likewise.
5498 * soft-fp/sqrtsf2.c: Likewise.
5499 * soft-fp/sqrttf2.c: Likewise.
5500 * soft-fp/subdf3.c: Likewise.
5501 * soft-fp/subsf3.c: Likewise.
5502 * soft-fp/subtf3.c: Likewise.
5503 * soft-fp/truncdfsf2.c: Likewise.
5504 * soft-fp/trunctfdf2.c: Likewise.
5505 * soft-fp/trunctfsf2.c: Likewise.
5506 * soft-fp/trunctfxf2.c: Likewise.
5507 * soft-fp/unorddf2.c: Likewise.
5508 * soft-fp/unordsf2.c: Likewise.
5509 * soft-fp/unordtf2.c: Likewise.
5510
9ebb0332
JM
55112013-10-15 Joseph Myers <joseph@codesourcery.com>
5512
5513 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
5514 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
5515
4b1a6d8b
OB
55162013-10-15 Ondřej Bílka <neleai@seznam.cz>
5517
5518 * elf/dl-libc.c: Clear initfini list after freeing.
5519
1e145589
JM
55202013-10-14 Joseph Myers <joseph@codesourcery.com>
5521
5522 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
5523 * soft-fp/addsf3.c: Likewise.
5524 * soft-fp/addtf3.c: Likewise.
5525 * soft-fp/divdf3.c: Likewise.
5526 * soft-fp/divsf3.c: Likewise.
5527 * soft-fp/divtf3.c: Likewise.
5528 * soft-fp/double.h: Likewise.
5529 * soft-fp/eqdf2.c: Likewise.
5530 * soft-fp/eqsf2.c: Likewise.
5531 * soft-fp/eqtf2.c: Likewise.
5532 * soft-fp/extenddftf2.c: Likewise.
5533 * soft-fp/extended.h: Likewise.
5534 * soft-fp/extendsfdf2.c: Likewise.
5535 * soft-fp/extendsftf2.c: Likewise.
5536 * soft-fp/extendxftf2.c: Likewise.
5537 * soft-fp/fixdfdi.c: Likewise.
5538 * soft-fp/fixdfsi.c: Likewise.
5539 * soft-fp/fixdfti.c: Likewise.
5540 * soft-fp/fixsfdi.c: Likewise.
5541 * soft-fp/fixsfsi.c: Likewise.
5542 * soft-fp/fixsfti.c: Likewise.
5543 * soft-fp/fixtfdi.c: Likewise.
5544 * soft-fp/fixtfsi.c: Likewise.
5545 * soft-fp/fixtfti.c: Likewise.
5546 * soft-fp/fixunsdfdi.c: Likewise.
5547 * soft-fp/fixunsdfsi.c: Likewise.
5548 * soft-fp/fixunsdfti.c: Likewise.
5549 * soft-fp/fixunssfdi.c: Likewise.
5550 * soft-fp/fixunssfsi.c: Likewise.
5551 * soft-fp/fixunssfti.c: Likewise.
5552 * soft-fp/fixunstfdi.c: Likewise.
5553 * soft-fp/fixunstfsi.c: Likewise.
5554 * soft-fp/fixunstfti.c: Likewise.
5555 * soft-fp/floatdidf.c: Likewise.
5556 * soft-fp/floatdisf.c: Likewise.
5557 * soft-fp/floatditf.c: Likewise.
5558 * soft-fp/floatsidf.c: Likewise.
5559 * soft-fp/floatsisf.c: Likewise.
5560 * soft-fp/floatsitf.c: Likewise.
5561 * soft-fp/floattidf.c: Likewise.
5562 * soft-fp/floattisf.c: Likewise.
5563 * soft-fp/floattitf.c: Likewise.
5564 * soft-fp/floatundidf.c: Likewise.
5565 * soft-fp/floatundisf.c: Likewise.
5566 * soft-fp/floatunsidf.c: Likewise.
5567 * soft-fp/floatunsisf.c: Likewise.
5568 * soft-fp/floatuntidf.c: Likewise.
5569 * soft-fp/floatuntisf.c: Likewise.
5570 * soft-fp/floatuntitf.c: Likewise.
5571 * soft-fp/fmadf4.c: Likewise.
5572 * soft-fp/fmasf4.c: Likewise.
5573 * soft-fp/fmatf4.c: Likewise.
5574 * soft-fp/gedf2.c: Likewise.
5575 * soft-fp/gesf2.c: Likewise.
5576 * soft-fp/getf2.c: Likewise.
5577 * soft-fp/ledf2.c: Likewise.
5578 * soft-fp/lesf2.c: Likewise.
5579 * soft-fp/letf2.c: Likewise.
5580 * soft-fp/muldf3.c: Likewise.
5581 * soft-fp/mulsf3.c: Likewise.
5582 * soft-fp/multf3.c: Likewise.
5583 * soft-fp/negdf2.c: Likewise.
5584 * soft-fp/negsf2.c: Likewise.
5585 * soft-fp/negtf2.c: Likewise.
5586 * soft-fp/op-1.h: Likewise.
5587 * soft-fp/op-2.h: Likewise.
5588 * soft-fp/op-4.h: Likewise.
5589 * soft-fp/op-8.h: Likewise.
5590 * soft-fp/op-common.h: Likewise.
5591 * soft-fp/quad.h: Likewise.
5592 * soft-fp/single.h: Likewise.
5593 * soft-fp/soft-fp.h: Likewise.
5594 * soft-fp/sqrtdf2.c: Likewise.
5595 * soft-fp/sqrtsf2.c: Likewise.
5596 * soft-fp/sqrttf2.c: Likewise.
5597 * soft-fp/subdf3.c: Likewise.
5598 * soft-fp/subsf3.c: Likewise.
5599 * soft-fp/subtf3.c: Likewise.
5600 * soft-fp/truncdfsf2.c: Likewise.
5601 * soft-fp/trunctfdf2.c: Likewise.
5602 * soft-fp/trunctfsf2.c: Likewise.
5603 * soft-fp/trunctfxf2.c: Likewise.
5604 * soft-fp/unorddf2.c: Likewise.
5605 * soft-fp/unordsf2.c: Likewise.
5606 * soft-fp/unordtf2.c: Likewise.
5607
17c48a60
OB
56082013-10-14 Ondřej Bílka <neleai@seznam.cz>
5609
5610 [BZ #15672]
5611 * misc/error.c (error_tail): Fix possible buffer overflow.
5612
cabba934
OB
56132013-10-14 Aurelien Jarno <aurelien@aurel32.net>
5614
5615 [BZ #13028]
5616 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
5617 address.
5618
94bf958a
PM
56192013-10-14 P. J. McDermott <pj@pehjota.net>
5620
5621 [BZ #832]
5622 * elf/ldd.bash.in (try_trace): New function. Delete previous code
5623 testing pipefail option.
5624
71b4dea7
JM
56252013-10-12 Joseph Myers <joseph@codesourcery.com>
5626
5627 * soft-fp/double.h: Indent preprocessor directives inside #if.
5628 * soft-fp/extended.h: Likewise.
5629 * soft-fp/op-2.h: Likewise.
5630 * soft-fp/op-4.h: Likewise.
5631 * soft-fp/op-common.h: Likewise.
5632 * soft-fp/quad.h: Likewise.
5633 * soft-fp/single.h: Likewise.
5634 * soft-fp/soft-fp.h: Likewise.
5635
55602758
YC
56362013-10-12 Yuri Chornoivan <yurchor@ukr.net>
5637
5638 * iconv/iconv_prog.c: Fix typos.
5639 * stdio-common/psiginfo-data.h: Likewise.
5640
9cd83302
RT
56412013-10-12 Reuben Thomas <rrt@sc3d.org>
5642
5643 [BZ #15764]
5644 * locale/setlocale.c: Fix typo.
5645
99fd9f47
JM
56462013-10-12 Joseph Myers <joseph@codesourcery.com>
5647
b7ea74f0
JM
5648 [BZ #16036]
5649 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
5650 signaling NaN arguments.
5651 * soft-fp/unordsf2.c (__unordsf2): Likewise.
5652 * soft-fp/unordtf2.c (__unordtf2): Likewise.
5653
8a509447
JM
5654 [BZ #14910]
5655 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
5656 unordered operands.
5657 * soft-fp/gesf2.c (__gesf2): Likewise.
5658 * soft-fp/getf2.c (__getf2): Likewise.
5659 * soft-fp/ledf2.c (__ledf2): Likewise.
5660 * soft-fp/lesf2.c (__lesf2): Likewise.
5661 * soft-fp/letf2.c (__letf2): Likewise.
5662
98998e9f
JM
5663 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
5664 * soft-fp/eqsf2.c (__eqsf2): Likewise.
5665 * soft-fp/eqtf2.c (__eqtf2): Likewise.
5666 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
5667 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
5668 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5669 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5670 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5671 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5672 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5673 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5674 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5675 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5676 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5677 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5678 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5679 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5680 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5681 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5682 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5683 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5684 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5685 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5686 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5687 * soft-fp/floattidf.c (__floattidf): Likewise.
5688 * soft-fp/floattisf.c (__floattisf): Likewise.
5689 * soft-fp/floattitf.c (__floattitf): Likewise.
5690 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5691 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5692 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5693 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5694 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5695 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5696 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5697 * soft-fp/gesf2.c (__gesf2): Likewise.
5698 * soft-fp/getf2.c (__getf2): Likewise.
5699 * soft-fp/ledf2.c (__ledf2): Likewise.
5700 * soft-fp/lesf2.c (__lesf2): Likewise.
5701 * soft-fp/letf2.c (__letf2): Likewise.
5702
8edc4a11
JM
5703 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5704 Undefine and redefine.
5705 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5706 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5707 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5708 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5709 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5710 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5711 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5712 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5713 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5714 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5715 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5716 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5717 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5718 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5719 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5720
8399acaf
JM
5721 [BZ #16032]
5722 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5723 without decrementing exponent if mantissa >= that for the
5724 denominator, not >.
5725 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5726 denominator, not >. Decrement exponent in < case instead of
5727 incrementing in >= case.
5728 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5729 without decrementing exponent if mantissa >= that for the
5730 denominator, not >.
5731
99fd9f47
JM
5732 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5733 computing saturated result for unsigned overflow.
5734
10e1cf6b
SP
57352013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5736 Jeff Law <law@redhat.com>
5737
5738 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5739 (atan2Mp): Add systemtap probe marker.
5740 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5741 (__ieee754_log): Add systemtap probe marker.
5742 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5743 (atanMp): Add systemtap probe marker.
5744 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5745 (tanMp): Add systemtap probe marker.
5746 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5747 (__slowexp): Add systemtap probe marker.
5748 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5749 (__slowpow): Add systemtap probe marker.
5750 * manual/probes.texi: Document probes.
5751
3d110c7c
EB
57522013-10-11 Eric Biggers <ebiggers3@gmail.com>
5753
5754 [BZ #15362]
5755 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5756 written.
5757 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5758 written.
5759 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5760 written to buffer but not flushed.
5761 * libio/iofwrite_u.c: Likewise.
5762 * libio/iopadn.c: Return bytes returned even if EOF was
5763 encountered.
5764 * libio/iowpadn.c: Likewise.
5765 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5766 if _IO_padn does not write the whole buffer.
5767 [!COMPILE_WPRINTF] (PAD): Likewise.
5768
75b4202a
DM
57692013-10-10 David S. Miller <davem@davemloft.net>
5770
5771 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5772 directory block.
5773
6c6352e6
JM
57742013-10-10 Joseph Myers <joseph@codesourcery.com>
5775
33b853c3
JM
5776 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5777 instead of FSF address.
5778 * soft-fp/fixdfti.c: Likewise.
5779 * soft-fp/fixsfti.c: Likewise.
5780 * soft-fp/fixtfti.c: Likewise.
5781 * soft-fp/fixunsdfti.c: Likewise.
5782 * soft-fp/fixunssfti.c: Likewise.
5783 * soft-fp/fixunstfti.c: Likewise.
5784 * soft-fp/floattidf.c: Likewise.
5785 * soft-fp/floattisf.c: Likewise.
5786 * soft-fp/floattitf.c: Likewise.
5787 * soft-fp/floatuntidf.c: Likewise.
5788 * soft-fp/floatuntisf.c: Likewise.
5789 * soft-fp/floatuntitf.c: Likewise.
5790 * soft-fp/trunctfxf2.c: Likewise.
5791
6c6352e6
JM
5792 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5793 * soft-fp/fixdfti.c: Likewise.
5794 * soft-fp/fixsfti.c: Likewise.
5795 * soft-fp/fixtfti.c: Likewise.
5796 * soft-fp/fixunsdfti.c: Likewise.
5797 * soft-fp/fixunssfti.c: Likewise.
5798 * soft-fp/fixunstfti.c: Likewise.
5799 * soft-fp/floattidf.c: Likewise.
5800 * soft-fp/floattisf.c: Likewise.
5801 * soft-fp/floattitf.c: Likewise.
5802 * soft-fp/floatuntidf.c: Likewise.
5803 * soft-fp/floatuntisf.c: Likewise.
5804 * soft-fp/floatuntitf.c: Likewise.
5805 * soft-fp/trunctfxf2.c: Likewise.
5806
3bf78b71
DM
58072013-10-10 David S. Miller <davem@davemloft.net>
5808
5809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5810
6f10289e
JM
58112013-10-10 Joseph Myers <joseph@codsourcery.com>
5812
bd878fc0
JM
5813 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5814 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5815 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5816 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5817 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5818 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5819 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5820
6f10289e
JM
5821 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5822 for NaNs before doing comparisons on argument.
5823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5824 Likewise.
5825
321e2684
WN
58262013-10-10 Will Newton <will.newton@linaro.org>
5827
5828 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5829 passed to _int_memalign does not overflow.
5830
40fefba1
TR
58312013-10-10 Torvald Riegel <triegel@redhat.com>
5832
5833 * scripts/bench.pl: Add include-sources directive.
5834 * benchtests/README: Update documentation.
5835
2ae21ed2
JM
58362013-10-10 Joseph Myers <joseph@codesourcery.com>
5837
dcc2dd3f
JM
5838 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5839 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5840 instead of FP_INIT_ROUNDMODE.
5841 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5842 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5843
2ae21ed2
JM
5844 [BZ #16034]
5845 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5846 copy class of input value.
5847 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5848 not handle exceptions.
5849 * soft-fp/negsf2.c (__negsf2): Likewise.
5850 * soft-fp/negtf2.c (__negtf2): Likewise.
5851 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5852
cb8f9562
JM
58532013-10-09 Joseph Myers <joseph@codesourcery.com>
5854
5855 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5856 semicolon. From Linux kernel.
5857
5b60c59d
AB
58582013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5859
5860 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5861
b86835ca
YC
58622013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5863
5864 [BZ #156]
5865 * manual/socket.texi: Added statement about buffer
5866 for gethostbyname2_r.
5867
e7044ea7
OB
58682013-10-08 Ondřej Bílka <neleai@seznam.cz>
5869
5870 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5871 Use .p2align directive instead, throughout.
5872 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5873 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5874 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5875 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5876 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5877 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5878 * sysdeps/x86_64/strchr.S: Likewise.
5879 * sysdeps/x86_64/strrchr.S: Likewise.
5880
09544cbc
SP
58812013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5882
88576635
SP
5883 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5884
e7b2d1dd
SP
5885 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5886
09544cbc
SP
5887 * sysdeps/generic/math_private.h (__mpsin1): Remove
5888 declaration.
5889 (__mpcos1): Likewise.
5890 (__mpsin): New argument __range_reduce.
5891 (__mpcos): Likewise.
5892 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5893 (slow): Use __mpsin and __mpcos.
5894 (slow1): Likewise.
5895 (slow2): Likewise.
5896 (sloww): Likewise.
5897 (sloww1): Likewise.
5898 (sloww2): Likewise.
5899 (bsloww): Likewise.
5900 (bsloww1): Likewise.
5901 (bsloww2): Likewise.
5902 (cslow2): Likewise.
5903 (csloww): Likewise.
5904 (csloww1): Likewise.
5905 (csloww2): Likewise.
5906 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5907 range_reduce. Merge in __mpsin1.
5908 (__mpcos): Likewise.
5909 (__mpsin1): Remove.
5910 (__mpcos1): Likewise.
5911
7602d070
JM
59122013-10-07 Joseph Myers <joseph@codesourcery.com>
5913
5914 * locale/loadlocale.c (_nl_intern_locale_data): Use
5915 LOCFILE_ALIGNED_P.
5916 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5917 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5918 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5919 obstack data is appropriately aligned.
5920 (obstack_int32_grow_fast): Likewise.
5921 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5922 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5923 (add_locale_uint32_array): Likewise.
5924
a357259b
SP
59252013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5926
5927 * benchtests/Makefile: Remove ARGLIST and RET variables.
5928 ($(objpfx)bench-%.c): Pass only function name to the script.
5929 * benchtests/README: Update documentation.
5930 * benchtests/acos-inputs: Add new directives.
5931 * benchtests/acosh-inputs: Likewise.
5932 * benchtests/asin-inputs: Likewise.
5933 * benchtests/asinh-inputs: Likewise.
5934 * benchtests/atan-inputs: Likewise.
5935 * benchtests/atanh-inputs: Likewise.
5936 * benchtests/cos-inputs: Likewise.
5937 * benchtests/cosh-inputs: Likewise.
5938 * benchtests/exp-inputs: Likewise.
5939 * benchtests/log-inputs: Likewise.
5940 * benchtests/pow-inputs: Likewise.
5941 * benchtests/rint-inputs: Likewise.
5942 * benchtests/sin-inputs: Likewise.
5943 * benchtests/sinh-inputs: Likewise.
5944 * benchtests/tan-inputs: Likewise.
5945 * benchtests/tanh-inputs: Likewise.
5946 * scripts/bench.pl: Add support for new directives.
5947
9ec1b13d
AM
59482013-10-07 Alan Modra <amodra@gmail.com>
5949
5950 * README: Fix careless merge.
5951
8b7d57cd
AM
59522013-10-05 Alan Modra <amodra@gmail.com>
5953
5954 * NEWS: Mention powerpc64le support and bugs fixed.
5955 * README: Both big-endian and little-endian powerpc64 supported.
5956
7b7bab13
ST
59572013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5958
5959 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5960 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5961 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5962 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5963
d39baad1
RA
59642013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5965
5966 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5967 match prototype.
5968
cd78f7e7
JM
59692013-10-04 Joseph Myers <joseph@codesourcery.com>
5970
29d73d86
JM
5971 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5972 Move -mhard-float appending from
5973 ports/sysdeps/powerpc/powerpc32/Makefile.
5974 [$(with-fp) = yes] (ASFLAGS): Likewise.
5975 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5976 * sysdeps/powerpc/nofpu: Move directory from
5977 ports/sysdeps/powerpc/nofpu.
5978 * sysdeps/powerpc/soft-fp: Move directory from
5979 ports/sysdeps/powerpc/soft-fp.
5980 * sysdeps/powerpc/powerpc32/405: Move directory from
5981 ports/sysdeps/powerpc/powerpc32/405.
5982 * sysdeps/powerpc/powerpc32/440: Move directory from
5983 ports/sysdeps/powerpc/powerpc32/440.
5984 * sysdeps/powerpc/powerpc32/464: Move directory from
5985 ports/sysdeps/powerpc/powerpc32/464.
5986 * sysdeps/powerpc/powerpc32/476: Move directory from
5987 ports/sysdeps/powerpc/powerpc32/476.
5988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5989 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5991 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5993 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5995 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5997 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5998 * README: Update for powerpc-*-linux-gnu software floating point
5999 support in libc.
6000
e246b347
JM
6001 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6002 case to powerpc/powerpc32*.
6003 * sysdeps/unix/sysv/linux/configure: Regenerated.
6004
89c2003e
JM
6005 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6006 (_FPU_MASK_OM): Define as 0x04.
6007 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6008 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6009 0x00c10080.
6010 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6011 0x0000003c.
6012 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6013
cd78f7e7
JM
6014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6015 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6016 getcontext_e500.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6018 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6019 setcontext_e500.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6021 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6022 and setcontext_e500.
6023
c755294d
CL
60242013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6025
6026 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6027
e16d221c
SP
60282013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6029
6030 * manual/threads.texi (Default Thread Attributes): Fix typo.
6031
215c7d43
WN
60322013-10-04 Will Newton <will.newton@linaro.org>
6033
6034 * malloc/Makefile: Add tst-memalign.
6035 * malloc/tst-memalign.c: New file.
6036
27d0461b
WN
6037 * malloc/tst-posix_memalign.c: Add comments.
6038 (do_test): Add comments and call free on all potentially
6039 allocated pointers. Add space after cast.
6040
1bc92709
WN
6041 * malloc/tst-pvalloc.c: Add comments.
6042 (do_test): Add comments and call free on all potentially
6043 allocated pointers. Remove duplicate check for NULL pointer.
6044 Add space after cast.
6045
66a9be9d
WN
6046 * malloc/tst-valloc.c: Add comments.
6047 (do_test): Add comments and call free on all potentially
6048 allocated pointers. Remove duplicate check for NULL pointer.
6049 Add space after cast.
6050
4cb81307
AM
60512013-10-04 Alan Modra <amodra@gmail.com>
6052
6053 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6054 Use stdint types in rather than __attribute__((mode())).
6055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6056
f8e3e9f3
AM
60572013-10-04 Alan Modra <amodra@gmail.com>
6058
6059 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6060 Correct handling of unaligned relocs for little-endian.
6061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6062
8f9ebb08
AM
60632013-10-04 Alan Modra <amodra@gmail.com>
6064
6065 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6066 * configure: Regenerate.
6067 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6068 * shlib-versions: Likewise.
6069
0edf96c2
AM
60702013-10-04 Alan Modra <amodra@gmail.com>
6071
6072 * string/tester.c (test_memrchr): Increment reported test cycle.
6073
e0f7a380
AM
60742013-10-04 Alan Modra <amodra@gmail.com>
6075
6076 * string/test-memcpy.c (do_one_test): When reporting errors, print
6077 string address and don't overrun end of string.
6078
466b0393
AM
60792013-10-04 Alan Modra <amodra@gmail.com>
6080
6081 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6082 insrdi. Make better use of reg selection to speed exit slightly.
6083 Schedule entry path a little better. Remove useless "are we done"
6084 checks on entry to main loop. Handle wrapping around zero address.
6085 Correct main loop count. Handle single left-over word from main
6086 loop inline rather than by using loop_small. Remove extra word
6087 case in loop_small caused by wrong loop count. Add little-endian
6088 support.
6089 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6090 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6091 cache hint.
6092 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6093 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6094 support. Avoid rlwimi.
6095 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6096
3be87c77
AM
60972013-10-04 Alan Modra <amodra@gmail.com>
6098
6099 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6100 insrdi. Formatting.
3be87c77
AM
6101 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6102 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6103 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6104 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6105 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6106 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6107
759cfef3
AM
61082013-10-04 Alan Modra <amodra@gmail.com>
6109
6110 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6111 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6112 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6113 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6114 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6115 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6116 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6117 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6118 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6119 use of regs. Use power7 mtocrf. Tidy function tails.
6120
fe6e95d7
AM
61212013-10-04 Alan Modra <amodra@gmail.com>
6122
6123 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6124 Formatting. Consistently use rXXX register defines or rN defines.
6125 Use early exit labels that avoid restoring unused non-volatile regs.
6126 Make cr field use more consistent with rWORDn compares. Rename
6127 regs used as shift registers for unaligned loop, using rN defines
6128 for short lifetime/multiple use regs.
6129 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6130 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6131 addi 1,1,64 to pop stack frame. Simplify return value code.
6132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6133
664318c3
AM
61342013-10-04 Alan Modra <amodra@gmail.com>
6135
6136 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6137 support. Correct typos, formatting. Optimize tail. Use insrdi
6138 rather than rlwimi.
6139 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6140 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6141 little-endian support. Correct typos.
6142 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6143 rather than rlwimi.
6144 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6145 in loop and entry code to keep "and." results.
6146 (strchr): Add little-endian support. Comment. Move cntlzd
6147 earlier in tail.
6148 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6149
43b84013
AM
61502013-10-04 Alan Modra <amodra@gmail.com>
6151
6152 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6153 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6154 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6155 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6156
8a7413f9
AM
61572013-10-04 Alan Modra <amodra@gmail.com>
6158
6159 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6160 (rTMP): Define as r11.
6161 (strcmp): Add little-endian support. Optimise tail.
6162 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6163 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6164 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6165 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6166 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6169
33ee81de
AM
61702013-10-04 Alan Modra <amodra@gmail.com>
6171
6172 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6173 little-endian support. Remove unnecessary "are we done" tests.
6174 Handle "s" wrapping around zero and extremely large "size".
6175 Correct main loop count. Handle single left-over word from main
6176 loop inline rather than by using small_loop. Correct comments.
6177 Delete "zero" tail, use "end_max" instead.
6178 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6179
db9b4570
AM
61802013-10-04 Alan Modra <amodra@gmail.com>
6181
6182 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6183 support. Don't branch over align.
6184 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6185 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6186 support. Rearrange tmp reg use to suit. Comment.
6187 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6188
f7c399cf
AM
61892013-10-04 Alan Modra <amodra@gmail.com>
6190
6191 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6192
0b2c2ace
AM
61932013-10-04 Alan Modra <amodra@gmail.com>
6194
6195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6196 conditional form of branch and link when obtaining pc.
6197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6198
02f04a6c
AM
61992013-10-04 Alan Modra <amodra@gmail.com>
6200
6201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6202 HIWORD/LOWORD.
6203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6205
9b874b2f
AM
62062013-10-04 Alan Modra <amodra@gmail.com>
6207
6208 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6209 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6210 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6211 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6212 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6213 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6214 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6215 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6216 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6217 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6218
be1e5d31
AB
62192013-10-04 Anton Blanchard <anton@au1.ibm.com>
6220 Alistair Popple <alistair@ozlabs.au.ibm.com>
6221 Alan Modra <amodra@gmail.com>
6222
6223 [BZ #15723]
6224 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6225 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6226 _dl_hwcap access for little-endian.
6227 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6228 destroy vmx regs when saving unaligned.
6229 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6230 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6231 destroy vmx regs when saving unaligned.
6232
fef13a78
AM
62332013-10-04 Alan Modra <amodra@gmail.com>
6234
6235 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6236 Don't use a union to pack hi/low value.
6237
76a66d51
AB
62382013-10-04 Anton Blanchard <anton@au1.ibm.com>
6239
6240 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6241 for little-endian.
6242 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6244 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6245 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6246 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6247
6a31fe7f
AM
62482013-10-04 Alan Modra <amodra@gmail.com>
6249
6250 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6251 constants to usual value for .cst8 section, and remove redundant
6252 high address load.
6253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6254 constant for 0x1p52. Load little-endian words of double from
6255 correct stack offsets.
6256
7b88401f
AM
62572013-10-04 Alan Modra <amodra@gmail.com>
6258
6259 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6260 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6261 words of double from correct stack offsets.
6262 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6263 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6264 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6265 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6266 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6267 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6269 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6270 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6271 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6273 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6274 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6275 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6276 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6277 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6278 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6279
9c008155
AM
62802013-10-04 Alan Modra <amodra@gmail.com>
6281
6282 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6283 64-bit int/double union.
6284 (_FPU_SETCW): Likewise.
6285 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6286 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6287
da13146d
AM
62882013-10-04 Alan Modra <amodra@gmail.com>
6289
6290 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6291 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6292
603e8410
AM
62932013-10-04 Alan Modra <amodra@gmail.com>
6294
6295 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6296 use vector int constants.
6297 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6298
4a28b3ca
AB
62992013-10-04 Anton Blanchard <anton@au1.ibm.com>
6300
6301 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6302 array with long long.
6303 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6304 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6305 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6306 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6307 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6308 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6309 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6310 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6311 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6312 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6313 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6314 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6315 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6316
2ca85d2b
AB
63172013-10-04 Anton Blanchard <anton@au1.ibm.com>
6318
6319 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6320 (__signbit): Likewise. Correct for little-endian.
6321 (__signbitl): Call __signbit.
6322 (lrint): Correct for little-endian.
6323 (lrintf): Call lrint.
6324
62a728ae
AM
63252013-10-04 Alan Modra <amodra@gmail.com>
6326
6327 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6328 union 32-bit int array member with 64-bit int array.
6329 (t515, tm256): Double rather than long double.
6330 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6331
32c301df
AM
63322013-10-04 Alan Modra <amodra@gmail.com>
6333
6334 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6335 Delete.
6336 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6337 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6338 version of math_ldbl.h.
6339
650ef4bd
AM
63402013-10-04 Alan Modra <amodra@gmail.com>
6341
6342 [BZ #15734], [BZ #15735]
6343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6344 all uses of ieee875 long double macros and unions. Simplify test
6345 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6346 ldbl_extract_mantissa value for ix,iy exponents. Properly
6347 normalize after ldbl_extract_mantissa, and don't add hidden bit
6348 already handled. Don't treat low word of ieee854 mantissa like
6349 low word of IBM long double and mask off bit when testing for
6350 zero.
6351 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
6352 all uses of ieee875 long double macros and unions. Simplify tests
6353 for 0.0L and inf. Correct double adjustment of k. Delete dead code
6354 adjusting ha,hb. Simplify code setting kld. Delete two600 and
6355 two1022, instead use their values. Recognise that tests for large
6356 "a" and small "b" are mutually exclusive. Rename vars. Comment.
6357 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
6358 Rewrite all uses of ieee875 long double macros and unions. Simplify
6359 test for 0.0L and nan. Correct negation.
6360 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
6361 ieee875 long double macros and unions. Correct output for large
6362 magnitude x. Correct absolute value calculation.
6363 (__erfcl): Likewise.
6364 * math/libm-test.inc: Add tests for errors discovered in IBM long
6365 double versions of fmodl, remainderl, erfl and erfcl.
6366
765714ca
AM
63672013-10-04 Alan Modra <amodra@gmail.com>
6368
6369 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
6370 all uses of ieee854 long double macros and unions. Simplify tests
6371 for long doubles that are fully specified by the high double.
6372 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6373 Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
6375 Remove dead code too.
6376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6377 (__ieee754_ynl): Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
6380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6381 Remove dead code too.
6382 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
6383 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
6384 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6385 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
6386 Simplify.
6387 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
6388 Simplify.
6389 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
6392 Comment on variable precision.
6393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6395 Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
6400 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
6401
4ebd120c
AM
64022013-10-04 Alan Modra <amodra@gmail.com>
6403
6404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
6405 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
6406 all uses of ieee854 long double macros and unions.
6407 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6413 Likewise.
6414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
6415 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6416 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
6420 Simplify sign and nan test too.
6421 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
6425 Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
6428 Likewise.
6429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
6434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
6435
1b6adf88
AM
64362013-10-04 Alan Modra <amodra@gmail.com>
6437
6438 * stdio-common/printf_size.c (__printf_size): Don't use
6439 union ieee854_long_double in fpnum union.
6440 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
6441 signbit macro to retrieve sign from long double.
6442 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
6443 retrieve sign from long double.
6444 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
6445 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
6447 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6448 * math/test-misc.c (main): Don't use union ieee854_long_double.
6449
4cf69995
AM
64502013-10-04 Alan Modra <amodra@gmail.com>
6451
6452 [BZ #15680]
6453 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
6454 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
6455 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
6456 calculation. Remove unnecessary test for denormal exponent.
6457 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
6458 Correct handling of denormals. Avoid undefined shift behaviour.
6459 Correct normalisation of low mantissa when low double is denormal.
6460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6461 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
6462 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
6463 Correct normalisation of low mantissa. Test for overflow of high
6464 mantissa and normalise.
6465 (ldbl_nearbyint): Use more readable constant for two52.
6466 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
6467 (__mpn_construct_long_double): Fix test for overflow of high
6468 mantissa and correct normalisation. Avoid undefined shift.
6469
9605ca6c
AM
64702013-10-04 Alan Modra <amodra@gmail.com>
6471
6472 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6473 (union ibm_extended_long_double): Define as an array of ieee754_double.
6474 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
6475 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
6476 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
6477 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6481 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
6485
975569d0
JM
64862013-10-03 Joseph Myers <joseph@codesourcery.com>
6487
d3d23756
JM
6488 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
6489 page size instead of calling getpagesize.
6490
975569d0
JM
6491 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
6492 (LOCFILE_ALIGN_MASK): Likewise.
6493 (LOCFILE_ALIGN_UP): Likewise.
6494 (LOCFILE_ALIGNED_P): Likewise.
6495 * locale/programs/ld-collate.c (collate_output): Use the new
6496 macros instead of __alignof__ (int32_t).
6497 * locale/weight.h (findidx): Likewise.
6498
b1fe1f2b
OB
64992013-10-03 Ondřej Bílka <neleai@seznam.cz>
6500
6501 [BZ #431]
6502 * manual/string.texi: Fix strncat and wcsncat.
6503
5f855e35
BM
65042013-10-03 Brooks Moses <bmoses@google.com>
6505
6506 [BZ #15915]
6507 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
6508 * Makerules: ...here, and adjust associated comments.
6509
3cef6009
WN
65102013-10-02 Will Newton <will.newton@linaro.org>
6511
6512 * malloc/Makefile: Add tst-pvalloc.
6513 * malloc/tst-pvalloc.c: New file.
6514
7815420b
WN
65152013-10-02 Will Newton <will.newton@linaro.org>
6516
6517 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
6518 improve test coverage.
6519
4868b204
WN
65202013-10-02 Will Newton <will.newton@linaro.org>
6521
6522 * malloc/Makefile: Add tst-posix_memalign.
6523 * malloc/tst-posix_memalign.c: New file.
6524
29c793b3
EB
65252013-10-01 Eric Blake <eblake@redhat.com>
6526
6527 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
6528 Use __THROWNL rather than __THROW on static functions.
6529
fd967522
PM
65302013-09-30 Petr Machata <pmachata@redhat.com>
6531
6532 * elf/elf.h (R_AARCH64_ABS16): New macro.
6533 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
6534 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
6535 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
6536 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
6537 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
6538 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
6539 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
6540 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
6541 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
6542 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
6543 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
6544 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
6545 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
6546 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
6547 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
6548 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
6549 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
6550 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
6551 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
6552 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
6553 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
6554 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
6555 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
6556 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
6557 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
6558 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
6559 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
6560 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
6561 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
6562 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
6563 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
6564 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
6565 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
6566 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
6567 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
6568 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
6569 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
6570 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
6571 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
6572 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
6573 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
6574 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
6575 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
6576 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
6577 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
6578 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
6579 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
6580 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
6581 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
6582 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
6583 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
6584 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
6585 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
6586 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
6587 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
6588 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
6589 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
6590 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
6591 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
6592 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
6593 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
6594 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
6595 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
6596 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
6597 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
6598 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
6599 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
6600 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
6601 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
6602 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
6603 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
6604 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
6605 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
6606 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
6607 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
6608 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
6609 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
6610 (R_AARCH64_TLSDESC_LDR): Likewise.
6611 (R_AARCH64_TLSDESC_ADD): Likewise.
6612 (R_AARCH64_TLSDESC_CALL): Likewise.
6613
b2179107
AS
66142013-09-30 Andreas Schwab <schwab@suse.de>
6615
6616 [BZ #15048]
6617 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
6618 the nss database lookup.
6619 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6621
47f28d0a
MF
66222013-09-28 Mike Frysinger <vapier@gentoo.org>
6623
6624 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
6625
66262013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
6627
6628 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
6629 ${Bash-specific parameter/pattern/string} parameter expansion.
6630 * sysdeps/unix/make-syscalls.sh: Likewise.
6631
f4518a17
KK
66322013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6633
6634 * sysdeps/sh/stackguard-macros.h: New file.
6635
dc1a95c7
OB
66362013-09-26 Ondřej Bílka <neleai@seznam.cz>
6637
6638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
6640 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
6641 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
6642 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6643 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
6644
5ebbff8f
AZ
66452013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6646
6647 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
6648 Fix thread ID register.
6649
4fd2cf9f
JM
66502013-09-25 Joseph Myers <joseph@codesourcery.com>
6651
6652 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
6653 [POSIX || UNIX98]: Require rather than permitting all symbols from
6654 <time.h>.
6655 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
6656 element of struct sched_param.
6657 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
6658 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
6659 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
6660 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
6661 constant.
6662
12c22bc4
OL
66632013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
6664
6665 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
6666 argument calculation.
6667
a03d8ea7
JM
66682013-09-24 Joseph Myers <joseph@codesourcery.com>
6669
6670 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6671 Expect macro.
6672 [POSIX] (pthread_attr_t): Do not require type.
6673 [POSIX] (pthread_cond_t): Likewise.
6674 [POSIX] (pthread_condattr_t): Likewise.
6675 [POSIX] (pthread_key_t): Likewise.
6676 [POSIX] (pthread_mutex_t): Likewise.
6677 [POSIX] (pthread_mutexattr_t): Likewise.
6678 [POSIX] (pthread_once_t): Likewise.
6679 [POSIX] (pthread_t): Likewise.
6680 [POSIX-based standards] (pthread_atfork): Expect function.
6681
6055173a
JM
66822013-09-24 Joseph Myers <joseph@codesourcery.com>
6683 Richard Sandiford <richard@codesourcery.com>
6684
6685 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6686 (swap_endianness_p): New extern variable.
6687 (set_big_endian): New inline function.
6688 (maybe_swap_uint32): Likewise.
6689 (maybe_swap_uint32_array): Likewise.
6690 (maybe_swap_uint32_obstack): Likewise.
6691 * locale/programs/locfile.c: Include <stdbool.h>.
6692 (swap_endianness_p): New variable.
6693 (add_locale_uint32): Call maybe_swap_uint32.
6694 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6695 (write_locale_data): Call maybe_swap_uint32_array.
6696 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6697 maybe_swap_uint32.
6698 (obstack_int32_grow_fast): Likewise.
6699 (output_weightwc): Call maybe_swap_uint32_obstack.
6700 (collate_output): Likewise.
6701 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6702 (OPT_LITTLE_ENDIAN): Likewise.
6703 (options): Add --little-endian and --big-endian options.
6704 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6705 * locale/programs/locarchive.c: Include "locfile.h".
6706 (GET): New macro.
6707 (SET): Likewise.
6708 (INC): Likewise.
6709 (create_archive): Use the new macros to access fields of
6710 structures directly mapped from or written to locale archives.
6711 (oldlocrecentcmp): Likewise.
6712 (enlarge_archive): Likewise.
6713 (insert_name): Likewise.
6714 (add_alias): Likewise.
6715 (add_locale): Likewise.
6716 (delete_locales_from_archive): Likewise.
6717 (show_archive_content): Likewise.
6718 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6719 locale data.
6720
39bf0bb4
RM
67212013-09-24 Roland McGrath <roland@hack.frob.com>
6722
6723 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6724 http://www.gnu.org/doc/freemanuals.texi.
6725 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6726
f02eed10
WN
67272013-09-24 Will Newton <will.newton@linaro.org>
6728
6729 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6730 macro.
6731
a3a6c312
JM
67322013-09-23 Joseph Myers <joseph@codesourcery.com>
6733
6734 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6735 unsigned char.
6736
107375ac
MR
67372013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6738
6739 * manual/threads.texi (POSIX Threads): Fix a typo.
6740
141f3a77
SP
67412013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6742
303e567a
SP
6743 [BZ #14547]
6744 * string/tst-strcoll-overflow.c: New test case.
6745 * string/Makefile (xtests): Add tst-strcoll-overflow.
6746 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6747 cache if string sizes may cause integer overflow.
6748
141f3a77
SP
6749 [BZ #14547]
6750 * string/strcoll_l.c (coll_seq): New members rule, idx,
6751 save_idx and back_us.
6752 (get_next_seq_nocache): New function.
6753 (do_compare_nocache): New function.
6754 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6755 when malloc fails.
6756
c61b4d41
CD
67572013-09-23 Carlos O'Donell <carlos@redhat.com>
6758
0b1f8e35
CD
6759 [BZ #15754]
6760 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6761 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6762 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6763
c61b4d41
CD
6764 [BZ #15754]
6765 * elf/Makefile (tests): Add tst-ptrguard1.
6766 (tests-static): Add tst-ptrguard1-static.
6767 (tst-ptrguard1-ARGS): Define.
6768 (tst-ptrguard1-static-ARGS): Define.
6769 * elf/tst-ptrguard1.c: New file.
6770 * elf/tst-ptrguard1-static.c: New file.
6771 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6772 * sysdeps/i386/stackguard-macros.h: Likewise.
6773 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6774 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6775 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6776 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6777 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6778 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6779
67802013-09-23 Hector Marco <hecmargi@upv.es>
6781 Ismael Ripoll <iripoll@disca.upv.es>
6782 Carlos O'Donell <carlos@redhat.com>
6783
6784 [BZ #15754]
6785 * sysdeps/generic/stackguard-macros.h: Define
6786 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6787 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6788 Define __pointer_chk_guard_local.
6789 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6790 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6791
f5f4e7b4
VV
67922013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6793
6794 [BZ #15859]
6795 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6796
5bb43a43
AS
67972013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6798
6799 * include/string.h (__ffs): Declare as hidden.
6800 * string/ffs.c (__ffs): Define as hidden.
6801 * sysdeps/i386/ffs.c (__ffs): Likewise.
6802 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6803 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6804 * sysdeps/s390/ffs.c (__ffs): Likewise.
6805 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6806
3ea5be54
AO
68072013-09-20 Alexandre Oliva <aoliva@redhat.com>
6808
ffb89e53
AO
6809 * NEWS: Mention malloc probes.
6810
322dea08
AO
6811 * malloc/arena.c (new_heap): New memory_heap_new probe.
6812 (grow_heap): New memory_heap_more probe.
6813 (shrink_heap): New memory_heap_less probe.
6814 (heap_trim): New memory_heap_free probe.
6815 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6816 (systrim): New memory_sbrk_less probe.
6817 * manual/probes.texi: Document them.
6818
655673f3
AO
6819 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6820 * manual/probes.texi: Document it.
6821
35fed6f1
AO
6822 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6823 (__libc_realloc): Add memory_realloc_retry probe.
6824 (__libc_memalign): Add memory_memalign_retry probe.
6825 (__libc_valloc): Add memory_valloc_retry probe.
6826 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6827 (__libc_calloc): Add memory_calloc_retry probe.
6828 * manual/probes.texi: Document them.
6829
6999d38c
AO
6830 * malloc/arena.c (get_free_list): Add probe
6831 memory_arena_reuse_free_list.
6832 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6833 and memory_arena_reuse.
6834 (arena_get2) [!PER_THREAD]: Likewise.
6835 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6836 memory_arena_reuse_realloc.
6837 * manual/probes.texi: Document them.
6838
0653427f
AO
6839 * malloc/malloc.c (__libc_free): Add
6840 memory_mallopt_free_dyn_thresholds probe.
6841 (__libc_mallopt): Add multiple memory_mallopt probes.
6842 * manual/probes.texi: Document them.
6843
3ea5be54
AO
6844 * malloc/malloc.c: Include stap-probe.h.
6845 (__libc_mallopt): Add memory_mallopt probe.
6846 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6847 * manual/probes.texi: New.
6848 * manual/Makefile (chapters): Add probes.
6849 * manual/threads.texi: Set next node.
6850
e35696c3 68512013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 6852
e35696c3
CL
6853 [BZ #15963, #13985]
6854 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6855 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6856 Add `Chinese' to `nan' entry name.
6857
4aafb73c
SP
68582013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6859
6860 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6861 (POLYNOMIAL): Likewise.
6862 (TAYLOR_SINCOS): Likewise.
6863 (TAYLOR_SLOW): Likewise.
6864 (__sin): Use TAYLOR_SINCOS.
6865 (__cos): Likewise.
6866 (slow): Use TAYLOR_SLOW.
6867 (sloww): Likewise.
6868 (bsloww): Likewise.
6869 (csloww): Likewise.
6870
d84f25c7
LD
68712013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6872
6873 * stdlib/strtod_l.c: Fix buffer overrun.
6874
5eea0404
SP
68752013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6876
7849ff93
SP
6877 * benchtests/Makefile (bench): Add sincos.
6878 * benchtests/bench-sincos.c: New file.
6879
cfa3c886
SP
6880 * math/libm-test.inc (cos_test_data): New test inputs.
6881 (sin_test_data): Likewise.
6882
b348e1e3
SP
6883 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6884 macro.
6885 (__sin): Use it.
6886 (__cos): Likewise.
6887 (slow1): Likewise.
6888 (slow2): Likewise.
6889 (sloww1): Likewise.
6890 (sloww2): Likewise.
6891 (bsloww1): Likewise.
6892 (bsloww2): Likewise.
6893 (cslow2): Likewise.
6894 (csloww1): Likewise.
6895 (csloww2): Likewise.
6896
6cce25f8
SP
6897 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6898 function.
6899 (__sin): Use it.
6900 (__cos): Likewise.
6901
5eea0404
SP
6902 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6903 gotos.
6904 (__cos): Likewise.
6905
9c21573c
MR
69062013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6907
6908 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6909 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6910 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6911 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6912 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6913 * elf/cache.c (print_entry): Handle the new cache flags.
6914
24d22e65
JM
69152013-09-18 Joseph Myers <joseph@codesourcery.com>
6916 Aldy Hernandez <aldyh@redhat.com>
6917
6918 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6919 Change condition to [_SOFT_FLOAT].
6920 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6921 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6922 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6923 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6924 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6925 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6926 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6927 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6928 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6929 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6930 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6931 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6932 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6933 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6934 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6935 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6936 declaration.
6937
d13ef066
JM
69382013-09-18 Joseph Myers <joseph@codesourcery.com>
6939
2e071de0
JM
6940 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6941 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6942 (__longjmp): Use LOAD_GP to load saved GPRs.
6943 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6944 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6945 (__sigsetjmp): Use SAVE_GP to save GPRs.
6946
d13ef066
JM
6947 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6948 Do not append -msoft-float.
6949 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6950
97a0650b
SP
69512013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6952
6953 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6954
11ca09e9
JM
69552013-09-17 Joseph Myers <joseph@codesourcery.com>
6956
6957 [BZ #15966]
6958 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6959 (_FPU_GETCW): Use initial "__" on variable and field names but not
6960 on macro parameter name.
6961 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6962 parentheses around reference to macro parameter.
6963
08ffcf34
RS
69642013-09-13 Richard Sandiford <richard@codesourcery.com>
6965
6966 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6967 prototype.
6968 (ctype_startup): Use uint32_t in cast and sizeof for
6969 ctype->charnames.
6970
ae7080d3
JL
69712013-09-11 Jia Liu <proljc@gmail.com>
6972
6973 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6974 __daddr_t_defined.
6975 [__FreeBSD__]: Likewise.
6976
5905e7b3
OB
69772013-09-11 Ondřej Bílka <neleai@seznam.cz>
6978
6979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6980 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6981 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6982 (strchr): Remove __strchr_sse42 ifunc selection.
6983 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6984 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6985
b987c776
WN
69862013-09-11 Will Newton <will.newton@linaro.org>
6987
6988 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6989 parameter to RES. Remove hardcoded 1000 value.
6990 * benchtests/bench-skeleton.c (main): Pass RES parameter
6991 to TIMING_INIT and multiply result by 1000.
6992
ddf985af
AZ
69932013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6994
6995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6996
ffdd3181
AS
69972013-09-11 Andreas Schwab <schwab@suse.de>
6998
6999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7000 if not defined.
7001 (O_TMPFILE) [__USE_GNU]: Define.
7002 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7003 Define.
7004
b73ed247
WN
70052013-09-11 Will Newton <will.newton@linaro.org>
7006
7007 [BZ #15857]
7008 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7009 does not overflow.
7010
55e17aad
WN
70112013-09-11 Will Newton <will.newton@linaro.org>
7012
7013 [BZ #15856]
7014 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7015 does not overflow.
7016
1159a193
WN
70172013-09-11 Will Newton <will.newton@linaro.org>
7018
7019 [BZ #15855]
7020 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7021 does not overflow.
7022
5905e7b3 70232013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7024
7025 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7026 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7027 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7030
cdfc721b
AM
70312013-09-10 Allan McRae <allan@archlinux.org>
7032
aa04af00
AM
7033 [BZ #15748]
7034 * manual/arith.texi (Parsing of Floats): Clarify
7035 cross-reference.
7036
cdfc721b
AM
7037 [BZ #15849]
7038 * manual/install.texi (Running make install): Mention
7039 --enable-pt-chown.
7040 * INSTALL: Regenerated.
7041
95e7cf29
MR
70422013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7043
7044 * csu/init-first.c (_init): Remove the !SHARED condition around
7045 FPU control word initialization.
7046 * elf/dl-support.c (_dl_fpu_control): New variable.
7047 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7048 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7049 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7050 * math/test-fpucw-static.c: New file.
7051 * math/test-fpucw-ieee.c: New file.
7052 * math/test-fpucw-ieee-static.c: New file.
7053 * math/Makefile (tests): Add `test-fpucw-ieee' and
7054 `$(tests-static)'.
7055 (tests-static): New variable.
7056 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7057 dependency to...
7058 [($(build-shared),yes)]
7059 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7060 ... this.
7061 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7062 New dependency.
7063
83e43bf0
AM
70642013-09-09 Allan McRae <allan@archlinux.org>
7065
a9f5ce09
AM
7066 [BZ #15939]
7067 * manual/string.texi (Collation Functions): Fix typo in
7068 strcoll example.
7069 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7070
34829bc2
AM
7071 [BZ #15893]
7072 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7073
3932737d
AM
7074 [BZ #15892]
7075 * libio/memstream.c (open_memstream): Fix memory leak.
7076 * libio/wmemstream.c (open_wmemstream): Likewise.
7077
83e43bf0
AM
7078 [BZ #15895]
7079 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7080
0c66b8e9
WN
70812013-09-09 Will Newton <will.newton@linaro.org>
7082
7083 * malloc/Makefile: Add tst-realloc to tests.
7084 * malloc/tst-realloc.c: New file.
7085
f6b00fd1
AM
70862013-09-09 Allan McRae <allan@archlinux.org>
7087
7088 [BZ #15844]
7089 * COPYING: Update from GNU website to fix FSF address.
7090 * COPYING.LIB: Likewise.
7091
eec55e16
DM
70922013-09-06 David S. Miller <davem@davemloft.net>
7093
7094 * po/zh_TW.po: Update Chinese (traditional) translation from
7095 translation project.
7096
1ecbb381
RS
70972013-09-06 Richard Sandiford <richard@codesourcery.com>
7098 Joseph Myers <joseph@codesourcery.com>
7099
7100 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7101 "localeinfo.h".
7102 (obstack_chunk_alloc): New macro.
7103 (obstack_chunk_free): Likewise.
7104 (record_offset): New function.
7105 (init_locale_data): Likewise.
7106 (align_locale_data): Likewise.
7107 (add_locale_empty): Likewise.
7108 (add_locale_raw_data): Likewise.
7109 (add_locale_raw_obstack): Likewise.
7110 (add_locale_string): Likewise.
7111 (add_locale_wstring): Likewise.
7112 (add_locale_uint32): Likewise.
7113 (add_locale_uint32_array): Likewise.
7114 (add_locale_char): Likewise.
7115 (start_locale_structure): Likewise.
7116 (end_locale_structure): Likewise.
7117 (start_locale_prelude): Likewise.
7118 (end_locale_prelude): Likewise.
7119 (write_locale_data): Take locale_file structure rather than an
7120 iovec.
7121 * locale/programs/locfile.h: Include "obstack.h".
7122 (struct locale_file): Change to store locale file contents instead
7123 of header.
7124 (init_locale_data): New prototype.
7125 (align_locale_data): Likewise.
7126 (add_locale_empty): Likewise.
7127 (add_locale_raw_data): Likewise.
7128 (add_locale_raw_obstack): Likewise.
7129 (add_locale_string): Likewise.
7130 (add_locale_wstring): Likewise.
7131 (add_locale_uint32): Likewise.
7132 (add_locale_uint32_array): Likewise.
7133 (add_locale_char): Likewise.
7134 (start_locale_structure): Likewise.
7135 (end_locale_structure): Likewise.
7136 (start_locale_prelude): Likewise.
7137 (end_locale_prelude): Likewise.
7138 (write_locale_data): Update prototype.
7139 * locale/programs/3level.h (struct TABLE): Remove result field.
7140 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7141 Use new locale_file interface.
7142 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7143 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7144 * locale/programs/ld-address.c (address_output): Use new
7145 locale_file interface.
7146 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7147 NO_ADD_LOCALE.
7148 (collate_finish): Don't call collseq_table_finalize.
7149 (collate_output): Use new locale_file interface.
7150 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7151 in file.
7152 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7153 (TABLE): Move defines earlier in file.
7154 (ELEMENT): Likewise.
7155 (DEFAULT): Likewise.
7156 (wctrans_table_add): Move macro and inline function earlier in
7157 file.
7158 (struct wctype_table): Move type earlier in file.
7159 (add_locale_wctype_table): New static prototype.
7160 (struct locale_ctype_t): Use logical types instead of struct iovec
7161 pointers for members.
7162 (ctype_output): Use new locale_file interface.
7163 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7164 new locale_file interface.
7165 (allocate_arrays): Update for use of new locale_file interface.
7166 * locale/programs/ld-identification.c (identification_output): Use
7167 new locale_file interface.
7168 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7169 * locale/programs/ld-messages.c (messages_output): Likewise.
7170 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7171 * locale/programs/ld-name.c (name_output): Likewise.
7172 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7173 * locale/programs/ld-paper.c (paper_output): Likewise.
7174 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7175 * locale/programs/ld-time.c (time_output): Likewise.
7176
e029e2e5
AZ
71772013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7178
7179 * benchtests/Makefile: Add memrchr benchmark.
7180 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7181 benchmark as memrchr.
7182 * benchtests/bench-memrchr-ifunc.c: New file.
7183 * benchtests/bench-memrchr.c: New file.
7184
bbf6e8e4
WN
71852013-09-06 Will Newton <will.newton@linaro.org>
7186
7187 * benchtests/Makefile (string-bench): Add memcpy.
7188
6c82a2f8
CD
71892013-09-05 Carlos O'Donell <carlos@redhat.com>
7190 Cong Wang <amwang@redhat.com>
7191
e732c5f0 7192 [BZ #15850]
6c82a2f8
CD
7193 * sysdeps/unix/sysv/linux/bits/in.h
7194 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7195 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7196 before __USE_KERNEL_IPV6_DEFS uses.
7197 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7198 IPPROTO_BEETPH.
7199 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7200 sockaddr_in6, or ipv6_mreq.
7201
5430fc65
AZ
72022013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7203
7204 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7205 memory access for final bytes in some large inputs.
7206 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7207
4660856c
AZ
72082013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7209
7210 * string/test-memrchr.c: New file.
7211 * string/test-memrchr-ifunc.c: New file.
7212 * string/Makefile: Add new memrchr testcase.
7213
bb8ea713
MF
72142013-09-05 Mike Frysinger <vapier@gentoo.org>
7215
7216 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7217 fanotify_init returns EPERM.
7218
b92a20b5
JM
72192013-09-04 Joseph Myers <joseph@codesourcery.com>
7220
7221 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7222 errors.
7223 (top level): Treat second token from macro or constant entries for
7224 allowed headers as allowed.
7225 * include/complex.h: Condition internal declarations on
7226 [!_ISOMAC].
7227 * include/fenv.h: Condition include of <stdbool.h> and internal
7228 declarations on [!_ISOMAC].
7447ccd9
CL
7229
72302013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7231
3e181dda 7232 [BZ #15923]
7447ccd9
CL
7233 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7234
3f2e46a4
JM
72352013-09-04 Joseph Myers <joseph@codesourcery.com>
7236
7237 * configure.in (--enable-versioning): Remove configure option.
7238 (libc_cv_asm_symver_directive): Remove configure test.
7239 (libc_cv_ld_version_script_option): Likewise.
7240 (VERSIONING): Remove variable and AC_SUBST.
7241 (DO_VERSIONING): Remove AC_DEFINE.
7242 * configure: Regenerated.
7243 * config.h.in (DO_VERSIONING): Remove macro.
7244 * Makerules [$(versioning) = yes]: Change conditionals to
7245 [$(build-shared) = yes].
7246 * config.make.in (versioning): Remove variable.
7247 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7248 [$(build-shared) = yes].
7249 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7250 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7251 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7252 [$(build-shared) = yes].
7253 * extra-lib.mk [$(versioning) = yes]: Likewise.
7254 * hurd/Makefile [$(versioning) = yes]: Likewise.
7255 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7256 [SHARED].
7257 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7258 [SHARED].
7259 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7260 [SHARED && !NO_HIDDEN].
7261 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7262 [SHARED].
7263 [SHARED && DO_VERSIONING]: Likewise..
7264 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7265 [$(build-shared) = yes].
7266 * manual/install.texi (--disable-versioning): Remove
7267 documentation.
7268 * INSTALL: Regenerated.
7269 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7270 to [SHARED].
7271 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7272 [$(build-shared) = yes].
7273 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7274 * sysdeps/i386/i686/multiarch/strstr-c.c
7275 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7276 [SHARED && !NO_HIDDEN].
7277 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7278 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7279 * sysdeps/powerpc/powerpc32/dl-machine.c
7280 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7281 * sysdeps/powerpc/powerpc32/sysdep.h
7282 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7283 to [SHARED && PIC && !NO_HIDDEN].
7284 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7285 conditional to [SHARED].
7286
44558701
WN
72872013-09-04 Will Newton <will.newton@linaro.org>
7288
7289 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7290 * benchtests/bench-string.h: Include bench-timing.h instead
7291 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7292 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7293 call to HP_TIMING_DIFF_INIT.
7294 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7295 instead of hp-timing.h macros.
7296 * benchtests/bench-memchr.c: Likewise.
7297 * benchtests/bench-memcmp.c: Likewise.
7298 * benchtests/bench-memcpy.c: Likewise.
7299 * benchtests/bench-memmem.c: Likewise.
7300 * benchtests/bench-memmove.c: Likewise.
7301 * benchtests/bench-memset.c: Likewise.
7302 * benchtests/bench-rawmemchr.c: Likewise.
7303 * benchtests/bench-strcasecmp.c: Likewise.
7304 * benchtests/bench-strcasestr.c: Likewise.
7305 * benchtests/bench-strcat.c: Likewise.
7306 * benchtests/bench-strchr.c: Likewise.
7307 * benchtests/bench-strcmp.c: Likewise.
7308 * benchtests/bench-strcpy.c: Likewise.
7309 * benchtests/bench-strcpy_chk.c: Likewise.
7310 * benchtests/bench-strlen.c: Likewise.
7311 * benchtests/bench-strncasecmp.c: Likewise.
7312 * benchtests/bench-strncat.c: Likewise.
7313 * benchtests/bench-strncmp.c: Likewise.
7314 * benchtests/bench-strncpy.c: Likewise.
7315 * benchtests/bench-strnlen.c: Likewise.
7316 * benchtests/bench-strpbrk.c: Likewise.
7317 * benchtests/bench-strrchr.c: Likewise.
7318 * benchtests/bench-strspn.c: Likewise.
7319 * benchtests/bench-strstr.c: Likewise.
7320
cae16d66
WN
73212013-09-04 Will Newton <will.newton@linaro.org>
7322
7323 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7324
ffa3cd7f
JM
73252013-09-03 Joseph Myers <joseph@codesourcery.com>
7326
7327 [BZ #15427]
7328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7329 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7330 * math/libm-test.inc (lgamma_test_data): Add more tests.
7331 * sysdeps/i386/fpu/libm-test-ulps: Update.
7332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7333
8f02859f
OB
73342013-09-03 Ondřej Bílka <neleai@seznam.cz>
7335
7336 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7338 Add ifunc.
7339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7340 Add strcmp-sse2-unaligned
7341 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7342
18d43716
MF
73432013-09-02 Mike Frysinger <vapier@gentoo.org>
7344
7345 * Versions.def (libc): Add GLIBC_2.19.
7346
ac444012
MF
73472013-09-02 Mike Frysinger <vapier@gentoo.org>
7348
7349 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7350 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7351
b7835e32
JM
73522013-09-02 Joseph Myers <joseph@codesourcery.com>
7353
7354 [BZ #14155]
7355 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
7356 intermediate calculations in recurrence.
7357 (__ieee754_ynf): Likewise.
7358 * math/libm-test.inc (jn_test_data): Do not allow spurious
7359 underflow exception. Add more tests.
7360 (yn_test_data): Add more tests.
7361 * sysdeps/i386/fpu/libm-test-ulps: Update.
7362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7363
8220f4f0
OB
73642013-09-02 Ondřej Bílka <neleai@seznam.cz>
7365
7366 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
7367
f24a6d08
OB
73682013-08-30 Ondřej Bílka <neleai@seznam.cz>
7369
7370 * csu/init-first.c: Fix then/than typos.
7371 * locale/programs/ld-collate.c: Likewise.
7372 * locale/programs/linereader.h: Likewise.
7373 * manual/charset.texi: Likewise.
7374 * manual/filesys.texi: Likewise.
7375 * manual/stdio.texi: Likewise.
7376 * manual/string.texi: Likewise.
7377 * stdlib/fmtmsg.c: Likewise.
7378 * sysdeps/i386/stpncpy.S: Likewise.
7379 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7380 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7381 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7382 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7383
382466e0
OB
73842013-08-30 Ondřej Bílka <neleai@seznam.cz>
7385
7386 * elf/dl-open.c: Fix typos.
7387 * iconvdata/gbbig5.c: Likewise.
7388 * iconvdata/iso-2022-jp.c: Likewise.
7389 * iconv/gconv_int.h: Likewise.
7390 * iconv/loop.c: Likewise.
7391 * nis/rpcsvc/nis.h: Likewise.
7392 * resolv/ns_name.c: Likewise.
7393 * stdio-common/vfscanf.c: Likewise.
7394 * streams/stropts.h: Likewise.
7395 * sunrpc/rpc_thread.c: Likewise.
7396 * sysdeps/i386/strpbrk.S: Likewise.
7397 * sysdeps/ieee754/k_standard.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7400 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
7401 * sysdeps/mach/hurd/profil.c: Likewise.
7402 * sysdeps/s390/dl-procinfo.h: Likewise.
7403 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
7404 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7405 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
7406 * sysdeps/x86_64/dl-trampoline.S: Likewise.
7407 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7408
0186c6e9
OB
74092013-08-30 Ondřej Bílka <neleai@seznam.cz>
7410
7411 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
7412 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
7413
d4e16af1
OB
74142013-08-29 Ondřej Bílka <neleai@seznam.cz>
7415
7416 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
7417 aix specific files.
7418 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
7419 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
7420 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
7421 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
7424 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
7425 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
7426
88335980
TS
74272013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7428 Roland McGrath <roland@hack.frob.com>
7429
7430 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
7431 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7432
ed479b02
ST
74332013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7434
7435 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
7436 __executable_start symbol instead of _start.
7437
f1cc4c86
TS
74382013-08-29 Thomas Schwinge <thomas@codesourcery.com>
7439
d821f07c
TS
7440 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
7441 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
7442 Move macros to...
7443 * sysdeps/gnu/ldsodefs.h: ... this new file.
7444
c54290cf
TS
7445 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
7446 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
7447 instead of ELFOSABI_LINUX.
7448
0007fc9b 7449 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
7450 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
7451 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
7452 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
7453 Likewise.
7454 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
7455 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
7457 Likewise.
7458 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7459 (ibm_extended_long_double): Add ieee_nan member.
7460 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
7461 (do_test): New function.
7462
f1cc4c86
TS
7463 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
7464 TEST_TRUNC.
7465 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
7466 functions, renamed from truncdfsf_test, trunctfsf_test,
7467 trunctfdf_test.
7468 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
7469 functions.
7470 (do_test): Run all these.
7471
6f65e668
OB
74722013-08-29 Ondřej Bílka <neleai@seznam.cz>
7473
7474 * argp/argp-help.c: Fix typos.
7475 * argp/argp-parse.c: Likewise.
7476 * debug/backtracesyms.c: Likewise.
7477 * elf/elf.h: Likewise.
7478 * malloc/malloc.c: Likewise.
7479 * nis/nis_print.c: Likewise.
7480 * resolv/res_comp.c: Likewise.
7481 * stdlib/stdlib.h: Likewise.
7482 * sunrpc/clnt_tcp.c: Likewise.
7483 * sunrpc/clnt_udp.c: Likewise.
7484 * sunrpc/clnt_unix.c: Likewise.
7485 * sysdeps/unix/bsd/ptsname.c: Likewise.
7486 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
7489 Likewise.
7490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
7491 Likewise.
7492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7493 Likewise.
6f65e668
OB
7494 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7495
3a309239
SP
74962013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7497
7498 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
7499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7500
3b813b29
MF
75012013-08-27 Mike Frysinger <vapier@gentoo.org>
7502
7503 [BZ #15897]
7504 * dlfcn/Makefile (tests): Add bug-dl-leaf.
7505 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
7506 ($(objpfx)bug-dl-leaf): New rule.
7507 ($(objpfx)bug-dl-leaf.so): Likewise.
7508 ($(objpfx)bug-dl-leaf.out): Likewise.
7509 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
7510 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
7511 * dlfcn/bug-dl-leaf.c: New test.
7512 * dlfcn/bug-dl-leaf-lib.c: Likewise.
7513 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
7514 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
7515 (dlclose): Likewise.
7516 (dlmopen): Likewise.
7517
8cc3269f
RM
75182013-08-27 Roland McGrath <roland@hack.frob.com>
7519
7f9d0034
RM
7520 * include/netdb.h [!_ISOMAC]:
7521 Don't include <tls.h>.
7522 (h_errno, __libc_h_errno): Move declaration and macros out of
7523 [_LIBC_REENTRANT].
7524
fb431262
RM
7525 * include/resolv.h [_RESOLV_H_]:
7526 Don't include <tls.h>.
7527 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
7528 * resolv/res_libc.c: Don't include <tls.h>.
7529 (_res): Use __attribute__ ((nocommon)) in place of
7530 __attribute__ ((section (".bss"))).
7531
bd81123a
RM
7532 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
7533 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
7534
c4e42566
RM
7535 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
7536
f890a59b
RM
7537 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
7538 only under [SIOCGIFCONF && SIOCGIFNETMASK].
7539
7540 * resolv/res_mkquery.c: Include <sys/time.h>.
7541
5d1f0a09
RM
7542 * inet/ifreq.c: Moved to ...
7543 * sysdeps/unix/ifreq.c: ... here.
7544 * inet/ifreq.c: New file, true stub version.
7545
6fcf28b3
RM
7546 * socket/sa_len.c: New file.
7547 * socket/Makefile (aux): Add it.
7548 * sysdeps/unix/sysv/linux/Makefile
7549 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
7550 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
7551 and #include <socket/sa_len.c>.
7552 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
7553 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
7554
e041fb8b
RM
7555 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
7556 * bits/socket.h: ... here.
7557
8cc3269f
RM
7558 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
7559 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
7560 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
7561
5d228a43
AS
75622013-08-27 Andreas Schwab <schwab@suse.de>
7563
45b8accc
AS
7564 [BZ #15736]
7565 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
7566 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
7567 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
7568 * string/test-strcasecmp.c (test_main): Run tests in several
7569 locales.
7570 * string/test-strncasecmp.c (test_main): Likewise.
7571
5d228a43
AS
7572 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
7573 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
7574 to __strcasecmp_nonascii and __strncasecmp_nonascii.
7575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
7576 (__strncasecmp_ssse3) [PIC]: Likewise.
7577
59d112a4
RM
75782013-08-26 Roland McGrath <roland@hack.frob.com>
7579
53234cc3
RM
7580 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
7581
59d112a4
RM
7582 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
7583 instead of explicitly declaring xdecrypt.
7584 * nis/nss_nis/nis-publickey.c: Likewise.
7585
595aba70
SP
75862013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7587
7588 [BZ #15890]
7589 * nscd/aicache.c: Include res_hconf.h.
7590 (addhstaiX): Initialize res_hconf.
7591
ffabd393
AS
75922013-08-26 Andreas Schwab <schwab@suse.de>
7593
7594 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
7595 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
7596
e0a69f5c
SP
75972013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7598
7599 * nscd/aicache.c (addhstaiX): Fix indentation.
7600
8c12f01d
MF
76012013-08-25 Mike Frysinger <vapier@gentoo.org>
7602
7603 * configure.ac: Quote $build_pt_chown test.
7604 * configure: Regenerated.
7605
8fe89494
JM
76062013-08-23 Joseph Myers <joseph@codesourcery.com>
7607
7608 [BZ #15532]
7609 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
7610 * math/s_cexpf.c (__cexpf): Likewise.
7611 * math/s_cexpl.c (__cexpl): Likewise.
7612 * math/libm-test.inc (cexp_test_data): Correct expected return
7613 value for NaN + i0. Add another test.
7614
75b181d6
DM
76152013-08-22 David S. Miller <davem@davemloft.net>
7616
7617 * po/ca.po: Update Catalan translation from translation project.
936241e4 7618 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 7619
acd06bb1
JM
76202013-08-21 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #15797]
7623 * math/s_fdim.c (__fdim): Check for infinite arguments if result
7624 is infinite, not alongside NaN test.
7625 * math/s_fdimf.c (__fdimf): Likewise.
7626 * math/s_fdiml.c (__fdiml): Likewise.
7627 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
7628 errno is unchanged.
7629
c0c3f78a
OB
76302013-08-21 Ondřej Bílka <neleai@seznam.cz>
7631
7632 * argp/argp-help.c: Fix typos.
7633 * crypt/speeds.c: Likewise.
7634 * csu/check_fds.c: Likewise.
7635 * elf/dl-load.c: Likewise.
7636 * elf/dl-open.c: Likewise.
7637 * elf/reldep3.c: Likewise.
7638 * elf/reldep.c: Likewise.
7639 * elf/sprof.c: Likewise.
7640 * iconv/iconv_charmap.c: Likewise.
7641 * iconv/skeleton.c: Likewise.
7642 * iconv/strtab.c: Likewise.
7643 * io/lockf64.c: Likewise.
7644 * libio/libioP.h: Likewise.
7645 * resolv/gai_notify.c: Likewise.
7646 * resolv/ns_name.c: Likewise.
7647 * resolv/ns_samedomain.c: Likewise.
7648 * resolv/res_send.c: Likewise.
7649 * stdlib/random.c: Likewise.
7650 * sunrpc/rpc/xdr.h: Likewise.
7651 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
7652 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7653 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7654 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7656 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7657 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7658 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7659 * sysdeps/mach/hurd/check_fds.c: Likewise.
7660 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7661 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7662 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7664 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7665 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7666 * sysdeps/pthread/aio_notify.c: Likewise.
7667 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
7668 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7669 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7671 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7672
46ed1038
LD
76732013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7674
7675 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7676 version if bit_Slow_SSE4_2 is set.
7677 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7678 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7679
d400dcac
AZ
76802013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7681
7682 [BZ #15867]
7683 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7684 trampoline stack frame information.
7685 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7687 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7688 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7689 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7690 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7691 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7692 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7693 sa_flags value.
7694 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7695 interrupting a syscall and set with option SA_SIGINFO.
7696
42c8fdd8
JM
76972013-08-20 Joseph Myers <joseph@codesourcery.com>
7698
c980f2f4
JM
7699 [BZ #15531]
7700 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7701 argument is infinite.
7702 * math/s_cprojf.c (__cprojf): Likewise.
7703 * math/s_cprojl.c (__cprojl): Likewise.
7704 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7705 * math/libm-test.inc (cproj_test_data): Add more tests.
7706
0716c4fc
JM
7707 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7708
42c8fdd8
JM
7709 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7710 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7711 size. Use __ffs to determine corresponding shift.
7712
b31469d0
JM
77132013-08-20 Joseph Myers <joseph@codesourcery.com>
7714 Roland McGrath <roland@hack.frob.com>
7715
7716 * Makefile (INSTALL): Remove trailing blank lines from output of
7717 makeinfo.
7718
4e39af6e
AK
77192013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7720
7721 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7722 Align 32 bit compat elf_greg to 8 bytes.
7723
f315524e
AA
77242013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7725
7726 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7727
1326ba1a
SP
77282013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7729
7730 * string/strcoll_l.c (coll_seq): New structure.
7731 (get_next_seq_cached): New function.
7732 (get_next_seq): New function.
7733 (do_compare): New function.
7734 (STRCOLL): Use GNU style definition. Simplify implementation
7735 by using get_next_seq, get_next_seq_cached and do_compare.
7736
91ce4085
FW
77372013-08-16 Florian Weimer <fweimer@redhat.com>
7738
7739 [BZ #14699]
7740 CVE-2013-4237
7741 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7742 member.
7743 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7744 member.
7745 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7746 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7747 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7748 conditional.
7749 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7750 GETDENTS_64BIT_ALIGNED.
7751 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7752 * manual/filesys.texi (Reading/Closing Directory): Document
7753 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7754 strongly.
7755 * manual/conf.texi (Limits for Files): Add portability note to
7756 NAME_MAX, PATH_MAX.
7757 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7758
ca0a6bc4
AS
77592013-08-13 Andreas Schwab <schwab@suse.de>
7760
7761 [BZ #15749]
7762 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7763 of fabs.
7764 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7765 LDBL_MAX_EXP >= 16384]: Add tests for it.
7766
6c1fd795
DM
77672013-08-12 David S. Miller <davem@davemloft.net>
7768
7769 * version.h (RELEASE): Set to "development".
7770 (VERSION): Set to "2.18.90".
7771 * NEWS: Add 2.19 section.
7772
31ad488d
DM
77732013-08-03 David S. Miller <davem@davemloft.net>
7774
7775 * po/ko.po: Update Korean translation from translation project.
7776
db24e684
DM
77772013-08-01 David S. Miller <davem@davemloft.net>
7778
7779 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7780 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7781 Bilka.
7782
f723285b
DM
77832013-07-30 David S. Miller <davem@davemloft.net>
7784
7785 * po/fr.po: Update French translation from translation project.
7786
3cbc52db
DM
77872013-07-28 David S. Miller <davem@davemloft.net>
7788
30bbc0cc
DM
7789 * po/cs.po: Update Czech translation from translation project.
7790
3cbc52db
DM
7791 * po/sv.po: Update Swedish translation from translation project.
7792
d492e6d0
DM
77932013-07-27 David S. Miller <davem@davemloft.net>
7794
f1a7f492
DM
7795 * po/eo.po: Update Esperanto translation from translation project.
7796
90e62a4a
DM
7797 * po/vi.po: Update Vietnamese translation from translation project.
7798
d492e6d0
DM
7799 * po/de.po: Update German translation from translation project.
7800
d4baa62d
DM
78012013-07-26 David S. Miller <davem@davemloft.net>
7802
641aa7b4
DM
7803 * po/bg.po: Update Bulgarian translation from translation project.
7804
d4baa62d
DM
7805 * po/nl.po: Update Dutch translation from translation project.
7806 * po/pl.po: Update Polish translation from translation project.
7807 * po/ru.po: Update Russian translation from translation project.
7808
61a9dcb9
DM
78092013-07-24 David S. Miller <davem@davemloft.net>
7810
7811 * po/libc.pot: Update.
7812
7b1f8b58
AZ
78132013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7814
7815 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7816 variable page size.
7817 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7818 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7819 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7820
a8fc7a03
AK
78212013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7822
7823 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7824
e4608715
CD
78252013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7826 Andreas Schwab <schwab@suse.de>
7827 Roland McGrath <roland@hack.frob.com>
7828 Joseph Myers <joseph@codesourcery.com>
7829 Carlos O'Donell <carlos@redhat.com>
7830
7831 [BZ #15755]
7832 * config.h.in: Define HAVE_PT_CHOWN.
7833 * config.make.in (build-pt-chown): New variable.
7834 * configure.in (--enable-pt_chown): New configure option.
7835 * configure: Regenerate.
7836 * login/Makefile: Include Makeconfig. Build pt_chown only if
7837 build-pt-chown is enabled.
7838 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7839 pt_chown to fix pty ownership.
7840 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7841 CLOSE_ALL_FDS.
7842 * manual/install.texi (Configuring and compiling): Mention
7843 --enable-pt_chown. Add @findex for grantpt.
7844 * INSTALL: Regenerate.
7845
da2d62df
DM
78462013-07-20 David S. Miller <davem@davemloft.net>
7847
7848 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7849 difference between 32-bit and 64-bit.
7850
d7e06450
CD
78512013-07-15 Carlos O'Donell <carlos@redhat.com>
7852
7853 [BZ #15711]
7854 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7855 Avoid system header dependency with -ffreestanding.
7856 ($(objpfx)bits/syscall%d): Likewise.
7857
f959cfd7
DM
78582013-07-13 David S. Miller <davem@davemloft.net>
7859
7860 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7861 underflows from atanl/atan2l due to bug 15319.
7862 (casinh_test_data): Likewise.
7863
c61f8513
DM
78642013-07-07 David S. Miller <davem@davemloft.net>
7865
7866 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7867
72c90ed0
JA
78682013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7869
7870 * sysdeps/i386/fpu/libm-test-ulps: Update.
7871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7872
52dfbe13
SP
78732013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7874
7875 * configure.in (--enable-lock-elision): Fix message text.
7876 * INSTALL: Regenerate.
7877 * configure: Regenerate.
7878
3f169543
AZ
78792013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7880
7881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7882
521c6785
AJ
78832013-07-03 Andreas Jaeger <aj@suse.de>
7884
7885 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7886 define.
7887 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7888 (ptrace_peeksiginfo_args): Add.
7889 (__ptrace_peeksiginfo_flags): Add.
7890 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7892 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7893
d2cc15cb
AM
78942013-07-03 Allan McRae <allan@archlinux.org>
7895
7896 * sysdeps/i386/fpu/libm-test-ulps: Update.
7897
3aaeeca7
DM
78982013-07-02 David S. Miller <davem@davemloft.net>
7899
7900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7901
5314ed1a
MT
79022013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7903
7904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7905
67338156
JM
79062013-07-02 Joseph Myers <joseph@codesourcery.com>
7907
7908 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910
1717da59
AK
79112013-07-02 Andi Kleen <ak@linux.intel.com>
7912
7913 * config.h.in (ENABLE_LOCK_ELISION): Add.
7914 * configure.in (--enable-lock-elision): Add option.
7915 * manual/install.texi: Document --enable lock elision.
7916 * configure: Regenerate
7917 * INSTALL: Regenerate.
7918
1c81621c
L
79192013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7920
7921 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7922 SSE4.2 strcasecmp for libc.a.
7923 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7924
77f01ab5
JM
79252013-07-02 Joseph Myers <joseph@codesourcery.com>
7926
7927 [BZ #13304]
7928 * soft-fp/op-common.h (_FP_FMA): New macro.
7929 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7930 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7931 (_FP_MUL_MEAT_1_imm): ... here.
7932 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7933 (_FP_MUL_MEAT_1_wide): ... here.
7934 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7935 (_FP_MUL_MEAT_1_hard): ... here.
7936 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7937 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7938 (_FP_MUL_MEAT_2_wide): ... here.
7939 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7940 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7941 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7942 (_FP_MUL_MEAT_2_gmp): ... here.
7943 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7944 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7945 (_FP_MUL_MEAT_4_wide): ... here.
7946 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7947 (_FP_MUL_MEAT_4_gmp): ... here.
7948 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7949 (_FP_WFRACBITS_DW_S): Likewise.
7950 (_FP_WFRACXBITS_DW_S): Likewise.
7951 (_FP_HIGHBIT_DW_S): Likewise.
7952 (FP_FMA_S): Likewise.
7953 (_FP_FRAC_HIGH_DW_S): Likewise.
7954 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7955 (_FP_WFRACBITS_DW_D): Likewise.
7956 (_FP_WFRACXBITS_DW_D): Likewise.
7957 (_FP_HIGHBIT_DW_D): Likewise.
7958 (FP_FMA_D): Likewise.
7959 (_FP_FRAC_HIGH_DW_D): Likewise.
7960 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7961 (_FP_WFRACBITS_DW_E): Likewise.
7962 (_FP_WFRACXBITS_DW_E): Likewise.
7963 (_FP_HIGHBIT_DW_E): Likewise.
7964 (FP_FMA_E): Likewise.
7965 (_FP_FRAC_HIGH_DW_E): Likewise.
7966 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7967 (_FP_WFRACBITS_DW_Q): Likewise.
7968 (_FP_WFRACXBITS_DW_Q): Likewise.
7969 (_FP_HIGHBIT_DW_Q): Likewise.
7970 (FP_FMA_Q): Likewise.
7971 (_FP_FRAC_HIGH_DW_Q): Likewise.
7972 * soft-fp/fmasf4.c: New file.
7973 * soft-fp/fmadf4.c: Likewise.
7974 * soft-fp/fmatf4.c: Likewise.
7975
6308fd9a
LD
79762013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7977
7978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7979 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7980 Silvermont.
7981 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7982 macro.
7983 (index_Slow_SSE4_2): Likewise.
7984 (index_Prefer_PMINUB_for_stringop): Likewise.
7985 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7986 bit_Slow_SSE4_2 is set.
7987 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7988 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7989
89cd9569
RA
79902013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7991
7992 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7993 rtld_global._dl_hwcap2.
7994 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7995 POWER8.
7996 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7997 POWER8 feature descriptions defined in _dl_hwcap2.
7998 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7999 string handling for POWER8 feature bits.
8000 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8001 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8002 _dl_powerpc_cap_flags.
8003 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8004 * sysdeps/powerpc/rtld-global-offsets.sym
8005 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8006 _dl_hwcap2 in the rtld_global_ro structure.
8007
1ae8bfe0
RA
80082013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8009
8010 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8011 hardware capabilities in support of AT_HWCAP2.
8012 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8013 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8014 GLRO(dl_hwcap2).
8015 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8016 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8017 explicitly the unknown a_type display mechanism is used.
8018 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8019 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8020 struct member.
8021 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8022 to macro prototype for AT_HWCAP2 support.
8023 * sysdeps/i386/dl-procinfo.h: Likewise.
8024 * sysdeps/s390/dl-procinfo.h: Likewise.
8025 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8026 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8027 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8028 return -1 for unknown a_type display fallback.
8029 * sysdeps/sparc/dl-procinfo.h: Likewise.
8030 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8031 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8032
8fbec010
JM
80332013-06-28 Joseph Myers <joseph@codesourcery.com>
8034
8035 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8036 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8037
0432680e
PY
80382013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8039
8040 [BZ #12492]
8041 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8042 mprotect making __stack_prot writable.
8043
ce61a2ad
NF
80442013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8045 Joseph Myers <joseph@codesourcery.com>
8046
8047 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8048 as being properly aligned.
8049
f91f1c0f
MR
80502013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8051
3d0f5d0c
MR
8052 * dlfcn/modstatic5.c: New file.
8053 * dlfcn/tststatic5.c: New file.
8054 * dlfcn/Makefile (tests): Add tststatic5.
8055 (tests-static): Likewise.
8056 (modules-names): Add modstatic5.
8057 (tststatic5-ENV): New variable.
8058 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8059
f91f1c0f
MR
8060 [BZ #15022]
8061 * elf/dl-support.c (_dl_main_map): New variable.
8062 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8063 (_dl_nns, _dl_load_adds): Set to 1.
8064 (_dl_initial_searchlist): Refer to _dl_main_map.
8065 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8066 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8067 call to _dl_get_origin.
8068 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8069 around call_map.
8070 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8071 * dlfcn/modstatic3.c: New file.
8072 * dlfcn/tststatic3.c: New file.
8073 * dlfcn/tststatic4.c: New file.
8074 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8075 (tests-static): Likewise.
8076 (modules-names): Add modstatic3.
8077 (tststatic3-ENV, tststatic4-ENV): New variables.
8078 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8079 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8080
cbe7d24b
JM
80812013-06-26 Joseph Myers <joseph@codesourcery.com>
8082
8083 * configure.in (CC): Require GCC version 4.4 or later.
8084 * configure: Regenerated.
8085 * manual/install.texi (Tools for Compilation): Update GCC version
8086 requirement.
8087 * INSTALL: Regenerated.
8088
11b8a0e1
LD
80892013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8090
8091 [BZ #15674]
bb5bb87c
L
8092 * string/test-memcmp.c (check2): New.
8093 (main): Call check2.
8094
11b8a0e1
LD
8095 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8096
b0037103
MR
80972013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8098
8099 [BZ #15022]
8100 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8101 over to...
8102 (dl_open_worker) [!SHARED]: ... here.
8103
c18c701d
RA
81042013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8105
8106 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8107
1d17fa5f
RH
81082013-06-25 Richard Henderson <rth@redhat.com>
8109
8110 * locale/programs/locarchive.c: Include <libc-internal.h>
8111
8fcb833a
JM
81122013-06-25 Joseph Myers <joseph@codesourcery.com>
8113
8114 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8115 trailing whitespace removed.
8116
17db6e8d
MF
81172013-06-24 Mike Frysinger <vapier@gentoo.org>
8118
8119 [BZ #10283]
17db6e8d
MF
8120 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8121 * locale/programs/locarchive.c: Include libc-mmap.h.
8122 (prepare_address_space): Take two new outputs (the mmap base and len).
8123 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8124 values.
8125 (create_archive): Declare new mmap base and len values for
8126 prepare_address_space, and store the result in ah.
8127 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8128 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8129 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8130 Declare new mmap base and len values for
8131 prepare_address_space, and store the result in new_ah.
8132 (open_archive): Declare new mmap base and len values for
8133 prepare_address_space, and store the result in ah.
8134 (close_archive): If ah->mmap_base is not NULL, use that and
8135 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8136 * sysdeps/generic/libc-mmap.h: New file.
8137
d605071e
MF
81382013-06-24 Mike Frysinger <vapier@gentoo.org>
8139
8140 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8141 (ALIGN_UP): Likewise.
8142 (PTR_ALIGN_DOWN): Likewise.
8143 (PTR_ALIGN_UP): Likewise.
8144
2f063a6e
RA
81452013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8146
8147 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8148 entry mapped to PPC_PLATFORM_POWER8.
8149 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8150 POWER8.
8151 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8152 (_dl_string_platform): Add case for exporting platform position for
8153 POWER8.
8154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8155 search path to sysdeps/powerpc/powerpc32/power8 directory.
8156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8157 search path to sysdeps/powerpc/powerpc64/power8 directory.
8158 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8159 power7 directories.
8160 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8161 power7 directories.
8162
a31ee4b3
SP
81632013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8164
a74ca98f
SP
8165 * INSTALL: Regenerate.
8166
a31ee4b3
SP
8167 * nscd/connections.c (nscd_init): Fix comment.
8168
695c378f
JM
81692013-06-22 Joseph Myers <joseph@codesourcery.com>
8170
d8412221
JM
8171 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8172
695c378f
JM
8173 [BZ #15667]
8174 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8175 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8176
d1d54715
MR
81772013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8178
8179 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8180 DL_DST_REQ_STATIC.
8181 (DL_DST_REQ_STATIC): Remove macro.
8182
8fdda7af
JM
81832013-06-21 Joseph Myers <joseph@codesourcery.com>
8184
8185 [BZ #7006]
8186 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8187 with a shift of 0 bits.
8188
f3bc5e5a
MR
81892013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8190
8191 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8192 $(tststatic-ENV).
8193
be09e8c9
KK
81942013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8195
8196 [BZ #15655]
8197 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8198
85c2e611
AZ
81992013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8200
8201 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8202 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8203 accepts -fno-tree-loop-distribute-patterns.
8204 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8205 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8206 recursive call.
8207 * string/memset.c (memset): Likewise.
8208 * string/test-memmove.c (simple_memmove): Disable loop transformation
8209 to library calls.
8210 * string/test-memset.c (simple_memset): Likewise.
8211 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8212 * benchtests/bench-memset.c (simple_memset): Likewise.
8213 * configure: Regenerated.
8214
c91e0825
JM
82152013-06-20 Joseph Myers <joseph@codesourcery.com>
8216
b8c792af
JM
8217 * math/test-misc.c (main): Ignore fesetround failure when failures
8218 of subsequent rounding tests would be ignored.
8219
c91e0825
JM
8220 [BZ #15654]
8221 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8222 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8223 * math/fegetenv.c (__fegetenv): Return 0.
8224 * math/fegetexcept.c (fegetexcept): Return 0.
8225 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8226 FE_TONEAREST.
8227 * math/feholdexcpt.c (feholdexcept): Return 0.
8228 * math/fesetenv.c (__fesetenv): Return 0.
8229 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8230 argument FE_TONEAREST.
8231 * math/feupdateenv.c (__feupdateenv): Return 0.
8232 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8233
bfcacbde
RM
82342013-06-18 Roland McGrath <roland@hack.frob.com>
8235
8236 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8237 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8238 ($(objpfx)rtld-%.os rules): Use them.
8239
e55a9b25
AZ
82402013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8241
8242 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8243 fields.
8244
346d65b3
RM
82452013-06-17 Roland McGrath <roland@hack.frob.com>
8246
12086fb4
RM
8247 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8248 length of target pattern, then descending length of dependency pattern.
8249 * configure.in (AWK): Require gawk 3.1.2 or newer.
8250 * manual/install.texi (Tools for Compilation): Say that we do.
8251 * configure: Regenerated.
8252
346d65b3
RM
8253 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8254 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8255 * scripts/sysd-rules.awk: ... this new script.
8256 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8257 than a glob-style pattern.
8258
1a846317
JM
82592013-06-17 Joseph Myers <joseph@codesourcery.com>
8260
8261 * math/test-misc.c (main): Do not treat incorrectly rounded
8262 conversions as failure unless ROUNDING_TESTS passes.
8263
8fc75e6f
JM
82642013-06-15 Joseph Myers <joseph@codesourcery.com>
8265
3711a167
JM
8266 [BZ #15631]
8267 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8268 restore exception state around main square root computation, then
8269 check for inexactness explicitly.
8270
8fc75e6f
JM
8271 * math/libm-test.inc (fma_test_data): Add another test.
8272
61dd6208
SP
82732013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8274
adf23d2c
SP
8275 * manual/threads.texi (Non-POSIX Extensions): New document
8276 node. Document pthread_getattr_default_np and
8277 pthread_setattr_default_np.
8278
61dd6208
SP
8279 * Versions.def (libpthread): Add GLIBC_2.18.
8280 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8282 Likewise.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8284 Likewise.
8285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8286 Likewise.
8287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8288 Likewise.
8289 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8290 Likewise.
8291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8292 Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8294 Likewise.
8295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8296 Likewise.
8297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8298 Likewise.
8299
d086fc7b
LD
83002013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8301
8302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8303 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8304
747ef469
SP
83052013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8306 H.J. Lu <hjl.tools@gmail.com>
8307
8308 [BZ #15627]
8309 * sysdeps/x86_64/rtld-memset.c: Remove file.
8310 * sysdeps/x86_64/rtld-memset.S: New file.
8311
1b2feed2
JM
83122013-06-14 Joseph Myers <joseph@codesourcery.com>
8313
8314 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8315 (test_in_one_mode): Take arguments for whether the rounding mode
8316 is supported for each floating-point type.
8317 (do_test): Pass new arguments to test_in_one_mode using
8318 ROUNDING_TESTS.
8319
a58ad3f8
RM
83202013-06-13 Roland McGrath <roland@hack.frob.com>
8321
8322 * posix/tst-waitid.c (do_test): Distinguish different instances of
8323 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8324 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8325 before entering the kernel for waitpid.
8326
c204ab28
SP
83272013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8328
8329 * NEWS: Fix note on clock function precision. Text by Roland
8330 McGrath.
8331
f4a29fba
RM
83322013-06-13 Roland McGrath <roland@hack.frob.com>
8333
8334 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8335 it into place only when and if the sanity check passes.
8336
1f24b9ad
JM
83372013-06-13 Joseph Myers <joseph@codesourcery.com>
8338
8339 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8340 output for whether conversion result is exact. Take argument
8341 indicating whether type is IBM long double.
8342 (round_for_all): Change need_exact field to ibm_ld.
8343 * stdlib/tst-strtod-round.c (struct exactness): New type.
8344 (struct test): Change bool ld_ok field to struct exactness exact.
8345 (TEST): Update all definitions for change to field.
8346 (tests): Regenerate array contents.
8347 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8348 field value. Check for IBM long double here.
8349 (do_test): Update calls to test_in_one_mode.
8350
58206c68
SP
83512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8352
8353 [BZ #12515]
8354 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
8355 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
8356
2d6f4c5b 83572013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
8358
8359 [BZ #15605]
8360 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
8361 generated by the compiler on loop optimizations.
8362 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
8363 general definitions.
8364
94f2c076
JM
83652013-06-12 Joseph Myers <joseph@codesourcery.com>
8366
8367 * math/bug-nextafter.c: Include <math-tests.h>.
8368 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8369 the relevant type.
8370 * math/bug-nexttoward.c: Include <math-tests.h>.
8371 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8372 the relevant type.
8373 * math/test-misc.c: Include <math-tests.h>.
8374 (main): Only test for exceptions if EXCEPTION_TESTS is true for
8375 the relevant type.
8376
e0e50a0a
AJ
83772013-06-12 Andreas Jaeger <aj@suse.de>
8378
8379 * po/ia.po: Update Interlingua translation from translation
8380 project.
8381
25061094
SP
83822013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8383
8384 * include/fenv.h: Include stdbool.h.
8385 (struct rm_ctx): New structure.
8386 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
8387 Define macro.
8388 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
8389 (SET_RESTORE_ROUNDF): Likewise.
8390 (SET_RESTORE_ROUNDL): Likewise.
8391 (SET_RESTORE_ROUND_NOEX): Likewise.
8392 (SET_RESTORE_ROUND_NOEXF): Likewise.
8393 (SET_RESTORE_ROUND_NOEXL): Likewise.
8394 (SET_RESTORE_ROUND_53BIT): Likewise.
8395 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
8396 (libc_feresetround_noexf_ctx): Likewise.
8397 (libc_feresetround_noexl_ctx): Likewise.
8398 (libc_feholdsetround_53bit_ctx): Likewise.
8399 (libc_feresetround_53bit_ctx): Likewise.
8400 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
8401 (libc_feholdexcept_setround_sse_ctx): New function.
8402 (libc_fesetenv_sse_ctx): Likewise.
8403 (libc_feupdateenv_sse_ctx): Likewise.
8404 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
8405 (libc_feholdexcept_setround_387_ctx): Likewise.
8406 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
8407 (libc_feholdsetround_387_prec_ctx): Likewise.
8408 (libc_feholdsetround_387_ctx): Likewise.
8409 (libc_feholdsetround_387_53bit_ctx): Likewise.
8410 (libc_feholdsetround_sse_ctx): Likewise.
8411 (libc_feresetround_sse_ctx): Likewise.
8412 (libc_feresetround_387_ctx): Likewise.
8413 (libc_feupdateenv_387_ctx): Likewise.
8414 (libc_feholdexcept_setroundf_ctx): Define macro.
8415 (libc_fesetenvf_ctx): Likewise.
8416 (libc_feupdateenvf_ctx): Likewise.
8417 (libc_feholdsetroundf_ctx): Likewise.
8418 (libc_feresetroundf_ctx): Likewise.
8419 (libc_feholdexcept_setround_ctx): Likewise.
8420 (libc_fesetenv_ctx): Likewise.
8421 (libc_feupdateenv_ctx): Likewise.
8422 (libc_feholdsetround_ctx): Likewise.
8423 (libc_feresetround_ctx): Likewise.
8424 (libc_feholdexcept_setroundl_ctx): Likewise.
8425 (libc_feupdateenvl_ctx): Likewise.
8426 (libc_feholdsetroundl_ctx): Likewise.
8427 (libc_feresetroundl_ctx): Likewise.
8428 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
8429 (libc_feresetround_53bit_ctx): Likewise.
8430
59b30555
SP
84312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8432
8433 * locale/iso-639.def: Convert to UTF-8.
8434
f1d73d30
JM
84352013-06-11 Joseph Myers <joseph@codesourcery.com>
8436
8437 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
8438 (EXCEPTION_TESTS_double): Likewise.
8439 (EXCEPTION_TESTS_long_double): Likewise.
8440 (EXCEPTION_TESTS): Likewise.
8441 * math/libm-test.inc (test_exceptions): Only test exceptions if
8442 EXCEPTION_TESTS (FLOAT).
8443
94aca5e7
SP
84442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8445
8446 * benchtests/Makefile (string-bench): Add strcpy_chk and
8447 stpcpy_chk.
8448 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
8449 * benchtests/bench-stpcpy_chk.c: New file.
8450 * benchtests/bench-strcpy_chk-ifunc.c: New file.
8451 * benchtests/bench-strcpy_chk.c: New file.
8452 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
8453 code.
8454 (do_test): Likewise.
8455
fac0c5f2
RA
84562013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8457
8458 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
8459 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
8460 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
8461 with tabs where appropriate.
8462 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
8463 dl-procinfo.h.
8464 [PPC_PLATFORM_PPC440]: Likewise.
8465 [PPC_PLATFORM_PPC464]: Likewise.
8466 [PPC_PLATFORM_PPC476]: Likewise.
8467 (_dl_string_platform): Add support for detecting ppc405, ppc440,
8468 ppc464, and ppc476 platform strings merging from ports/
8469 dl-procinfo.h.
8470
f22bc486
AS
84712013-06-11 Andreas Schwab <schwab@suse.de>
8472
8473 [BZ #14991]
8474 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
8475 (from_ucs4_idx): Regenerate.
8476 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
8477 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
8478 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
8479 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
8480 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
8481 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
8482 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
8483 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
8484 from FROM_LOOP and TO_LOOP specific macros.
8485 (BODY): Handle combining characters.
8486 * iconvdata/BIG5HKSCS.irreversible: Update.
8487 * iconvdata/BIG5HKSCS.precomposed: New file.
8488 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
8489 characters.
8490 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
8491
c1f75dc3
SP
84922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8493
4eacded2
SP
8494 * include/sys/time.h: Fix indentation and add copyright header.
8495
fec799f8
SP
8496 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
8497 (do_test): Likewise.
8498 * string/test-memchr.c (do_one_test): Likewise.
8499 (do_test): Likewise.
8500 * string/test-memcmp.c (do_one_test): Likewise.
8501 (do_test): Likewise.
8502 * string/test-memcpy.c (do_one_test): Likewise.
8503 (do_test): Likewise.
8504 * string/test-memmem.c (do_one_test): Likewise.
8505 (do_test): Likewise.
8506 (do_random_tests): Likewise.
8507 * string/test-memmove.c (do_one_test): Likewise.
8508 (do_test): Likewise.
8509 * string/test-memset.c (do_one_test): Likewise.
8510 (do_test): Likewise.
8511 * string/test-rawmemchr.c (do_one_test): Likewise.
8512 (do_test): Likewise.
8513 * string/test-strcasecmp.c (do_one_test): Likewise.
8514 (do_test): Likewise.
8515 * string/test-strcasestr.c (do_one_test): Likewise.
8516 (do_test): Likewise.
8517 * string/test-strcat.c (do_one_test): Likewise.
8518 (do_test): Likewise.
8519 * string/test-strchr.c (do_one_test): Likewise.
8520 (do_test): Likewise.
8521 * string/test-strcmp.c (do_one_test): Likewise.
8522 (do_test): Likewise.
8523 * string/test-strcpy.c (do_one_test): Likewise.
8524 (do_test): Likewise.
8525 * string/test-string.h: Likewise.
8526 (test_init): Likewise.
8527 * string/test-strlen.c (do_one_test): Likewise.
8528 (do_test): Likewise.
8529 * string/test-strncasecmp.c (do_one_test): Likewise.
8530 (do_test): Likewise.
8531 * string/test-strncat.c (do_one_test): Likewise.
8532 (do_test): Likewise.
8533 * string/test-strncmp.c (do_one_test): Likewise.
8534 (do_test_limit): Likewise.
8535 (do_test): Likewise.
8536 * string/test-strncpy.c (do_one_test): Likewise.
8537 (do_test): Likewise.
8538 * string/test-strnlen.c (do_one_test): Likewise.
8539 (do_test): Likewise.
8540 * string/test-strpbrk.c (do_one_test): Likewise.
8541 (do_test): Likewise.
8542 * string/test-strrchr.c (do_one_test): Likewise.
8543 (do_test): Likewise.
8544 * string/test-strspn.c (do_one_test): Likewise.
8545 (do_test): Likewise.
8546 * string/test-strstr.c (do_one_test): Likewise.
8547 (do_test): Likewise.
8548
97020474
SP
8549 * benchtests/Makefile (string-bench): Add string benchmarks.
8550 * benchtests/bench-bcopy-ifunc.c: New file.
8551 * benchtests/bench-bcopy.c: New file.
8552 * benchtests/bench-bzero-ifunc.c: New file.
8553 * benchtests/bench-bzero.c: New file.
8554 * benchtests/bench-memccpy-ifunc.c: New file.
8555 * benchtests/bench-memccpy.c: New file.
8556 * benchtests/bench-memchr-ifunc.c: New file.
8557 * benchtests/bench-memchr.c: New file.
8558 * benchtests/bench-memcmp-ifunc.c: New file.
8559 * benchtests/bench-memcmp.c: New file.
8560 * benchtests/bench-memmem-ifunc.c: New file.
8561 * benchtests/bench-memmem.c: New file.
8562 * benchtests/bench-memmove-ifunc.c: New file.
8563 * benchtests/bench-memmove.c: New file.
8564 * benchtests/bench-mempcpy-ifunc.c: New file.
8565 * benchtests/bench-mempcpy.c: New file.
8566 * benchtests/bench-memset-ifunc.c: New file.
8567 * benchtests/bench-memset.c: New file.
8568 * benchtests/bench-rawmemchr-ifunc.c: New file.
8569 * benchtests/bench-rawmemchr.c: New file.
8570 * benchtests/bench-stpcpy-ifunc.c: New file.
8571 * benchtests/bench-stpcpy.c: New file.
8572 * benchtests/bench-stpncpy-ifunc.c: New file.
8573 * benchtests/bench-stpncpy.c: New file.
8574 * benchtests/bench-strcasecmp-ifunc.c: New file.
8575 * benchtests/bench-strcasecmp.c: New file.
8576 * benchtests/bench-strcasestr-ifunc.c: New file.
8577 * benchtests/bench-strcasestr.c: New file.
8578 * benchtests/bench-strcat-ifunc.c: New file.
8579 * benchtests/bench-strcat.c: New file.
8580 * benchtests/bench-strchr-ifunc.c: New file.
8581 * benchtests/bench-strchr.c: New file.
8582 * benchtests/bench-strchrnul-ifunc.c: New file.
8583 * benchtests/bench-strchrnul.c: New file.
8584 * benchtests/bench-strcmp-ifunc.c: New file.
8585 * benchtests/bench-strcmp.c: New file.
8586 * benchtests/bench-strcpy-ifunc.c: New file.
8587 * benchtests/bench-strcpy.c: New file.
8588 * benchtests/bench-strcspn-ifunc.c: New file.
8589 * benchtests/bench-strcspn.c: New file.
8590 * benchtests/bench-strlen-ifunc.c: New file.
8591 * benchtests/bench-strlen.c: New file.
8592 * benchtests/bench-strncasecmp-ifunc.c: New file.
8593 * benchtests/bench-strncasecmp.c: New file.
8594 * benchtests/bench-strncat-ifunc.c: New file.
8595 * benchtests/bench-strncat.c: New file.
8596 * benchtests/bench-strncmp-ifunc.c: New file.
8597 * benchtests/bench-strncmp.c: New file.
8598 * benchtests/bench-strncpy-ifunc.c: New file.
8599 * benchtests/bench-strncpy.c: New file.
8600 * benchtests/bench-strnlen-ifunc.c: New file.
8601 * benchtests/bench-strnlen.c: New file.
8602 * benchtests/bench-strpbrk-ifunc.c: New file.
8603 * benchtests/bench-strpbrk.c: New file.
8604 * benchtests/bench-strrchr-ifunc.c: New file.
8605 * benchtests/bench-strrchr.c: New file.
8606 * benchtests/bench-strspn-ifunc.c: New file.
8607 * benchtests/bench-strspn.c: New file.
8608 * benchtests/bench-strstr-ifunc.c: New file.
8609 * benchtests/bench-strstr.c: New file.
8610
c1f75dc3
SP
8611 * benchtests/Makefile: Disable parallel execution of targets.
8612 (string-bench): Add memcpy.
8613 (benchset): New variable to store a list of benchmark sets.
8614 (bench-func): Renamed from bench.
8615 (bench-set): New target.
8616 (bench): Depend on bench-func and bench-set.
8617 * benchtests/README: Add section on benchmark sets.
8618 * benchtests/bench-memcpy-ifunc.c: New file.
8619 * benchtests/bench-memcpy.c: New file.
8620 * benchtests/bench-string.h: New file.
8621
50fd745b
AS
86222013-06-11 Andreas Schwab <schwab@suse.de>
8623
8624 [BZ #15577]
8625 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
8626 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
8627 values in the triple.
8628 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
8629 terminator in the group key.
8630
3ee7e9fe
AJ
86312013-06-11 Andreas Jaeger <aj@suse.de>
8632
8633 * po/zh_TW.po: Update Chinese (traditional) translation from
8634 translation project.
8635
89fb6835
SP
86362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8637
8638 * include/time.h (__clock_gettime): Add libc_hidden_proto.
8639 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
8640 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
8641 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8642 (clock_getcpuclockid): Likewise.
8643 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
8644 Add weak_alias and libc_hidden_def.
8645 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
8646 * rt/clock_gettime.c (clock_gettime): Rename to
8647 __clock_gettime. Add weak_alias and libc_hidden_def.
8648 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
8649 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
8650 __clock_nanosleep. Add weak_alias and libc_hidden_def.
8651 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
8652 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
8653 Likewise.
8654 * rt/clock_settime.c (clock_settime): Rename to
8655 __clock_settime. Add weak_alias and libc_hidden_def.
8656 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
8657
0efa6f8b
JM
86582013-06-10 Joseph Myers <joseph@codesourcery.com>
8659
b8c61b4b
JM
8660 * mach/err_boot.sub: Remove trailing whitespace.
8661 * mach/err_ipc.sub: Likewise.
8662 * mach/err_mach.sub: Likewise.
8663
0efa6f8b
JM
8664 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
8665 (ROUNDING_TESTS_double): Likewise.
8666 (ROUNDING_TESTS_long_double): Likewise.
8667 (ROUNDING_TESTS): Likewise.
8668 * math/libm-test.inc: Include <math-tests.h>.
8669 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8670 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8671 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8672 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8673
50b818bf
SP
86742013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8675
8676 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8677 of assigning.
8678
60d2f8f3
JM
86792013-06-08 Joseph Myers <joseph@codesourcery.com>
8680
4902d2c3
JM
8681 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8682 otherwise empty TRANS lines.
8683 * sysdeps/gnu/errlist.c: Regenerated.
8684
60d2f8f3
JM
8685 * catgets/gencat.c (error_print): Use (void) in function
8686 definition.
8687 * crypt/crypt_util.c (__init_des): Likewise.
8688 * crypt/speeds.c (Stop): Likewise.
8689 (main): Likewise.
8690 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8691 * inet/ruserpass.c (token): Likewise.
8692 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8693 * intl/localealias.c (extend_alias_table): Likewise.
8694 * intl/plural-exp.c (init_germanic_plural): Likewise.
8695 * libio/fcloseall.c (__fcloseall): Likewise.
8696 * libio/genops.c (_IO_flush_all): Likewise.
8697 (_IO_flush_all_linebuffered): Likewise.
8698 (_IO_cleanup): Likewise.
8699 (_IO_iter_begin): Likewise.
8700 (_IO_iter_end): Likewise.
8701 (_IO_list_lock): Likewise.
8702 (_IO_list_unlock): Likewise.
8703 (_IO_list_resetlock): Likewise.
8704 * libio/getchar.c (getchar): Likewise.
8705 * libio/getchar_u.c (getchar_unlocked): Likewise.
8706 * libio/getwchar.c (getwchar): Likewise.
8707 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8708 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8709 * login/getpt.c (__getpt): Likewise.
8710 * login/tst-utmp.c (main): Likewise.
8711 * malloc/hooks.c (__malloc_check_init): Likewise.
8712 * malloc/malloc.c (__malloc_stats): Likewise.
8713 * malloc/mtrace.c (tr_break): Likewise.
8714 (mtrace): Likewise.
8715 (muntrace): Likewise.
8716 * misc/fstab.c (endfsent): Likewise.
8717 * misc/getclktck.c (__getclktck): Likewise.
8718 * misc/getdtsz.c (__getdtablesize): Likewise.
8719 * misc/gethostid.c (gethostid): Likewise.
8720 * misc/getpagesize.c (__getpagesize): Likewise.
8721 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8722 (__get_nprocs): Likewise.
8723 (__get_phys_pages): Likewise.
8724 (__get_avphys_pages): Likewise.
8725 * misc/getttyent.c (getttyent): Likewise.
8726 (setttyent): Likewise.
8727 (endttyent): Likewise.
8728 * misc/getusershell.c (getusershell): Likewise.
8729 (endusershell): Likewise.
8730 (setusershell): Likewise.
8731 (initshells): Likewise.
8732 * misc/hsearch.c (__hdestroy): Likewise.
8733 * misc/sync.c (sync): Likewise.
8734 * misc/syslog.c (closelog_internal): Likewise.
8735 (closelog): Likewise.
8736 * misc/ttyslot.c (ttyslot): Likewise.
8737 * misc/vhangup.c (vhangup): Likewise.
8738 * posix/fork.c (__fork): Likewise.
8739 * posix/getegid.c (__getegid): Likewise.
8740 * posix/geteuid.c (__geteuid): Likewise.
8741 * posix/getgid.c (__getgid): Likewise.
8742 * posix/getpid.c (__getpid): Likewise.
8743 * posix/getppid.c (__getppid): Likewise.
8744 * posix/getuid.c (__getuid): Likewise.
8745 * posix/pause.c (pause): Likewise.
8746 * posix/setpgrp.c (setpgrp): Likewise.
8747 * posix/setsid.c (__setsid): Likewise.
8748 * posix/test-vfork.c (noop): Likewise.
8749 * resolv/gethnamaddr.c (_endhtent): Likewise.
8750 (_gethtent): Likewise.
8751 (ht_endhostent): Likewise.
8752 (gethostent): Likewise.
8753 (dns_service): Likewise.
8754 * stdlib/drand48.c (drand48): Likewise.
8755 * stdlib/lrand48.c (lrand48): Likewise.
8756 * stdlib/mrand48.c (mrand48): Likewise.
8757 * stdlib/rand.c (rand): Likewise.
8758 * stdlib/random.c (__random): Likewise.
8759 * stdlib/setenv.c (clearenv): Likewise.
8760 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8761 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8762 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8763 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8764 (__get_nprocs): Likewise.
8765 (__get_phys_pages): Likewise.
8766 (__get_avphys_pages): Likewise.
8767 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8768 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8769 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8770 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8771 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8772 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8773 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8774 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8775 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8776 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8777 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8778 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8779 * sysdeps/posix/clock.c (clock): Likewise.
8780 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8781 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8782 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8783 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8784 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8785 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8786 (__get_nprocs_conf): Likewise.
8787 (__get_phys_pages): Likewise.
8788 (__get_avphys_pages): Likewise.
8789 * time/clock.c (clock): Likewise.
8790 * time/tzset.c (__tzname_max): Likewise.
8791
2e09a79a
JM
87922013-06-07 Joseph Myers <joseph@codesourcery.com>
8793
8794 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8795 (__bswap_32): Do not use "register".
8796 * crypt/crypt.c (_ufc_doit_r): Likewise.
8797 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8798 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8799 * gmon/gmon.c (__monstartup): Likewise.
8800 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8801 * hurd/hurdmalloc.c (more_memory): Likewise.
8802 (malloc): Likewise.
8803 (free): Likewise.
8804 (realloc): Likewise.
8805 (malloc_fork_prepare): Likewise.
8806 (malloc_fork_parent): Likewise.
8807 (malloc_fork_child): Likewise.
8808 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8809 (_svcauth_des): Likewise.
8810 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8811 * inet/inet_net.c (inet_network): Likewise.
8812 * inet/inet_netof.c (inet_netof): Likewise.
8813 * inet/rcmd.c (__validuser2_sa): Likewise.
8814 * io/fts.c (fts_open): Likewise.
8815 (fts_load): Likewise.
8816 (fts_close): Likewise.
8817 (fts_read): Likewise.
8818 (fts_children): Likewise.
8819 (fts_build): Likewise.
8820 (fts_stat): Likewise.
8821 (fts_sort): Likewise.
8822 (fts_alloc): Likewise.
8823 (fts_lfree): Likewise.
8824 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8825 (_IO_file_xsgetn): Likewise.
8826 (_IO_file_xsgetn_mmap): Likewise.
8827 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8828 (_IO_cookie_write): Likewise.
8829 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8830 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8831 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8832 * malloc/obstack.c (_obstack_begin): Likewise.
8833 (_obstack_begin_1): Likewise.
8834 (_obstack_newchunk): Likewise.
8835 (_obstack_allocated_p): Likewise.
8836 (obstack_free): Likewise.
8837 (_obstack_memory_used): Likewise.
8838 * misc/getttyent.c (getttynam): Likewise.
8839 (getttyent): Likewise.
8840 (skip): Likewise.
8841 (value): Likewise.
8842 * misc/getusershell.c (initshells): Likewise.
8843 * misc/syslog.c (__vsyslog_chk): Likewise.
8844 * misc/ttyslot.c (ttyslot): Likewise.
8845 * nis/nis_hash.c (__nis_hash): Likewise.
8846 * posix/fnmatch_loop.c (FCT): Likewise.
8847 * posix/getconf.c (print_all): Likewise.
8848 (main): Likewise.
8849 * posix/getopt.c (exchange): Likewise.
8850 * posix/glob.c (globfree): Likewise.
8851 (prefix_array): Likewise.
8852 (__glob_pattern_type): Likewise.
8853 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8854 (NS_GET32): Likewise.
8855 (NS_PUT16): Likewise.
8856 (NS_PUT32): Likewise.
8857 * resolv/gethnamaddr.c (getanswer): Likewise.
8858 (gethostbyname2): Likewise.
8859 (gethostbyaddr): Likewise.
8860 (_gethtent): Likewise.
8861 (_gethtbyname2): Likewise.
8862 (_gethtbyaddr): Likewise.
8863 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8864 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8865 * resolv/res_init.c (__res_vinit): Likewise.
8866 (net_mask): Likewise.
8867 * resolv/res_mkquery.c (outchar): Likewise.
8868 (PRINT): Likewise.
8869 * stdio-common/printf_fp.c (outchar): Likewise.
8870 (PRINT): Likewise.
8871 * stdio-common/printf_fphex.c (outchar): Likewise.
8872 (PRINT): Likewise.
8873 * stdio-common/printf_size.c (outchar): Likewise.
8874 (PRINT): Likewise.
8875 * stdio-common/test_rdwr.c (main): Likewise.
8876 * stdio-common/tfformat.c (matches): Likewise.
8877 * stdio-common/vfprintf.c (outchar): Likewise.
8878 (printf_unknown): Likewise.
8879 (buffered_vfprintf): Likewise.
8880 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8881 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8882 (ReadFile): Likewise.
8883 * stdlib/qsort.c (SWAP): Likewise.
8884 (_quicksort): Likewise.
8885 * stdlib/setenv.c (__add_to_environ): Likewise.
8886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8887 * stdlib/strtol_l.c (__strtol_l): Likewise.
8888 * stdlib/tst-strtod.c (main): Likewise.
8889 * stdlib/tst-strtol.c (main): Likewise.
8890 * stdlib/tst-strtoll.c (main): Likewise.
8891 * string/bits/string2.h (__strcmp_cc): Likewise.
8892 (__strcmp_cg): Likewise.
8893 (__strcspn_c1): Likewise.
8894 (__strcspn_c2): Likewise.
8895 (__strcspn_c3): Likewise.
8896 (__strspn_c1): Likewise.
8897 (__strspn_c2): Likewise.
8898 (__strspn_c3): Likewise.
8899 (__strsep_1c): Likewise.
8900 (__strsep_2c): Likewise.
8901 (__strsep_3c): Likewise.
8902 * string/memccpy.c (__memccpy): Likewise.
8903 * string/stpcpy.c (__stpcpy): Likewise.
8904 * string/strcmp.c (strcmp): Likewise.
8905 * string/strrchr.c (strrchr): Likewise.
8906 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8907 Likewise.
8908 * sysdeps/mach/hurd/getcwd.c
8909 (_hurd_canonicalize_directory_name_internal): Likewise.
8910 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8911 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8912 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8913 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8914 Likewise, in both definitions.
8915 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8916 definitions.
8917 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8918 64] (__bswap_64): Likewise.
8919 * time/test_time.c (main): Likewise.
8920 * time/tzfile.c (__tzfile_read): Likewise.
8921 (__tzfile_compute): Likewise.
8922 * time/tzset.c (__tzset_parse_tz): Likewise.
8923 (tzset_internal): Likewise.
8924 (compute_change): Likewise.
8925 * wcsmbs/wcscat.c (__wcscat): Likewise.
8926 * wcsmbs/wcschr.c (wcschr): Likewise.
8927 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8928 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8929 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8930 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8931 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8932 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8933 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8934 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8935 * wcsmbs/wmemset.c (wmemset): Likewise.
8936
9e54314b
JM
89372013-06-06 Joseph Myers <joseph@codesourcery.com>
8938
8939 * scripts/config.guess: Update to version 2013-05-16.
8940 * scripts/config.sub: Update to version 2013-04-24.
8941 * scripts/install-sh: Update to version 2011-11-20.07.
8942 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8943 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8944
350635a5
OB
89452013-06-06 Ondřej Bílka <neleai@seznam.cz>
8946
8947 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8948 * elf/sln.c: Likewise.
8949 * hurd/hurd/ioctl.h: Likewise.
8950 * hurd/hurdmalloc.c: Likewise.
8951 * hurd/xattr.c: Likewise.
8952 * include/shlib-compat.h: Likewise.
8953 * inet/ruserpass.c: Likewise.
8954 * libio/iofgets_u.c: Likewise.
8955 * libio/iofgetws_u.c: Likewise.
8956 * locale/programs/ld-identification.c: Likewise.
8957 * locale/programs/ld-time.c: Likewise.
8958 * mach/msg-destroy.c: Likewise.
8959 * nss/nss_files/files-netgrp.c: Likewise.
8960 * resolv/res_data.c: Likewise.
8961 * soft-fp/op-1.h: Likewise.
8962 * soft-fp/op-2.h: Likewise.
8963 * soft-fp/op-4.h: Likewise.
8964 * soft-fp/op-common.h: Likewise.
8965 * stdio-common/printf_fphex.c: Likewise.
8966 * stdlib/strtod_l.c: Likewise.
8967 * sunrpc/rpc/clnt.h: Likewise.
8968 * sysdeps/generic/framestate.c: Likewise.
8969 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8970 * sysdeps/i386/bsd-setjmp.S: Likewise.
8971 * sysdeps/i386/__longjmp.S: Likewise.
8972 * sysdeps/i386/setjmp.S: Likewise.
8973 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8974 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8976 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8978 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8980 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8981 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8982 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8983 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8984 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8985 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8988 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8989 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8990 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8991 * sysdeps/ieee754/support.c: Likewise.
8992 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8993 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8994 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8995 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8996 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8997 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8998 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8999 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9000 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9001 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9002 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9003 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9004 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9005 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9006 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9007 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9008 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9010
44a988af
OB
90112013-06-05 Ondřej Bílka <neleai@seznam.cz>
9012
25506f09 9013 * posix/transbug.c: Remove executable mode.
44a988af 9014
9c84384c
JM
90152013-06-05 Joseph Myers <joseph@codesourcery.com>
9016
9017 * crypt/speeds.c: Remove trailing whitespace.
9018 * dlfcn/default.c: Likewise.
9019 * elf/ifuncdep2.c: Likewise.
9020 * elf/ifuncmain1.c: Likewise.
9021 * elf/ifuncmain1vis.c: Likewise.
9022 * elf/testobj.h: Likewise.
9023 * elf/tst-stackguard1.c: Likewise.
9024 * gmon/sys/gmon.h: Likewise.
9025 * hurd/hurdmsg.c: Likewise.
9026 * hurd/new-fd.c: Likewise.
9027 * hurd/ports-get.c: Likewise.
9028 * iconvdata/ibm1008_420.c: Likewise.
9029 * inet/tst-getni1.c: Likewise.
9030 * inet/tst-getni2.c: Likewise.
9031 * libio/ioungetc.c: Likewise.
9032 * libio/wfiledoalloc.c: Likewise.
9033 * manual/libm-err-tab.pl: Likewise.
9034 * math/w_dremf.c: Likewise.
9035 * misc/ftruncate.c: Likewise.
9036 * posix/bug-glob2.c: Likewise.
9037 * posix/tst-pcre.c: Likewise.
9038 * posix/wait4.c: Likewise.
9039 * resolv/README: Likewise.
9040 * resolv/res_debug.h: Likewise.
9041 * resolv/tst-inet_ntop.c: Likewise.
9042 * setjmp/bug269-setjmp.c: Likewise.
9043 * soft-fp/extended.h: Likewise.
9044 * soft-fp/op-1.h: Likewise.
9045 * soft-fp/op-2.h: Likewise.
9046 * soft-fp/op-4.h: Likewise.
9047 * soft-fp/op-8.h: Likewise.
9048 * soft-fp/testit.c: Likewise.
9049 * stdio-common/bug16.c: Likewise.
9050 * stdlib/random.c: Likewise.
9051 * sunrpc/rpcsvc/rquota.x: Likewise.
9052 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9053 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9054 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9055 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9057 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9058 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9059 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9061 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9062 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9063 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9064 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9081 * sysdeps/ieee754/s_lib_version.c: Likewise.
9082 * sysdeps/mach/hurd/check_fds.c: Likewise.
9083 * sysdeps/mach/hurd/getsockname.c: Likewise.
9084 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9085 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9086 * sysdeps/powerpc/bits/link.h: Likewise.
9087 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9088 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9089 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9090 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9091 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9092 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9093 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9094 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9095 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9101 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9102 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9103 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9104 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9105 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9106 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9107 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9108 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9109 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9110 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9111 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9112 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9113 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9114 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9115 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9116 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9119 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9120 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9121 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9122 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9123 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9124 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9125 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9126 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9127 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9128 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9129 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9130 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9131 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9132 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9133 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9134 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9135 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9136 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9139 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9140 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9141 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9142 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9143 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9145 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9146 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9147 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9148 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9149 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9150 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9151 * sysdeps/powerpc/sysdep.h: Likewise.
9152 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9153 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9154 * sysdeps/sh/dl-trampoline.S: Likewise.
9155 * sysdeps/sh/memset.S: Likewise.
9156 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9157 * sysdeps/sh/strlen.S: Likewise.
9158 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9159 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9160 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9161 * sysdeps/sparc/sparc32/rem.S: Likewise.
9162 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9163 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9164 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9165 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9166 * sysdeps/sparc/sparc32/urem.S: Likewise.
9167 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9168 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9169 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9170 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9171 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9172 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9173 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9174 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9175 * sysdeps/unix/bsd/times.c: Likewise.
9176 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9177 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9181 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9182 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9183 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9184 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9185 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9186 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9187 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9188 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9189 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9190 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9191 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9192 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9193 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9194 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9196 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9197 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9198 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9199 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9200 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9201 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9203 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9204 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9205 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9206 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9207 * sysdeps/x86_64/strcspn.S: Likewise.
9208
869378a5
RA
92092013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9210
9211 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9212 generated file. Regenerate properly from gen-translit.pl.
9213 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9214 locale/C-translit.h.
9215
840e2943
AS
92162013-06-05 Andreas Schwab <schwab@suse.de>
9217
9218 [BZ #15100]
9219 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9220 week as 6 instead of -1.
9221 * time/tst-strptime.c (day_tests): Add test case.
9222
4c60cb0c
SP
92232013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9224
9225 * sysdeps/generic/math_private.h
9226 (libc_feholdexcept_setround_53bit): Replace with
9227 libc_feholdsetround_53bit.
9228 (libc_feupdateenv_53bit): Replace with
9229 libc_feresetround_53bit.
9230 (SET_RESTORE_ROUND_53BIT): Adjust.
9231
d180203e
SP
92322013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9233
96df079a
SP
9234 * string/test-strchrnul.c: Add copyright header.
9235
d180203e
SP
9236 * posix/tst-getaddrinfo4.c: Increase test timeout.
9237
8b0ccb2d
CD
92382013-06-03 Carlos O'Donell <carlos@redhat.com>
9239
9240 [BZ #15536]
9241 * math/libm-test.inc (MAX_EXP): Remove
9242 (MIN_EXP): Define.
9243 (ulp): Use MIN_EXP - MANT_DIG.
9244 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9245
3b3c4d40
CD
92462013-05-31 Carlos O'Donell <carlos@redhat.com>
9247
9248 * po/be.po: Revert last change.
9249 * po/zh_CN.po: Likewise.
9250 * po/header.pot: Likewise.
9251
fab7ce3f
JM
92522013-05-31 Joseph Myers <joseph@codesourcery.com>
9253
9254 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9255 link-libc-deps to empty as target-specific variable.
9256 * Makerules (link-libc-args): New variable.
9257 (libc-for-link): Likewise.
9258 (link-libc-deps): Likewise.
9259 (lib%.so): Depend on $(link-libc-deps). Link with
9260 $(link-libc-args).
9261 (build-module): Link with $(link-libc-args).
9262 (build-module-asneeded): Likewise.
9263 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9264 list of objects.
9265 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9266 target-specific variable.
9267 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9268 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9269 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9270 libc.
9271 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9272 libc and ld.so.
9273 ($(objpfx)libpcprofile.so): Likewise.
9274 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9275 libc_nonshared.a.
9276 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9277 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9278 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9279 $(link-libc-deps).
9280 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9281 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9282 * login/Makefile ($(objpfx)libutil.so): Likewise.
9283 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9284 * math/Makefile ($(objpfx)libm.so): Likewise.
9285 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9286 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9287 variable instead of depending directly on libc.
9288 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9289 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9290 $(link-libc-deps).
9291 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9292 libc.
9293 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9294 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9295 ($(objpfx)libanl.so): Likewise.
9296 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9297 ld.so.
9298 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9299 $(link-libc-deps).
9300 * sysdeps/i386/fpu/Makefile: Remove file.
9301 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9302 ($(objpfx)libm.so): Remove dependency on ld.so.
9303
eca5920c
PF
93042013-05-30 Patsy Franklin <pfrankli@redhat.com>
9305
9306 [BZ # 15553]
9307 * nis/yp_xdr.c (XDRMAXNAME): Define.
9308 (XDRMAXRECORD): Define.
9309 (xdr_domainname): Use XDRMAXNAME.
9310 (xdr_mapname): Likewise.
9311 (xdr_peername): Likewise.
9312 (xdr_keydat): Use XDRMAXRECORD.
9313 (xdr_valdat): Likewise.
9314
93152013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9316
9317 [BZ #14256]
9318 * manual/errno.texi (ESTALE): Update to account for more than
9319 just NFS file systems.
9320 * sysdeps/gnu/errlist.c: Regenerated.
9321
b9375348
SP
93222013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9323
9324 [BZ #15465]
9325 * elf/Makefile (tests): Add tst-null-argv.
9326 (modules-names): Add tst-null-argv-lib.
9327 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9328 (tst-null-argv-ENV): Set environment for tst-null-argv.
9329 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9330 (RTLD_PROGNAME): New macro.
9331 * elf/tst-null-argv.c: New test case.
9332 * elf/tst-null-argv-lib.c: Library for test case.
9333 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9334 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9335 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9336 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9337 * elf/dl-init.c (call_init): Likewise.
9338 (_dl_init): Likewise.
9339 * elf/dl-load.c (print_search_path): Likewise.
9340 (_dl_map_object): Likewise.
9341 * elf/dl-lookup.c (do_lookup_x): Likewise.
9342 (add_dependency): Likewise.
9343 (_dl_lookup_symbol_x): Likewise.
9344 (_dl_debug_bindings): Likewise.
9345 * elf/dl-open.c (_dl_show_scope): Likewise.
9346 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9347 * elf/dl-version.c (match_symbol): Likewise.
9348 (_dl_check_map_versions): Likewise.
9349 * elf/rtld.c (dl_main): Likewise.
9350 (print_unresolved): Use RTLD_PROGNAME.
9351 (print_missing_version): Likewise.
9352 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
9353 (elf_machine_rela): Likewise.
9354 * sysdeps/powerpc/powerpc32/dl-machine.c
9355 (__process_machine_rela): Likewise.
9356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9357 Likewise.
9358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9359 Likewise.
9360 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9361 Likewise.
9362 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
9364 Likewise.
9365 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
9366 Likewise.
9367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9368
8a9f20c8
CD
93692013-05-28 Carlos O'Donell <carlos@redhat.com>
9370
9371 * po/be.po: Add descriptive title.
9372 * po/zh_CN.po: Likewise.
9373 * po/header.pot: Likewise.
9374
0e60d68e
MF
93752013-05-28 Mike Frysinger <vapier@gentoo.org>
9376
9377 * locale/programs/locarchive.c (create_archive): Inlucde fname in
9378 error message.
9379 (enlarge_archive): Likewise.
9380
56b672e9
BN
93812013-05-28 Ben North <ben@redfrontdoor.org>
9382
9383 * manual/arith.texi (frexp): It is the magnitude of the return
9384 value which lies in [0.5, 1), not the return value itself.
9385
5e056687
AZ
93862013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9387
9388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9389
2b66ef5d
TS
93902013-05-26 Thomas Schwinge <thomas@codesourcery.com>
9391
528c2405
TS
9392 * stdio-common/bug26.c (main): Correct fscanf template.
9393
07b4c13d
TS
9394 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
9395 declare _dl_skip_args.
9396
ec9dd97c
TS
9397 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
9398 Don't declare.
9399
2b66ef5d
TS
9400 * manual/platform.texi: Add missing @end deftypefun.
9401
4f8dfe27
JM
94022013-05-24 Joseph Myers <joseph@codesourcery.com>
9403
0323d086
JM
9404 [BZ #15529]
9405 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
9406 bit of mantissa of 2^16382.
9407 * math/libm-test.inc (hypot_test_data): Add more tests.
9408
dd4259b9
JM
9409 * math/libm-test.inc: Add drem and pow10 to list of tested
9410 functions.
9411 (pow10_test): New function.
9412 (drem_test): Likewise.
9413 (drem_test_tonearest): Likewise.
9414 (drem_test_towardzero): Likewise.
9415 (drem_test_downward): Likewise.
9416 (drem_test_upward): Likewise.
9417 (main): Call the new functions.
9418
4f8dfe27
JM
9419 * math/libm-test.inc (finite_test_data): Remove.
9420 (finite_test): Run tests from isfinite_test_data.
9421 (gamma_test_data): Remove.
9422 (gamma_test): Run tests from lgamma_test_data.
9423 * sysdeps/i386/fpu/libm-test-ulps: Update.
9424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9425
d116b7c4
AZ
94262013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9427
9428 * manual/platform.texi: Add PowerPC PPR function set documentation.
9429 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
9430 implementation.
9431
e96e3767
CD
94322013-05-24 Carlos O'Donell <carlos@redhat.com>
9433
9434 * math/libm-test.inc (MAX_EXP): Define.
9435 (ULPDIFF): Define.
9436 (ulp): New function.
9437 (check_float_internal): Use ULPDIFF.
9438 (cpow_test): Disable failing test.
9439 (check_ulp): Test ulp() implemetnation.
9440 (main): Call check_ulp before starting tests.
9441
b679a606
JM
94422013-05-24 Joseph Myers <joseph@codesourcery.com>
9443
e8bdba36
JM
9444 * math/gen-libm-test.pl (generate_testfile): Do not handle
9445 START_DATA and END_DATA.
9446 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
9447 END_DATA.
9448 (acos_tonearest_test_data): Likewise.
9449 (acos_towardzero_test_data): Likewise.
9450 (acos_downward_test_data): Likewise.
9451 (acos_upward_test_data): Likewise.
9452 (acosh_test_data): Likewise.
9453 (asin_test_data): Likewise.
9454 (asin_tonearest_test_data): Likewise.
9455 (asin_towardzero_test_data): Likewise.
9456 (asin_downward_test_data): Likewise.
9457 (asin_upward_test_data): Likewise.
9458 (asinh_test_data): Likewise.
9459 (atan_test_data): Likewise.
9460 (atanh_test_data): Likewise.
9461 (atan2_test_data): Likewise.
9462 (cabs_test_data): Likewise.
9463 (cacos_test_data): Likewise.
9464 (cacosh_test_data): Likewise.
9465 (carg_test_data): Likewise.
9466 (casin_test_data): Likewise.
9467 (casinh_test_data): Likewise.
9468 (catan_test_data): Likewise.
9469 (catanh_test_data): Likewise.
9470 (cbrt_test_data): Likewise.
9471 (ccos_test_data): Likewise.
9472 (ccosh_test_data): Likewise.
9473 (ceil_test_data): Likewise.
9474 (cexp_test_data): Likewise.
9475 (cimag_test_data): Likewise.
9476 (clog_test_data): Likewise.
9477 (clog10_test_data): Likewise.
9478 (conj_test_data): Likewise.
9479 (copysign_test_data): Likewise.
9480 (cos_test_data): Likewise.
9481 (cos_tonearest_test_data): Likewise.
9482 (cos_towardzero_test_data): Likewise.
9483 (cos_downward_test_data): Likewise.
9484 (cos_upward_test_data): Likewise.
9485 (cosh_test_data): Likewise.
9486 (cosh_tonearest_test_data): Likewise.
9487 (cosh_towardzero_test_data): Likewise.
9488 (cosh_downward_test_data): Likewise.
9489 (cosh_upward_test_data): Likewise.
9490 (cpow_test_data): Likewise.
9491 (cproj_test_data): Likewise.
9492 (creal_test_data): Likewise.
9493 (csin_test_data): Likewise.
9494 (csinh_test_data): Likewise.
9495 (csqrt_test_data): Likewise.
9496 (ctan_test_data): Likewise.
9497 (ctan_tonearest_test_data): Likewise.
9498 (ctan_towardzero_test_data): Likewise.
9499 (ctan_downward_test_data): Likewise.
9500 (ctan_upward_test_data): Likewise.
9501 (ctanh_test_data): Likewise.
9502 (ctanh_tonearest_test_data): Likewise.
9503 (ctanh_towardzero_test_data): Likewise.
9504 (ctanh_downward_test_data): Likewise.
9505 (ctanh_upward_test_data): Likewise.
9506 (erf_test_data): Likewise.
9507 (erfc_test_data): Likewise.
9508 (exp_test_data): Likewise.
9509 (exp_tonearest_test_data): Likewise.
9510 (exp_towardzero_test_data): Likewise.
9511 (exp_downward_test_data): Likewise.
9512 (exp_upward_test_data): Likewise.
9513 (exp10_test_data): Likewise.
9514 (exp2_test_data): Likewise.
9515 (expm1_test_data): Likewise.
9516 (fabs_test_data): Likewise.
9517 (fdim_test_data): Likewise.
9518 (finite_test_data): Likewise.
9519 (floor_test_data): Likewise.
9520 (fma_test_data): Likewise.
9521 (fma_towardzero_test_data): Likewise.
9522 (fma_downward_test_data): Likewise.
9523 (fma_upward_test_data): Likewise.
9524 (fmax_test_data): Likewise.
9525 (fmin_test_data): Likewise.
9526 (fmod_test_data): Likewise.
9527 (fpclassify_test_data): Likewise.
9528 (frexp_test_data): Likewise.
9529 (gamma_test_data): Likewise.
9530 (hypot_test_data): Likewise.
9531 (ilogb_test_data): Likewise.
9532 (isfinite_test_data): Likewise.
9533 (isgreater_test_data): Likewise.
9534 (isgreaterequal_test_data): Likewise.
9535 (isinf_test_data): Likewise.
9536 (isless_test_data): Likewise.
9537 (islessequal_test_data): Likewise.
9538 (islessgreater_test_data): Likewise.
9539 (isnan_test_data): Likewise.
9540 (isnormal_test_data): Likewise.
9541 (issignaling_test_data): Likewise.
9542 (isunordered_test_data): Likewise.
9543 (j0_test_data): Likewise.
9544 (j1_test_data): Likewise.
9545 (jn_test_data): Likewise.
9546 (ldexp_test_data): Likewise.
9547 (lgamma_test_data): Likewise.
9548 (lrint_test_data): Likewise.
9549 (lrint_tonearest_test_data): Likewise.
9550 (lrint_towardzero_test_data): Likewise.
9551 (lrint_downward_test_data): Likewise.
9552 (lrint_upward_test_data): Likewise.
9553 (llrint_test_data): Likewise.
9554 (llrint_tonearest_test_data): Likewise.
9555 (llrint_towardzero_test_data): Likewise.
9556 (llrint_downward_test_data): Likewise.
9557 (llrint_upward_test_data): Likewise.
9558 (log_test_data): Likewise.
9559 (log10_test_data): Likewise.
9560 (log1p_test_data): Likewise.
9561 (log2_test_data): Likewise.
9562 (logb_test_data): Likewise.
9563 (logb_downward_test_data): Likewise.
9564 (lround_test_data): Likewise.
9565 (llround_test_data): Likewise.
9566 (modf_test_data): Likewise.
9567 (nearbyint_test_data): Likewise.
9568 (nextafter_test_data): Likewise.
9569 (nexttoward_test_data): Likewise.
9570 (pow_test_data): Likewise.
9571 (pow_tonearest_test_data): Likewise.
9572 (pow_towardzero_test_data): Likewise.
9573 (pow_downward_test_data): Likewise.
9574 (pow_upward_test_data): Likewise.
9575 (remainder_test_data): Likewise.
9576 (remainder_tonearest_test_data): Likewise.
9577 (remainder_towardzero_test_data): Likewise.
9578 (remainder_downward_test_data): Likewise.
9579 (remainder_upward_test_data): Likewise.
9580 (remquo_test_data): Likewise.
9581 (rint_test_data): Likewise.
9582 (rint_tonearest_test_data): Likewise.
9583 (rint_towardzero_test_data): Likewise.
9584 (rint_downward_test_data): Likewise.
9585 (rint_upward_test_data): Likewise.
9586 (round_test_data): Likewise.
9587 (scalb_test_data): Likewise.
9588 (scalbn_test_data): Likewise.
9589 (scalbln_test_data): Likewise.
9590 (signbit_test_data): Likewise.
9591 (sin_test_data): Likewise.
9592 (sin_tonearest_test_data): Likewise.
9593 (sin_towardzero_test_data): Likewise.
9594 (sin_downward_test_data): Likewise.
9595 (sin_upward_test_data): Likewise.
9596 (sincos_test_data): Likewise.
9597 (sinh_test_data): Likewise.
9598 (sinh_tonearest_test_data): Likewise.
9599 (sinh_towardzero_test_data): Likewise.
9600 (sinh_downward_test_data): Likewise.
9601 (sinh_upward_test_data): Likewise.
9602 (sqrt_test_data): Likewise.
9603 (tan_test_data): Likewise.
9604 (tan_tonearest_test_data): Likewise.
9605 (tan_towardzero_test_data): Likewise.
9606 (tan_downward_test_data): Likewise.
9607 (tan_upward_test_data): Likewise.
9608 (tanh_test_data): Likewise.
9609 (tgamma_test_data): Likewise.
9610 (trunc_test_data): Likewise.
9611 (y0_test_data): Likewise.
9612 (y1_test_data): Likewise.
9613 (yn_test_data): Likewise.
9614 (significand_test_data): Likewise.
9615
b679a606
JM
9616 * math/gen-libm-test.pl (@functions): Remove variable.
9617 (generate_testfile): Don't handle START and END lines.
9618 * math/libm-test.inc (START): New macro.
9619 (END): Likewise.
9620 (END_COMPLEX): Likewise.
9621 (acos_test): Use END macro without arguments.
9622 (acos_test_tonearest): Likewise.
9623 (acos_test_towardzero): Likewise.
9624 (acos_test_downward): Likewise.
9625 (acos_test_upward): Likewise.
9626 (acosh_test): Likewise.
9627 (asin_test): Likewise.
9628 (asin_test_tonearest): Likewise.
9629 (asin_test_towardzero): Likewise.
9630 (asin_test_downward): Likewise.
9631 (asin_test_upward): Likewise.
9632 (asinh_test): Likewise.
9633 (atan_test): Likewise.
9634 (atanh_test): Likewise.
9635 (atan2_test): Likewise.
9636 (cabs_test): Likewise.
9637 (cacos_test): Use END_COMPLEX macro without arguments.
9638 (cacosh_test): Likewise.
9639 (carg_test): Use END macro without arguments.
9640 (casin_test): Use END_COMPLEX macro without arguments.
9641 (casinh_test): Likewise.
9642 (catan_test): Likewise.
9643 (catanh_test): Likewise.
9644 (cbrt_test): Use END macro without arguments.
9645 (ccos_test): Use END_COMPLEX macro without arguments.
9646 (ccosh_test): Likewise.
9647 (ceil_test): Use END macro without arguments.
9648 (cexp_test): Use END_COMPLEX macro without arguments.
9649 (cimag_test): Use END macro without arguments.
9650 (clog_test): Use END_COMPLEX macro without arguments.
9651 (clog10_test): Likewise.
9652 (conj_test): Likewise.
9653 (copysign_test): Use END macro without arguments.
9654 (cos_test): Likewise.
9655 (cos_test_tonearest): Likewise.
9656 (cos_test_towardzero): Likewise.
9657 (cos_test_downward): Likewise.
9658 (cos_test_upward): Likewise.
9659 (cosh_test): Likewise.
9660 (cosh_test_tonearest): Likewise.
9661 (cosh_test_towardzero): Likewise.
9662 (cosh_test_downward): Likewise.
9663 (cosh_test_upward): Likewise.
9664 (cpow_test): Use END_COMPLEX macro without arguments.
9665 (cproj_test): Likewise.
9666 (creal_test): Use END macro without arguments.
9667 (csin_test): Use END_COMPLEX macro without arguments.
9668 (csinh_test): Likewise.
9669 (csqrt_test): Likewise.
9670 (ctan_test): Likewise.
9671 (ctan_test_tonearest): Likewise.
9672 (ctan_test_towardzero): Likewise.
9673 (ctan_test_downward): Likewise.
9674 (ctan_test_upward): Likewise.
9675 (ctanh_test): Likewise.
9676 (ctanh_test_tonearest): Likewise.
9677 (ctanh_test_towardzero): Likewise.
9678 (ctanh_test_downward): Likewise.
9679 (ctanh_test_upward): Likewise.
9680 (erf_test): Use END macro without arguments.
9681 (erfc_test): Likewise.
9682 (exp_test): Likewise.
9683 (exp_test_tonearest): Likewise.
9684 (exp_test_towardzero): Likewise.
9685 (exp_test_downward): Likewise.
9686 (exp_test_upward): Likewise.
9687 (exp10_test): Likewise.
9688 (exp2_test): Likewise.
9689 (expm1_test): Likewise.
9690 (fabs_test): Likewise.
9691 (fdim_test): Likewise.
9692 (finite_test): Likewise.
9693 (floor_test): Likewise.
9694 (fma_test): Likewise.
9695 (fma_test_towardzero): Likewise.
9696 (fma_test_downward): Likewise.
9697 (fma_test_upward): Likewise.
9698 (fmax_test): Likewise.
9699 (fmin_test): Likewise.
9700 (fmod_test): Likewise.
9701 (fpclassify_test): Likewise.
9702 (frexp_test): Likewise.
9703 (gamma_test): Likewise.
9704 (hypot_test): Likewise.
9705 (ilogb_test): Likewise.
9706 (isfinite_test): Likewise.
9707 (isgreater_test): Likewise.
9708 (isgreaterequal_test): Likewise.
9709 (isinf_test): Likewise.
9710 (isless_test): Likewise.
9711 (islessequal_test): Likewise.
9712 (islessgreater_test): Likewise.
9713 (isnan_test): Likewise.
9714 (isnormal_test): Likewise.
9715 (issignaling_test): Likewise.
9716 (isunordered_test): Likewise.
9717 (j0_test): Likewise.
9718 (j1_test): Likewise.
9719 (jn_test): Likewise.
9720 (ldexp_test): Likewise.
9721 (lgamma_test): Likewise.
9722 (lrint_test): Likewise.
9723 (lrint_test_tonearest): Likewise.
9724 (lrint_test_towardzero): Likewise.
9725 (lrint_test_downward): Likewise.
9726 (lrint_test_upward): Likewise.
9727 (llrint_test): Likewise.
9728 (llrint_test_tonearest): Likewise.
9729 (llrint_test_towardzero): Likewise.
9730 (llrint_test_downward): Likewise.
9731 (llrint_test_upward): Likewise.
9732 (log_test): Likewise.
9733 (log10_test): Likewise.
9734 (log1p_test): Likewise.
9735 (log2_test): Likewise.
9736 (logb_test): Likewise.
9737 (logb_test_downward): Likewise.
9738 (lround_test): Likewise.
9739 (llround_test): Likewise.
9740 (modf_test): Likewise.
9741 (nearbyint_test): Likewise.
9742 (nextafter_test): Likewise.
9743 (nexttoward_test): Likewise.
9744 (pow_test): Likewise.
9745 (pow_test_tonearest): Likewise.
9746 (pow_test_towardzero): Likewise.
9747 (pow_test_downward): Likewise.
9748 (pow_test_upward): Likewise.
9749 (remainder_test): Likewise.
9750 (remainder_test_tonearest): Likewise.
9751 (remainder_test_towardzero): Likewise.
9752 (remainder_test_downward): Likewise.
9753 (remainder_test_upward): Likewise.
9754 (remquo_test): Likewise.
9755 (rint_test): Likewise.
9756 (rint_test_tonearest): Likewise.
9757 (rint_test_towardzero): Likewise.
9758 (rint_test_downward): Likewise.
9759 (rint_test_upward): Likewise.
9760 (round_test): Likewise.
9761 (scalb_test): Likewise.
9762 (scalbn_test): Likewise.
9763 (scalbln_test): Likewise.
9764 (signbit_test): Likewise.
9765 (sin_test): Likewise.
9766 (sin_test_tonearest): Likewise.
9767 (sin_test_towardzero): Likewise.
9768 (sin_test_downward): Likewise.
9769 (sin_test_upward): Likewise.
9770 (sincos_test): Likewise.
9771 (sinh_test): Likewise.
9772 (sinh_test_tonearest): Likewise.
9773 (sinh_test_towardzero): Likewise.
9774 (sinh_test_downward): Likewise.
9775 (sinh_test_upward): Likewise.
9776 (sqrt_test): Likewise.
9777 (tan_test): Likewise.
9778 (tan_test_tonearest): Likewise.
9779 (tan_test_towardzero): Likewise.
9780 (tan_test_downward): Likewise.
9781 (tan_test_upward): Likewise.
9782 (tanh_test): Likewise.
9783 (tgamma_test): Likewise.
9784 (trunc_test): Likewise.
9785 (y0_test): Likewise.
9786 (y1_test): Likewise.
9787 (yn_test): Likewise.
9788 (significand_test): Likewise.
9789
bae143d2
OB
97902013-05-24 Ondřej Bílka <neleai@seznam.cz>
9791
9792 [BZ #15381]
9793 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9794
9323d39b
EM
97952013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9796
d4ea44a0 9797 [BZ #14894]
9323d39b
EM
9798 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9799 __ppc_mdoio and __ppc_mdoom.
9800 * manual/platform.texi: Document new functions __ppc_yield,
9801 __ppc_mdoio and __ppc_mdoom.
9802
13e23af7
CD
98032013-05-22 Carlos O'Donell <carlos@redhat.com>
9804
9805 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9806 (main): Mention "tls" pseudo-hwcap is legacy.
9807 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9808
351fe550
JM
98092013-05-22 Joseph Myers <joseph@codesourcery.com>
9810
9811 * math/gen-libm-test.pl (parse_args): Output only string of
9812 arguments as text for test name, not full call or descriptions of
9813 tests for extra outputs.
9814 (generate_testfile): Do not pass function name to parse_args.
9815 Generate this_func variable from START.
9816 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9817 field to arg_str.
9818 (struct test_ff_f_data): Likewise.
9819 (test_ff_f_data_nexttoward): Likewise.
9820 (struct test_fi_f_data): Likewise.
9821 (struct test_fl_f_data): Likewise.
9822 (struct test_if_f_data): Likewise.
9823 (struct test_fff_f_data): Likewise.
9824 (struct test_c_f_data): Likewise.
9825 (struct test_f_f1_data): Likewise. Remove field extra_name.
9826 (struct test_fF_f1_data): Likewise.
9827 (struct test_ffI_f1_data): Likewise.
9828 (struct test_c_c_data): Rename test_name field to arg_str.
9829 (struct test_cc_c_data): Likewise.
9830 (struct test_f_i_data): Likewise.
9831 (struct test_ff_i_data): Likewise.
9832 (struct test_f_l_data): Likewise.
9833 (struct test_f_L_data): Likewise.
9834 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9835 and extra2_name.
9836 (COMMON_TEST_SETUP): New macro.
9837 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9838 (COMMON_TEST_CLEANUP): Likewise.
9839 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9840 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9841 macros.
9842 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9843 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9844 macros.
9845 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9846 (RUN_TEST_fff_f): Take argument string. Call new setup and
9847 cleanup macros.
9848 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9849 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9850 macros.
9851 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9852 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9853 macros.
9854 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9855 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9856 cleanup macros.
9857 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9858 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9859 cleanup macros.
9860 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9861 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9862 cleanup macros.
9863 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9864 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9865 macros.
9866 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9867 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9868 macros.
9869 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9870 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9871 macros.
9872 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9873 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9874 cleanup macros.
9875 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9876 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9877 cleanup macros.
9878 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9879 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9880 macros.
9881 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9882 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9883 cleanup macros.
9884 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9885 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9886 macros.
9887 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9888 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9889 macros.
9890 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9891 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9892 cleanup macros.
9893 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9894
85118d4d
EBM
98952013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9896
9897 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9898 to _sifields.sigfault.
9899 (si_addr_lsb): Define new macro.
9900 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9901 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9902 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9903
7a44c18f
CD
99042013-05-03 Carlos O'Donell <carlos at redhat.com>
9905
9906 [BZ #15441]
9907 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9908 returns -1.
9909 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9910 null return -1.
9911 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9912 loading the domain.
9913
b50a7181
JM
99142013-05-22 Joseph Myers <joseph@codesourcery.com>
9915
9916 * math/gen-libm-test.pl (parse_args): Do not include expected
9917 result in test name.
9918 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9920 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9921 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9922 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9924
051063c8
SP
99252013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9926
3ce9e010
SP
9927 * benchtests/Makefile: Sort function entries.
9928
051063c8
SP
9929 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9930 tanh, asinh, acosh, atanh.
9931 * benchtests/acos-inputs: New file.
9932 * benchtests/acosh-inputs: New file.
9933 * benchtests/asin-inputs: New file.
9934 * benchtests/asinh-inputs: New file.
9935 * benchtests/atanh-inputs: New file.
9936 * benchtests/cosh-inputs: New file.
9937 * benchtests/log-inputs: New file.
9938 * benchtests/sinh-inputs: New file.
9939 * benchtests/tanh-inputs: New file.
9940
47c22455
DL
99412013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9942
9943 [BZ #15339]
9944 * posix/tst-getaddrinfo4.c: New test.
9945 * posix/Makefile (tests): Add it.
9946
3d04f5db
SP
99472013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9948
9949 [BZ #15339]
9950 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9951 when no services were used.
9952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9953 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9954
d5dd6189
AS
99552013-05-21 Andreas Schwab <schwab@suse.de>
9956
9957 [BZ #15014]
9958 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9959 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9960 successful.
9961 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9962 redundant variable declarations and reallocation of buffer when
9963 parsing as IPv6 address. Always set NSS status when called from
9964 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9965 buffer too small. Correct computation of needed size.
9966 * nss/Makefile (tests): Add test-digits-dots.
9967 * nss/test-digits-dots.c: New test.
9968
fef94eab
SP
99692013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9970
9971 * benchtests/Makefile: Remove instructions for adding
9972 benchmark tests.
9973 * benchtests/README: New file to explain how to execute and
9974 enhance the benchmark tests.
9975
e39adf43
AS
99762013-05-21 Andreas Schwab <schwab@suse.de>
9977
9978 [BZ #15493]
9979 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9980 * setjmp/tst-sigsetjmp.c: New test.
9981
b2b671b6
OB
99822013-05-20 Ondřej Bílka <neleai@seznam.cz>
9983
9984 * sysdeps/x86_64/memset.S (memset): New implementation.
9985 (__bzero): Likewise.
9986 (__memset_tail): New function.
9987
2d48b41c
OB
99882013-05-20 Ondřej Bílka <neleai@seznam.cz>
9989
9990 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9991 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9992 __memcpy_sse2_unaligned ifunc selection.
9993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9994 Add memcpy-sse2-unaligned.S.
9995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9996 Add: __memcpy_sse2_unaligned.
9997
f16cc3eb
JM
99982013-05-19 Joseph Myers <joseph@codesourcery.com>
9999
3e694268
JM
10000 [BZ #15490]
10001 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10002 math_force_eval before restoring floating-point envrionment.
10003 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10004 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10005 Likewise.
10006 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10007 <math_private.h>.
10008 (__nearbyintl): Use math_force_eval before restoring
10009 floating-point environment.
10010 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10011
db62a907
JM
10012 * math/gen-libm-test.pl (special_functions): Remove.
10013 (parse_args): Don't handle TEST_extra. Handle functions with no
10014 return value.
10015 * math/libm-test.inc (struct test_sincos_data): Replace with
10016 struct test_fFF_11_data.
10017 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10018 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10019 (sincos_test_data): Change element type to struct
10020 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10021 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10022 RUN_TEST_LOOP_sincos.
10023 * math/README.libm-test: Don't mention special handling of
10024 individual functions.
10025 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10026 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10027 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10029 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10031
f16cc3eb
JM
10032 * math/gen-libm-test.pl (get_variable): Remove function.
10033 (parse_args): Don't show pointer parameters to call in test
10034 names. Use "extra output N" in test names for extra outputs
10035 rather than naming variables.
10036
3779b5b6
JM
100372013-05-18 Joseph Myers <joseph@codesourcery.com>
10038
2ee094ff
JM
10039 [BZ #15488]
10040 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10041 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10042 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10043 double tests.
10044 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10045 disable.
10046 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10047 check_long_double.
10048
3779b5b6
JM
10049 * math/gen-libm-test.pl (@tests): Remove variable.
10050 ($count): Likewise.
10051 (new_test): Remove function.
10052 (show_exceptions): New function.
10053 (special_functions): Use show_exceptions instead of new_test.
10054 (parse_args): Likewise.
10055 (generate_testfile): Pass only function name in generated call to
10056 print_max_error or print_complex_max_error.
10057 (get_ulps): Do not handle complex tests specially.
10058 (output_test): Rename to ...
10059 (get_all_ulps_for_test): ... this. Return a string rather than
10060 printing to a file. Require ulps to be present.
10061 (output_ulps): Generate arrays rather than #defines.
10062 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10063 (struct ulp_data): New type.
10064 (BUILD_COMPLEX_ULP): Remove macro.
10065 (compare_ulp_data): New function.
10066 (find_ulps): Likewise.
10067 (find_test_ulps): Likewise.
10068 (find_function_ulps): Likewise.
10069 (find_complex_function_ulps): Likewise.
10070 (print_max_error): Determine allowed ulps using
10071 find_function_ulps.
10072 (print_complex_max_error): Determine allowed ulps using
10073 find_complex_function_ulps.
10074 (check_float_internal): Determine max ulps using find_test_ulps.
10075 (check_float): Do not take max_ulp parameter. Update call to
10076 check_float_internal.
10077 (check_complex): Likewise.
10078 (check_int): Do not take max_ulp parameter.
10079 (check_long): Likewise.
10080 (check_bool): Likewise.
10081 (check_longlong): Likewise.
10082 (struct test_f_f_data): Remove max_ulp field.
10083 (struct test_ff_f_data): Likewise.
10084 (struct test_ff_f_data_nexttoward): Likewise.
10085 (struct test_fi_f_data): Likewise.
10086 (struct test_fl_f_data): Likewise.
10087 (struct test_if_f_data): Likewise.
10088 (struct test_fff_f_data): Likewise.
10089 (struct test_c_f_data): Likewise.
10090 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10091 (struct test_fF_f1_data): Likewise.
10092 (struct test_ffI_f1_data): Likewise.
10093 (struct test_c_c_data): Remove max_ulp field.
10094 (struct test_cc_c_data): Likewise.
10095 (struct test_f_i_data): Likewise.
10096 (struct test_ff_i_data): Likewise.
10097 (struct test_f_l_data): Likewise.
10098 (struct test_f_L_data): Likewise.
10099 (struct test_sincos_data): Likewise.
10100 (RUN_TEST_f_f): Do not handle ulps.
10101 (RUN_TEST_LOOP_f_f): Likewise.
10102 (RUN_TEST_2_f): Likewise.
10103 (RUN_TEST_LOOP_2_f): Likewise.
10104 (RUN_TEST_fff_f): Likewise.
10105 (RUN_TEST_LOOP_fff_f): Likewise.
10106 (RUN_TEST_c_f): Likewise.
10107 (RUN_TEST_LOOP_c_f): Likewise.
10108 (RUN_TEST_f_f1): Likewise.
10109 (RUN_TEST_LOOP_f_f1): Likewise.
10110 (RUN_TEST_fF_f1): Likewise.
10111 (RUN_TEST_LOOP_fF_f1): Likewise.
10112 (RUN_TEST_fI_f1): Likewise.
10113 (RUN_TEST_LOOP_fI_f1): Likewise.
10114 (RUN_TEST_ffI_f1): Likewise.
10115 (RUN_TEST_LOOP_ffI_f1): Likewise.
10116 (RUN_TEST_c_c): Likewise.
10117 (RUN_TEST_LOOP_c_c): Likewise.
10118 (RUN_TEST_cc_c): Likewise.
10119 (RUN_TEST_LOOP_cc_c): Likewise.
10120 (RUN_TEST_f_i): Likewise.
10121 (RUN_TEST_LOOP_f_i): Likewise.
10122 (RUN_TEST_f_i_tg): Likewise.
10123 (RUN_TEST_LOOP_f_i_tg): Likewise.
10124 (RUN_TEST_ff_i_tg): Likewise.
10125 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10126 (RUN_TEST_f_b): Likewise.
10127 (RUN_TEST_LOOP_f_b): Likewise.
10128 (RUN_TEST_f_b_tg): Likewise.
10129 (RUN_TEST_LOOP_f_b_tg): Likewise.
10130 (RUN_TEST_f_l): Likewise.
10131 (RUN_TEST_LOOP_f_l): Likewise.
10132 (RUN_TEST_f_L): Likewise.
10133 (RUN_TEST_LOOP_f_L): Likewise.
10134 (RUN_TEST_sincos): Likewise.
10135 (RUN_TEST_LOOP_sincos): Likewise.
10136
8269107f
JM
101372013-05-17 Joseph Myers <joseph@codesourcery.com>
10138
bb38759d
JM
10139 [BZ #15480]
10140 [BZ #15485]
10141 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10142 main case of finite arguments, set rounding mode to FE_TONEAREST
10143 and discard exceptions.
10144 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10145 exceptions.
10146 (remainder_tonearest_test_data): New variable.
10147 (remainder_test_tonearest): New function.
10148 (remainder_towardzero_test_data): New variable.
10149 (remainder_test_towardzero): New function.
10150 (remainder_downward_test_data): New variable.
10151 (remainder_test_downward): New function.
10152 (remainder_upward_test_data): New variable.
10153 (remainder_test_upward): New function.
10154 (main): Call the new test functions.
10155
a00bdcf0
JM
10156 * math/libm-test.inc (struct test_f_f1_data): Remove field
10157 extra_init.
10158 (struct test_fF_f1_data): Likewise.
10159 (struct test_ffI_f1_data): Likewise.
10160 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10161 based on value of EXTRA_EXPECTED.
10162 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10163 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10164 EXTRA_VAR based on value of EXTRA_EXPECTED.
10165 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10166 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10167 EXTRA_VAR based on value of EXTRA_EXPECTED.
10168 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10169 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10170 EXTRA_VAR based on value of EXTRA_EXPECTED.
10171 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10172 * math/gen-libm-test.pl (parse_args): Don't output initializers
10173 for extra output values.
10174
de407f79
JM
10175 * math/libm-test.inc (check_int): Expect result to be exactly
10176 equal to expected value and do not handle ulps.
10177 (check_long): Likewise.
10178 (check_longlong): Likewise.
10179
8269107f
JM
10180 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10181 exceptions.
10182 (cimag_test_data): Likewise.
10183 (conj_test_data): Likewise.
10184 (copysign_test_data): Likewise.
10185 (cproj_test_data): Likewise.
10186 (creal_test_data): Likewise.
10187 (fabs_test_data): Likewise.
10188 (fdim_test_data): Likewise.
10189 (finite_test_data): Likewise.
10190 (floor_test_data): Likewise.
10191 (fmax_test_data): Likewise.
10192 (fmin_test_data): Likewise.
10193 (fmod_test_data): Likewise.
10194 (fpclassify_test_data): Likewise.
10195 (frexp_test_data): Likewise.
10196 (ilogb_test_data): Likewise.
10197 (isfinite_test_data): Likewise.
10198 (isgreater_test_data): Likewise.
10199 (isgreaterequal_test_data): Likewise.
10200 (isinf_test_data): Likewise.
10201 (isless_test_data): Likewise.
10202 (islessequal_test_data): Likewise.
10203 (islessgreater_test_data): Likewise.
10204 (isnan_test_data): Likewise.
10205 (isnormal_test_data): Likewise.
10206 (issignaling_test_data): Likewise.
10207 (isunordered_test_data): Likewise.
10208 (ldexp_test_data): Likewise.
10209 (lrint_test_data): Likewise.
10210 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10211 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10212 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10213 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10214 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10215 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10216 test input.
10217 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10218 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10219 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10220 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10221 that test input.
10222 (lrint_downward_test_data): Test for "inexact" exceptions.
10223 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10224 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10225 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10226 test input.
10227 (lrint_upward_test_data): Test for "inexact" exceptions.
10228 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10229 test input.
10230 (llrint_test_data): Test for "inexact" exceptions.
10231 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10232 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10233 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10234 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10235 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10236 (llrint_downward_test_data): Test for "inexact" exceptions.
10237 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10238 (llrint_upward_test_data): Test for "inexact" exceptions.
10239 (logb_test_data): Likewise.
10240 (logb_downward_test_data): Likewise.
10241 (nextafter_test_data): Likewise.
10242 (nexttoward_test_data): Likewise.
10243 (remainder_test_data): Likewise.
10244 (remquo_test_data): Likewise.
10245 (scalbn_test_data): Likewise.
10246 (scalbln_test_data): Likewise.
10247 (signbit_test_data): Likewise.
10248 (sqrt_test_data): Likewise.
10249 (significand_test_data): Likewise.
10250
48a18de1
SP
102512013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10252
10253 [BZ #15424]
10254 * benchtests/bench-modf.c (struct args): Mark arg0 as
10255 volatile.
10256 * scripts/bench.pl: Mark members of struct args as volatile.
10257
13d3b41a
AZ
102582013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10259
68191c1d 10260 [BZ # 15497]
13d3b41a
AZ
10261 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10262 negative infinity on POWER6 or lower.
10263 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10264
2848b105
MR
102652013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10266
10267 [BZ #15442]
10268 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10269 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10270 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10271 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10272 (_FP_SETQNAN): New macro.
10273 (_FP_SETQNAN_SEMIRAW): Likewise.
10274 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10275 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10276 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10277 (FP_EXTEND): Use _FP_FRAC_SNANP.
10278 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10279 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10280 into account.
10281 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10282 New macro.
10283 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10284 Likewise.
10285
323e5cb7
JM
102862013-05-16 Joseph Myers <joseph@codesourcery.com>
10287
c58b274f
JM
10288 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10289 with DIVIDE_BY_ZERO_EXCEPTION.
10290 (gamma_test_data): Likewise.
10291 (lgamma_test_data): Likewise.
10292 (log_test_data): Likewise.
10293 (log10_test_data): Likewise.
10294 (log2_test_data): Likewise.
10295 (tgamma_test_data): Likewise.
10296
0ab34904
JM
10297 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10298 (acos_test_tonearest): Likewise.
10299 (acos_test_towardzero): Likewise.
10300 (acos_test_downward): Likewise.
10301 (acos_test_upward): Likewise.
10302 (acosh_test): Likewise.
10303 (asin_test): Likewise.
10304 (asin_test_tonearest): Likewise.
10305 (asin_test_towardzero): Likewise.
10306 (asin_test_downward): Likewise.
10307 (asin_test_upward): Likewise.
10308 (asinh_test): Likewise.
10309 (atan_test): Likewise.
10310 (atanh_test): Likewise.
10311 (atan2_test): Likewise.
10312 (cabs_test): Likewise.
10313 (cacos_test): Likewise.
10314 (cacosh_test): Likewise.
10315 (casin_test): Likewise.
10316 (casinh_test): Likewise.
10317 (catan_test): Likewise.
10318 (catanh_test): Likewise.
10319 (cbrt_test): Likewise.
10320 (ccos_test): Likewise.
10321 (ccosh_test): Likewise.
10322 (cexp_test): Likewise.
10323 (clog_test): Likewise.
10324 (clog10_test): Likewise.
10325 (cos_test): Likewise.
10326 (cos_test_tonearest): Likewise.
10327 (cos_test_towardzero): Likewise.
10328 (cos_test_downward): Likewise.
10329 (cos_test_upward): Likewise.
10330 (cosh_test): Likewise.
10331 (cosh_test_tonearest): Likewise.
10332 (cosh_test_towardzero): Likewise.
10333 (cosh_test_downward): Likewise.
10334 (cosh_test_upward): Likewise.
10335 (cpow_test): Likewise.
10336 (csin_test): Likewise.
10337 (csinh_test): Likewise.
10338 (csqrt_test): Likewise.
10339 (ctan_test): Likewise.
10340 (ctan_test_tonearest): Likewise.
10341 (ctan_test_towardzero): Likewise.
10342 (ctan_test_downward): Likewise.
10343 (ctan_test_upward): Likewise.
10344 (ctanh_test): Likewise.
10345 (ctanh_test_tonearest): Likewise.
10346 (ctanh_test_towardzero): Likewise.
10347 (ctanh_test_downward): Likewise.
10348 (ctanh_test_upward): Likewise.
10349 (erf_test): Likewise.
10350 (erfc_test): Likewise.
10351 (exp_test): Likewise.
10352 (exp_test_tonearest): Likewise.
10353 (exp_test_towardzero): Likewise.
10354 (exp_test_downward): Likewise.
10355 (exp_test_upward): Likewise.
10356 (exp10_test): Likewise.
10357 (exp2_test): Likewise.
10358 (expm1_test): Likewise.
10359 (fmod_test): Likewise.
10360 (gamma_test): Likewise.
10361 (hypot_test): Likewise.
10362 (j0_test): Likewise.
10363 (j1_test): Likewise.
10364 (jn_test): Likewise.
10365 (lgamma_test): Likewise.
10366 (log_test): Likewise.
10367 (log10_test): Likewise.
10368 (log1p_test): Likewise.
10369 (log2_test): Likewise.
10370 (logb_test_downward): Likewise.
10371 (pow_test): Likewise.
10372 (pow_test_tonearest): Likewise.
10373 (pow_test_towardzero): Likewise.
10374 (pow_test_downward): Likewise.
10375 (pow_test_upward): Likewise.
10376 (remainder_test): Likewise.
10377 (remquo_test): Likewise.
10378 (sin_test): Likewise.
10379 (sin_test_tonearest): Likewise.
10380 (sin_test_towardzero): Likewise.
10381 (sin_test_downward): Likewise.
10382 (sin_test_upward): Likewise.
10383 (sincos_test): Likewise.
10384 (sinh_test): Likewise.
10385 (sinh_test_tonearest): Likewise.
10386 (sinh_test_towardzero): Likewise.
10387 (sinh_test_downward): Likewise.
10388 (sinh_test_upward): Likewise.
10389 (sqrt_test): Likewise.
10390 (tan_test): Likewise.
10391 (tan_test_tonearest): Likewise.
10392 (tan_test_towardzero): Likewise.
10393 (tan_test_downward): Likewise.
10394 (tan_test_upward): Likewise.
10395 (tanh_test): Likewise.
10396 (tgamma_test): Likewise.
10397 (y0_test): Likewise.
10398 (y1_test): Likewise.
10399 (yn_test): Likewise.
10400
323e5cb7
JM
10401 * math/gen-libm-test.pl (adjust_arg): Remove function.
10402 (special_function): Remove argument $in_func. Only handle
10403 generating output for tables of tests, not inside functions.
10404 (parse_args): Likewise.
10405 (generate_testfile): Remove variable $in_func. Update call to
10406 parse_args.
10407 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
10408 (MINUS_ZERO_INIT): Rename macro to minus_zero.
10409 (PLUS_INFTY_INIT): Rename macro to plus_infty.
10410 (MINUS_INFTY_INIT): Rename macro to minus_infty.
10411 (QNAN_VALUE_INIT): Rename macro to qnan_value.
10412 (MAX_VALUE_INIT): Rename macro to max_value.
10413 (MIN_VALUE_INIT): Rename macro to min_value.
10414 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
10415 (plus_zero): Remove variable.
10416 (minus_zero): Likewise.
10417 (plus_infty): Likewise.
10418 (minus_infty): Likewise.
10419 (qnan_value): Likewise.
10420 (max_value): Likewise.
10421 (min_value): Likewise.
10422 (min_subnorm_value): Likewise.
10423
e054f494
RA
104242013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10425
10426 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
10427 uint64_t or uint32_t usage.
10428 * crypt/sha256-block.c: Likewise.
10429 * crypt/sha256-crypt.c: Likewise.
10430 * crypt/sha256.c: Likewise.
10431 * crypt/sha512-block.c: Likewise.
10432 * crypt/sha512-crypt.c: Likewise.
10433 * crypt/sha512.c: Likewise.
10434 * debug/backtrace-tst.c: Likewise.
10435 * debug/pcprofiledump.c: Likewise.
10436 * elf/cache.c: Likewise.
10437 * elf/dl-cache.c: Likewise.
10438 * elf/dl-misc.c: Likewise.
10439 * elf/dl-profile.c: Likewise.
10440 * elf/dl-support.c: Likewise.
10441 * elf/ldconfig.c: Likewise.
10442 * elf/sprof.c: Likewise.
10443 * iconv/dummy-repertoire.c: Likewise.
10444 * iconv/iconv_charmap.c: Likewise.
10445 * iconv/skeleton.c: Likewise.
10446 * iconvdata/8bit-generic.c: Likewise.
10447 * iconvdata/cp737.h: Likewise.
10448 * iconvdata/cp775.h: Likewise.
10449 * iconvdata/ibm1008.h: Likewise.
10450 * iconvdata/ibm1025.h: Likewise.
10451 * iconvdata/ibm1046.h: Likewise.
10452 * iconvdata/ibm1097.h: Likewise.
10453 * iconvdata/ibm1112.h: Likewise.
10454 * iconvdata/ibm1122.h: Likewise.
10455 * iconvdata/ibm1123.h: Likewise.
10456 * iconvdata/ibm1124.h: Likewise.
10457 * iconvdata/ibm1129.h: Likewise.
10458 * iconvdata/ibm1130.h: Likewise.
10459 * iconvdata/ibm1132.h: Likewise.
10460 * iconvdata/ibm1133.h: Likewise.
10461 * iconvdata/ibm1137.h: Likewise.
10462 * iconvdata/ibm1140.h: Likewise.
10463 * iconvdata/ibm1141.h: Likewise.
10464 * iconvdata/ibm1142.h: Likewise.
10465 * iconvdata/ibm1143.h: Likewise.
10466 * iconvdata/ibm1144.h: Likewise.
10467 * iconvdata/ibm1145.h: Likewise.
10468 * iconvdata/ibm1146.h: Likewise.
10469 * iconvdata/ibm1147.h: Likewise.
10470 * iconvdata/ibm1148.h: Likewise.
10471 * iconvdata/ibm1149.h: Likewise.
10472 * iconvdata/ibm1153.h: Likewise.
10473 * iconvdata/ibm1154.h: Likewise.
10474 * iconvdata/ibm1155.h: Likewise.
10475 * iconvdata/ibm1156.h: Likewise.
10476 * iconvdata/ibm1157.h: Likewise.
10477 * iconvdata/ibm1158.h: Likewise.
10478 * iconvdata/ibm1160.h: Likewise.
10479 * iconvdata/ibm1161.h: Likewise.
10480 * iconvdata/ibm1162.h: Likewise.
10481 * iconvdata/ibm1163.h: Likewise.
10482 * iconvdata/ibm1164.h: Likewise.
10483 * iconvdata/ibm1166.h: Likewise.
10484 * iconvdata/ibm1167.h: Likewise.
10485 * iconvdata/ibm12712.h: Likewise.
10486 * iconvdata/ibm1390.h: Likewise.
10487 * iconvdata/ibm1399.h: Likewise.
10488 * iconvdata/ibm16804.h: Likewise.
10489 * iconvdata/ibm4517.h: Likewise.
10490 * iconvdata/ibm4899.h: Likewise.
10491 * iconvdata/ibm4909.h: Likewise.
10492 * iconvdata/ibm4971.h: Likewise.
10493 * iconvdata/ibm5347.h: Likewise.
10494 * iconvdata/ibm803.h: Likewise.
10495 * iconvdata/ibm856.h: Likewise.
10496 * iconvdata/ibm901.h: Likewise.
10497 * iconvdata/ibm902.h: Likewise.
10498 * iconvdata/ibm9030.h: Likewise.
10499 * iconvdata/ibm9066.h: Likewise.
10500 * iconvdata/ibm921.h: Likewise.
10501 * iconvdata/ibm922.h: Likewise.
10502 * iconvdata/ibm9448.h: Likewise.
10503 * iconvdata/isiri-3342.h: Likewise.
10504 * iconvdata/jis0201.h: Likewise.
10505 * include/link.h: Likewise.
10506 * include/netdb.h: Likewise.
10507 * inet/check_native.c: Likewise.
10508 * inet/check_pf.c: Likewise.
10509 * inet/getipv4sourcefilter.c: Likewise.
10510 * inet/getnameinfo.c: Likewise.
10511 * inet/getsourcefilter.c: Likewise.
10512 * inet/htonl.c: Likewise.
10513 * inet/setipv4sourcefilter.c: Likewise.
10514 * inet/setsourcefilter.c: Likewise.
10515 * inet/test-inet6_opt.c: Likewise.
10516 * inet/tst-network.c: Likewise.
10517 * locale/C-collate.c: Likewise.
10518 * locale/C-ctype.c: Likewise.
10519 * locale/C-time.c: Likewise.
10520 * locale/C-translit.h: Likewise.
10521 * locale/loadarchive.c: Likewise.
10522 * locale/programs/3level.h: Likewise.
10523 * locale/programs/charmap.c: Likewise.
10524 * locale/programs/charmap.h: Likewise.
10525 * locale/programs/ld-address.c: Likewise.
10526 * locale/programs/ld-collate.c: Likewise.
10527 * locale/programs/ld-ctype.c: Likewise.
10528 * locale/programs/ld-identification.c: Likewise.
10529 * locale/programs/ld-measurement.c: Likewise.
10530 * locale/programs/ld-messages.c: Likewise.
10531 * locale/programs/ld-monetary.c: Likewise.
10532 * locale/programs/ld-name.c: Likewise.
10533 * locale/programs/ld-numeric.c: Likewise.
10534 * locale/programs/ld-paper.c: Likewise.
10535 * locale/programs/ld-telephone.c: Likewise.
10536 * locale/programs/ld-time.c: Likewise.
10537 * locale/programs/linereader.c: Likewise.
10538 * locale/programs/locale.c: Likewise.
10539 * locale/programs/locarchive.c: Likewise.
10540 * locale/programs/locfile.h: Likewise.
10541 * locale/programs/repertoire.c: Likewise.
10542 * locale/programs/simple-hash.c: Likewise.
10543 * locale/programs/simple-hash.h: Likewise.
10544 * malloc/memusage.c: Likewise.
10545 * malloc/memusagestat.c: Likewise.
10546 * nis/nis_defaults.c: Likewise.
10547 * nis/nis_hash.c: Likewise.
10548 * nis/nis_print.c: Likewise.
10549 * nis/nis_xdr.c: Likewise.
10550 * nscd/connections.c: Likewise.
10551 * nscd/hstcache.c: Likewise.
10552 * nscd/nscd_gethst_r.c: Likewise.
10553 * nscd/nscd_getserv_r.c: Likewise.
10554 * nscd/nscd_helper.c: Likewise.
10555 * nscd/servicescache.c: Likewise.
10556 * nss/makedb.c: Likewise.
10557 * nss/nss_db/db-XXX.c: Likewise.
10558 * nss/nss_db/db-initgroups.c: Likewise.
10559 * nss/nss_db/db-netgrp.c: Likewise.
10560 * nss/nss_files/files-network.c: Likewise.
10561 * nss/nss_files/files-parse.c: Likewise.
10562 * posix/bug-regex5.c: Likewise.
10563 * posix/fnmatch_loop.c: Likewise.
10564 * posix/regcomp.c: Likewise.
10565 * posix/regexec.c: Likewise.
10566 * posix/tst-rfc3484-2.c: Likewise.
10567 * posix/tst-rfc3484-3.c: Likewise.
10568 * posix/tst-rfc3484.c: Likewise.
10569 * resolv/nss_dns/dns-canon.c: Likewise.
10570 * resolv/nss_dns/dns-network.c: Likewise.
10571 * resolv/res_init.c: Likewise.
10572 * resolv/res_mkquery.c: Likewise.
10573 * resolv/tst-aton.c: Likewise.
10574 * stdlib/cxa_atexit.c: Likewise.
10575 * stdlib/cxa_finalize.c: Likewise.
10576 * stdlib/gen-fpioconst.c: Likewise.
10577 * stdlib/strtol_l.c: Likewise.
10578 * string/tst-endian.c: Likewise.
10579 * sunrpc/auth_des.c: Likewise.
10580 * sunrpc/clnt_udp.c: Likewise.
10581 * sunrpc/rtime.c: Likewise.
10582 * sunrpc/svcauth_des.c: Likewise.
10583 * sunrpc/xdr.c: Likewise.
10584 * sunrpc/xdr_intXX_t.c: Likewise.
10585 * sunrpc/xdr_rec.c: Likewise.
10586 * sysdeps/generic/ldconfig.h: Likewise.
10587 * sysdeps/generic/ldsodefs.h: Likewise.
10588 * sysdeps/generic/memusage.h: Likewise.
10589 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
10590 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
10591 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
10592 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10595 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
10596 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
10597 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10598 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10599 * sysdeps/posix/getaddrinfo.c: Likewise.
10600 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10601 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10602 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10604 * sysdeps/powerpc/test-gettimebase.c: Likewise.
10605 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10606 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
10607 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
10608 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10609 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
10610 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10611 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10612 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
10613 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
10615 * sysdeps/x86_64/dl-tls.h: Likewise.
10616 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
10617 * time/alt_digit.c: Likewise.
10618 * time/era.c: Likewise.
10619 * wcsmbs/tst-c16c32-1.c: Likewise.
10620
8c75f674
JM
106212013-05-16 Joseph Myers <joseph@codesourcery.com>
10622
10623 * math/libm-test.inc (struct test_sincos_data): New type.
10624 (RUN_TEST_LOOP_sincos): New macro.
10625 (sincos_test_data): New variable.
10626 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
10627
e6e49e59
RH
106282013-05-16 Richard Henderson <rth@redhat.com>
10629
10630 * math/atest-exp2.c (LIMB64): New macro.
10631 (CONSTSZ): New macro.
10632 (mp_exp1, mp_exp_m1, mp_log2): New variables.
10633 (hexdig): Move ...
10634 (print_mpn_fp): ... to function scope.
10635 (read_mpn_hex): Remove.
10636 (get_log2): Remove.
10637 (exp2_mpn): Use mp_log2.
10638 (main): Use mp_exp1.
10639
15c7c18d
JM
106402013-05-16 Joseph Myers <joseph@codesourcery.com>
10641
105a07df
JM
10642 * math/libm-test.inc: Remove comment about not testing "inexact"
10643 exceptions.
10644 (INEXACT_EXCEPTION): New macro.
10645 (NO_INEXACT_EXCEPTION): Likewise.
10646 (INVALID_EXCEPTION_OK): Update value.
10647 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10648 (OVERFLOW_EXCEPTION_OK): Likewise.
10649 (UNDERFLOW_EXCEPTION_OK): Likewise.
10650 (IGNORE_ZERO_INF_SIGN): Likewise.
10651 (ERRNO_UNCHANGED): Likewise.
10652 (ERRNO_EDOM): Likewise.
10653 (ERRNO_ERANGE): Likewise.
10654 (test_exceptions): Handle testing "inexact" exceptions.
10655 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
10656 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
10657 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
10658 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
10659 INEXACT_EXCEPTION.
10660 (rint_towardzero_test_data): Likewise.
10661 (rint_downward_test_data): Likewise.
10662 (rint_upward_test_data): Likewise.
10663
e9eee333
JM
10664 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
10665 with OVERFLOW_EXCEPTION.
10666 (exp10_test_data): Likewise.
10667 (exp2_test_data): Likewise.
10668 (expm1_test_data): Likewise.
10669 (lgamma_test_data): Likewise.
10670 (pow_test_data): Likewise.
10671 (tgamma_test_data): Likewise.
10672 (yn_test_data): Remove duplicate test of overflow.
10673
1c38ff73
JM
10674 * math/libm-test.inc (struct test_cc_c_data): New type.
10675 (RUN_TEST_LOOP_cc_c): New macro.
10676 (cpow_test_data): New variable.
10677 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10678
15c7c18d
JM
10679 * math/libm-test.inc (struct test_f_L_data): New type.
10680 (RUN_TEST_LOOP_f_L): New macro.
10681 (llrint_test_data): New variable.
10682 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10683 (llrint_tonearest_test_data): New variable.
10684 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10685 (llrint_towardzero_test_data): New variable.
10686 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10687 (llrint_downward_test_data): New variable.
10688 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10689 (llrint_upward_test_data): New variable.
10690 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10691 (llround_test_data): New variable.
10692 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10693
f137ff13
PC
106942013-05-13 Peter Collingbourne <pcc@google.com>
10695
10696 * math/atest-exp2.c (get_log2): Remove const attribute.
10697
3608cb24
JM
106982013-05-15 Joseph Myers <joseph@codesourcery.com>
10699
10700 * math/libm-test.inc (struct test_f_l_data): New type.
10701 (RUN_TEST_LOOP_f_l): New macro.
10702 (lrint_test_data): New variable.
10703 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10704 (lrint_tonearest_test_data): New variable.
10705 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10706 (lrint_towardzero_test_data): New variable.
10707 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10708 (lrint_downward_test_data): New variable.
10709 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10710 (lrint_upward_test_data): New variable.
10711 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10712 (lround_test_data): New variable.
10713 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10714
39b1f617
PC
107152013-05-15 Peter Collingbourne <pcc@google.com>
10716
1deff3dc
PC
10717 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10718 (EXTRACT_WORDS64) Use where appropriate.
10719 (INSERT_WORDS64) Likewise.
10720
791f3ba0
PC
10721 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10722 constraints with x constraints.
10723 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10724
39b1f617
PC
10725 * malloc/obstack.c (_obstack_compat): Add initializer.
10726
12fba011
EM
107272013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10728
10729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10730 si_trapno and add si_addr_lsb to _sifields.sigfault.
10731 (si_trapno): Remove macro.
10732 (si_addr_lsb): Define new macro.
10733 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10734
d369f531
JM
107352013-05-15 Joseph Myers <joseph@codesourcery.com>
10736
b861c6c4
JM
10737 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10738 instead of TEST_f_l.
10739 (llrint_test_tonearest): Likewise.
10740 (llrint_test_towardzero): Likewise.
10741 (llrint_test_downward): Likewise.
10742 (llrint_test_upward): Likewise.
10743 (llround_test): Likewise.
10744
7abeee12
JM
10745 * math/libm-test.inc (struct test_f_i_data): Add comment.
10746 (RUN_TEST_LOOP_f_b): New macro.
10747 (RUN_TEST_LOOP_f_b_tg): Likewise.
10748 (finite_test_data): New variable.
10749 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10750 (isfinite_test_data): New variable.
10751 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10752 (isinf_test_data): New variable.
10753 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10754 (isnan_test_data): New variable.
10755 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10756 (isnormal_test_data): New variable.
10757 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10758 (issignaling_test_data): New variable.
10759 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10760 (signbit_test_data): New variable.
10761 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10762
cbe8c4d3
JM
10763 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10764 with INVALID_EXCEPTION.
10765 (acosh_test_data): Likewise.
10766 (asin_test_data): Likewise.
10767 (atanh_test_data): Likewise.
10768 (fmod_test_data): Likewise.
10769 (log_test_data): Likewise.
10770 (log10_test_data): Likewise.
10771 (log2_test_data): Likewise.
10772 (pow_test_data): Likewise.
10773 (sqrt_test_data): Likewise.
10774 (y0_test_data): Likewise.
10775 (y1_test_data): Likewise.
10776 (yn_test_data): Likewise.
10777
5575c0e5
JM
10778 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10779 function contents.
10780
d369f531
JM
10781 * math/libm-test.inc (struct test_ff_i_data): New type.
10782 (RUN_TEST_LOOP_ff_i_tg): New macro.
10783 (isgreater_test_data): New variable.
10784 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10785 (isgreaterequal_test_data): New variable.
10786 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10787 (isless_test_data): New variable.
10788 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10789 (islessequal_test_data): New variable.
10790 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10791 (islessgreater_test_data): New variable.
10792 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10793 (isunordered_test_data): New variable.
10794 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10795
781fd748
DM
107962013-05-14 David S. Miller <davem@davemloft.net>
10797
10798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10799
87aa21df
JM
108002013-05-14 Joseph Myers <joseph@codesourcery.com>
10801
5e908270
JM
10802 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10803
f71172e5
JM
10804 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10805 extra_test to int.
10806 (struct test_f_i_data): Change type of max_ulp to int.
10807
8cfa635a
JM
10808 * math/libm-test.inc (test_ffI_f1_data): New type.
10809 (RUN_TEST_LOOP_ffI_f1): New macro.
10810 (remquo_test_data): New variable.
10811 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10812
2bcb36b2
JM
10813 * setjmp/tst-setjmp-fp.c: New file.
10814 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10815 (link-libm): New variable.
10816 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10817
acbd839a
JM
10818 * math/libm-test.inc (struct test_f_i_data): New type.
10819 (RUN_TEST_LOOP_f_i): New macro.
10820 (RUN_TEST_LOOP_f_i_tg): Likewise.
10821 (fpclassify_test_data): New variable.
10822 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10823 (ilogb_test_data): New variable.
10824 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10825
e414d745
JM
10826 * math/libm-test.inc (scalbln_test): Correct function name in END
10827 call.
10828
d9c2a0fd
JM
10829 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10830 (RUN_TEST_LOOP_fI_f1): New macro.
10831 (frexp_test_data): New variable.
10832 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10833
9dc9095d
JM
10834 * math/libm-test.inc (struct test_fF_f1_data): New type.
10835 (RUN_TEST_LOOP_fF_f1): New macro.
10836 (modf_test_data): New variable.
10837 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10838
87aa21df
JM
10839 * math/libm-test.inc (struct test_f_f1_data): New type.
10840 (RUN_TEST_LOOP_f_f1): New macro.
10841 (gamma_test_data): New variable.
10842 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10843 (lgamma_test_data): New variable.
10844 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10845
141af660
CD
108462013-05-13 Carlos O'Donell <carlos@redhat.com>
10847
10848 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10849 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10850 (main): Comment "tls" pseudo-hwcap.
10851
6d33265c
JM
108522013-05-13 Joseph Myers <joseph@codesourcery.com>
10853
68fc074c
JM
10854 * math/libm-test.inc (struct test_fl_f_data): New type.
10855 (RUN_TEST_LOOP_fl_f): New variable.
10856 (scalbln_test_data): New variable.
10857 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10858
243216e1
JM
10859 * math/libm-test.inc (struct test_fi_f_data): New type.
10860 (RUN_TEST_LOOP_fi_f): New macro.
10861 (ldexp_test_data): New variable.
10862 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10863 (scalbn_test_data): New variable.
10864 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10865
6a1992e2
JM
10866 * math/libm-test.inc (struct test_c_f_data): New type.
10867 (RUN_TEST_LOOP_c_f): New macro.
10868 (cabs_test_data): New variable.
10869 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10870 (carg_test_data): New variable.
10871 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10872 (cimag_test_data): New variable.
10873 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10874 (creal_test_data): New variable.
10875 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10876
0e400df5
JM
10877 * math/libm-test.inc (struct test_if_f_data): New type.
10878 (RUN_TEST_LOOP_if_f): New macro.
10879 (jn_test_data): New variable.
10880 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10881 (yn_test_data): New variable.
10882 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10883
6d33265c
JM
10884 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10885
f98ece5f
AZ
108862013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10887
10888 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10889 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10890
0f7d347b
SP
108912013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10892
43fe811b
SP
10893 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10894 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10895 (bench-deps): Add bench-timing.h.
10896 * benchtests-bench-skeleton.c: Include bench-timing.h.
10897 (main): Use TIMING_* macros instead of clock_gettime.
10898 * benchtests/bench-timing.h: New file.
10899
0f7d347b
SP
10900 [BZ #14582]
10901 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10902 Renamed from _LIB_VERSION.
10903 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10904
601a3a5f
JM
109052013-05-12 Joseph Myers <joseph@codesourcery.com>
10906
4f184d30
JM
10907 * math/libm-test.inc (struct test_fff_f_data): New type.
10908 (RUN_TEST_LOOP_fff_f): New macro.
10909 (fma_test_data): New variable.
10910 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10911 (fma_towardzero_test_data): New variable.
10912 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10913 (fma_downward_test_data): New variable.
10914 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10915 (fma_upward_test_data): New variable.
10916 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10917
08198877
JM
10918 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10919 (struct test_c_c_data): New type.
10920 (RUN_TEST_LOOP_c_c): New macro.
10921 (cacos_test_data): New variable.
10922 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10923 (cacosh_test_data): New variable.
10924 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10925 (casin_test_data): New variable.
10926 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10927 (casinh_test_data): New variable.
10928 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10929 (catan_test_data): New variable.
10930 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10931 (catanh_test_data): New variable.
10932 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10933 (ccos_test_data): New variable.
10934 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10935 (ccosh_test_data): New variable.
10936 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10937 (cexp_test_data): New variable.
10938 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10939 (clog_test_data): New variable.
10940 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10941 (clog10_test_data): New variable.
10942 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10943 (conj_test_data): New variable.
10944 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10945 (cproj_test_data): New variable.
10946 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10947 (csin_test_data): New variable.
10948 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10949 (csinh_test_data): New variable.
10950 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10951 (csqrt_test_data): New variable.
10952 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10953 (ctan_test_data): New variable.
10954 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10955 (ctan_tonearest_test_data): New variable.
10956 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10957 (ctan_towardzero_test_data): New variable.
10958 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10959 (ctan_downward_test_data): New variable.
10960 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10961 (ctan_upward_test_data): New variable.
10962 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10963 (ctanh_test_data): New variable.
10964 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10965 (ctanh_tonearest_test_data): New variable.
10966 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10967 (ctanh_towardzero_test_data): New variable.
10968 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10969 (ctanh_downward_test_data): New variable.
10970 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10971 (ctanh_upward_test_data): New variable.
10972 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10973 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10974 of BUILD_COMPLEX.
10975
601a3a5f
JM
10976 * math/libm-test.inc (struct test_ff_f_data): New type.
10977 (struct test_ff_f_data_nexttoward): Likewise.
10978 (RUN_TEST_LOOP_2_f): New macro.
10979 (RUN_TEST_LOOP_ff_f): Likewise.
10980 (atan2_test_data): New variable.
10981 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10982 (copysign_test_data): New variable.
10983 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10984 (fdim_test_data): New variable.
10985 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10986 (fmax_test_data): New variable.
10987 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10988 (fmin_test_data): New variable.
10989 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10990 (fmod_test_data): New variable.
10991 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10992 (hypot_test_data): New variable.
10993 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10994 (nextafter_test_data): New variable.
10995 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10996 (nexttoward_test_data): New variable.
10997 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10998 (pow_test_data): New variable.
10999 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11000 (pow_tonearest_test_data): New variable.
11001 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11002 (pow_towardzero_test_data): New variable.
11003 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11004 (pow_downward_test_data): New variable.
11005 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11006 (pow_upward_test_data): New variable.
11007 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11008 (remainder_test_data): New variable.
11009 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11010 (scalb_test_data): New variable.
11011 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11012 * sysdeps/i386/fpu/libm-test-ulps: Update.
11013
74c57478
JM
110142013-05-11 Joseph Myers <joseph@codesourcery.com>
11015
8329e4da
JM
11016 * math/libm-test.inc (fma_test): Use max_value instead of local
11017 variable fltmax.
11018 (nextafter_test): Likewise.
11019
74c57478
JM
11020 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11021 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11022 (acos_downward_test_data): New variable.
11023 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11024 (acos_upward_test_data): New variable.
11025 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11026 (acosh_test_data): New variable.
11027 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11028 (asin_test_data): New variable.
11029 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11030 (asin_tonearest_test_data): New variable.
11031 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11032 (asin_towardzero_test_data): New variable.
11033 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11034 (asin_downward_test_data): New variable.
11035 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11036 (asin_upward_test_data): New variable.
11037 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11038 (asinh_test_data): New variable.
11039 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11040 (atan_test_data): New variable.
11041 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11042 (atanh_test_data): New variable.
11043 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11044 (cbrt_test_data): New variable.
11045 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11046 (ceil_test_data): New variable.
11047 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11048 (cos_test_data): New variable.
11049 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11050 (cos_tonearest_test_data): New variable.
11051 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11052 (cos_towardzero_test_data): New variable.
11053 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11054 (cos_downward_test_data): New variable.
11055 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11056 (cos_upward_test_data): New variable.
11057 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11058 (cosh_test_data): New variable.
11059 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11060 (cosh_tonearest_test_data): New variable.
11061 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11062 (cosh_towardzero_test_data): New variable.
11063 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11064 (cosh_downward_test_data): New variable.
11065 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11066 (cosh_upward_test_data): New variable.
11067 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11068 (erf_test_data): New variable.
11069 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11070 (erfc_test_data): New variable.
11071 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11072 (exp_test_data): New variable.
11073 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11074 (exp_tonearest_test_data): New variable.
11075 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11076 (exp_towardzero_test_data): New variable.
11077 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11078 (exp_downward_test_data): New variable.
11079 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11080 (exp_upward_test_data): New variable.
11081 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11082 (exp10_test_data): New variable.
11083 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11084 (exp2_test_data): New variable.
11085 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11086 (expm1_test_data): New variable.
11087 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11088 (fabs_test_data): New variable.
11089 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11090 (floor_test_data): New variable.
11091 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11092 (j0_test_data): New variable.
11093 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11094 (j1_test_data): New variable.
11095 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11096 (log_test_data): New variable.
11097 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11098 (log10_test_data): New variable.
11099 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11100 (log1p_test_data): New variable.
11101 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11102 (log2_test_data): New variable.
11103 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11104 (logb_test_data): New variable.
11105 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11106 (logb_downward_test_data): New variable.
11107 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11108 (nearbyint_test_data): New variable.
11109 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11110 (rint_test_data): New variable.
11111 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11112 (rint_tonearest_test_data): New variable.
11113 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11114 (rint_towardzero_test_data): New variable.
11115 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11116 (rint_downward_test_data): New variable.
11117 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11118 (rint_upward_test_data): New variable.
11119 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11120 (round_test_data): New variable.
11121 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11122 (sin_test_data): New variable.
11123 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11124 (sin_tonearest_test_data): New variable.
11125 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11126 (sin_towardzero_test_data): New variable.
11127 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11128 (sin_downward_test_data): New variable.
11129 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11130 (sin_upward_test_data): New variable.
11131 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11132 (sinh_test_data): New variable.
11133 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11134 (sinh_tonearest_test_data): New variable.
11135 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11136 (sinh_towardzero_test_data): New variable.
11137 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11138 (sinh_downward_test_data): New variable.
11139 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11140 (sinh_upward_test_data): New variable.
11141 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11142 (sqrt_test_data): New variable.
11143 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11144 (tan_test_data): New variable.
11145 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11146 (tan_tonearest_test_data): New variable.
11147 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11148 (tan_towardzero_test_data): New variable.
11149 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11150 (tan_downward_test_data): New variable.
11151 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11152 (tan_upward_test_data): New variable.
11153 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11154 (tanh_test_data): New variable.
11155 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11156 (tgamma_test_data): New variable.
11157 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11158 (trunc_test_data): New variable.
11159 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11160 (y0_test_data): New variable.
11161 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11162 (y1_test_data): New variable.
11163 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11164 (significand_test_data): New variable.
11165 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11166
7187d844
CG
111672013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11168
11169 [BZ #12387]
11170 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11171
f63fae73
PT
111722013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11173
11174 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11175
8a67a4b3
AJ
111762013-05-10 Andreas Jaeger <aj@suse.de>
11177
11178 [BZ #15448]
11179 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11180 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11181
51df539d
JM
111822013-05-10 Joseph Myers <joseph@codesourcery.com>
11183
11184 * math/gen-libm-test.pl (adjust_arg): New function.
11185 (special_functions): Handle generating output in both functions
11186 and arrays.
11187 (parse_args): Likewise.
11188 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11189 $in_func argument to parse_args.
11190 * math/libm-test.inc (struct test_f_f_data): New type.
11191 (IF_ROUND_INIT_): New macro.
11192 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11193 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11194 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11195 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11196 (ROUND_RESTORE_): Likewise.
11197 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11198 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11199 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11200 (ROUND_RESTORE_FE_UPWARD): Likewise.
11201 (RUN_TEST_LOOP_f_f): New macro.
11202 (acos_test_data): New variable.
11203 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11204 (acos_tonearest_test_data): New variable.
11205 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11206
5c637fe5
SP
112072013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11208
11209 * benchtests/bench-skeleton.c (startup): Fix coding style.
11210
ab2b9461
JM
112112013-05-10 Joseph Myers <joseph@codesourcery.com>
11212
11213 [BZ #6809]
11214 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11215 negative infinity argument.
11216 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11217 negative infinity argument.
11218 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11219 negative infinity argument.
11220 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11221 domain errors.
11222
4c0fe6fe
FW
112232013-05-10 Florian Weimer <fweimer@redhat.com>
11224
11225 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11226 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11227 * iconv/iconv_prog.c (main): Likewise.
11228 * locale/programs/charmap-dir.c (charmap_readdir)
11229 (fopen_uncompressed): Likewise.
11230 * locale/programs/locfile.c (siblings_uncached)
11231 (write_locale_data): Use lstat64 instead of lstat.
11232 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11233 stat.
11234
a3375d29
AJ
112352013-05-10 Andreas Jaeger <aj@suse.de>
11236
11237 [BZ #15395]
11238 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11239 localization.
11240 Include <locale.h>.
11241
36129722
CD
112422013-05-09 Carlos O'Donell <carlos@redhat.com>
11243
11244 * elf/dl-close.c (_dl_close_worker): Add comments.
11245
faa7f811
JM
112462013-05-09 Joseph Myers <joseph@codesourcery.com>
11247
ed41ffef
JM
11248 [BZ #15359]
11249 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11250 high part of pi/2.
11251 (__ieee754_rem_pio2l): Update comments.
11252
d0213cd0
JM
11253 [BZ #15429]
11254 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11255 high part of pi/2.
11256 (__ieee754_rem_pio2l): Update comments.
11257
0d3e777a
JM
11258 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11259 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11260
24f56066
JM
11261 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11262 M_PI_4l.
11263
faa7f811
JM
11264 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11265 (M_PI_34_LOG10El): Likewise.
11266 (M_PI2_LOG10El): Likewise.
11267 (M_PI4_LOG10El): Likewise.
11268 (M_PI_LOG10El): Likewise.
11269
e9a5e0fd
AZ
112702013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11271
11272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11273
d8cd06db
JM
112742013-05-08 Joseph Myers <joseph@codesourcery.com>
11275
a0d9f9d7
JM
11276 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11277 (MINUS_ZERO_INIT): Likewise.
11278 (PLUS_INFTY_INIT): Likewise.
11279 (MINUS_INFTY_INIT): Likewise.
11280 (QNAN_VALUE_INIT): Likewise.
11281 (MAX_VALUE_INIT): Likewise.
11282 (MIN_VALUE_INIT): Likewise.
11283 (MIN_SUBNORM_VALUE_INIT): Likewise.
11284 (plus_zero): Initialize with PLUS_ZERO_INIT.
11285 (minus_zero): Initialize with MINUS_ZERO_INIT.
11286 (plus_infty): Initialize with PLUS_INFTY_INIT.
11287 (minus_infty): Initialize with MINUS_INFTY_INIT.
11288 (qnan_value): Initialize with QNAN_VALUE_INIT.
11289 (max_value): Initialize with MAX_VALUE_INIT.
11290 (min_value): Initialize with MIN_VALUE_INIT.
11291 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11292
ae08db3b
JM
11293 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11294 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11295 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11296 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11297
f44bf14a
JM
11298 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11299 (RUN_TEST_2_f): Likewise.
11300 (RUN_TEST_ff_f): Likewise.
11301 (RUN_TEST_fi_f): Likewise.
11302 (RUN_TEST_fl_f): Likewise.
11303 (RUN_TEST_fff_f): Likewise.
11304 (RUN_TEST_c_f): Likewise.
11305 (RUN_TEST_f_f1): Likewise.
11306 (RUN_TEST_fF_f1): Likewise.
11307 (RUN_TEST_fI_f1): Likewise.
11308 (RUN_TEST_ffI_f1): Likewise.
11309 (RUN_TEST_c_c): Likewise.
11310 (RUN_TEST_cc_c): Likewise.
11311 (RUN_TEST_f_i): Likewise.
11312 (RUN_TEST_f_i_tg): Likewise.
11313 (RUN_TEST_ff_i_tg): Likewise.
11314 (RUN_TEST_f_b): Likewise.
11315 (RUN_TEST_f_b_tg): Likewise.
11316 (RUN_TEST_f_l): Likewise.
11317 (RUN_TEST_f_L): Likewise.
11318 (RUN_TEST_sincos): Likewise.
11319 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11320 whether to show exceptions. Do not include ");\n" in return
11321 value.
11322 (special_functions): Output call to RUN_TEST_sincos instead of
11323 check_float calls. Update calls to new_test.
11324 (parse_args): Output call to single RUN_TEST_* macro instead of
11325 check_* calls and other assignments. Update calls to new_test.
11326
d8cd06db
JM
11327 [BZ #2546]
11328 [BZ #2560]
11329 [BZ #5159]
11330 [BZ #15426]
11331 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11332 input to result for tgamma overflow.
11333 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11334 (gamma_coeff): New variable.
11335 (NCOEFF): New macro.
11336 (gamma_positive): New function.
11337 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11338 underflow here. Use gamma_positive instead of exp (lgamma) for
11339 other arguments.
11340 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11341 (gamma_coeff): New variable.
11342 (NCOEFF): New macro.
11343 (gammaf_positive): New function.
11344 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11345 underflow here. Use gamma_positive instead of exp (lgamma) for
11346 other arguments.
11347 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11348 (gamma_coeff): New variable.
11349 (NCOEFF): New macro.
11350 (gammal_positive): New function.
11351 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
11352 underflow here. Use gamma_positive instead of exp (lgamma) for
11353 other arguments.
11354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
11355 (gamma_coeff): New variable.
11356 (NCOEFF): New macro.
11357 (gammal_positive): New function.
11358 (__ieee754_gammal_r): Handle positive infinity, overflow and
11359 underflow here. Handle NaN the same as positive infinity. Remove
11360 check x < 0xffffffff for negative integers. Use gamma_positive
11361 instead of exp (lgamma) for other arguments.
11362 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
11363 (gamma_coeff): New variable.
11364 (NCOEFF): New macro.
11365 (gammal_positive): New function.
11366 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
11367 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11371 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
11372 * sysdeps/generic/math_private.h (__gamma_productf): New
11373 prototype.
11374 (__gamma_product): Likewise.
11375 (__gamma_productl): Likewise.
11376 * math/Makefile (libm-calls): Add gamma_product.
11377 * math/libm-test.inc (tgamma_test): Add more tests.
11378 * sysdeps/i386/fpu/libm-test-ulps: Update.
11379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11380
bb7cf681
OB
113812013-05-08 Ondřej Bílka <neleai@seznam.cz>
11382
11383 * benchtests/bench-skeleton.c (main): Preheat CPU.
11384
ba853947
AJ
113852013-05-07 Aurelien Jarno <aurelien@aurel32.net>
11386
11387 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
11388
8347c74c
RM
113892013-05-07 Roland McGrath <roland@hack.frob.com>
11390
11391 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
11392 and _dl_skip_args_internal.
11393
e8dd4791
CD
113942013-05-07 Carlos O'Donell <carlos@redhat.com>
11395
11396 * manual/message.texi (Message Translation): Talk about users.
11397 Message to key mapping impacts design.
11398
c7405830
RM
113992013-05-06 Roland McGrath <roland@hack.frob.com>
11400
a9173057
RM
11401 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
11402
976e2f03
RM
11403 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
11404
9723ffc5
RM
11405 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
11406 * sysdeps/wordsize-64/glob64.c: ... here.
11407
962e6658
RM
11408 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
11409 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
11410 New macros.
11411
ee586a6d
RM
11412 * debug/getlogin_r_chk.c: Moved to ...
11413 * login/getlogin_r_chk.c: ... here.
11414 * debug/Makefile (routines): Move getlogin_r_chk to ...
11415 * login/Makefile (routines): ... here.
11416 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
11417 * login/Versions (libc: GLIBC_2.4): ... here.
11418
355f9165
RM
11419 * io/poll.c (__poll): Renamed from poll.
11420 Add libc_hidden_def.
11421 (poll): Define as weak alias.
11422
bd9ffde6
RM
11423 * debug/ptsname_r_chk.c: Moved to ...
11424 * login/ptsname_r_chk.c: ... here.
11425 * debug/Makefile (routines): Move ptsname_r_chk to ...
11426 * login/Makefile (routines): ... here.
11427 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
11428 * login/Versions (libc: GLIBC_2.4): ... here.
11429
8fb16a04
RM
11430 * posix/getlogin.c: Moved to ...
11431 * login/getlogin.c: ... here.
11432 * posix/getlogin_r.c: Moved to ...
11433 * login/getlogin_r.c: ... here.
11434 * posix/getlogin_r.c: Moved to ...
11435 * login/getlogin_r.c: ... here.
11436 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
11437 * login/Makefile (routines): ... here.
11438 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
11439 * login/Versions (libc: GLIBC_2.0): ... here.
11440
b99b892f
RM
11441 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
11442 (setrlimit): Define as weak alias.
11443
c7405830
RM
11444 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
11445 Call __ names for open, ftruncate, and close.
11446 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
11447 (truncate): Define as weak alias.
11448
5bf96de5
JM
114492013-05-06 Joseph Myers <joseph@codesourcery.com>
11450
9ea3513c
JM
11451 * math/gen-libm-test.pl (parse_args): Initialize x before each
11452 test of frexp, modf and remquo.
11453
5bf96de5
JM
11454 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
11455 test signgam value.
11456
16e616a7
AZ
114572013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11458
11459 [BZ #15418]
11460 [BZ #15419]
11461 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
11462 internal tests.
11463 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11464
d5e82754
RM
114652013-05-06 Roland McGrath <roland@hack.frob.com>
11466
11467 * elf/dl-writev.h: New file.
11468 * elf/dl-misc.c: Include it.
11469 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
11470 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
11471
a7548d41
JM
114722013-05-04 Joseph Myers <joseph@codesourcery.com>
11473
b7dab1e4
JM
11474 * math/libm-test.inc (noXFails): Remove variable.
11475 (noXPasses): Likewise.
11476 (BUILD_COMPLEX_INT): Remove macro.
11477 (print_screen): Remove xfail argument.
11478 (print_screen_max_error): Likewise.
11479 (update_stats): Likewise.
11480 (print_max_error): Likewise. Update calls to other affected
11481 functions.
11482 (print_complex_max_error): Likewise.
11483 (test_single_exception): Update calls to print_screen.
11484 (test_single_errno): Likewise.
11485 (check_float_internal): Remove xfail argument. Update calls to
11486 other affected functions.
11487 (check_float): Likewise.
11488 (check_complex): Likewise.
11489 (check_int): Likewise.
11490 (check_long): Likewise.
11491 (check_bool): Likewise.
11492 (check_longlong): Likewise.
11493 (main): Don't print noXFails and noXPasses.
11494 * math/gen-libm-test.pl (top level): Don't mention expected
11495 failure handling in comment.
11496 (new_test): Don't handle expected failures.
11497 (parse_args): Don't mention expected failure handling in comment.
11498 (generate_testfile): Don't handle expected failures.
11499 (parse_ulps): Likewise.
11500 (print_ulps_file): Likewise.
11501 (get_failure): Remove function.
11502 (output_test): Don't handle expected failures.
11503 * make/README.libm-test: Don't mention expected failure handling.
11504
a7548d41
JM
11505 * math/libm-test.inc (plus_zero): Make const. Add initializer.
11506 (minus_zero): Likewise.
11507 (plus_infty): Likewise.
11508 (minus_infty): Likewise.
11509 (qnan_value): Likewise.
11510 (max_value): Likewise.
11511 (min_value): Likewise.
11512 (min_subnorm_value): Likewise.
11513 (initialize): Do not initialize those variables dynamically.
11514
60bfd54c
RM
115152013-05-03 Roland McGrath <roland@hack.frob.com>
11516
cc0e6ed8
RM
11517 * io/open.c (__open_2): Moved to ...
11518 * io/open_2.c: ... this new file.
11519 * io/open64.c (__open64_2): Moved to ...
11520 * io/open64_2.c: ... this new file.
11521 * io/openat.c (__openat_2): Moved to ...
11522 * io/openat_2.c: ... this new file.
11523 * io/openat64.c (__openat64_2): Moved to ...
11524 * io/openat64_2.c: ... this new file.
11525 * io/Makefile (routines): Add them.
11526 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
11527 * sysdeps/unix/sysv/linux/open_2.c: File removed.
11528 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
11529 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
11530 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
11531 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
11532 (__openat64): Add hidden_ver.
11533 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
11534 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
11535
60bfd54c
RM
11536 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
11537 Separately conditionalize setting of GLRO(dl_sysinfo) so
11538 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
11539 as well, but the actual setting is only under [NEED_DL_SYSINFO].
11540
83e7640f
AZ
115412013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11542
11543 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
11544 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
11545 definition.
11546 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
11547 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11548 (_libc_vdso_platform_setup): Add __vdso_time initialization.
11549 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
11550 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
11551
d5dc2af3
JM
115522013-05-03 Joseph Myers <joseph@codesourcery.com>
11553
c31a5b1e
JM
11554 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
11555 test signgam value.
11556
d5dc2af3
JM
11557 * math/libm-test.inc (hypot_test): Do not use
11558 IGNORE_ZERO_INF_SIGN.
11559
164fd39d
AJ
115602013-05-03 Andreas Jaeger <aj@suse.de>
11561
11562 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
11563 Linux 3.9.
11564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
11565 (PF_MAX): Adjust for VSOCK change.
11566
8237f48c
AZ
115672013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11568
11569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11570
9df02941
CD
115712013-05-02 Carlos O'Donell <carlos@redhat.com>
11572
11573 [BZ #15264]
11574 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
11575 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
11576 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
11577
d422395e
DM
115782013-05-02 David S. Miller <davem@davemloft.net>
11579
11580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11581
a07c5731
OB
115822013-05-01 Ondřej Bílka <neleai@seznam.cz>
11583
11584 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
11585
1324e37f
RM
115862013-05-01 Roland McGrath <roland@hack.frob.com>
11587
11588 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
11589
0695940b
RS
115902013-05-01 Richard Smith <richard@metafoo.co.uk>
11591
bb5f27ad 11592 [BZ #14952]
0695940b
RS
11593 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
11594 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11595 Use __attribute__ ((__gnu_inline__)).
11596 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
11597 Don't use __attribute__ ((__gnu_inline__)).
11598
10de07f5
JM
115992013-05-01 Joseph Myers <joseph@codesourcery.com>
11600
11601 [BZ #15423]
11602 * math/s_catan.c (__catan): Handle small real or imaginary part of
11603 input specially to avoid spurious underflow.
11604 * math/s_catanf.c (__catanf): Likewise.
11605 * math/s_catanh.c (__catanh): Likewise.
11606 * math/s_catanhf.c (__catanhf): Likewise.
11607 * math/s_catanhl.c (__catanhl): Likewise.
11608 * math/s_catanl.c (__catanl): Likewise.
11609 * math/libm-test.inc (catan_test): Add more tests.
11610 (catanh_test): Likewise.
11611 * sysdeps/i386/fpu/libm-test-ulps: Update.
11612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11613
cb4d5414
AZ
116142013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11615
11616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11617
caf84319
JM
116182013-04-30 Joseph Myers <joseph@codesourcery.com>
11619
11620 [BZ #15416]
11621 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
11622 accurately for denominator in atan2.
11623 * math/s_catanf.c (__catanf): Likewise.
11624 * math/s_catanh.c (__catanh): Likewise.
11625 * math/s_catanhf.c (__catanhf): Likewise.
11626 * math/s_catanhl.c (__catanhl): Likewise.
11627 * math/s_catanl.c (__catanl): Likewise.
11628 * math/libm-test.inc (catan_test): Add more tests.
11629 (catanh_test): Likewise.
11630 * sysdeps/i386/fpu/libm-test-ulps: Update.
11631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11632
d569c6ee
SP
116332013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
6dbe713d
SP
11635 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
11636
f0ee064b
SP
11637 * benchtests/Makefile (bench): Remove slow benchmarks.
11638 * benchtests/atan-inputs: Add slow benchmark inputs.
11639 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
11640 (BENCH_FUNC): Accept variant offset.
11641 (VARIANT): Define.
11642 * benchtests/bench-skeleton.c (main): Run benchmark for each
11643 variant.
11644 * benchtests/cos-inputs: Add slow benchmark inputs.
11645 * benchtests/exp-inputs: Likewise.
11646 * benchtests/pow-inputs: Likewise.
11647 * benchtests/sin-inputs: Likewise.
11648 * benchtests/slowatan-inputs: Remove.
11649 * benchtests/slowatan.c: Remove.
11650 * benchtests/slowcos-inputs: Remove.
11651 * benchtests/slowcos.c: Remove.
11652 * benchtests/slowexp-inputs: Remove.
11653 * benchtests/slowexp.c: Remove.
11654 * benchtests/slowpow-inputs: Remove.
11655 * benchtests/slowpow.c: Remove.
11656 * benchtests/slowsin-inputs: Remove.
11657 * benchtests/slowsin.c: Remove.
11658 * benchtests/slowtan-inputs: Remove.
11659 * benchtests/slowtan.c: Remove.
11660 * benchtests/tan-inputs: Add slow benchmark inputs.
11661 * scripts/bench.pl: Parse comments and directives.
11662
d569c6ee
SP
11663 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
11664 in CPPFLAGS.
11665 ($(objpfx)bench-%.c): Remove *-ITER.
11666 * benchtests/bench-modf.c: Remove definition of ITER.
11667 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
11668 (main): Loop for DURATION seconds instead of fixed number of
11669 iterations.
11670 * scripts/bench.pl: Don't expect iterations in parameters.
11671
a6a242fe
RM
116722013-04-29 Roland McGrath <roland@hack.frob.com>
11673
11674 * io/fchdir.c (__fchdir): Renamed from fchdir.
11675 (fchdir): Define as weak alias.
11676
f2da7793
JM
116772013-04-29 Joseph Myers <joseph@codesourcery.com>
11678
11679 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11680 (ERRNO_EDOM): Likewise.
11681 (ERRNO_ERANGE): Likewise.
11682 (noErrnoTests): New variable.
11683 (init_max_error): Set errno to 0.
11684 (test_single_errno): New function.
11685 (test_errno): Likewise.
11686 (check_float_internal): Call test_errno. Set errno to 0.
11687 (check_complex): Refer to errno tests in comment.
11688 (check_int): Call test_errno. Set errno to 0.
11689 (check_long): Likewise.
11690 (check_bool): Likewise.
11691 (check_longlong): Likewise.
11692 (cos_test): Use ERRNO_* flags for errno tests instead of
11693 check_int.
11694 (expm1_test): Likewise.
11695 (fmod_test): Likewise.
11696 (ilogb_test): Likewise.
11697 (lgamma_test): Likewise.
11698 (pow_test): Likewise.
11699 (remainder_test): Likewise.
11700 (sin_test): Likewise.
11701 (tan_test): Likewise.
11702 (yn_test): Likewise.
11703 (initialize): Set errno to 0.
11704 (main): Print number of errno tests.
11705 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11706
b1a36ceb
AJ
117072013-04-29 Andreas Jaeger <aj@suse.de>
11708
c3ed8088
AJ
11709 [BZ #15084]
11710 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11711 and RES_USEVC.
11712
f1a24198
AJ
11713 [BZ #15085]
11714 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11715 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11716 unimplemented.
11717
9ce3b2cb
AJ
11718 [BZ #15380]
11719 * stdlib/random.c (__initstate): Return NULL if
11720 __initstate fails.
11721
f1a24198 11722 [BZ #15086]
b1a36ceb
AJ
11723 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11724 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11725 RES_SNGLKUPREOP.
11726
7e7b6f36
AZ
117272013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11728
11729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11730
4d14f449
JM
117312013-04-29 Joseph Myers <joseph@codesourcery.com>
11732
11733 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11734 of individual tests.
11735 (casin_test): Likewise.
11736 (casinh_test): Likewise.
11737
5b4217d7
JM
117382013-04-27 Joseph Myers <joseph@codesourcery.com>
11739
11740 [BZ #15409]
11741 * math/s_catan.c (__catan): Handle arguments with large real or
11742 imaginary part separately without squaring.
11743 * math/s_catanf.c (__catanf): Likewise.
11744 * math/s_catanh.c (__catanh): Likewise.
11745 * math/s_catanhf.c (__catanhf): Likewise.
11746 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11747 and redefine.
11748 (__catanhl): Handle arguments with large real or imaginary part
11749 separately without squaring.
11750 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11751 and redefine.
11752 (__catanl): Handle arguments with large real or imaginary part
11753 separately without squaring.
11754 * math/libm-test.inc (catan_test): Add more tests.
11755 (catanh_test): Likewise.
11756 * sysdeps/i386/fpu/libm-test-ulps: Update.
11757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11758
4220c3ef
AJ
117592013-04-27 Andreas Jaeger <aj@suse.de>
11760
11761 [BZ #15007]
11762 * stdlib/stdlib.h: Update guards for qecvt.
11763 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11764 <stdlib.h>.
11765
4721b2d1
AM
117662013-04-27 Allan McRae <allan@archlinux.org>
11767
11768 * sysdeps/i386/fpu/libm-test-ulps: Update.
11769
f0302940
JM
117702013-04-26 Joseph Myers <joseph@codesourcery.com>
11771
9457fd95
JM
11772 [BZ #15406]
11773 * math/s_catan.c: Include <float.h>.
11774 (__catan): Ensure underflow exception occurs for underflowed
11775 result.
11776 * math/s_catanf.c: Include <float.h>.
11777 (__catanf): Ensure underflow exception occurs for underflowed
11778 result.
11779 * math/s_catanh.c: Include <float.h>.
11780 (__catanh): Ensure underflow exception occurs for underflowed
11781 result.
11782 * math/s_catanhf.c: Include <float.h>.
11783 (__catanhf): Ensure underflow exception occurs for underflowed
11784 result.
11785 * math/s_catanhl.c: Include <float.h>.
11786 (__catanhl): Ensure underflow exception occurs for underflowed
11787 result.
11788 * math/s_catanl.c: Include <float.h>.
11789 (__catanl): Ensure underflow exception occurs for underflowed
11790 result.
11791 * math/libm-test.inc (catan_test): Add more tests.
11792 (catanh_test): Likewise.
11793
f0302940
JM
11794 [BZ #15405]
11795 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11796 underflowed result.
11797 * math/s_ccoshf.c (__ccoshf): Likewise.
11798 * math/s_ccoshl.c (__ccoshl): Likewise.
11799 * math/s_csin.c (__csin): Likewise.
11800 * math/s_csinf.c (__csinf): Likewise.
11801 * math/s_csinh.c (__csinh): Likewise.
11802 * math/s_csinhf.c (__csinhf): Likewise.
11803 * math/s_csinhl.c (__csinhl): Likewise.
11804 * math/s_csinl.c (__csinl): Likewise.
11805 * math/libm-test.inc (ccos_test): Add more tests.
11806 (ccosh_test): Likewise.
11807 (csin_test): Likewise.
11808 (csinh_test): Likewise.
11809
aa630f59
AZ
118102013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11811
11812 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11813 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11814 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11815 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11816 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11817 powerpc/power5+/fpu folders.
11818 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11819
11820
1b835983
MT
118212013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11822
11823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11824
73709b26
JM
118252013-04-25 Joseph Myers <joseph@codesourcery.com>
11826
11827 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11828 additions to variable.
11829 [$(config-machine) = x86_64] (modules-names): Likewise.
11830 ($(objpfx)tst-audit3): Remove dependency.
11831 ($(objpfx)tst-audit3.out): Likewise.
11832 ($(objpfx)tst-audit4): Likewise.
11833 ($(objpfx)tst-audit4.out): Likewise.
11834 ($(objpfx)tst-audit5): Likewise.
11835 ($(objpfx)tst-audit5.out): Likewise.
11836 ($(objpfx)tst-audit6): Likewise.
11837 ($(objpfx)tst-audit6.out): Likewise.
11838 ($(objpfx)tst-audit7): Likewise.
11839 ($(objpfx)tst-audit7.out): Likewise.
11840 (tst-audit3-ENV): Remove variable.
11841 (tst-audit4-ENV): Likewise.
11842 (tst-audit5-ENV): Likewise.
11843 (tst-audit6-ENV): Likewise.
11844 (tst-audit7-ENV): Likewise.
11845 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11846 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11847 addition to variable.
11848 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11849 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11850 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11851 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11852 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11853 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11854 tst-audit3, tst-audit4 and tst-audit5.
11855 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11856 tst-audit6 and tst-audit7.
11857 [$(subdir) = elf] (modules-names): Add audit modules for those
11858 tests.
11859 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11860 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11861 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11862 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11863 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11864 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11865 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11866 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11867 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11868 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11869 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11870 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11871 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11872 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11873 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11874 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11875 Likewise.
11876 [$(subdir) = elf && $(config-cflags-avx) = yes]
11877 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11878 [$(subdir) = elf && $(config-cflags-avx) = yes]
11879 (CFLAGS-tst-auditmod4a.c): Likewise.
11880 [$(subdir) = elf && $(config-cflags-avx) = yes]
11881 (CFLAGS-tst-auditmod4b.c): Likewise.
11882 [$(subdir) = elf && $(config-cflags-avx) = yes]
11883 (CFLAGS-tst-auditmod6b.c): Likewise.
11884 [$(subdir) = elf && $(config-cflags-avx) = yes]
11885 (CFLAGS-tst-auditmod6c.c): Likewise.
11886 [$(subdir) = elf && $(config-cflags-avx) = yes]
11887 (CFLAGS-tst-auditmod7b.c): Likewise.
11888 * elf/tst-audit3.c: Move to ...
11889 * sysdeps/x86_64/tst-audit3.c: ... here.
11890 * elf/tst-audit4.c: Move to ...
11891 * sysdeps/x86_64/tst-audit4.c: ... here.
11892 * elf/tst-audit5.c: Move to ...
11893 * sysdeps/x86_64/tst-audit5.c: ... here.
11894 * elf/tst-audit6.c: Move to ...
11895 * sysdeps/x86_64/tst-audit6.c: ... here.
11896 * elf/tst-audit7.c: Move to ...
11897 * sysdeps/x86_64/tst-audit7.c: ... here.
11898 * elf/tst-auditmod3a.c: Move to ...
11899 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11900 * elf/tst-auditmod3b.c: Move to ...
11901 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11902 * elf/tst-auditmod4a.c: Move to ...
11903 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11904 * elf/tst-auditmod4b.c: Move to ...
11905 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11906 * elf/tst-auditmod5a.c: Move to ...
11907 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11908 * elf/tst-auditmod5b.c: Move to ...
11909 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11910 * elf/tst-auditmod6a.c: Move to ...
11911 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11912 * elf/tst-auditmod6b.c: Move to ...
11913 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11914 * elf/tst-auditmod6c.c: Move to ...
11915 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11916 * elf/tst-auditmod7a.c: Move to ...
11917 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11918 * elf/tst-auditmod7b.c: Move to ...
11919 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11920
1ef74943
PP
119212013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11922
11923 [BZ #15366]
11924 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11925 define unconditionally.
11926 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11927 define unconditionally.
11928 (INT8_C, INT16_C, etc.): Likewise.
11929
93fd48c5
MR
119302013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11931
ae9552cf
MR
11932 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11933 __ehdr_start with hidden visibility.
11934
93fd48c5
MR
11935 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11936
418601aa
CD
119372013-04-24 Carlos O'Donell <carlos@redhat.com>
11938
11939 * math/libm-test.inc (cos_test): Use accurate hex constants.
11940 (sincost_test): Likewise.
11941
2f38fbfe
JM
119422013-04-24 Joseph Myers <joseph@codesourcery.com>
11943
5e221800
JM
11944 * math/libm-test.inc (catan_test): Add more tests.
11945 (catanh_test): Likewise.
11946
77f143fd
JM
11947 * math/s_catanf.c (__catanf): Use suffixed floating-point
11948 constants.
11949 * math/s_catanhf.c (__catanhf): Likewise.
11950 * math/s_catanhl.c (__catanhl): Likewise.
11951 * math/s_catanl.c (__catanl): Likewise.
11952
2f38fbfe
JM
11953 [BZ #15394]
11954 * math/s_catan.c (__catan): Calculate imaginary part of result
11955 with log1p not log unless computing log of number close to 0.
11956 * math/s_catanf.c (__catanf): Likewise.
11957 * math/s_catanl.c (__catanl): Likewise.
11958 * math/s_catanh.c (__catanh): Calculate real part of result with
11959 log1p not log unless computing log of number close to 0.
11960 * math/s_catanhf.c (__catanhf): Likewise.
11961 * math/s_catanhl.c (__catanhl): Likewise.
11962 * math/libm-test.inc (catan_test): Add more tests.
11963 (catanh_test): Likewise.
11964 * sysdeps/i386/fpu/libm-test-ulps: Update.
11965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11966
45d69176
SP
119672013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11968
11969 * benchtests/Makefile: Mention files in which fast and slow
11970 paths of math functions are implemented.
11971
87f51853
RM
119722013-04-23 Roland McGrath <roland@hack.frob.com>
11973
11974 * sysdeps/posix/timespec_get.c: New file.
11975
3c026539
AZ
119762013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11977
11978 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11979 POWER.
11980 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11981 for POWER.
11982 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11983 powerpc/power5/fpu folders.
11984 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11985 * benchtests/Makefile: Add modf testcase.
11986 * benchtests/bench-modf.c: New file: Benchmark test for mo
11987
ff491d14
SP
119882013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11989
11990 [BZ #14888]
11991 * time/Makefile (tests): Add tst-strptime-whitespace.
11992 * time/strptime_l.c (get_number): Use ISSPACE.
11993 (__strptime_internal): Likewise.
11994 * time/tst-strptime-whitespace.c: New test case.
11995
7ed3f4e8
AS
119962013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11997
11998 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11999 member.
12000 (_nss_files_init): Set it here.
12001
5c95f7b6
HC
120022013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12003
12004 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12005 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12006 unsigned.
12007
d34c9158
JBG
120082013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12009
12010 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12011
2169712d
SP
120122013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12013
12014 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12015 size just once.
12016
29c5de99
DM
120172013-04-21 David S. Miller <davem@davemloft.net>
12018
12019 * po/ru.po: Update Russion translation from translation project.
12020
ccdad15d
AC
120212013-04-17 Adam Conrad <adconrad@0c3.net>
12022
12023 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12024 and setfsgid.
12025
0f122b8d
CD
120262013-04-17 Carlos O'Donell <carlos@redhat.com>
12027
5c5b07da 12028 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12029 * configure: Regenerate.
5c5b07da 12030 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12031 Add example to error message.
12032 * sysdeps/i386/configure: Regenerate.
12033
037714dd
SP
120342013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12035
12036 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12037 slowtan.
12038 * benchtests/cos-inputs: New file.
12039 * benchtests/slowcos-inputs: New file.
12040 * benchtests/slowcos.c: New file.
12041 * benchtests/slowtan-inputs: New file.
12042 * benchtests/slowtan.c: New file.
12043 * benchtests/tan-inputs: New file.
12044
e913141d
RM
120452013-04-16 Roland McGrath <roland@hack.frob.com>
12046
12047 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12048 considered kosher.
12049
a2964074
SP
120502013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12051
4856bcd2
SP
12052 * benchtests/Makefile: Include cppflags-iterator.mk to add
12053 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12054
a2964074
SP
12055 * Makefile.in (bench-clean): New target.
12056 * benchtests/Makefile (bench-clean): Likewise.
12057
9fbf9aca
DH
120582013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12059
12060 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12061
207d1e2a
TS
120622013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12063
12064 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12065
306dfba9
AS
120662013-04-15 Andreas Schwab <schwab@suse.de>
12067
12068 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12070 * nscd/pwdcache.c (cache_addpw): Likewise.
12071 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12072 more than recsize.
12073
206a6699
SP
120742013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12075
12076 * benchtests/Makefile (bench): Write all output to
12077 bench-out.tmp together.
12078
0582f6b3
AS
120792013-04-15 Andreas Schwab <schwab@suse.de>
12080
12081 * nscd/nscd.c (main): Don't fork again after closing files.
12082
acb4325f
SP
120832013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12084
5cb26d0a
SP
12085 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12086
acb4325f
SP
12087 * benchtests/Rules (bench-deps): Collect dependencies into a
12088 single variable. Add Makefile to dependencies.
12089 ($(objpfx)bench-%.c): Depend on bench-deps.
12090
47792506
RM
120912013-04-12 Roland McGrath <roland@hack.frob.com>
12092 Xavier Roche <roche+kml2@exalead.com>
12093
12094 [BZ #15361]
12095 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12096 just that it's a file descriptor.
12097 * manual/llio.texi (Synchronizing AIO Operations): Update description
12098 for EBADF error from aio_fsync.
12099
8fc1bee5
SP
121002013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12101
12102 * Rules (bench): Move target definition...
12103 * benchtests/Makefile: ... here.
12104
aba5e333
CD
121052013-04-11 Carlos O'Donell <carlos@redhat.com>
12106
12107 * math/libm-test.inc (cos_test): Fix PI/2 test.
12108 (sincos_test): Likewise.
12109 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12110 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12111
273cdee8
AS
121122013-04-11 Andreas Schwab <schwab@suse.de>
12113
6ecec3b6
AS
12114 [BZ #13988]
12115 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12116 accept exponent character only when digits were seen.
12117 * stdio-common/Makefile (tests): Add bug26.
12118 * stdio-common/bug26.c: New file.
12119
273cdee8
AS
12120 [BZ #14293]
12121 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12122 non-freeable.
12123
8da491f5
SP
121242013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12125
01dc6df9
SP
12126 * Makeconfig (rtld-prefix): Define built linker prefix.
12127 * Rules (run-bench): Use it.
12128 * math/Makefile (run-regen-ulps): Likewise.
12129
8da491f5
SP
12130 * Rules (bench): Remove eval.
12131
abe7f530
SP
121322013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12133 Roland McGrath <roland@hack.frob.com>
12134 Ondrej Bilka <neleai@seznam.cz>
12135
12136 [BZ #15346]
12137 * time/getdate.c: Include ctype.h and alloca.h.
12138 (__getdate_r): Trim leading and trailing spaces of input.
12139 * time/tst-getdate.c (tests): Add tests with leading and
12140 trailing spaces.
12141
61c23e62
RM
121422013-04-08 Roland McGrath <roland@hack.frob.com>
12143
12144 [BZ #14280]
12145 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12146 when computing value.
12147
7208a313
CD
121482013-04-06 Carlos O'Donell <carlos@redhat.com>
12149
085b2d41
CD
12150 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12151 Use testrun.sh to run libm tests.
12152
7208a313
CD
12153 [BZ #15309]
12154 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12155
872c0acd
MM
121562013-04-06 Marko Myllynen <myllynen@redhat.com>
12157
12158 [BZ #15264]
12159 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12160
26510bdd
CD
121612013-04-06 Carlos O'Donell <carlos@redhat.com>
12162
12163 * Makefile.in (regen-ulps): New target.
12164 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12165 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12166 [ifneq (no,$(PERL)] (regen-ulps): New target.
12167 [ifeq (no,$(PERL)] (regen-ulps): New target.
12168 * math/libm-test.inc (ulps_file_name): Define.
12169 (output_dir): New variable.
12170 (options): Add "output-dir" option.
12171 (parse_opt): Handle 'o' case.
12172 (main): If output_dir is non-NULL use it as a prefix
12173 otherwise use "".
12174 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12175
a01f19c8
CD
121762013-04-06 Carlos O'Donell <carlos@redhat.com>
12177
12178 [BZ #10060, #10062]
12179 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12180 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12181 fail configure if __sync_val_compare_and_swap is not inlined.
12182 * sysdeps/i386/configure: Regenerate.
12183 * configure.in: Build for i686 when configured for i386.
12184 * configure: Regenerate.
12185 * README: Remove i386 reference.
12186
b7a329a5
CD
121872013-04-06 Carlos O'Donell <carlos@redhat.com>
12188
12189 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12190 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12191
bf0f50df
TS
121922013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12193
ee091edf
TS
12194 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12195 (lmsnanval): New variables.
12196 (F): Add conversion tests.
12197 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12198 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12199
a8b792d6
TS
12200 * stdio-common/tstdiomisc.c (F): Properly collect individual
12201 tests' results.
12202
a1cbf437
TS
12203 [BZ #14686, #15336]
12204 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12205 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12206 Instead, use input NaN values or generate a qNaN by arithmetic
12207 operation. Also fix bugs to comply with the standard.
12208 * math/libm-test.inc (remainder_test): Add more tests.
12209
8b43a0c9
TS
12210 [BZ #15335, #15342]
12211 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12213 input NaN values or generate a qNaN by arithmetic operation.
12214
d91da4ce
TS
12215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12216 unreachable code.
12217
bf0f50df
TS
12218 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12219 definitions.
12220
05e166c8
JM
122212013-04-03 Joseph Myers <joseph@codesourcery.com>
12222
12223 [BZ #14478]
12224 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12225 underflowed result.
12226 * math/s_cexpf.c (__cexpf): Likewise.
12227 * math/s_cexpl.c (__cexpl): Likewise.
12228 * math/libm-test.inc (cexp_test): Add more tests.
12229
1cef1b19
AS
122302013-04-03 Andreas Schwab <schwab@suse.de>
12231
12232 [BZ #15330]
12233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12234 order arrays from heap if bigger than alloca cutoff.
12235
74d87055
TS
122362013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12237
12238 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12239 (SNAN_TESTS_double): Refer to GCC PR56831.
12240 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12241 GCC PR56828.
12242
d755bba4
SP
122432013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12244
90d5d5bb
SP
12245 * Rules (bench): Move bench.out after the run is complete.
12246
73e0cd5d
SP
12247 * Rules (bench): Echo currently running benchmark.
12248
64aabd4b
SP
12249 * benchtests/Makefile (bench): Add atan and slowatan.
12250 * benchtests/atan-inputs: New file.
12251 * benchtests/slowatan-inputs: New file.
12252 * benchtests/slowatan.c: New file.
12253
c871eccd
SP
12254 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12255 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12256 its value.
12257
d755bba4
SP
12258 [BZ #15305]
12259 * sysdeps/unix/sysv/linux/kernel-features.h
12260 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12261 __ASSUME_XFS_RESTRICTED_CHOWN.
12262 * sysdeps/unix/sysv/linux/pathconf.c
12263 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12264 Save and restore errno.
12265
52ce4860
JM
122662013-04-02 Joseph Myers <joseph@codesourcery.com>
12267
12268 [BZ #15327]
12269 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12270 arguments using __kernel_casinh.
12271 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12272 arguments using __kernel_casinhf.
12273 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12274 arguments using __kernel_casinhl.
12275 * math/libm-test.inc (cacosh_test): Add more tests.
12276 * sysdeps/i386/fpu/libm-test-ulps: Update.
12277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12278
81f311c2
SP
122792013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12280
e7906a47
SP
12281 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12282 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12283
92e3664b
SP
12284 * bench/Makefile (bench): Add sin and slowsin.
12285 * benchtests/sin-inputs: New file.
12286 * benchtests/slowsin-inputs: New file.
12287 * benchtests/slowsin.c: New file.
12288
81f311c2
SP
12289 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12290 (bench): Add slowexp and slowpow.
12291 (exp-ITER): Increase iterations.
12292 (pow-ITER): Likewise.
12293 * benchtests/exp-inputs: Change input.
12294 * benchtests/pow-inputs: Likewise.
12295 * benchtests/slowexp-inputs: New file.
12296 * benchtests/slowexp.c: New file.
12297 * benchtests/slowpow-inputs: New file.
12298 * benchtests/slowpow.c: New file.
12299
ab0f1aa9
AZ
123002013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12301
12302 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12303 instructions.
12304 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12305 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12306 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12307 * benchtests/Makefile: Add rint benchtest.
12308 * benchtests/rint-inputs: Input for rint benchtest.
12309
57267616
TS
123102013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12311
12312 * Versions.def (libm): Add GLIBC_2.18.
12313 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12314 hidden libm prototypes.
12315 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12316 * math/Makefile (libm-calls): Add s_issignaling.
12317 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12318 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12319 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12320 declaration.
12321 * math/math.h [__USE_GNU] (issignaling): New macro.
12322 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12323 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12324 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12327 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12328 * manual/arith.texi (issignaling): New section.
12329 * manual/libm-err-tab.pl (@all_functions): Update comment.
12330 * math/gen-libm-test.pl (parse_args): Apply special handling for
12331 issignaling.
12332 * math/libm-test.inc (print_float, issignaling_test): New
12333 functions.
12334 (check_float_internal): Add issignaling checks.
12335 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12336 default definition.
12337 * sysdeps/powerpc/math-tests.h: New file.
12338 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12339 tests.
12340 * math/test-snan.c (TEST_FUNC): Likewise.
12341
6142896d
DM
123422013-03-30 David S. Miller <davem@davemloft.net>
12343
12344 * po/de.po: Update from translation team.
12345
ccc8cadf
JM
123462013-03-30 Joseph Myers <joseph@codesourcery.com>
12347
12348 [BZ #10357]
12349 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12350 imaginary part less than 1.0 and real part less than 0.5
12351 specially.
12352 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12353 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12354 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
12355 (cacos_test): Add more tests.
12356 (casin_test): Likewise.
12357 (casinh_test): Likewise.
12358 * sysdeps/i386/fpu/libm-test-ulps: Update.
12359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12360
0f6a8d4b
SP
123612013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12362
0d1029de
SP
12363 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
12364 ONE with its value.
12365
c2d94018
SP
12366 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
12367 (__pow_mp): Replace ONE and MONE with their values.
12368 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
12370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12371 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12372 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12374
27ec37f1
SP
12375 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
12376
a64d7e0e
SP
12377 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
12378 (__pow_mp): Replace ZERO and MZERO with their values.
12379 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12380 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12381 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12383 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12384 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
12385 (__sqr): Likewise.
12386
d26dd3eb
SP
12387 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
12388
0f6a8d4b
SP
12389 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
12390
e57b0c61
RM
123912013-03-28 Roland McGrath <roland@hack.frob.com>
12392
12393 * include/stdlib.h [!SHARED] (__call_tls_dtors):
12394 Declare with __attribute__ ((weak)).
12395 * stdlib/exit.c (__libc_atexit) [!SHARED]:
12396 Call __call_tls_dtors only if it's not NULL.
12397
356b3480
RM
123982013-03-28 Roland McGrath <roland@hack.frob.com>
12399
288f7d79
RM
12400 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
12401 didn't do it already, then set _dl_phdr and _dl_phnum based on the
12402 magic __ehdr_start linker symbol if it's defined.
12403 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
12404 them up here if it was already done.
12405
dc0a0263
RM
12406 * elf/dl-support.c (_dl_phdr): Make pointer to const.
12407 (_dl_aux_init): Use const in cast when setting it.
12408 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
12409 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
12410 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
12411
3d3436ae
RM
12412 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
12413 Declare them here.
12414 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
12415 * csu/libc-tls.c: Nor here.
12416 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
12417
356b3480
RM
12418 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
12419 (__libc_message): Never call vsyslog.
12420
b0f1246a
AM
124212013-03-28 Alan Modra <amodra@gmail.com>
12422
12423 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
12424 Define as empty.
12425 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
12426 Likewise.
12427
fbbe2b9a
AZ
124282013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12429
12430 [BZ #15214]
12431 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
12432 underflow.
12433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12434
1728ab37
SP
124352013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12436
7a86be6e
SP
12437 [BZ #15304]
12438 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12439 Don't add gid passed as argument.
12440
1728ab37
SP
12441 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
12442
3a7182a1
JM
124432013-03-27 Joseph Myers <joseph@codesourcery.com>
12444
12445 [BZ #15307]
12446 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12447 imaginary part between 1.0 and 1.5 and real part less than 0.5
12448 specially.
12449 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12450 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12451 * math/libm-test.inc (cacos_test): Add more tests.
12452 (casin_test): Likewise.
12453 (casinh_test): Likewise.
12454 * sysdeps/i386/fpu/libm-test-ulps: Update.
12455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12456
6f2e90e7
SP
124572013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12458
5739f705
SP
12459 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
12460 constants.
12461 (norm): Likewise.
12462 (denorm): Likewise.
12463 (__dbl_mp): Likewise.
12464 (add_magnitudes): Likewise.
12465 (sub_magnitudes): Likewise.
12466 (__add): Likewise.
12467 (__sub): Likewise.
12468 (__mul): Likewise.
12469 (__sqr): Likewise.
12470 (__inv): Likewise.
12471 (__dvd): Likewise.
12472
e375e83d
SP
12473 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
12474 commented code.
12475 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
12476 (__dubcos): Likewise.
12477 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
12478 (__ieee754_acos): Likewise.
12479 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
12480 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
12481 (__exp1): Likewise.
12482 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
12484 (log1): Likewise.
12485 (my_log2): Likewise.
12486 (checkint): Likewise.
12487 * sysdeps/ieee754/dbl-64/e_remainder.c
12488 (__ieee754_remainder): Likewise.
12489 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
12490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12491 (bsloww): Likewise.
12492 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12493
6f2e90e7
SP
12494 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
12496 MANTISSA_STORE_T to store computations on mantissa. Use
12497 macros for rounding and division.
12498 (denorm): Likewise.
12499 (__dbl_mp): Likewise.
12500 (add_magnitudes): Likewise.
12501 (sub_magnitudes): Likewise.
12502 (__mul): Likewise.
12503 (__sqr): Likewise.
12504 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12505 powers of two in terms of TWOPOW macro.
12506 (mp_no): Make type of mantissa as MANTISSA_T.
12507 [!RADIXI]: Define RADIXI.
12508 [!TWO52]: Define TWO52.
12509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12510
fce14d4e
AZ
125112013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12512
12513 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
12514 llroundl symbol when building for PPC32.
12515
9ad027fb
MW
125162013-03-24 Mark H Weaver <mhw@netris.org>
12517
12518 * manual/arith.texi (Normalization Functions): Fix prototypes for
12519 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
12520
e42a38dd
AZ
125212013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12522
12523 [BZ #13889]
12524 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
12525 high value to check if expl overflow.
12526 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
12527 to check for underflow and overflow.
12528 * math/libm-test.inc: Add exp test.
12529
2e0fb521
DL
125302013-03-21 Dmitry V. Levin <ldv@altlinux.org>
12531
12532 [BZ #11120]
12533 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
12534 with NOT_IN_libc.
12535
b5784d95
AZ
125362013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12537
12538 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
12539 symbol.
12540
5aa4a1a1
TS
125412013-03-21 Thomas Schwinge <thomas@codesourcery.com>
12542
bdef0be7
TS
12543 * math/gen-libm-test.pl (parse_args, special_functions): Properly
12544 wrap blocks consisting of several statements.
12545
5aa4a1a1
TS
12546 * sysdeps/generic/math-tests.h: New file.
12547 * sysdeps/i386/fpu/math-tests.h: Likewise.
12548 * math/test-snan.c: Include it.
12549 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
12550
98c48fe5
JM
125512013-03-21 Joseph Myers <joseph@codesourcery.com>
12552
12553 [BZ #15285]
12554 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
12555 (__ieee754_j0l): Do not improve calculations using cos of twice
12556 input for inputs above LDBL_MAX / 2.0L.
12557 (__ieee754_y0l): Likewise.
12558 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
12559 (__ieee754_j1l): Do not improve calculations using cos of twice
12560 input for inputs above LDBL_MAX / 2.0L.
12561 (__ieee754_y1l): Likewise.
12562 * math/libm-test.inc (j0_test): Add another test.
12563 (j1_test): Likewise.
12564 (y0_test): Likewise.
12565 (y1_test): Likewise.
12566 * sysdeps/i386/fpu/libm-test-ulps: Update.
12567
3775a8bc
SP
125682013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12569
12570 * Rules ($(objpfx)bench-%.c): Include code from a C source
12571 file.
12572
0a1b2ae6
JM
125732013-03-21 Joseph Myers <joseph@codesourcery.com>
12574
12575 [BZ #15287]
12576 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12577 imaginary part 1.0 and real part less than 0.5 specially.
12578 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12579 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12580 * math/libm-test.inc (cacos_test): Add more tests.
12581 (casin_test): Likewise.
12582 (casinh_test): Likewise.
12583 * sysdeps/i386/fpu/libm-test-ulps: Update.
12584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12585
b33d4ce4
SP
125862013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12587
12588 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
12589 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
12590
bef0b507
JM
125912013-03-20 Joseph Myers <joseph@codesourcery.com>
12592
12593 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
12594 * config.make.in (config-cflags-sse4): Remove variable.
12595 (config-cflags-avx): Likewise.
12596 (config-cflags-sse2avx): Likewise.
12597 (config-cflags-novzeroupper): Likewise.
12598 (config-asflags-i686): Likewise.
12599 (have-mfma4): Likewise.
12600 (have-as-vis3): Likewise.
12601 (MIG): Likewise.
12602 * configure.in (MIG): Do not AC_SUBST.
12603 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
12604 (libc_cv_cc_sse4): Do not AC_SUBST.
12605 (libc_cv_cc_avx): Likewise.
12606 (libc_cv_cc_sse2avx): Likewise.
12607 (libc_cv_cc_novzeroupper): Likewise.
12608 (libc_cv_cc_fma4): Likewise.
12609 (libc_cv_as_i686): Likewise.
12610 (libc_cv_sparc_as_vis3): Likewise.
12611 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
12612 LIBC_CONFIG_VAR.
12613 (config-asflags-i686): Likewise.
12614 (config-cflags-avx): Likewise.
12615 (config-cflags-sse2avx): Likewise.
12616 (have-mfma4): Likewise.
12617 (config-cflags-novzeroupper): Likewise.
12618 * sysdeps/mach/configure.in (MIG): Likewise.
12619 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
12620 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
12621 LIBC_CONFIG_VAR.
12622 (config-cflags-avx): Likewise.
12623 (config-cflags-sse2avx): Likewise.
12624 (have-mfma4): Likewise.
12625 (config-cflags-novzeroupper): Likewise.
12626 * configure: Regenerated.
12627 * sysdeps/i386/configure: Likewise.
12628 * sysdeps/mach/configure: Likewise.
12629 * sysdeps/sparc/configure: Likewise.
12630 * sysdeps/x86_64/configure: Likewise.
12631
912cc4b3
RM
126322013-03-20 Roland McGrath <roland@hack.frob.com>
12633
12634 [BZ #14812]
12635 * locale/programs/localedef.c (options): Put N_ translation marker
12636 on argument names, not just descriptions.
12637
04eed2b0
MS
126382013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12639
12640 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
12641
a065ceff
OB
126422013-03-20 Ondřej Bílka <neleai@seznam.cz>
12643
9bb2a810 12644 [BZ #14176]
a065ceff
OB
12645 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
12646
a600e5ce
RM
126472013-03-19 Roland McGrath <roland@hack.frob.com>
12648
12649 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
12650 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
12651 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
12652 [!BEFORE_ABORT] (before_abort): New function.
12653 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
12654 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
12655 (writev_for_fatal): New function.
12656 (WRITEV_FOR_FATAL): New macro; call that.
12657 (backtrace_and_maps): New function.
12658 (BEFORE_ABORT): New macro; call that.
12659 (struct str_list): Type removed.
12660 (__libc_message, __libc_fatal): Functions removed.
12661 Include <sysdeps/posix/libc_fatal.c> instead.
12662
6b18bea6
JM
126632013-03-19 Joseph Myers <joseph@codesourcery.com>
12664
12665 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
12666 constants.
12667 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12668 double constants.
12669
aaa8cb4b
AS
126702013-03-19 Andreas Schwab <schwab@suse.de>
12671
44673770
AS
12672 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12673 * sysdeps/gnu/configure: Regenerate.
12674
aaa8cb4b
AS
12675 * configure.in: Substitute libc_cv_rtlddir.
12676 * configure: Regenerate.
12677 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12678 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12679 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12680 * elf/Makefile (install-others, CFLAGS-interp.c)
12681 (ldso_install, common-ldd-rewrite): Likewise.
12682 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12683 $(inst_slibdir)/$(rtld-installed-name).
12684 * scripts/rellns-sh: Add -p option.
12685 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12686 for source.
12687
d3cfc668
SP
126882013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12689
12690 * manual/nptl.texi: Renamed to ...
12691 * manual/threads.texi: ... this.
12692 * manual/Makefile (chapters): Update.
12693
0e2b9cdd
RM
126942013-03-18 Roland McGrath <roland@hack.frob.com>
12695
12696 [BZ #14812]
12697 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12698 on argument names, not just descriptions.
0e2b9cdd
RM
12699 * malloc/memusagestat.c (options): Likewise.
12700 * nss/getent.c (options): Likewise.
63270c24
RM
12701
127022013-03-18 Benno Schulenberg <bensberg@justemail.net>
12703
12704 [BZ #14812]
12705 * iconv/iconv_prog.c (options): Put N_ translation marker
12706 on argument names, not just descriptions.
12707 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 12708
b2e1393c
OB
127092013-03-18 Ondrej Bilka <neleai@seznam.cz>
12710
12711 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12712 implementation which is faster on all x86_64 architectures.
12713 Tested on AMD, Intel Nehalem, SNB, IVB.
12714 * sysdeps/x86_64/strnlen.S: Likewise.
12715
12716 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12717 Remove all multiarch strlen and strnlen versions.
12718 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12719 Remove strlen and strnlen related parts.
12720
12721 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12722 Inline strlen part.
12723 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12724
12725 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12726 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12727 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12728 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12729 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12730 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12731
ec4ff04d
CD
127322013-03-17 Carlos O'Donell <carlos@redhat.com>
12733
12734 * manual/memory.texi (Malloc Tunable Parameters):
12735 Sort parameters alphabetically. Add comments for missing entries.
12736
cd18e90a
DM
127372013-03-17 David S. Miller <davem@davemloft.net>
12738
12739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12740
2a185d32
JM
127412013-03-16 Joseph Myers <joseph@codesourcery.com>
12742
d2f9799e
JM
12743 [BZ #15283]
12744 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12745 for arguments at most half maximum finite value.
12746 * math/libm-test.inc (j0_test): Add more tests.
12747 (j1_test): Likewise.
12748 (y0_test): Likewise.
12749 (y1_test): Likewise.
12750 * sysdeps/i386/fpu/libm-test-ulps: Update.
12751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12752
2a185d32
JM
12753 [BZ #14155]
12754 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12755 1 / x and functions P and Q for arguments above 0x1p256L.
12756 (__ieee754_y0l): Likewise.
12757 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12758 (__ieee754_y1l): Likewise.
12759 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12760 (j1_test): Likewise.
12761 (y0_test): Likewise.
12762 (y1_test): Likewise.
12763
6cbec759
TS
127642013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12765
12766 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12767 variable.
12768
bc16e260
RM
127692013-03-15 Roland McGrath <roland@hack.frob.com>
12770
aefc9b8c
RM
12771 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12772 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12773 zero since it's initialized to EXEC_PAGESIZE.
12774
bc16e260
RM
12775 * sysdeps/unix/sysv/linux/ldsodefs.h
12776 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12777 * sysdeps/generic/ldsodefs.h: ... here.
12778
a57da955
TS
127792013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12780
af00a34d
TS
12781 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12782
495ded2c
TS
12783 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12784 math/test-snan.c.
12785 * math/test-snan.c: Renamed from
12786 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12787 * math/Makefile (tests): Add test-snan.
12788 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12789 test-powerpc-snan.
12790
777b0332
TS
12791 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12792 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12793 functions.
12794 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12795 __builtin_nan family of functions.
12796 * math/libm-test.inc (initialize): Initialize qnan_value with
12797 __builtin_nan family of functions.
12798 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12799 Remove variables.
12800 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12801 Remove functions.
12802 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12803 storage class. Initialize qNaN_var and sNaN_var with
12804 __builtin_nan and __builtin_nans families of functions,
12805 respectively.
12806
64d063b8
TS
12807 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12808 (sqrt_test): Remove duplicate test with qNaN input.
12809 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12810 (round_test, signbit_test, significand_test): Note missing +/-Inf
12811 as well as qNaN tests.
12812
67e971f1
TS
12813 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12814 qNaN_var. Fix a few strings, too.
12815 * math/libm-test.inc (nan_value): Rename to qnan_value.
12816 * math/gen-libm-test.pl (%beautify): Adjust to that.
12817 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12818 * math/test-misc.c (main): Likewise.
12819 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12820 to __qnan_bytes, and __qnan_union, respectively.
12821 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12822 Likewise.
12823 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12824 and lqnanval, respectively.
12825 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12826 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12827 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12828 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12829
64487e12
TS
12830 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12831 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12832 doubles.
12833
e015e27b
TS
12834 * math/test-misc.c (main): Fix copy'n'pastos.
12835 * misc/tst-efgcvt.c (special): Likewise.
12836
a57da955
TS
12837 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12838 Remove declarations.
12839
1e380345
SP
128402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12841
12842 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12843 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12844 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12845 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12846
ef26eece
AZ
128472013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12848
12849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12850 macro to return vdso values correctly in IFUNC implementations.
12851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12852 Optimization by using IFUNC.
12853
8cfdb7e0
SP
128542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12855 Richard Henderson <rth@redhat.com>
12856 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12857
12858 * Makefile.in (bench): New target.
12859 * NEWS: Mention the benchmark framework.
12860 * Rules (bench): Likewise.
12861 (binaries-bench): Generate binaries for functions to
12862 benchmark.
12863 * benchtests/Makefile: New makefile for benchmark tests.
12864 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12865 programs.
12866 * benchtests/exp-inputs: New input file for EXP function.
12867 * benchtests/pow-inputs: New input file for POW function.
12868 * scripts/bench.pl: New script to generate source files for
12869 benchmark programs.
12870
bcda9880
SP
128712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12872
d22ca8cd
SP
12873 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12875 computations on mantissa. Use macros for rounding and
12876 division.
12877 (denorm): Likewise.
12878 (__dbl_mp): Likewise.
12879 (add_magnitudes): Likewise.
12880 (sub_magnitudes): Likewise.
12881 (__mul): Likewise.
12882 (__sqr): Likewise.
12883 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12884 powers of two in terms of TWOPOW macro.
12885 (mp_no): Make type of mantissa as MANTISSA_T.
12886 [!RADIXI]: Define RADIXI.
12887 [!TWO52]: Define TWO52.
12888 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12889
bcda9880
SP
12890 * manual/nptl.texi (cindex): Modify threads to pthreads.
12891
06d5adfb
JM
128922013-03-15 Joseph Myers <joseph@codesourcery.com>
12893
12894 * sysdeps/x86_64/preconfigure: Regenerated.
12895
41c7328e
JM
128962013-03-14 Joseph Myers <joseph@codesourcery.com>
12897
12898 [BZ #14155]
12899 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12900 0x1p28 and above.
12901 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12902 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12903 0x1p28 and above.
12904 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12905 * math/libm-test.inc (j0_test): Do not allow one spurious
12906 underflow exception.
12907 (y1_test): Likewise.
12908
e25cfa60
SP
129092013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12910
0409959c
SP
12911 * manual/Makefile (chapters): Add nptl.
12912 * manual/debug.texi (Debugging Support): Add link to Threads
12913 chapter.
12914 * manual/nptl.texi: New file.
12915
e25cfa60
SP
12916 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12917
58a1335e
PB
129182013-03-14 Petr Baudis <pasky@ucw.cz>
12919
12920 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12921 for non-NULL pointer before the memory validity test. Pointed
12922 out by Holger Brunck <holger.brunck@keymile.com>.
12923
9dc7c64f
AS
129242013-03-13 Andreas Schwab <schwab@suse.de>
12925
12926 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12927 instead of .os.
12928
54206aa6
JM
129292013-03-13 Joseph Myers <joseph@codesourcery.com>
12930
12931 * timezone/zic.c: Update from tzcode 2013b.
12932
e98cdb38
CD
129332013-03-12 Carlos O'Donell <carlos@redhat.com>
12934
12935 * manual/install.texi (Configuring and compiling):
12936 Mention i686 and i586.
12937 * INSTALL: Regenerate.
12938
9967e003
RM
129392013-03-12 Roland McGrath <roland@hack.frob.com>
12940
12941 * sysdeps/init_array/elf-init.c: New file.
12942 * csu/elf-init.c
12943 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12944 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12945
12946 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12947 __gmon_start__ as global, but as static with a .preinit_array pointer.
12948 * sysdeps/init_array/gmon-start.c: New file. Use that.
12949 * sysdeps/init_array/crti.S: New file, empty except for comments.
12950 * sysdeps/init_array/crtn.S: Likewise.
12951
e6b5a293 129522013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
12953
12954 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12955 definining bcopy.
80f844c9
OB
12956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12957 Remove Prefer_SSE_for_memop.
12958 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12959 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12960 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
12961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12962 memset-x86-64.
80f844c9 12963 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 12964 Remove bzero, memset ifunc support.
80f844c9
OB
12965 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12966 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12967 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12968 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12969
fb6b0fcb
AS
129702013-03-11 Andreas Schwab <schwab@suse.de>
12971
12972 [BZ #15234]
12973 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12974 by SHLIB_COMPAT.
12975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12976 (GLIBC_2.16): Remove pthread_atfork.
12977
3e6bd4b1
PP
129782013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12979
12980 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12981 (ptestcases.h): Likewise.
12982
222d7f00
RM
129832013-03-08 Roland McGrath <roland@hack.frob.com>
12984
12985 * Makeconfig ($(common-objpfx)config.status): Depend on
12986 sysdeps/*/preconfigure{,.in} too.
12987
1ba4f030
JM
129882013-03-08 Joseph Myers <joseph@codesourcery.com>
12989
a222d91a
JM
12990 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12991 (__free_hook): Use void * instead of __malloc_ptr_t.
12992 (__malloc_hook): Likewise.
12993 (__realloc_hook): Likewise.
12994 (__memalign_hook): Likewise.
12995 (__after_morecore_hook): Likewise.
12996 * malloc/arena.c (save_malloc_hook): Likewise.
12997 (save_free_hook): Likewise.
12998 * malloc/hooks.c (malloc_hook_ini): Likewise.
12999 (realloc_hook_ini): Likewise.
13000 (memalign_hook_ini): Likewise.
13001 * malloc/malloc.c (malloc_hook_ini): Likewise.
13002 (realloc_hook_ini): Likewise.
13003 (memalign_hook_ini): Likewise.
13004 (__free_hook): Likewise.
13005 (__malloc_hook): Likewise.
13006 (__realloc_hook): Likewise.
13007 (__memalign_hook): Likewise.
13008 (__libc_malloc): Likewise.
13009 (__libc_free): Likewise.
13010 (__libc_realloc): Likewise.
13011 (__libc_memalign): Likewise.
13012 (__libc_valloc): Likewise.
13013 (__libc_pvalloc): Likewise.
13014 (__libc_calloc): Likewise.
13015 (__posix_memalign): Likewise.
13016 * malloc/morecore.c (__sbrk): Likewise.
13017 (__default_morecore): Likewise.
13018
5cc45e10
JM
13019 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13020
dd54b864
JM
13021 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13022 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13023 __malloc_ptrdiff_t.
13024
1ba4f030
JM
13025 * malloc/malloc.h (__malloc_size_t): Remove macro.
13026 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13027 __malloc_size_t.
13028 (old_memalign_hook): Likewise.
13029 (old_realloc_hook): Likewise.
13030 (struct hdr): Likewise.
13031 (flood): Likewise.
13032 (mallochook): Likewise.
13033 (memalignhook): Likewise.
13034 (reallochook): Likewise.
13035 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13036 (tr_old_realloc_hook): Likewise.
13037 (tr_old_memalign_hook): Likewise.
13038 (tr_mallochook): Likewise.
13039 (tr_reallochook): Likewise.
13040 (tr_memalignhook): Likewise.
13041
edf66e57
AZ
130422013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13043
13044 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13045 default_ldbl_pack and using as default implementation.
13046 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13047 implementation.
13048 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13049 redundant definition.
13050 (ldbl_insert_mantissa): Likewise.
13051 (ldbl_canonicalize): Likewise.
13052 (ldbl_nearbyint): Likewise.
13053 (ldbl_pack): Rename to ldbl_pack_ppc.
13054 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13055 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13056 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13057
6d9145d8
SP
130582013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13059
13060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13061 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13062 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13063 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13065 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13066 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13067 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13068
4dd4e157
AJ
130692013-03-07 Andreas Jaeger <aj@suse.de>
13070
13071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13072 bits/mman-linux.h.
13073
adbb8027
SP
130742013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13075
ce544b5b
SP
13076 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13077 Include mpa.h and declare __MPEXP.
13078 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13079 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13080 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13081 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13082 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13083 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13084 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13085
4cc149fd
SP
13086 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13087 (__slowpow): Use long double EXPL and LOGL functions to
13088 compute POW.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13090 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13092 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13093 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13095
e6ebd4a7
SP
13096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13097 intermediate variable to calculate exponent.
13098 (__sqr): Likewise.
13099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13100 Likewise.
13101 (__sqr): Likewise.
13102
82a9811d
SP
13103 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13104 [!NO__SQR]: Define __sqr.
13105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13106 and NO__SQR. Remove all code except __mul and __sqr. Include
13107 sysdeps/ieee754/dbl-64/mpa.c.
13108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13109
adbb8027
SP
13110 [BZ #12723]
13111 * posix/Makefile (tests): Add tst-pathconf.
13112 * posix/tst-pathconf.c: New test case.
13113 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13114 _PC_PIPE_BUF.
13115 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13116
39120df9
PF
131172013-03-06 Patsy Franklin <pfrankli@redhat.com>
13118
13119 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13120
67525cb8
AJ
131212013-03-06 Andreas Jaeger <aj@suse.de>
13122
664a9ce4
AJ
13123 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13124 definition via __MAP_ANONYMOUS.
13125
8e39047d
AJ
13126 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13127 it's not part of Linux headers.
13128
67525cb8
AJ
13129 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13130 (MAP_HUGE_MASK): Define.
13131
13132 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13133 Define.
13134 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13136 Define.
13137 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13138 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13139 Define.
13140 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13142 Define.
13143 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13144
13145 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13146 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13147 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13148 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13149 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13150 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13151
13152 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13153 Handle f2fs.
13154
13155 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13156 Handle f2fs and efivarfs.
13157
13158 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13159 f2fs.
13160
13161 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13162 (EFIVARFS_MAGIC): Add.
13163 (F2FS_LINK_MAX): Add.
13164
e1b42695
PP
131652013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13166
13167 * stdio-common/vfprintf.c: Replace __builtin_expect with
13168 __glibc_unlikely.
13169
2d67d91a
JM
131702013-03-06 Joseph Myers <joseph@codesourcery.com>
13171
13172 [BZ #13550]
13173 * sysdeps/generic/bp-sym.h: Remove file.
13174 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13175 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13176 <bp-sym.h> and <bp-asm.h>.
13177 (__longjmp): Don't use BP_SYM.
13178 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13179 and <bp-asm.h>.
13180 (memcpy): Don't use BP_SYM.
13181 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13182 <bp-sym.h> and <bp-asm.h>.
13183 (memcpy): Don't use BP_SYM.
13184 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13185 <bp-asm.h>.
13186 (memcpy): Don't use BP_SYM.
13187 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13188 <bp-asm.h>.
13189 (memset): Don't use BP_SYM.
13190 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13191 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13192 (__bzero): Don't use BP_SYM.
13193 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13194 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13195 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13196 <bp-sym.h> and <bp-asm.h>.
13197 (memcmp): Don't use BP_SYM. Remove comment about bounded
13198 pointers.
13199 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13200 <bp-sym.h> and <bp-asm.h>.
13201 (memcpy): Don't use BP_SYM.
13202 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13203 <bp-sym.h> and <bp-asm.h>.
13204 (memset): Don't use BP_SYM.
13205 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13206 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13207 (__bzero): Don't use BP_SYM.
13208 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13209 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13210 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13211 <bp-sym.h> and <bp-asm.h>.
13212 (strncmp): Don't use BP_SYM. Remove comment about bounded
13213 pointers.
13214 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13215 <bp-sym.h> and <bp-asm.h>.
13216 (memcpy): Don't use BP_SYM.
13217 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13218 <bp-sym.h> and <bp-asm.h>.
13219 (memset): Don't use BP_SYM.
13220 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13221 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13222 (__bzero): Don't use BP_SYM.
13223 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13224 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13225 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13226 <bp-sym.h> and <bp-asm.h>.
13227 (__memchr): Don't use BP_SYM.
13228 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13229 <bp-sym.h> and <bp-asm.h>.
13230 (memcmp): Don't use BP_SYM. Remove comment about bounded
13231 pointers.
13232 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13233 <bp-sym.h> and <bp-asm.h>.
13234 (memcpy): Don't use BP_SYM.
13235 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13236 <bp-sym.h> and <bp-asm.h>.
13237 (__mempcpy): Don't use BP_SYM.
13238 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13239 <bp-sym.h> and <bp-asm.h>.
13240 (__memrchr): Don't use BP_SYM.
13241 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13242 <bp-sym.h> and <bp-asm.h>.
13243 (memset): Don't use BP_SYM.
13244 (__bzero): Likewise.
13245 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13246 <bp-sym.h> and <bp-asm.h>.
13247 (__rawmemchr): Don't use BP_SYM.
13248 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13249 <bp-sym.h> and <bp-asm.h>.
13250 (__STRCMP): Don't use BP_SYM.
13251 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13252 <bp-sym.h> and <bp-asm.h>.
13253 (strchr): Don't use BP_SYM.
13254 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13255 <bp-sym.h> and <bp-asm.h>.
13256 (__strchrnul): Don't use BP_SYM.
13257 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13258 <bp-sym.h> and <bp-asm.h>.
13259 (strlen): Don't use BP_SYM.
13260 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13261 <bp-sym.h> and <bp-asm.h>.
13262 (strncmp): Don't use BP_SYM. Remove comment about bounded
13263 pointers.
13264 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13265 <bp-sym.h> and <bp-asm.h>.
13266 (__strnlen): Don't use BP_SYM.
13267 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13268 <bp-sym.h> and <bp-asm.h>.
13269 (__GI__setjmp): Don't use BP_SYM.
13270 (_setjmp): Likewise.
13271 (__sigsetjmp): Likewise.
13272 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13273 (L(start_addresses)): Don't use BP_SYM.
13274 (_start): Likewise.
13275 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13276 <bp-asm.h>.
13277 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13278 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13279 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13280 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13281 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13282 <bp-asm.h>.
13283 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13284 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13285 about bounded pointers.
13286 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13287 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13288 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13289 <bp-asm.h>.
13290 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13291 about bounded pointers. Remove GKM FIXME comments.
13292 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13293 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13294 <bp-asm.h>.
13295 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13296 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13297 Remove GKM FIXME comments.
13298 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13299 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13300 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13301 <bp-asm.h>.
13302 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13303 about bounded pointers. Remove GKM FIXME comment.
13304 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13305 and <bp-asm.h>.
13306 (strncmp): Don't use BP_SYM. Remove comment about bounded
13307 pointers.
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13309 <bp-sym.h> and <bp-asm.h>.
13310 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13312 <bp-sym.h> and <bp-asm.h>.
13313 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13314 comment.
13315
cdcf361f
PP
133162013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13317
13318 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13319 call free(NULL).
13320
3c4a2b15
DM
133212013-03-05 David S. Miller <davem@davemloft.net>
13322
13323 * po/es.po: Update from translation team.
13324
cdcf361f 133252013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13326
13327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13328 <bits/mman-linux.h>.
13329 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13330 is fine.
13331 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13332 <bits/mman-linux.h> to end of file.
13333 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13334 is fine.
13335 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13336 <bits/mman-linux.h> to end of file.
13337 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13338 is fine.
13339 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13340 <bits/mman-linux.h> to end of file.
13341
13342 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13343 (MCL_CURRENT, MCL_FUTURE): Define here.
13344
5f67c04f
AK
133452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13346
8a4473cc 13347 [BZ #15232]
5f67c04f
AK
13348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13349 attribute_hidden.
13350 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13351
c3e94a95
AK
133522013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13353
13354 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
13355 fourth parameter needed for rt_sigprocmask syscall.
13356 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13357 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13358 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13359 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13360 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13361 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
13362
cfb6382a
JM
133632013-03-04 Joseph Myers <joseph@codesourcery.com>
13364
13365 [BZ #13550]
13366 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
13367 comment about bounded pointers.
13368 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
13369 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
13370
539d8e01
AJ
133712013-03-04 Andreas Jaeger <aj@suse.de>
13372
13373 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
13374 common definitions.
13375
13376 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
13377 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
13378 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
13379 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
13381 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13382
2e167a70 133832013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
13384
13385 [BZ #15055]
13386 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
13387 __ieee754_sqrl instead of __sqrl.
13388
68508633
JM
133892013-03-01 Joseph Myers <joseph@codesourcery.com>
13390
13391 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
13392 * sysdeps/powerpc/fpu_control.h: ... here.
13393 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
13394 * sysdeps/powerpc/bits/fenvinline.h: ... here.
13395 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
13396 * sysdeps/powerpc/bits/mathinline.h: ... here.
13397
7775448e
RM
133982013-03-01 Roland McGrath <roland@hack.frob.com>
13399
13400 * elf/dl-hwcaps.c (_dl_important_hwcaps):
13401 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
13402 to just [NEED_DL_SYSINFO_DSO].
13403 * elf/dl-support.c: Likewise.
13404 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13405 * elf/rtld.c (dl_main): Likewise.
13406 * elf/setup-vdso.h (setup_vdso): Likewise.
13407 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
13408 * sysdeps/unix/sysv/linux/dl-sysdep.c
13409 (_dl_discover_osversion): Likewise.
13410
4e9b5995
CD
134112013-03-01 Carlos O'Donell <carlos@redhat.com>
13412
13413 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
13414 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13415
e23872c8
SP
134162013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13417
e5c74c63
SP
13418 * NEWS: Mention libm performance improvements and non-x86 PI
13419 futex support.
13420
e23872c8
SP
13421 * csu/libc-start.c (__pthread_initialize_minimal): Change
13422 function arguments.
13423 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
13424
b5510883
JM
134252013-02-28 Joseph Myers <joseph@codesourcery.com>
13426
13427 [BZ #13550]
13428 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
13429 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
13430 <bp-sym.h> and <bp-asm.h>.
13431 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13432 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
13433 and <bp-asm.h>.
13434 (memcpy): Don't use BP_SYM.
13435 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
13436 <bp-asm.h>.
13437 (__mpn_add_n): Don't use BP_SYM.
13438 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
13439 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
13440 and <bp-asm.h>.
13441 (__mpn_addmul_1): Don't use BP_SYM.
13442 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13443 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
13444 <bp-sym.h>.
13445 (_setjmp): Don't use BP_SYM.
13446 (__novmx_setjmp): Likewise.
13447 (__GI__setjmp): Likewise.
13448 (__vmx_setjmp): Likewise.
13449 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
13450 <bp-sym.h>.
13451 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
13452 (__bzero): Don't use BP_SYM.
13453 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13454 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13455 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
13456 <bp-sym.h> and <bp-asm.h>.
13457 (memcpy): Don't use BP_SYM.
13458 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
13459 <bp-sym.h> and <bp-asm.h>.
13460 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13461 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
13462 <bp-sym.h> and <bp-asm.h>.
13463 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
13464 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
13465 <bp-asm.h>.
13466 (__mpn_lshift): Don't use BP_SYM.
13467 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13468 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
13469 <bp-asm.h>.
13470 (memset): Don't use BP_SYM.
13471 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13472 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13473 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
13474 <bp-asm.h>.
13475 (__mpn_mul_1): Don't use BP_SYM.
13476 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
13478 <bp-sym.h> and <bp-asm.h>.
13479 (memcmp): Don't use BP_SYM.
13480 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
13481 <bp-sym.h> and <bp-asm.h>.
13482 (memcpy): Don't use BP_SYM.
13483 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
13484 <bp-sym.h> and <bp-asm.h>.
13485 (memset): Don't use BP_SYM.
13486 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
13487 <bp-sym.h> and <bp-asm.h>.
13488 (strncmp): Don't use BP_SYM.
13489 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
13490 <bp-sym.h> and <bp-asm.h>.
13491 (memcpy): Don't use BP_SYM.
13492 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
13493 <bp-sym.h> and <bp-asm.h>.
13494 (memset): Don't use BP_SYM.
13495 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
13496 <bp-sym.h> and <bp-asm.h>.
13497 (__memchr): Don't use BP_SYM.
13498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
13499 <bp-sym.h> and <bp-asm.h>.
13500 (memcmp): Don't use BP_SYM.
13501 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
13502 <bp-sym.h> and <bp-asm.h>.
13503 (memcpy): Don't use BP_SYM.
13504 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
13505 <bp-sym.h> and <bp-asm.h>.
13506 (__mempcpy): Don't use BP_SYM.
13507 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
13508 <bp-sym.h> and <bp-asm.h>.
13509 (__memrchr): Don't use BP_SYM.
13510 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
13511 <bp-sym.h> and <bp-asm.h>.
13512 (memset): Don't use BP_SYM.
13513 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
13514 <bp-sym.h> and <bp-asm.h>.
13515 (__rawmemchr): Don't use BP_SYM.
13516 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
13517 <bp-sym.h> and <bp-asm.h>.
13518 (__STRCMP): Don't use BP_SYM.
13519 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
13520 <bp-sym.h> and <bp-asm.h>.
13521 (strchr): Don't use BP_SYM.
13522 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
13523 <bp-sym.h> and <bp-asm.h>.
13524 (__strchrnul): Don't use BP_SYM.
13525 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
13526 <bp-sym.h> and <bp-asm.h>.
13527 (strlen): Don't use BP_SYM.
13528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
13529 <bp-sym.h> and <bp-asm.h>.
13530 (strncmp): Don't use BP_SYM.
13531 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
13532 <bp-sym.h> and <bp-asm.h>.
13533 (__strnlen): Don't use BP_SYM.
13534 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
13535 <bp-asm.h>.
13536 (__mpn_rshift): Don't use BP_SYM.
13537 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13538 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
13539 <bp-sym.h> and <bp-asm.h>.
13540 (__sigsetjmp): Don't use BP_SYM.
13541 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
13542 (L(start_addresses)): Don't use BP_SYM.
13543 (_start): Likewise.
13544 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
13545 <bp-asm.h>.
13546 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
13547 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13548 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13549 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
13550 <bp-asm.h>.
13551 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
13552 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13553 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13554 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
13555 <bp-asm.h>.
13556 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13557 comments.
13558 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13559 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
13560 <bp-asm.h>.
13561 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
13562 FIXME comments.
13563 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13564 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13565 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
13566 <bp-asm.h>.
13567 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
13568 comment.
13569 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
13570 and <bp-asm.h>.
13571 (strncmp): Don't use BP_SYM,
13572 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
13573 <bp-asm.h>.
13574 (__mpn_sub_n): Don't use BP_SYM.
13575 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13576 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
13577 and <bp-asm.h>.
13578 (__mpn_submul_1): Don't use BP_SYM.
13579 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
13581 <bp-sym.h> and <bp-asm.h>.
13582 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
13584 <bp-sym.h> and <bp-asm.h>.
13585 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13586 comment.
13587
8d19fe64
SP
135882013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13589
13590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
13591 Use ZK to minimize writes to Z.
13592 (sub_magnitudes): Simplify code a bit.
13593 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
13594 Use ZK to minimize writes to Z.
13595 (sub_magnitudes): Simplify code a bit.
13596
85bd816a
RM
135972013-02-27 Roland McGrath <roland@hack.frob.com>
13598
13599 * csu/gmon-start.c: Add special exception to license text.
13600
b5977bf2
RH
136012013-02-27 Richard Henderson <rth@redhat.com>
13602
13603 * scripts/config.guess: Update from config.git.
13604 * scripts/config.sub: Likewise.
13605
11d6e2f2
SP
136062013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13607
09c14ed2
SP
13608 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
13609
a688864e
SP
13610 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
13611
6295157a
SP
13612 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
13613
b8de2202
SP
13614 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
13615
11d6e2f2
SP
13616 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
13617
7e80ddb8
RM
136182013-02-26 Roland McGrath <roland@hack.frob.com>
13619
13620 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
13621 [$(build-shared = yes].
7e80ddb8 13622
7da6d9ed
SP
136232013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13624
45f05884
SP
13625 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
13626 (__mul): Reduce iterations for calculating mantissa.
13627
2236d359
SP
13628 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
13629 MPTWO.
13630 (__mpranred): Likewise.
13631
7da6d9ed
SP
13632 [BZ #15160]
13633 * malloc/memusagestat.c (main): Draw graphs for heap and stack
13634 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
13635
b7688c42
PE
136362013-02-26 Paul Eggert <eggert@cs.ucla.edu>
13637
13638 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
13639 Define __attribute__.
13640
53a5c423
SP
136412013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13642
13643 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
13644 unused.
13645 * posix/regex_internal.h (__attribute): Remove.
13646 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
13647 (re_string_context_at): Likewise.
13648 (bitset_not): Use __attribute__ and mark function as possibly
13649 unused.
13650 (bitset_merge): Likewise.
13651 (bitset_mask): Likewise.
13652 (re_string_char_size_at): Likewise.
13653 (re_string_wchar_at): Likewise.
13654 (re_string_elem_size_at): Likewise.
13655
60f5a8b5
SP
136562013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13657
2a983a2e
SP
13658 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
13659 code.
13660 (cc32): Likewise.
13661
e69804d1
SP
13662 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
13663 (__acr): Likewise.
13664 (__cpy): Likewise.
13665 (norm): Likewise.
13666 (denorm): Likewise.
13667 (__dbl_mp): Likewise.
13668 (add_magnitudes): Likewise.
13669 (sub_magnitudes): Likewise.
13670 (__mul): Likewise.
13671 (__inv): Likewise.
13672
2f22a1e8
SP
13673 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13674 style.
13675
8930ddc7
SP
13676 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13677 style.
13678
dc60cb11
SP
13679 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13680 code.
13681
60f5a8b5
SP
13682 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13683 up changes with default code.
13684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13685 Likewise.
13686
b4d1fd33
AM
136872013-02-24 Allan McRae <allan@archlinux.org>
13688
faf6f8bc
AM
13689 * manual/socket.texi (The Internet Namespace): Order menu items
13690 to match that in the file.
13691
b4d1fd33
AM
13692 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13693 node listing of the info page menu.
13694
2366713d
JM
136952013-02-21 Joseph Myers <joseph@codesourcery.com>
13696
13697 [BZ #13550]
13698 * sysdeps/i386/bp-asm.h: Remove file.
13699 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13700 (PARMS): Do not use macros from bp-asm.h.
13701 (S1): Likewise.
13702 (S2): Likewise.
13703 (SIZE): Likewise.
13704 (__mpn_add_n): Do not use BP_SYM
13705 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13706 "bp-asm.h".
13707 (PARMS): Do not use macros from bp-asm.h.
13708 (S1): Likewise.
13709 (SIZE): Likewise.
13710 (__mpn_addmul_1): Do not use BP_SYM
13711 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13712 "bp-asm.h".
13713 (PARMS): Do not use macros from bp-asm.h.
13714 (SIGMSK): Likewise.
13715 (_setjmp): Likewise. Do not use BP_SYM.
13716 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13717 "bp-asm.h".
13718 (PARMS): Do not use macros from bp-asm.h.
13719 (SIGMSK): Likewise.
13720 (setjmp): Likewise. Do not use BP_SYM.
13721 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13722 "bp-asm.h".
13723 (PARMS): Do not use macros from bp-asm.h.
13724 (__frexp): Do not use BP_SYM.
13725 (frexp): Likewise.
13726 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13727 "bp-asm.h".
13728 (PARMS): Do not use macros from bp-asm.h.
13729 (__frexpf): Do not use BP_SYM.
13730 (frexpf): Likewise.
13731 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13732 "bp-asm.h".
13733 (PARMS): Do not use macros from bp-asm.h.
13734 (__frexpl): Do not use BP_SYM.
13735 (frexpl): Likewise.
13736 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13737 "bp-asm.h".
13738 (PARMS): Do not use macros from bp-asm.h.
13739 (__remquo): Do not use BP_SYM.
13740 (remquo): Likewise.
13741 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13742 "bp-asm.h".
13743 (PARMS): Do not use macros from bp-asm.h.
13744 (__remquof): Do not use BP_SYM.
13745 (remquof): Likewise.
13746 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13747 "bp-asm.h".
13748 (PARMS): Do not use macros from bp-asm.h.
13749 (__remquol): Do not use BP_SYM.
13750 (remquol): Likewise.
13751 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13752 "bp-asm.h".
13753 (PARMS): Do not use macros from bp-asm.h.
13754 (DEST): Likewise.
13755 (SRC): Likewise.
13756 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13757 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13758 "bp-asm.h".
13759 (PARMS): Do not use macros from bp-asm.h.
13760 (strlen): Do not use BP_SYM.
13761 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13762 "bp-asm.h".
13763 (PARMS): Do not use macros from bp-asm.h.
13764 (S1): Likewise.
13765 (S2): Likewise.
13766 (SIZE): Likewise.
13767 (__mpn_add_n): Do not use BP_SYM.
13768 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13769 "bp-asm.h".
13770 (PARMS): Do not use macros from bp-asm.h.
13771 (S1): Likewise.
13772 (SIZE): Likewise.
13773 (__mpn_addmul_1): Do not use BP_SYM.
13774 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13775 weak_alias.
13776 (bzero): Likewise.
13777 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13778 "bp-asm.h".
13779 (PARMS): Do not use macros from bp-asm.h.
13780 (S): Likewise.
13781 (SIZE): Likewise.
13782 (__mpn_lshift): Do not use BP_SYM.
13783 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13784 "bp-asm.h".
13785 (PARMS): Do not use macros from bp-asm.h.
13786 (DEST): Likewise.
13787 (SRC): Likewise.
13788 (LEN): Likewise.
13789 (memcpy): Likewise. Do not use BP_SYM.
13790 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13791 libc_hidden_def and weak_alias.
13792 (mempcpy): Do not use BP_SYM in weak_alias.
13793 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13794 "bp-asm.h".
13795 (PARMS): Do not use macros from bp-asm.h.
13796 (DEST): Likewise.
13797 (LEN): Likewise.
13798 [!BZERO_P] (CHR): Likewise.
13799 (memset): Likewise. Do not use BP_SYM.
13800 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13801 "bp-asm.h".
13802 (PARMS): Do not use macros from bp-asm.h.
13803 (S1): Likewise.
13804 (SIZE): Likewise.
13805 (__mpn_mul_1): Do not use BP_SYM.
13806 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13807 "bp-asm.h".
13808 (PARMS): Do not use macros from bp-asm.h.
13809 (S): Likewise.
13810 (SIZE): Likewise.
13811 (__mpn_rshift): Do not use BP_SYM.
13812 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13813 "bp-asm.h".
13814 (PARMS): Do not use macros from bp-asm.h.
13815 (STR): Likewise.
13816 (CHR): Likewise.
13817 (strchr): Likewise. Do not use BP_SYM.
13818 (index): Do not use BP_SYM in weak_alias.
13819 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13820 "bp-asm.h".
13821 (PARMS): Do not use macros from bp-asm.h.
13822 (DEST): Likewise.
13823 (SRC): Likewise.
13824 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13825 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13826 "bp-asm.h".
13827 (PARMS): Do not use macros from bp-asm.h.
13828 (strlen): Do not use BP_SYM.
13829 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13830 "bp-asm.h".
13831 (PARMS): Do not use macros from bp-asm.h.
13832 (S1): Likewise.
13833 (S2): Likewise.
13834 (SIZE): Likewise.
13835 (__mpn_sub_n): Do not use BP_SYM.
13836 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13837 "bp-asm.h".
13838 (PARMS): Do not use macros from bp-asm.h.
13839 (S1): Likewise.
13840 (SIZE): Likewise.
13841 (__mpn_submul_1): Do not use BP_SYM.
13842 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13843 "bp-asm.h".
13844 (PARMS): Do not use macros from bp-asm.h.
13845 (S1): Likewise.
13846 (S2): Likewise.
13847 (SIZE): Likewise.
13848 (__mpn_add_n): Do not use BP_SYM.
13849 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13850 weak_alias.
13851 (bzero): Likewise.
13852 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13853 "bp-asm.h".
13854 (PARMS): Do not use macros from bp-asm.h.
13855 (BLK2): Likewise.
13856 (LEN): Likewise.
13857 (memcmp): Do not use BP_SYM.
13858 (bcmp): Do not use BP_SYM in weak_alias.
13859 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13860 "bp-asm.h".
13861 (PARMS): Do not use macros from bp-asm.h.
13862 (DEST): Likewise.
13863 (SRC): Likewise.
13864 (LEN): Likewise.
13865 (memcpy): Likewise. Do not use BP_SYM.
13866 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13867 "bp-asm.h".
13868 (PARMS): Do not use macros from bp-asm.h.
13869 (DEST): Likewise.
13870 (SRC): Likewise.
13871 (LEN): Likewise.
13872 (memmove): Likewise. Do not use BP_SYM.
13873 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13874 "bp-asm.h".
13875 (PARMS): Do not use macros from bp-asm.h.
13876 (DEST): Likewise.
13877 (SRC): Likewise.
13878 (LEN): Likewise.
13879 (__mempcpy): Likewise. Do not use BP_SYM.
13880 (mempcpy): Do not use BP_SYM in weak_alias.
13881 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13882 "bp-asm.h".
13883 (PARMS): Do not use macros from bp-asm.h.
13884 (DEST): Likewise.
13885 (LEN): Likewise.
13886 [!BZERO_P] (CHR): Likewise.
13887 (memset): Likewise. Do not use BP_SYM.
13888 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13889 "bp-asm.h".
13890 (PARMS): Do not use macros from bp-asm.h.
13891 (STR2): Likewise.
13892 (strcmp): Do not use BP_SYM.
13893 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13894 "bp-asm.h".
13895 (PARMS): Do not use macros from bp-asm.h.
13896 (STR): Likewise.
13897 (DELIM): Likewise.
13898 [USE_AS_STRTOK_R] (SAVE): Likewise.
13899 (FUNCTION): Likewise. Do not use BP_SYM.
13900 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13901 aliases.
13902 (strtok_r): Likewise.
13903 (__GI___strtok_r): Likewise.
13904 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13905 (PARMS): Do not use macros from bp-asm.h.
13906 (S): Likewise.
13907 (SIZE): Likewise.
13908 (__mpn_lshift): Do not use BP_SYM.
13909 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13910 (PARMS): Do not use macros from bp-asm.h.
13911 (STR): Likewise.
13912 (CHR): Likewise.
13913 (__memchr): Do not use BP_SYM.
13914 (memchr): Do not use BP_SYM in weak_alias.
13915 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13916 (PARMS): Do not use macros from bp-asm.h.
13917 (BLK2): Likewise.
13918 (LEN): Likewise.
13919 (memcmp): Do not use BP_SYM.
13920 (bcmp): Do not use BP_SYM in weak_alias.
13921 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13922 (PARMS): Do not use macros from bp-asm.h.
13923 (S1): Likewise.
13924 (SIZE): Likewise.
13925 (__mpn_mul_1): Do not use BP_SYM.
13926 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13927 "bp-asm.h".
13928 (PARMS): Do not use macros from bp-asm.h.
13929 (STR): Likewise.
13930 (CHR): Likewise.
13931 (__rawmemchr): Do not use BP_SYM.
13932 (rawmemchr): Do not use BP_SYM in weak_alias.
13933 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13934 (PARMS): Do not use macros from bp-asm.h.
13935 (S): Likewise.
13936 (SIZE): Likewise.
13937 (__mpn_rshift): Do not use BP_SYM.
13938 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13939 (PARMS): Do not use macros from bp-asm.h.
13940 (SIGMSK): Likewise.
13941 (__sigsetjmp): Likewise. Do not use BP_SYM.
13942 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13943 (_start): Do not use BP_SYM.
13944 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13945 (PARMS): Do not use macros from bp-asm.h.
13946 (DEST): Likewise.
13947 (SRC): Likewise.
13948 (__stpcpy): Likewise. Do not use BP_SYM.
13949 (stpcpy): Do not use BP_SYM in weak_alias.
13950 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13951 "bp-asm.h".
13952 (PARMS): Do not use macros from bp-asm.h.
13953 (DEST): Likewise.
13954 (SRC): Likewise.
13955 (LEN): Likewise.
13956 (__stpncpy): Likewise. Do not use BP_SYM.
13957 (stpncpy): Do not use BP_SYM in weak_alias.
13958 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13959 (PARMS): Do not use macros from bp-asm.h.
13960 (STR): Likewise.
13961 (CHR): Likewise.
13962 (strchr): Likewise. Do not use BP_SYM.
13963 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13964 "bp-asm.h".
13965 (PARMS): Do not use macros from bp-asm.h.
13966 (STR): Likewise.
13967 (CHR): Likewise.
13968 (__strchrnul): Likewise. Do not use BP_SYM.
13969 (strchrnul): Do not use BP_SYM in weak_alias.
13970 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13971 "bp-asm.h".
13972 (PARMS): Do not use macros from bp-asm.h.
13973 (STOP): Likewise.
13974 (strcspn): Do not use BP_SYM.
13975 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13976 "bp-asm.h".
13977 (PARMS): Do not use macros from bp-asm.h.
13978 (STR): Likewise.
13979 (STOP): Likewise.
13980 (strpbrk): Likewise. Do not use BP_SYM.
13981 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13982 "bp-asm.h".
13983 (PARMS): Do not use macros from bp-asm.h.
13984 (STR): Likewise.
13985 (CHR): Likewise.
13986 (strrchr): Likewise. Do not use BP_SYM.
13987 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13988 (PARMS): Do not use macros from bp-asm.h.
13989 (SKIP): Likewise.
13990 (strspn): Do not use BP_SYM.
13991 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13992 (PARMS): Do not use macros from bp-asm.h.
13993 (STR): Likewise.
13994 (DELIM): Likewise.
13995 (SAVE): Likewise.
13996 (FUNCTION): Likewise. Do not use BP_SYM.
13997 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13998 aliases.
13999 (strtok_r): Likewise.
14000 (__GI___strtok_r): Likewise.
14001 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14002 (PARMS): Do not use macros from bp-asm.h.
14003 (S1): Likewise.
14004 (S2): Likewise.
14005 (SIZE): Likewise.
14006 (__mpn_sub_n): Do not use BP_SYM.
14007 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14008 "bp-asm.h".
14009 (PARMS): Do not use macros from bp-asm.h.
14010 (S1): Likewise.
14011 (SIZE): Likewise.
14012 (__mpn_submul_1): Do not use BP_SYM.
14013 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14014 <bp-sym.h>.
14015 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14016 and <bp-asm.h>.
14017 (PARMS): Do not use macros from bp-asm.h.
14018 (FLAGS): Likewise.
14019 (PTID): Likewise.
14020 (TLS): Likewise.
14021 (CTID): Likewise.
14022 (__clone): Do not use BP_SYM.
14023 (clone): Do not use BP_SYM in weak_alias.
14024 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14025 and <bp-asm.h>.
14026 (PARMS): Do not use macros from bp-asm.h.
14027 (LEN): Likewise.
14028 (__mmap64): Do not use BP_SYM.
14029 (mmap64): Do not use BP_SYM in weak_alias.
14030 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14031 <bp-sym.h> and <bp-asm.h>.
14032 (PARMS): Do not use macros from bp-asm.h.
14033 (__posix_fadvise64_l64): Do not use BP_SYM.
14034 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14035 (PARMS): Do not use macros from bp-asm.h.
14036 (NSOPS): Likewise.
14037 (semtimedop): Do not use BP_SYM.
14038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14039 and <bp-asm.h>.
14040
582a3cff
AM
140412013-02-21 Allan McRae <allan@archlinux.org>
14042
14043 * manual/message.texi (Charset conversion in gettext):
14044 Move @end statement to beginning of line.
14045
bab8a695
SP
140462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14047
80945231
SP
14048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14049 static.
14050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14051 Likewise.
14052
bab8a695
SP
14053 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14054 (denorm): Likewise.
14055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14057
e21d7aa7
AK
140582013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14059
14060 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14061 tail-call to the resolved function if pltexit isn't needed.
14062
4c7a4263
SP
140632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14064
14065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14066 or Y being zero as being unlikely.
14067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14068 Likewise.
14069
41f49342
CD
140702013-02-20 Carlos O'Donell <carlos@redhat.com>
14071
14072 * manual/nss.texi (System Databases and Name Service Switch):
14073 Remove frobnicate @pxref.
14074
50022a93
TS
140752013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14076
14077 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14078 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14079
08cbd996
PM
140802013-02-20 Petr Machata <pmachata@redhat.com>
14081
14082 * elf/elf.h (R_ARM_TARGET1): New macro.
14083 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14084 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14085 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14086 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14087 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14088 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14089 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14090 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14091 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14092 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14093 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14094 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14095 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14096 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14097 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14098 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14099 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14100 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14101 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14102 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14103 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14104 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14105 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14106 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14107 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14108 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14109 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14110 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14111 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14112 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14113 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14114 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14115 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14116 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14117 (R_ARM_THM_GOT_BREL12): Likewise.
14118 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14119 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14120 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14121 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14122 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14123 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14124 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14125 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14126 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14127
c7b275d6
TS
141282013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14129
14130 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14131 __attribute_used__ to __attribute__ ((unused)).
14132
20cd7fb3
SP
141332013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14134
14135 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14136 powerpc mpa.c.
14137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14138 comment formatting.
14139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14140
92945b52
JM
141412013-02-19 Joseph Myers <joseph@codesourcery.com>
14142
14143 [BZ #13550]
14144 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14145 Remove macro.
14146 (ENTER): Remove both macro definitions.
14147 (LEAVE): Likewise.
14148 (CHECK_BOUNDS_LOW): Likewise.
14149 (CHECK_BOUNDS_HIGH): Likewise.
14150 (CHECK_BOUNDS_BOTH): Likewise.
14151 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14152 (RETURN_BOUNDED_POINTER): Likewise.
14153 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14154 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14155 (POP_ERRNO_LOCATION_RETURN): Likewise.
14156 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14157 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14158 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14159 macros.
14160 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14161 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14162 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14163 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14164 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14165 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14166 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14167 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14168 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14169 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14170 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14171 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14172 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14173 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14174 removed macros.
14175 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14176 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14177 macros.
14178 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14179 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14180 * sysdeps/i386/i586/memset.S (memset): Likewise.
14181 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14182 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14183 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14184 macros.
14185 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14186 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14187 Change uses of L(2) to L(out).
14188 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14189 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14190 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14191 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14192 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14193 removed macros.
14194 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14195 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14196 macros.
14197 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14198 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14199 (RETURN): Do not use macro LEAVE.
14200 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14201 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14202 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14203 * sysdeps/i386/i686/memset.S (memset): Likewise.
14204 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14205 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14206 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14207 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14208 Likewise.
14209 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14210 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14211 L(1_2) and L(1_3) into L(1).
14212 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14213 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14214 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14215 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14216 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14217 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14218 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14219 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14220 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14221 macros.
14222 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14223 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14224 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14225 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14226 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14227 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14228 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14229 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14230 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14231 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14232 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14233 * sysdeps/i386/strspn.S (strspn): Likewise.
14234 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14235 conditional code.
14236 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14237 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14238 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14239 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14240 L(1_3) into L(1_1).
14241 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14242 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14243 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14244 macros.
14245 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14246
2389741a
JJ
142472013-02-19 Jakub Jelinek <jakub@redhat.com>
14248
14249 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14250 macro.
14251
2016b3cd
SP
142522013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14253
e4f22324
SP
14254 * math/atest-exp.c (exp_mpn): Remove ROUND.
14255 * math/atest-exp2.c (exp_mpn): Likewise.
14256 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14257
2016b3cd
SP
14258 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14259 * stdlib/tst-tls-atexit-lib.c: Likewise.
14260 * stdlib/tst-tls-atexit.c: Likewise.
14261
4be9b544
MF
142622013-02-18 Mike Frysinger <vapier@gentoo.org>
14263
14264 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14265 and __attribute_alloc_size__.
14266
2f62b9ee
MF
142672013-02-18 Mike Frysinger <vapier@gentoo.org>
14268
14269 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14270 __attribute_alloc_size__.
14271 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14272 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14273
6ff444c4
MF
142742013-02-18 Mike Frysinger <vapier@gentoo.org>
14275
14276 * include/programs/xmalloc.h: New file.
14277 * catgets/gencat.c: Include it.
14278 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14279 * elf/pldd.c: Likewise.
14280 * iconv/iconv_charmap.c: Likewise.
14281 * iconv/iconvconfig.c: Likewise.
14282 * iconv/strtab.c: Likewise.
14283 * locale/programs/locale.c: Likewise.
14284 * locale/programs/localedef.h: Likewise.
14285 * locale/programs/simple-hash.c: Likewise.
14286 * nscd/nscd.h: Likewise.
14287 * nss/makedb.c: Likewise.
14288 * sysdeps/generic/ldconfig.h: Likewise.
14289
be179c8a
SP
142902013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14291
ba384f6e
SP
14292 * Versions.def: Add GLIBC_2.18.
14293 * include/link.h (struct link_map): New member l_tls_dtor_count.
14294 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14295 (__call_tls_dtors): Likewise.
14296 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14297 __cxa_thread_atexit_impl.
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14299 Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14301 Likewise.
14302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14303 Likewise.
14304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14305 Likewise.
14306 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14308 Likewise.
14309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14310 Likewise.
14311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14313 Likewise.
14314 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14315 (tests): Add test case tst-tls-atexit.
14316 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14317 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14318 (GLIBC_PRIVATE): Add __call_tls_dtors.
14319 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14320 for libstdc++.
14321 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14322 * stdlib/tst-tls-atexit.c: New test case.
14323 * stdlib/tst-tls-atexit-lib.c: New test case.
14324
ffaa74cf 14325 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14326
be179c8a
SP
14327 * elf/Versions (ld): Add _dl_find_dso_for_object.
14328 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14329 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14330 (dl_open_worker): Use _dl_find_dso_for_object.
14331 * elf/dl-sym.c (do_sym): Likewise.
14332 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14333
f78b5caa
AK
143342013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14335
14336 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14337 Syntactic changes only.
14338 (_dl_runtime_profile): Do a tail-call to the resolved function.
14339
29691210
JM
143402013-02-17 Joseph Myers <joseph@codesourcery.com>
14341
14342 [BZ #13550]
14343 * sysdeps/x86_64/bp-asm.h: Remove file.
14344 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14345 <bp-sym.h> and <bp-asm.h>.
14346 (__clone): Do not use BP_SYM.
14347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14348 <bp-sym.h> and <bp-asm.h>.
14349 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14350 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14351 "bp-asm.h".
14352 (_setjmp): Do not use BP_SYM.
14353 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
14354 "bp-asm.h".
14355 (setjmp): Do not use BP_SYM.
14356 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
14357 libc_hidden_def.
14358 (mempcpy): Do not use BP_SYM in weak_alias.
14359 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
14360 "bp-asm.h".
14361 (strchr): Do not use BP_SYM.
14362 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
14363 "bp-asm.h".
14364 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
14365 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
14366 (_start): Do not use BP_SYM.
14367 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
14368 "bp-asm.h".
14369 (strcat): Do not use BP_SYM.
14370 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
14371 "bp-asm.h".
14372 (STRCMP): Do not use BP_SYM.
14373 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
14374 "bp-asm.h".
14375 (STRCPY): Do not use BP_SYM.
14376 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
14377 "bp-asm.h".
14378 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
14379 "bp-asm.h".
14380 (FUNCTION): Do not use BP_SYM.
14381 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
14382 weak_alias.
14383 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
14384
f238fd19
AJ
143852013-02-17 Andreas Jaeger <aj@suse.de>
14386
14387 * time/Versions: Sort entries.
14388 * string/Versions: Likewise.
14389 * resolv/Versions: Likewise.
14390 * posix/Versions: Likewise.
14391 * iconv/Versions: Likewise.
14392 * elf/Versions: Likewise.
14393 * wcsmbs/Versions: Likewise.
14394
bd07f23c 143952013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 14396
22af19f9
SP
14397 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
14398 loop termination condition.
14399
4709fe76
SP
14400 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
14401 variable to calculate EZ.
14402 (__sqr): Likewise.
2d0e0f29
SP
14403
14404 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
14405 the lower precision input.
14406
daaa7713
JM
144072013-02-15 Joseph Myers <joseph@codesourcery.com>
14408
14409 [BZ #13550]
14410 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
14411 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
14412 (run-via-rtld-prefix): Do not handle %-bp tests.
14413 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
14414 (all-object-suffixes): Remove .ob.
14415 (bppfx): Remove variable.
14416 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
14417 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
14418 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
14419 [$(build-bounded) = yes] (libtype.ob): Likewise.
14420 * Makerules (elide-routines.ob): Remove variable.
14421 (do-tests-clean): Do not handle *-bp.out.
14422 (common-mostlyclean): Do not handle *-bp and *-bp.out.
14423 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
14424 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
14425 (tests): Do not include $(tests-bp.out).
14426 (xtests): Do not include $(xtests-bp.out).
14427 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
14428 [$(build-bounded) = yes] ($(addprefix
14429 $(objpfx),$(binaries-bounded))): Remove rule.
14430 ($(objpfx)%-bp.out): Remove rule.
14431 * config.make.in (build-bounded): Remove variable.
14432 * crypt/Makefile [$(build-bounded) = yes]
14433 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
14434 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
14435 append to variable.
14436 [$(build-bounded) = yes] (install-lib): Likewise.
14437 [$(build-bounded) = yes] (generated): Likewise.
14438 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
14439 Remove rule.
14440 * intl/Makefile [$(build-bounded) = yes]
14441 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
14442 * math/Makefile [$(build-bounded) = yes]
14443 ($(tests:%=$(objpfx)%-bp): Likewise.
14444 * misc/Makefile [$(build-bounded) = yes]
14445 ($(objpfx)tst-tsearch-bp): Likewise.
14446 * nptl/Makeconfig (bounded-thread-library): Remove variable.
14447 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
14448 Remove dependency.
14449 * string/Makefile (o-objects.ob): Remove variable.
14450 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
14451 (CFLAGS-.ob): Remove variable.
14452 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
14453 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
14454 both definitions of variable.
14455 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
14456 (ASFLAGS-.ob): Remove variable.
14457
e97ed6dd
JM
144582013-02-14 Joseph Myers <joseph@codesourcery.com>
14459
2bdd4ca6
JM
14460 [BZ #13550]
14461 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
14462 Remove __BOUNDED_POINTERS__ from condition.
14463 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
14464 * string/bits/string2.h [!__NO_STRING_INLINES &&
14465 !__BOUNDED_POINTERS__]: Likewise.
14466 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
14467 Likewise.
14468 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
14469 Remove conditional code.
14470 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
14471 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
14472 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
14473 condition.
14474
e97ed6dd
JM
14475 [BZ #13550]
14476 * csu/libc-start.c: Do not include <bp-sym.h>.
14477 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
14478 * elf/dl-open.c: Do not include <bp-sym.h>.
14479 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
14480 * math/fegetenv.c: Do not include <bp-sym.h>.
14481 (fegetenv): Do not use BP_SYM in versioned symbols.
14482 * nptl/sysdeps/pthread/bits/libc-lockP.h
14483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
14484 <bp-sym.h>.
14485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14486 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
14487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14488 (__pthread_mutex_destroy): Likewise.
14489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14490 (__pthread_mutex_lock): Likewise.
14491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14492 (__pthread_mutex_trylock): Likewise.
14493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14494 (__pthread_mutex_unlock): Likewise.
14495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14496 (__pthread_mutexattr_init): Likewise.
14497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14498 (__pthread_mutexattr_destroy): Likewise.
14499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14500 (__pthread_mutexattr_settype): Likewise.
14501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14502 (__pthread_rwlock_init): Likewise.
14503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14504 (__pthread_rwlock_destroy): Likewise.
14505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14506 (__pthread_rwlock_rdlock): Likewise.
14507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14508 (__pthread_rwlock_tryrdlock): Likewise.
14509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14510 (__pthread_rwlock_wrlock): Likewise.
14511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14512 (__pthread_rwlock_trywrlock): Likewise.
14513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14514 (__pthread_rwlock_unlock): Likewise.
14515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14516 (__pthread_key_create): Likewise.
14517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14518 (__pthread_setspecific): Likewise.
14519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14520 (__pthread_getspecific): Likewise.
14521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
14522 Likewise.
14523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14524 (_pthread_cleanup_push_defer): Likewise.
14525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14526 (_pthread_cleanup_pop_restore): Likewise.
14527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
14528 (pthread_setcancelstate): Likewise.
14529 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
14530 <bp-sym.h>.
14531 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
14532 (memchr): Do not use BP_SYM in weak_alias.
14533 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
14534 (fegetenv): Do not use BP_SYM in versioned symbols.
14535 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
14536 (fesetenv): Do not use BP_SYM in versioned symbols.
14537 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14538 (feupdateenv): Do not use BP_SYM in versioned symbols.
14539 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14540 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14541 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
14542 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
14543 (open64): Do not use BP_SYM in weak_alias.
14544 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
14545 (fegetenv): Do not use BP_SYM in versioned symbols.
14546 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
14547 (fesetenv): Do not use BP_SYM in versioned symbols.
14548 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
14549 (feupdateenv): Do not use BP_SYM in versioned symbols.
14550 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
14551 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
14552 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
14553 (feraiseexcept): Do not use BP_SYM in versioned symbols.
14554 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
14555 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
14556 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
14557 <bp-sym.h>.
14558 (__libc_start_main): Do not use BP_SYM.
14559
d6752ccd
SP
145602013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14561
cb57ce60
SP
14562 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
14563 redundant return line.
14564 (norm): Likewise.
14565 (denorm): Likewise.
14566 (dbl_mp): Likewise.
14567 (sub_magnitudes): Likewise.
14568 (__add): Likewise.
14569 (__sub): Likewise.
14570 (__mul): Likewise.
14571 (__inv): Likewise.
14572 (__dvd): Likewise.
14573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
14574 (norm): Likewise.
14575 (denorm): Likewise.
14576 (dbl_mp): Likewise.
14577 (sub_magnitudes): Likewise.
14578 (__add): Likewise.
14579 (__sub): Likewise.
14580 (__mul): Likewise.
14581 (__inv): Likewise.
14582 (__dvd): Likewise.
14583
f414520d
SP
14584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
14585 instead of __mul.
14586 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
14587 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
14588 (cc32): Likewise.
14589
d6752ccd
SP
14590 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
14591 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
14592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
14593 of __mul for squares.
14594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
14595 function
14596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
14597 Likewise.
14598 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
14599 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14600
70d9946a
JM
146012013-02-13 Joseph Myers <joseph@codesourcery.com>
14602
14603 [BZ #13550]
14604 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
14605 code.
14606 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
14607 prototype or function definition. Rename ubp_* variables and
14608 parameters. Remove argv definitions conditional on
14609 [__BOUNDED_POINTERS__].
14610 * debug/backtrace.c (__backtrace): Do not use __unbounded.
14611 * elf/dl-runtime.c (_dl_fixup): Likewise.
14612 * include/set-hooks.h (RUN_HOOK): Likewise.
14613 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
14614 definition.
14615 * string/strcpy.c (strcpy): Do not use __unbounded.
14616 * sysdeps/generic/frame.h (struct layout): Likewise.
14617 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
14618 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
14619 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
14620 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
14621 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
14622 (__backtrace): Likewise.
14623 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
14624 use __ptrvalue.
14625 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14626 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14627 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14628 Likewise.
14629 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
14630 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
14631 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14632 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14633 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
14634 Do not use __unbounded.
14635 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
14636 Rename __unboundedrlimits parameter to rlimits in prototype.
14637 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
14638 Do not use __unbounded.
14639 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
14640 not use __ptrvalue.
14641 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14642 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
14643 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14644 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
14645 __ptrvalue or __unbounded.
14646 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
14647 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
14648 use __unbounded.
14649 (__new_msgctl): Do not use __ptrvalue.
14650 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
14651 __unbounded.
14652 (__libc_msgrcv): Do not use __ptrvalue.
14653 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
14654 startup_info): Do not use __unbounded.
14655 (__libc_start_main): Likewise. Rename ubp_* variables and
14656 parameters. Remove argv definitions conditional on
14657 [__BOUNDED_POINTERS__].
14658 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
14659 __ptrvalue.
14660 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
14661 use __unbounded.
14662 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
14663 or __ptrvalue.
14664 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
14665 use __unbounded.
14666 (__new_shmctl): Do not use __ptrvalue.
14667 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14668 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14669 Likewise.
14670 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14671 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14672 (__libc_sigaction): Likewise.
14673 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14674 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14675 Likewise.
14676 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14677
cc7834d6
OB
146782013-02-13 Ondřej Bílka <neleai@seznam.cz>
14679
ffb1ec7b 14680 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
14681
14682 * string/mempcpy.c: Implement by calling memcpy.
14683
bdf02814
SP
146842013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14685
c2af38aa
SP
14686 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14687
4e92d59e
SP
14688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14689 evaluation.
14690
909279a5
SP
14691 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14692 values in the mantissa.
14693
bdf02814
SP
14694 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14695 minimize writes to Z.
14696 (sub_magnitudes): Simplify code a bit.
14697
cd525923
RM
146982013-02-12 Roland McGrath <roland@hack.frob.com>
14699
14700 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14701 from the message. The linker prefixes all warnings with that already.
14702
7e2f0d2d
AS
147032013-02-12 Andreas Schwab <schwab@suse.de>
14704
a445af0b
AS
14705 [BZ #15078]
14706 * posix/regexec.c (extend_buffers): Add parameter min_len.
14707 (check_matching): Pass minimum needed length.
14708 (clean_state_log_if_needed): Likewise.
14709 (get_subexp): Likewise.
14710 * posix/Makefile (tests): Add bug-regex34.
14711 (bug-regex34-ENV): Define.
14712 * posix/bug-regex34.c: New file.
14713
7e2f0d2d
AS
14714 [BZ #11561]
14715 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14716 elements compare against the byte sequence of it, not its name.
14717 * posix/Makefile (tests): Add bug-regex35.
14718 (bug-regex35-ENV): Define.
14719 * posix/bug-regex35.c: New file.
14720
a175b684
TV
147212013-02-11 Tom de Vries <tom@codesourcery.com>
14722
14723 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14724 comment.
14725 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14726 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14727 (CHECK_EOL): Add undef.
14728
310998fe 147292013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
14730
14731 * bits/stdlib-bsearch.h: New file.
14732 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 14733 * stdlib/stdlib.h: Likewise.
41eda41d 14734
8ded91fb
RM
147352013-02-11 Roland McGrath <roland@hack.frob.com>
14736
14737 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14738 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14739 declaration.
14740 * manual/search.texi (Array Search Function): Add missing const in
14741 lfind prototype.
14742 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14743 declaration to use rlim_t.
14744 (Basic Scheduling Functions): Remove erroneous const from
14745 sched_getparam prototype. Remove erroneous * from
14746 sched_get_priority_max and sched_get_priority_min prototypes.
14747 (Resource Usage): Fix summary @comment on vtimes to refer to
14748 sys/vtimes.h rather than vtimes.h.
14749 Add missing *s in vtimes prototype.
14750 (Limits on Resources): Fix ulimit prototype to return long int.
14751 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14752 prototypes to use long int rather than double.
14753 (BSD Random): Fix initstate and setstate to use char *, not void *.
14754 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14755 prototype to make second argument 'struct aiocb64 *const[]'.
14756 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14757 (Status of AIO Operations): Remove erroneous const in aio_return and
14758 aio_return64 prototypes.
14759 (Synchronizing I/O): Fix sync prototype to return void.
14760 * manual/startup.texi (Suboptions): Remove an erroneous const in
14761 getsubopt prototype.
14762 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14763 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14764 use size_t rather than int.
14765 (Scanning All Users): Likewise for getpwent_r.
14766 (Setting Groups): Add missing const to setgroups prototype.
14767 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14768 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14769 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14770 'const void *' rather than 'const char *'.
14771 (Host Address Functions): Likewise for inet_ntop.
14772 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14773 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14774 ssize_t for return value.
14775 (Sending Data): Likewise for send, sendto, sendmsg.
14776 (Socket Option Functions): Add a missing const in setsockopt prototype.
14777 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14778 use wchar_t for the argument.
14779 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14780 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14781 take no arguments.
14782 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14783 double/float/long double for second argument.
14784 Fix return types of significand, significandf, significandl.
14785 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14786 argument in fchmod prototype.
14787 (File Owner): Use uid_t and gid_t in fchown prototype.
14788 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14789 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14790 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14791 use 'const struct dirent **' as argument types to CMP function pointer
14792 argument.
14793 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14794 (File Times): Fix summary magic @comment for struct utimbuf and utime
14795 to refer to utime.h, not time.h.
14796 * manual/string.texi (Argz Functions): Add missing const in
14797 argz_extract and argz_next prototypes.
14798 (Finding Tokens in a String): Likewise for basename.
14799 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14800 (Copying and Concatenation): Fix typo in wmemmove prototype.
14801 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14802 (Signal Stack): Remove erroneous const in sigstack prototype.
14803 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14804 prototype.
14805 (Simple Calendar Time): Likewise for stime.
14806 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14807 prototype.
14808 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14809 say sys/sysctl.h instead.
14810 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14811 and vsyslog prototypes.
14812
fe77fe6d
TV
148132013-02-11 Tom de Vries <tom@codesourcery.com>
14814
14815 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14816 Remove.
14817
3a09b620
RM
148182013-02-11 Roland McGrath <roland@hack.frob.com>
14819
14820 * misc/sys/mman.h: Fix typo in mremap comment.
14821
550a0b89
RM
148222013-02-08 Roland McGrath <roland@hack.frob.com>
14823
14824 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14825 the '\0' terminator.
14826
a2da1673
JM
148272013-02-08 Joseph Myers <joseph@codesourcery.com>
14828
14829 [BZ #13550]
14830 * debug/segfault.c: Don't include <bp-checks.h>.
14831 * sysdeps/generic/bp-checks.h: Remove file.
14832 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14833 (__GETDENTS): Don't use CHECK_N.
14834 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14835 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14836 (__getgroups): Don't use CHECK_N.
14837 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14838 (setgroups): Don't use CHECK_N.
14839 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14840 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14841 (__libc_msgrcv): Don't use CHECK_N.
14842 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14843 (__libc_msgsnd): Don't use CHECK_N.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14845 <bp-checks.h>.
14846 (__libc_pread): Don't use CHECK_N.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14848 include <bp-checks.h>.
14849 (__libc_pread64): Don't use CHECK_N.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14851 include <bp-checks.h>.
14852 (__libc_pwrite): Don't use CHECK_N.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14854 include <bp-checks.h>.
14855 (__libc_pwrite64): Don't use CHECK_N.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14857 <bp-checks.h>.
14858 (__libc_pread): Don't use CHECK_N.
14859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14860 include <bp-checks.h>.
14861 (__libc_pread64): Don't use CHECK_N.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14863 include <bp-checks.h>.
14864 (__libc_pwrite): Don't use CHECK_N.
14865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14866 include <bp-checks.h>.
14867 (__libc_pwrite64): Don't use CHECK_N.
14868 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14869 (do_pread): Don't use CHECK_N.
14870 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14871 (do_pread64): Don't use CHECK_N.
14872 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14873 (do_pwrite): Don't use CHECK_N.
14874 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14875 (do_pwrite64): Don't use CHECK_N.
14876 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14877 (__libc_readv): Don't use CHECK_N.
14878 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14879 (semop): Don't use CHECK_N.
14880 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14881 <bp-checks.h>.
14882 (semtimedop): Don't use CHECK_N.
14883 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14884 (__libc_pread): Don't use CHECK_N.
14885 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14886 <bp-checks.h>.
14887 (__libc_pread64): Don't use CHECK_N.
14888 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14889 <bp-checks.h>.
14890 (__libc_pwrite): Don't use CHECK_N.
14891 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14892 <bp-checks.h>.
14893 (__libc_pwrite64): Don't use CHECK_N.
14894 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14895 <bp-checks.h>.
14896 (__libc_msgrcv): Don't use CHECK_N.
14897 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14898 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14899 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14900 (__libc_writev): Don't use CHECK_N.
14901
b84660a8
RM
149022013-02-08 Roland McGrath <roland@hack.frob.com>
14903
7f3e75f8
RM
14904 * string/strcpy.c: Removed unused variable.
14905
b84660a8
RM
14906 * Makeconfig (+sysdep-includes): Define with := rather than =.
14907 Use an existing include/ subdir of each sysdeps dir before it.
14908
471514d3
CD
149092013-02-08 Carlos O'Donell <carlos@redhat.com>
14910
14911 * nscd/connection.c (register_traced_file): Comment function.
14912 [HAVE_INOTIFY] (union __inev): Define.
14913 [HAVE_INOTIFY] (inotify_check_files): New function.
14914 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14915 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14916 clear_db_cache.
14917 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14918
b2d3c3be
CD
149192013-02-08 Carlos O'Donell <carlos@redhat.com>
14920
14921 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14922 loaded if not already and that a failure is permanent.
14923
b39949d2
CD
149242013-02-08 Carlos O'Donell <carlos@redhat.com>
14925
ddacd1db 14926 [BZ #15006]
b39949d2
CD
14927 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14928 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14929
b2c9eff4
JM
149302013-02-08 Joseph Myers <joseph@codesourcery.com>
14931
f3aae3f3
JM
14932 [BZ #13550]
14933 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14934 (CHECK_1_NULL_OK): Likewise.
14935 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14936 (__fxstat): Do not use CHECK_1.
14937 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14938 <bp-checks.h>.
14939 (___fxstat64): Do not use CHECK_1.
14940 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14941 <bp-checks.h>.
14942 (__fxstatat): Do not use CHECK_1.
14943 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14944 <bp-checks.h>.
14945 (__fxstatat64): Do not use CHECK_1.
14946 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14947 <bp-checks.h>.
14948 (__fxstat): Do not use CHECK_1.
14949 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14950 <bp-checks.h>.
14951 (__fxstatat): Do not use CHECK_1.
14952 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14953 <bp-checks.h>.
14954 (__getresgid): Do not use CHECK_1.
14955 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14956 <bp-checks.h>.
14957 (__getresuid): Do not use CHECK_1.
14958 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14959 <bp-checks.h>.
14960 (__lxstat): Do not use CHECK_1.
14961 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14962 <bp-checks.h>.
14963 (__old_msgctl): Do not use CHECK_1.
14964 (__new_msgctl): Likewise.
14965 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14966 <bp-checks.h>.
14967 (__new_setrlimit): Do not use CHECK_1.
14968 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14969 <bp-checks.h>.
14970 (__old_shmctl): Do not use CHECK_1.
14971 (__new_shmctl): Likewise.
14972 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14973 <bp-checks.h>.
14974 (__xstat): Do not use CHECK_1.
14975 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14976 (__lxstat): Do not use CHECK_1.
14977 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14978 <bp-checks.h>.
14979 (___lxstat64): Do not use CHECK_1.
14980 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14981 (__old_msgctl): Do not use CHECK_1.
14982 (__new_msgctl): Likewise.
14983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14984 <bp-checks.h>.
14985 (__gettimeofday): Do not use CHECK_1.
14986 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14987 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14988 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14989 <bp-checks.h>.
14990 (__gettimeofday): Do not use CHECK_1.
14991 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14992 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14993 (__new_shmctl): Do not use CHECK_1.
14994 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14995 <bp-checks.h>.
14996 (do_sigtimedwait): Do not use CHECK_1.
14997 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14998 <bp-checks.h>.
14999 (do_sigwaitinfo): Do not use CHECK_1.
15000 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15001 <bp-checks.h>.
15002 (msgctl): Do not use CHECK_1.
15003 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15004 <bp-checks.h>.
15005 (shmctl): Do not use CHECK_1.
15006 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15007 (ustat): Do not use CHECK_1.
15008 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15009 <bp-checks.h>.
15010 (__fxstat): Do not use CHECK_1.
15011 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15012 <bp-checks.h>.
15013 (__fxstatat): Do not use CHECK_1.
15014 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15015 <bp-checks.h>.
15016 (__lxstat): Do not use CHECK_1.
15017 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15018 <bp-checks.h>.
15019 (__xstat): Do not use CHECK_1.
15020 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15021 (__xstat): Do not use CHECK_1.
15022 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15023 (___xstat64): Do not use CHECK_1.
15024
b2c9eff4
JM
15025 [BZ #13550]
15026 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15027 definitions.
15028 (CHECK_BOUNDS_HIGH): Likewise.
15029 * string/strcpy.c: Do not include <bp-checks.h>.
15030 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15031
f1d70dad
RM
150322013-02-07 Roland McGrath <roland@hack.frob.com>
15033
15034 * nscd/nscd-client.h (__nscd_drop_map_ref):
15035 Add __attribute__ ((unused)).
15036 * nis/nss-nisplus.h (niserr2nss): Likewise.
15037
15038 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15039 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15040
15041 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15042 Remove inline keyword.
15043 * include/rounding-mode.h (round_away): Likewise.
15044 * libio/wfileops.c (adjust_wide_data): Likewise.
15045 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15046 (__m128i_strloadu_tolower): Likewise.
15047 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15048 (__m128i_strloadu_tolower): Likewise.
15049 * time/mktime.c (ydhms_diff): Likewise.
15050 * locale/elem-hash.h (elem_hash): Likewise.
15051 * locale/setlocale.c (setdata): Likewise.
15052 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15053 (re_string_wchar_at): Likewise.
15054 (bitset_not, bitset_merge, bitset_mask): Likewise.
15055 [!(__GNUC__ > 3)] (inline): Remove macro.
15056 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15057 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15058 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15059 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15060 * string/memcmp.c (memcmp_bytes): Likewise.
15061 * locale/programs/locarchive.c (compute_hashval): Likewise.
15062 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15063 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15064 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15065 * nss/getent.c (print_rpc, print_protocols): Likewise.
15066 (print_passwd, print_group, print_aliases): Likewise.
15067 * nis/nss-nisplus.h (niserr2nss): Likewise.
15068 * nscd/connections.c (restart_p): Likewise.
15069 Change return type to bool.
15070
eab55bfb
RM
150712013-02-05 Roland McGrath <roland@hack.frob.com>
15072
7bd642f5
RM
15073 * Makeconfig (all-Depend-files): Add existing
15074 $(sorted-subdirs:=/Depend) files.
15075 (all-subdirs): Remove nss.
15076 * sysdeps/unix/inet/Subdirs: Add it here instead.
15077 * hesiod/Depend: New file.
15078
573c29b2
RM
15079 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15080 instead of calling alloca.
15081
b2e25af0
RM
15082 * io/lseek.c (__lseek): Rename to __libc_lseek.
15083 Define __lseek as an alias.
15084
eab55bfb
RM
15085 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15086
9a0d1941
CD
150872013-02-04 Carlos O'Donell <carlos@redhat.com>
15088
15089 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15090 else clause and remove check for non-standard endianness.
15091
b83bbec4
DM
150922013-02-04 David S. Miller <davem@davemloft.net>
15093
15094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15095
6277fdab
JM
150962013-02-04 Joseph Myers <joseph@codesourcery.com>
15097
15098 [BZ #13550]
15099 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15100 (__ubp_memchr): Remove prototype.
15101 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15102 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15103 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15104 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15105 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15106 Remove alias.
15107 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15108 (__ubp_memchr): Likewise.
15109 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15110 (__ubp_memchr): Likewise.
15111 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15112 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15113 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15114 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15115 CHECK_STRING.
15116 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15117 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15118 (__getcwd): Do not use CHECK_STRING.
15119 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15120 <bp-checks.h>.
15121 (__real_chown): Do not use CHECK_STRING.
15122 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15123 <bp-checks.h>.
15124 (fchownat): Do not use CHECK_STRING.
15125 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15126 CHECK_STRING.
15127 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15128 <bp-checks.h>.
15129 (__lchown): Do not use CHECK_STRING.
15130 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15131 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15132 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15133 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15135 include <bp-checks.h>.
15136 (truncate64): Do not use CHECK_STRING.
15137 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15138 <bp-checks.h>.
15139 (__real_chown): Do not use CHECK_STRING.
15140 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15141 <bp-checks.h>.
15142 (__lchown): Do not use CHECK_STRING.
15143 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15144 <bp-checks.h>.
15145 (__chown): Do not use CHECK_STRING.
15146 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15147 <bp-checks.h>.
15148 (truncate64): Do not use CHECK_STRING.
15149 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15150 Likewise.
15151 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15152 (__xmknod): Do not use CHECK_STRING.
15153 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15154 <bp-checks.h>.
15155 (__xmknodat): Do not use CHECK_STRING.
15156 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15157 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15158
903ae060
AS
151592013-02-04 Andreas Schwab <schwab@suse.de>
15160
15161 [BZ #14142]
15162 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15163 * include/netdb.h: Likewise for h_errno.
15164 * elf/tst-stackguard1.c: Include <tls.h>.
15165
542f9466
JK
151662013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15167
15168 * elf/link.h (struct link_map): Extend the l_addr comment.
15169 * include/link.h (struct link_map): Likewise.
15170
e782a927
JM
151712013-02-01 Joseph Myers <joseph@codesourcery.com>
15172
15173 [BZ #13550]
15174 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15175 (BOUNDED_1): Remove macro.
15176 * debug/backtrace.c: Don't include <bp-checks.h>.
15177 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15178 (__backtrace): Likewise.
15179 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15180 <bp-checks.h>.
15181 (__backtrace): Don't use BOUNDED_1.
15182 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15183 <bp-checks.h>.
15184 (__backtrace): Don't use BOUNDED_1.
15185 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15186 (__backtrace): Don't use BOUNDED_1.
15187 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15188 (shmat): Don't use BOUNDED_N.
15189
8cf28c5e
JM
151902013-01-31 Joseph Myers <joseph@codesourcery.com>
15191
3a7ac8a0
JM
15192 [BZ #13550]
15193 * sysdeps/generic/bp-start.h: Remove file.
15194 * csu/libc-start.c: Don't include <bp-start.h>.
15195 (LIBC_START_MAIN): Set up __environ directly instead of using
15196 INIT_ARGV_and_ENVIRON.
15197 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15198 <bp-start.h>.
15199
f3499f95
JM
15200 [BZ #13550]
15201 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15202 definitions.
15203 (CHECK_FCNTL): Likewise.
15204 (CHECK_N_PAGES): Likewise.
15205
32a45bea
JM
15206 [BZ #13550]
15207 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15208 definitions.
15209 (CHECK_SIGSET_NULL_OK): Likewise.
15210 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15211 <bp-checks.h>.
15212 (sigpending): Don't use CHECK_SIGSET.
15213 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15214 <bp-checks.h>.
15215 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15216 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15217 <bp-checks.h>.
15218 (do_sigsuspend): Don't use CHECK_SIGSET.
15219 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15220 use CHECK_SIGSET.
15221 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15222 (do_sigwait): Don't use CHECK_SIGSET.
15223 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15224 use CHECK_SIGSET.
15225 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15226 include <bp-checks.h>.
15227 (sigpending): Don't use CHECK_SIGSET.
15228 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15229 include <bp-checks.h>.
15230 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15231 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15232 <bp-checks.h>.
15233 (sigpending): Don't use CHECK_SIGSET.
15234 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15235 <bp-checks.h>.
15236 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15237
2e8a5c8c
JM
15238 [BZ #13550]
15239 * sysdeps/generic/bp-semctl.h: Remove file.
15240 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15241 <bp-checks.h> and <bp-semctl.h>.
15242 (__old_semctl): Don't use CHECK_SEMCTL.
15243 (__new_semctl): Likewise.
15244 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15245 and <bp-semctl.h>.
15246 (__old_semctl): Don't use CHECK_SEMCTL.
15247 (__new_semctl): Likewise.
15248 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15249 <bp-checks.h> and <bp-semctl.h>.
15250 (__old_semctl): Don't use CHECK_SEMCTL.
15251 (__new_semctl): Likewise.
15252 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15253 <bp-checks.h> and <bp-semctl.h>.
15254 (semctl): Don't use CHECK_SEMCTL.
15255
c2d54929
JM
15256 [BZ #13550]
15257 * Makerules (elide-bp-thunks): Remove variable.
15258 (elide-routines.oS): Don't use $(elide-bp-thunks).
15259 (elide-routines.os): Likewise.
15260 (elide-routines.o): Likewise.
15261 (elide-routines.op): Likewise.
15262 (elide-routines.og): Likewise.
15263 (objects): Don't use $(bp-thunks).
15264 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15265 include.
15266 (common-generated): Do not add s-proto-bp.d.
15267 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15268 (int): Likewise.
15269 (typ): Likewise.
15270 Do not generate makefile rules for bounded-pointer thunks.
15271 * sysdeps/generic/bp-thunks.h: Remove file.
15272 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15273 * sysdeps/unix/s-proto-bp.S: Likewise.
15274
8cf28c5e
JM
15275 [BZ #15062]
15276 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15277 parts of result separately when argument is not close to line from
15278 -i to i and one part of argument is small.
15279 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15280 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15281 * math/libm-test.inc (cacos_test): Add more tests.
15282 (casin_test): Likewise.
15283 (casinh_test): Likewise.
15284 * sysdeps/i386/fpu/libm-test-ulps: Update.
15285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15286
c4e33b8d
DM
152872013-01-31 David S. Miller <davem@davemloft.net>
15288
15289 * po/de.po: Update from translation team.
15290
3b60b421
MK
152912013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15292
15293 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15294
bb931195
TS
152952013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15296
b5a5da23
TS
15297 * configure.in (_AC_PROG_CC_C89): New definition.
15298 * configure: Regenerate.
15299
bb931195
TS
15300 * configure.in (AC_PROG_CPP): New definition.
15301 * configure: Regenerate.
15302
8c53a12c
JM
153032013-01-23 Joseph Myers <joseph@codesourcery.com>
15304
15305 * debug/tst-backtrace.h: New file.
15306 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15307 (ret): Remove variable.
15308 (x): Likewise.
15309 (FAIL): Remove macro.
15310 (NO_INLINE): Likewise.
15311 (fn1): Use match function instead of strstr.
15312 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15313 (ret): Remove variable.
15314 (x): Likewise.
15315 (FAIL): Remove macro.
15316 (NO_INLINE): Likewise.
15317 (fn): Use match function instead of strstr.
15318 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15319 (ret): Remove variable.
15320 (x): Likewise.
15321 (FAIL): Remove macro.
15322 (NO_INLINE): Likewise.
15323 (handle_signal): Use match function instead of strstr.
15324 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15325 (ret): Remove variable.
15326 (x): Likewise.
15327 (FAIL): Remove macro.
15328 (NO_INLINE): Likewise.
15329 (handle_signal): Use match function instead of strstr.
15330
4858fa2a
RM
153312013-01-23 Roland McGrath <roland@hack.frob.com>
15332
15333 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15334
bae8e7f5
DM
153352013-01-23 David S. Miller <davem@davemloft.net>
15336
15337 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15338 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15339 argument of CAS if possible.
15340 * sysdeps/sparc/sparc64/bits/atomic.h
15341 (__arch_compare_and_exchange_val_32_acq): Likewise.
15342 (__arch_compare_and_exchange_val_64_acq): Likewise.
15343
9cbbc4ae
PT
153442013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15345
15346 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15347 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15348 Include <limits.h>.
67b3f58c 15349 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15350
5655a0b5
AC
153512013-01-23 Adam Conrad <adconrad@0c3.net>
15352
15353 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
15354 (LDFLAGS-tst-array5): Likewise.
15355
052aff95
JM
153562013-01-23 Joseph Myers <joseph@codesourcery.com>
15357
15358 [BZ #15036]
15359 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
15360 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
15361 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
15362 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
15363
7c1e01aa
DM
153642013-01-21 David S. Miller <davem@davemloft.net>
15365
15366 * sysdeps/sparc/backtrace.c: New file.
15367 * sysdeps/sparc/sparc32/backtrace.h: New file.
15368 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
15369 * sysdeps/sparc/sparc64/backtrace.h: New file.
15370 * sysdeps/sparc/sparc64/backtrace.c: Delete.
15371 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
15372 -funwind-tables.
15373
ab087e0a
AS
153742013-01-21 Andreas Schwab <schwab@suse.de>
15375
15376 [BZ #15020]
15377 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15378 closed its stdout.
15379
ed689c2f
AS
153802013-01-20 Andreas Schwab <schwab@linux-m68k.org>
15381
15382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
15383 "mpa2.h".
15384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15385
31d470ac
JM
153862013-01-18 Joseph Myers <joseph@codesourcery.com>
15387 Mark Mitchell <mark@codesourcery.com>
15388 Tom de Vries <tom@codesourcery.com>
15389 Paul Pluzhnikov <ppluzhnikov@google.com>
15390
15391 * debug/tst-backtrace2.c: New file.
15392 * debug/tst-backtrace3.c: Likewise.
15393 * debug/tst-backtrace4.c: Likewise.
15394 * debug/tst-backtrace5.c: Likewise.
15395 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
15396 (CFLAGS-tst-backtrace3.c): Likewise.
15397 (CFLAGS-tst-backtrace4.c): Likewise.
15398 (CFLAGS-tst-backtrace5.c): Likewise.
15399 (LDFLAGS-tst-backtrace2): Likewise.
15400 (LDFLAGS-tst-backtrace3): Likewise.
15401 (LDFLAGS-tst-backtrace4): Likewise.
15402 (LDFLAGS-tst-backtrace5): Likewise.
15403 (tests): Add new tests tst-backtrace2, tst-backtrace3,
15404 tst-backtrace4 and tst-backtrace5.
15405
90567f30 154062013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
15407 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15408
15409 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
15410 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
15411 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
15412 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15414 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
15415 "+r" and remove output regs list as redundant. Add explicit inline
15416 asm to specify register of return val to work around compiler codegen
15417 bug. Remove (int) cast on return value. Add return type parameter to
15418 use in macro so that this macro does not truncate return value for
15419 64-bit values.
15420 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
15421 pass to INTERNAL_VSYSCALL_NCS.
15422 (INLINE_VSYSCALL): Add 'long int' as return type to
15423 INTERNAL_VSYSCALL_NCS macro invocation.
15424 (INTERNAL_VSYSCALL): Add 'long int' as return type to
15425 INTERNAL_VSYSCALL_NCS macro invocation.
15426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15427
d3b9ea61
SP
154282013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15429
0b57daeb
SP
15430 [BZ #14496]
15431 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
15432 Fix application of SIMD FP exception mask.
15433
caa99d06
SP
15434 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
15435 mp_no from a power of two.
15436 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
15437 __mpexp_twomm1. Use __pow_mp.
15438
d3b9ea61
SP
15439 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
15440 multiplication.
15441
1dbaee3c
DM
154422013-01-17 David S. Miller <davem@davemloft.net>
15443
15444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15445
728d7b43
JM
154462013-01-17 Joseph Myers <joseph@codesourcery.com>
15447
15448 [BZ #15023]
15449 * include/complex.h: Condition contents on [!_COMPLEX_H].
15450 (__kernel_casinhf): New prototype.
15451 (__kernel_casinh): Likewise.
15452 (__kernel_casinhl): Likewise.
15453 * math/Makefile (libm_calls): Add k_casinh.
15454 * math/k_casinh.c: New file.
15455 * math/k_casinhf.c: Likewise.
15456 * math/k_casinhl.c: Likewise.
15457 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
15458 finite nonzero arguments.
15459 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
15460 finite nonzero arguments.
15461 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
15462 finite nonzero arguments.
15463 * math/s_casinh.c: Do not include <float.h>.
15464 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
15465 * math/s_casinhf.c: Do not include <float.h>.
15466 (__casinhf): Move code for finite nonzero arguments to
15467 k_casinhf.c.
15468 * math/s_casinhl.c: Do not include <float.h>.
15469 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
15470 redefine.
15471 (__casinhl): Move code for finite nonzero arguments to
15472 k_casinhl.c.
15473 * math/libm-test.inc (cacos_test): Add more tests.
15474 * sysdeps/i386/fpu/libm-test-ulps: Update.
15475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15476
2a26ef3a
PT
154772013-01-17 Pino Toscano <toscano.pino@tiscali.it>
15478
15479 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
15480 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
15481 [!HAVE_MREMAP]: Remove [defined linux] case.
15482 * malloc/arena.c: Do not include <malloc-sysdep.h>.
15483
a897655d
SP
154842013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15485
15486 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
15487
881ebe89 154882013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
15489
15490 * elf/elf.h (R_386_SIZE32): New relocation.
15491 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
15492 R_386_SIZE32.
15493 (elf_machine_rela): Likewise.
15494 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15495 R_X86_64_SIZE64 and R_X86_64_SIZE32.
15496
59981e9b
JM
154972013-01-17 Joseph Myers <joseph@codesourcery.com>
15498
15499 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
15500 (FP_FAST_FMA): Do not define.
15501 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
15502 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
15503 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
15504 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
15505 !_SOFT_FLOAT]: Likewise.
15506 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
15507 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
15508 value.
15509 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
15510 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
15511 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
15512 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
15513 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
15514 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
15515 file.
15516
cfa8054f
AS
155172013-01-16 Andreas Schwab <schwab@suse.de>
15518
15519 [BZ #14327]
15520 * include/stdlib.h (__mktemp): Add declaration.
15521 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
15522 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
15523
dd930cc5
SP
155242013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15525
881ebe89
SP
15526 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
15527 definitions.
15528 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15529 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
15530 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
15531 definitions here.
15532 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
15533 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
15534 definitions.
15535 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
15536 and ONE.
15537 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
15538 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
15539 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
15540 definitions.
15541 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
15542 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
15543 definitions.
15544 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 15545
dd930cc5
SP
15546 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
15547
c19a9f89
DM
155482013-01-15 David S. Miller <davem@davemloft.net>
15549
1aa61767
DM
15550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15551 trunc{,f} to libm-sysdep_routes.
15552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
15554 file.
15555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
15556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
15557 file.
15558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
15559 file.
15560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
15561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
15562 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
15563 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
15564 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
15565 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
15566 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
15567 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
15568
c42d5e98
DM
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15570 nearbyint{,f} to libm-sysdep_routes.
15571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
15573 New file.
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
15575 file.
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
15577 New file.
15578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
15579 file.
15580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
15581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
15582 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
15583 file.
15584 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
15585 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
15586 file.
15587 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
15588 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
15589 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
15590
c19a9f89
DM
15591 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15592 libc_feholdexcept and libc_fesetenv.
15593
357679d2
MF
155942013-01-15 Mike Frysinger <vapier@gentoo.org>
15595
15596 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
15597
65a82e3d
DM
155982013-01-14 David S. Miller <davem@davemloft.net>
15599
8b954ab9
DM
15600 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
15601 (SPARC_ASM_VIS2_IFUNC): Likewise.
15602 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
15603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
15604 use of 'siam' instruction.
15605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
15606 Likewise.
15607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
15608 Likewise.
15609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
15610 Likewise.
15611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
15616 file.
15617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
15618 file.
15619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
15620 file.
15621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
15622 file.
15623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
15624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
15625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
15626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
15627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
15628 new VIS2 routines.
15629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
15632 Likewise.
15633 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15634 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15636 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
15638 routines to libm-sysdep_routines.
15639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15640
65a82e3d
DM
15641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
15642 fdim/fdimf to libm-sysdep_routines.
15643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
15644 file.
15645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
15646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
15647 file.
15648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
15649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
15650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
15651 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
15652 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
15653 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
15654 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
15655
e34ab705
SP
156562013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15657
2a91b573
SP
15658 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
15659 to optimize copies.
15660
1066a534
SP
15661 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
15662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15664
e34ab705
SP
15665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
15666 local variable MPTWO.
15667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15668 Likewise.
15669
aba5e596
MF
156702013-01-13 Mike Frysinger <vapier@gentoo.org>
15671
15672 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15673 GLOB_NOESCAPE.
15674
e557e9e5
MF
156752013-01-13 Mike Frysinger <vapier@gentoo.org>
15676
15677 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15678
0428cec9
MF
156792013-01-13 Mike Frysinger <vapier@gentoo.org>
15680
15681 * manual/pattern.texi (glob_t): Document gl_flags.
15682 (glob64_t): Likewise.
15683
8794a964
DM
156842013-01-11 David S. Miller <davem@davemloft.net>
15685
66438c3f
RM
15686 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15687 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15688 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
15689 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15690 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15691 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15692 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15693 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15694 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15695 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15696 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15697 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15698 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15699
4ae4244d
DM
15700 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15701 sparc V9 rather than using V8 code.
15702 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15703 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15704
8794a964
DM
15705 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15706 Move to...
15707 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15708 Here.
15709
6270516e
RM
157102013-01-11 Roland McGrath <roland@hack.frob.com>
15711
15712 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15713 not in the main loop.
15714 * configure: Regenerated.
15715
6a57d931
JM
157162013-01-11 Joseph Myers <joseph@codesourcery.com>
15717
15718 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15719 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15720 to just #else.
15721 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15722 [!__GLIBC_HAVE_LONG_LONG] case.
15723 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15724 condition to just #else.
15725 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15726 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15727 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15728 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15729 unconditional.
15730 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15731 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15732 #elif condition to just #else.
15733 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15734 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15735 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15736 #elif condition to just #else.
15737
0e8529e9
SE
157382013-01-11 Steve Ellcey <sellcey@mips.com>
15739
15740 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15741 (EF_MIPS_ARCH_64): Fix value.
15742 (EF_MIPS_ARCH_32R2): New.
15743 (EF_MIPS_ARCH_64R2): New.
15744
740b3dbe
L
157452013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15746
15747 * Makeconfig (+link-pie-before-libc): New.
15748 (+link-pie-after-libc): Likewise.
15749 (+link-pie-tests): Likewise.
15750 (+link-pie): Rewritten.
15751 (link-before-libc): Remove $(config-LDFLAGS).
15752 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15753 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15754 (config-LDFLAGS): Renamed to ...
15755 (rtld-LDFLAGS): This.
15756 (rtld-tests-LDFLAGS): New macro.
15757 (link-libc-rpath-link): Likewise.
15758 (link-libc-tests-rpath-link): Likewise.
15759 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15760 (link-libc): Prepand $(link-libc-rpath-link).
15761 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15762 (test-program-prefix): New macro.
15763 (test-via-rtld-prefix): Likewise.
15764 (test-program-cmd): Likewise.
15765 (host-test-program-cmd): Likewise.
15766 * Makefile ($(common-objpfx)testrun.sh): Replace
15767 $(run-program-prefix) with $(test-program-prefix).
15768 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15769 $(rtld-LDFLAGS).
15770 ($(common-objpfx)shlib.lds): Likewise.
15771 (build-module-helper): Likewise.
15772 ($(common-objpfx)format.lds): Likewise.
15773 * Rules (binaries-pie-tests): New.
15774 (binaries-pie-notests): Likewise.
15775 (binaries-pie): Rewritten.
15776 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15777 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15778 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15779 (make-test-out): Replace $(host-built-program-cmd) with
15780 $(host-test-program-cmd).
15781 * config.make.in (build-hardcoded-path-in-tests): New variable.
15782 * configure.in (--enable-hardcoded-path-in-tests): New configure
15783 option.
15784 (hardcoded_path_in_tests): New AC_SUBST.
15785 * configure: Regenerated.
15786 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15787 $(built-program-cmd) with $(test-program-cmd).
15788 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15789 (test_program_cmd): This.
15790 * elf/Makefile ($(objpfx)order.out): Run test with
15791 $(test-program-prefix).
15792 ($(objpfx)order2.out): Likewise.
15793 ($(objpfx)tst-initorder.out): Likewise.
15794 ($(objpfx)tst-initorder2.out): Likewise.
15795 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15796 $(test-program-cmd).
15797 ($(objpfx)tst-array1-static.out): Likewise.
15798 ($(objpfx)tst-array2.out): Likewise.
15799 ($(objpfx)tst-array3.out): Likewise.
15800 ($(objpfx)tst-array4.out): Likewise.
15801 ($(objpfx)tst-array5.out): Likewise.
15802 ($(objpfx)tst-array5-static.out): Likewise.
15803 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15804 $(test-program-cmd).
15805 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15806 $(run-program-prefix) with $(test-program-prefix).
15807 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15808 (test_program_prefix): This.
15809 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15810 $(run-program-prefix) with $(test-program-prefix).
15811 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15812 (test_program_prefix): This.
15813 * iconvdata/tst-tables.sh: Likewise.
15814 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15815 $(run-program-prefix) with $(test-program-prefix).
15816 ($(objpfx)tst-translit.out): Likewise.
15817 ($(objpfx)tst-gettext2.out): Likewise.
15818 ($(objpfx)tst-gettext4.out): Likewise.
15819 ($(objpfx)tst-gettext6.out): Likewise.
15820 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15821 (test_program_prefix): This.
15822 * intl/tst-gettext2.sh: Likewise.
15823 * intl/tst-gettext4.sh Likewise.
15824 * intl/tst-gettext6.sh: Likewise.
15825 * intl/tst-translit.sh: Likewise.
15826 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15827 with $(test-program-cmd).
15828 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15829 $(run-program-prefix) with $(test-program-prefix).
15830 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15831 (test_program_prefix): This.
15832 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15833 $(run-program-prefix) with $(test-program-prefix).
15834 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15835 (test_program_prefix): This.
15836 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15837 * posix/Makefile ($(objpfx)globtest.out): Replace
15838 $(run-via-rtld-prefix) and $(test-wrapper) with
15839 $(test-program-prefix) and $(test-via-rtld-prefix).
15840 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15841 $(test-program-prefix).
15842 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15843 $(host-test-program-cmd).
15844 (tst-spawn-ARGS): Likewise.
15845 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15846 $(test-program-prefix).
15847 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15848 (test_via_rtld_prefix): This.
15849 (test_wrapper): Renamed to ...
15850 (test_program_prefix): This.
15851 (run_program_prefix): Replaced by test_program_prefix.
15852 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15853 (test_program_prefix): This.
15854 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15855 with $(host-test-program-cmd).
15856 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15857 $(run-program-prefix) with $(test-program-prefix).
15858 ($(objpfx)tst-printf.out): Likewise.
15859 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15860 $(test-program-cmd).
15861 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15862 (test_program_prefix): This.
15863 * stdio-common/tst-unbputc.sh: Likewise.
15864 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15865 $(run-program-prefix) with $(test-program-prefix).
15866 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15867 (test_program_prefix): This.
15868 * string/Makefile ($(objpfx)tst-svc.out): Replace
15869 $(built-program-cmd) with $(test-program-cmd).
15870
c6fe55cf
AJ
158712013-01-11 Andreas Jaeger <aj@suse.de>
15872
15873 [BZ #15003]
15874 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15875 value. Sync with Linux 3.7.
15876
9e6919c8
DM
158772013-01-10 David S. Miller <davem@davemloft.net>
15878
15879 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15880 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15881 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15882
1c9f1a02
RM
158832013-01-10 Roland McGrath <roland@hack.frob.com>
15884
15885 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15886 never set.
15887 * configure: Regenerated.
15888
b9de2dde
DM
158892013-01-10 David S. Miller <davem@davemloft.net>
15890
15891 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15892 sparc V9 rather than using V8 code.
15893 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15894 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15895
e7f68ef4
RM
158962013-01-10 Roland McGrath <roland@hack.frob.com>
15897
15898 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15899 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15900 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15901 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15902 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15903 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15904 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15905 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15906 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15907 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15908 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15909 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15910 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15911 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15912 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15913 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15914 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15915 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15916 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15917 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15918 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15919 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15920 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15921 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15922 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15923 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15924 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15925
5a47cc9c
DM
159262013-01-10 David S. Miller <davem@davemloft.net>
15927
15928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15929
4cf8f209
L
159302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15931
15932 * posix/Makefile (tests-static): New variable.
15933 (tests): Add $(tests-static).
15934 (tst-exec-static-ARGS): New variable.
15935 (tst-spawn-static-ARGS): Likewise.
15936 * posix/tst-exec-static.c: New file.
15937 * posix/tst-spawn-static.c: Likewise.
15938 * posix/tst-exec.c: Support run directly.
15939 * posix/tst-spawn.c: Likewise.
15940
fed0faa1
JM
159412013-01-10 Joseph Myers <joseph@codesourcery.com>
15942
828beb13
JM
15943 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15944 long.
15945 * math/bits/mathcalls.h (llrint): Likewise.
15946 (llround): Likewise.
15947 * stdlib/stdlib.h (struct drand48_data): Likewise.
15948 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15949 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15950 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15951 Likewise.
15952 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15953 Likewise.
15954 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15955 (elf_greg_t): Likewise.
15956 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15957 (__jmp_buf): Likewise.
15958 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15959 definitions.
15960 (llrint): Likewise, for all definitions.
15961 (llrintl): Likewise.
15962
fed0faa1
JM
15963 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15964 Remove [__GNUC__] condition.
15965 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15966 condition to just [__USE_ISOC99].
15967 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15968
1a20cb20
L
159692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15970
15971 [BZ #14200]
15972 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15973 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15974 defined.
15975 (_POSIX_V6_ILP32_OFF32): Likewise.
15976 (_XBS5_ILP32_OFF32): Likewise.
15977 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15978 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15979
751b85f7
SP
159802013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15981
7490eb81
SP
15982 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15983
751b85f7
SP
15984 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15985 doubles __mpexp_twomm1. Adjust usage.
15986 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15987 Remove.
15988
988197f0
AS
159892013-01-10 Andreas Schwab <schwab@suse.de>
15990
15991 [BZ #14964]
15992 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15993 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15994
e83d7298
DM
159952013-01-09 David S. Miller <davem@davemloft.net>
15996
034ed64b 15997 [BZ #15003]
e83d7298
DM
15998 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15999 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16000 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16001 TCP_FASTOPEN): Define.
16002 (tcp_repair_opt): New structure.
16003 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16004 enum values.
16005 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16006 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16007 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16008 (tcp_cookie_transactions): New structure.
16009
d5e0b9bd
AB
160102013-01-09 Anton Blanchard <anton@samba.org>
16011
16012 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16013 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16014 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16016
0c07e3ea
JM
160172013-01-09 Joseph Myers <joseph@codesourcery.com>
16018
16019 * include/features.h (__USE_ANSI): Remove.
16020
232f7002
RM
160212013-01-09 Roland McGrath <roland@hack.frob.com>
16022
ad98e30c
RM
16023 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16024
232f7002
RM
16025 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16026
950c99ca
SP
160272013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16028
b5792741
SP
16029 * sysdeps/s390/fpu/libm-test-ulps: Update.
16030
47cf2278
SP
16031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16032
950c99ca
SP
16033 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16034 (__acr): Likewise.
16035 (__cpy): Likewise.
16036 (norm): Likewise.
16037 (denorm): Likewise.
16038 (__mp_dbl): Likewise.
16039 (__dbl_mp): Likewise.
16040 (add_magnitudes): Likewise.
16041 (sub_magnitudes): Likewise.
16042 (__add): Likewise.
16043 (__sub): Likewise.
16044 (__mul): Likewise.
16045 (__inv): Likewise.
16046 (__dvd): Likewise.
16047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16048 (__acr): Likewise.
16049 (__cpy): Likewise.
16050 (norm): Likewise.
16051 (denorm): Likewise.
16052 (__mp_dbl): Likewise.
16053 (__dbl_mp): Likewise.
16054 (add_magnitudes): Likewise.
16055 (sub_magnitudes): Likewise.
16056 (__add): Likewise.
16057 (__sub): Likewise.
16058 (__mul): Likewise.
16059 (__inv): Likewise.
16060 (__dvd): Likewise.
16061 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16062 (__acr): Likewise.
16063 (__cpy): Likewise.
16064 (norm): Likewise.
16065 (denorm): Likewise.
16066 (__mp_dbl): Likewise.
16067 (__dbl_mp): Likewise.
16068 (add_magnitudes): Likewise.
16069 (sub_magnitudes): Likewise.
16070 (__add): Likewise.
16071 (__sub): Likewise.
16072 (__mul): Likewise.
16073 (__inv): Likewise.
16074 (__dvd): Likewise.
16075
eede9df9
JM
160762013-01-08 Joseph Myers <joseph@codesourcery.com>
16077
16078 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16079 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16080 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16081 2 && __USE_EXTERN_INLINES]: Likewise.
16082
c40ea3d9
AJ
160832013-01-08 Andreas Jaeger <aj@suse.de>
16084
16085 [BZ# 14985]
16086 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16087 Remove.
16088 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16089 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16090
2ccdea26
AB
160912013-01-07 Anton Blanchard <anton@samba.org>
16092
16093 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16094 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16095 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16096 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16097 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16098 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16099 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16100 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16105 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16108 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16109 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16111 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16113 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16114 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16115 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16116 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16117 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16118 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16119 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16120 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16121 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16122 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16123 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16126 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16127 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16128 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16129 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16130 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16131 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16132 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16133 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16135 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16136
a9708fed
JM
161372013-01-07 Joseph Myers <joseph@codesourcery.com>
16138
375607b9
JM
16139 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16140 (__MALLOC_PMT): Likewise.
16141 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16142 [__GNUC__], only on [_LIBC].
16143 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16144 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16145 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16146 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16147 forward declaration.
16148 (realloc_hook_ini): Likewise.
16149 (memalign_hook_ini): Likewise.
16150 (__libc_memalign): Do not use __MALLOC_PMT in variable
16151 declaration.
16152 (__libc_valloc): Likewise.
16153 (__libc_pvalloc): Likewise.
16154 (__libc_calloc): Likewise.
16155 (__posix_memalign): Likewise.
16156
a9708fed
JM
16157 [BZ #14996]
16158 * math/s_casinh.c: Include <float.h>.
16159 (__casinh): Do not do computation with squaring and square root
16160 for large arguments.
16161 * math/s_casinhf.c: Include <float.h>.
16162 (__casinhf): Do not do computation with squaring and square root
16163 for large arguments.
16164 * math/s_casinhl.c: Include <float.h>.
16165 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16166 (__casinhl): Do not do computation with squaring and square root
16167 for large arguments.
16168 * math/libm-test.inc (casin_test): Add more tests.
16169 (casinh_test): Likewise.
16170 * sysdeps/i386/fpu/libm-test-ulps: Update.
16171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16172
afec409a
L
161732013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16174
16175 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16176 (__x86_64_raw_data_cache_size): Likewise.
16177 (__x86_64_data_cache_size_half): Likewise.
16178 (__x86_64_raw_data_cache_size_half): Likewise.
16179 (__x86_64_shared_cache_size): Likewise.
16180 (__x86_64_raw_shared_cache_size): Likewise.
16181 (__x86_64_shared_cache_size_half): Likewise.
16182 (__x86_64_raw_shared_cache_size_half): Likewise.
16183 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16184 to ...
16185 (__x86_data_cache_size): This.
16186 (__x86_64_raw_data_cache_size): Renamed to ...
16187 (__x86_raw_data_cache_size): This.
16188 (__x86_64_data_cache_size_half): Renamed to ...
16189 (__x86_data_cache_size_half): This.
16190 (__x86_64_raw_data_cache_size_half): Renamed to ...
16191 (__x86_raw_data_cache_size_half): This.
16192 (__x86_64_shared_cache_size): Renamed to ...
16193 (__x86_shared_cache_size): This.
16194 (__x86_64_raw_shared_cache_size): Renamed to ...
16195 (__x86_raw_shared_cache_size): This.
16196 (__x86_64_shared_cache_size_half): Renamed to ...
16197 (__x86_shared_cache_size_half): This.
16198 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16199 (__x86_raw_shared_cache_size_half): This.
16200 * sysdeps/x86_64/memcpy.S: Updated.
16201 * sysdeps/x86_64/memset.S: Likewise.
16202 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16204 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16205
0b3986d0
DM
162062013-01-04 David S. Miller <davem@davemloft.net>
16207
16208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16209
e47686e9
AS
162102013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16211
d643bac1
AS
16212 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16213 1 to avoid redefinition warning.
16214 (__USE_GNU): Don't define.
16215 (init_signaling_nan): Protoize.
16216
e47686e9
AS
16217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16218
b18decba
SP
162192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16220
fffb407f
SP
16221 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16223 (__cpymn): Likewise.
16224 (norm): Remove commented code.
16225 (denorm): Likewise.
16226 (__mp_dbl): Likewise.
16227 (__inv): Likewise.
16228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16229 (__cpymn): Likewise.
16230 (norm): Remove commented code.
16231 (denorm): Likewise.
16232 (__mp_dbl): Likewise.
16233 (__inv): Likewise.
16234
b18decba
SP
16235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16236 mp_no value for 1.0 and 2.0.
16237 (norm): Use RADIXI instead of radixi.d.
16238 (denorm): Likewise.
16239 (__mul): Use 0.0 instead of zero.d.
16240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16241 mp_no value for 1.0 and 2.0.
16242 (norm): Use RADIXI instead of radixi.d.
16243 (denorm): Likewise.
16244 (__mul): Use 0.0 instead of zero.d.
16245
cdc1c96f
JM
162462013-01-04 Joseph Myers <joseph@codesourcery.com>
16247
16248 [BZ #14994]
16249 * math/s_casinh.c (__casinh): Reduce finite argument to first
16250 quadrant then set signs of results at the end.
16251 * math/s_casinhf.c (__casinhf): Likewise.
16252 * math/s_casinhl.c (__casinhl): Likewise.
16253 * math/libm-test.inc (casin_test): Add more tests.
16254 (casinh_test): Likewise.
16255 * sysdeps/i386/fpu/libm-test-ulps: Update.
16256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16257
302913e1
SP
162582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16259
6420d207
SP
16260 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16261
a9e48ab4
SP
16262 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16263
b7837264
SP
16264 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16265 declarations.
16266 (denorm): Likewise.
16267 (__mp_dbl): Likewise.
16268 (__inv): Likewise.
16269
f8af25d2
SP
16270 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16271 and adjust the header comment.
16272
302913e1
SP
16273 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16274 variable name from declaration.
16275
5d7dd1ca
L
162762013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16277
16278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16279 Initialize COMMON_CPUID_INDEX_7 element.
16280 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16281 (CPUID_RTM): Likewise.
16282 (HAS_RTM): Likewise.
16283 (COMMON_CPUID_INDEX_7): New enum.
16284
2f5f40f4
AS
162852013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16286
16287 [BZ #14981]
16288 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16289 size is zero, record memory as freed.
16290
4056f4a0
AJ
162912013-01-03 Andreas Jaeger <aj@suse.de>
16292
16293 * po/ia.po: Add new Interlingua translation.
16294
ab15736f 162952012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16296
16297 * locale/programs/localedef.c: Fix description of '--posix' flag.
16298
568035b7
JM
162992013-01-02 Joseph Myers <joseph@codesourcery.com>
16300
e6898b8d
JM
16301 * NEWS: Update dates in second copyright notice.
16302 * README: Update copyright dates in example.
16303 * manual/libc.texinfo: Update copyright dates.
16304 * scripts/test-installation.pl: Update copyright date in --version
16305 output.
16306
0e2f9562
JM
16307 * hurd/ctty-input.c: Fix copyright notice formatting.
16308 * hurd/ctty-output.c: Likewise.
16309 * hurd/dtable.c: Likewise.
16310 * hurd/hurd-raise.c: Likewise.
16311 * hurd/hurdprio.c: Likewise.
16312 * hurd/msgportdemux.c: Likewise.
16313 * misc/sys/file.h: Likewise.
16314 * misc/sys/ioctl.h: Likewise.
16315 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16316 * sysdeps/mach/hurd/chdir.c: Likewise.
16317 * sysdeps/mach/hurd/fchdir.c: Likewise.
16318 * sysdeps/mach/hurd/rename.c: Likewise.
16319 * sysdeps/mach/hurd/rmdir.c: Likewise.
16320 * sysdeps/mach/hurd/seekdir.c: Likewise.
16321 * sysdeps/mach/hurd/setsid.c: Likewise.
16322 * sysdeps/posix/wait3.c: Likewise.
16323
568035b7
JM
16324 * All files with FSF copyright notices: Update copyright dates
16325 using scripts/update-copyrights.
16326 * intl/plural.c: Regenerated.
16327 * locale/programs/charmap-kw.h: Likewise.
16328 * locale/programs/locfile-kw.h: Likewise.
16329
da08f647
SP
163302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16331
0f5477af
SP
16332 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16333 four values.
16334
44e0d4c2
SP
16335 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16336 calculation loop and add branch prediction.
16337
4d55b4e5
SP
16338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16339 check access beyond bounds of m1np.
16340
da08f647
SP
16341 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16342 MPTWO.
16343 (__inv): Remove local variable MPTWO to use the global
16344 constant.
16345 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16347 variable MPTWO.
16348 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16349 MP3HALFS static const.
16350
8e051029
DM
163512013-01-01 David S. Miller <davem@davemloft.net>
16352
16353 * po/ca.po: Update from translation team.
16354
f4cf5f2d
JM
163552013-01-01 Joseph Myers <joseph@codesourcery.com>
16356
16357 * scripts/update-copyrights: New file.
16358 * Makeconfig: Reformat copyright notice.
16359 * ctype/ctype.h: Likewise.
16360 * debug/swprintf_chk.c: Likewise.
16361 * elf/dl-cache.c: Likewise.
16362 * elf/dl-debug.c: Likewise.
16363 * elf/dl-object.c: Likewise.
16364 * grp/initgroups.c: Likewise.
16365 * hurd/Makefile: Likewise.
16366 * hurd/hurd/signal.h: Likewise.
16367 * hurd/hurdfault.c: Likewise.
16368 * hurd/hurdioctl.c: Likewise.
16369 * hurd/hurdlookup.c: Likewise.
16370 * hurd/intr-msg.c: Likewise.
16371 * iconv/gconv_open.c: Likewise.
16372 * libio/swprintf.c: Likewise.
16373 * locale/lc-ctype.c: Likewise.
16374 * locale/nl_langinfo.c: Likewise.
16375 * mach/Machrules: Likewise.
16376 * mach/Makefile: Likewise.
16377 * malloc/obstack.h: Likewise.
16378 * manual/Makefile: Likewise.
16379 * manual/tsort.awk: Likewise.
16380 * misc/bits/stab.def: Likewise.
16381 * nis/nis_print_group_entry.c: Likewise.
16382 * nis/nis_table.c: Likewise.
16383 * nis/nss_compat/compat-pwd.c: Likewise.
16384 * nis/nss_compat/compat-spwd.c: Likewise.
16385 * po/Makefile: Likewise.
16386 * posix/fnmatch.c: Likewise.
16387 * posix/regex.h: Likewise.
16388 * resolv/Makefile: Likewise.
16389 * resolv/nss_dns/dns-network.c: Likewise.
16390 * resolv/res_hconf.c: Likewise.
16391 * scripts/gen-sorted.awk: Likewise.
16392 * soft-fp/soft-fp.h: Likewise.
16393 * stdio-common/printf.h: Likewise.
16394 * stdlib/monetary.h: Likewise.
16395 * stdlib/random.c: Likewise.
16396 * stdlib/random_r.c: Likewise.
16397 * sysdeps/generic/Makefile: Likewise.
16398 * sysdeps/gnu/Makefile: Likewise.
16399 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16401 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16402 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
16404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16406 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16407 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16409 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16410 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16411 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
16412 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
16413 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
16414 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
16415 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16417 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16419 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
16420 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
16421 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
16422 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16423 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16426 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
16427 * sysdeps/mach/hurd/errnos.awk: Likewise.
16428 * sysdeps/mach/hurd/fork.c: Likewise.
16429 * sysdeps/mach/hurd/getcwd.c: Likewise.
16430 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
16431 * sysdeps/mach/hurd/mmap.c: Likewise.
16432 * sysdeps/mach/hurd/utimes.c: Likewise.
16433 * sysdeps/mach/hurd/xmknod.c: Likewise.
16434 * sysdeps/posix/profil.c: Likewise.
16435 * sysdeps/posix/readdir_r.c: Likewise.
16436 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16437 * sysdeps/powerpc/bits/setjmp.h: Likewise.
16438 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
16439 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16441 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
16442 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16443 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
16446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16447 * sysdeps/pthread/lio_listio.c: Likewise.
16448 * sysdeps/sparc/dl-procinfo.h: Likewise.
16449 * sysdeps/unix/i386/sysdep.S: Likewise.
16450 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
16451 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
16452 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
16453 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
16454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16455 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16456 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16457 * sysdeps/unix/sysv/linux/speed.c: Likewise.
16458 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16459 * sysdeps/wordsize-32/divdi3.c: Likewise.
16460 * time/sys/time.h: Likewise.
16461 * wcsmbs/Makefile: Likewise.
16462
0549fbba
DM
164632013-01-01 David S. Miller <davem@davemloft.net>
16464
a141f1a7
DM
16465 * po/fr.po: Update from translation team.
16466
0549fbba
DM
16467 * catgets/gencat.c: Update copyright year.
16468 * csu/version.c: Likewise.
16469 * debug/catchsegv.sh: Likewise.
16470 * debug/pcprofiledump.c: Likewise.
16471 * debug/xtrace.sh: Likewise.
16472 * elf/ldconfig.c: Likewise.
16473 * elf/ldd.bash.in: Likewise.
16474 * elf/pldd.c: Likewise.
16475 * elf/sotruss.ksh: Likewise.
16476 * elf/sprof.c: Likewise.
16477 * iconv/iconv_prog.c: Likewise.
16478 * iconv/iconvconfig.c: Likewise.
16479 * locale/programs/locale.c: Likewise.
16480 * locale/programs/localedef.c: Likewise.
16481 * login/programs/pt_chown.c: Likewise.
16482 * malloc/memusage.sh: Likewise.
16483 * malloc/memusagestat.c: Likewise.
16484 * malloc/mtrace.pl: Likewise.
16485 * nscd/nscd.c: Likewise.
16486 * nss/getent.c: Likewise.
16487 * nss/makedb.c: Likewise.
16488 * posix/getconf.c: Likewise.
16489
18ea052c
SP
164902012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16491
16492 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
16493 numbers.
16494
9c89fca6
MF
164952012-12-30 Mike Frysinger <vapier@gentoo.org>
16496
16497 * math/bits/mathcalls.h (modf): Use __nonnull.
16498
085ec079
SP
164992012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16500
16501 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
16502 (split): Use macro CN instead of the bare value.
16503 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
16504 could be used.
16505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
16506 instead of the bare value.
16507 (power1): Likewise.
16508
6d9f97e1
SP
165092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16510
d63f73be
SP
16511 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
16512 __ATAN_TWOM.
16513 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16514
6d9f97e1
SP
16515 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
16516 their values.
16517 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16518 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16519 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
16520 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
16521
4c4febf5
AJ
165222012-12-28 Andreas Jaeger <aj@suse.de>
16523
af5843ef
AJ
16524 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
16525 values are from Linux 3.7.
16526
4c4febf5
AJ
16527 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
16528 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
16529
99136f82
SP
165302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16531
2f216c3c 16532 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
16533 TRUE case.
16534
99136f82
SP
16535 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
16536 (norm): Likewise.
16537 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
16538 variables with preprocessor constants.
16539 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
16540 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
16541 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
16542
7fffbdff
BH
165432012-12-27 Bruno Haible <bruno@clisp.org>
16544
16545 [BZ #14317]
16546 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
16547 only if needed.
16548
b76eb5f0
SP
165492012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16550
31a7fe5c
SP
16551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
16552 and use variable directly.
16553 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
16554
b76eb5f0
SP
16555 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16556 MPONE.
16557 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
16558 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16559 variable MPONE.
16560 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16562 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
16563 include directive. Remove local variable MPONE.
16564 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
16565 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
16566 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16567
2c8bfe7d
DM
165682012-12-25 David S. Miller <davem@davemloft.net>
16569
16570 * version.h (RELEASE): Set to "development".
16571 (VERSION): Set to "2.17.90".
16572 * NEWS: Add 2.18 section.
16573
147d03b0
DM
165742012-12-21 David S. Miller <davem@davemloft.net>
16575
16576 * po/hr.po: Update from translation team.
16577
a8ebb2b9
AK
165782012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16579
16580 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
16581
95b4f1b6
SE
165822012-12-19 Steve Ellcey <sellcey@mips.com>
16583
b2d94007 16584 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 16585
cedb2a90
MS
165862012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16587
16588 * manual/contrib.texi (Contributors): Spelling correction.
16589
bbf527d6
DM
165902012-12-15 David S. Miller <davem@davemloft.net>
16591
16592 * po/ru.po: Update from translation team.
16593
bc38c906
DM
165942012-12-13 David S. Miller <davem@davemloft.net>
16595
85429b1a
DM
16596 * NEWS: Mention IFUNC testsuite enhancements.
16597
d283e353
DM
16598 * po/pl.po: Update from translation team.
16599 * po/bg.po: Likewise.
16600
bc38c906
DM
16601 * manual/contrib.texi (Contributors): Update entries for Hongjiu
16602 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
16603
a181b0d7
DM
166042012-12-11 David S. Miller <davem@davemloft.net>
16605
4641d57e
DM
16606 * po/sv.po: Update from translation team.
16607
f7bc6495
DM
16608 * po/vi.po: Update from translation team.
16609
6fc9048f
DM
16610 * po/cs.po: Update from translation team.
16611
a181b0d7
DM
16612 * po/de.po: Update from translation team.
16613 * po/eo.po: Likewise.
16614 * po/nl.po: Likewise.
16615
f70bfe80
SP
166162012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16617
3c8b4190
SP
16618 [BZ #14246]
16619 * manual/argp.texi (Argp Helper Functions): Move node to follow
16620 Argp Parsing State.
16621
f70bfe80
SP
16622 [BZ #14872]
16623 * manual/conf.texi (Limits on File System Capacity): Mention if
16624 terminating null is included in the max size.
16625
188f0adf
AJ
166262012-12-10 Andreas Jaeger <aj@suse.de>
16627
16628 * po/cs.po: Update from translation team.
16629
56e7d3ad
SP
166302012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16631
16632 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
16633 void pointer and cast to uintptr_t.
16634 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
16635 path.
16636 * sysdeps/s390/s390-64/memcpy.S: Likewise.
16637 * sysdeps/s390/s390-64/memset.S: Likewise.
16638
76f2d2ea 166392012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
16640
16641 [BZ #14833]
16642 * menual/message.texi (Message Translation): Fix typos.
16643 (Helper programs for gettext): Likewise.
16644
67cbf9a2
AS
166452012-12-07 Andreas Schwab <schwab@linux-m68k.org>
16646
16647 [BZ #14898]
16648 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
16649 Change to -1.
16650
682d0e9a
DM
166512012-12-07 David S. Miller <davem@davemloft.net>
16652
16653 * po/libc.pot: Update.
16654
573cd484
RH
166552012-12-07 Richard Henderson <rth@redhat.com>
16656
7e9da188 16657 [BZ #10114]
573cd484
RH
16658 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
16659 normal/normal case to before the switch.
16660 (_FP_DIV): Likewise.
16661
e933a943
MF
166622012-12-06 Carlos O'Donell <carlos@systemhalted.org>
16663 Mike Frysinger <vapier@gentoo.org>
16664
16665 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
16666 check for __NR_fadvise64_64.
16667
82123268
CM
166682012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16669
16670 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16671 0, not just to plain "0" as a statement.
16672 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16673 with cw.
16674
d9814526
JM
166752012-12-06 Joseph Myers <joseph@codesourcery.com>
16676
16677 * NEWS: Use sourceware.org in Bugzilla URL.
16678
7728c574
SP
166792012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16680
f16946dd
SP
16681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16682 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16683
5704bbcb
SP
16684 * stdio-common/tst-put-error.c (do_test): Add newline to the
16685 padded test to ensure flush.
16686
17aa0516
JL
166872012-12-05 Jeff Law <law@redhat.com>
16688
16689 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16690
363313b5
JM
166912012-12-05 Joseph Myers <joseph@codesourcery.com>
16692
effbd42a
JM
16693 * README: Don't refer to ports add-on as distributed separately.
16694 Mention AArch64 in list of systems supported in the ports add-on.
16695
87600365
JM
16696 * LICENSES: Add more non-FSF copyright and license notices.
16697
a0d7066a
JM
16698 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16699 ((unused)).
16700
66ca5a5b
JM
16701 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16702
363313b5
JM
16703 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16704 10000 as width of padded output.
16705
b37984ad
JM
167062012-12-04 Joseph Myers <joseph@codesourcery.com>
16707
9003570a
JM
16708 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16709
b37984ad
JM
16710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16711 variable LX with __attribute__ ((unused)).
16712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16713 Likewise.
16714 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16716 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16717 with __attribute__ ((unused)).
16718
c8df52ec
DM
167192012-12-04 David S. Miller <davem@abraco.davemloft.net>
16720
16721 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16722
b3b099af
JM
167232012-12-04 Joseph Myers <joseph@codesourcery.com>
16724
c33aa6e3
JM
16725 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16726 (CFLAGS-nldbl-acos.c): New variable.
16727 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16728 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16729 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16730 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16731 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16732 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16733 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16734 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16735 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16736 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16737 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16738 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16739 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16740 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16741 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16742 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16743 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16744 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16745 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16746 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16747 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16748 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16749 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16750 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16751 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16752 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16753 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16754 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16755 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16756 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16757 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16758 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16759 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16760 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16761 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16762 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16763 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16764 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16765 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16766 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16767 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16768 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16769 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16770 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16771 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16772 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16773 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16774 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16775 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16776 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16777 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16778 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16779 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16780 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16781 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16782 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16783 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16784 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16785 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16786 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16787 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16788 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16789 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16790 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16791 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16792 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16793 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16794 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16795 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16796 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16797 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16798 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16799 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16800 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16801 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16802 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16803 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16804 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16805 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16806 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16807 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16808 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16809 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16810 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16811 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16812 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16813 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16814 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16815 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16816 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16817 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16818 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16819 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16820 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16821 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16822 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16823 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16824
20f0018d
JM
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16826 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16827
b3b099af
JM
16828 [BZ #14914]
16829 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16830 whole low double instead of just low 47 bits when splitting values
16831 into two parts.
16832
029264d1
AM
168332012-12-03 Allan McRae <allan@archlinux.org>
16834
16835 * manual/stdio.texi (Predefined Printf Handlers): Remove
16836 @hsep and @vsep usage.
16837
c9d6789e
MF
168382012-12-03 Mike Frysinger <vapier@gentoo.org>
16839
16840 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16841 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16842
4b7634a5
JL
168432012-12-03 Jeff Law <law@redhat.com>
16844
16845 * time/sys/time.h (settimeofday): Do not mark TV argument
16846 as __nonnull.
16847
eb6cbd24
MF
168482012-12-01 Mike Frysinger <vapier@gentoo.org>
16849
16850 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16851 when currently writing and seek to current position when not.
16852 * libio/Makefile (tests): Remove bug-fclose1.
16853 * libio/bug-fclose1.c: Delete.
16854
f638872a
JM
168552012-12-01 Joseph Myers <joseph@codesourcery.com>
16856
16857 * manual/arith.texi (feenableexcept): Fix typo.
16858 (fedisableexcept): Likewise.
16859
48085d14
RM
168602012-11-30 Roland McGrath <roland@hack.frob.com>
16861
16862 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16863 second, differently-typed declaration, rather than a cast.
16864
1a538b9f
SP
168652012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16866
16867 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16868 * include/rpc/svc.h: ... here.
16869
d07f2ff1 168702012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
16871
16872 [BZ #13013]
16873 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16874 depending n and resplen2 to catch cases where answer
16875 equals answerp2.
16876
c93ec1f0
CD
168772012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16878
16879 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16880 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16881
37db69de
MF
168822012-11-29 Mike Frysinger <vapier@gentoo.org>
16883
16884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16885
e10c4e4f
RM
168862012-11-29 Roland McGrath <roland@hack.frob.com>
16887
16888 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16889
2af1b328
JL
168902012-11-28 Jeff Law <law@redhat.com>
16891
16892 [BZ #13761]
16893 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16894 dataset_temporary. Track alloca usage into alloca_used.
16895 If dataset is large allocate and release it via malloc/free.
16896
111db5b1
FW
168972012-06-04 Florian Weimer <fweimer@redhat.com>
16898
f06cc227 16899 [BZ #14197]
111db5b1
FW
16900 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16901
dd694abd
DM
169022012-11-28 David S. Miller <davem@davemloft.net>
16903
16904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16905
9984dd01
JM
169062012-11-28 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #14803]
16909 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16910 of pi/2 rounded to nearest to 64 bits.
16911 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16912 nearest to 64 bits.
16913 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16914 bits.
16915
14bc93a9
JL
169162012-11-28 Jeff Law <law@redhat.com>
16917 Martin Osvald <mosvald@redhat.com>
16918
16919 [BZ #14889]
16920 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16921 * sunrpc/svc.c: Include time.h.
16922 (__svc_accept_failed): New function.
16923 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16924 any reason other than EINTR, call __svc_accept_failed.
16925 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16926 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16927
e3c6aa3a
AS
169282012-11-28 Andreas Schwab <schwab@suse.de>
16929
16930 * scripts/abilist.awk: Also handle indirect functions in .opd
16931 section.
16932
1bead169
JM
169332012-11-28 Joseph Myers <joseph@codesourcery.com>
16934
16935 [BZ #13881]
16936 * sysdeps/x86/fpu/powl_helper.c: New file.
16937 * sysdeps/x86/fpu/Makefile: Likewise.
16938 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16939 (p3): New object.
16940 (__ieee754_powl): Use __powl_helper for finite arguments except
16941 integer exponents below 8.
16942 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16943 (p3): New object.
16944 (__ieee754_powl): Use __powl_helper for finite arguments except
16945 integer exponents below 8.
16946 * math/libm-test.inc (pow_test): Add more tests and enable some
16947 previously disabled tests.
16948 * sysdeps/i386/fpu/libm-test-ulps: Update.
16949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16950
0817d63d
SP
169512012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16952 Carlos O'Donell <carlos_odonell@mentor.com>
16953
16954 * nss/makedb.c (is_prime): Assert that input is odd and greater
16955 than 4. Note that fact in a comment too.
16956 (next_prime): Add 4 to input.
16957
de2fd463
SP
169582012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16959
16960 [BZ #11741]
16961 * libio/Makefile (tests): Add test case tst-fwrite-error.
16962 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16963 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16964 * libio/tst-fwrite-error.c: New test case.
16965
c515fb51
L
169662012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16967
16968 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16969 before casting to void *.
16970 * include/libc-internal.h (__pointer_type): New macro.
16971 (__integer_if_pointer_type_sub): Likewise.
16972 (__integer_if_pointer_type): Likewise.
16973 (cast_to_integer): Likewise.
16974 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16975 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16976 before casting to atomic64_t.
16977 (atomic_exchange_acq): Likewise.
16978 (__arch_exchange_and_add_body): Likewise.
16979 (__arch_add_body): Likewise.
16980 (atomic_add_negative): Likewise.
16981 (atomic_add_zero): Likewise.
16982
4cf77aa9
JM
169832012-11-26 Joseph Myers <joseph@codesourcery.com>
16984
16985 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16986 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16987 (add_fdes): Likewise.
16988 (linear_search_fdes): Likewise.
16989 (binary_search_unencoded_fdes): Likewise.
16990
d260b3b4
AS
169912012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16992
16993 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16994
67060746
AC
169952012-11-24 Adam Conrad <adconrad@0c3.net>
16996
16997 * configure.in: Autodetect C++ header directories.
16998 * configure: Regenerated.
16999
800938a1
MF
170002012-11-23 Mike Frysinger <vapier@gentoo.org>
17001
17002 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17003
4e6e34e6
AS
170042012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17005
17006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17007
7c7feb47
JM
170082012-11-22 Joseph Myers <joseph@codesourcery.com>
17009
7184dcdf
JM
17010 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17011 LDBL_MANT_DIG == 106]: Disable some tests.
17012 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17013 Likewise.
17014 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17015 Likewise.
17016
0a42601f
JM
17017 [BZ #14871]
17018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17019 input for small inputs. Return +/- pi/2 for large inputs.
17020 * math/libm-test.inc (atan_test): Add more tests.
17021
79c9b9fe
JM
17022 * sysdeps/generic/unwind-dw2-fde-glibc.c
17023 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17024 __attribute__ ((unused)).
17025
c60d3bf2
JM
17026 [BZ #14645]
17027 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17028 x * y if x and y are nonzero and z is zero.
17029
ef1e0867
JM
17030 [BZ #14811]
17031 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17032 nonzero exponents with absolute value below 0x1p-117 to +/-
17033 0x1p-117.
17034
1468ded3
JM
17035 [BZ #14869]
17036 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17037 up arguments below 2**-450, not just those below 2**-500.
17038 * math/libm-test.inc (hypot_test): Add another test.
17039
8e27e3cc
JM
17040 [BZ #14868]
17041 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17042 Return a+b for ratio over 2**120, not 2**60.
17043 * math/libm-test.inc (hypot_test): Add another test.
17044
c9c0279b
JM
17045 * math/libm-test.inc (clog_test): Use
17046 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17047 (clog10_test): Likewise.
17048
7c7feb47
JM
17049 [BZ #6778]
17050 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17051
fff1530e
AS
170522012-11-22 Andreas Schwab <schwab@suse.de>
17053
17054 * sysdeps/i386/fpu/libm-test-ulps: Update.
17055
94558d30
PT
170562012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17057
17058 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17059 printf output with newline.
17060
7e1be741
L
170612012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17062
6bfea974
L
17063 [BZ #14865]
17064 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17065 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17066 -z nodlopen, -z initfirst and -z execstack support.
17067 * configure: Regenerated.
17068
7e1be741
L
17069 * elf/elf.h (DF_1_NODIRECT): New macro.
17070 (DF_1_IGNMULDEF): Likewise.
17071 (DF_1_NOKSYMS): Likewise.
17072 (DF_1_NOHDR): Likewise.
17073 (DF_1_EDITED): Likewise.
17074 (DF_1_NORELOC): Likewise.
17075 (DF_1_SYMINTPOSE): Likewise.
17076 (DF_1_GLOBAUDIT): Likewise.
17077 (DF_1_SINGLETON): Likewise.
17078 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17079 DT_1_SUPPORTED_MASK bits.
17080 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17081
105ce2ce
CD
170822012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17083
17084 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17085
123be9de
TS
170862012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17087
d072f3f7
TS
17088 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17089 macro.
17090
123be9de
TS
17091 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17092 (sendmmsg): Move declarations...
17093 * socket/sys/socket.h: ... here.
17094 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17095 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17096 include it from...
17097 * socket/recvmmsg.c: ... this new file.
17098 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17099 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17100 definition of __sendmmsg hidden.
17101 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17102 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17103 Move ENOSYS stub into and include it from...
17104 * socket/sendmmsg.c: ... this new file.
17105 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17106 (sysdep_routines): Move recvmmsg and sendmmsg...
17107 * socket/Makefile (routines): ... here.
17108 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17109 (GLIBC_PRIVATE): Add __sendmmsg.
17110 * include/sys/socket.h (__sendmmsg): Add declarations.
17111 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17112 sendmmsg.
17113
cf9a5d18
JM
171142012-11-20 Joseph Myers <joseph@codesourcery.com>
17115
17116 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17117 variable I1 with __attribute__ ((unused)).
17118 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17119
ecd4caf9
JM
171202012-11-19 Joseph Myers <joseph@codesourcery.com>
17121
be14d48f
JM
17122 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17123 DUMMY variables with __attribute__ ((unused)).
17124
ecd4caf9
JM
17125 * bits/byteswap.h: Include <bits/types.h>.
17126 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17127
986cab95
PT
171282012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17129
17130 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17131 string_t. Do not manually set errno.
17132 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17133 length with __strnlen. Make sure to both set errno and return it on
17134 failure.
17135
6d33cc9d
DM
171362012-11-19 David S. Miller <davem@davemloft.net>
17137
17138 With help from Joseph Myers.
17139 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17140 very large arguments properly.
17141 * math/libm-test.inc (atan_test): New tests.
17142 (atan2_test): New tests.
17143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17145
ee663277
JM
171462012-11-19 Joseph Myers <joseph@codesourcery.com>
17147
877f2d8e
JM
17148 [BZ #14856]
17149 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17150 Define to 3.
17151
116fc08a
JM
17152 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17153 [POSIX] (EADDRNOTAVAIL): Likewise.
17154 [POSIX] (EAFNOSUPPORT): Likewise.
17155 [POSIX] (EALREADY): Likewise.
17156 [POSIX] (ECONNABORTED): Likewise.
17157 [POSIX] (ECONNREFUSED): Likewise.
17158 [POSIX] (ECONNRESET): Likewise.
17159 [POSIX] (EDESTADDRREQ): Likewise.
17160 [POSIX] (EDQUOT): Likewise.
17161 [POSIX] (EHOSTUNREACH): Likewise.
17162 [POSIX] (EIDRM): Likewise.
17163 [POSIX] (EISCONN): Likewise.
17164 [POSIX] (ELOOP): Likewise.
17165 [POSIX] (EMULTIHOP): Likewise.
17166 [POSIX] (ENETDOWN): Likewise.
17167 [POSIX] (ENETUNREACH): Likewise.
17168 [POSIX] (ENOBUFS): Likewise.
17169 [POSIX] (ENODATA): Likewise.
17170 [POSIX] (ENOLINK): Likewise.
17171 [POSIX] (ENOMSG): Likewise.
17172 [POSIX] (ENOPROTOOPT): Likewise.
17173 [POSIX] (ENOSR): Likewise.
17174 [POSIX] (ENOSTR): Likewise.
17175 [POSIX] (ENOTCONN): Likewise.
17176 [POSIX] (ENOTSOCK): Likewise.
17177 [POSIX] (EOPNOTSUPP): Likewise.
17178 [POSIX] (EOVERFLOW): Likewise.
17179 [POSIX] (EPROTO): Likewise.
17180 [POSIX] (EPROTONOSUPPORT): Likewise.
17181 [POSIX] (EPROTOTYPE): Likewise.
17182 [POSIX] (ESTALE): Likewise.
17183 [POSIX] (ETIME): Likewise.
17184 [POSIX] (ETXTBSY): Likewise.
17185 [POSIX] (EWOULDBLOCK): Likewise.
17186 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17187 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17188 [POSIX] (SEEK_CUR): Likewise.
17189 [POSIX] (SEEK_END): Likewise.
17190 [POSIX || UNIX98] (mode_t): Do not require.
17191 [POSIX] (off_t): Likewise.
17192 [POSIX] (pid_t): Likewise.
17193 [POSIX] (sys/stat.h): Do not allow header.
17194 [POSIX] (unistd.h): Likewise.
17195 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17196 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17197 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17198 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17199 require.
17200 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17201 sigevent): Specify elements.
17202 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17203 entry.
17204 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17205 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17206
a483863f
JM
17207 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17208 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17209 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17210 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17211 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17212 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17213 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17214 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17215 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17216 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17217 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17218 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17219 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17220 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17221 Likewise.
17222 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17223 Likewise.
17224 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17225 Likewise.
17226 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17227 Likewise.
17228 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17229 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17230 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17231 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17232 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17233 Specify lower bound on value.
17234 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17235 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17236 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17237 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17238 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17239 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17240 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17241 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17242 value.
17243 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17244 as optional.
17245 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17246 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17247 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17248 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17249 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17250 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17251 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17252 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17253 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17254 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17255 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17256 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17257 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17258 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17259 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17260 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17261 entry.
17262 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17263 optional.
17264 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17265 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17266 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17267 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17268 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17269 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17270 Likewise.
17271 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17272 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17273 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17274 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17275 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17276 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17277 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17278 as optional.
17279 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17280 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17281 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17282 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17283 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17284 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17285 specify as optional.
17286 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17287 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17288 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17289 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17290 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17291 [XPG3] (NL_LANGMAX): Likewise.
17292 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17293 [POSIX || XPG3] (NL_NMAX): Likewise.
17294 [POSIX || XPG3] (NL_SETMAX): Likewise.
17295 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17296 [XPG3] (NZERO): Likewise.
17297 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17298 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17299 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17300 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17301 (REG_ERANGE): Expect.
17302 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17303 optional-constant.
17304 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17305 Use (void) in prototype.
17306 [POSIX] (*_t): Allow.
17307 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17308 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17309 (WRDE_BADVAL): Expect.
17310
5ba924e3
JM
17311 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17312 expect.
17313 [XPG3 || XPG4] (O_RSYNC): Likewise.
17314 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17315 Likewise.
17316 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17317 [XPG3 || XPG4] (sigqueue): Likewise.
17318 [XPG3 || XPG4] (sigtimedwait): Likewise.
17319 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17320 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17321 [XPG3 || XPG4] (vsnprintf): Likewise.
17322 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17323 Likewise.
17324 [XPG3 || XPG4] (blksize_t): Likewise.
17325 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17326 Likewise.
17327 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17328 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17329 [XPG3 || XPG4] (struct itimerspec): Likewise.
17330 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17331 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17332 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17333 [XPG3 || XPG4] (clockid_t): Likewise.
17334 [XPG3 || XPG4] (timer_t): Likewise.
17335 [XPG3 || XPG4] (clock_getres): Likewise.
17336 [XPG3 || XPG4] (clock_gettime): Likewise.
17337 [XPG3 || XPG4] (clock_settime): Likewise.
17338 [XPG3 || XPG4] (nanosleep): Likewise.
17339 [XPG3 || XPG4] (timer_create): Likewise.
17340 [XPG3 || XPG4] (timer_delete): Likewise.
17341 [XPG3 || XPG4] (timer_gettime): Likewise.
17342 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17343 [XPG3 || XPG4] (timer_settime): Likewise.
17344 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17345 [XPG3 || XPG4] (getlogin_r): Likewise.
17346 [XPG3 || XPG4] (pread): Likewise.
17347 [XPG3 || XPG4] (pthread_atfork): Likewise.
17348 [XPG3 || XPG4] (pwrite): Likewise.
17349
ee663277
JM
17350 [BZ #14835]
17351 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
17352 <bits/siginfo.h>.
17353
942caa16
PT
173542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17355
e19af380
PT
17356 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
17357 finalizing MALLSTREAM.
17358
942caa16
PT
17359 * sysdeps/mach/hurd/syncfs.c: New file.
17360
cfde9b46
SP
173612012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17362
17363 [BZ #14719]
17364 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
17365 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
17366 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
17367 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
17368 (_nss_dns_gethostbyname4_r): Likewise.
17369 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
17370 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
17371
f6da27e5
PH
173722012-11-19 Peng Haitao <penght@cn.fujitsu.com>
17373
17374 [BZ #13763]
17375 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
17376
6665d4a2
SM
173772012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
17378
1f51ee92
SM
17379 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
17380 * elf/cache.c (print_entry): Print ",AArch64" for
17381 FLAG_AARCH64_LIB64
17382
6665d4a2
SM
17383 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
17384 * elf/cache.c (print_entry): Print ",hard-float" for
17385 FLAG_ARM_LIBHF.
17386
05b227bd
DM
173872012-11-18 David S. Miller <davem@davemloft.net>
17388
17389 With help from Joseph Myers.
17390 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
17391 cutoff to 2**-13.
17392 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
17393 cutoff to 2**-25.
17394 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
17395 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
17396 small.
17397 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
17398 * math/libm-test.inc (y0_test): New tests.
17399 (y1_test): New tests.
17400 * sysdeps/i386/fpu/libm-test-ulps: Update.
17401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17403
786b0b67
AS
174042012-11-18 Andreas Schwab <schwab@linux-m68k.org>
17405
17406 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
17407 64-bit targets.
17408 * configure: Regenerated.
17409
8e18b86d
DM
174102012-11-17 David S. Miller <davem@davemloft.net>
17411
17412 [BZ #14811]
17413 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
17414 nonzero exponents with absolute value below 0x1p-128 to +/-
17415 0x1p-128.
17416
531f1ae0
JM
174172012-11-17 Joseph Myers <joseph@codesourcery.com>
17418
12df29e2
JM
17419 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
17420
150dc1a0
JM
17421 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
17422
531f1ae0
JM
17423 * posix/getconf-speclist.c: New file.
17424 * posix/posix-envs.def: Likewise.
17425 * posix/confstr.c (START_ENV_GROUP): New macro.
17426 (END_ENV_GROUP): Likewise.
17427 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17428 (KNOWN_PRESENT_ENV_STRING): Likewise.
17429 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17430 (UNKNOWN_ENVIRONMENT): Likewise.
17431 (confstr): Include posix-envs.def instead of handling
17432 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
17433 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
17434 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
17435 (END_ENV_GROUP): Likewise.
17436 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
17437 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
17438 (UNKNOWN_ENVIRONMENT): Likewise.
17439 (__sysconf): Include posix-envs.def instead of handling associated
17440 cases directly here.
17441 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
17442 preprocessing getconf-speclist.c rather than running getconf or
17443 generating empty file.
17444
a93f9cbc
PT
174452012-11-16 Pino Toscano <toscano.pino@tiscali.it>
17446
17447 * scripts/check-local-headers.sh: Ignore 'mach' headers.
17448
d64d9f87
AL
174492012-11-16 Andrej Lajovic <natrij@gmail.com>
17450
17451 [BZ #14672]
17452 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
17453
447885eb
DM
174542012-11-16 David S. Miller <davem@davemloft.net>
17455
17456 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
17457 smaller than LDBL_EPSILON/2.0L, just return xm1.
17458
bcbf9830
L
174592012-11-16 H.J. Lu <hongjiu.lu@intel.com>
17460
17461 * elf/tst-array1.c (init): Set constructor priority to 1000.
17462 (fini): Set destructor priority to 1000.
17463 * elf/tst-array2dep.c: Likewise.
17464
2b766585
SP
174652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17466
17467 [BZ #11741]
17468 * libio/fileops.c (_IO_new_file_write): Correctly return error.
17469 (_IO_new_file_xsputn): Also return EOF if none of the input
17470 data was written when overflow failed.
17471 * libio/iopadn.c (_IO_padn): Likewise.
17472 * libio/iowpadn.c (_IO_wpadn): Likewise.
17473 * stdio-common/tst-put-error.c: Add copyright notice.
17474 (do_test): Add case for printing padded string.
17475 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
17476 _IO_padn returned error.
17477 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
17478 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
17479 return EOF.
17480
b1848fde
SP
174812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17482
17483 * libio/libioP.h: Add comment note that the references to C++
17484 bits are now obsolete.
17485
2fd89785
MS
174862012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17487
17488 * math/libm-test.inc (check_complex): Use asprintf.
17489
e3ea5409
JM
174902012-11-14 Joseph Myers <joseph@codesourcery.com>
17491
17492 * debug/pcprofiledump.c (print_version): Update copyright year.
17493 * malloc/memusagestat.c (print_version): Likewise.
17494
2e64d265
L
174952012-11-14 H.J. Lu <hongjiu.lu@intel.com>
17496
17497 [BZ #14831]
17498 * elf/Makefile (tests): Add tst-audit8.
17499 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
17500 ($(objpfx)tst-audit8.out): New target.
17501 (tst-audit8-ENV): New variable.
17502 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
17503 audit if l_reloc_result is NULL.
17504 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
17505 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
17506 * elf/tst-audit8.c: New file.
17507
c485e4d2
MS
175082012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17509
17510 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
17511 * misc/Makefile (CFLAGS-select.c): Define.
17512 * posix/Makefile (CFLAGS-pause.c): Define.
17513
3a0d900a
DM
175142012-11-13 David S. Miller <davem@davemloft.net>
17515
17516 * crypt/Makefile: Move test targets after toplevel Rules
17517 inclusion. Grab any necessary sysdep routines when linking.
17518 * crypt/md5.c (md5_process_block): Remove define, we will always
17519 name it __md5_process_block.
17520 (md5_finish_ctx): Update md5_process_block call.
17521 (md5_stream): Likewise.
17522 (md5_process_bytes): Likewise.
17523 (md5_process_block): Rename to __md5_process_block and move to ...
17524 * crypt/md5-block.c: ... here.
17525 * crypt/sha256.c (sha256_process_block): Move to ...
17526 * crypt/sha256-block.c: ... here.
17527 * crypt/sha512.c (sha512_process_block): Move to ...
17528 * crypt/sha512-block.c: ... here.
17529 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
17530 path.
17531 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
17532 * sysdeps/sparc/sparc64/multiarch/Makefile
17533 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
17534 crypt subdir.
17535 (localedef-aux): Add md5 crypto assembler when in locale subdir.
17536 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
17537 multiarch changes.
17538 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
17539 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
17540 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
17541 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
17542 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
17543 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
17544 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
17545 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
17546 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
17547 file.
17548 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
17549 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
17550 file.
17551 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
17552
8ca89318
JM
175532012-11-13 Joseph Myers <joseph@codesourcery.com>
17554
e27d476a
JM
17555 * timezone/tzselect.ksh: Update from tzcode git revision
17556 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
17557 * timezone/zdump.c: Likewise.
17558 * timezone/zic.c: Likewise.
17559 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
17560 in TZVERSION setting, not $(PKGVERSION).
17561 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
17562 REPORT_BUGS_TO settings.
17563
8ca89318
JM
17564 [BZ #14838]
17565 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
17566 macro.
17567
47594329
MS
175682012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17569
17570 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
17571 detection to immediately after _FP_ROUND().
17572 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
17573 bits are 0.
17574
640ac3f1
DM
175752012-11-11 David S. Miller <davem@davemloft.net>
17576
17577 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
17578 inttypes.h
17579 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
17580 __close rather than their public counterparts.
17581
3d2577bb
JM
175822012-11-10 Joseph Myers <joseph@codesourcery.com>
17583
17584 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
17585 file.
17586 [UNIX98] (sem_timedwait): Do not expect.
17587 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
17588 [XPG4 || UNIX98] (sockatmark): Do not expect.
17589 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
17590 (clock_getcpuclockid): Do not expect.
17591 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
17592 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
17593 Do not expect.
17594 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
17595 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
17596 [UNIX98] (vwscanf): Likewise.
17597 [UNIX98] (vswscanf): Likewise.
17598
fb1ae1ee
JM
175992012-11-09 Joseph Myers <joseph@codesourcery.com>
17600
9ec6f8bd
JM
17601 * timezone/version.h: Remove file.
17602 * timezone/README: Do not refer to version.h.
17603 * timezone/Makefile ($(objpfx)zic.o): New dependency on
17604 $(objpfx)version.h.
17605 ($(objpfx)zdump.o): Likewise.
c3f81911 17606 ($(objpfx)version.h): New target.
9ec6f8bd 17607
0aa8f8a1
JM
17608 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
17609 2012i.
17610 * timezone/README: Don't mention modification to tzselect.ksh.
17611 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
17612 work on unmodified tzselect.ksh. Substitute version numbers in
17613 tzselect.ksh.
17614
4e87147f
JM
17615 * Makefile (format-me): Remove.
17616 (INSTALL): Adjust indentation. Use commands directly instead of
17617 using $(format-me).
17618
8b748aed
JM
17619 * aclocal.m4 (ACX_PKGVERSION): New macro.
17620 (ACX_BUGURL): Likewise.
17621 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
17622 (PKGVERSION): New AC_DEFINE_UNQUOTED.
17623 (REPORT_BUGS_TO): Likewise.
17624 * configure: Regenerated.
17625 * config.h.in (PKGVERSION): New macro.
17626 (REPORT_BUGS_TO): Likewise.
17627 * config.make.in (PKGVERSION): New variable.
17628 (PKGVERSION_TEXI): Likewise.
17629 (REPORT_BUGS_TO): Likewise.
17630 (REPORT_BUGS_TEXI): Likewise.
17631 * Makefile (format-me): Use -I$(common-objpfx)manual.
17632 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
17633 ($(common-objpfx)manual/%): New target.
17634 (manual/%): Remove target.
17635 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
17636 (print_version): Use PKGVERSION.
17637 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
17638 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
17639 and REPORT_BUGS_TO.
17640 ($(objpfx)xtrace): Likewise.
17641 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
17642 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
17643 (print_version): Use PKGVERSION.
17644 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
17645 (do_version): Use PKGVERSION.
17646 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
17647 REPORT_BUGS_TO.
17648 (common-ldd-rewrite): Likewise.
17649 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
17650 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
17651 (print_version): Use PKGVERSION.
17652 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
17653 * elf/pldd.c (argp_program_bug_address): Remove variable.
17654 (more_help): New function.
17655 (argp): Use more_help.
17656 (print_version): Use PKGVERSION.
17657 * elf/sln.c (main): Use PKGVERSION.
17658 (usage): Use REPORT_BUGS_TO.
17659 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
17660 (top level): Use PKGVERSION.
17661 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
17662 (print_version): Use PKGVERSION.
17663 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
17664 (print_version): Use PKGVERSION.
17665 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
17666 (print_version): Use PKGVERSION.
17667 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
17668 (print_version): Use PKGVERSION.
17669 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17670 (print_version): Use PKGVERSION.
17671 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17672 (print_version): Use PKGVERSION.
17673 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17674 and BUGURL.
17675 ($(objpfx)memusage): Likewise.
17676 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17677 (do_version): Use PKGVERSION.
17678 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17679 (print_version): Use PKGVERSION.
17680 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17681 ($PKGVERSION): New variable.
17682 ($REPORT_BUGS_TO): Likewise.
17683 (usage): Use $REPORT_BUGS_TO.
17684 (top level): Use $PKGVERSION.
17685 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17686 ($(objpfx)pkgvers.texi): New rule.
17687 ($(objpfx)stamp-pkgvers): Likewise.
17688 * manual/install.texi: Include pkgvers.texi.
17689 (--with-pkgversion): Document new configure option.
17690 (--with-bugurl): Likewise.
17691 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17692 than necessarily for this particular distribution. Use
17693 REPORT_BUGS_TO for where to report bugs.
17694 * INSTALL: Regenerated.
17695 * manual/libc.texinfo: Include pkgvers.texi.
17696 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17697 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17698 (print_version): Use PKGVERSION.
17699 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17700 (print_version): Use PKGVERSION.
17701 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17702 (print_version): Use PKGVERSION.
17703 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17704 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17705 macro.
17706 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17707 (print_version): Use PKGVERSION.
17708 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17709 (print_version): Use PKGVERSION.
17710 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17711 and PKGVERSION.
17712
92e4b6a9
JM
17713 * timezone/checktab.awk: Update from tzcode 2012i.
17714 * timezone/ialloc.c: Likewise.
17715 * timezone/private.h: Likewise.
17716 * timezone/scheck.c: Likewise.
17717 * timezone/tzfile.h: Likewise.
17718 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17719 (TZVERSION): Hardcode tzcode version number.
17720 * timezone/zdump.c: Update from tzcode 2012i.
17721 * timezone/zic.c: Likewise.
17722 * timezone/version.h: New file.
17723 * timezone/README: Describe version.h. Update upstream location.
17724
9bde902c
JM
17725 [BZ #14824]
17726 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17727 (mktemp): Enable declaration.
17728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17729 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17731 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17732 Likewise.
17733 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17734 Likewise.
17735 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17736 Likewise.
17737 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17738 Likewise.
17739 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17740 Likewise.
17741 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17742 Likewise.
17743
fb1ae1ee
JM
17744 [BZ #14821]
17745 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17746 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17747 for copies of such integer values.
17748 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17749 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17750
2c1adbcb
AJ
177512012-11-09 Andreas Jaeger <aj@suse.de>
17752
17753 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17754 definitions and declarations that are provided by
17755 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17756
d0f8457e
AK
177572012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17758
3a235abb 17759 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
17760 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17761 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17762 definition.
17763
57241e26
MS
177642012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17765
17766 * elf/elf.h: Update comment before AArch64 relocations.
17767
60e8270d
DM
177682012-11-07 David S. Miller <davem@davemloft.net>
17769
17770 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17771 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17772 (__start_context): Declare.
17773 (__makecontext_ret): Delete.
17774 (__makecontext): Hook up __start_context instead of
17775 __makecontext_ret.
17776 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17777 (sysdep_routines): Add __start_context when in stdlib.
17778
0fbb0fbc
JM
177792012-11-07 Joseph Myers <joseph@codesourcery.com>
17780
17781 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17782 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17783 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17784 hardcoded "nm".
17785 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17786 (READELF): New variable. Use it instead of hardcoded "readelf".
17787
eb48db7e
L
177882012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17791 * sysdeps/x86/Makefile: Here.
17792 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17793 * sysdeps/x86/tst-xmmymm.sh: This.
17794
05bcf62a
JM
177952012-11-07 Joseph Myers <joseph@codesourcery.com>
17796
c4b6cf53
JM
17797 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17798 expectations.
17799 [UNIX98] (pthread_barrier_t): Do not expect.
17800 [UNIX98] (pthread_barrierattr_t): Likewise.
17801 [UNIX98] (pthread_spinlock_t): Likewise.
17802 [UNIX98] (pthread_barrier_destroy): Likewise.
17803 [UNIX98] (pthread_barrier_init): Likewise.
17804 [UNIX98] (pthread_barrier_wait): Likewise.
17805 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17806 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17807 [UNIX98] (pthread_barrierattr_init): Likewise.
17808 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17809 [UNIX98] (pthread_getcpuclockid): Likewise.
17810 [UNIX98] (pthread_mutex_timedlock): Likewise.
17811 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17812 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17813 [UNIX98] (pthread_sigmask): Likewise.
17814 [UNIX98] (pthread_spin_destroy): Likewise.
17815 [UNIX98] (pthread_spin_init): Likewise.
17816 [UNIX98] (pthread_spin_lock): Likewise.
17817 [UNIX98] (pthread_spin_trylock): Likewise.
17818 [UNIX98] (pthread_spin_unlock): Likewise.
17819 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17820 Do not expect.
17821 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17822 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17823 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17824 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17825 [XPG3 || XPG4] (pthread_key_t): Likewise.
17826 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17827 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17828 [XPG3 || XPG4] (pthread_once_t): Likewise.
17829 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17830 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17831 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17832 [XPG3 || XPG4] (pthread_t): Likewise.
17833
cbe6e120
JM
17834 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17835 not expect.
17836 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17837
1b126443
JM
17838 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17839 Change function return type to int.
17840
b961a573
JM
17841 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17842 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17843 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17844 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17845 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17846 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17847 [!POSIX] (posix_madvise): Likewise.
17848 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17849 && !UNIX98].
17850 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17851 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17852 (mode_t): Likewise.
17853 (posix_mem_offset): Likewise.
17854 (posix_typed_mem_get_info): Likewise.
17855 (posix_typed_mem_open): Likewise.
17856
9e188909
JM
17857 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17858 Change condition to [XOPEN2K8].
17859
05bcf62a
JM
17860 * conform/conformtest.pl: Preprocess allow-header data with -x c
17861 instead of from stdin.
17862 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17863 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17864 [C99-based standards] (cerfc): Likewise.
17865 [C99-based standards] (cexp2): Likewise.
17866 [C99-based standards] (cexpm1): Likewise.
17867 [C99-based standards] (clog10): Likewise.
17868 [C99-based standards] (clog1p): Likewise.
17869 [C99-based standards] (clog2): Likewise.
17870 [C99-based standards] (clgamma): Likewise.
17871 [C99-based standards] (ctgamma): Likewise.
17872 [C99-based standards] (cerff): Likewise.
17873 [C99-based standards] (cerfcf): Likewise.
17874 [C99-based standards] (cexp2f): Likewise.
17875 [C99-based standards] (cexpm1f): Likewise.
17876 [C99-based standards] (clog10f): Likewise.
17877 [C99-based standards] (clog1pf): Likewise.
17878 [C99-based standards] (clog2f): Likewise.
17879 [C99-based standards] (clgammaf): Likewise.
17880 [C99-based standards] (ctgammaf): Likewise.
17881 [C99-based standards] (cerfl): Likewise.
17882 [C99-based standards] (cerfcl): Likewise.
17883 [C99-based standards] (cexp2l): Likewise.
17884 [C99-based standards] (cexpm1l): Likewise.
17885 [C99-based standards] (clog10l): Likewise.
17886 [C99-based standards] (clog1pl): Likewise.
17887 [C99-based standards] (clog2l): Likewise.
17888 [C99-based standards] (clgammal): Likewise.
17889 [C99-based standards] (ctgammal): Likewise.
17890 * conform/data/inttypes.h-data [C99-based standards]: Include
17891 stdint.h-data. Remove all expectations for stdint.h contents.
17892 [C99-based standards] (PRI*): Do not allow.
17893 [C99-based standards] (SCN*): Likewise.
17894 [C99-based standards] (*_t): Likewise.
17895 [C99-based-standards] (PRId8): Expect macro.
17896 [C99-based-standards] (PRIi8): Likewise.
17897 [C99-based-standards] (PRIo8): Likewise.
17898 [C99-based-standards] (PRIu8): Likewise.
17899 [C99-based-standards] (PRIx8): Likewise.
17900 [C99-based-standards] (PRIX8): Likewise.
17901 [C99-based-standards] (SCNd8): Likewise.
17902 [C99-based-standards] (SCNi8): Likewise.
17903 [C99-based-standards] (SCNo8): Likewise.
17904 [C99-based-standards] (SCNu8): Likewise.
17905 [C99-based-standards] (SCNx8): Likewise.
17906 [C99-based-standards] (PRIdLEAST8): Likewise.
17907 [C99-based-standards] (PRIiLEAST8): Likewise.
17908 [C99-based-standards] (PRIoLEAST8): Likewise.
17909 [C99-based-standards] (PRIuLEAST8): Likewise.
17910 [C99-based-standards] (PRIxLEAST8): Likewise.
17911 [C99-based-standards] (PRIXLEAST8): Likewise.
17912 [C99-based-standards] (SCNdLEAST8): Likewise.
17913 [C99-based-standards] (SCNiLEAST8): Likewise.
17914 [C99-based-standards] (SCNoLEAST8): Likewise.
17915 [C99-based-standards] (SCNuLEAST8): Likewise.
17916 [C99-based-standards] (SCNxLEAST8): Likewise.
17917 [C99-based-standards] (PRIdFAST8): Likewise.
17918 [C99-based-standards] (PRIiFAST8): Likewise.
17919 [C99-based-standards] (PRIoFAST8): Likewise.
17920 [C99-based-standards] (PRIuFAST8): Likewise.
17921 [C99-based-standards] (PRIxFAST8): Likewise.
17922 [C99-based-standards] (PRIXFAST8): Likewise.
17923 [C99-based-standards] (SCNdFAST8): Likewise.
17924 [C99-based-standards] (SCNiFAST8): Likewise.
17925 [C99-based-standards] (SCNoFAST8): Likewise.
17926 [C99-based-standards] (SCNuFAST8): Likewise.
17927 [C99-based-standards] (SCNxFAST8): Likewise.
17928 [C99-based-standards] (PRId16): Likewise.
17929 [C99-based-standards] (PRIi16): Likewise.
17930 [C99-based-standards] (PRIo16): Likewise.
17931 [C99-based-standards] (PRIu16): Likewise.
17932 [C99-based-standards] (PRIx16): Likewise.
17933 [C99-based-standards] (PRIX16): Likewise.
17934 [C99-based-standards] (SCNd16): Likewise.
17935 [C99-based-standards] (SCNi16): Likewise.
17936 [C99-based-standards] (SCNo16): Likewise.
17937 [C99-based-standards] (SCNu16): Likewise.
17938 [C99-based-standards] (SCNx16): Likewise.
17939 [C99-based-standards] (PRIdLEAST16): Likewise.
17940 [C99-based-standards] (PRIiLEAST16): Likewise.
17941 [C99-based-standards] (PRIoLEAST16): Likewise.
17942 [C99-based-standards] (PRIuLEAST16): Likewise.
17943 [C99-based-standards] (PRIxLEAST16): Likewise.
17944 [C99-based-standards] (PRIXLEAST16): Likewise.
17945 [C99-based-standards] (SCNdLEAST16): Likewise.
17946 [C99-based-standards] (SCNiLEAST16): Likewise.
17947 [C99-based-standards] (SCNoLEAST16): Likewise.
17948 [C99-based-standards] (SCNuLEAST16): Likewise.
17949 [C99-based-standards] (SCNxLEAST16): Likewise.
17950 [C99-based-standards] (PRIdFAST16): Likewise.
17951 [C99-based-standards] (PRIiFAST16): Likewise.
17952 [C99-based-standards] (PRIoFAST16): Likewise.
17953 [C99-based-standards] (PRIuFAST16): Likewise.
17954 [C99-based-standards] (PRIxFAST16): Likewise.
17955 [C99-based-standards] (PRIXFAST16): Likewise.
17956 [C99-based-standards] (SCNdFAST16): Likewise.
17957 [C99-based-standards] (SCNiFAST16): Likewise.
17958 [C99-based-standards] (SCNoFAST16): Likewise.
17959 [C99-based-standards] (SCNuFAST16): Likewise.
17960 [C99-based-standards] (SCNxFAST16): Likewise.
17961 [C99-based-standards] (PRId32): Likewise.
17962 [C99-based-standards] (PRIi32): Likewise.
17963 [C99-based-standards] (PRIo32): Likewise.
17964 [C99-based-standards] (PRIu32): Likewise.
17965 [C99-based-standards] (PRIx32): Likewise.
17966 [C99-based-standards] (PRIX32): Likewise.
17967 [C99-based-standards] (SCNd32): Likewise.
17968 [C99-based-standards] (SCNi32): Likewise.
17969 [C99-based-standards] (SCNo32): Likewise.
17970 [C99-based-standards] (SCNu32): Likewise.
17971 [C99-based-standards] (SCNx32): Likewise.
17972 [C99-based-standards] (PRIdLEAST32): Likewise.
17973 [C99-based-standards] (PRIiLEAST32): Likewise.
17974 [C99-based-standards] (PRIoLEAST32): Likewise.
17975 [C99-based-standards] (PRIuLEAST32): Likewise.
17976 [C99-based-standards] (PRIxLEAST32): Likewise.
17977 [C99-based-standards] (PRIXLEAST32): Likewise.
17978 [C99-based-standards] (SCNdLEAST32): Likewise.
17979 [C99-based-standards] (SCNiLEAST32): Likewise.
17980 [C99-based-standards] (SCNoLEAST32): Likewise.
17981 [C99-based-standards] (SCNuLEAST32): Likewise.
17982 [C99-based-standards] (SCNxLEAST32): Likewise.
17983 [C99-based-standards] (PRIdFAST32): Likewise.
17984 [C99-based-standards] (PRIiFAST32): Likewise.
17985 [C99-based-standards] (PRIoFAST32): Likewise.
17986 [C99-based-standards] (PRIuFAST32): Likewise.
17987 [C99-based-standards] (PRIxFAST32): Likewise.
17988 [C99-based-standards] (PRIXFAST32): Likewise.
17989 [C99-based-standards] (SCNdFAST32): Likewise.
17990 [C99-based-standards] (SCNiFAST32): Likewise.
17991 [C99-based-standards] (SCNoFAST32): Likewise.
17992 [C99-based-standards] (SCNuFAST32): Likewise.
17993 [C99-based-standards] (SCNxFAST32): Likewise.
17994 [C99-based-standards] (PRId64): Likewise.
17995 [C99-based-standards] (PRIi64): Likewise.
17996 [C99-based-standards] (PRIo64): Likewise.
17997 [C99-based-standards] (PRIu64): Likewise.
17998 [C99-based-standards] (PRIx64): Likewise.
17999 [C99-based-standards] (PRIX64): Likewise.
18000 [C99-based-standards] (SCNd64): Likewise.
18001 [C99-based-standards] (SCNi64): Likewise.
18002 [C99-based-standards] (SCNo64): Likewise.
18003 [C99-based-standards] (SCNu64): Likewise.
18004 [C99-based-standards] (SCNx64): Likewise.
18005 [C99-based-standards] (PRIdLEAST64): Likewise.
18006 [C99-based-standards] (PRIiLEAST64): Likewise.
18007 [C99-based-standards] (PRIoLEAST64): Likewise.
18008 [C99-based-standards] (PRIuLEAST64): Likewise.
18009 [C99-based-standards] (PRIxLEAST64): Likewise.
18010 [C99-based-standards] (PRIXLEAST64): Likewise.
18011 [C99-based-standards] (SCNdLEAST64): Likewise.
18012 [C99-based-standards] (SCNiLEAST64): Likewise.
18013 [C99-based-standards] (SCNoLEAST64): Likewise.
18014 [C99-based-standards] (SCNuLEAST64): Likewise.
18015 [C99-based-standards] (SCNxLEAST64): Likewise.
18016 [C99-based-standards] (PRIdFAST64): Likewise.
18017 [C99-based-standards] (PRIiFAST64): Likewise.
18018 [C99-based-standards] (PRIoFAST64): Likewise.
18019 [C99-based-standards] (PRIuFAST64): Likewise.
18020 [C99-based-standards] (PRIxFAST64): Likewise.
18021 [C99-based-standards] (PRIXFAST64): Likewise.
18022 [C99-based-standards] (SCNdFAST64): Likewise.
18023 [C99-based-standards] (SCNiFAST64): Likewise.
18024 [C99-based-standards] (SCNoFAST64): Likewise.
18025 [C99-based-standards] (SCNuFAST64): Likewise.
18026 [C99-based-standards] (SCNxFAST64): Likewise.
18027 [C99-based-standards] (PRIdMAX): Likewise.
18028 [C99-based-standards] (PRIiMAX): Likewise.
18029 [C99-based-standards] (PRIoMAX): Likewise.
18030 [C99-based-standards] (PRIuMAX): Likewise.
18031 [C99-based-standards] (PRIxMAX): Likewise.
18032 [C99-based-standards] (PRIXMAX): Likewise.
18033 [C99-based-standards] (SCNdMAX): Likewise.
18034 [C99-based-standards] (SCNiMAX): Likewise.
18035 [C99-based-standards] (SCNoMAX): Likewise.
18036 [C99-based-standards] (SCNuMAX): Likewise.
18037 [C99-based-standards] (SCNxMAX): Likewise.
18038 [C99-based-standards] (PRIdPTR): Likewise.
18039 [C99-based-standards] (PRIiPTR): Likewise.
18040 [C99-based-standards] (PRIoPTR): Likewise.
18041 [C99-based-standards] (PRIuPTR): Likewise.
18042 [C99-based-standards] (PRIxPTR): Likewise.
18043 [C99-based-standards] (PRIXPTR): Likewise.
18044 [C99-based-standards] (SCNdPTR): Likewise.
18045 [C99-based-standards] (SCNiPTR): Likewise.
18046 [C99-based-standards] (SCNoPTR): Likewise.
18047 [C99-based-standards] (SCNuPTR): Likewise.
18048 [C99-based-standards] (SCNxPTR): Likewise.
18049 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18050 allow.
18051 * conform/data/stdint.h-data: Update comments to clarify
18052 requirements.
18053 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18054 type.
18055 [C99-based standards] (INT8_MAX): Likewise.
18056 [C99-based standards] (INT16_MIN): Likewise.
18057 [C99-based standards] (INT16_MAX): Likewise.
18058 [C99-based standards] (INT32_MIN): Likewise.
18059 [C99-based standards] (INT32_MAX): Likewise.
18060 [C99-based standards] (INT64_MIN): Likewise.
18061 [C99-based standards] (INT64_MAX): Likewise.
18062 [C99-based standards] (UINT8_MAX): Likewise.
18063 [C99-based standards] (UINT16_MAX): Likewise.
18064 [C99-based standards] (UINT32_MAX): Likewise.
18065 [C99-based standards] (UINT64_MAX): Likewise.
18066 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18067 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18068 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18069 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18070 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18071 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18072 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18073 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18074 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18075 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18076 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18077 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18078 [C99-based standards] (INT_FAST8_MIN): Likewise.
18079 [C99-based standards] (INT_FAST8_MAX): Likewise.
18080 [C99-based standards] (INT_FAST16_MIN): Likewise.
18081 [C99-based standards] (INT_FAST16_MAX): Likewise.
18082 [C99-based standards] (INT_FAST32_MIN): Likewise.
18083 [C99-based standards] (INT_FAST32_MAX): Likewise.
18084 [C99-based standards] (INT_FAST64_MIN): Likewise.
18085 [C99-based standards] (INT_FAST64_MAX): Likewise.
18086 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18087 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18088 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18089 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18090 [C99-based standards] (INTPTR_MIN): Likewise.
18091 [C99-based standards] (INTPTR_MAX): Likewise.
18092 [C99-based standards] (UINTPTR_MAX): Likewise.
18093 [C99-based standards] (INTMAX_MIN): Likewise.
18094 [C99-based standards] (INTMAX_MAX): Likewise.
18095 [C99-based standards] (UINTMAX_MAX): Likewise.
18096 [C99-based standards] (PTRDIFF_MIN): Likewise.
18097 [C99-based standards] (PTRDIFF_MAX): Likewise.
18098 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18099 [C99-based standards] (SIZE_MAX): Likewise.
18100 [C99-based standards] (WCHAR_MAX): Likewise.
18101 [C99-based standards] (WINT_MAX): Likewise.
18102 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18103 constraint on value.
18104 [C99-based standards] (WCHAR_MIN): Likewise.
18105 [C99-based standards] (WINT_MIN): Likewise.
18106 [C99-based standards] (*_t): Allow.
18107 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18108 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18109 Include math.h-data and complex.h-data. Remove all expectations
18110 of math.h and complex.h contents.
18111 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18112 at end of line.
18113 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18114 (struct tm): Expect tag.
18115 [C99-based-standards] (wcstof): Expect function.
18116 [C99-based-standards] (wcstold): Likewise.
18117 [C99-based-standards] (wcstoll): Likewise.
18118 [C99-based-standards] (wcstoull): Likewise.
18119 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18120 macro-int-constant. Specify type.
18121 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18122 constraint on value.
18123 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18124 Specify type.
18125 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18126 Specify value.
18127 [ISO C standards]: Do not allow headers.
18128 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18129 wcs[abcdefghijklmnopqrstuvwxyz]*.
18130 [ISO C standards] (*_t): Do not allow.
18131 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18132 Expect function.
18133 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18134 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18135 Specify type.
18136 [ISO C standards]: Do not allow headers.
18137 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18138 is[abcdefghijklmnopqrstuvwxyz]*.
18139 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18140 to[abcdefghijklmnopqrstuvwxyz]*.
18141 [ISO C standards] (*_t): Do not allow.
18142 * conform/data/stdalign.h-data: New file.
18143 * conform/data/stdbool.h-data: Likewise.
18144 * conform/data/stdnoreturn.h-data: Likewise.
18145
7514feb8
RM
181462012-11-07 Roland McGrath <roland@hack.frob.com>
18147
18148 [BZ #14815]
18149 * manual/filesys.texi (Directory Entries): Typo fix.
18150 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18151
19b2ecfc
MS
181522012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18153
18154 * elf/elf.h (EM_AARCH64): New macro.
18155 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18156 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18157 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18158 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18159 (R_AARCH64_TLSDESC): Likewise.
18160 (NT_ARM_TLS): Likewise.
18161 (NT_ARM_HW_BREAK): Likewise.
18162 (NT_ARM_HW_WATCH): Likewise.
18163
60e235ee
JM
181642012-11-07 Joseph Myers <joseph@codesourcery.com>
18165
18166 [BZ #14811]
18167 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18168 (__ieee754_powl): Saturate nonzero exponents with absolute value
18169 below 0x1p-79 to +/- 0x1p-79.
18170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18171 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18172 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18173 nonzero exponents with absolute value below 0x1p-32 to +/-
18174 0x1p-32.
18175 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18176 (__ieee754_powl): Saturate nonzero exponents with absolute value
18177 below 0x1p-79 to +/- 0x1p-79.
18178 * math/libm-test.inc (pow_test): Add more tests.
18179
0ab234b7
AK
181802012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18181
18182 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18183 _dl_s390_cap_flags with kernel. Increase string length.
18184 (_dl_s390_platforms): Add z196 and zEC12.
18185
45832f74
JM
181862012-11-07 Joseph Myers <joseph@codesourcery.com>
18187
18188 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18189 Change XOPEN21K to XOPEN2K.
18190
19218757
MK
181912012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18192
18193 * string/memmove.c: Use memcpy when possible.
18194
c5f45721
AJ
181952012-11-06 Andreas Jaeger <aj@suse.de>
18196
18197 * po/eo.po: Update from translation team.
18198
82477c28
JM
181992012-11-06 Joseph Myers <joseph@codesourcery.com>
18200
18201 [BZ #14793]
18202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18203 exponent and small x and y exponents, scale x or y up. Increase
18204 by 2 the exponent used in scaling up.
18205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18206 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18207 * math/libm-test.inc (fma_test): Add more tests.
18208 (fma_test_towardzero): Likewise.
18209 (fma_test_downward): Likewise.
18210 (fma_test_upward): Likewise.
18211
99252c8c
JM
182122012-11-05 Joseph Myers <joseph@codesourcery.com>
18213
acfa885f
JM
18214 [BZ #14805]
18215 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18216 fenv_t *.
18217
99252c8c
JM
18218 [BZ #14801]
18219 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18220 namespace for names of struct fields.
18221 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18222 fenv_t fields.
18223 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18224 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18225
d6d98dea
ST
182262012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18227
18228 [BZ #3665]
18229 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18230
e10bb107
TS
182312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18232
18233 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18234 PTR_DEMANGLE.
18235
18236 [BZ #5246]
18237 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18238 PTR_DEMANGLE.
18239
a0c2940d
JM
182402012-11-04 Joseph Myers <joseph@codesourcery.com>
18241
18242 [BZ #14797]
18243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18244 definitely overflow as x * y not x * y + z.
18245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18247 * math/libm-test.inc (fma_test): Add more tests.
18248 (fma_test_towardzero): Likewise.
18249 (fma_test_downward): Likewise.
18250 (fma_test_upward): Likewise.
18251
b830319d
TS
182522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18253
18254 [BZ #157]
18255
18256 * include/stub-tag.h: Remove file.
18257 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18258 '#include' of it.
18259 * manual/maint.texi (Porting): Don't reference it.
18260 * Makerules ($(objpfx)stubs): Likewise.
18261 * dirent/closedir.c: Don't include <stub-tag.h>.
18262 * dirent/dirfd.c: Likewise.
18263 * dirent/fdopendir.c: Likewise.
18264 * dirent/getdents.c: Likewise.
18265 * dirent/getdents64.c: Likewise.
18266 * dirent/opendir.c: Likewise.
18267 * dirent/readdir.c: Likewise.
18268 * dirent/readdir64.c: Likewise.
18269 * dirent/readdir64_r.c: Likewise.
18270 * dirent/readdir_r.c: Likewise.
18271 * dirent/rewinddir.c: Likewise.
18272 * dirent/seekdir.c: Likewise.
18273 * dirent/telldir.c: Likewise.
18274 * gmon/profil.c: Likewise.
18275 * grp/setgroups.c: Likewise.
18276 * inet/if_index.c: Likewise.
18277 * io/access.c: Likewise.
18278 * io/chdir.c: Likewise.
18279 * io/chmod.c: Likewise.
18280 * io/chown.c: Likewise.
18281 * io/close.c: Likewise.
18282 * io/dup.c: Likewise.
18283 * io/dup2.c: Likewise.
18284 * io/dup3.c: Likewise.
18285 * io/euidaccess.c: Likewise.
18286 * io/faccessat.c: Likewise.
18287 * io/fchdir.c: Likewise.
18288 * io/fchmod.c: Likewise.
18289 * io/fchmodat.c: Likewise.
18290 * io/fchown.c: Likewise.
18291 * io/fchownat.c: Likewise.
18292 * io/fcntl.c: Likewise.
18293 * io/flock.c: Likewise.
18294 * io/fstatfs.c: Likewise.
18295 * io/fstatfs64.c: Likewise.
18296 * io/fstatvfs.c: Likewise.
18297 * io/fstatvfs64.c: Likewise.
18298 * io/futimens.c: Likewise.
18299 * io/fxstat.c: Likewise.
18300 * io/fxstat64.c: Likewise.
18301 * io/fxstatat.c: Likewise.
18302 * io/fxstatat64.c: Likewise.
18303 * io/getcwd.c: Likewise.
18304 * io/isatty.c: Likewise.
18305 * io/lchmod.c: Likewise.
18306 * io/lchown.c: Likewise.
18307 * io/link.c: Likewise.
18308 * io/linkat.c: Likewise.
18309 * io/lseek.c: Likewise.
18310 * io/lseek64.c: Likewise.
18311 * io/lxstat64.c: Likewise.
18312 * io/mkdir.c: Likewise.
18313 * io/mkdirat.c: Likewise.
18314 * io/mkfifo.c: Likewise.
18315 * io/mkfifoat.c: Likewise.
18316 * io/open.c: Likewise.
18317 * io/open64.c: Likewise.
18318 * io/openat.c: Likewise.
18319 * io/openat64.c: Likewise.
18320 * io/pipe.c: Likewise.
18321 * io/pipe2.c: Likewise.
18322 * io/poll.c: Likewise.
18323 * io/posix_fadvise.c: Likewise.
18324 * io/posix_fadvise64.c: Likewise.
18325 * io/posix_fallocate.c: Likewise.
18326 * io/posix_fallocate64.c: Likewise.
18327 * io/read.c: Likewise.
18328 * io/readlink.c: Likewise.
18329 * io/readlinkat.c: Likewise.
18330 * io/rmdir.c: Likewise.
18331 * io/sendfile.c: Likewise.
18332 * io/sendfile64.c: Likewise.
18333 * io/statfs.c: Likewise.
18334 * io/statfs64.c: Likewise.
18335 * io/statvfs.c: Likewise.
18336 * io/statvfs64.c: Likewise.
18337 * io/symlink.c: Likewise.
18338 * io/symlinkat.c: Likewise.
18339 * io/ttyname.c: Likewise.
18340 * io/ttyname_r.c: Likewise.
18341 * io/umask.c: Likewise.
18342 * io/unlink.c: Likewise.
18343 * io/unlinkat.c: Likewise.
18344 * io/utime.c: Likewise.
18345 * io/utimensat.c: Likewise.
18346 * io/write.c: Likewise.
18347 * io/xmknod.c: Likewise.
18348 * io/xmknodat.c: Likewise.
18349 * io/xstat.c: Likewise.
18350 * io/xstat64.c: Likewise.
18351 * login/getpt.c: Likewise.
18352 * login/grantpt.c: Likewise.
18353 * login/unlockpt.c: Likewise.
18354 * math/e_acoshl.c: Likewise.
18355 * math/e_acosl.c: Likewise.
18356 * math/e_asinl.c: Likewise.
18357 * math/e_atan2l.c: Likewise.
18358 * math/e_atanhl.c: Likewise.
18359 * math/e_coshl.c: Likewise.
18360 * math/e_expl.c: Likewise.
18361 * math/e_fmodl.c: Likewise.
18362 * math/e_gammal_r.c: Likewise.
18363 * math/e_hypotl.c: Likewise.
18364 * math/e_j0l.c: Likewise.
18365 * math/e_j1l.c: Likewise.
18366 * math/e_jnl.c: Likewise.
18367 * math/e_lgammal_r.c: Likewise.
18368 * math/e_log10l.c: Likewise.
18369 * math/e_log2l.c: Likewise.
18370 * math/e_logl.c: Likewise.
18371 * math/e_powl.c: Likewise.
18372 * math/e_rem_pio2l.c: Likewise.
18373 * math/e_sinhl.c: Likewise.
18374 * math/e_sqrtl.c: Likewise.
18375 * math/fclrexcpt.c: Likewise.
18376 * math/fedisblxcpt.c: Likewise.
18377 * math/feenablxcpt.c: Likewise.
18378 * math/fegetenv.c: Likewise.
18379 * math/fegetexcept.c: Likewise.
18380 * math/fegetround.c: Likewise.
18381 * math/feholdexcpt.c: Likewise.
18382 * math/fesetenv.c: Likewise.
18383 * math/fesetround.c: Likewise.
18384 * math/feupdateenv.c: Likewise.
18385 * math/fgetexcptflg.c: Likewise.
18386 * math/fraiseexcpt.c: Likewise.
18387 * math/fsetexcptflg.c: Likewise.
18388 * math/ftestexcept.c: Likewise.
18389 * math/k_cosl.c: Likewise.
18390 * math/k_rem_pio2l.c: Likewise.
18391 * math/k_sinl.c: Likewise.
18392 * math/k_tanl.c: Likewise.
18393 * math/s_asinhl.c: Likewise.
18394 * math/s_atanl.c: Likewise.
18395 * math/s_cbrtl.c: Likewise.
18396 * math/s_erfl.c: Likewise.
18397 * math/s_expm1l.c: Likewise.
18398 * math/s_log1pl.c: Likewise.
18399 * math/s_tanhl.c: Likewise.
18400 * misc/acct.c: Likewise.
18401 * misc/brk.c: Likewise.
18402 * misc/chflags.c: Likewise.
18403 * misc/chroot.c: Likewise.
18404 * misc/fchflags.c: Likewise.
18405 * misc/fgetxattr.c: Likewise.
18406 * misc/flistxattr.c: Likewise.
18407 * misc/fremovexattr.c: Likewise.
18408 * misc/fsetxattr.c: Likewise.
18409 * misc/fsync.c: Likewise.
18410 * misc/ftruncate.c: Likewise.
18411 * misc/futimes.c: Likewise.
18412 * misc/futimesat.c: Likewise.
18413 * misc/getdomain.c: Likewise.
18414 * misc/getdtsz.c: Likewise.
18415 * misc/gethostid.c: Likewise.
18416 * misc/gethostname.c: Likewise.
18417 * misc/getloadavg.c: Likewise.
18418 * misc/getpagesize.c: Likewise.
18419 * misc/getsysstats.c: Likewise.
18420 * misc/getxattr.c: Likewise.
18421 * misc/gtty.c: Likewise.
18422 * misc/ioctl.c: Likewise.
18423 * misc/lgetxattr.c: Likewise.
18424 * misc/listxattr.c: Likewise.
18425 * misc/llistxattr.c: Likewise.
18426 * misc/lremovexattr.c: Likewise.
18427 * misc/lsetxattr.c: Likewise.
18428 * misc/lutimes.c: Likewise.
18429 * misc/madvise.c: Likewise.
18430 * misc/mincore.c: Likewise.
18431 * misc/mlock.c: Likewise.
18432 * misc/mlockall.c: Likewise.
18433 * misc/mmap.c: Likewise.
18434 * misc/mprotect.c: Likewise.
18435 * misc/msync.c: Likewise.
18436 * misc/munlock.c: Likewise.
18437 * misc/munlockall.c: Likewise.
18438 * misc/munmap.c: Likewise.
18439 * misc/preadv.c: Likewise.
18440 * misc/preadv64.c: Likewise.
18441 * misc/ptrace.c: Likewise.
18442 * misc/pwritev.c: Likewise.
18443 * misc/pwritev64.c: Likewise.
18444 * misc/readv.c: Likewise.
18445 * misc/reboot.c: Likewise.
18446 * misc/remap_file_pages.c: Likewise.
18447 * misc/removexattr.c: Likewise.
18448 * misc/revoke.c: Likewise.
18449 * misc/select.c: Likewise.
18450 * misc/setdomain.c: Likewise.
18451 * misc/setegid.c: Likewise.
18452 * misc/seteuid.c: Likewise.
18453 * misc/sethostid.c: Likewise.
18454 * misc/sethostname.c: Likewise.
18455 * misc/setregid.c: Likewise.
18456 * misc/setreuid.c: Likewise.
18457 * misc/setxattr.c: Likewise.
18458 * misc/sstk.c: Likewise.
18459 * misc/stty.c: Likewise.
18460 * misc/swapoff.c: Likewise.
18461 * misc/swapon.c: Likewise.
18462 * misc/sync.c: Likewise.
18463 * misc/syncfs.c: Likewise.
18464 * misc/syscall.c: Likewise.
18465 * misc/truncate.c: Likewise.
18466 * misc/ualarm.c: Likewise.
18467 * misc/usleep.c: Likewise.
18468 * misc/ustat.c: Likewise.
18469 * misc/utimes.c: Likewise.
18470 * misc/vhangup.c: Likewise.
18471 * misc/writev.c: Likewise.
18472 * posix/_exit.c: Likewise.
18473 * posix/alarm.c: Likewise.
18474 * posix/execve.c: Likewise.
18475 * posix/fexecve.c: Likewise.
18476 * posix/fork.c: Likewise.
18477 * posix/fpathconf.c: Likewise.
18478 * posix/getaddrinfo.c: Likewise.
18479 * posix/getegid.c: Likewise.
18480 * posix/geteuid.c: Likewise.
18481 * posix/getgid.c: Likewise.
18482 * posix/getgroups.c: Likewise.
18483 * posix/getlogin.c: Likewise.
18484 * posix/getlogin_r.c: Likewise.
18485 * posix/getpgid.c: Likewise.
18486 * posix/getpid.c: Likewise.
18487 * posix/getppid.c: Likewise.
18488 * posix/getresgid.c: Likewise.
18489 * posix/getresuid.c: Likewise.
18490 * posix/getsid.c: Likewise.
18491 * posix/getuid.c: Likewise.
18492 * posix/glob64.c: Likewise.
18493 * posix/nanosleep.c: Likewise.
18494 * posix/pathconf.c: Likewise.
18495 * posix/pause.c: Likewise.
18496 * posix/posix_madvise.c: Likewise.
18497 * posix/pread.c: Likewise.
18498 * posix/pread64.c: Likewise.
18499 * posix/pwrite.c: Likewise.
18500 * posix/pwrite64.c: Likewise.
18501 * posix/sched_getaffinity.c: Likewise.
18502 * posix/sched_getp.c: Likewise.
18503 * posix/sched_gets.c: Likewise.
18504 * posix/sched_primax.c: Likewise.
18505 * posix/sched_primin.c: Likewise.
18506 * posix/sched_rr_gi.c: Likewise.
18507 * posix/sched_setaffinity.c: Likewise.
18508 * posix/sched_setp.c: Likewise.
18509 * posix/sched_sets.c: Likewise.
18510 * posix/sched_yield.c: Likewise.
18511 * posix/setgid.c: Likewise.
18512 * posix/setlogin.c: Likewise.
18513 * posix/setpgid.c: Likewise.
18514 * posix/setresgid.c: Likewise.
18515 * posix/setresuid.c: Likewise.
18516 * posix/setsid.c: Likewise.
18517 * posix/setuid.c: Likewise.
18518 * posix/sleep.c: Likewise.
18519 * posix/spawni.c: Likewise.
18520 * posix/sysconf.c: Likewise.
18521 * posix/times.c: Likewise.
18522 * posix/wait.c: Likewise.
18523 * posix/wait3.c: Likewise.
18524 * posix/wait4.c: Likewise.
18525 * posix/waitpid.c: Likewise.
18526 * resolv/gai_sigqueue.c: Likewise.
18527 * resource/getpriority.c: Likewise.
18528 * resource/getrlimit.c: Likewise.
18529 * resource/getrusage.c: Likewise.
18530 * resource/nice.c: Likewise.
18531 * resource/setpriority.c: Likewise.
18532 * resource/setrlimit.c: Likewise.
18533 * resource/ulimit.c: Likewise.
18534 * rt/aio_cancel.c: Likewise.
18535 * rt/aio_fsync.c: Likewise.
18536 * rt/aio_read.c: Likewise.
18537 * rt/aio_sigqueue.c: Likewise.
18538 * rt/aio_suspend.c: Likewise.
18539 * rt/aio_write.c: Likewise.
18540 * rt/clock_getres.c: Likewise.
18541 * rt/clock_gettime.c: Likewise.
18542 * rt/clock_nanosleep.c: Likewise.
18543 * rt/clock_settime.c: Likewise.
18544 * rt/lio_listio.c: Likewise.
18545 * rt/mq_close.c: Likewise.
18546 * rt/mq_getattr.c: Likewise.
18547 * rt/mq_notify.c: Likewise.
18548 * rt/mq_open.c: Likewise.
18549 * rt/mq_receive.c: Likewise.
18550 * rt/mq_send.c: Likewise.
18551 * rt/mq_setattr.c: Likewise.
18552 * rt/mq_timedreceive.c: Likewise.
18553 * rt/mq_timedsend.c: Likewise.
18554 * rt/mq_unlink.c: Likewise.
18555 * rt/shm_open.c: Likewise.
18556 * rt/shm_unlink.c: Likewise.
18557 * rt/timer_create.c: Likewise.
18558 * rt/timer_delete.c: Likewise.
18559 * rt/timer_getoverr.c: Likewise.
18560 * rt/timer_gettime.c: Likewise.
18561 * rt/timer_settime.c: Likewise.
18562 * setjmp/__longjmp.c: Likewise.
18563 * setjmp/setjmp.c: Likewise.
18564 * signal/kill.c: Likewise.
18565 * signal/killpg.c: Likewise.
18566 * signal/raise.c: Likewise.
18567 * signal/sigaction.c: Likewise.
18568 * signal/sigaltstack.c: Likewise.
18569 * signal/sigblock.c: Likewise.
18570 * signal/sigignore.c: Likewise.
18571 * signal/sigintr.c: Likewise.
18572 * signal/signal.c: Likewise.
18573 * signal/sigpause.c: Likewise.
18574 * signal/sigpending.c: Likewise.
18575 * signal/sigqueue.c: Likewise.
18576 * signal/sigreturn.c: Likewise.
18577 * signal/sigset.c: Likewise.
18578 * signal/sigsetmask.c: Likewise.
18579 * signal/sigstack.c: Likewise.
18580 * signal/sigsuspend.c: Likewise.
18581 * signal/sigtimedwait.c: Likewise.
18582 * signal/sigvec.c: Likewise.
18583 * signal/sigwait.c: Likewise.
18584 * signal/sigwaitinfo.c: Likewise.
18585 * signal/sysv_signal.c: Likewise.
18586 * socket/accept.c: Likewise.
18587 * socket/accept4.c: Likewise.
18588 * socket/bind.c: Likewise.
18589 * socket/connect.c: Likewise.
18590 * socket/getpeername.c: Likewise.
18591 * socket/getsockname.c: Likewise.
18592 * socket/getsockopt.c: Likewise.
18593 * socket/isfdtype.c: Likewise.
18594 * socket/listen.c: Likewise.
18595 * socket/recv.c: Likewise.
18596 * socket/recvfrom.c: Likewise.
18597 * socket/recvmsg.c: Likewise.
18598 * socket/send.c: Likewise.
18599 * socket/sendmsg.c: Likewise.
18600 * socket/sendto.c: Likewise.
18601 * socket/setsockopt.c: Likewise.
18602 * socket/shutdown.c: Likewise.
18603 * socket/sockatmark.c: Likewise.
18604 * socket/socket.c: Likewise.
18605 * socket/socketpair.c: Likewise.
18606 * stdio-common/ctermid.c: Likewise.
18607 * stdio-common/cuserid.c: Likewise.
18608 * stdio-common/remove.c: Likewise.
18609 * stdio-common/rename.c: Likewise.
18610 * stdio-common/renameat.c: Likewise.
18611 * stdio-common/tempname.c: Likewise.
18612 * stdlib/getcontext.c: Likewise.
18613 * stdlib/makecontext.c: Likewise.
18614 * stdlib/setcontext.c: Likewise.
18615 * stdlib/swapcontext.c: Likewise.
18616 * stdlib/system.c: Likewise.
18617 * streams/fattach.c: Likewise.
18618 * streams/fdetach.c: Likewise.
18619 * streams/getmsg.c: Likewise.
18620 * streams/getpmsg.c: Likewise.
18621 * streams/putmsg.c: Likewise.
18622 * streams/putpmsg.c: Likewise.
18623 * sysdeps/unix/bsd/getpt.c: Likewise.
18624 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
18625 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
18626 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
18628 Likewise.
18629 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
18630 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
18631 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
18632 * sysvipc/msgctl.c: Likewise.
18633 * sysvipc/msgget.c: Likewise.
18634 * sysvipc/msgrcv.c: Likewise.
18635 * sysvipc/msgsnd.c: Likewise.
18636 * sysvipc/semctl.c: Likewise.
18637 * sysvipc/semget.c: Likewise.
18638 * sysvipc/semop.c: Likewise.
18639 * sysvipc/semtimedop.c: Likewise.
18640 * sysvipc/shmat.c: Likewise.
18641 * sysvipc/shmctl.c: Likewise.
18642 * sysvipc/shmdt.c: Likewise.
18643 * sysvipc/shmget.c: Likewise.
18644 * termios/tcdrain.c: Likewise.
18645 * termios/tcflow.c: Likewise.
18646 * termios/tcflush.c: Likewise.
18647 * termios/tcgetattr.c: Likewise.
18648 * termios/tcgetpgrp.c: Likewise.
18649 * termios/tcsendbrk.c: Likewise.
18650 * termios/tcsetattr.c: Likewise.
18651 * termios/tcsetpgrp.c: Likewise.
18652 * time/adjtime.c: Likewise.
18653 * time/clock.c: Likewise.
18654 * time/getitimer.c: Likewise.
18655 * time/gettimeofday.c: Likewise.
18656 * time/setitimer.c: Likewise.
18657 * time/settimeofday.c: Likewise.
18658 * time/stime.c: Likewise.
18659 * time/time.c: Likewise.
18660
186612012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 18662
a20492cf
PT
18663 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
18664 /usr/old/bin.
18665
72e182e3
PT
18666 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
18667 instead of spaces.
18668 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18669
fbeafede
JM
186702012-11-03 Joseph Myers <joseph@codesourcery.com>
18671
5b5b04d6
JM
18672 [BZ #14796]
18673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18674 FE_TONEAREST before applying Dekker multiplication and Knuth
18675 addition. Clear inexact exceptions and check for exact zero
18676 results afterwards.
18677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18678 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18679 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18680 * math/libm-test.inc (fma_test): Add more tests.
18681 (fma_test_towardzero): Likewise.
18682 (fma_test_downward): Likewise.
18683 (fma_test_upward): Likewise.
18684 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18685 function.
18686 (libc_fesetround): New macro.
18687 (libc_fesetroundf): Likewise.
18688 (libc_fesetroundl): Likewise.
18689 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18690 function.
18691 (libc_fesetround_387): Likewise.
18692 (libc_fesetroundf): New macro.
18693 (libc_fesetround): Likewise.
18694 (libc_fesetroundl): Likewise.
18695 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18696 function.
18697 (libc_fesetroundf): New macro.
18698 (libc_fesetround): Likewise.
18699 (libc_fesetroundl): Likewise.
18700 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18701 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18702 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18703 libm_hidden_ver.
18704 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18705 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18706 libm_hidden_def.
18707 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18708 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18709 libm_hidden_ver.
18710 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18711 libm_hidden_def.
18712
fbeafede
JM
18713 [BZ #3439]
18714 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18715 integer constant usable in #if and use that to give value to enum
18716 constant.
18717 (FE_DIVBYZERO): Likewise.
18718 (FE_UNDERFLOW): Likewise.
18719 (FE_OVERFLOW): Likewise.
18720 (FE_INVALID): Likewise.
18721 (FE_INVALID_SNAN): Likewise.
18722 (FE_INVALID_ISI): Likewise.
18723 (FE_INVALID_IDI): Likewise.
18724 (FE_INVALID_ZDZ): Likewise.
18725 (FE_INVALID_IMZ): Likewise.
18726 (FE_INVALID_COMPARE): Likewise.
18727 (FE_INVALID_SOFTWARE): Likewise.
18728 (FE_INVALID_SQRT): Likewise.
18729 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18730 (FE_TONEAREST): Likewise.
18731 (FE_TOWARDZERO): Likewise.
18732 (FE_UPWARD): Likewise.
18733 (FE_DOWNWARD): Likewise.
18734 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18735 (FE_DIVBYZERO): Likewise.
18736 (FE_OVERFLOW): Likewise.
18737 (FE_UNDERFLOW): Likewise.
18738 (FE_INEXACT): Likewise.
18739 (FE_TONEAREST): Likewise.
18740 (FE_DOWNWARD): Likewise.
18741 (FE_UPWARD): Likewise.
18742 (FE_TOWARDZERO): Likewise.
18743 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18744 (FE_UNDERFLOW): Likewise.
18745 (FE_OVERFLOW): Likewise.
18746 (FE_DIVBYZERO): Likewise.
18747 (FE_INVALID): Likewise.
18748 (FE_TONEAREST): Likewise.
18749 (FE_TOWARDZERO): Likewise.
18750 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18751 (FE_OVERFLOW): Likewise.
18752 (FE_UNDERFLOW): Likewise.
18753 (FE_DIVBYZERO): Likewise.
18754 (FE_INEXACT): Likewise.
18755 (FE_TONEAREST): Likewise.
18756 (FE_TOWARDZERO): Likewise.
18757 (FE_UPWARD): Likewise.
18758 (FE_DOWNWARD): Likewise.
18759 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18760 (FE_DIVBYZERO): Likewise.
18761 (FE_OVERFLOW): Likewise.
18762 (FE_UNDERFLOW): Likewise.
18763 (FE_INEXACT): Likewise.
18764 (FE_TONEAREST): Likewise.
18765 (FE_DOWNWARD): Likewise.
18766 (FE_UPWARD): Likewise.
18767 (FE_TOWARDZERO): Likewise.
18768
105ca950
CM
187692012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18770
18771 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18772
a542b389
AS
187732012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18774
18775 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18776 commands. Quote $PWD.
18777 (blacklist_exports): Don't use remove_newlines. Replace "declare
18778 -x" by "export".
18779 (remove_newlines): Remove.
18780
f62c8abc
L
187812012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18782
18783 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18784 * stdlib/stdlib.h (atof): Moved to ...
18785 * include/bits/stdlib-float.h: Here. New file.
18786 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18787 * stdlib/bits/stdlib-float.h: New file.
18788 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18789 -mno-sse -mno-mmx.
18790 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18791 <xmmintrin.h>.
18792
0155d5b2
JM
187932012-11-02 Joseph Myers <joseph@codesourcery.com>
18794
a68d0680
JM
18795 * conform/conformtest.pl (@headers): Add fenv.h.
18796 * conform/data/fenv.h-data: New file.
18797 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18798 include of <math/fenv.h>.
18799
caf7f573
JM
18800 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18801 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18802 && !UNIX98]. Enables tests for XOPEN2K8.
18803 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18804 POSIX2008]: Likewise.
18805
6c073ad6
JM
18806 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18807 (struct rusage): Do not expect type or its members.
18808
0155d5b2
JM
18809 [BZ #3439]
18810 * math/math.h (FP_NAN): Define macro to integer constant usable in
18811 #if and use that to give value to enum constant.
18812 (FP_INFINITE): Likewise.
18813 (FP_ZERO): Likewise.
18814 (FP_SUBNORMAL): Likewise.
18815 (FP_NORMAL): Likewise.
18816
b5dcacb4
AS
188172012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18818
18819 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18820 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18821 arguments.
18822
f7934be8
RM
188232012-11-02 Roland McGrath <roland@hack.frob.com>
18824
18825 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18826 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18827 autoconf-time if not.
18828 * configure.in: Remove AC_PREREQ.
18829
d7d08bde
TMQMF
188302012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18831
18832 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18833 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18834 of the internal implementation.
18835
dcdae19a
JM
188362012-11-02 Joseph Myers <joseph@codesourcery.com>
18837
18838 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18839 except include of <misc/sys/syslog.h>.
18840
d6cffd3e
AS
188412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18842
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18844 function returns with a NULL context exit with zero.
18845
b3563932
TMQMF
188462012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18847
18848 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18849
b288a93d
L
188502012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18851
18852 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18853 (run_program_cmd): This.
18854 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18855 (tst_langinfo): New variable. Use it.
18856
a2421a68
SAS
188572012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18858
18859 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18860 floating point opcodes.
18861
6f796e1b
TS
188622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18863
7402596b
TS
18864 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18865 variable.
18866
d0d4f868
TS
18867 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18868
6f796e1b
TS
18869 * sysdeps/mach/hurd/powerpc: Remove directory.
18870 * sysdeps/mach/powerpc: Likewise.
18871
4da224a2
AS
188722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18873
18874 * scripts/check-local-headers.sh: Ignore c++ headers.
18875
341dd673
TS
188762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18877
18878 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18879 __libc_cleanup_region_start argument.
18880
473611b2
JM
188812012-11-01 Joseph Myers <joseph@codesourcery.com>
18882
18883 [BZ #14784]
18884 [BZ #14785]
18885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18886 x * y using scaling, not as x * y + z.
18887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18888 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18889 * math/libm-test.inc (fma_test): Add more tests.
18890 (fma_test_towardzero): Likewise.
18891 (fma_test_downward): Likewise.
18892 (fma_test_upward): Likewise.
18893
4078da3d
TS
188942012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18895
18896 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18897
903252aa
JM
188982012-10-31 Joseph Myers <joseph@codesourcery.com>
18899
18900 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18901 New variable.
18902
cbc818d0
TS
189032012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18904
18905 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18906
5a03cb1e
AS
189072012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18908
18909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18910 Fix sort order.
18911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18912 Likewise.
18913
90aff2ff
TMQMF
189142012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18915
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18917 Fix the order of the list for glibc 2.17.
18918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18919 Likewise.
18920
1818fcb7
AS
189212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18922
18923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18924
ef82f4da
JM
189252012-10-31 Joseph Myers <joseph@codesourcery.com>
18926
16a0e2ec
JM
18927 [BZ #14610]
18928 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18929 for low part of x being zero before using __atanl (y).
18930 * math/libm-test.inc (atan2_test): Add another test.
18931
0eb69512
JM
18932 * manual/install.texi (Configuring and compiling): Document
18933 general use of test-wrapper and test-wrapper-env.
18934 * INSTALL: Regenerated.
18935
ef82f4da
JM
18936 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18937 (__fma): Do not extract and scale down low bits on after-rounding
18938 systems when result rounded to normal precision would have normal
18939 exponent.
18940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18941 (__fmal): Do not extract and scale down low bits on after-rounding
18942 systems when result rounded to normal precision would have normal
18943 exponent.
18944 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18945 (__fmal): Do not extract and scale down low bits on after-rounding
18946 systems when result rounded to normal precision would have normal
18947 exponent.
18948 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18949 macro.
18950 (fma_test): Add more tests.
18951 (fma_test_towardzero): Likewise.
18952 (fma_test_downward): Likewise.
18953 (fma_test_upward): Likewise.
18954
954ef0d9
L
189552012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18956
18957 * sysdeps/i386/tininess.h: Renamed to ...
18958 * sysdeps/x86/tininess.h: This.
18959 * sysdeps/x86_64/tininess.h: Removed.
18960
df61ffb2
JM
189612012-10-30 Joseph Myers <joseph@codesourcery.com>
18962
18963 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18964 input. Use $(build-program-cmd).
18965 ($(objpfx)tst-array1-static.out): Likewise.
18966 ($(objpfx)tst-array2.out): Likewise.
18967 ($(objpfx)tst-array3.out): Likewise.
18968 ($(objpfx)tst-array4.out): Likewise.
18969 ($(objpfx)tst-array5.out): Likewise.
18970 ($(objpfx)tst-array5-static.out): Likewise.
18971
01767843
CM
189722012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18973
47cc1490
CM
18974 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18975 if defined.
18976
01767843
CM
18977 * nss/nsswitch.h (nss_interface_function): Provide new
18978 macro for use with NSS functions.
18979 * grp/initgroups.c: Use new macro.
18980 * nss/getXXbyYY.c: Likewise.
18981 * nss/getXXbyYY_r.c: Likewise.
18982 * nss/getXXent.c: Likewise.
18983 * nss/getXXent_r.c: Likewise.
18984 * sysdeps/posix/getaddrinfo.c: Likewise.
18985
8321aa97
AJ
189862012-10-30 Andreas Jaeger <aj@suse.de>
18987
18988 * po/ru.po: Update Russion translation from translation project.
18989
2a27fd6d
JM
189902012-10-30 Joseph Myers <joseph@codesourcery.com>
18991
8627a232
JM
18992 [BZ #14152]
18993 [BZ #14783]
18994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18995 result and shift together with sticky bit instead of replicating
18996 round-to-nearest rounding.
18997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18998 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18999 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19000 missing underflow exceptions.
19001 (fma_test_towardzero): Add more tests.
19002 (fma_test_downward): Likewise.
19003 (fma_test_upward): Likewise.
19004
2a27fd6d
JM
19005 [BZ #14047]
19006 * sysdeps/generic/tininess.h: New file.
19007 * sysdeps/i386/tininess.h: Likewise.
19008 * sysdeps/sh/tininess.h: Likewise.
19009 * sysdeps/x86_64/tininess.h: Likewise.
19010 * stdlib/tst-strtod-underflow.c: Likewise.
19011 * stdlib/tst-tininess.c: Likewise.
19012 * stdlib/strtod_l.c: Include <tininess.h>.
19013 (round_and_return): Do not set errno for exact underflow cases.
19014 Force an underflow exception when setting errno for underflow.
19015 Determine underflow based on rounding to normal precision if
19016 TININESS_AFTER_ROUNDING.
19017 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19018 ERANGE for exact underflow cases.
19019 * stdlib/Makefile (tests): Add tst-tininess and
19020 tst-strtod-underflow.
19021 ($(objpfx)tst-tininess): Use $(link-libm).
19022 ($(objpfx)tst-strtod-underflow): Likewise.
19023
e7170363
AJ
190242012-10-30 Andreas Jaeger <aj@suse.de>
19025
e5088dc6
AJ
19026 [BZ#14767]
19027 * elf/Makefile (tests): Remove conditional for have-initfini-array
19028 since this is now always required and the variable does not exist
19029 anymore.
19030 (tests-static): Likewise.
19031 (modules-names): Likewise.
19032
e7170363 19033 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19034
19035 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19036 merged with constructor/destructor.
19037 (init_array): Likewise.
19038 * elf/tst-array2dep.c (fini_array): Likewise.
19039 (init_array): Likewise.
19040
60457d8a
MF
190412012-10-29 Mike Frysinger <vapier@gentoo.org>
19042
19043 * manual/message.texi: Delete @cartouche tags.
19044
8bece752
PT
190452012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19046
94ce799f
PT
19047 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19048 EOPNOTSUPP.
19049 * sysdeps/mach/hurd/fsync.c: Likewise.
19050
8bece752
PT
19051 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19052 [_POSIX_REALTIME_SIGNALS]: Change condition to
19053 [_POSIX_REALTIME_SIGNALS > 0].
19054
86ebe6b1
AJ
190552012-10-27 Andreas Jaeger <aj@suse.de>
19056
19057 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19058 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19060 [__WORDSIZE != 64]: Likewise.
19061
54399c08
L
190622012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19063
19064 * iconvdata/tst-table.sh: Remove ${SHELL}.
19065 * iconvdata/tst-tables.sh: Likewise.
19066
e2211bed
DM
190672012-10-25 David S. Miller <davem@davemloft.net>
19068
19069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19070 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19071 of strtoull.
19072
f303f97c
DM
19073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19074 ifunc-impl-list.c
19075 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19076 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19077 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19078 file.
19079
1e9d84cd
RM
190802012-10-25 Roland McGrath <roland@hack.frob.com>
19081
19082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19083 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19084 __getdirentries.
19085
df381762
JM
190862012-10-25 Joseph Myers <joseph@codesourcery.com>
19087 Jim Blandy <jimb@codesourcery.com>
19088
19089 * scripts/cross-test-ssh.sh: New file.
19090 * manual/install.texi (Configuring and compiling): Document use of
19091 cross-test-ssh.sh.
19092 * INSTALL: Regenerated.
19093
bff64913
PT
190942012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19095
19096 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19097 EOPNOTSUPP.
19098
25fe8932
JM
190992012-10-25 Joseph Myers <joseph@codesourcery.com>
19100
19101 * Makeconfig (run-program-prefix): Fix comment.
19102
cc1290d0
JM
191032012-10-24 Joseph Myers <joseph@codesourcery.com>
19104 Jim Blandy <jimb@codesourcery.com>
19105
19106 * Makeconfig (test-wrapper): New variable,
19107 (test-wrapper-env): Likewise.
19108 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19109 (run-built-tests): Define to yes.
19110 (run-program-prefix): Use $(test-wrapper).
19111 (built-program-cmd): Likewise.
19112 * Rules (make-test-out): Use $(test-wrapper-env) and
19113 $(host-built-program-cmd).
19114 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19115 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19116 tst-pathopt.sh.
19117 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19118 $(test-wrapper-env) to tst-rtld-load-self.sh.
19119 ($(objpfx)order2.out): Use $(test-wrapper).
19120 ($(objpfx)tst-initorder.out): Likewise.
19121 ($(objpfx)tst-initorder2.out): Likewise.
19122 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19123 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19124 (test_wrapper_env): New variable. Use it to run ld.so.
19125 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19126 Use it to run ld.so.
19127 (test_wrapper_env): Likewise.
19128 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19129 $(test-wrapper) to run-iconv-test.sh.
19130 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19131 (ICONV): Use $test_wrapper.
19132 * posix/Makefile ($(objpfx)globtest.out): Pass
19133 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19134 globtest.sh, not $(run-program-prefix).
19135 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19136 (test_wrapper): Likewise.
19137 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19138 set together with run_via_rtld_prefix.
19139 (run_program_prefix): Define in terms of test_wrapper and
19140 run_via_rtld_prefix.
19141
6e6249d0
RM
191422012-10-24 Roland McGrath <roland@hack.frob.com>
19143
19144 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19145 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19146 Targets removed.
19147
19148 [BZ #14743]
19149 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19150 Declare __clock_getres, __clock_gettime, __clock_settime,
19151 __clock_nanosleep, and __clock_getcpuclockid.
19152 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19153 Remove librt_hidden_def (clock_gettime).
19154 * sysdeps/unix/clock_gettime.c: Likewise.
19155 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19156 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19157 * rt/clock_getres.c: Define __clock_getres as an alias.
19158 * sysdeps/posix/clock_getres.c: Likewise.
19159 * rt/clock_settime.c: Define __clock_settime as an alias.
19160 * sysdeps/unix/clock_settime.c: Likewise.
19161 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19162 * sysdeps/unix/clock_nanosleep.c: Likewise.
19163 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19164 * rt/clock-compat.c: New file.
19165 * rt/Makefile (librt-routines): Add clock-compat and move
19166 $(clock-routines) to ...
19167 (routines): ... here, new variable.
19168 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19169 Don't add get_clockfreq here.
19170 * rt/Versions (libc: GLIBC_2.17): New version set.
19171 Add clock_* symbols here.
19172 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19173 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19174 (GLIBC_2.17): Add clock_* symbols.
19175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19177 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19179 Likewise.
19180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19181 Likewise.
19182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19186 * NEWS: Mention the move.
19187
19188 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19189 Use __open, __read, __close rather than their public counterparts.
19190 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19191 (__get_clockfreq_via_cpuinfo): Likewise.
19192 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19193 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19194
19195 * config.h.in (HAVE_IFUNC): New #undef.
19196 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19197 was successful.
19198 * configure: Regenerated.
19199
0cae3f4b
MF
192002012-10-24 Mike Frysinger <vapier@gentoo.org>
19201
19202 * configure.in: Move READELF check to start of file.
19203 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19204 libc_cv_asm_gnu_indirect_function in the process.
19205 * configure: Regenerated.
19206
8175a253
MF
192072012-10-24 Mike Frysinger <vapier@gentoo.org>
19208
19209 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19210 send the output to /dev/null.
19211 (libc_cv_cc_with_libunwind): Likewise.
19212 (libc_cv_as_noexecstack): Likewise.
19213 * configure: Regenerate.
19214
0708a7d1
JM
192152012-10-24 Joseph Myers <joseph@codesourcery.com>
19216
10b40d85
JM
19217 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19218
0708a7d1
JM
19219 * posix/globtest.sh (TMPDIR): Do not set.
19220 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19221 (testout): Likewise.
19222
9fddec1a
AJ
192232012-10-24 Andreas Jaeger <aj@suse.de>
19224
3a8db22f
AJ
19225 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19226 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19227 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19228 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19229 posix_fadvise64, posix_fallocate64.
19230
9fddec1a
AJ
19231 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19232 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19233 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19234 Likewise.
19235 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19236 Likewise.
19237 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19238
19239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19240 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19241 <bits/fcntl-linux.h>.
19242 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19243
19244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19245 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19246 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19247 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19248 [__WORDSIZE != 64]: Likewise.
19249
ebfd1bbd
JM
192502012-10-23 Joseph Myers <joseph@codesourcery.com>
19251
03ac099f
JM
19252 * Makeconfig (run-built-tests): New variable.
19253 * Rules [$(cross-compiling) = yes]: Change condition to
19254 [$(run-built-tests) = no].
19255 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19256 to [$(run-built-tests) = yes].
19257 * elf/Makefile [$(cross-compiling) = no]: Likewise
19258 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19259 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19260 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19261 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19262 * io/Makefile [$(cross-compiling) = no]: Likewise.
19263 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19264 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19265 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19266 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19267 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19268 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19269 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19270 * string/Makefile [$(cross-compiling) = no]: Likewise.
19271
ebfd1bbd
JM
19272 * posix/Makefile ($(objpfx)globtest.out): Pass
19273 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19274 $(rtld-installed-name).
19275 * posix/globtest.sh (elf_objpfx): Remove variable.
19276 (rtld_installed_name): Likewise.
19277 (library_path): Likewise.
19278 (run_program_prefix): New variable. Use for running globtest
19279 binary.
19280
166bca24
JB
192812012-10-23 Jim Blandy <jimb@codesourcery.com>
19282 Joseph Myers <joseph@codesourcery.com>
19283
19284 * Makeconfig (host-built-program-cmd): New variable.
19285 * elf/Makefile (tst-stackguard1-ARGS): Use
19286 $(host-built-program-cmd).
19287 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19288 (tst-spawn-ARGS): Likewise.
19289 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19290
88866099
JM
192912012-10-23 Joseph Myers <joseph@codesourcery.com>
19292 Jim Blandy <jimb@codesourcery.com>
19293
19294 * Makeconfig (run-via-rtld-prefix): New variable.
19295 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19296 (built-program-cmd): Likewise.
19297
b4b4c296
AJ
192982012-10-22 Andreas Jaeger <aj@suse.de>
19299
19300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19301 __O_RSYNC if it exists, otherwise to O_SYNC.
19302
6fb54a22
JB
193032012-10-22 Jim Blandy <jimb@codesourcery.com>
19304 Joseph Myers <joseph@codesourcery.com>
19305
19306 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19307 /dev/null.
19308 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19309 from /dev/null
19310 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19311 /dev/null.
19312
481b90b9
AJ
193132012-10-22 Andreas Jaeger <aj@suse.de>
19314
2a0e2669
AJ
19315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19316 Define always.
19317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19318
76e38f9a
AJ
19319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19320 bits/fcntl-linux.h.
19321
7cd37b43
AJ
19322 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19323 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19324
481b90b9
AJ
19325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19326 to __O_LARGEFILE.
19327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19328 to __O_LARGEFILE.
19329
aba75984
JB
193302012-10-21 Jim Blandy <jimb@codesourcery.com>
19331 Joseph Myers <joseph@codesourcery.com>
19332
19333 * config.make.in (NM): New variable.
19334
88d4247f
AJ
193352012-10-21 Andreas Jaeger <aj@suse.de>
19336
19337 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19338 definitions and declarations that are provided by
19339 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19340
f2eed205
L
193412012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19342
19343 [BZ #14683]
19344 * elf/Makefile (tests-static): Add tst-leaks1-static.
19345 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19346 ($(objpfx)tst-leaks1-static): New rule.
19347 ($(objpfx)tst-leaks1-static-mem): Likewise.
19348 (tst-leaks1-static-ENV): New macro.
19349 * elf/dl-open.c (dl_open_worker): Check the main application
19350 only if SHARED is defined.
19351 * elf/tst-leaks1-static.c: New file.
19352
335e6931
AJ
193532012-10-20 Andreas Jaeger <aj@suse.de>
19354
19355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
19356 generic values for Linux.
19357 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
19358 and declarations that are provided by <bits/fcntl-linux.h> and
19359 include <bits/fcntl-linux.h>.
19360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19362
ac5c94d3
RM
193632012-10-20 Roland McGrath <roland@hack.frob.com>
19364
19365 * io/fcntl.h: Move include of <bits/types.h> to the top and
19366 include it unconditionally.
19367
de54b33a
L
193682012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19369
228cfb01
L
19370 * wcsmbs/Makefile (tests-ifunc): New variable.
19371 (tests): Add $(tests-ifunc).
19372 * wcsmbs/test-wcschr-ifunc.c: New file.
19373 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19374 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19375 * wcsmbs/test-wcslen-ifunc.c: Likewise.
19376 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19377 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19378
69f07e5f
L
19379 * string/Makefile (tests-ifunc): New variable.
19380 (tests): Add $(tests-ifunc).
19381 * string/test-memccpy.c (TEST_NAME): New macro.
19382 * string/test-memchr.c (TEST_NAME): Likewise.
19383 * string/test-memcmp.c (TEST_NAME): Likewise.
19384 * string/test-memcpy.c (TEST_NAME): Likewise.
19385 * string/test-memmem.c (TEST_NAME): Likewise.
19386 * string/test-memmove.c (TEST_NAME): Likewise.
19387 * string/test-memset.c (TEST_NAME): Likewise.
19388 * string/test-rawmemchr.c (TEST_NAME): Likewise.
19389 * string/test-stpcpy.c (TEST_NAME): Likewise.
19390 * string/test-stpncpy.c (TEST_NAME): Likewise.
19391 * string/test-strcasecmp.c (TEST_NAME): Likewise.
19392 * string/test-strcasestr.c (TEST_NAME): Likewise.
19393 * string/test-strcat.c (TEST_NAME): Likewise.
19394 * string/test-strchr.c (TEST_NAME): Likewise.
19395 * string/test-strcmp.c(TEST_NAME): Likewise.
19396 * string/test-strcpy.c (TEST_NAME): Likewise.
19397 * string/test-strcspn.c (TEST_NAME): Likewise.
19398 * string/test-strlen.c (TEST_NAME): Likewise.
19399 * string/test-strncasecmp.c (TEST_NAME): Likewise.
19400 * string/test-strncmp.c (TEST_NAME): Likewise.
19401 * string/test-strncpy.c (TEST_NAME): Likewise.
19402 * string/test-strnlen.c (TEST_NAME): Likewise.
19403 * string/test-strpbrk.c (TEST_NAME): Likewise.
19404 * string/test-strrchr.c (TEST_NAME): Likewise.
19405 * string/test-strspn.c (TEST_NAME): Likewise.
19406 * string/test-strstr.c (TEST_NAME): Likewise.
19407 * string/test-bcopy-ifunc.c: New file.
19408 * string/test-bzero-ifunc.c: Likewise.
19409 * string/test-memccpy-ifunc.c: Likewise.
19410 * string/test-memchr-ifunc.c: Likewise.
19411 * string/test-memcmp-ifunc.c: Likewise.
19412 * string/test-memcpy-ifunc.c: Likewise.
19413 * string/test-memmem-ifunc.c: Likewise.
19414 * string/test-memmove-ifunc.c: Likewise.
19415 * string/test-mempcpy-ifunc.c: Likewise.
19416 * string/test-memset-ifunc.c: Likewise.
19417 * string/test-rawmemchr-ifunc.c: Likewise.
19418 * string/test-stpcpy-ifunc.c: Likewise.
19419 * string/test-stpncpy-ifunc.c: Likewise.
19420 * string/test-strcasecmp-ifunc.c: Likewise.
19421 * string/test-strcasestr-ifunc.c: Likewise.
19422 * string/test-strcat-ifunc.c: Likewise.
19423 * string/test-strchr-ifunc.c: Likewise.
19424 * string/test-strchrnul-ifunc.c: Likewise.
19425 * string/test-strcmp-ifunc.c: Likewise.
19426 * string/test-strcpy-ifunc.c: Likewise.
19427 * string/test-strcspn-ifunc.c: Likewise.
19428 * string/test-strlen-ifunc.c: Likewise.
19429 * string/test-strncasecmp-ifunc.c: Likewise.
19430 * string/test-strncat-ifunc.c: Likewise.
19431 * string/test-strncmp-ifunc.c: Likewise.
19432 * string/test-strncpy-ifunc.c: Likewise.
19433 * string/test-strnlen-ifunc.c: Likewise.
19434 * string/test-strpbrk-ifunc.c: Likewise.
19435 * string/test-strrchr-ifunc.c: Likewise.
19436 * string/test-strspn-ifunc.c: Likewise.
19437 * string/test-strstr-ifunc.c: Likewise.
19438
de54b33a
L
19439 * debug/Makefile (tests-ifunc): New variable.
19440 (tests): Add $(tests-ifunc).
19441 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
19442 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
19443 * debug/test-stpcpy_chk-ifunc.c: New file.
19444 * debug/test-strcpy_chk-ifunc.c: Likewise.
19445
88481c16
SP
194462012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19447
19448 [BZ #13601]
19449 * elf/dl-load.c (open_verify): Retry read if the entire ELF
19450 header is not read in.
19451
135948bd
JM
194522012-10-19 Joseph Myers <joseph@codesourcery.com>
19453
89f1c388
JM
19454 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
19455 script to $(SHELL) as $<. Pass $(common-objpfx) to script
19456 directly. Pass built executable to script as
19457 $(built-program-cmd).
19458 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
19459 $testprogram without using LD_LIBRARY_PATH and $ldso.
19460
e40a0d21
JM
19461 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
19462 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
19463 $(rtld-installed-name).
19464 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
19465 (rtld_installed_name): Likewise.
19466 (library_path): Likewise.
19467 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
19468 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
19469 $(run-program-prefix) to tst-tables.sh.
19470 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
19471 it to run tst-table-from and tst-table-to.
19472 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
19473 Pass it to tst-table.sh.
19474 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
19475 $(run-program-prefix) to tst-gettext.sh.
19476 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
19477 tst-translit.sh.
19478 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
19479 tst-gettext2.sh.
19480 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
19481 to run tst-gettext.
19482 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
19483 to run tst-gettext2.
19484 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
19485 to run tst-translit.
19486 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
19487 $(run-program-prefix) to tst-mtrace.sh.
19488 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
19489 to run tst-mtrace.
19490 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
19491 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
19492 $(rtld-installed-name).
19493 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
19494 (rtld_installed_name): Likewise.
19495 (run_program_prefix): New variable. Use it to run wordexp-test.
19496
728e272a
JM
19497 * Makeconfig (ARCH): Remove all definitions.
19498 (machine): Likewise.
19499 [ARCH]: Remove conditional code.
19500 [!objdir]: Give error.
19501 [!objdir] (objpfx): Remove.
19502 [!objdir] (common-objpfx): Likewise.
19503 [!objdir] (common-objdir): Likewise.
19504 * configure.in (config_makefile): Remove. Hardcode Makefile in
19505 AC_CONFIG_FILES call.
19506 * configure: Regenerated.
19507
d528cdcf
JM
19508 [BZ #13888]
19509 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
19510 or TMPDIR.
19511 (testout): Likewise.
19512
135948bd
JM
19513 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
19514 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
19515 $(rtld-installed-name).
19516 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
19517 (rtld_installed_name): Likwise.
19518 (runit): Remove function.
19519 (run_getconf): New variable, Use it for running getconf binary.
19520
38c78296
L
195212012-10-18 H.J. Lu <hongjiu.lu@intel.com>
19522
19523 [BZ #14716]
19524 * string/test-memmem.c (check_result): New function.
19525 (do_one_test): Use it.
19526 (check1): New function.
19527 (test_main): Use it.
19528
d077f65f
MT
195292012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
19530
19531 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
19532
ced52c71
JM
195332012-10-18 Joseph Myers <joseph@codesourcery.com>
19534
19535 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
19536 (_G_LSEEK64): Likewise.
19537 (_G_MMAP64): Likewise.
19538 (_G_FSTAT64): Likewise.
19539 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
19540 (_G_LSEEK64): Likewise.
19541 (_G_MMAP64): Likewise.
19542 (_G_FSTAT64): Likewise.
19543 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
19544 unconditional. Call __mmap64 directly.
19545 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
19546 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
19547 __lseek64 directly.
19548 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
19549 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
19550 __mmap64 directly.
19551 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
19552 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
19553 __lseek64 directly.
19554 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
19555 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
19556 __lseek64 directly.
19557 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
19558 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
19559 __lseek64 directly.
19560 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
19561 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
19562 __fxstat64 directly.
19563 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
19564 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
19565 unconditional.
19566 (freopen64) [!_G_OPEN64]: Remove conditional code.
19567 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
19568 unconditional.
19569 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
19570 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
19571 unconditional.
19572 (ftello64) [!_G_LSEEK64]: Remove conditional code.
19573 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
19574 unconditional.
19575 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19576 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
19577 unconditional.
19578 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
19579 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
19580 unconditional.
19581 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19582 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
19583 unconditional.
19584 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
19585 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
19586 unconditional.
19587 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
19588
b741de23
SP
195892012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19590
19591 [BZ #12140]
19592 * manual/memory.texi (Malloc Tunable Parameters): Add note
19593 about free list pointers overwriting some perturb bytes.
19594 Wording suggested by Roland McGrath.
19595
f9b9d9c9
JM
195962012-10-17 Joseph Myers <joseph@codesourcery.com>
19597
19598 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
19599 (lgamma_test): Likewise.
19600 (tgamma_test): Likewise.
19601
172a631a
FW
196022012-10-16 Florian Weimer <fweimer@redhat.com>
19603
19604 [BZ #14700]
19605 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
19606 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
19607
e9f37252
MK
196082012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
19609
19610 * NEWS: Mention BZ #14716.
19611 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
19612 when removing AVAILABLE1_USES_J macro.
19613
d394eb74
L
196142012-10-12 H.J. Lu <hongjiu.lu@intel.com>
19615
19616 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
19617 (__bswap_64): __uint64_t for unsigned 64-bit int.
19618
ca38dc17
AS
196192012-10-12 Andreas Schwab <schwab@linux-m68k.org>
19620
19621 * include/string.h (memmem): Declare libc hidden alias.
19622 * string/memmem.c (memmem): Define libc hidden alias.
19623 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
19624 __read, __close instead of open, read, close.
19625
9a387d1f
L
196262012-10-11 H.J. Lu <hongjiu.lu@intel.com>
19627
ac49ecaf
L
19628 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
19629 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
19630 global and hidden.
19631 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
19632 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
19633 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
19634 Likewise.
19635 (__rawmemchr_sse2): Likewise.
19636 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
19637 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
19638 (__strchr_sse2): Likewise.
19639 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
19640 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
19641 (__strcasecmp_sse2): Likewise.
19642 (__strncasecmp_sse2): Likewise.
19643 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
19644 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
19645 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
19646 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
19647 (__strrchr_sse2): Likewise.
19648 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
19649 ifunc-impl-list.c.
19650 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19651 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19652 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19653 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19654 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19655 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19656 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19657 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19658 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
19659 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
19660 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
19661 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
19662 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
19663 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19664 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19665 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19666 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19667 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19668 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19669 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19670 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19671 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19672 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19673 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19674 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19675 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19676 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19677 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19678 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19679 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19680
b090e8ea
L
19681 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19682 global and hidden.
19683 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19684 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19685 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19686 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19687 Likewise.
19688 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19689 Likewise.
19690 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19691 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19692 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19693 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19694 ifunc-impl-list.c.
19695 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19696 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19697 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19698 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19699 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19700 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19701 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19702 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19703 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19704 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19705 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19706 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19707 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19708 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19709 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19710 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19711 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19712 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19713 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19714 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19715 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19716 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19717 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19718 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19719 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19720 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19721 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19722 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19723 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19724 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19725 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19726 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19727 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19728 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19729 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19730 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19731 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19732 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19733 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19734 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19735 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19736
11dd4af6
L
19737 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19738 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19739 * include/ifunc-impl-list.h: New file.
19740 * misc/ifunc-impl-list.c: Likewise.
19741 * misc/Makefile (routines): Add ifunc-impl-list.
19742 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19743 * string/test-string.h: Include <ifunc-impl-list.h>.
19744 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19745 impl_array): New variables.
19746 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19747 are defined.
19748 (test_init): Call __libc_ifunc_impl_list to initialize
19749 func_list if TEST_IFUNC and TEST_NAME are defined.
19750
9a387d1f
L
19751 * string/Makefile (strop-tests): Add bcopy and bzero.
19752 * string/test-bcopy.c: New file.
19753 * string/test-bzero.c: Likewise.
19754 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19755 defined.
19756 * string/test-memset.c: Support bzero test if TEST_BZERO is
19757 defined.
19758 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19759 __libc_memmove.
19760 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19761 __libc_memset.
19762 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19763 of memset.
19764
472371b9
JM
197652012-10-10 Joseph Myers <joseph@codesourcery.com>
19766
1e4a9536
JM
19767 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19768 * configure: Regenerated.
19769
d173d12e
JM
19770 * Makeconfig (+link-static-before-libc): Don't include
19771 $(link-static-libc).
19772
472371b9
JM
19773 * libio/libio.h (_IO_pos_t): Remove.
19774
89a3ad0b
AO
197752012-10-10 Alexandre Oliva <aoliva@redhat.com>
19776
19777 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19778 McGrath.
19779
e7451425
AO
197802012-10-10 Alexandre Oliva <aoliva@redhat.com>
19781
19782 * crypt/crypt-entry.c: Include fips-private.h.
19783 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19784 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19785 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19786 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19787
4ba74a35
AO
197882012-10-10 Alexandre Oliva <aoliva@redhat.com>
19789
19790 * crypt/crypt-private.h: Include stdbool.h.
19791 (_ufc_setup_salt_r): Return bool.
19792 * crypt/crypt-entry.c: Include errno.h.
19793 (__crypt_r): Return NULL with EINVAL for bad salt.
19794 * crypt/crypt_util.c (bad_for_salt): New.
19795 (_ufc_setup_salt_r): Check that salt is long enough and within
19796 the specified alphabet.
19797 * crypt/badsalttest.c: New file.
19798 * crypt/Makefile (tests): Add it.
19799 ($(objpfx)badsalttest): New.
19800
f96f1242
MK
198012012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19802
19803 * NEWS: Add entry for BZ #14602.
19804
0e8e0c1c
JM
198052012-10-09 Joseph Myers <joseph@codesourcery.com>
19806
19807 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19808 type-generic.
19809 * math/libm-test.inc: Update comment listing what functions and
19810 macros are tested.
19811 (isgreater_test): New function.
19812 (isgreaterequal_test): Likewise.
19813 (isless_test): Likewise.
19814 (islessequal_test): Likewise.
19815 (islessgreater_test): Likewise.
19816 (isunordered_test): Likewise.
19817 (main): Call the new functions.
19818
273edc5e
RM
198192012-10-09 Roland McGrath <roland@hack.frob.com>
19820
b8493de0
RM
19821 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19822 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19823 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19824 * sysdeps/i386/configure: Regenerated.
19825 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19826 * sysdeps/mach/configure: Regenerated.
19827 * sysdeps/mach/hurd/configure: Regenerated.
19828 * sysdeps/powerpc/configure: Regenerated.
19829 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19830 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19831 * sysdeps/s390/s390-32/configure: Regenerated.
19832 * sysdeps/s390/s390-64/configure: Regenerated.
19833 * sysdeps/sh/configure: Regenerated.
19834 * sysdeps/sparc/configure: Regenerated.
19835 * sysdeps/unix/sysv/linux/configure: Regenerated.
19836 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19837 * sysdeps/x86_64/configure: Regenerated.
19838
273edc5e
RM
19839 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19840 defined. Don't check if MAP is NULL.
19841
c8450f70
JM
198422012-10-09 Joseph Myers <joseph@codesourcery.com>
19843
19844 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19845 (_G_stat64): Likewise.
19846 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19847 (_G_stat64): Likewise.
19848 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19849 instead of struct _G_stat64.
19850 * libio/fileops.c (mmap_remap_check): Likewise.
19851 (decide_maybe_mmap): Likewise.
19852 (_IO_new_file_seekoff): Likewise.
19853 (_IO_file_stat): Likewise.
19854 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19855 _G_off64_t.
19856 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19857 instead of struct _G_stat64.
19858 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19859
57e605ba
MK
198602012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19861
19862 [BZ #14602]
19863 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19864 Replace with ...
19865 (CHECK_EOL): New macro.
19866 (two_way_short_needle): Check beginning of haystack for EOL. Use
19867 CHECK_EOL.
19868 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19869 Replace with CHECK_EOL.
19870 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19871 Replace with CHECK_EOL.
19872
ef1bb361
JM
198732012-10-08 Joseph Myers <joseph@codesourcery.com>
19874
19875 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19876 type-generic.
19877 * math/libm-test.inc: Update comment listing what functions and
19878 macros are tested.
19879 (finite_test): New function.
19880 (isinf_test): Likewise.
19881 (isnan_test): Likewise.
19882 (fpclassify_test): Test subnormal input.
19883 (isfinite_test): Likewise.
19884 (isnormal_test): Likewise.
19885 (main): Call the new functions.
19886
55f11534
JN
198872012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19888
19889 [BZ #14660]
19890 * Makerules (%.dynsym): Force C locale when running
19891 $(OBJDUMP) --dynamic-syms.
19892
1ab29350
AS
198932012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19894
19895 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19896 <stdint.h>.
19897
f1ecb7ef
DM
198982012-10-06 David S. Miller <davem@davemloft.net>
19899
19900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19901 upper 32-bits of the length value in %o2 since we use branch-on-register
19902 tests which consider the entire 64-bit register.
19903
5d41d91a
L
199042012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 * string/test-strstr.c (check2): Add a test for page boundary.
19907
3baddb72
DM
199082012-10-05 David S. Miller <davem@davemloft.net>
19909
19910 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19911 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19912 file.
19913 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19914 sysdep_routines.
19915 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19916 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19917 and bzero when HWCAP_SPARC_CRYPTO is present.
19918
9cee5585
L
199192012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19920
d7e0dab9
L
19921 [BZ #14602]
19922 * string/test-strstr.c (check2): New function.
19923 (test_main): Call check2.
19924
03759f47
L
19925 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19926 and bug-strchr1.
19927 * string/bug-strcasestr1.c (do_test): Moved to ...
19928 * string/test-strcasestr.c (check1): Here. New function.
19929 (do_one_test): Break out result checking code into ...
19930 (check_result): This. New function.
19931 (do_one_test): Call check_result.
19932 (test_main): Call check1.
19933 * string/bug-strchr1.c (do_test): Moved to ...
19934 * string/test-strchr.c (check1): Here. New function.
19935 (do_one_test): Break out result checking code into ...
19936 (check_result): This. New function.
19937 (do_one_test): Call check_result.
19938 (test_main): Call check1.
19939 * string/bug-strstr1.c (main): Moved to ...
046f153e 19940 * string/test-strstr.c (check1): Here. New function.
03759f47
L
19941 (do_one_test): Break out result checking code into ...
19942 (check_result): This. New function.
19943 (do_one_test): Call check_result.
19944 (test_main): Call check1.
19945 * string/bug-strcasestr1.c: Removed.
19946 * string/bug-strchr1.c: Likewise.
19947 * string/bug-strstr1.c: Likewise.
19948
53cea63e
L
19949 * elf/Makefile (dl-routines): Add hwcaps.
19950 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19951 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19952 (_dl_important_hwcaps): Moved to ...
19953 * elf/dl-hwcaps.c: Here. New file.
19954 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19955
9cee5585 19956 [BZ #14557]
bb859b06
L
19957 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19958 if IS_IN_rtld isn't defined.
19959
9cee5585
L
19960 * elf/dl-support.c (_dl_sysinfo_map): New.
19961 Include "get-dynamic-info.h" and "setup-vdso.h".
19962 (_dl_non_dynamic_init): Call setup_vdso.
19963 * elf/dynamic-link.h: Don't include <assert.h>.
19964 (elf_get_dynamic_info): Moved to ...
19965 * elf/get-dynamic-info.h: Here. New file.
19966 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19967 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19968 * elf/setup-vdso.h: Here. New file.
19969 * elf/rtld.c: Include "setup-vdso.h".
19970 (dl_main): Call setup_vdso.
19971
23c31b76
JM
199722012-10-05 Joseph Myers <joseph@codesourcery.com>
19973
28234b07
JM
19974 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19975 creal in comment listing functions tested. List finite, isinf,
19976 isnan, isless, islessequal, isgreater, isgreaterequal,
19977 islessgreater, isunordered, lgamma_r and pow10 as functions and
19978 macros not tested. Mention which functions not tested are aliases
19979 for other functions. Fix typo. Note that signs of NaNs are not
19980 tested.
19981
23c31b76
JM
19982 * scripts/config.guess: Update from config.git.
19983 * scripts/config.sub: Likewise.
19984
9043e228
RM
199852012-10-04 Roland McGrath <roland@hack.frob.com>
19986
19987 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19988 * misc/madvise.c (madvise): Renamed to __madvise.
19989 Make madvise a weak alias.
19990 * include/sys/mman.h: Declare __madvise.
19991 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19992 * sysdeps/unix/syscalls.list
19993 (madvise): Make __madvise the strong name, and madvise a weak alias.
19994 * sysdeps/unix/sysv/linux/syscalls.list
19995 (madvise, mmap): Remove redundant entries.
19996 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19997 * malloc/malloc.c (mtrim): Likewise.
19998 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19999
f57f8055
RM
200002012-10-03 Roland McGrath <roland@hack.frob.com>
20001
20002 * sysdeps/mach/hurd/dl-cache.c: File removed.
20003 * config.h.in (USE_LDCONFIG): New #undef.
20004 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20005 * configure: Regenerated.
20006 * elf/Makefile (dl-routines): Add dl-cache only under
20007 [$(use-ldconfig) = yes].
20008 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20009 cache on [USE_LDCONFIG].
20010 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20011 [USE_LDCONFIG].
20012 * elf/rtld.c (dl_main): Likewise.
20013
5bb0c10a
PT
200142012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20015
20016 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20017 _SC_LEVEL4_CACHE_LINESIZE.
20018
010188c6
RM
200192012-10-03 Roland McGrath <roland@hack.frob.com>
20020
20021 * sysdeps/unix/bsd/confstr.h: File removed.
20022
b6c5ec07
AO
200232012-10-02 Alexandre Oliva <aoliva@redhat.com>
20024
20025 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20026 sys/sdt-config.h.
20027
408223d4
RM
200282012-10-02 Roland McGrath <roland@hack.frob.com>
20029
20030 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20031 Make 'mapoff' field ElfW(Off) rather than off_t.
20032
bb9510dc
DL
200332012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20034
fc997c6e
DL
20035 * nscd/Makefile: Remove nscd-cflags and all its users.
20036 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20037 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20038
bb9510dc
DL
20039 [BZ #10631]
20040 * malloc.c (malloc_printerr): Clarify error message.
20041
05699367
L
200422012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20043
20044 [BZ #14648]
20045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20046 Set bit_FMA_Usable if FMA is supported.
20047 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20048 macro.
20049 (bit_FMA4_Usable): Updated.
20050 (index_FMA_Usable): New macro.
20051 (CPUID_FMA): Likewise
20052 (HAS_FMA): Defined with bit_FMA_Usable.
20053
51367701
RM
200542012-10-01 Roland McGrath <roland@hack.frob.com>
20055
20056 * bits/types.h (__swblk_t): Type removed.
20057 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20058 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20060 (__SWBLK_T_TYPE): Likewise.
20061 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20062 (__SWBLK_T_TYPE): Likewise.
20063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20064 (__SWBLK_T_TYPE): Likewise.
20065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20066 (__SWBLK_T_TYPE): Likewise.
20067
4d57bf63 200682012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20069 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20070
20071 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20072 (xdr_mapname): Use YPMAXMAP as maxsize.
20073 (xdr_peername): Use YPMAXPEER as maxsize.
20074 (xdr_keydat): Use YPAXRECORD as maxsize.
20075 (xdr_valdat): Use YPMAXRECORD as maxsize.
20076
93c65d43
RM
200772012-10-01 Roland McGrath <roland@hack.frob.com>
20078
497a03d6
RM
20079 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20080
93c65d43
RM
20081 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20082 * csu/init-first.c: ... here.
20083 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20084 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20085 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20086 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20087 * sysdeps/i386/init-first.c: File removed.
20088 * sysdeps/sh/init-first.c: File removed.
20089
bec749fd
JM
200902012-10-01 Joseph Myers <joseph@codesourcery.com>
20091
20092 [BZ #14645]
20093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20094 if x * y might underflow to zero and z is zero.
20095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20096 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20097 * math/libm-test.inc (min_subnorm_value): New variable.
20098 (fma_test): Add more tests.
20099 (fma_test_towardzero): Likewise.
20100 (fma_test_downward): Likewise
20101 (fma_test_upward): Likewise.
20102 (initialize): Set min_subnorm_value.
20103
8ec5b013
JM
201042012-09-29 Joseph Myers <joseph@codesourcery.com>
20105
20106 [BZ #14638]
20107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20108 0 + 0.
20109 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20110 mode for addition resulting in exact zero.
20111 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20113 exact 0 + 0.
20114 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20115 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20116 * math/libm-test.inc (fma_test): Add more tests.
20117 (fma_test_towardzero): New function.
20118 (fma_test_downward): Likewise.
20119 (fma_test_upward): Likewise.
20120 (main): Call the new functions.
20121
b1fa802e
DM
201222012-09-28 David S. Miller <davem@davemloft.net>
20123
20124 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20125
d3b9fd9e
RM
201262012-09-28 Roland McGrath <roland@hack.frob.com>
20127
ea4d37b3
RM
20128 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20129 instead of SIGALRM.
20130
ac51c949
RM
20131 * sysdeps/gnu/_G_config.h: Moved to ...
20132 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20133 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20134 * sysdeps/generic/_G_config.h: ... here.
20135
28c195f7
RM
20136 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20137
848917f9
RM
20138 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20139
6bacf05b
RM
20140 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20141 Conditionalize target on [libnss_test1.so-version].
20142
91363dbb
RM
20143 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20144
cc87f7d8
RM
20145 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20146 (elfobjdir): Move out of conditionals.
20147
b1c608fe
RM
20148 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20149 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20150 (__nss_lookup_function): Conditionalize label remove_from_tree on
20151 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20152
1d9a6d96
DM
201532012-09-28 David S. Miller <davem@davemloft.net>
20154
20155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20156 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20157 file.
20158 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20159 sysdep_routines.
20160 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20162 when HWCAP_SPARC_CRYPTO is present.
20163
72581615
PT
201642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20165
20166 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20167
715a900c
JL
201682012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20169
20170 [BZ #6530]
20171 * stdio-common/vfprintf.c (process_string_arg): Revert
20172 2000-07-22 change.
20173
201742011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20175
20176 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20177 for testcase.
20178 * stdio-common/tst-sprintf.c: Include <locale.h>
20179 (main): Test sprintf's handling of incomplete multibyte
20180 characters.
20181
9bac1d86
L
201822012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20183
20184 * elf/dl-runtime.c (VERSYMIDX): Removed.
20185 * elf/dl-version.c (VERSYMIDX): Likewise.
20186 * elf/do-rel.h (VERSYMIDX): Likewise.
20187 (VALIDX): Likewise.
20188 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20189 * elf/rtld.c (VALIDX): Likewise.
20190 (ADDRIDX): Likewise.
9bac1d86
L
20191 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20192 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20193 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20194 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20195 (VALIDX): Likewise.
20196 (ADDRIDX): Likewise.
9bac1d86 20197
b31606c0
PT
201982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20199
20200 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20201
11541177
JL
202022012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20203
20204 [BZ #11438]
20205 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20206 to global scope.
20207 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20208 addresses are in the same scope as 192.0.2/24.
20209 * posix/gai.conf: Document new scope table defaults.
20210
adb26fae
SP
202112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20212
20213 [BZ #5298]
20214 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20215 for ftell. Compute offsets from write pointers instead.
20216 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20217
4573c6b0
SP
202182012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20219
20220 [BZ #14543]
20221 * libio/Makefile (tests): New test case tst-fseek.
20222 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20223 combination works in wide mode.
20224 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20225 state when the external buffer state changes.
20226
aa9bbfe6
DM
202272012-09-27 David S. Miller <davem@davemloft.net>
20228
20229 [BZ #14376]
20230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20231 pass reloc->r_addend in as the 'high' argument to
20232 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20233
784421e7
DM
20234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20235
c39bc8b8
PT
202362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20237
20238 * rt/tst-aio2.c: Include <pthread.h>.
20239 * rt/tst-aio3.c: Likewise.
20240
1ccc2399
SE
202412012-09-27 Steve Ellcey <sellcey@mips.com>
20242
20243 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20244
31ed4153
L
202452012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20246
25f5f885
L
20247 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20248 contents on [SHARED].
31ed4153 20249
b7bfe116
MP
202502012-09-26 Marek Polacek <polacek@redhat.com>
20251
20252 [BZ #14530]
20253 [BZ #13741]
20254 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20255 for C++ and GCC <4.3 as well as for non GCC compilers.
20256
43c4edba
MT
202572012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20258
20259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20260
6a1bf82f
RM
202612012-09-25 Roland McGrath <roland@hack.frob.com>
20262
20263 * Makefile.in (all, install): Declare with .PHONY.
20264 Reported by Michael Hope <michael.hope@linaro.org>.
20265
8ad11b9a
TMQMF
202662012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20267
20268 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20269 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20270 system header.
20271 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20272 Likewise.
20273 (sydep_routines): Add the new and the internal functions.
20274 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20275 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20277 (GLIBC_2.17): Add the new function.
20278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20279 (GLIBC_2.17): Likewise.
20280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20281 (GLIBC_2.17): Likewise.
20282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20283 (GLIBC_2.17): Likewise.
20284 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20285
7e2fca8d
AM
202862012-09-25 Alan Modra <amodra@gmail.com>
20287
20288 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20289 Add release barrier before setting once_control to say
20290 initialisation is done. Add hints on lwarx. Use macro in
20291 place of isync.
20292 (clear_once_control): Add release barrier.
20293
b87c4b24
JM
202942012-09-25 Joseph Myers <joseph@codesourcery.com>
20295
d032e0d2
JM
20296 [BZ #13629]
20297 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20298 specially.
20299 * math/s_clog10.c (__clog10): Likewise.
20300 * math/s_clog10f.c (__clog10f): Likewise.
20301 * math/s_clog10l.c (__clog10l): Likewise.
20302 * math/s_clogf.c (__clogf): Likewise.
20303 * math/s_clogl.c (__clogl): Likewise.
20304 * math/Makefile (libm-calls): Add x2y2m1.
20305 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20306 (__x2y2m1): Likewise.
20307 (__x2y2m1l): Likewise.
20308 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20309 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20310 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20311 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20312 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20313 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20314 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20315 * sysdeps/i386/fpu/libm-test-ulps: Update.
20316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20317
b87c4b24
JM
20318 [BZ #14621]
20319 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20320 int as type of variable DEPTH.
20321 (glob): Use size_t instead of int as type of variables NEWCOUNT
20322 and OLD_PATHC.
20323
6d3bf199
LD
203242012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20325
22bf5c17
LD
20326 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20327 Add s_sincosf-sse2.
20328 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20329 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20330 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20331 macros for using routine as __sincosf_ia32.
20332 Use macro for function declaration and weak_alias.
20333 * sysdeps/i386/fpu/libm-test-ulps: Update.
20334
20335 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20336 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20337
20338 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20339 subnormal argument.
20340 * math/s_cexpf.c (__cexpf): Likewise.
20341 * math/s_csinf.c (__csinf): Likewise.
20342 * math/s_csinhf.c (__csinhf): Likewise.
20343 * math/s_ctanf.c (__ctanf): Likewise.
20344 * math/s_ctanhf.c (__ctanhf): Likewise.
20345 * math/s_ccosh.c (__ccoshf): Likewise.
20346 * math/s_cexp.c (__cexpl): Likewise.
20347 * math/s_csin.c (__csin): Likewise.
20348 * math/s_csinh.c (__csinh): Likewise.
20349 * math/s_ctan.c (__ctan): Likewise.
20350 * math/s_ctanh.c (ctanh): Likewise.
20351 * math/s_ccoshl.c (__ccoshl): Likewise.
20352 * math/s_cexpl.c (__cexpl): Likewise.
20353 * math/s_csinl.c (__csinl): Likewise.
20354 * math/s_csinhl.c (__csinhl): Likewise.
20355 * math/s_ctanl.c (__ctanl): Likewise.
20356 * math/s_ctanhl.c (__ctanhl): Likewise.
20357
203e5603
JM
203582012-09-25 Joseph Myers <joseph@codesourcery.com>
20359
20360 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
20361 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
20362 (_IO_off_t): Define to __off_t, not _G_off_t.
20363 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
20364 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
20365 (_IO_wint_t): Define to wint_t, not _G_wint_t.
20366 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
20367 type of __dummy and __dummy2 fields.
20368 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
20369 (_G_ssize_t): Likewise.
20370 (_G_off_t): Likewise.
20371 (_G_pid_t): Likewise.
20372 (_G_uid_t): Likewise.
20373 (_G_wchar_t): Likewise.
20374 (_G_wint_t): Likewise.
20375 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
20376 (_G_ssize_t): Likewise.
20377 (_G_off_t): Likewise.
20378 (_G_pid_t): Likewise.
20379 (_G_uid_t): Likewise.
20380 (_G_wchar_t): Likewise.
20381 (_G_wint_t): Likewise.
20382 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
20383 (_G_ssize_t): Likewise.
20384 (_G_off_t): Likewise.
20385 (_G_pid_t): Likewise.
20386 (_G_uid_t): Likewise.
20387 (_G_wchar_t): Likewise.
20388 (_G_wint_t): Likewise.
20389
9fab36eb
SP
203902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20391
20392 * malloc/arena.c: Include malloc-sysdep.h.
20393 (shrink_heap): Use check_may_shrink_heap to decide if madvise
20394 is sufficient to shrink the heap or an unmap is needed.
20395 * sysdeps/generic/malloc-sysdep.h: New file. Define
20396 new function check_may_shrink_heap.
20397 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
20398 new function check_may_shrink_heap.
20399
2b4f00d1
SP
204002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20401
20402 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
20403 comments.
20404
9a9028b1
DL
204052012-09-24 Dmitry V. Levin <ldv@altlinux.org>
20406
57c69bef
DL
20407 * catgets/test-gencat.sh: Add "set -e".
20408 * elf/tst-pathopt.sh: Likewise.
20409 * grp/tst_fgetgrent.sh: Likewise.
20410 * iconvdata/run-iconv-test.sh: Likewise.
20411 * intl/tst-gettext.sh: Likewise.
20412 * intl/tst-gettext2.sh: Likewise.
20413 * intl/tst-gettext4.sh: Likewise.
20414 * intl/tst-gettext6.sh: Likewise.
20415 * intl/tst-translit.sh: Likewise.
20416 * io/ftwtest-sh: Likewise.
20417 * libio/test-freopen.sh: Likewise.
20418 * malloc/tst-mtrace.sh: Likewise.
20419 * posix/globtest.sh: Likewise.
20420 * posix/tst-getconf.sh: Likewise.
20421 * posix/wordexp-tst.sh: Likewise.
20422 * stdio-common/tst-printf.sh: Likewise.
20423 * stdio-common/tst-unbputc.sh: Likewise.
20424 * stdlib/tst-fmtmsg.sh: Likewise.
20425 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20426 * catgets/Makefile: Do not specify -e option when running
20427 testsuite shell scripts.
20428 * elf/Makefile: Likewise.
20429 * grp/Makefile: Likewise.
20430 * iconvdata/Makefile: Likewise.
20431 * intl/Makefile: Likewise.
20432 * io/Makefile: Likewise.
20433 * libio/Makefile: Likewise.
20434 * malloc/Makefile: Likewise.
20435 * posix/Makefile: Likewise.
20436 * stdio-common/Makefile: Likewise.
20437 * stdlib/Makefile: Likewise.
20438 * sysdeps/x86_64/Makefile: Likewise.
20439
9a9028b1
DL
20440 * io/ftwtest-sh: Add copyright header.
20441 * posix/globtest.sh: Likewise.
20442 * posix/tst-getconf.sh: Likewise.
20443 * posix/wordexp-tst.sh: Likewise.
20444 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
20445
ced6f16e
L
204462012-09-24 H.J. Lu <hongjiu.lu@intel.com>
20447
94b32c39
L
20448 [BZ #13679]
20449 * Makeconfig (+link): Defined as $(+link-static) if
20450 $(build-shared) isn't yes.
20451 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
20452 isn't yes.
20453 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
20454
189e935b
L
20455 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
20456
ced6f16e
L
20457 [BZ #14562]
20458 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
20459 new chunk size with MALLOC_ALIGN_MASK.
20460
a9f8e53a
JM
204612012-09-24 Joseph Myers <joseph@codesourcery.com>
20462
20463 [BZ #5044]
20464 * stdio-common/printf_fphex.c: Include <stdbool.h> and
20465 <rounding-mode.h>.
20466 (__printf_fphex): Determine rounding using get_rounding_mode and
20467 round_away.
20468 * stdio-common/tst-printf-round.c (struct hex_test): New
20469 structure.
20470 (hex_tests): New variable.
20471 (test_hex_in_one_mode): New function.
20472 (do_test): Also run tests for hex float output.
20473
43153109
JM
204742012-09-21 Joseph Myers <joseph@codesourcery.com>
20475
20476 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20477 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20478 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
20479 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
20480 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
20481 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
20482 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20483 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
20484
8a26625d
JM
204852012-09-20 Joseph Myers <joseph@codesourcery.com>
20486
20487 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
20488 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
20489 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
20490 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
20491
f3fd569c
DL
204922012-09-19 Dmitry V. Levin <ldv@altlinux.org>
20493
20494 [BZ #14579]
20495 * elf/rtld.c (dl_main): Limit the check for self loading to normal
20496 mode only.
20497 * elf/tst-rtld-load-self.sh: New test.
20498 * elf/Makefile: Run it.
20499
63bbedd4
JM
205002012-09-18 Joseph Myers <joseph@codesourcery.com>
20501
20502 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
20503 (tst-writev-ENV): Remove.
20504 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
20505
626f8b6a
CM
205062012-09-17 Chris Metcalf <cmetcalf@tilera.com>
20507
20508 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
20509
b7aaa4d6
JM
205102012-09-17 Joseph Myers <joseph@codesourcery.com>
20511
20512 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
20513 unconditional.
20514 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
20515 Likewise.
20516 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
20517 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
20518 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
20519 Likewise.
20520
65513990
L
205212012-09-14 H.J. Lu <hongjiu.lu@intel.com>
20522
20523 [BZ #14587]
20524 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
20525 * config.make.in (have-cpp-asm-debuginfo): Removed.
20526 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
20527 * configure: Regenerated.
20528
784761be
JM
205292012-09-14 Joseph Myers <joseph@codesourcery.com>
20530
20531 [BZ #5044]
20532 * stdio-common/printf_fp.c: Include <stdbool.h> and
20533 <rounding-mode.h>.
20534 (___printf_fp): Determine rounding using get_rounding_mode and
20535 round_away.
20536 * stdio-common/tst-printf-round.c: New file.
20537 * stdio-common/Makefile (tests): Add tst-printf-round.
20538 (link-libm): New variable.
20539 ($(objpfx)tst-printf-round): Depend in $(link-libm).
20540
9503345f
L
205412012-09-13 H.J. Lu <hongjiu.lu@intel.com>
20542
20543 [BZ #14576]
20544 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
20545 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
20546 Likewise.
20547 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
20548 Likewise.
20549
ad35fc00
JM
205502012-09-13 Joseph Myers <joseph@codesourcery.com>
20551
20552 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
20553 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20554 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20555 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
20556
6c9b0f68
JM
205572012-09-12 Joseph Myers <joseph@codesourcery.com>
20558
20559 [BZ #14518]
20560 * include/rounding-mode.h: New file.
20561 * sysdeps/generic/get-rounding-mode.h: Likewise.
20562 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
20563 * stdlib/strtod_l.c: Include <rounding-mode.h>.
20564 (MAX_VALUE): New macro.
20565 (MIN_VALUE): Likewise.
20566 (overflow_value): New function.
20567 (underflow_value): Likewise.
20568 (round_and_return): Use overflow_value and underflow_value to
20569 determine return values in overflow and underflow cases. Use
20570 round_away to determine rounding depending on rounding mode.
20571 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
20572 determine return values in overflow and underflow cases.
20573 * stdlib/tst-strtod-round.c: Include <fenv.h>.
20574 (struct test_results): New structure.
20575 (struct test): Use struct test_results to store expected results
20576 for all rounding modes.
20577 (TEST): Include expected results for all rounding modes.
20578 (test_in_one_mode): New function.
20579 (do_test): Use test_in_one_mode to compute and check results.
20580 Check results for all rounding modes.
20581 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
20582 $(link-libm).
20583
19fcedd5
AM
205842012-12-09 Allan McRae <allan@archlinux.org>
20585
1e9d84cd 20586 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 20587
8bbfd2f1
JM
205882012-09-11 Joseph Myers <joseph@codesourcery.com>
20589
20590 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
20591 (_G_int32_t): Likewise.
20592 (_G_uint16_t): Likewise.
20593 (_G_uint32_t): Likewise.
20594 (_G_HAVE_BOOL): Likewise.
20595 (_G_HAVE_ATEXIT): Likewise.
20596 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20597 (_G_HAVE_IO_FILE_OPEN): Likewise.
20598 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
20599 (_G_int32_t): Likewise.
20600 (_G_uint16_t): Likewise.
20601 (_G_uint32_t): Likewise.
20602 (_G_HAVE_BOOL): Likewise.
20603 (_G_HAVE_ATEXIT): Likewise.
20604 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20605 (_G_HAVE_IO_FILE_OPEN): Likewise.
20606 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
20607 (_G_int32_t): Likewise.
20608 (_G_uint16_t): Likewise.
20609 (_G_uint32_t): Likewise.
20610 (_G_HAVE_BOOL): Likewise.
20611 (_G_HAVE_ATEXIT): Likewise.
20612 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
20613 (_G_HAVE_IO_FILE_OPEN): Likewise.
20614
b1dc5912
L
206152012-09-11 H.J. Lu <hongjiu.lu@intel.com>
20616
20617 * csu/libc-tls.c: Update copyright years.
20618
0e886ef9
JM
206192012-09-10 Joseph Myers <joseph@codesourcery.com>
20620
28361c5e
JM
20621 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
20622 [!_G_USING_THUNKS]: Remove conditional code.
20623 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
20624 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
20625
0e886ef9
JM
20626 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
20627 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
20628 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20629 (_G_VTABLE_LABEL_PREFIX): Likewise.
20630 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20631 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20632 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20633 (_G_VTABLE_LABEL_PREFIX): Likewise.
20634 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20635 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
20636 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
20637 (_G_VTABLE_LABEL_PREFIX): Likewise.
20638 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
20639
bcba7aa2
L
206402012-09-10 H.J. Lu <hongjiu.lu@intel.com>
20641
20642 * libio/Makefile: Include ../Makeconfig before tests.
20643 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
20644 only if $(build-shared) is yes.
20645
06585ee8
L
20646 * iconv/gconv_db.c: Update copyright years.
20647
80ccd52c
LD
206482012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20649
20650 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
20651 unwind info if defined PIC. Fix special cases description.
20652 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
20653
20654 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
20655 DP_HI_MASK entry.
20656 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
20657
691bc9c1
L
206582012-09-07 H.J. Lu <hongjiu.lu@intel.com>
20659
3d9b46b3
L
20660 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
20661
de2139a9
L
20662 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
20663 is NULL.
20664
5ca78dd0
L
20665 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
20666 (LDLIBS-tst-chk4): This.
20667 (LDFLAGS-tst-chk5): Renamed to ...
20668 (LDLIBS-tst-chk5): This.
20669 (LDFLAGS-tst-chk6): Renamed to ...
20670 (LDLIBS-tst-chk6): This.
20671 (LDFLAGS-tst-lfschk4): Renamed to ...
20672 (LDLIBS-tst-lfschk4): This.
20673 (LDFLAGS-tst-lfschk5): Renamed to ...
20674 (LDLIBS-tst-lfschk5): This.
20675 (LDFLAGS-tst-lfschk6): Renamed to ...
20676 (LDLIBS-tst-lfschk6): This.
20677
691bc9c1
L
20678 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20679 on $(common-objpfx)soversions.mk.
20680
65cafb1c
JM
206812012-09-07 Joseph Myers <joseph@codesourcery.com>
20682
20683 [BZ #10014]
20684 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20685 example host name.
20686
c78ab094
SP
206872012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20688
20689 * malloc/arena.c (arena_get_retry): New function that gets
20690 another arena for the caller to try its request on.
20691 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20692 current arena cannot fulfill the request.
20693 (__libc_memalign): Likewise.
20694 (__libc_memalign): Likewise.
20695 (__libc_pvalloc): Likewise.
20696 (__libc_calloc): Likewise.
20697
01f49f59
JT
206982012-09-05 John Tobey <john.tobey@gmail.com>
20699
20700 [BZ #13542]
20701 * manual/arith.texi (Operations on Complex): Fix description
20702 of carg branch cut.
20703
4c23fed5
JM
207042012-09-06 Joseph Myers <joseph@codesourcery.com>
20705
1d3c8572
JM
20706 [BZ #10014]
20707 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20708 host name.
20709
4c23fed5
JM
20710 [BZ #10038]
20711 * manual/memory.texi (Memory): Make order of menu items match
20712 order of sections.
20713
04570aaa
L
207142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20715
20716 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20717 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20718 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20719
b80af2f4
L
207202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20721
20722 * csu/libc-tls.c (static_dtv): Renamed to ...
20723 (_dl_static_dtv): This. Make it global.
20724 (_dl_initial_dtv): Removed.
20725 (__libc_setup_tls): Updated.
20726 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20727 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20728 DL_INITIAL_DTV.
20729
2abe9f15
PM
207302012-09-06 Petr Machata <pmachata@redhat.com>
20731
20732 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20733 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20734 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20735 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20736
0948c3af
L
207372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20738
20739 [BZ #14545]
20740 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20741 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20742 freeing dtv[-1].
20743
a5055ad1
L
207442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 [BZ #14544]
20747 * Makeconfig (link-static-before-libc): Replace $(+prector)
20748 with $(+prectorT).
20749 (link-static-after-libc): Replace $(+postctor) with
20750 $(+postctorT).
20751 (link-bounded): Replace $(+prector)/$(+postctor) with
20752 $(+prectorT)/$(+postctorT).
20753 (+prectorT): New macro.
20754 (+postctorT): Likewise.
20755
ed8c2ecd
JM
207562012-09-06 Joseph Myers <joseph@codesourcery.com>
20757
20758 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20759 (round_str): Handle values above the maximum for IBM long double
20760 as inexact.
20761 * stdlib/tst-strtod-round.c (tests): Regenerated.
20762
14c996c8
AK
207632012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20764
20765 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20766 assembler flag.
20767 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20768 zarch_nohighgprs around the zarch optimized routines.
20769 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20770 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20771 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20772 for zarch.
20773
430d6ce6
DM
207742012-09-05 David S. Miller <davem@davemloft.net>
20775
20776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20777
ff04dda4
DM
20778 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20779 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20780 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20781 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20782 entries.
20783
24d4e01b
AO
207842012-09-05 Alexandre Oliva <aoliva@redhat.com>
20785
20786 * malloc/arena.c: Fold copyright years.
20787 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20788
61d58174
AO
207892012-09-05 Alexandre Oliva <aoliva@redhat.com>
20790
20791 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20792
20196a5e
AO
207932012-09-05 Alexandre Oliva <aoliva@redhat.com>
20794
20795 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20796
5c447383
AO
207972012-09-05 Alexandre Oliva <aoliva@redhat.com>
20798
20799 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20800 change internal state upon failure.
20801
fad64255
AO
208022012-09-05 Alexandre Oliva <aoliva@redhat.com>
20803
20804 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20805 * malloc/memusage.c (mmap): Likewise.
20806 (mmap64, mremap): Likewise. Adjust name in comment.
20807
1ffb8c90
SP
208082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20809
20810 * libio/fileops.c: Fix typos in comments.
20811 * libio/oldfileops.c: Likewise.
20812 * libio/wfileops.c: Likewise.
20813
6ef9cc37
SP
208142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20815
20816 [BZ #1349]
20817 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20818 (tst-malloc-usable-ENV): Set environment for test case.
20819 * malloc/hooks.c (malloc_check_get_size): New function to get
20820 requested size.
20821 * malloc/malloc.c (musable): Use malloc_check_get_size.
20822 * malloc/tst-malloc-usable.c: New test case.
20823
4d038ae3
AS
208242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20825
20826 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20827
c4e85184
AM
208282012-09-05 Allan McRae <allan@archlinux.org>
20829
b9dafc56 20830 [BZ #13966]
c4e85184
AM
20831 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20832 determine header location.
20833 * configure: Regenerated.
20834
e1343020
AS
208352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20836
20837 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20838 float format.
20839 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
20840 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20841 format.
e1343020
AS
20842 (test): Regenerate.
20843
0a9f1987
DM
208442012-09-04 David S. Miller <davem@davemloft.net>
20845
20846 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20847 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20848 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20849
29237804
FW
208502012-09-04 Florian Weimer <fweimer@redhat.com>
20851
20852 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20853 failures.
20854
edb3cb88
FW
20855 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20856
60160d83
JM
208572012-09-04 Joseph Myers <joseph@codesourcery.com>
20858
20859 [BZ #9914]
20860 * libio/iogetdelim.c: Include <limits.h>.
20861 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20862 + len + 1 would overflow.
20863
bcd6c8dc
AJ
208642012-09-03 Andreas Jaeger <aj@suse.de>
20865
20866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20867 * sysdeps/i386/fpu/libm-test-ulps: Update.
20868
4ffffbd2
LD
208692012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20870
20871 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20872 Add s_sinf-sse2, s_conf-sse2.
20873
20874 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20875 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20876 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20877 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20878
20879 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20880 for using routine as __sinf_ia32.
20881 Use macro for function declaration and weak_alias.
20882 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20883 for using routine as __cosf_ia32.
20884 Use macro for function declaration and weak_alias.
20885
20886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20887 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20888
20889 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20890 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20892
20893 * math/libm-test.inc (cos_test): Add more test cases.
20894 (sin_test): Likewise.
20895 (sincos_test): Likewise.
20896
511fa286
AK
208972012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20898
20899 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20900 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20901 hidden.
20902 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20903
5f30cfec
L
209042012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20905
20906 [BZ #14538]
20907 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20908 first element of the GOT.
20909 (elf_machine_load_address): Return the difference between
20910 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20911
0786794f
AM
209122012-09-01 Allan McRae <allan@archlinux.org>
20913
5f30cfec
L
20914 [BZ #13412]
20915 * configure.in (AWK): Require gawk version 3.0 or later.
20916 * configure: Regenerated.
0786794f 20917
26889eac
JM
209182012-09-01 Joseph Myers <joseph@codesourcery.com>
20919
20920 * sysdeps/unix/sysv/linux/kernel-features.h
20921 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20922 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20923 [__NR_clock_getres]: Make code unconditional.
20924 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20925 (clock_getcpuclockid): Remove code left unreachable by removal of
20926 conditionals.
20927 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20928 code unconditional.
20929 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20930 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20931 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20932 Make code unconditional.
20933 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20934 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20935 * sysdeps/unix/sysv/linux/clock_settime.c
20936 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20937 conditional code.
20938 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20939 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20940
d22e28b0
L
209412012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20942
20943 [BZ #14476]
20944 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20945 scripts/test-installation.pl.
20946
20947 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20948 and $ld_so_version if it is set.
20949
050af9c4
SP
209502012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20951
20952 [BZ #14516]
20953 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20954 failure if reading from procfs failed.
20955 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20956
ad845c0b
JM
209572012-08-27 Joseph Myers <joseph@codesourcery.com>
20958
20959 * sysdeps/unix/sysv/linux/kernel-features.h
20960 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20961 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20962 Remove conditional code.
20963 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20964 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20965 Remove conditional code.
20966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20967 * sysdeps/unix/sysv/linux/i386/fxstat.c
20968 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20969 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20970 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20971 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20973 * sysdeps/unix/sysv/linux/i386/lxstat.c
20974 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20976 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20977 Remove conditional code.
20978 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20979 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20980 Remove conditional code.
20981 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20982 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20983 <kernel-features.h>.
20984 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20985 Remove.
20986 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20987 Remove conditional code.
20988 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20989 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20990 Remove conditional.
20991
5dbf56af
MF
209922012-08-27 Mike Frysinger <vapier@gentoo.org>
20993
20994 [BZ #5400]
20995 * NEWS: Add fixed bug number.
20996
d6e70f43
JM
209972012-08-27 Joseph Myers <joseph@codesourcery.com>
20998
7efb4737
JM
20999 [BZ #14519]
21000 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21001 underflowing exponent in case of negative sign.
21002 * stdlib/tst-strtod-round-data: Add more tests.
21003 * stdlib/tst-strtod-round.c (tests): Regenerated.
21004
af92131a
JM
21005 [BZ #3479]
21006 * stdlib/strtod_l.c (NDIG): Remove.
21007 (HEXNDIG): Likewise.
21008 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21009 smallest representable value.
21010 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21011 lie within an exact representation of 1/2 ulp of the result.
21012 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21013 unconditionally.
21014 (TENS_P9_IDX): Define unconditionally.
21015 (TENS_P9_SIZE): Likewise.
21016 (TENS_P10_IDX): Likewise.
21017 (TENS_P10_SIZE): Likewise.
21018 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21019 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21020 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21021 entries for 10^2^13 and 10^2^14.
21022 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21023 (TENS_P13_IDX): Define.
21024 (TENS_P13_SIZE): Likewise.
21025 (TENS_P14_IDX): Likewise.
21026 (TENS_P14_SIZE): Likewise.
21027 (_fpioconst_pow10): Change array size to
21028 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21029 unconditional.
21030 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21031 1024]: Add entries for 10^2^13 and 10^2^14.
21032 [LAST_POW10 > _LAST_POW10]: Remove #error.
21033 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21034 (_fpioconst_pow10): Change array size to
21035 FPIOCONST_POW10_ARRAY_SIZE.
21036 * stdlib/gen-fpioconst.c: New file.
21037 * stdlib/gen-tst-strtod-round.c: Likewise.
21038 * stdlib/tst-strtod-round-data: Likewise.
21039 * stdlib/tst-strtod-round.c: Likewise.
21040 * stdlib/Makefile (tests): Add tst-strtod-round.
21041
d6e70f43
JM
21042 [BZ #14459]
21043 * stdlib/strtod_l.c: Include <stdint.h>.
21044 (NDEBUG): Do not define.
21045 (round_and_return): Change EXPONENT parameter to type intmax_t.
21046 Rearrange calculations to avoid internal overflow possibilities.
21047 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21048 Rearrange calculations to avoid internal overflow possibilities.
21049 Assert that number fits inside MPNSIZE limbs.
21050 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21051 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21052 calculations and add assertions to avoid internal overflow
21053 possibilities. Add casts to avoid signed/unsigned operations.
21054 * stdlib/tst-strtod-overflow.c: New file.
21055 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21056
1f529f7d
MP
210572012-08-25 Marek Polacek <polacek@redhat.com>
21058
21059 * time/time.h: Fix some typos in comments.
21060
59a629f1
RM
210612012-08-23 Roland McGrath <roland@hack.frob.com>
21062
21063 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21064 * posix/tst-rfc3484-2.c: Likewise.
21065 * posix/tst-rfc3484-3.c: Likewise.
21066
d3bafbc9
SM
210672012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21068
21069 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21070 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21071
4efcc022
JM
210722012-08-23 Joseph Myers <joseph@codesourcery.com>
21073
21074 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21075 #include of fxstatat64.c.
21076
3cc3ef96
RM
210772012-08-22 Roland McGrath <roland@hack.frob.com>
21078
f04e2132
RM
21079 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21080 * shadow/getspent_r.c: Likewise.
21081 * shadow/getspnam.c: Likewise.
21082 * shadow/getspnam_r.c: Likewise.
21083 * gshadow/getsgent.c: Likewise.
21084 * gshadow/getsgent_r.c: Likewise.
21085 * gshadow/getsgnam.c: Likewise.
21086 * gshadow/getsgnam_r.c: Likewise.
21087 * inet/getnetbyad.c: Likewise.
21088 * inet/getnetbyad_r.c: Likewise.
21089 * inet/getnetbynm.c: Likewise.
21090 * inet/getnetbynm_r.c: Likewise.
21091 * inet/getnetent.c: Likewise.
21092 * inet/getnetent_r.c: Likewise.
21093 * inet/getproto.c: Likewise.
21094 * inet/getproto_r.c: Likewise.
21095 * inet/getprtent.c: Likewise.
21096 * inet/getprtent_r.c: Likewise.
21097 * inet/getprtname.c: Likewise.
21098 * inet/getprtname_r.c: Likewise.
21099 * inet/getrpcbyname.c: Likewise.
21100 * inet/getrpcbyname_r.c: Likewise.
21101 * inet/getrpcbynumber.c: Likewise.
21102 * inet/getrpcbynumber_r.c: Likewise.
21103 * inet/getrpcent.c: Likewise.
21104 * inet/getrpcent_r.c: Likewise.
21105 * inet/getaliasent.c: Likewise.
21106 * inet/getaliasent_r.c: Likewise.
21107 * inet/getaliasname.c: Likewise.
21108 * inet/getaliasname_r.c: Likewise.
21109 * nscd/getgrgid_r.c: Likewise.
21110 * nscd/getgrnam_r.c: Likewise.
21111 * nscd/gethstbyad_r.c: Likewise.
21112 * nscd/gethstbynm3_r.c: Likewise.
21113 * nscd/getpwnam_r.c: Likewise.
21114 * nscd/getpwuid_r.c: Likewise.
21115 * nscd/getsrvbynm_r.c: Likewise.
21116 * nscd/getsrvbypt_r.c: Likewise.
21117 * nscd/gai.c: Likewise.
21118
c53d909c
RM
21119 * configure.in (build_nscd): New substituted variable, set
21120 by --disable-build-nscd and defaults to $use_nscd.
21121 * configure: Regenerated.
21122 * config.make.in (build-nscd): New substituted variable.
21123 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21124 Change conditional to require [$(build-nscd) = yes] as well.
21125 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21126
3cc3ef96
RM
21127 [BZ# 13696]
21128 * configure.in (use_nscd): New substituted variable, set by
21129 --disable-nscd. If enabled, define USE_NSCD.
21130 * configure: Regenerated.
21131 * config.h.in: Add USE_NSCD.
21132 * config.make.in (use-nscd): New substituted variable.
21133 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21134 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21135 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21136 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21137 (CFLAGS-getgrnam_r.c): Likewise.
21138 (CFLAGS-initgroups.c): Likewise.
21139 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21140 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21141 Variables removed.
21142 * inet/getnetgrent_r.c
21143 (nscd_setnetgrent): New function, broken out of ...
21144 (setnetgrent): ... here. Call it.
21145 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21146 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21147 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21148 * nscd/Makefile (routines, aux): Move definitions after include of
21149 Makeconfig. Conditionalize on [$(use-nscd) != no].
21150 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21151 Conditionalize on [USE_NSCD].
21152 (is_nscd, nscd_init_cb): Likewise.
21153 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21154 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21155 * nss/nss_db/db-init.c: Likewise.
21156 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21157 [USE_NSCD].
21158 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21159 (make_request): Use it.
21160 (cache_valid_p): New function.
21161 (__check_pf): Use it.
21162 * NEWS: Add item for --disable-nscd.
21163
07e51550
DL
211642012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21165
21166 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21167 to support sed >= 4.2.1-20-ga9bf076.
21168 * configure: Regenerated.
21169
35a5b08b
RM
211702012-08-22 Roland McGrath <roland@hack.frob.com>
21171
21172 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21173 Conditionalize whole body on [IREL].
21174
8479f23a
JL
211752012-08-22 Jeff Law <law@redhat.com>
21176
21177 [BZ #14505]
21178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21179 if the family is PF_UNSPEC.
21180
48da0b21
MF
211812012-08-22 Mike Frysinger <vapier@gentoo.org>
21182
21183 * Makerules (lib-version): Rename from V.
21184 (install-lib-nosubdir): Change V to lib-version.
21185
15d0da8c
WS
211862012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21187
21188 [BZ #14252]
21189 * powerpc32/power6/wcschr.c: New file.
21190 * powerpc32/power6/wcscpy.c: New file.
21191 * powerpc32/power6/wcsrchr.c: New file.
21192 * powerpc64/power6/wcschr.c: New file.
21193 * powerpc64/power6/wcscpy.c: New file.
21194 * powerpc64/power6/wcsrchr.c: New file.
21195
bcca0895
MK
211962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21197
21198 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21199 (two_way_short_needle): Use it.
5a4aaa33
RM
21200 * string/strstr.c (AVAILABLE1_USES_J): Define.
21201 * string/strcasestr.c: Likewise.
99677e57
MK
21202
21203 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21204 array references.
21205 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21206
400726de
MK
21207 [BZ #11607]
21208 * NEWS: Add an entry.
21209 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21210 define their defaults.
21211 (two_way_short_needle): Detect end-of-string on-the-fly.
21212 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21213 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21214 * string/bug-strcasestr1.c: New test.
21215 * string/Makefile: Run it.
21216
20a71f2c
MK
212172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21218
21219 [BZ #11607]
21220 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21221 the first character.
21222
21ad0558
RM
212232012-08-21 Roland McGrath <roland@hack.frob.com>
21224
21225 * csu/elf-init.c (__libc_csu_irel): Function removed.
21226 * csu/libc-start.c (apply_irel): New function.
21227 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21228
0e1d9911
JM
212292012-08-21 Joseph Myers <joseph@codesourcery.com>
21230
21231 * sysdeps/unix/sysv/linux/kernel-features.h
21232 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21233 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21234 <kernel-features.h>.
21235 [__NR_fadvise64_64]: Make code unconditional.
21236 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21237 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21238 !__NR_fadvise64_64)]: Likewise.
21239 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21240 !__NR_fadvise64_64))]: Likewise.
21241 [__NR_fadvise64]: Make code unconditional.
21242 [!__NR_fadvise64]: Remove conditional code.
21243 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21244 <kernel-features.h>.
21245 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21246 unconditional.
21247 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21248 conditional code.
21249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21250 not include <kernel-features.h>.
21251 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21252 unconditional.
21253 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21254 conditional code.
21255 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21256 include <kernel-features.h>.
21257 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21258 unconditional.
21259 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21260 conditional code.
21261
14a50c9d
WS
212622012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21263
21264 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21265 slight instruction rearrangements per scrollpipe analysis.
21266 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21267
c0f4faf0
RM
212682012-08-20 Roland McGrath <roland@hack.frob.com>
21269
696da859
RM
21270 * manual/syslog.texi (syslog; vsyslog, closelog):
21271 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21272 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21273
c0f4faf0
RM
21274 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21275 DSOCAPS to match condition on defining it.
21276
348363b2
JM
212772012-08-20 Joseph Myers <joseph@codesourcery.com>
21278
a35cbf28
JM
21279 * sysdeps/unix/sysv/linux/kernel-features.h
21280 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21282 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21283 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21285 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21286 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21288 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21289 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21290
445f7ecd
JM
21291 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21292 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21293
348363b2
JM
21294 * sysdeps/unix/sysv/linux/kernel-features.h
21295 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21296 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21297 unconditional.
21298 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21299 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21300 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21301 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21302 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21303 Make code unconditional.
21304 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21305 (__mmap64) [!__NR_mmap2]: Likewise.
21306 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21307 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21308 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21309 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21310 [__NR_mmap2]: Make code unconditional.
21311 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21312 (__mmap64) [!__NR_mmap2]: Likewise.
21313
bc5bc0e5
AK
213142012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21315
21316 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21317
88d506de
AJ
213182012-08-18 Andreas Jaeger <aj@suse.de>
21319
21320 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21321
493387d2
MF
213222012-08-18 Mike Frysinger <vapier@gentoo.org>
21323
21324 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21325 * include/unistd.h (__have_sock_cloexec): Likewise.
21326 (__have_pipe2): Likewise.
21327 (__have_dup3): Likewise.
21328
a277af22
MF
213292012-08-18 Mike Frysinger <vapier@gentoo.org>
21330
21331 [BZ #9685]
21332 * include/unistd.h (__have_pipe2): Change define into an extern int.
21333 (__have_dup3): Likewise.
21334 * socket/have_sock_cloexec.c: Include fcntl.h.
21335 (__have_pipe2): New variable.
21336 (__have_dup3): Likewise.
21337
fdab8fd3
MF
213382012-08-17 Mike Frysinger <vapier@gentoo.org>
21339
21340 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21341
31035e80
MP
213422012-08-17 Marek Polacek <polacek@redhat.com>
21343
21344 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21345 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21346
3bd9e993
RM
213472012-08-17 Roland McGrath <roland@hack.frob.com>
21348
c91c505f
RM
21349 * configure.in: Add AC_SUBST for sysheaders.
21350 * configure: Regenerated.
21351 * config.make.in (sysheaders): New substituted variable.
21352
7c6f9d53
RM
21353 * sysdeps/unix/mkfifo.c: Moved ...
21354 * sysdeps/posix/mkfifo.c: ... here.
21355 * sysdeps/unix/mkfifoat.c: Moved ...
21356 * sysdeps/posix/mkfifoat.c: ... here.
21357
21358 * sysdeps/unix/utime.c: Moved ...
21359 * sysdeps/posix/utime.c: ... here.
21360
21361 * sysdeps/unix/time.c: Moved ...
21362 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
21363 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
21364 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
21365
21366 * sysdeps/unix/nice.c: Moved ...
21367 * sysdeps/posix/nice.c: ... here.
21368
21369 * sysdeps/unix/alarm.c: Moved ...
21370 * sysdeps/posix/alarm.c: ... here.
21371
3bd9e993
RM
21372 * intl/Makefile ($(codeset_mo)): Depend on the input file.
21373
d1f09384
JL
213742012-08-17 Jeff Law <law@redhat.com>
21375
21376 * intl/Makefile (codeset_mo): New variable.
21377 ($(codeset_mo)): New target.
21378 (tst-codeset.out): Depend on that. Remove explicit rule.
21379 (tst-gettext3.out, tst-gettext5.out): Likewise.
21380 (LOCPATH-ENV, tst-codeset-ENV): New variables.
21381 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
21382 * intl/tst-codeset.sh: Remove.
21383 * intl/tst-gettext3.sh: Likewise.
21384 * intl/tst-gettext5.sh: Likewise.
21385
2ae1ae5c
RM
213862012-08-17 Roland McGrath <roland@hack.frob.com>
21387
c31fdb83
RM
21388 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
21389 * sysdeps/unix/syscalls.list: ... here.
21390
a0844057
RM
21391 * sysdeps/posix/getaddrinfo.c
21392 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
21393 (gaiconf_init, gaiconf_reload): Use them.
21394 [!_STATBUF_ST_NSEC]
21395 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
21396 Define using time_t rather than struct timespec.
21397
750c1f2a
RM
21398 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
21399 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
21400 Macros removed.
21401 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
21402 [!NO_THREADS].
21403 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
21404 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
21405 Likewise.
21406
2ae1ae5c
RM
21407 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
21408 __libc_cleanup_push argument.
21409
e66a42f5
RM
21410 * bits/param.h: New file.
21411 * misc/sys/param.h: New file.
21412 * include/sys/param.h: New file.
21413 * misc/Makefile (headers): Add bits/param.h.
21414 * sysdeps/generic/sys/param.h: File removed.
21415 * sysdeps/unix/sysv/linux/bits/param.h: New file.
21416 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
21417 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 21418 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 21419
b7c08a66
RM
21420 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
21421 last change.
21422
b2e1c562
RM
21423 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
21424 [_IO_MTSAFE_IO].
21425 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
21426 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
21427 New macros.
21428
c75ccd4c
RM
21429 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
21430 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
21431 rather than -D_IO_MTSAFE_IO conditionally.
21432 * stdio-common/Makefile (CPPFLAGS): Likewise.
21433 * wcsmbs/Makefile (CPPFLAGS): Likewise.
21434 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
21435 Use $(libio-mtsafe).
21436 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
21437 of -D_IO_MTSAFE_IO.
21438 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
21439 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
21440 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
21441 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
21442 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
21443 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
21444 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
21445 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
21446 (CFLAGS-fread_u_chk.c): Likewise.
21447 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
21448 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
21449 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
21450 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
21451 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
21452 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
21453 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
21454 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
21455 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
21456
21457 * libio/Makefile: Test [$(libc-reentrant) = yes]
21458 instead of [$(filter %REENTRANT, $(defines)) nonempty].
21459
21460 * Makeconfig
21461 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
21462 * sysdeps/pthread/configure: File removed.
21463 * sysdeps/pthread/Makeconfig: New file.
21464 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
21465 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
21466
d9195db8
GB
214672012-08-16 Gary Benson <gbenson@redhat.com>
21468
21469 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
21470 unmapping the first object in a namespace.
21471
86466cd9
RM
214722012-08-16 Roland McGrath <roland@hack.frob.com>
21473
21474 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
21475 (__internal_setnetgrent): ... this. Add internal_function to
21476 definition. Add libc_hidden_def.
21477 (setnetgrent): Update caller.
21478 (internal_endnetgrent): Renamed to ...
21479 (__internal_endnetgrent): ... this. Add internal_function to
21480 definition. Add libc_hidden_def.
21481 (endnetgrent): Update caller.
21482 (internal_getnetgrent_r): Renamed to ...
21483 (__internal_getnetgrent_r): ... this. Add internal_function to
21484 definition. Add libc_hidden_def.
21485 (__getnetgrent_r): Update caller.
21486 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
21487
c3c8283c
JM
214882012-08-16 Joseph Myers <joseph@codesourcery.com>
21489
21490 * stdlib/longlong.h: Update from GCC.
21491
db1ee0a8
RM
214922012-08-16 Roland McGrath <roland@hack.frob.com>
21493
21494 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
21495 on _QL, which is set by umul_ppmm but never used.
21496 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
21497 variables, which are set by GMP macros but never used.
21498 * stdio-common/_itowa.c (_itowa): Likewise.
21499 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
21500 * stdlib/mod_1.c (mpn_mod_1): Likewise.
21501
30f69637
CD
215022012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
21503
21504 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
21505 struct La_sh_regs is not constant.
21506 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
21507 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
21508 and struct La_sparc64_regs are not constant.
21509
93a78ac4
JM
215102012-08-16 Joseph Myers <joseph@codesourcery.com>
21511
21512 * sysdeps/unix/sysv/linux/kernel-features.h
21513 (__ASSUME_POSIX_TIMERS): Remove.
21514 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21515 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21516 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
21517 Make code unconditional.
21518 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21519 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
21520 Make code unconditional.
21521 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21522 * sysdeps/unix/sysv/linux/clock_nanosleep.c
21523 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
21524 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21525 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
21526 Make code unconditional.
21527 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
21528 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
21529 (__libc_missing_posix_timers): Remove.
21530
dd924cd7
RM
215312012-08-15 Roland McGrath <roland@hack.frob.com>
21532
4b4f2771
RM
21533 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
21534 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
21535
601c888b
RM
21536 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
21537
176790a7
RM
21538 * elf/dl-sym.c: Include <stdlib.h>.
21539
329bc018
RM
21540 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
21541 constants, which avoids warnings in 32-bit builds.
21542
e04e272d
RM
21543 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
21544 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
21545
952bf94a
RM
21546 * misc/lseek.c: File moved to ...
21547 * io/lseek.c: ... here.
21548
7c99b50a
RM
21549 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
21550
dd924cd7
RM
21551 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
21552 shifting LEN more than 31 bits at once.
21553
b3f479a8
LD
215542012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21555
21556 [BZ #14195]
8c4ae0d4
RM
21557 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
21558 segmentation fault for a case of two empty input strings.
b3f479a8
LD
21559 * string/test-strncasecmp.c (check1): Renamed to...
21560 (bz12205): ...this.
21561 (bz14195): Add new testcase for two empty input strings and N > 0.
21562 (test_main): Call new testcase, adapt for renamed function.
21563
9c55864e
AJ
215642012-08-15 Andreas Jaeger <aj@suse.de>
21565
21566 [BZ #14090]
21567 * crypt/md5test2.c: New test, based on test supplied by Serge
21568 Belyshev <belyshev@depni.sinp.msu.ru>.
21569 * crypt/Makefile (xtests): Add md5test-giant..
21570 * crypt/Makefile ($(objpfx)md5test-giant): Add.
21571
02dcb6c5
PE
215722012-08-15 Paul Eggert <eggert@cs.ucla.edu>
21573
21574 [BZ #14090]
21575 * crypt/md5.c (md5_process_block): Don't assume the buffer
21576 length is less than 2**32.
21577 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
21578 length is less than 2**64.
21579
a3f95dcc
RM
215802012-08-15 Roland McGrath <roland@hack.frob.com>
21581
be75d758
RM
21582 * string/str-two-way.h: Include <sys/param.h>.
21583 (MAX): Macro removed.
21584
7312ca90
RM
21585 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
21586 Move #define and #undef of memmove to just before and after
21587 including <string.h>.
21588
9a0a5486
RM
21589 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
21590 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
21591 and after including <string.h>. Move declarations of
21592 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
21593 to before #include "string/memmove.c".
21594
67cc348d
RM
21595 * include/dirent.h: Declare __getdirentries.
21596
a3f95dcc
RM
21597 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
21598 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
21599
ca98e171
MF
216002012-08-14 Mike Frysinger <vapier@gentoo.org>
21601
21602 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
21603 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
21604 * sysdeps/i386/configure: Regenerated.
21605 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
21606 STABS_CURRENT_FILE, and STABS_FUN.
21607 (END): Remove call to STABS_FUN_END.
21608 (STABS_CURRENT_FILE1): Delete.
21609 (STABS_CURRENT_FILE): Likewise.
21610 (STABS_FUN): Likewise.
21611 (STABS_FUN_END): Likewise.
21612 (STABS_FUN2): Likewise.
21613 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
21614 * sysdeps/x86_64/configure: Regenerated.
21615
5908bf46
RM
216162012-08-14 Roland McGrath <roland@hack.frob.com>
21617
21618 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 21619 * elf/dl-lookup.c: Likewise.
5908bf46 21620
f2c05b9e
JM
216212012-08-14 Joseph Myers <joseph@codesourcery.com>
21622
21623 * sysdeps/unix/sysv/linux/kernel-features.h
21624 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
21625 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
21626 unconditionally.
21627 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
21628 unconditionally.
21629 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
21630 condition on __ASSUME_CLONE_THREAD_FLAGS.
21631
e11f5155
AJ
216322012-08-14 Andreas Jaeger <aj@suse.de>
21633
21634 * sysdeps/i386/fpu/libm-test-ulps: Update.
21635
51a9ba86
MK
216362012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
21637
2fdd4f78
AJ
21638 * include/atomic.h (atomic_exchange_and_add): Split into ...
21639 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
21640 New atomic macros.
51a9ba86 21641
ba6cba9e
MT
216422012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
21643
21644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21645
42443a47
JL
216462012-08-13 Jeff Law <law@redhat.com>
21647
21648 * manual/stdio.texi (snprintf): Clarify handling of the trailing
21649 null byte in the output string.
21650
121dce05
JM
216512012-08-10 Joseph Myers <joseph@codesourcery.com>
21652
21653 * sysdeps/unix/sysv/linux/kernel-features.h
21654 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
21655 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
21656 (__ASSUME_ARG_MAX_STACK_BASED): Define.
21657 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21658 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
21659 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
21660 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
21661
bf51f568
JL
216622012-08-09 Jeff Law <law@redhat.com>
21663
21664 [BZ #13939]
21665 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
21666 When avoid_arena is set, don't retry in the that arena. Pick the
21667 next one, whatever it might be.
21668 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21669 (arena_lock): Pass in new parameter to arena_get2.
21670 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21671 arena_get2.
21672 (__libc_malloc): Unify retrying after main arena failure with
21673 __libc_memalign version.
21674 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21675
f85fa270
L
216762012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21677
21678 [BZ #14166]
21679 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21680 to __redirect_strstr.
21681 (__strstr_sse42): Use typeof __redirect_strstr.
21682 (__strstr_ia32): Likewise.
21683 (__libc_strstr): New prototype.
21684 (strstr): Renamed to ...
21685 (__libc_strstr): This.
21686 (strstr): New strong alias of __libc_strstr.
21687 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21688 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21689 __redirect_time.
21690 Include <time.h>.
21691 (__libc_time): New prototype.
21692 (time_ifunc): Replace time with __libc_time.
21693 (time): New strong alias and hidden definition of __libc_time.
21694 (__GI_time): Remove strong alias.
21695 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21696 Include <stddef.h>.
21697 (memmove): Redefined to __redirect_memmove.
21698 (__memmove_sse2): Use typeof __redirect_memmove.
21699 (__memmove_ssse3): Likewise.
21700 (__memmove_ssse3_back): Likewise.
21701 (__libc_memmove): New prototype.
21702 (memmove): Renamed to ...
21703 (__libc_memmove): This.
21704 (memmove): New strong alias of __libc_memmove.
21705
33b4a91e
MS
217062012-08-08 Mark Salter <msalter@redhat.com>
21707
21708 * elf/elf.h
21709 (R_MN10300_TLS_GD): Define.
21710 (R_MN10300_TLS_LD): Likewise.
21711 (R_MN10300_TLS_LDO): Likewise.
21712 (R_MN10300_TLS_GOTIE): Likewise.
21713 (R_MN10300_TLS_IE): Likewise.
21714 (R_MN10300_TLS_LE): Likewise.
21715 (R_MN10300_TLS_DTPMOD): Likewise.
21716 (R_MN10300_TLS_DTPOFF): Likewise.
21717 (R_MN10300_TLS_TPOFF): Likewise.
21718 (R_MN10300_SYM_DIFF): Likewise.
21719 (R_MN10300_ALIGN): Likewise.
21720 (R_MN10300_NUM): Update.
21721
b36137f1
JM
217222012-08-08 Joseph Myers <joseph@codesourcery.com>
21723
21724 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21725 Remove.
21726
cdd915fd
RM
217272012-08-08 Roland McGrath <roland@hack.frob.com>
21728
a2433aac
RM
21729 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21730
cdd915fd
RM
21731 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21732 sysdeps/unix -> sysdeps/posix move.
21733 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21734
bf9b740a
AM
217352012-08-07 Allan McRae <allan@archlinux.org>
21736
21737 [BZ #14303]
21738 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21739 (SUNOS_CPP): Likewise.
21740 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21741 not found.
21742 (open_input): Call CPP using execvp.
21743
93df14ee
JM
217442012-08-07 Joseph Myers <joseph@codesourcery.com>
21745
21746 * sysdeps/unix/sysv/linux/kernel-features.h
21747 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21748 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21749 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21750 (__ASSUME_WAITID_SYSCALL): Likewise.
21751 * sysdeps/unix/sysv/linux/dl-execstack.c
21752 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21753 code unconditional.
21754 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21755 conditional code.
21756 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21757 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21758 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21759 code.
21760 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21761 unconditional.
21762 [__ASSUME_WAITID_SYSCALL]: Likewise.
21763 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21764
d34689de
RM
217652012-08-07 Roland McGrath <roland@hack.frob.com>
21766
a281decc
RM
21767 * sysdeps/unix/closedir.c: Renamed to ...
21768 * sysdeps/posix/closedir.c: ... here.
21769 * sysdeps/unix/dirfd.c: Renamed to ...
21770 * sysdeps/posix/dirfd.c: ... here.
21771 * sysdeps/unix/dirstream.h: Renamed to ...
21772 * sysdeps/posix/dirstream.h: ... here.
21773 * sysdeps/unix/fdopendir.c: Renamed to ...
21774 * sysdeps/posix/fdopendir.c: ... here.
21775 * sysdeps/unix/opendir.c: Renamed to ...
21776 * sysdeps/posix/opendir.c: ... here.
21777 * sysdeps/unix/readdir.c: Renamed to ...
21778 * sysdeps/posix/readdir.c: ... here.
21779 * sysdeps/unix/readdir_r.c: Renamed to ...
21780 * sysdeps/posix/readdir_r.c: ... here.
21781 * sysdeps/unix/rewinddir.c: Renamed to ...
21782 * sysdeps/posix/rewinddir.c: ... here.
21783 * sysdeps/unix/seekdir.c: Renamed to ...
21784 * sysdeps/posix/seekdir.c: ... here.
21785 * sysdeps/unix/telldir.c: Renamed to ...
21786 * sysdeps/posix/telldir.c: ... here.
21787 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21788 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21789 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21790 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21791
22895b47
RM
21792 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21793 * bits/fcntl.h: ... here.
21794
707a53b6
RM
21795 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21796 not 0.
21797 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21798 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21799 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21800 (struct flock): Move l_start, l_len to the beginning.
21801 Use __pid_t for l_pid.
21802 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21803 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21804 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21805 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21806 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21807 [__USE_LARGEFILE64] (struct flock64): New type.
21808 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21809
f0bd3e25
RM
21810 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21811 * bits/dirent.h: ... here.
21812
d34689de
RM
21813 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21814 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21815
6dad2c06
JM
218162012-08-07 Joseph Myers <joseph@codesourcery.com>
21817
21818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21819 Change from 2.6.0 to 2.6.16.
21820 * sysdeps/unix/sysv/linux/configure: Regenerated.
21821 * sysdeps/unix/sysv/linux/kernel-features.h
21822 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21823 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21824 version.
21825 (__ASSUME_UTIMES): Likewise.
21826 (__ASSUME_CLONE_STOPPED): Remove.
21827 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21828 architectures, not kernel version.
21829 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21830 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21831 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21832 (__ASSUME_WAITID_SYSCALL): Likewise.
21833 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21834 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21835 * README: State 2.6.16 as minimum Linux kernel version. Do not
21836 refer to older versions.
21837
03af9520
RM
218382012-08-06 Roland McGrath <roland@hack.frob.com>
21839
8e49df1d
RM
21840 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21841 Define alphasort64 as an alias.
21842 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21843 Define versionsort64 as an alias.
21844 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21845 Define scandir64 as an alias.
21846 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21847 Define scandirat64 as an alias.
21848 * dirent/alphasort64.c (alphasort64):
21849 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21850 * dirent/versionsort64.c: Likewise.
21851 * dirent/scandir64.c: Likewise.
21852 * dirent/scandirat64.c: Likewise.
21853 * sysdeps/wordsize-64/alphasort.c: File removed.
21854 * sysdeps/wordsize-64/alphasort64.c: File removed.
21855 * sysdeps/wordsize-64/scandir.c: File removed.
21856 * sysdeps/wordsize-64/scandir64.c: File removed.
21857 * sysdeps/wordsize-64/scandirat.c: File removed.
21858 * sysdeps/wordsize-64/scandirat64.c: File removed.
21859 * sysdeps/wordsize-64/versionsort.c: File removed.
21860 * sysdeps/wordsize-64/versionsort64.c: File removed.
21861 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21862 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21863 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21864 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21865 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21866 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21867 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21868 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21869
21870 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21872 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21874 [defined __arch64__ || defined __sparcv9]
21875 (__INO_T_MATCHES_INO64_T): New macro.
21876 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21877 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21878 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21879 * sysdeps/unix/sysv/linux/bits/dirent.h
21880 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21881 (_DIRENT_MATCHES_DIRENT64): New macro.
21882
03af9520
RM
21883 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21884 Define lockf64 as an alias.
21885 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21886 Define fseeko64 as an alias.
21887 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21888 Define ftello64 as an alias.
21889 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21890 Define _IO_fgetpos64 and fgetpos64 as aliases.
21891 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21892 Define _IO_fsetpos64 and fsetpos64 as aliases.
21893 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21894 Conditionalize body on this.
21895 * libio/fseeko64.c: Likewise.
21896 * libio/ftello64.c: Likewise.
21897 * libio/iofgetpos64.c: Likewise.
21898 * libio/iofsetpos64.c: Likewise.
21899 * sysdeps/wordsize-64/lockf.c: File removed.
21900 * sysdeps/wordsize-64/lockf64.c: File removed.
21901 * sysdeps/wordsize-64/fseeko.c: File removed.
21902 * sysdeps/wordsize-64/fseeko64.c: File removed.
21903 * sysdeps/wordsize-64/ftello.c: File removed.
21904 * sysdeps/wordsize-64/ftello64.c: File removed.
21905 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21906 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21907 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21908 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21909 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21910 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21911 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21912 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21913 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21914 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21915 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21916 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21917 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21918 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21919
21920 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21922 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21924 [defined __arch64__ || defined __sparcv9]
21925 (__OFF_T_MATCHES_OFF64_T): New macro.
21926 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21927 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21929 (__OFF_T_MATCHES_OFF64_T): New macro.
21930
c5757acd
L
219312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 * stdlib/secure-getenv.c (__secure_getenv): Replace
21934 GLIBC_2_16 with GLIBC_2_17.
21935
3a31811e
L
219362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21937
21938 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21939 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21940
faa2bccb
DM
219412012-08-03 David S. Miller <davem@davemloft.net>
21942
21943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21944
85fe1997
JM
219452012-08-03 Joseph Myers <joseph@codesourcery.com>
21946
21947 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21948 Remove.
21949 (__ASSUME_CORRECT_SI_PID): Likewise.
21950 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21951 (__ASSUME_TMPFS_NAME): Likewise.
21952 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21953 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21954 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21955 (HAVE_AUX_SECURE): Make definition unconditional.
21956 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21957 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21958
4f75b7a0
RM
219592012-08-03 Roland McGrath <roland@hack.frob.com>
21960
21961 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21962 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21963 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21964 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21965 __eloop_threshold instead of SYMLOOP_MAX.
21966
21967 * sysdeps/generic/eloop-threshold.h: New file.
21968 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21969 of MAXSYMLINKS.
21970 * elf/chroot_canon.c (chroot_canon): Likewise.
21971
7aab07e4
JM
219722012-08-03 Joseph Myers <joseph@codesourcery.com>
21973
21974 [BZ #13717]
21975 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21976 Change to 2.6.0 everywhere.
21977 * sysdeps/unix/sysv/linux/configure: Regenerated.
21978 * sysdeps/unix/sysv/linux/kernel-features.h
21979 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21980 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21981 kernel versions.
21982 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21983 (__ASSUME_FUTEX_REQUEUE): Remove.
21984 (__ASSUME_STATFS64): Define unconditionally.
21985 (__ASSUME_AT_SECURE): Likewise.
21986 (__ASSUME_CORRECT_SI_PID): Likewise.
21987 (__ASSUME_TGKILL): Define without depending on kernel version for
21988 i386.
21989 (__ASSUME_UTIMES): Likewise.
21990 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21991 kernel version.
21992 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21993 (__ASSUME_TMPFS_NAME): Likewise.
21994 * README: Update reference to Linux kernel versions.
21995
b67e9372
MP
219962012-08-02 Marek Polacek <polacek@redhat.com>
21997
1f529f7d 21998 [BZ# 14150]
b67e9372
MP
21999 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22000 libc_cv_asm_type_prefix with %.
22001 * configure: Regenerated.
d2441631
RM
22002 * include/libc-symbols.h: Remove comment about
22003 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22004 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22005 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22006 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22007 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22008 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22009 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22010 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22011 * elf/tst-unique2mod1.c: Likewise.
22012 * elf/tst-unique1mod2.c: Likewise.
22013 * elf/tst-unique1mod1.c: Likewise.
22014 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22015 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22016 Replace ASM_TYPE_DIRECTIVE with .type.
22017 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22018 * sysdeps/i386/sysdep.h: Likewise.
22019 * sysdeps/x86_64/sysdep.h: Likewise.
22020 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22022 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22023 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22024 * sysdeps/powerpc/powerpc32/sysdep.h:
22025 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22026 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22027 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22028 * sysdeps/i386/fpu/e_powf.S: Likewise.
22029 * sysdeps/i386/fpu/e_expl.S: Likewise.
22030 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22031 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22032 * sysdeps/i386/fpu/e_pow.S: Likewise.
22033 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22034 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22035 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22036 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22037 * sysdeps/i386/fpu/e_log2.S: Likewise.
22038 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22039 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22040 * sysdeps/i386/fpu/e_powl.S: Likewise.
22041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22042 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22043 * sysdeps/i386/fpu/e_logl.S: Likewise.
22044 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22045 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22046 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22047 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22048 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22049 * sysdeps/i386/fpu/e_log.S: Likewise.
22050 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22051 * sysdeps/i386/fpu/e_logf.S: Likewise.
22052 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22053 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22054 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22055 * sysdeps/i386/fpu/e_log10.S: Likewise.
22056 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22057 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22058 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22059 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22060 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22061 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22062 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22063 * sysdeps/i386/i686/strtok.S: Likewise.
22064 * sysdeps/i386/i386-mcount.S: Likewise.
22065 * sysdeps/i386/strtok.S: Likewise.
22066 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22067 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22068 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22069 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22070 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22071 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22072 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22073 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22074 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22075 * sysdeps/x86_64/_mcount.S: Likewise.
22076 * sysdeps/x86_64/strtok.S: Likewise.
22077 * sysdeps/sh/_mcount.S: Likewise.
22078
2747bf9a
RM
220792012-08-01 Roland McGrath <roland@hack.frob.com>
22080
22081 * libio/iofopen.c: Include <fcntl.h>.
22082 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22083 (_IO_fopen64, fopen64): Define as aliases.
22084 * libio/iofopen64.c: Include <fcntl.h>.
22085 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22086 Conditionalize body on this.
22087 * sysdeps/wordsize-64/iofopen.c: File removed.
22088 * sysdeps/wordsize-64/iofopen64.c: File removed.
22089
3fb791b8
MP
220902012-08-01 Marek Polacek <polacek@redhat.com>
22091
22092 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22093 Use dlfcn directly instead of a variable.
22094 (binfmt-subdir): Do not define.
22095 (dlfcn): Likewise.
22096
a9f1039f
JM
220972012-08-01 Joseph Myers <joseph@codesourcery.com>
22098
23bddc06
JM
22099 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22100 Remove all definitions.
22101 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22102 <kernel-features.h>.
22103 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22104 (miss_F_GETOWN_EX): Remove all definitions.
22105 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22106 macro definition.
22107 [!__ASSUME_FCNTL64]: Remove conditional code.
22108 [__ASSUME_FCNTL64]: Make code unconditional.
22109 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22110 <kernel-features.h>.
22111 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22112 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22113 (lockf64) [__NR_fcntl64]: Make code unconditional.
22114 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22115
a9f1039f
JM
22116 * sysdeps/unix/sysv/linux/kernel-features.h
22117 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22118 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22119 Make code unconditional.
22120 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22121 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22123 [__NR_vfork]: Make code unconditional.
22124 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22125 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22127 [__NR_vfork]: Make code unconditional.
22128 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22129 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22130
09c0ee5f
RM
221312012-08-01 Roland McGrath <roland@hack.frob.com>
22132
48aec5b9
RM
22133 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22134 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22135
cd97c966
RM
22136 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22137 Define mkstemp64 as an alias.
3f55550c
RM
22138 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22139 Define mkstemps64 as an alias.
cd97c966
RM
22140 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22141 Define mkostemp64 as an alias.
b8625cfc
RM
22142 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22143 Define mkostemps64 as an alias.
cd97c966
RM
22144 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22145 Conditionalize body on this.
22146 * misc/mkostemp64.c: Likewise.
b8625cfc 22147 * misc/mkostemps64.c: Likewise.
3f55550c 22148 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22149 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22150 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22151 * sysdeps/wordsize-64/mkostemp.c: File removed.
22152 * sysdeps/wordsize-64/mkstemp.c: File removed.
22153 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22154 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22155 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22156 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22157
09c0ee5f
RM
22158 [BZ #14138]
22159 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22160 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22161 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22162 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22163
22164 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22165 compat_symbol macros from <shlib-compat.h> rather than the underlying
22166 default_symbol_version and symbol_version macros, so that DEFAULT
22167 lines in shlib-versions are respected.
22168 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22169
7e66ee51
FW
221702012-08-01 Florian Weimer <fweimer@redhat.com>
22171
22172 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22173 Declare with warn_unused_result.
22174 (setgid, setregid, setegid, setresgid): Likewise.
22175 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22176 Likewise.
22177 * WUR-REPORT: Remove set*id functions.
22178
d2a54255
PT
221792012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22180
22181 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22182
7ecdb005
RM
221832012-07-31 Roland McGrath <roland@hack.frob.com>
22184
b4180a5e 22185 [BZ #10191]
789bd351
RM
22186 * include/sys/socket.h (__libc_accept, __libc_accept4):
22187 Add attribute_hidden.
22188 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22189
40ce302d
RM
22190 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22191 use of PTR_MANGLE.
22192 * inet/getnetgrent_r.c (setup): Likewise.
22193
7ecdb005
RM
22194 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22195
e2eabb2c
DM
221962012-07-31 David S. Miller <davem@davemloft.net>
22197
22198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22199
d0419dbf
JM
222002012-07-31 Joseph Myers <joseph@codesourcery.com>
22201
22202 [BZ #13629]
22203 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22204 value between 1.0 and 2.0 and smaller part has absolute value less
22205 than 1.0.
22206 * math/s_clog10.c (__clog10): Likewise.
22207 * math/s_clog10f.c (__clog10f): Likewise.
22208 * math/s_clog10l.c (__clog10l): Likewise.
22209 * math/s_clogf.c (__clogf): Likewise.
22210 * math/s_clogl.c (__clogl): Likewise.
22211 * math/libm-test.inc (clog_test): Add more tests.
22212 (clog10_test): Likewise.
22213 * sysdeps/i386/fpu/libm-test-ulps: Update.
22214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22215
2bc13872
FW
222162012-07-31 Florian Weimer <fweimer@redhat.com>
22217
22218 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22219 Exit with zero in case no suitable GID is found, and write a
22220 message to standard error.
22221
bea9b193
RM
222222012-07-30 Roland McGrath <roland@hack.frob.com>
22223
22224 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22225 rather than to 1.
22226 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22227 (MAXPATHLEN): Removed.
22228 (NOGROUP, NODEV): New macros.
22229 (setbit, clrbit, isset, isclr): New macros.
22230 (howmany, roundup, powerof2): New macros.
22231 (DEV_BSIZE): New macro.
22232
22233 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22234 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22235
22236 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22237 definition on [!__NO_LONG_DOUBLE_MATH].
22238
22239 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22240 PTR_MANGLE and PTR_DEMANGLE.
22241
22242 * socket/accept4.c (accept4): Rename to __libc_accept4.
22243 Define accept4 as a weak alias.
22244
22245 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22246 on [_DIRENT_HAVE_D_TYPE].
22247 * io/ftw.c (ftw_dir): Likewise.
22248
22249 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22250
22251 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22252
22253 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22254 Use the BSD numbers rather than the arbitrary ones we had.
22255 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22256 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22257 (SIGXCPU, SIGXFSZ): New macros.
22258 (_NSIG): Now 32.
22259
22260 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22261 initializer on [_LIBC_REENTRANT].
22262
22263 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22264 definitions inside [_POSIX_MAPPED_FILES].
22265
22266 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22267
22268 * dirent/opendir.c: Include <fcntl.h>.
22269
22270 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22271 (__libc_getspecific): Likewise.
22272 (__libc_key_create): Likewise.
22273
22274 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22275 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22276 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22277 (tmpfile64): Define as alias.
22278 * sysdeps/wordsize-64/tmpfile.c: File removed.
22279 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22281 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22282
22283 * stdio-common/vfscanf.c: Include <stdbool.h>.
22284 * nss/makedb.c: Likewise.
22285 * stdio-common/_i18n_number.h: Likewise.
22286 * argp/argp-help.c: Likewise.
22287 * posix/wordexp.c: Likewise.
22288 * sysdeps/posix/spawni.c: Likewise.
22289 * nss/nss_files/files-initgroups.c: Likewise.
22290 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22291 * nss/nss_files/files-initgroups.c: Likewise.
22292 * nss/nss_db/db-netgrp.c: Likewise.
22293 * nss/nss_db/db-initgroups.c: Likewise.
22294 * io/fchmodat.c: Include <sys/stat.h>.
22295
22296 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22297 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22298
22299 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22300 [HAVE_MMAP].
22301
22302 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22303 Add multiple inclusion protection.
22304
e5abc686
DM
223052012-07-27 David S. Miller <davem@davemloft.net>
22306
22307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22308
815e6fa3
GB
223092012-07-27 Gary Benson <gbenson@redhat.com>
22310
22311 [BZ #14298]
22312 * elf/rtld.c: Include <stap-probe.h>.
22313 (dl_main): Added static probes "init_start" and "init_complete".
22314 * elf/dl-load.c: Include <stap-probe.h>.
22315 (lose): Take new parameter "nsid".
22316 Added static probe "map_failed".
22317 (_dl_map_object_from_fd): Pass namespace id to lose.
22318 Added static probe "map_start".
22319 (open_verify): Pass namespace id to lose.
22320 * elf/dl-open.c: Include <stap-probe.h>.
22321 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22322 and "reloc_complete".
22323 * elf/dl-close.c: Include <stap-probe.h>.
22324 (_dl_close_worker): Added static probes "unmap_start" and
22325 "unmap_complete".
22326 * elf/rtld-debugger-interface.txt: New file documenting the above.
22327
9f98c16c
RM
223282012-07-26 Roland McGrath <roland@hack.frob.com>
22329
22330 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22331 rather than a string variable.
22332 * sunrpc/rpc_main.c (h_output): Likewise.
22333 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22334
f3c22df3
PT
223352012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22336
22337 * inet/check_native.c: New file.
22338
3129cfc6
JM
223392012-07-26 Joseph Myers <joseph@codesourcery.com>
22340
da865e95
JM
22341 [BZ #13629]
22342 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22343 if larger part has absolute value 1.0.
22344 * math/s_clog10.c (__clog10): Likewise.
22345 * math/s_clog10f.c (__clog10f): Likewise.
22346 * math/s_clog10l.c (__clog10l): Likewise.
22347 * math/s_clogf.c (__clogf): Likewise.
22348 * math/s_clogl.c (__clogl): Likewise.
22349 * math/libm-test.inc (clog_test): Add more tests.
22350 (clog10_test): Likewise.
22351 * sysdeps/i386/fpu/libm-test-ulps: Update.
22352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22353
3129cfc6
JM
22354 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
22355 (pltexit): Likewise.
22356 (La_regs): Likewise.
22357 (La_retval): Likewise.
22358 (int_retval): Likewise.
22359 Update #error for removed macros to refer only to definitions in
22360 tst-audit.h.
22361 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
22362 macro.
22363 (pltexit): Likewise.
22364 (La_regs): Likewise.
22365 (La_retval): Likewise.
22366 (int_retval): Likewise.
22367 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
22368 macro.
22369 (pltexit): Likewise.
22370 (La_regs): Likewise.
22371 (La_retval): Likewise.
22372 (int_retval): Likewise.
22373 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
22374 macro.
22375 (pltexit): Likewise.
22376 (La_regs): Likewise.
22377 (La_retval): Likewise.
22378 (int_retval): Likewise.
22379 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
22380 macro.
22381 (pltexit): Likewise.
22382 (La_regs): Likewise.
22383 (La_retval): Likewise.
22384 (int_retval): Likewise.
22385 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
22386 macro.
22387 (pltexit): Likewise.
22388 (La_regs): Likewise.
22389 (La_retval): Likewise.
22390 (int_retval): Likewise.
22391 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
22392 macro.
22393 (pltexit): Likewise.
22394 (La_regs): Likewise.
22395 (La_retval): Likewise.
22396 (int_retval): Likewise.
22397 * sysdeps/generic/tst-audit.h: Update comment to refer only to
22398 macro definitions in tst-audit.h.
22399 * sysdeps/i386/tst-audit.h: New file.
22400 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
22401 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
22402 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
22403 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
22404 * sysdeps/sh/tst-audit.h: Likewise.
22405 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
22406 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
22407 * sysdeps/x86_64/tst-audit.h: Likewise.
22408
bfc07087
AJ
224092012-07-26 Andreas Jaeger <aj@suse.de>
22410
b1b2aaf8
AJ
22411 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
22412 ptrace.
22413
22414 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
22415 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
22416 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
22417 PTRACE_O_MASK.
22418 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
22419 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
22420 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
22421
bfc07087
AJ
22422 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
22423 value.
22424
22425 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
22426 _sigsys.
22427 (si_call_addr, si_syscall, si_arch): Define new macro.
22428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
22429 _sigsys.
22430 (si_call_addr, si_syscall, si_arch): Define new marcro.
22431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
22432 _sigsys.
22433 (si_call_addr, si_syscall, si_arch): Define new macro.
22434 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
22435 _sigsys.
22436 (si_call_addr, si_syscall, si_arch): Define new macro.
22437
89b4b02f
JM
224382012-07-25 Joseph Myers <joseph@codesourcery.com>
22439
22440 [BZ #13717]
22441 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22442 Change to 2.4.21 where previously 2.4.1.
22443 * sysdeps/unix/sysv/linux/configure: Regenerated.
22444 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
22445 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
22446 Linux kernel version.
22447 (__ASSUME_STD_AUXV): Remove.
22448 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
22449 kernel version.
22450 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
22451 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
22452 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
22453 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
22454 (__ASSUME_NETLINK_SUPPORT): Likewise.
22455 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
22456 (__no_netlink_support): Remove conditional definition.
22457 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
22458 Remove.
22459 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22460 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
22461 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
22462 (if_nameindex_ioctl): Remove.
22463 (if_nameindex_netlink): Do not handle __no_netlink_support.
22464 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22465 code.
22466 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
22467 Remove conditional code.
22468 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
22469 code.
22470 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
22471 unconditional.
22472 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
22473 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
22474 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
22475 Remove.
22476 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
22477 [!__ASSUME_STD_AUXV]: Remove conditional code.
22478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
22479 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
22480 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
22481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
22482 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
22483 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22484 code.
22485 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22487 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
22488 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22489 conditional code.
22490 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
22491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22492 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
22493 code.
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22495 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
22496 conditional code.
22497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
22498 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22499 code unconditional.
22500 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22501 conditional code.
22502 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22503 unconditional.
22504 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22505 conditional code.
22506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22507 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22508 unconditional.
22509 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22510 conditional code.
22511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22512 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22513 code unconditional.
22514 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22515 conditional code.
22516 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22517 unconditional.
22518 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22519 conditional code.
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22521 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
22522 code unconditional.
22523 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22524 conditional code.
22525 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
22526 unconditional.
22527 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
22528 conditional code.
22529
842a39cd
AS
225302012-07-25 Andreas Schwab <schwab@linux-m68k.org>
22531
22532 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
22533 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
22534 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22535 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
22536 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
22537 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22538 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22539 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22540 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
22541 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22542 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
22543 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
22544 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
22545 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22546 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
22547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
22548 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
22549 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
22550 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22551 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
22552 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
22553 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
22554 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22555
84b3fd84
FW
225562012-07-25 Florian Weimer <fweimer@redhat.com>
22557
22558 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
22559 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
22560 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
22561 Introduce __libc_secure_getenv.
0c7936d5
FW
22562 * stdlib/Versions (2.17): Add secure_getenv
22563 (GLIBC_PRIVATE): Add __libc_secure_getenv.
22564 * stdlib/secure-getenv.c: Rename __secure_getenv to
22565 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
22566 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
22567 * stdlib/tst-secure-getenv.c: New.
22568 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
22569 * manual/startup.texi (Environment Access): Document
22570 secure_getenv.
84b3fd84
FW
22571 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
22572 __libc_secure_getenv.
22573 * inet/ruserpass.c (ruserpass): Likewise.
22574 * malloc/mtrace.c (mtrace): Likewise.
22575 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 22576 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
22577 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
22578 * sysdeps/posix/tempname.c: Likewise. Evaluate
22579 HAVE_SECURE_GETENV.
22580 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 22581 __secure_getenv to __libc_secure_getenv.
84b3fd84 22582 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
22583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22584 Likewise.
22585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22586 Likewise.
22587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22589 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 22594
56e49b71
JM
225952012-07-25 Joseph Myers <joseph@codesourcery.com>
22596
22597 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
22598 (struct La_i86_retval): Likewise.
22599 (struct La_x86_64_regs): Likewise.
22600 (struct La_x86_64_retval): Likewise.
22601 (struct La_x32_regs): Likewise.
22602 (struct La_x32_retval): Likewise.
22603 (struct La_ppc32_regs): Likewise.
22604 (struct La_ppc32_retval): Likewise.
22605 (struct La_ppc64_regs): Likewise.
22606 (struct La_ppc64_retval): Likewise.
22607 (struct La_sh_regs): Likewise.
22608 (struct La_sh_retval): Likewise.
22609 (struct La_s390_32_regs): Likewise.
22610 (struct La_s390_32_retval): Likewise.
22611 (struct La_s390_64_regs): Likewise.
22612 (struct La_s390_64_retval): Likewise.
22613 (struct La_sparc32_regs): Likewise.
22614 (struct La_sparc32_retval): Likewise.
22615 (struct La_sparc64_regs): Likewise.
22616 (struct La_sparc64_retval): Likewise.
22617 (struct audit_ifaces): Remove architecture-specific pltenter and
22618 pltexit members.
22619 * sysdeps/i386/ldsodefs.h: New file.
22620 * sysdeps/powerpc/ldsodefs.h: Likewise.
22621 * sysdeps/s390/ldsodefs.h: Likewise.
22622 * sysdeps/sh/ldsodefs.h: Likewise.
22623 * sysdeps/sparc/ldsodefs.h: Likewise.
22624 * sysdeps/x86_64/ldsodefs.h: Likewise.
22625
354691b7
MP
226262012-07-25 Marek Polacek <polacek@redhat.com>
22627
22628 [BZ #6808]
22629 * math/libm-test.inc (yn_test): Add another test.
22630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
22631 to ERANGE when the result is +-Inf.
22632 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22633 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
22634 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
22635 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
22636
bf9e2071
JM
226372012-07-24 Joseph Myers <joseph@codesourcery.com>
22638
22639 * conform/data/time.h-data (NULL): Use macro-constant. Require
22640 equal to 0.
22641 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
22642 clock_t.
22643 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
22644
57633811
TS
226452012-07-23 Thomas Schwinge <thomas@codesourcery.com>
22646
22647 * configure.in <sysdeps resolving>: Correct printing
22648 Implies_before.
22649 * configure: Regenerate.
22650
c23c33b0
TS
226512012-07-22 Thomas Schwinge <thomas@codesourcery.com>
22652
22653 * math/w_ilogb.c: Include <limits.h>.
22654 * math/w_ilogbl.c: Likewise.
22655
b5982523
JM
226562012-07-20 Joseph Myers <joseph@codesourcery.com>
22657
22658 * manual/lang.texi (__va_copy): Document primarily as ISO C99
22659 va_copy. Document allowing for unavailable va_copy only as
22660 pre-C99 compatibility.
22661 * manual/string.texi (Copying and Concatenation): Use va_copy
22662 instead of __va_copy in concat example.
22663
ac4ea442
PT
226642012-07-20 Pino Toscano <toscano.pino@tiscali.it>
22665
22666 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
22667 (__sendto): Use create_address_port. Initialize APORT and deallocate
22668 it if not null.
22669
f98eafbd
PT
22670 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22671 with O_NOLINK passed to __file_name_lookup.
22672
898c7aab
PT
22673 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22674 with O_NOLINK passed to __file_name_lookup.
22675
0ced335a
PT
22676 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22677 negative N or less than NGIDS.
22678
b3404dbd
PT
22679 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22680 type to string_t. Set ERANGE as errno and return it if NAME is not big
22681 enough. Use memcpy instead of strncpy.
22682
0f48659e
JM
226832012-07-20 Joseph Myers <joseph@codesourcery.com>
22684
22685 * elf/Makefile (check-data): Remove.
22686 (localplt.data): New vpath directive.
22687 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22688 instead of $(check-data).
22689 * scripts/data/localplt-generic.data: Move to ...
22690 * sysdeps/generic/localplt.data: ... here.
22691 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22692 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22693 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22695 ... here.
22696 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22698 ... here.
22699 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22701 ... here.
22702 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22704 ... here.
22705 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22707 ... here.
22708 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22710 ... here.
22711
d37cbdaa
AZ
227122012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22713
22714 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22715 PPC32 and PPC64 files.
22716 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22717 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22718
46f85fc2
AK
227192012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22720
22721 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22722 __makecontext_ret to ...
22723 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22724 ... here and call exit if uc_link is NULL. New file.
22725 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22726 __makecontext_ret.S.
22727 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22728 __makecontext_ret to ...
22729 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22730 ... here and call exit if uc_link is NULL. New file.
22731 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22732 __makecontext_ret.S.
22733
08f43f9b
AK
227342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22735
22736 * elf/elf.h (R_390_IRELATIVE): New definition.
22737 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22738 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22739 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22741 (elf_machine_lazy_rel): Likewise.
22742 * sysdeps/s390/dl-irel.h: New file.
22743 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22744 * sysdeps/s390/s390-64/memset.S: New asm code.
22745 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22746 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22747 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22748 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22749 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22750 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22751 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22752 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22753 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22754 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22755 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22756 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22757 * sysdeps/s390/s390-32/memset.S: New asm code.
22758 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22759
3b05db33
MP
227602012-07-17 Marek Polacek <polacek@redhat.com>
22761
22762 [BZ #14349]
22763 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22764 * sysdeps/s390/s390-64/configure.in: Likewise.
22765 * sysdeps/sparc/configure.in: Likewise.
22766 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22767 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22768 * sysdeps/i386/configure.in: Likewise.
22769 * sysdeps/x86_64/configure.in: Likewise.
22770 * sysdeps/sh/configure.in: Likewise.
22771 * sysdeps/s390/s390-32/configure: Regenerated.
22772 * sysdeps/s390/s390-64/configure: Likewise.
22773 * sysdeps/x86_64/configure: Likewise.
22774 * sysdeps/sh/configure: Likewise.
22775 * sysdeps/powerpc/powerpc64/configure: Likewise.
22776 * sysdeps/powerpc/powerpc32/configure: Likewise.
22777 * sysdeps/sparc/configure: Likwise.
22778 * sysdeps/i386/configure: Likewise.
22779
a66877c6
MP
22780 * elf/dl-open.c: Comment fixes.
22781
cfc82fd8
JM
227822012-07-17 Joseph Myers <joseph@codesourcery.com>
22783
bd29910a
JM
22784 * Makefile [CXX] (check-data): Remove.
22785 [CXX] (c++-types.data): New vpath directive.
22786 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22787 vpath. Do not allow for C++ type data being missing.
22788 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22789 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22790 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22791 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22792 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22793 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22794 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22796 ... here.
22797 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22799 ... here.
22800 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22802 ... here.
22803 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22805 ... here.
22806 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22808 ... here.
22809 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22811 ... here.
22812 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22814 ... here.
22815 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22817
cfc82fd8
JM
22818 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22819 definitions to architecture-specific files.
22820 (TLS_IE): Likewise.
22821 (TLS_LD): Likewise.
22822 (TLS_GD): Likewise.
22823 * sysdeps/i386/tls-macros.h: New file.
22824 * sysdeps/powerpc/tls-macros.h: Likewise.
22825 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22826 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22827 * sysdeps/sh/tls-macros.h: Likewise.
22828 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22829 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22830 * sysdeps/x86_64/tls-macros.h: Likewise.
22831
f7db3170
TS
228322012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22833
07cbfc23
TS
22834 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22835 zero value for regular exit case.
22836
f7db3170
TS
22837 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22838 (__start_context): Preserve zero value for regular exit case.
22839
dc97c227
TS
228402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22841 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22842
22843 * manual/setjmp.texi (setcontext): Clarify normal process
22844 termination when uc_link is the null pointer.
22845 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22846 exit call.
22847
d0cd7d02
AS
228482012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22849
22850 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22851 preprocessor. Test for each exception mask separately.
22852
dd318934
AJ
228532012-07-16 Andreas Jaeger <aj@suse.de>
22854
22855 * po/ru.po: Update from translation team.
22856
8048311a
JM
228572012-07-15 Joseph Myers <joseph@codesourcery.com>
22858
22859 * conform/data/string.h-data (NULL): Use macro-constant. Require
22860 equal to 0.
22861 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22862 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22863 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22864 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22866
b637d46e
AJ
228672012-07-13 Andreas Jaeger <aj@suse.de>
22868
22869 * po/fr.po: Update from translation team.
22870
541428fe
MP
228712012-07-12 Marek Polacek <polacek@redhat.com>
22872
22873 [BZ #14173]
22874 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22876 loop condition.
22877
ec332e94
JM
228782012-07-12 Joseph Myers <joseph@codesourcery.com>
22879
22880 [BZ #13717]
22881 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22882 Change to 2.4.1 where previously 2.4.0.
22883 * sysdeps/unix/sysv/linux/configure: Regenerated.
22884 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22885 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22886 version.
22887 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22888 (__ASSUME_AT_CLKTCK): Remove.
22889 (__ASSUME_AT_PAGESIZE): Likewise.
22890 (__ASSUME_AT_XID): Likewise.
22891 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22892 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22893 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22894 unconditionally.
22895 (HAVE_AUX_PAGESIZE): Likewise.
22896 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22897 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22898 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22899
7b6e99be
JB
229002012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22901
22902 [BZ #14307]
22903 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22904 the temporary buffer used to invoke __gethostbyname2_r,
22905 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22906 host_data / struct gaih_addrtuple.
22907 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22908 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22909 header file nss/nsswitch.h.
22910 * nss/nsswitch.h (global scope): Add definition of implementation
22911 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22912 resolv/nss_dns/dns-host.c).
22913
608404eb
AJ
229142012-07-11 Andreas Jaeger <aj@suse.de>
22915
22916 * po/fr.po: Update from translation team.
22917
71220aca
AJ
22918 * po/sv.po: Update from translation team
22919 * po/fr.po: Another update from translation team.
22920
28cfe843
AZ
229212012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22922
22923 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22924 for subnormals or multiply small sinh result by itself.
22925 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22927
6b90f981
DM
229282012-07-11 David S. Miller <davem@davemloft.net>
22929
22930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22931
c6825772
AS
229322012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22933
22934 [BZ #14347]
22935 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22936 (INTERNAL_MARK): Shift it here.
22937
7b8e0d49
MP
229382012-07-10 Marek Polacek <polacek@redhat.com>
22939
22940 [BZ #14151]
22941 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22942 libc_cv_asm_global_directive with .globl.
22943 * configure: Regenerated.
22944 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22945 with .globl.
22946 * sysdeps/i386/configure: Regenerated.
22947 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22948 with .globl.
22949 * sysdeps/x86_64/configure: Regenerated.
22950 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22951 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22952 * elf/tst-unique2mod2.c: Likewise.
22953 * elf/tst-unique2mod1.c: Likewise.
22954 * elf/tst-unique1mod2.c: Likewise.
22955 * elf/tst-unique1mod1.c: Likewise.
22956 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22957 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22958 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22960 * sysdeps/mach/sysdep.h: Likewise.
22961 * sysdeps/i386/sysdep.h: Likewise.
22962 * sysdeps/i386/i386-mcount.S: Likewise.
22963 * sysdeps/x86_64/_mcount.S: Likewise.
22964 * sysdeps/x86_64/sysdep.h: Likewise.
22965 * sysdeps/sh/_mcount.S: Likewise.
22966 * sysdeps/sh/sysdep.h: Likewise.
22967 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22968 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22969 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22970 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22971 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22972 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22973 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22974 * locale/localeinfo.h: Likewise.
22975 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22976 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22977
6c55cda3
RM
229782012-07-09 Roland McGrath <roland@hack.frob.com>
22979
22980 [BZ #14336]
22981 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22982 system".
22983 * manual/message.texi (The Uniforum approach): Likewise.
22984 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22985 (glibc iconv Implementation): Likewise.
22986
638a572e
JM
229872012-07-09 Joseph Myers <joseph@codesourcery.com>
22988
22989 [BZ #14337]
22990 * math/s_clog.c (__clog): Avoid scaling a value down where that
22991 could result in underflow.
22992 * math/s_clog10.c (__clog10): Likewise.
22993 * math/s_clog10f.c (__clog10f): Likewise.
22994 * math/s_clog10l.c (__clog10l): Likewise.
22995 * math/s_clogf.c (__clogf): Likewise.
22996 * math/s_clogl.c (__clogl): Likewise.
22997 * math/libm-test.inc (clog_test): Add more tests.
22998 (clog10_test): Likewise.
22999 * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23001
261f4859
AS
230022012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23003
0abaf3e4
AS
23004 [BZ #14283]
23005 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23006 by 7 not 8 to examine high bit of fractional part.
23007
261f4859
AS
23008 [BZ #14042]
23009 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23010 for call to __mcount_internal.
23011 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23012 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23013 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23014
f17ac40d
JM
230152012-07-06 Joseph Myers <joseph@codesourcery.com>
23016
9ad63c23
JM
23017 [BZ #14154]
23018 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23019 approximation for values within 0x1p-13f of an odd multiple of
23020 pi/4.
23021 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23022 exception. Add more tests.
23023 * sysdeps/i386/fpu/libm-test-ulps: Update.
23024
f17ac40d
JM
23025 [BZ #6778]
23026 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23027 inputs and return -1 for them. Do not check for +Inf in case not
23028 reachable for +Inf.
23029 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23030 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23031 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23032 and return -1 for them. Do not check for +Inf in case not
23033 reachable for +Inf.
23034 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23035 define.
23036 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23037 and return -1 for them. Do not check for +Inf in case not
23038 reachable for +Inf.
23039 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23040 spurious underflow.
23041 * sysdeps/i386/fpu/libm-test-ulps: Update.
23042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23043
fb21f89b
MF
230442012-07-06 Mike Frysinger <vapier@gentoo.org>
23045
23046 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23047
cdfe2c5e
JM
230482012-07-05 Joseph Myers <joseph@codesourcery.com>
23049
23050 [BZ #14157]
23051 [BZ #14331]
23052 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23053 could result in spurious underflow. Scale down values above
23054 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23055 * math/s_csqrtf.c (__csqrtf): Likewise.
23056 * math/s_csqrtl.c (__csqrtl): Likewise.
23057 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23058 spurious underflow.
23059 * sysdeps/i386/fpu/libm-test-ulps: Update.
23060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23061
70d35b67
AS
230622012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23063
704bc459
AS
23064 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23065 xopen-msg.sed.
23066 * catgets/xopen-msg.awk: New file.
23067 * catgets/xopen-msg.sed: Removed.
23068
70d35b67
AS
23069 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23070 po2text.sed.
23071 * intl/po2test.awk: New file.
23072 * intl/po2test.sed: Removed.
23073
ca61cf32
JM
230742012-07-04 Joseph Myers <joseph@codesourcery.com>
23075
23076 [BZ #14328]
23077 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23078 or multiply small sinh result by itself.
23079 * math/s_ctanf.c (__ctanf): Likewise.
23080 * math/s_ctanh.c (__ctanh): Likewise.
23081 * math/s_ctanhf.c (__ctanhf): Likewise.
23082 * math/s_ctanhl.c (__ctanhl): Likewise.
23083 * math/s_ctanl.c (__ctanl): Likewise.
23084 * math/libm-test.inc (ctan_test_tonearest): New function.
23085 (ctan_test_towardzero): Likewise.
23086 (ctan_test_downward): Likewise.
23087 (ctan_test_upward): Likewise.
23088 (ctanh_test_tonearest): Likewise.
23089 (ctanh_test_towardzero): Likewise.
23090 (ctanh_test_downward): Likewise.
23091 (ctanh_test_upward): Likewise.
23092 (main): Call these new functions.
23093 * sysdeps/i386/fpu/libm-test-ulps: Update.
23094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23095
ca48a46a
MF
230962012-07-03 Mike Frysinger <vapier@gentoo.org>
23097
23098 * .gitignore: Delete /ports entry.
23099
9d63d37d
AJ
231002012-07-03 Andreas Jaeger <aj@suse.de>
23101
23102 * po/bg.po: Update from translation team.
23103 * po/cs.po: Likewise.
23104 * po/de.po: Likewise.
23105 * po/hr.po: Likewise.
23106 * po/nl.pl: Likewise.
23107 * po/pl.po: Likewise.
23108 * po/vi.po: Likewise.
23109
370ca3d2
JM
231102012-07-03 Joseph Myers <joseph@codesourcery.com>
23111
95f5a9a8
JM
23112 * Makeconfig [!+link] (+link-before-libc): New variable.
23113 [!+link] (+link-after-libc): Likewise.
23114 [!+link] (+link-tests): Likewise.
23115 [!+link] (+link): Define in terms of $(+link-before-libc) and
23116 $(+link-after-libc).
23117 [!+link-static] (+link-static-before-libc): New variable.
23118 [!+link-static] (+link-static-after-libc): Likewise.
23119 [!+link-static] (+link-static-tests): Likewise.
23120 [!+link-static] (+link-static): Define in terms of
23121 $(+link-static-before-libc) and $(+link-static-after-libc).
23122 [build-shared] (link-libc-before-gnulib): New variable.
23123 [build-shared] (link-libc-tests): Likewise.
23124 [build-shared] (link-libc): Define in terms of
23125 $(link-libc-before-gnulib).
23126 [!build-shared] (link-libc-tests): New variable.
23127 (link-libc-static-tests): New variable.
23128 [!gnulib] (gnulib-arch): New variable.
23129 [!gnulib] (gnulib-tests): Likewise.
23130 [!gnulib] (static-gnulib-arch): Likewise.
23131 [!gnulib] (static-gnulib-tests): Likewise.
23132 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23133 Define with "=" instead of ":=".
23134 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23135 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23136 * Rules (binaries-all-notests): New variable.
23137 (binaries-all-tests): Likewise.
23138 (binaries-static-notests): Likewise.
23139 (binaries-static-tests): Likewise.
23140 (binaries-all): Define using $(binaries-all-notests) and
23141 $(binaries-all-tests).
23142 (binaries-static): Define using $(binaries-static-notests) and
23143 $(binaries-static-tests).
23144 (binaries-shared-tests): New variable.
23145 (binaries-shared-notests): Likewise.
23146 (binaries-shared): Remove variable.
23147 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23148 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23149 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23150 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23151 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23152 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23153 * elf/Makefile (sln-modules): New variable.
23154 (extra-objs): Add $(sln-modules:=.o).
23155 (ldconfig-modules): Add static-stubs.
23156 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23157 * elf/static-stubs.c: New file.
23158
7a845b2c
JM
23159 [BZ #14283]
23160 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23161 by 7 not 8 to examine high bit of fractional part. Use volatile
23162 variables when splitting into final array of floats if
23163 __FLT_EVAL_METHOD__ != 0.
23164 * math/libm-test.inc (cos_test): Add another test.
23165 (sin_test): Likewise.
23166 * sysdeps/i386/fpu/libm-test-ulps: Update.
23167
e2283f38
JM
23168 [BZ #14273]
23169 * math/libm-test.inc (cosh_test): Add more tests.
23170
370ca3d2
JM
23171 * version.h (RELEASE): Set to "development".
23172 (VERSION): Set to "2.16.90".
23173
ee9247c3
CD
231742012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23175
23176 * NEWS: Update copyright. Remove last-updated date.
23177 Mention math library bug fixes and timezone data changes.
23178 * README: Mention GNU/Hurd, x32, and HPPA support status.
23179
4648c381
TS
231802012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23181
23182 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23183
aac78a43
AJ
231842012-06-27 Andreas Jaeger <aj@suse.de>
23185
23186 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23187
ed3dbfad
AJ
231882012-06-25 Andreas Jaeger <aj@suse.de>
23189
23190 * sysdeps/s390/fpu/libm-test-ulps: Update.
23191
4d0ee855
AS
231922012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23193 Thomas Schwinge <thomas@codesourcery.com>
23194
23195 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23196 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23198 fanotify_mark.
23199
af1bce34
TS
232002012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23201
a9fa33ba
TS
23202 * sysdeps/mach/start.c: Remove file.
23203 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23204 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23205 * sysdeps/sh/init-first.c: Likewise.
23206
58f902b8
TS
23207 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23208 registers for frame unwinding purposes, add CFI directives.
23209 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23210 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23211 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23212 Likewise.
23213
1518f58b
TS
23214 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23215 __fortify_fail returning.
23216 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23217
db9b5059
TS
23218 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23219 sysdeps/sh/____longjmp_chk.S.
23220 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23221 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23222 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23223 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23224
967705fe
TS
23225 * sysdeps/sh/abort-instr.h: New file.
23226 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23227 process in case exit returns.
23228
a9def8c4
TS
23229 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23230 initialize the GOT register before use.
23231
2a649725
TS
23232 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23233 calculation of ARGC > 4.
23234
af1bce34
TS
23235 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23236 meaningful names to some local labels.
23237
d230f50a
KK
232382012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23239 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23240
23241 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23242 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23243 (__arch_compare_and_exchange_val_16_acq): Likewise.
23244 (__arch_compare_and_exchange_val_32_acq): Likewise.
23245 (atomic_exchange_and_add): Fix gUSA sequence.
23246 (atomic_add): Likewise.
23247 (atomic_add_negative): Likewise.
23248 (atomic_add_zero): Likewise.
23249 (atomic_bit_test_set): Likewise.
23250
0479b305
AS
232512012-06-22 Andreas Schwab <schwab@redhat.com>
23252
23253 [BZ #13579]
23254 * include/link.h (struct link_map): Add l_free_initfini.
23255 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23256 l_initfini.
23257 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23258 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23259 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23260 set.
23261
0e3933b9
CD
232622012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23263
23264 * configure.in: Use AC_LANG_SOURCE.
23265 * configure: Regenerate.
23266
4248b1b1
RM
232672012-06-22 Roland McGrath <roland@hack.frob.com>
23268
23269 * configure.in (libc_cv_localstatedir): New substituted variable.
23270 * configure: Regenerated.
23271 * config.make.in (localstatedir): New variable, substituted from
23272 libc_cv_localstatedir.
23273 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23274 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23275 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23276 * sysdeps/gnu/configure: Regenerated.
23277
006dd861
JL
232782012-06-21 Jeff Law <law@redhat.com>
23279
23280 [BZ #14277]
23281 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23282 free. Simplify list management for _LIBC case.
23283
79662d42
JM
232842012-06-21 Joseph Myers <joseph@codesourcery.com>
23285
b7abb4bf
JM
23286 [BZ #14273]
23287 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23288 Clear sign bit of 64-bit integer value before comparing against
23289 overflow value.
23290
79662d42
JM
23291 * sysdeps/mach/configure: Regenerated.
23292
1f150908
L
232932012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 [BZ #14278]
23296 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23297
28363bbf
JL
232982012-06-21 Jeff Law <law@redhat.com>
23299
23300 [BZ #13882]
23301 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23302 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23304 * elf/dl-open.c (dl_open_worker): Likewise.
23305
09615db4
CD
233062012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23307
23308 * scripts/list-sources.sh: Scan PORTS for translations.
23309 * po/libc.pot: Regenerated.
23310
2174c6dd
AJ
233112012-06-21 Andreas Jaeger <aj@suse.de>
23312
23313 [BZ #12194]
23314 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23315 warning.
23316 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23317 * bits/byteswap-16.h (__bswap_16): Likewise.
23318 * bits/byteswap.h (__bswap_constant_16): Likewise.
23319
3ee947b1
L
233202012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23321
23322 [BZ #14117]
a2f34833
L
23323 * sysdeps/i386/fpu_control.h: Removed.
23324 * sysdeps/x86_64/fpu_control.h: Moved to ...
23325 * sysdeps/x86/fpu_control.h: Here.
23326
3ee947b1
L
23327 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23328 (_FPU_SETCW): Likewise.
23329
ed1825f8
L
233302012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23331
25f1282a
L
23332 [BZ #14117]
23333 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23334 * sysdeps/x86/fpu/bits/mathinline.h: This.
23335 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23336
ed1825f8
L
23337 [BZ #14050]
23338 [BZ #14117]
23339 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23340 functions if __x86_64__ is defined.
23341
36d54b74
CLT
233422012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23343
23344 * string/endian.h: Add !__ASSEMBLER__ condition for including
23345 conversion interfaces.
23346
10285c21
JM
233472012-06-15 Joseph Myers <joseph@codesourcery.com>
23348
23349 [BZ #14241]
23350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23351 of ABS(x) in calculating zero to negative powers other than odd
23352 integers.
23353 * math/libm-test.inc (pow_test): Add more tests.
23354
06c5abbd
AJ
233552012-06-15 Andreas Jaeger <aj@suse.de>
23356
23357 * manual/contrib.texi (Contributors): Update entry of Liubov
23358 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
23359 Machado Filho.
23360
a3aeac40
CH
233612012-06-15 Cyril Hrubis <metan@ucw.cz>
23362
23363 * string/string.h: Add __wur to GNU version of strerror_r.
23364
49bdf4c1
L
233652012-06-14 H.J. Lu <hongjiu.lu@intel.com>
23366
23367 [BZ #14229]
23368 * string/Makefile (tests): Add tst-strtok_r.
23369 * string/tst-strtok_r.c: New file.
23370 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
23371 RAX_LP/RDX_LP on SAVE_PTR.
23372
834f9b8d
RM
233732012-06-14 Roland McGrath <roland@hack.frob.com>
23374
23375 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
23376
75fa1921
JM
233772012-06-14 Joseph Myers <joseph@codesourcery.com>
23378
23379 * libm_test.inc (csqrt_test): Allow more spurious underflow
23380 exceptions.
23381 (j0_test): Likewise.
23382 (j1_test): Likewise.
23383 (y0_test): Likewise.
23384 (y1_test): Likewise.
23385
771766df
CD
233862012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
23387
23388 * po/Makefile (libc.pot): Use UTF-8 charset.
23389
ceb9e56b
PP
233902012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
23391
23392 [BZ #14210]
23393 Suppress sign-conversion warning from FD_SET.
23394 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
23395 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
23396 not unsigned long int.
23397 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
23398
ddb28975
L
233992012-06-12 H.J. Lu <hongjiu.lu@intel.com>
23400
23401 [BZ #14050]
23402 [BZ #14117]
23403 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
23404 __extern_always_inline instead of __extern_inline.
23405 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
23406 (__signbit): Likewise.
23407 (__signbitl): Support C++ namespace.
23408 (lrintf): New inline function.
23409 (lrint): Likewise.
23410 (llrintf): Likewise.
23411 (llrint): Likewise.
23412 (fmaxf): Likewise.
23413 (fmax): Likewise.
23414 (fminf): Likewise.
23415 (fmin): Likewise.
23416 (rint): Likewise.
23417 (rintf): Likewise.
23418 (ceil): Likewise.
23419 (ceilf): Likewise.
23420 (floor): Likewise.
23421 (floorf): Likewise.
23422 (nearbyint): Likewise.
23423 (nearbyintf): Likewise.
23424
d7b4fb26
TS
234252012-06-12 Thomas Schwinge <thomas@codesourcery.com>
23426
23427 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
23428 non-default versions.
23429
eb55f5c2
RM
234302012-06-11 Roland McGrath <roland@hack.frob.com>
23431
23432 [BZ #14218]
23433 * manual/argp.texi (Argp): Reword argp_parse description slightly.
23434
366af02c
TS
234352012-06-09 Thomas Schwinge <thomas@codesourcery.com>
23436
99ff6e5c
TS
23437 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
23438 (FE_UPWARD, FE_DOWNWARD): Don't define.
23439 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
23440 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23441
366af02c
TS
23442 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
23443 reading it.
23444 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23445 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23446
793ea851
KK
234472012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23448
23449 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
23451 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
23452 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
23453
a728a38f
L
234542012-06-06 H.J. Lu <hongjiu.lu@intel.com>
23455
23456 [BZ #14117]
c08010c7
L
23457 * sysdeps/i386/fpu/bits/fenv.h: Removed.
23458 * sysdeps/i386/fpu/Implies: New file.
23459 * sysdeps/x86_64/fpu/Implies: Likewise.
23460 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
23461 * sysdeps/x86/fpu/bits/fenv.h: This.
23462
a728a38f
L
23463 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
23464 __SSE_MATH__.
23465
6e230d11
SP
234662012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23467
23468 [BZ #14134]
23469 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
23470 character 0xffff that matches the last element of the
23471 conversion table.
23472
1b671feb
AZ
234732012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23474
23475 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
23476 fmodl commit.
23477
6043738b
AZ
234782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23479
23480 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
23481 values higher than 25.6283.
23482
34ae0b32
AZ
234832012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23484
23485 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
23486 subnormal exponent extraction and add some __builtin_expect.
23487 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
23488 Fix for subnormal mantissa calculation.
23489
1214ec8f
MF
234902012-06-04 Mike Frysinger <vapier@gentoo.org>
23491
23492 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
23493 cpu2 is -1 and errno is not ENOSYS.
23494
f3d1f93c
L
234952012-06-04 H.J. Lu <hongjiu.lu@intel.com>
23496
23497 [BZ #14117]
0e4a3cd7
L
23498 * sysdeps/i386/i486/bits/string.h: Renamed to ...
23499 * sysdeps/x86/bits/string.h: This.
23500 * sysdeps/x86_64/bits/string.h: Removed.
23501
6704c645
L
23502 * sysdeps/i386/i486/bits/string.h: Define inline functions only
23503 if not compiling for x86-64, but compiling for >= i486.
23504
48495318
L
23505 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
23506 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
23507
14adcbfc
L
23508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
23509 New macro from Linux kernel 3.4.0.
23510 (FP_XSTATE_MAGIC2): Likewise.
23511 (FP_XSTATE_MAGIC2_SIZE): Likewise.
23512 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
23513 (struct _fpx_sw_bytes): New struct.
23514 (struct _xsave_hdr): Likewise.
23515 (struct _ymmh_state): Likewise.
23516 (struct _xstate): Likewise.
23517
68e408ab
L
23518 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
23519 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
23520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
23521 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
23522 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
23523 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
23524
f3d1f93c
L
23525 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
23526 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
23527 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
23528 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
23529 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
23530 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
23531
d9dc34cd
TMQMF
235322012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23533
23534 [BZ #13743]
23535 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
23536 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
23537 (sysdep_headers): Include sys/platform/ppc.h.
23538 * sysdeps/powerpc/test-gettimebase.c: Test for
23539 __ppc_get_timebase() to catch future ISA opcode/insn changes.
23540 * manual/Makefile (appendices): Include platform.texi.
23541 * manual/contrib.texi (Contributors): Update @node pointers.
23542 * manual/maint.texi (Maintenance): Likewise.
23543 (Platform): New node.
23544 * manual/platform.texi: New file. Document the new features.
23545
4af3879c
SP
235462012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23547 Jakub Jelinek <jakub@redhat.com>
23548
23549 [BZ #14188]
23550 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
23551 where __builtin_expect is unavailable.
23552
2fd6ff13
DM
235532012-06-03 David S. Miller <davem@davemloft.net>
23554
23555 * stdlib/longlong.h: Updated from GCC.
23556
173f7220
AS
235572012-06-02 Andreas Schwab <schwab@linux-m68k.org>
23558
23559 [BZ #14042]
23560 * sysdeps/powerpc/powerpc32/mcount.c: New file.
23561 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
23562 __mcount_internal.
23563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23564 (GLIBC_2.16): Likewise.
23565
f34a1c6f
L
235662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23567
23568 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
23569
88a4576f
JM
235702012-06-01 Joseph Myers <joseph@codesourcery.com>
23571
ea32bcdd
JM
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
23573 (default-abi): New variable.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
23575 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
23576 variable.
23577 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
23578 Likewise.
23579 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
23580 Likewise.
23581 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
23582 Likewise.
23583
88a4576f
JM
23584 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
23585 definition. Document in comment.
23586
402fe938
DM
235872012-06-01 David S. Miller <davem@davemloft.net>
23588
23589 * stdlib/longlong.h: Updated from GCC.
23590
3553723f
L
235912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23592
23593 [BZ #14117]
3bd872c4
L
23594 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
23595 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
23596 sys/debugreg.h sys/io.h here.
23597 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
23598 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
23599 sys/io.h.
23600 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
23601 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
23602 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
23603 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
23604 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
23605 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
23606
3553723f
L
23607 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
23608 Define only if __x86_64__ is defined.
23609
4842e4fe
JM
236102012-06-01 Joseph Myers <joseph@codesourcery.com>
23611
c5bfe3d5
JM
23612 [BZ #14048]
23613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
23614 Use int64_t for variable i.
23615 * math/libm-test.inc (fmod_test): Add more tests.
23616
4842e4fe
JM
23617 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
23618 z computation is not scheduled after fetestexcept.
23619 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
23620 Use math_force_eval instead of asm to ensure calculation scheduled
23621 before exception test.
23622 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
23623 Ensure a1 + u.d computation is not scheduled after fetestexcept.
23624
efb73488
AJ
236252012-06-01 Aurelien Jarno <aurelien@aurel32.net>
23626
23627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
23628 computation is not scheduled after fetestexcept.
23629
29bcce7c
L
236302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
23631
23632 [BZ #14117]
23633 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
23634 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
23635
73a68f94
AZ
236362012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23637
23638 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
23639 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23640
67b6df78
L
236412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23642
edf2933a 23643 [BZ #14117]
ebc64a18
L
23644 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
23645 <bits/wordsize.h>.
23646 (__WCHAR_MIN): Support __WORDSIZE == 64.
23647 (__WCHAR_MAX): Likewise.
23648
edf2933a
L
23649 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
23650 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
23651
57c6cf40
L
23652 [BZ #14183]
23653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
23654 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
23655
67b6df78 23656 [BZ #14117]
8eb6281e
L
23657 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
23658 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
23659
aac639f4
L
23660 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
23661 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
23662
67b6df78
L
23663 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
23664 Defined to 1 if __x86_64__ isn't defined.
23665 (_STAT_VER_LINUX_OLD): New.
23666 (st_atime): Remove duplicate.
23667 (st_mtime): Likewise.
23668 (st_ctime): Likewise.
23669
1c2cfe81
DM
236702012-05-31 David S. Miller <davem@davemloft.net>
23671
23672 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23673 entries.
23674
5be8418c
AS
236752012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23676
e7725326
AS
23677 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23678 gen-libm-test.pl.
23679
5be8418c
AS
23680 [BZ #14132]
23681 * elf/dl-reloc.c: Include <_itoa.h>.
23682 (_dl_reloc_bad_type): Remove use of INTUSE.
23683 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23684 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23685 * stdio-common/psiginfo.c (psiginfo): Likewise.
23686 * stdio-common/psignal.c (psignal): Likewise.
23687 * string/strsignal.c (strsignal): Likewise.
23688 * include/signal.h (_sys_siglist): Declare hidden proto.
23689 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23690 INTVARDEF with libc_hidden_data_def.
23691 * stdio-common/itoa-udigits.c: Likewise.
23692 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23693 (_itoa_lower_digits_internal): Remove declaration.
23694 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23695 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23696 (_sys_sigabbrev_internal): Remove aliases.
23697 (_sys_siglist): Define hidden alias.
23698
507352f1
MT
236992012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23700
23701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23702 bits/sysctl.h.
23703
42bbb1c3
L
237042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23705
23706 [BZ #14117]
6bd784b6
L
23707 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23708 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23709
8bca20f0
L
23710 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23712 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23713 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23714 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23715 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23716
f9e890a9
L
23717 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23718 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23719 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23720
471101a1
L
23721 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23722 with __addr.
23723 (insw): Likewise.
23724 (insl): Likewise.
23725 (outsb): Likewise.
23726 (outsw): Likewise.
23727 (outsl): Likewise.
23728
6451c862
L
23729 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23732
a254b8c9
L
23733 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23734 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23735 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23736 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23737 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23738 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23739
b8dfdd92
L
23740 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23741 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23742
578cd270
L
23743 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23744 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23745
de662f5f
L
23746 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23747 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23749
25653439
L
23750 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23751 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23752 to ...
23753 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23754
6bad24a0
L
23755 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23756 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23757 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23758
42bbb1c3
L
23759 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23760 for x86-64.
23761 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23762
2d10d547
JM
237632012-05-31 Joseph Myers <joseph@codesourcery.com>
23764
23765 * math/math.h (M_El): Use two more decimal places.
23766 (M_LOG2El): Likewise.
23767 (M_LOG10El): Likewise.
23768 (M_LN2l): Likewise.
23769 (M_LN10l): Likewise.
23770 (M_PIl): Likewise.
23771 (M_PI_2l): Likewise.
23772 (M_PI_4l): Likewise.
23773 (M_1_PIl): Likewise.
23774 (M_2_PIl): Likewise.
23775 (M_2_SQRTPIl): Likewise.
23776 (M_SQRT2l): Likewise.
23777 (M_SQRT1_2l): Likewise.
23778
f230c29b
DM
237792012-05-31 David S. Miller <davem@davemloft.net>
23780
23781 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23782 values between float registers.
23783 * sysdeps/sparc/sparc64/memset.S: Likewise.
23784 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23785
fed806c3
MF
237862012-05-31 Mike Frysinger <vapier@gentoo.org>
23787
23788 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23789 -D_FORTIFY_SOURCE=1.
23790 (CPPFLAGS-tst-longjmp_chk.c): Define.
23791 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23792 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23793 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23794 CFLAGS-tst-wchar-h.c.
23795
30917259
MP
237962012-05-31 Marek Polacek <polacek@redhat.com>
23797
23798 [BZ #14132]
23799 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23800 __endmntent_internal): Remove declaration.
23801 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23802 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23803 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23804
1c58d5dc
DM
238052012-05-30 David S. Miller <davem@davemloft.net>
23806
23807 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23808 (___Q_simulate_exceptions): Use real FP ops rather than writing
23809 into the %fsr.
23810 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23811 Likewise.
23812
7dc00e0d
L
238132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23814
23815 [BZ #14117]
0bd53985
L
23816 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23817 * sysdeps/x86/bits/xtitypes.h: This.
23818
3a257e66
L
23819 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23820 * sysdeps/x86/bits/wordsize.h: This.
23821
62f62904
L
23822 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23823 * sysdeps/x86/bits/huge_vall.h: This.
23824
404fe9d9
L
23825 * sysdeps/i386/bits/select.h: Removed.
23826 * sysdeps/x86_64/bits/select.h: Renamed to ...
23827 * sysdeps/x86/bits/select.h: This.
23828
d48d0446
L
23829 * sysdeps/i386/bits/setjmp.h: Removed.
23830 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23831 * sysdeps/x86/bits/setjmp.h: This.
23832
7dc00e0d
L
23833 * sysdeps/i386/bits/mathdef.h: Removed.
23834 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23835 * sysdeps/x86/bits/mathdef.h: This.
23836
03277f8f
AS
238372012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23838
23839 [BZ #14132]
23840 * include/sys/socket.h (__connect_internal)
23841 (__libc_sa_len_internal): Remove declaration.
23842 (__connect, __libc_sa_len): Declare hidden_proto.
23843 (SA_LEN): Remove use of INTUSE.
23844 * socket/connect.c: Add libc_hidden_def.
23845 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23846 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23847 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23848 alias.
23849 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23850 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23851 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23852 of adding _internal alias.
23853
13764867
L
238542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23855
23856 [BZ #14117]
6bd97696
L
23857 * sysdeps/i386/bits/link.h: Removed.
23858 * sysdeps/i386/bits/linkmap.h: Likewise.
23859 * sysdeps/x86_64/bits/link.h: Renamed to ...
23860 * sysdeps/x86/bits/link.h: This.
23861 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23862 * sysdeps/x86/bits/linkmap.h: This.
23863
f726f0bb
L
23864 * sysdeps/i386/bits/endian.h: Removed.
23865 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23866 * sysdeps/x86/bits/endian.h: This.
23867
13764867
L
23868 * sysdeps/i386/bits/byteswap.h: Removed.
23869 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23870 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23871 * sysdeps/x86/bits/byteswap.h: This.
23872 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23873 * sysdeps/x86/bits/byteswap-16.h: This.
23874 * sysdeps/i386/Implies: Add x86.
23875 * sysdeps/x86_64/Implies: Likewise.
23876
ae251b0b
DM
238772012-05-30 David S. Miller <davem@davemloft.net>
23878
23879 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23880 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23881 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23882 (FP_TRAPPING_EXCEPTIONS): Define.
23883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23884 (FP_TRAPPING_EXCEPTIONS): Define.
23885 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23886 subnormals only when inexact has been signalled or underflow
23887 exceptions are enabled.
23888 (_FP_PACK_CANONICAL): Likewise.
23889
d5c90867
L
238902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23891
23892 [BZ #14183]
23893 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23894 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23895
63f1549e
RH
238962012-05-30 Richard Henderson <rth@twiddle.net>
23897
8d8f2279
RH
23898 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23899 with #ifndef NOT_IN_libc.
23900
63f1549e
RH
23901 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23902 marked to avoid plt entry.
23903
0ab0291b
L
239042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23905
23906 [BZ #14112]
23907 * Makeconfig (default-abi): New macro.
23908 (abi-includes): Likewise.
23909 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23910 $(abi-$(default-abi)-lib-soname) for soname if defined.
23911 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23912 abi-variants.
23913 * Makefile (installed-stubs): Likewise.
23914 * include/stubs-biarch.h: Removed.
23915 * scripts/lib-names.awk: Only handle one library at a time.
23916 * scripts/soversions.awk: Remove WORDSIZE support.
23917 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23918 entries.
23919 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23920 Removed.
23921 (syscall-list-default-condition): Likewise.
23922 (syscall-list-default-condition): Likewise.
23923 (syscall-list-includes): Likewise.
23924 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23925 syscall-list-* with abi-*. Handle undefined abi-variants.
23926 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23927 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23928 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23929 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23930 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23931 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23932 Removed.
23933 (syscall-list-32-options): Likewise.
23934 (syscall-list-32-condition): Likewise.
23935 (syscall-list-64-options): Likewise.
23936 (syscall-list-64-condition): Likewise.
23937 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23938 macro.
23939 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23940 Renamed to ...
23941 (abi-*): This.
23942 (abi-64-ld-soname): New macro.
23943 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23944 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23945 Renamed to ...
23946 (abi-*): This.
23947 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23948 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23949
4da0431d
JM
239502012-05-30 Joseph Myers <joseph@codesourcery.com>
23951
3a85279c
JM
23952 * sysdeps/unix/sysv/linux/kernel-features.h
23953 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23954 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23955 include <kernel-features.h>.
23956 [!__NR_ftruncate64]: Remove conditional code.
23957 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23958 [__NR_ftruncate64]: Make code unconditional.
23959 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23960 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23961 include <kernel-features.h>.
23962 [!__NR_ftruncate64]: Remove conditional code.
23963 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23964 [__NR_ftruncate64]: Make code unconditional.
23965 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23967 include <kernel-features.h>.
23968 [!__NR_ftruncate64]: Remove conditional code.
23969 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23970 [__NR_ftruncate64]: Make code unconditional.
23971 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23973 include <kernel-features.h>.
23974 [!__NR_ftruncate64]: Remove conditional code.
23975 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23976 [__NR_ftruncate64]: Make code unconditional.
23977 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23978
4da0431d
JM
23979 * configure.in (libc_cv_fpie): Weaken to a compile test using
23980 LIBC_TRY_CC_OPTION.
23981 * configure: Regenerated.
23982
11ef492c
AK
239832012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23984
23985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23989 Refreshed.
23990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23996 Refreshed.
23997
d66ef399
DM
239982012-05-27 David S. Miller <davem@davemloft.net>
23999
24000 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24001 (___Q_zero): New.
24002 (__Q_simulate_exceptions): Return void. Change to simulate
24003 exceptions by writing into the %fsr.
24004 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24005 (__Qp_handle_exceptions): Likewise.
24006 (numbers): Delete.
24007 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24008 __Qp_handle_exceptions.
24009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24010 __Qp_handle_exceptions.
24011 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24012 as unused and give dummy FP_RND_NEAREST initializer.
24013 (FP_INHIBIT_RESULTS): Define.
24014 (___Q_simulate_exceptions): Update declaration.
24015 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24016 formatting.
24017 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24018 as unused and give dummy FP_RND_NEAREST initializer.
24019 (__Qp_handle_exceptions): Update declaration.
24020 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24021 formatting.
24022
04fb54b5
TS
240232012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24024
24025 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24026 the temporary FPU control word.
24027 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24028 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24029 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24030 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24031 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24032 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24033 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24034 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24035 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24036 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24037 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24038
3f99608f
KK
240392012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24040
24041 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24042 fields.
24043
65a4de4e
CLT
240442012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24045
24046 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24047 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24048 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24049 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24050 Likewise.
24051 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24052 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24053 Likewise.
24054
15749d40
UD
240552012-05-27 Ulrich Drepper <drepper@gmail.com>
24056
24057 * po/h.po: Update from translation team.
24058
25dbcb27
AS
240592012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24060
3d3f8e55
AS
24061 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24062
25dbcb27
AS
24063 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24064 handling of denormals.
24065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24066 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24067 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24068 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24070 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24072 Likewise.
24073
7ad47a80 240742012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24075
24076 [BZ #14152]
24077 * math/libm-test.inc (fma_test): Don't always expect underflow
24078 exception.
24079
9c6ea9fa
SP
240802012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24081
24082 [BZ #12416]
24083 * elf/tst-execstack.c: Include stackinfo.h.
24084 (do_test): Adjust test case to ensure that pthread_getattr_np
24085 behaviour remains the same after marking stack executable.
24086
a8239222
JM
240872012-05-25 Joseph Myers <joseph@codesourcery.com>
24088
24089 * sysdeps/unix/sysv/linux/kernel-features.h
24090 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24091 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24092 kernel-features.h.
24093 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24094 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24095 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24096 kernel-features.h.
24097 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24098 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24099
918b5606
L
241002012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24101
24102 * configure.in: Define the default includes to being none.
24103 * configure: Regenerated.
24104
3a097cc7
RM
241052012-05-25 Roland McGrath <roland@hack.frob.com>
24106
8422c9a5
RM
24107 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24108 * sysdeps/x86_64/setjmp.S: Likewise.
24109 * sysdeps/i386/bsd-setjmp.S: Likewise.
24110 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24111 * sysdeps/i386/setjmp.S: Likewise.
24112 * sysdeps/i386/__longjmp.S: Likewise.
24113 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24114 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24115
3a097cc7
RM
24116 * include/stap-probe.h: New file.
24117 * configure.in: Handle --enable-systemtap.
24118 * configure: Regenerated.
24119 * config.h.in (USE_STAP_PROBE): New #undef.
24120 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24121 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24122 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24123
21708942
JM
241242012-05-25 Joseph Myers <joseph@codesourcery.com>
24125
24126 [BZ #13717]
24127 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24128 to 2.4.0 where earlier.
24129 * sysdeps/unix/sysv/linux/configure: Regenerated.
24130 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24131 <kernel-features.h>.
24132 [__ASSUME_32BITUIDS]: Make code unconditional.
24133 [!__ASSUME_32BITUIDS]: Remove conditional code.
24134 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24135 <kernel-features.h>.
24136 [__ASSUME_32BITUIDS]: Make code unconditional.
24137 [!__ASSUME_32BITUIDS]: Remove conditional code.
24138 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24139 [__ASSUME_32BITUIDS]: Make code unconditional.
24140 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24141 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24142 <kernel-features.h>.
24143 [__ASSUME_32BITUIDS]: Make code unconditional.
24144 [!__ASSUME_32BITUIDS]: Remove conditional code.
24145 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24146 <kernel-features.h>.
24147 [__ASSUME_32BITUIDS]: Make code unconditional.
24148 [!__ASSUME_32BITUIDS]: Remove conditional code.
24149 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24150 <kernel-features.h>.
24151 [__ASSUME_32BITUIDS]: Make code unconditional.
24152 [!__ASSUME_32BITUIDS]: Remove conditional code.
24153 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24154 <kernel-features.h>.
24155 [__ASSUME_32BITUIDS]: Make code unconditional.
24156 [!__ASSUME_32BITUIDS]: Remove conditional code.
24157 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24158 <kernel-features.h>.
24159 [__ASSUME_32BITUIDS]: Make code unconditional.
24160 [!__ASSUME_32BITUIDS]: Remove conditional code.
24161 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24162 <kernel-features.h>.
24163 [__ASSUME_32BITUIDS]: Make code unconditional.
24164 [!__ASSUME_32BITUIDS]: Remove conditional code.
24165 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24166 <kernel-features.h>.
24167 [__ASSUME_32BITUIDS]: Make code unconditional.
24168 [!__ASSUME_32BITUIDS]: Remove conditional code.
24169 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24170 <kernel-features.h>.
24171 [__ASSUME_32BITUIDS]: Make code unconditional.
24172 [!__ASSUME_32BITUIDS]: Remove conditional code.
24173 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24174 <kernel-features.h>.
24175 [__ASSUME_32BITUIDS]: Make code unconditional.
24176 [!__ASSUME_32BITUIDS]: Remove conditional code.
24177 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24178 <kernel-features.h>.
24179 [__ASSUME_32BITUIDS]: Make code unconditional.
24180 [!__ASSUME_32BITUIDS]: Remove conditional code.
24181 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24182 <kernel-features.h>.
24183 [__NR_setresgid] (__setresgid): Do not declare.
24184 [__ASSUME_32BITUIDS]: Make code unconditional.
24185 [!__ASSUME_32BITUIDS]: Remove conditional code.
24186 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24187 <kernel-features.h>.
24188 [__NR_setresuid] (__setresuid): Do not declare.
24189 [__ASSUME_32BITUIDS]: Make code unconditional.
24190 [!__ASSUME_32BITUIDS]: Remove conditional code.
24191 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24192 <kernel-features.h>.
24193 [__ASSUME_32BITUIDS]: Make code unconditional.
24194 [!__ASSUME_32BITUIDS]: Remove conditional code.
24195 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24196 <kernel-features.h>.
24197 [__ASSUME_32BITUIDS]: Make code unconditional.
24198 [!__ASSUME_32BITUIDS]: Remove conditional code.
24199 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24200 <kernel-features.h>.
24201 [__ASSUME_32BITUIDS]: Make code unconditional.
24202 [!__ASSUME_32BITUIDS]: Remove conditional code.
24203 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24204 <kernel-features.h>.
24205 [__ASSUME_32BITUIDS]: Make code unconditional.
24206 [!__ASSUME_32BITUIDS]: Remove conditional code.
24207 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24208 <kernel-features.h>.
24209 [__ASSUME_32BITUIDS]: Make code unconditional.
24210 [!__ASSUME_32BITUIDS]: Remove conditional code.
24211 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24212 <kernel-features.h>.
24213 [__ASSUME_32BITUIDS]: Make code unconditional.
24214 [!__ASSUME_32BITUIDS]: Remove conditional code.
24215 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24216 <kernel-features.h>.
24217 [__ASSUME_32BITUIDS]: Make code unconditional.
24218 [!__ASSUME_32BITUIDS]: Remove conditional code.
24219 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24220 <kernel-features.h>.
24221 [__ASSUME_32BITUIDS]: Make code unconditional.
24222 [!__ASSUME_32BITUIDS]: Remove conditional code.
24223 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24224 <kernel-features.h>.
24225 [__ASSUME_32BITUIDS]: Make code unconditional.
24226 [!__ASSUME_32BITUIDS]: Remove conditional code.
24227 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24228 <kernel-features.h>.
24229 [__ASSUME_32BITUIDS]: Make code unconditional.
24230 [!__ASSUME_32BITUIDS]: Remove conditional code.
24231 * sysdeps/unix/sysv/linux/kernel-features.h
24232 (__ASSUME_SETRESUID_SYSCALL): Remove.
24233 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24234 (__ASSUME_32BITUIDS): Likewise.
24235 (__ASSUME_LDT_WORKS): Likewise.
24236 (__ASSUME_O_DIRECTORY): Likewise.
24237 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24238 architecture but not kernel version.
24239 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24240 (__ASSUME_MMAP2_SYSCALL): Likewise.
24241 (__ASSUME_STAT64_SYSCALL): Likewise.
24242 (__ASSUME_IPC64): Likewise.
24243 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24244 <kernel-features.h>.
24245 [__ASSUME_32BITUIDS]: Make code unconditional.
24246 [!__ASSUME_32BITUIDS]: Remove conditional code.
24247 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24248 <kernel-features.h>.
24249 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24250 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24251 132096]: Remove conditional code.
24252 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24253 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24254 <kernel-features.h>.
24255 [__ASSUME_32BITUIDS]: Make code unconditional.
24256 [!__ASSUME_32BITUIDS]: Remove conditional code.
24257 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24258 <kernel-features.h>.
24259 [__ASSUME_32BITUIDS]: Make code unconditional.
24260 [!__ASSUME_32BITUIDS]: Remove conditional code.
24261 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24262 <kernel-features.h>.
24263 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24264 unconditional.
24265 (__setresgid): Do not declare.
24266 [__ASSUME_32BITUIDS]: Make code unconditional.
24267 [!__ASSUME_32BITUIDS]: Remove conditional code.
24268 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24269 <kernel-features.h>.
24270 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24271 unconditional.
24272 (__setresuid): Do not declare.
24273 [__ASSUME_32BITUIDS]: Make code unconditional.
24274 [!__ASSUME_32BITUIDS]: Remove conditional code.
24275 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24276 <kernel-features.h>.
24277 [__ASSUME_32BITUIDS]: Make code unconditional.
24278 [!__ASSUME_32BITUIDS]: Remove conditional code.
24279 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24280 <kernel-features.h>.
24281 [__ASSUME_32BITUIDS]: Make code unconditional.
24282 [!__ASSUME_32BITUIDS]: Remove conditional code.
24283
a386f1cc
RH
242842012-05-25 Richard Henderson <rth@twiddle.net>
24285
24286 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24287 dl_hwcap to ifunc resolver.
24288 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24289 elf_ifunc_invoke.
24290 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24291 dl_hwcap to ifunc resolver.
24292 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24293
b6550497
JM
242942012-05-24 Joseph Myers <joseph@codesourcery.com>
24295
24296 [BZ #14153]
24297 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24298 for |x| <= 2**-26, not 2**-57.
24299 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24300 exception.
24301
b0bc23a1
JL
243022012-05-24 Jeff Law <law@redhat.com>
24303
24304 * stdio-common/Makefile (tests): Add bug25.
24305 * stdio-common/bug25.c: New test.
24306
347c92e9
L
243072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24308
24309 [BZ #13576]
24310 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24311 multiple of MALLOC_ALIGNMENT in size.
24312 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24313
6bcc8b3f
JM
243142012-05-24 Joseph Myers <joseph@codesourcery.com>
24315
24316 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24317 Require >= 256.
24318 (FILENAME_MAX): Use macro-int-constant.
24319 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24320 (_IOFBF): Use macro-int-constant.
24321 (_IOLBF): Likewise.
24322 (_IONBF): Likewise.
24323 (SEEK_CUR): Likewise.
24324 (SEEK_END): Likewise.
24325 (SEEK_SET): Likewise.
24326 (TMP_MAX): Likewise.
24327 (EOF): Use macro-int-constant. Require < 0.
24328 (NULL): Use macro-constant. Require == 0.
24329 (stdin): Require type to be FILE *.
24330 (stdout): Likewise.
24331 (stderr): Likewise.
24332 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24333 macro-int-constant.
24334 (EXIT_SUCCESS): Likewise.
24335 (NULL): Use macro-constant. Require == 0.
24336 (RAND_MAX): Use macro-int-constant.
24337 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24338 [C99-based standards] (strtof): Require function.
24339 [C99-based standards] (strtold): Likewise.
24340 [C99-based standards] (strtoll): Likewise.
24341 [C99-based standards] (strtoull): Likewise.
24342 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24343 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24344 [ISO || ISO99 || ISO11] (math.h): Likewise.
24345 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24346 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24348
d18ea0c5
AS
243492012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24350
24351 [BZ #14132]
56d25bb8
AS
24352 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
24353 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
24354 * intl/dgettext.c (DCGETTEXT): Likewise.
24355 * intl/gettext.c (DCGETTEXT): Likewise.
24356 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
24357 * posix/regex_internal.h (gettext): Likewise.
24358 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
24359 Remove declaration.
24360 * include/argz.h (__argz_count_internal)
24361 (__argz_stringify_internal): Remove declaration.
24362 (__argz_count, __argz_stringify): Declare hidden proto.
24363 * intl/dcgettext.c: Remove use of INTDEF.
24364 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
24365 * string/argz-stringify.c: Likewise.
24366 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24367 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24368 Declare hidden proto.
d18ea0c5
AS
24369 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
24370 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
24371 Declare hidden proto.
24372 * include/stdio.h (__asprintf_internal): Don't declare.
24373 (__asprintf): Don't define as macro. Declare hidden proto.
24374 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
24375 (__fsetlocking): Declare hidden proto.
24376 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
24377 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
24378 hidden proto.
24379 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
24380 (_IO_setlinebuf): Remove use of INTUSE.
24381 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
24382 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
24383 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
24384 Remove declaration.
24385 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
24386 (_IO_do_flush): Remove use of INTUSE.
24387 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
24388 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
24389 (_IO_adjust_column, _IO_least_wmarker)
24390 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
24391 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
24392 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
24393 (_IO_default_doallocate, _IO_wdefault_doallocate)
24394 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
24395 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
24396 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
24397 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
24398 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
24399 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
24400 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
24401 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
24402 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
24403 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
24404 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
24405 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
24406 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
24407 proto.
24408 (_IO_flush_all_internal, _IO_adjust_column_internal)
24409 (_IO_default_uflow_internal, _IO_default_finish_internal)
24410 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
24411 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
24412 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
24413 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
24414 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
24415 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
24416 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
24417 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
24418 (_IO_file_close_internal, _IO_file_close_it_internal)
24419 (_IO_file_underflow_internal, _IO_file_overflow_internal)
24420 (_IO_file_init_internal, _IO_file_attach_internal)
24421 (_IO_file_fopen_internal, _IO_file_read_internal)
24422 (_IO_file_sync_internal, _IO_file_seek_internal)
24423 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
24424 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
24425 (_IO_str_underflow_internal, _IO_str_overflow_internal)
24426 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
24427 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
24428 (_IO_list_all_internal, _IO_link_in_internal)
24429 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
24430 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
24431 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
24432 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
24433 (_IO_do_write_internal, _IO_padn_internal)
24434 (_IO_getline_info_internal, _IO_getline_internal)
24435 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
24436 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
24437 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
24438 (_IO_vfscanf_internal, _IO_vfprintf_internal)
24439 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
24440 (_IO_init_internal, _IO_un_link_internal): Don't declare.
24441 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
24442 with libc_hidden_ver, remove use of INTUSE.
24443 * libio/genops.c: Likewise.
24444 * libio/freopen.c: Likewise.
24445 * libio/freopen64.c: Likewise.
24446 * libio/iofclose.c: Likewise.
24447 * libio/iofdopen.c: Likewise.
24448 * libio/iofflush.c: Likewise.
24449 * libio/iofflush_u.c: Likewise.
24450 * libio/iofgets.c: Likewise.
24451 * libio/iofgets_u.c: Likewise.
24452 * libio/iofopen.c: Likewise.
24453 * libio/iofopncook.c: Likewise.
24454 * libio/iofread.c: Likewise.
24455 * libio/iofread_u.c: Likewise.
24456 * libio/ioftell.c: Likewise.
24457 * libio/iofwrite.c: Likewise.
24458 * libio/iogetline.c: Likewise.
24459 * libio/iogets.c: Likewise.
24460 * libio/iogetwline.c: Likewise.
24461 * libio/iopadn.c: Likewise.
24462 * libio/iopopen.c: Likewise.
24463 * libio/ioseekoff.c: Likewise.
24464 * libio/ioseekpos.c: Likewise.
24465 * libio/iosetbuffer.c: Likewise.
24466 * libio/iosetvbuf.c: Likewise.
24467 * libio/ioungetc.c: Likewise.
24468 * libio/ioungetwc.c: Likewise.
24469 * libio/iovdprintf.c: Likewise.
24470 * libio/iovsprintf.c: Likewise.
24471 * libio/iovsscanf.c: Likewise.
24472 * libio/memstream.c: Likewise.
24473 * libio/obprintf.c: Likewise.
24474 * libio/oldfileops.c: Likewise.
24475 * libio/oldiofclose.c: Likewise.
24476 * libio/oldiofdopen.c: Likewise.
24477 * libio/oldiofopen.c: Likewise.
24478 * libio/oldiopopen.c: Likewise.
24479 * libio/oldstdfiles.c: Likewise.
24480 * libio/putc.c: Likewise.
24481 * libio/setbuf.c: Likewise.
24482 * libio/setlinebuf.c: Likewise.
24483 * libio/stdfiles.c: Likewise.
24484 * libio/strops.c: Likewise.
24485 * libio/vasprintf.c: Likewise.
24486 * libio/vscanf.c: Likewise.
24487 * libio/vsnprintf.c: Likewise.
24488 * libio/vswprintf.c: Likewise.
24489 * libio/wfiledoalloc.c: Likewise.
24490 * libio/wfileops.c: Likewise.
24491 * libio/wgenops.c: Likewise.
24492 * libio/wmemstream.c: Likewise.
24493 * libio/wstrops.c: Likewise.
24494 * libio/__fpurge.c: Likewise.
24495 * libio/__fsetlocking.c: Likewise.
24496 * assert/assert.c: Likewise.
24497 * debug/fgets_chk.c: Likewise.
24498 * debug/fgets_u_chk.c: Likewise.
24499 * debug/fread_chk.c: Likewise.
24500 * debug/fread_u_chk.c: Likewise.
24501 * debug/gets_chk.c: Likewise.
24502 * debug/obprintf_chk.c: Likewise.
24503 * debug/vasprintf_chk.c: Likewise.
24504 * debug/vdprintf_chk.c: Likewise.
24505 * debug/vsnprintf_chk.c: Likewise.
24506 * debug/vsprintf_chk.c: Likewise.
24507 * malloc/mtrace.c: Likewise.
24508 * misc/error.c: Likewise.
24509 * misc/syslog.c: Likewise.
24510 * stdio-common/asprintf.c: Likewise.
24511 * stdio-common/fxprintf.c: Likewise.
24512 * stdio-common/getw.c: Likewise.
24513 * stdio-common/isoc99_fscanf.c: Likewise.
24514 * stdio-common/isoc99_scanf.c: Likewise.
24515 * stdio-common/isoc99_vfscanf.c: Likewise.
24516 * stdio-common/isoc99_vscanf.c: Likewise.
24517 * stdio-common/isoc99_vsscanf.c: Likewise.
24518 * stdio-common/printf-prs.c: Likewise.
24519 * stdio-common/printf_fp.c: Likewise.
24520 * stdio-common/printf_fphex.c: Likewise.
24521 * stdio-common/printf_size.c: Likewise.
24522 * stdio-common/putw.c: Likewise.
24523 * stdio-common/scanf.c: Likewise.
24524 * stdio-common/sprintf.c: Likewise.
24525 * stdio-common/tmpfile.c: Likewise.
24526 * stdio-common/vfprintf.c: Likewise.
24527 * stdio-common/vfscanf.c: Likewise.
24528 * stdlib/strfmon_l.c: Likewise.
24529 * sunrpc/openchild.c: Likewise.
24530 * sunrpc/xdr_stdio.c: Likewise.
24531 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24532 * sysdeps/mach/hurd/tmpfile.c: Likewise.
24533
d6c33fda
RM
245342012-05-24 Roland McGrath <roland@hack.frob.com>
24535
c1487492
RM
24536 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24537
24538 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
24539 in the third column, to generate for the shared library an IFUNC
24540 that uses _dl_vdso_vsym.
24541 * Makerules (COMPILE.c, compile-stdin.c): New variables.
24542 * Makeconfig (object-suffixes-noshared): New variable.
24543
24544 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
24545 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
24546 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
24547 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
24548
d6c33fda
RM
24549 [BZ #14132]
24550 * include/sys/time.h (__gettimeofday): Remove macro.
24551 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
24552 * time/gettimeofday.c (__gettimeofday): Remove #undef.
24553 Remove INTDEF.
24554 (__gettimeofday): Add libc_hidden_def.
24555 (gettimeofday): Add libc_hidden_weak.
24556 * sysdeps/mach/gettimeofday.c: Likewise.
24557 * sysdeps/posix/gettimeofday.c: Likewise.
24558 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24559 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
24560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
24561 (__gettimeofday_internal): Remove strong_alias.
24562 (__gettimeofday): Add libc_hidden_def.
24563 (gettimeofday): Add libc_hidden_weak.
24564 * sysdeps/unix/syscalls.list (gettimeofday):
24565 Remove __gettimeofday_internal alias.
24566
b5a2bbe6
L
245672012-05-24 Daniel Jacobowitz <drow@false.org>
24568 H.J. Lu <hongjiu.lu@intel.com>
24569
24570 [BZ #12495]
24571 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
24572 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
24573 (largebin_index_32_big): New.
24574 (largebin_index): Use it for 16-byte alignment.
24575 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
24576 correction with front_misalign.
24577
cfba4fda
L
245782012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24579
7f907421
L
24580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
24581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
24582 Likewise.
24583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
24584 Likewise.
24585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24586 Likewise.
24587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
24588 Likewise.
24589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
24590 Likewise.
24591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
24592 Likewise.
24593 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
24594 Likewise.
24595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24596 Likewise.
24597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
24598 Likewise.
24599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
24600 Likewise.
24601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
24602 Likewise.
24603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
24604 Likewise.
24605
cfba4fda
L
24606 * scripts/data/c++-types-x32-linux-gnu.data: New file.
24607 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
24608
80bad0cc
JM
246092012-05-24 Joseph Myers <joseph@codesourcery.com>
24610
7a25eb06
JM
24611 [BZ #10846]
24612 [BZ #14036]
24613 * math/libm-test.inc (exp_test): Add test from bug 14036.
24614 (pow_test): Add test from bug 10846.
24615
795405f9
JM
24616 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
24617 and other flags.
24618 (special_function): Do not include flags in test name.
24619 (parse_args): Likewise.
24620 * sysdeps/i386/fpu/libm-test-ulps: Update.
24621 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24622 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24623 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24625
80bad0cc
JM
24626 * math/gen-libm-test.pl (%beautify): Add entries for underflow
24627 exceptions.
24628 * math/libm-test.inc ("Philosophy"): Update comment about
24629 exception testing.
24630 (UNDERFLOW_EXCEPTION): New macro.
24631 (UNDERFLOW_EXCEPTION_OK): Likewise.
24632 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
24633 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
24634 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
24635 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
24636 (INVALID_EXCEPTION_OK): Update value.
24637 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24638 (OVERFLOW_EXCEPTION_OK): Likewise.
24639 (IGNORE_ZERO_INF_SIGN): Likewise.
24640 (test_exceptions): Handle underflow exceptions.
24641 (acos_test): Update for underflow exception expectations.
24642 (cexp_test): Likewise.
24643 (clog_test): Likewise.
24644 (clog10_test): Likewise.
24645 (csqrt_test): Likewise.
24646 (ctan_test): Likewise.
24647 (ctanh_test): Likewise.
24648 (exp_test): Likewise.
24649 (exp10_test): Likewise.
24650 (exp2_test): Likewise.
24651 (expm1_test): Likewise.
24652 (fma_test): Likewise.
24653 (j0_test): Likewise.
24654 (jn_test): Likewise.
24655 (nexttoward_test): Likewise.
24656 (pow_test): Likewise.
24657 (scalbn_test): Likewise.
24658 (scalbln_test): Likewise.
24659 (tan_test): Likewise.
24660 (y1_test): Likewise.
24661 * sysdeps/i386/fpu/libm-test-ulps: Update.
24662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24663
9e0e3d0b
DM
246642012-05-23 David S. Miller <davem@davemloft.net>
24665
24666 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24667 (__libc_sigaction): Remove unused local variables.
24668
ccd0a08f
L
246692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24670
24671 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24672
62bdf9a6
PE
246732012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24674
f8591f80
PE
24675 mktime: avoid signed integer overflow
24676 * time/mktime.c (__mktime_internal): Do not mishandle the case
24677 where diff == INT_MIN.
24678
94c7d826
PE
24679 mktime: simplify computation of average
24680 * time/mktime.c (ranged_convert): Use new time_t_avg function
24681 instead of rolling our own (probably-slower) code.
24682
ce73d683
PE
24683 mktime: do not assume signed right shift propagates sign bit
24684 * time/mktime.c (isdst_differ): New static function.
24685 (__mktime_internal): No need to normalize tm_isdst now.
24686 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24687 tm_isdst values.
24688
72a22e59
PE
24689 mktime: merge another wrapv change from gnulib
24690 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24691 from some compilers.
24692
68605433
PE
24693 mktime: remove incorrect attempt at unusual arithmetics
24694 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24695 The code didn't really work on such machines anyway.
24696 (TYPE_MINIMUM): Assume two's complement.
24697 (twos_complement_arithmetic): Verify that long_int and time_t
24698 are two's complement (or unsigned, in the latter case).
24699
03cf7fe3
PE
24700 mktime: check signed shifts on long_int and time_t, too
24701 * time/mktime.c (SHR): Check that shifts work as desired
24702 on the types long_int and time_t too, as SHR is used on
24703 such types.
24704
f04dfbc2
PE
24705 mktime: do not assume 'long' is wide enough
24706 * time/mktime.c (verify): Move decl up.
24707 (long_int): New type.
24708 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24709 to remove assumption in the code that 'long' is wide enough to
24710 store year values. This assumption is not true on x32 and on
24711 some non-glibc platforms.
24712
62bdf9a6
PE
24713 mktime: merge wrapv change from gnulib
24714 * time/mktime.c (WRAPV): New macro.
24715 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24716 (guess_time_tm, __mktime_internal): Do not assume that signed
24717 integer overflow wraps around; modern compilers generate code
24718 where this assumption is no longer valid.
24719
5e292e4f
L
247202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24721
24722 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24723 Replace "jmp L(pseudo_end)" with "ret".
24724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24725 Likewise.
24726
8caf8c87
AJ
247272012-05-23 Andreas Jaeger <aj@suse.de>
24728
24729 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24730 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24731
1a09dc56
AJ
247322012-05-23 Andreas Jaeger <aj@suse.de>
24733 Maximilian Attems <max@stro.at>
24734
24735 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24736 New macros.
24737
1c87aba0
L
247382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24739
24740 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24741 code so that pseudo_end is just ret and the stack pointer is
24742 correct also for static library in error case.
24743
40e45bd5
JM
247442012-05-23 Joseph Myers <joseph@codesourcery.com>
24745
c2670533
JM
24746 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24747 move to syscalls.list.
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24752
40e45bd5
JM
24753 * manual/install.texi (Running make install): Do not mention Linux
24754 kernel version for which pt_chown is not needed.
24755 (Linux): Do not mention problems with nscd with 2.0 kernels.
24756 * INSTALL: Regenerated.
24757
be08eda5
AJ
247582012-05-23 Andreas Jaeger <aj@suse.de>
24759
24760 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24761 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24762 macro.
24763 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24764 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24765 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24766 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24767 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24768 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24770 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24771 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24772 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24773 * sysdeps/unix/sysv/linux/bits/in.h
24774 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24775
a6a056bb
RM
247762012-05-22 Roland McGrath <roland@hack.frob.com>
24777
24778 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24779 (PREPARE_VERSION): Just use assert instead, it will be elided
24780 under [NDEBUG] anyway.
24781
c9009328
L
247822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24783
24784 * sysdeps/unix/sysv/linux/Makefile: Include
24785 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 24786 (sysdep_routines): Remove sysctl.
c9009328
L
24787 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24788 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24789 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24790 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24791 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24792
73338355
AJ
247932012-05-22 Andreas Jaeger <aj@suse.de>
24794
24795 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24796 that pseudo_end is just ret and the stack pointer is correct also
24797 for static library in error case.
24798
d44638b0
PP
247992012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24800
24801 [BZ #14122]
24802 * nss/nsswitch.c (defconfig_entries): New variable.
24803 (__nss_database_lookup): Don't leak defconfig entries.
24804 (nss_parse_service_list): Don't leak on error paths.
24805 (free_database_entries): New function.
24806 (free_defconfig): New function.
24807 (free_mem): Move common code to free_database_entries.
24808
31a39bd8
L
248092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24810
da0331a8
L
24811 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24812 Add arch_prctl.
24813 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24814
31a39bd8
L
24815 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24816 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24818 New macro.
24819 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24820 (INTERNAL_SYSCALL_TYPES): Likewise.
24821 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24822 (LOAD_REGS_TYPES_[1-6]): Likewise.
24823 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24824 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24825
45470df3
AZ
248262012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24827
24828 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24829 copysignl for GLIBC_2_0.
24830 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24831 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24833 logbl for GLIBC_2_0.
24834 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24835 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24836
98a61bcb
L
248372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24838
a4f6e481
L
24839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24840 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24841
f63d5db6
L
24842 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24843 Use "neg %eax".
24844
98a61bcb
L
24845 * time/mktime.c: Update copyright years.
24846
95770f14
PE
248472012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24848
6226efbd
PE
24849 mktime: merge comment-quoting-style change from gnulib
24850 * time/mktime.c: Quote 'like this' in comments.
24851 The GNU coding standards suggest that we no longer quote `like this',
24852 as "`" and "'" are typically rendered asymmetrically nowadays.
24853 The typical gnulib style is to quote 'like this' when quoting
24854 code, and "like this" when quoting English.
24855
b99e4f78
PE
24856 * time/mktime.c (compile-command): Add "-I.".
24857
643e01e6
PE
24858 mktime: merge mktime-internal.h change from gnulib
24859 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24860
2554247d
PE
24861 mktime: merge time_r change from gnulib
24862 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24863
826dd0ab
PE
24864 mktime: merge DEBUG change from gnulib
24865 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24866 case system <time.h> has a #define.
24867
bd83aabe
PE
24868 mktime: merge <sys/types.h> change from gnulib
24869 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24870 since <time.t> is now guaranteed to define time_t.
24871
95770f14
PE
24872 mktime: merge HAVE_CONFIG_H change from gnulib
24873 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24874
5e1a27a9
L
248752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24876
0e44a77e
L
24877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24878 Use "neg %eax".
24879
5e1a27a9
L
24880 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24881 __rlim_t cast.
24882 (struct rusage): Use anonymous union to pad each field to
24883 __syscall_slong_t.
24884
46259bec
DM
248852012-05-21 David S. Miller <davem@davemloft.net>
24886
24887 * Makefules (o-iterator): Remove .s cases.
24888 (compile-command.s): Delete.
24889 (COMPILE.s): Delete.
24890 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24891
59f0c22e
JM
248922012-05-21 Joseph Myers <joseph@codesourcery.com>
24893
24894 * configure.in (libc_cv_predef_stack_protector): Only consider
24895 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24896 * configure: Regenerated.
24897
20c07380
L
248982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24899
bbb3154b
L
24900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24901 New macro. Use R*LP on int and pointer.
24902 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
24903 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24904 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
24905 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24906
20c07380
L
24907 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24908 [__WORDSIZE_TIME64_COMPAT32] instead of
24909 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24910 (struct utmp): Likewise.
24911 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24912 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24913 Renamed to ...
24914 (__WORDSIZE_TIME64_COMPAT32): This.
24915 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24916 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24917 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24918 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24919 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24920 (__WORDSIZE_TIME64_COMPAT32): New macro.
24921
d8d1017e
AJ
249222012-05-21 Andreas Jaeger <aj@suse.de>
24923
24924 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24925 only if [SHARED]. Add prototype for __wcschr_ia32.
24926
6c7fb145
RM
249272012-05-21 Roland McGrath <roland@hack.frob.com>
24928
24929 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24930 of %rbp unmolested in the jmp_buf while mangling the low bits.
24931 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24932 unmolested high bits of %rbp while demangling the low bits.
24933 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24934
66274218
AJ
249352012-05-21 Andreas Jaeger <aj@suse.de>
24936
07c58f8f
AJ
24937 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24938 * sunrpc/svc_simple.c: Use it for registerrpc.
24939 * sunrpc/xcrypt.c: Use it for passwd2des.
24940
66274218
AJ
24941 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24942
61f65140
L
249432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24944
24945 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24946 Don't define if [__SYSCALL_WORDSIZE != 32].
24947 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24948 New macro.
24949
5fefb436
AJ
249502012-05-21 Bruno Haible <bruno@clisp.org>
24951 Andreas Jaeger <aj@suse.de>
24952
24953 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24954 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24955 inptr and inend for must_buffer_ch.
24956 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24957 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24958 * stdio-common/Makefile (tests): Remove bug15.
24959 (bug15-ENV): Remove macro.
24960 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24961 anymore.
24962
d8e272ab
AJ
249632012-05-19 Andreas Jaeger <aj@suse.de>
24964 Roland McGrath <roland@hack.frob.com>
24965
24966 * manual/contrib.texi: Completely rewritten. It contains now an
24967 alphabetical list of contributors and their contributions.
24968
4a56a162
RH
249692012-05-21 Richard Henderson <rth@twiddle.net>
24970
24971 * misc/getauxval.c (__getauxval): Use unsigned long int.
24972 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24973 (getauxval): Use unsigned long int.
24974
d024d23c
L
249752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24976
24977 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24978
cbc00a03
RM
249792012-05-21 Roland McGrath <roland@hack.frob.com>
24980
24981 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24982 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24983 __alignof__ (long double).
24984
478143fa
AZ
249852012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24986
24987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24988
c7683a6d
RH
249892012-05-20 Richard Henderson <rth@twiddle.net>
24990
24991 * misc/getauxval.c: New file.
24992 * misc/sys/auxv.h: New file.
24993 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24994 (routines): Add getauxval.
24995 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24996 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24997 * elf/dl-sysdep.c (_dl_auxv): Remove.
24998 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24999 * elf/dl-support.c (_dl_auxv): New variable.
25000 (_dl_aux_init): Initialize it.
25001 * manual/startup.texi (Auxiliary Vector): New node.
25002 * sysdeps/generic/bits/hwcap.h: New file.
25003 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25004 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25005 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25006 * sysdeps/sparc/sysdep.h: ... here. Include it.
25007 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25010 Update.
c7683a6d
RH
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25019
a6f1845d
AZ
250202012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25021
25022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25023
cbcbe830
DM
250242012-05-19 David S. Miller <davem@davemloft.net>
25025
25026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25027
e0b16cc2
JM
250282012-05-19 Joseph Myers <joseph@codesourcery.com>
25029
25030 [BZ #14123]
25031 * math/s_ccosh.c: Include <float.h>
25032 (__ccosh): Avoid internal overflow calculating sinh and cosh
25033 values before multiplying by sin and cos values.
25034 * math/s_ccoshf.c: Likewise.
25035 * math/s_ccoshl.c: Likewise.
25036 * math/s_csin.c: Likewise.
25037 * math/s_csinf.c: Likewise.
25038 * math/s_csinl.c: Likewise.
25039 * math/s_csinh.c: Likewise.
25040 * math/s_csinhf.c: Likewise.
25041 * math/s_csinhl.c: Likewise.
25042 * math/libm-test.inc (ccos_test): Add more tests.
25043 (ccosh_test): Likewise.
25044 (csin_test): Likewise.
25045 (csinh_test): Likewise.
25046 * sysdeps/i386/fpu/libm-test-ulps: Update.
25047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25048
6ad13e08
L
250492012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25050
f66f0ce8
L
25051 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25052 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25053
6ad13e08
L
25054 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25055
b1d072a7
JM
250562012-05-19 Joseph Myers <joseph@codesourcery.com>
25057
25058 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25059 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25060 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25061 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25062 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25063 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25064 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25065 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25066 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25067 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25068 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25069 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25070 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25071 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25072 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25073 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25074 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25075 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25076 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25077 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25078 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25079 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25080 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25081 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25082 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25083 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25084 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25085 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25086 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25087 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25088 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25089
9eae47cb
AJ
250902012-05-18 Andreas Jaeger <aj@suse.de>
25091
25092 * csu/.gitignore: Delete.
25093
bb07f69f
L
250942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25095
25096 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25097 (timex): Use __syscall_slong_t.
25098
e6bdb741
AJ
250992012-05-18 Andreas Jaeger <aj@suse.de>
25100 Carlos O'Donell <carlos_odonell@mentor.com>
25101
25102 * manual/install.texi (Configuring and compiling): Update
25103 description about files modified in the source directory.
d6c33fda 25104 * INSTALL: Regenerated.
e6bdb741 25105
1b74487e
L
251062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25107
25108 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25109 value. Use "or" to set return value to -1.
25110 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25111 negate return value.
25112
a88b64b9
TMQMF
251132012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25114
25115 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25116 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25117 failure if the compiler has Graphite support disabled.
25118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25119 Likewise.
25120 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25121 CFLAGS-memmove.c): Likewise.
25122 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25123 Likewise.
25124
3707636e
L
251252012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25126
610b8622
L
25127 * sysdeps/x86_64/x32/_itoa.h: New file.
25128
7cd195df
L
25129 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25130 getdents system call only if kernel and user dirents have the
25131 same d_ino and d_off.
25132
94b07d20
L
25133 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25134 LLONG_MAX != LONG_MAX.
25135 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25136 (_fitoa_word): Likewise.
25137
18298070
L
25138 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25139 years.
25140 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25141 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25142 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25143
553c7ea4
L
25144 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25145 include <bits/wordsize.h>. Check __x86_64__ instead of
25146 __WORDSIZE.
25147 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25148 if __x86_64__ is defined. Use anonymous union on fpstate.
25149
3707636e
L
25150 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25151 anonymous union.
25152
b53ef01a
AS
251532012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25154
37fb1dc0
AS
25155 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25156 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25157 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25158 Refer to _rtld_local_ro instead of _rtld_global_ro.
25159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25160 Likewise.
25161 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25162 Likewise.
25163 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25164 Likewise.
25165 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25166 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25167 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25168
b53ef01a
AS
25169 * sysdeps/powerpc/powerpc32/dl-machine.c
25170 (__elf_machine_runtime_setup) [PROF]: Don't reference
25171 _dl_prof_resolve.
25172
7a185db2
AJ
251732012-05-18 Andreas Jaeger <aj@suse.de>
25174
25175 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25176 function only available for GCCs before 3.4 since GCC 3.4
25177 introduced a builtin.
25178 (lrint): Likewise.
25179 (llrintf): Likewise.
25180 (llrint): Likewise.
25181 (fmaxf): Likewise.
25182 (fmax): Likewise.
25183 (fminf): Likewise.
25184 (fmin): Likewise.
25185 (rint): Likewise.
25186 (rintf): Likewise.
25187 (nearbyint): Likewise.
25188 (nearbyintf): Likewise.
25189 (ceil): Likewise.
25190 (ceilf): Likewise.
25191 (floor): Likewise.
25192 (floorf): Likewise.
25193
3e5aef87
L
251942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25195
428bd707
L
25196 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25197 on both fields and cast pointer to __syscall_ulong_t.
25198
3e5aef87
L
25199 * bits/types.h (__fsword_t): New type.
25200 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25201 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25203 (__FSWORD_T_TYPE): Likewise.
25204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25205 (__FSWORD_T_TYPE): Likewise.
25206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25207 (__FSWORD_T_TYPE): Likewise.
25208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25209 (__FSWORD_T_TYPE): Likewise.
25210 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25211 __SWORD_TYPE with __fsword_t.
25212 (statfs64): Likewise.
25213
1ba7c3dc
DM
252142012-05-17 David S. Miller <davem@davemloft.net>
25215
25216 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25217
59910343
AJ
252182012-05-17 Andreas Jaeger <aj@suse.de>
25219
25220 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25221 warning.
25222
2e4c1e9e
L
252232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25224
25225 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25226
de7f5ce7
AJ
252272012-05-17 Andreas Jaeger <aj@suse.de>
25228
25229 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25230 when it is used.
25231
286abc3d
CM
252322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25233
25234 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25235
477cc68e
L
252362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25237
25238 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25239 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25240
1a0994f5
CD
252412012-05-17 Andreas Jaeger <aj@suse.de>
25242 Carlos O'Donell <carlos_odonell@mentor.com>
25243
25244 [BZ #14059]
25245 * sysdeps/x86_64/multiarch/init-arch.h
25246 (bit_YMM_Usable): Rename to...
25247 (bit_AVX_Usable): ... this.
25248 (bit_FMA4_Usable): New macro.
25249 (bit_XMM_state): New macro.
25250 (bit_YMM_state): New macro.
25251 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25252 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25253 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25254 (CPUID_OSXSAVE): New macro.
25255 (CPUID_AVX): New macro.
25256 (CPUID_FMA4): New macro.
25257 (index_YMM_Usable): Rename to...
25258 (index_AVX_Usable): ... this.
25259 (HAS_AVX): Use HAS_ARCH_FEATURE.
25260 (HAS_FMA4): Likewise.
25261 (HAS_YMM_USABLE): Remove.
25262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25263 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25264 are present.
25265 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25266 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25267 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25268 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25269 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25270
0af797de
CM
252712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25272
25273 * math/libm-test.c: Support platforms without multiple rounding modes.
25274 * math/bug-nextafter.c: Support platforms without FP exceptions.
25275 * math/bug-nexttoward.c: Likewise.
25276 * math/test-fenv.c: Likewise.
25277 * math/test-misc.c: Likewise.
25278 * stdlib/bug-getcontext.c: Likewise.
25279
e39745ff
AJ
252802012-05-17 Andreas Jaeger <aj@suse.de>
25281
25282 * manual/examples/search.c (critter_cmp): Change signature to
25283 avoid warnings.
25284 * manual/string.texi (Collation Functions): Likewise.
25285
48970aba
L
252862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25287
25288 * bits/types.h: Fold copyright years.
25289 * bits/typesizes.h: Likewise.
25290 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25292 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25294 * time/time.h: Likewise.
25295
bedee953
PP
252962012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25297
25298 [BZ #208]
25299 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25300 in instead of returning them. Return void.
25301 (__libc_mallinfo): Accumulate over all arenas.
25302 (__malloc_stats): Adjust for change in int_mallinfo interface.
25303
61653dfb
RM
253042012-05-16 Roland McGrath <roland@hack.frob.com>
25305
30b99d79
RM
25306 [BZ #10375]
25307 * configure.in (NM): Add AC_CHECK_TOOL for it.
25308 (libc_extra_cflags): New substituted variable.
25309 Check for -fstack-protector being used implicitly.
25310 * configure: Regenerated.
25311 * config.make.in (config-extra-cflags): New variable,
25312 gets @libc_extra_cflags@.
25313 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25314
61653dfb
RM
25315 [BZ #10375]
25316 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25317 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25318 * configure: Regenerated.
25319 * config.make.in (CPPUNDEFS): New substituted variable.
25320 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25321 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25322 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25323
661768bb
L
253242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25325
25326 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25327 (mq_attr): Use __syscall_slong_t.
25328
d4261567
L
253292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25330
25331 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25332 Check __x86_64__ instead of __WORDSIZE.
25333 (_STAT_VER_LINUX): Likewise.
25334 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25335 __syscall_ulong_t and __syscall_slong_t.
25336 (stat64): Likewise.
25337
cf3ff365
L
253382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25339
25340 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25341
76cf3e4d
L
253422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25343
25344 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25345
a637753a
L
253462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25347
25348 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25349 __syscall_ulong_t.
25350
d5e05119
L
25351 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
25352 include <bits/wordsize.h>. Check __x86_64__ instead of
25353 __WORDSIZE.
25354 (greg_t): Use "__extension__ long long int" if __x86_64__ is
25355 defined.
25356 (mcontext_t): Replace "unsigned long" with "unsigned long long".
25357
f62ee380
L
25358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
25359 include <bits/wordsize.h>. Check __x86_64__ instead of
25360 __WORDSIZE.
25361 (user_regs_struct): Use "__extension__ unsigned long long"
25362 instead of "unsigned long" if __x86_64__ is defined.
25363 (user): Likewise. Pad after pointer field if __ILP32__ is
25364 defined.
25365
4e124ced
JM
253662012-05-16 Joseph Myers <joseph@codesourcery.com>
25367
6a3951a0
JM
25368 * configure.in (makeinfo): Require version 4.5 or later. Allow
25369 versions 5 to 9.
25370 * configure: Regenerated.
25371 * manual/install.texi (texinfo): Increase version requirement to
25372 4.5 or later.
25373 * INSTALL: Regenerated.
25374
4e124ced
JM
25375 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
25376
953ca31a
L
253772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25378
25379 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
25380
617aca05
L
25381 * sysdeps/x86_64/x32/ffs.c: New file.
25382
5762f7ae
L
25383 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
25384 __syscall_ulong_t.
25385 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
25386 defined. Use __syscall_ulong_t.
25387 (shminfo): Use __syscall_ulong_t.
25388 (shm_info): Likewise.
25389
a26b6856
L
25390 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
25391 __syscall_ulong_t.
25392
cb2b9ef7
L
25393 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
25394 <bits/wordsize.h>.
25395 (msgqnum_t): Use __syscall_ulong_t.
25396 (msglen_t): Likewise.
25397 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
25398 __syscall_ulong_t.
25399
34683bb0
L
25400 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
25401 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25402
84a68786
L
25403 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
25404
48baa5f1
L
25405 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
25406 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
25407
180be88b
L
25408 * sysvipc/sys/msg.h (msgbuf): Replace long int with
25409 __syscall_slong_t.
25410
5e90c8ad
L
25411 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
25412 include <bits/wordsize.h>. Check __x86_64__ instead of
25413 __WORDSIZE.
25414
23dfb58b
L
25415 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
25416 "unsigned long long int" if __x86_64__ is defined.
25417 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
25418
ce5d54b0
L
25419 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
25420 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25421 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
25422
13dc9eac
L
25423 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
25424 <stdint.h>.
25425 (GET_PC): Cast to uintptr_t first.
25426 (GET_FRAME): Likewise.
25427 (GET_STACK): Likewise.
25428
a7895d15
L
25429 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
25430 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
25431 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
25432 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
25433 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
25434 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
25435 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
25436 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
25437 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
25438 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
25439 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
25440 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
25441 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25442 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
25443 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
25444 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
25445 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
25446 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
25447 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
25448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
25449 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
25450 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
25451 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
25452 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
25453 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
25454 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
25455 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
25456 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
25457 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
25458
656416c9
AS
254592012-05-16 Andreas Schwab <schwab@linux-m68k.org>
25460
5bd66283
AS
25461 * Makerules (+depfiles): Also collect depfiles from .oS in
25462 $(extra-objs).
25463 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
25464 .oS, $(libnldbl-routines)).
25465
656416c9
AS
25466 * Makerules (native-compile-mkdep-flags): Define.
25467 * sunrpc/Makefile (extra-objs): Add $(addprefix
25468 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
25469 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
25470 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
25471 calling $(make-target-directory).
25472
a46f2169
L
254732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25474
25475 * bits/types.h (__snseconds_t): Removed.
25476 * time/time.h (struct timespec): Replace __snseconds_t with
25477 __syscall_slong_t.
25478 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
25479 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
25480 Likewise.
25481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25482 (__SNSECONDS_T_TYPE): Likewise.
25483 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25484 (__SNSECONDS_T_TYPE): Likewise.
25485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25486 (__SNSECONDS_T_TYPE): Likewise.
25487
6af6528b
L
254882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25489
25490 * sysdeps/mach/hurd/bits/typesizes.h
25491 (__SYSCALL_SLONG_TYPE): New macro.
25492 (__SYSCALL_ULONG_TYPE): Likewise.
25493
de986b56
L
254942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25495
25496 * bits/types.h (__syscall_slong_t): New type.
25497 (__syscall_ulong_t): Likewise.
25498
25499 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
25500 (__SYSCALL_ULONG_TYPE): Likewise.
25501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25502 (__SYSCALL_SLONG_TYPE): Likewise.
25503 (__SYSCALL_ULONG_TYPE): Likewise.
25504 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25505 (__SYSCALL_SLONG_TYPE): Likewise.
25506 (__SYSCALL_ULONG_TYPE): Likewise.
25507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25508 (__SYSCALL_SLONG_TYPE): Likewise.
25509 (__SYSCALL_ULONG_TYPE): Likewise.
25510
85736dc7
L
255112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25512
25513 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
25514 Add sigaltstack-offsets.sym.
25515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
25516 <sigaltstack-offsets.h>.
25517 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
25518 longjmp_msg pointer.
25519 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
25520 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
25521 signal stack.
25522 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
25523
cc03b296
JM
255242012-05-15 Joseph Myers <joseph@codesourcery.com>
25525
a9538892
JM
25526 * elf/stackguard-macros.h: Remove file.
25527 * sysdeps/generic/stackguard-macros.h: New file.
25528 * sysdeps/i386/stackguard-macros.h: Likewise.
25529 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25530 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25531 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25532 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25533 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25534 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25535 * sysdeps/x86_64/stackguard-macros.h: Likewise.
25536 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
25537 <elf/stackguard-macros.h>.
25538
cc03b296
JM
25539 [BZ #14109]
25540 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
25541 __aligned__ in attribute.
25542 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
25543 (gregset_t): Likewise.
25544
93171016
L
255452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25546
25547 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
25548 * sysdeps/x86_64/64/Implies-after: Here. New file.
25549 * sysdeps/x86_64/x32/Implies-after: New file.
25550
d86813a0
L
255512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25552
25553 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
25554 and access return value for _dl_profile_fixup. Use R10_LP to
25555 load frame size.
25556
2953ec75
L
255572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25558
25559 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
25560
3b550e9e
L
255612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25562
25563 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
25564 * sysdeps/x86_64/x32/sysdep.h: New file.
25565
eda41706
L
255662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25567
25568 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
25569 * sysdeps/x86_64/setjmp.S: Likewise.
25570
9ea01d93
AZ
255712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25572
25573 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
25574 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
25575 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
25576 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
25577 remove unused global constant.
25578
02a91938
CM
255792012-05-15 Chris Metcalf <cmetcalf@tilera.com>
25580
25581 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
25582 include of <not-cancel.h>.
25583
6540185f
RM
255842012-05-15 Roland McGrath <roland@hack.frob.com>
25585
25586 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
25587
509072a0
AJ
255882012-05-15 Jeff Law <law@redhat.com>
25589 Andreas Jaeger <aj@suse.de>
25590
25591 [BZ #13594]
25592 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
25593 out from...
25594 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
25595 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
25596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
25597 code changing __hst_map_handle.map.
25598
ba75122d
RM
255992012-05-15 Roland McGrath <roland@hack.frob.com>
25600
25601 * configure.in (sysnames): Look for Implies-before and Implies-after
25602 files.
25603 * configure: Regenerated.
25604
890d8bd8
L
256052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25606
25607 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
25608 8-byte data alignment with LP_SIZE alignment.
25609
f6ee6623
L
256102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25611
25612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
25613 into R10_LP.
25614
ea2626f6
L
256152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25616
25617 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
25618
085f715e
L
256192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25620
25621 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
25622 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
25623 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
25624 Likewise.
25625 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25626
be8498fc
L
256272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25628
25629 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
25630 (stackinfo_sub_sp): Likewise.
25631
70bc83b9
L
256322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25633
25634 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
25635 RAX_LP.
25636
9bc0b730
L
256372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25638
25639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
25640 into R*_LP.
25641
6d2850e7
L
256422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25643
25644 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
25645 sizes into R*_LP.
25646
3cb84561
L
256472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25648
25649 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
25650
54e2ed81
L
256512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
25654 into R11_LP and load __x86_64_shared_cache_size_half into
25655 R8_LP.
25656
8a17f349
L
256572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25658
25659 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
25660 R8_LP.
25661
777b1eea
AZ
256622012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25663
25664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
25665 logb for POWER7.
25666 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
25667 logbf for POWER7.
25668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25669 logbl for POWER7.
25670 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25671 powerpc32/power7/fpu/s_logb.c via #include.
25672 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25673 powerpc32/power7/fpu/s_logbf.c via #include.
25674 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25675 powerpc32/power7/fpu/s_logbl.c via #include.
25676
d20d4ac2
JM
256772012-05-15 Joseph Myers <joseph@codesourcery.com>
25678
25679 * README.libm: Remove file.
25680
6cdef1ab
L
256812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25682
25683 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25684 count for x32. Use R*_LP and omit operand-size suffix.
25685
0b254d8f
L
256862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25687
25688 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25689 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25690 * sysdeps/x86_64/x32/shlib-versions: New file.
25691
ceb809dc
RM
256922012-05-14 Roland McGrath <roland@hack.frob.com>
25693
25694 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25695 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25696 Use _dl_fatal_printf instead.
25697
37f1abd4
JM
256982012-05-14 Joseph Myers <joseph@codesourcery.com>
25699
25700 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25701 set if not set by the user. Do not allow for being unset.
25702 * sysdeps/unix/sysv/linux/configure: Regenerated.
25703
11de3a33
L
257042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25705
25706 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25707 the `q' suffix from lea and replace .quad with ASM_ADDR.
25708
e02f153a
L
257092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25710
25711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25712 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25713 instead of $17.
25714 (PTR_DEMANGLE): Likewise.
25715
520ae0fd
L
257162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25717
25718 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25719 (LP_OP): Likewise.
25720 (ASM_ADDR): Likewise.
25721 (RAX_LP): Likewise.
25722 (RBP_LP): Likewise.
25723 (RBX_LP): Likewise.
25724 (RCX_LP): Likewise.
25725 (RDI_LP): Likewise.
25726 (RSI_LP): Likewise.
25727 (RSP_LP): Likewise.
25728 (R8_LP): Likewise.
25729 (R9_LP): Likewise.
25730 (R10_LP): Likewise.
25731 (R10_LP): Likewise.
25732 (R11_LP): Likewise.
25733 (R12_LP): Likewise.
25734 (R13_LP): Likewise.
25735 (R14_LP): Likewise.
25736 (R15_LP): Likewise.
25737
b985be81
L
257382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25739
25740 * sysdeps/x86_64/x32/dl-machine.h: New file.
25741
6a4888ff
AJ
257422012-05-14 Andreas Jaeger <aj@suse.de>
25743
25744 * manual/Makefile (subdir): Remove export of subdir.
25745 (all): Remove target.
25746 (.PHONY): Remove all from list.
25747 (mkinstalldirs): Remove.
25748 (.PHONY): Remove installdirs from list.
25749 ($(inst_infodir)/libc.info): Use make-target-directory.
25750 (installdirs): Remove.
25751 (subdir_%): Remove.
25752 (glibc-targets): Remove.
25753 (lib): Remove.
25754 (stubs): Remove.
25755 ($(objpfx)stubs ../po/manual.pot): Remove.
25756 ($(objpfx)stamp%): Remove.
25757 (make-target-directory): Remove.
25758 (subdir_install): Remove.
25759 (routines): Remove.
25760 (aux): Remove.
25761 (sources): Remove.
25762 (objects): Remove.
25763 (headers): Remove.
25764
25765 [BZ #13750]
25766 * manual/.gitignore: Remove, it's not needed anymore.
25767 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25768 all files in it.
25769 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25770 directory.
25771 (texis): Renamed to $(objpfx)texis.
25772 (texis-path): New, contains path to generated files.
25773 (chapters.%): Use texis-path for complete path, add extra argument
25774 libc-texinfo.sh.
25775 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25776 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25777 (summary,texi, stamp-summary): Use complete path of
25778 files. Generate files in build dir.
25779 (dir-add.texi): Build in build dir.
25780 (libm-err.texi,stamp-libm-err): Likewise.
25781 (version.texi, stamp-version): Likewise.
25782 (.%c.texi): Likewise.
25783 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25784 (mostlyclean): Remove target.
25785 (realclean): Remove target.
25786 (generated): Add new variable with contents from mostlyclean and
25787 realclean, remove entries duplicated in common-mostlyclean, add
25788 stamp-libm-err and stamp-version.
25789 (generated-dirs): Add libc directory.
25790 ($(inst_infodir)/libc.info): Install files from build dir.
25791
25792 * manual/install.texi (Configuring and compiling): Adjust since
25793 the info files are not part of the tar ball anymore.
25794
7ac77294
AJ
257952012-05-14 Andreas Jaeger <aj@suse.de>
25796
25797 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25798 variable.
25799
ffb7875d
JM
258002012-05-14 Joseph Myers <joseph@codesourcery.com>
25801
25802 [BZ #13717]
25803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25804 to 2.2.0 where earlier.
25805 * sysdeps/unix/sysv/linux/configure: Regenerated.
25806 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25807 Remove conditional code.
25808 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25809 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25810 Remove conditional code.
25811 [!__NR_lchown]: Likewise.
25812 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25813 [__NR_lchown]: Likewise.
25814 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25815 comment referencing __ASSUME_LCHOWN_SYSCALL.
25816 * sysdeps/unix/sysv/linux/i386/sigaction.c
25817 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25818 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25819 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25820 Remove conditional code.
25821 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25822 (__protocol_available): Remove #if 0 code.
25823 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25824 conditional code.
25825 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25826 * sysdeps/unix/sysv/linux/kernel-features.h
25827 (__ASSUME_GETCWD_SYSCALL): Don't define.
25828 (__ASSUME_REALTIME_SIGNALS): Likewise.
25829 (__ASSUME_PREAD_SYSCALL): Likewise.
25830 (__ASSUME_PWRITE_SYSCALL): Likewise.
25831 (__ASSUME_POLL_SYSCALL): Likewise.
25832 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25833 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25834 non-SPARC.
25835 (__ASSUME_SIOCGIFNAME): Don't define.
25836 (__ASSUME_MSG_NOSIGNAL): Likewise.
25837 (__ASSUME_SENDFILE): Define unconditionally.
25838 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25839 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25840 conditional code.
25841 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25842 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25843 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25844 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25845 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25846 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25847 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25849 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25852 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25853 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25858 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25861 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25862 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25864 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25867 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25870 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25872 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25873 Remove conditional code.
25874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25875 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25876 Remove conditional code.
25877 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25878 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25879 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25880 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25881 Remove conditional code.
25882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25883 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25884 Remove conditional code.
25885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25886 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25887 Remove conditional code.
25888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25889 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25890 Remove conditional code.
25891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25892 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25893 Remove conditional code.
25894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25895 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25896 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25897 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25898 * sysdeps/unix/sysv/linux/sigaction.c
25899 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25900 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25901 * sysdeps/unix/sysv/linux/sigpending.c
25902 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25903 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25904 * sysdeps/unix/sysv/linux/sigprocmask.c
25905 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25906 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25907 * sysdeps/unix/sysv/linux/sigsuspend.c
25908 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25909 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25910 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25911 (__libc_missing_rt_sigs): Remove.
25912 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25913 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25914 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25915 Remove conditional code.
25916 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25917 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25918 return 1.
25919 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25920 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25921 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25922 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25923
1bfb7291
AJ
259242012-05-14 Andreas Jaeger <aj@suse.de>
25925
caae5a81
AJ
25926 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25927 it's not used in glibc.
25928 (__coshm1): Likewise.
25929 (__acosh1p): Likewise.
25930 (__sgn): Likewise.
25931
1bfb7291
AJ
25932 * manual/string.texi (Copying and Concatenation): Add missing
25933 variable in concat example.
25934 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25935
c044d724
L
259362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25937
144c5467 25938 [BZ #14103]
c044d724
L
25939 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25940 __builtin_clzl with __builtin_clzll.
25941
2523c62b
L
259422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25943
25944 [BZ #14104]
25945 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25946 libc_freeres_ptr.
25947
d7bb4c42
LD
259482012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25949
25950 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25951 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25952 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25954
9dc4e1fb
MF
259552012-05-14 Mike Frysinger <vapier@gentoo.org>
25956
25957 * NEWS: Update ia64 info.
25958
c7df0112
AS
259592012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25960
25961 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25962 used as bcopy.
25963
dc70356c
TS
259642012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25965
25966 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25967 * sysdeps/unix/syscalls.list (dup3): Likewise.
25968 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25969 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25970
9fb1a21f
L
259712012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25972
25973 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25974 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25975
4822a2a5
L
259762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25977
25978 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25979 thread pointer.
25980 (TLS_IE): Use mov/add instead of movq/addq to load thread
25981 pointer.
25982 (TLS_GD_PREFIX): New.
25983 (TLS_GD): Use it.
25984
842b81d6
DM
259852012-05-11 David S. Miller <davem@davemloft.net>
25986
25987 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25988 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25989 (_FPU_SETCW): Likewise.
25990
1cf463cd
L
259912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25992
25993 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25994 is 32-byte aligned.
25995
60cc4a18
AS
259962012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25997
25998 [BZ #11837]
25999 * iconvdata/gb18030.c: Update tables.
26000 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26001 characters specially.
26002 (BODY for TO_LOOP): Add encoding of missing ranges.
26003
febb44a4
TS
260042012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26005
26006 [BZ #13673]
26007 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26008 * sysdeps/mach/hurd/dup3.c: Likewise.
26009 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26010 * sysdeps/powerpc/memmove.c:: Likewise.
26011
0a10fb9e
L
260122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26013
26014 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26015 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26016
df8a552f
L
260172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26018
26019 * elf/elf.h (R_X86_64_RELATIVE64): New.
26020 (R_X86_64_NUM): Updated.
26021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26022 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26023 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26024 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26025 tst-quad1pie tst-quad2pie
26026 (modules-names): Add tst-quadmod1 tst-quadmod2.
26027 ($(objpfx)tst-quad1): New dependency.
26028 ($(objpfx)tst-quad2): Likewise.
26029 ($(objpfx)tst-quad1pie): Likewise.
26030 ($(objpfx)tst-quad2pie): Likewise.
26031 * sysdeps/x86_64/tst-quad1.c: New file.
26032 * sysdeps/x86_64/tst-quad1pie.c: New file.
26033 * sysdeps/x86_64/tst-quad2.c: Likewise.
26034 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26035 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26036 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26037 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26038 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26039
f34d6f84
ST
260402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26041
f42d41d1
ST
26042 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26043 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26044 * streams/stropts.h (t_scalar_t): Define type.
26045
3c3571fc
ST
26046 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26047 (_PATH_PRESERVE): Set to "/var/lib".
26048 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26049
61f06bd3
ST
26050 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26051 instead of int.
26052
918d4d71
ST
26053 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26054 if __dir_mkfile succeeded.
26055
f34d6f84
ST
26056 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26057 checking for _hurd_dtablesize. Unlock it right after having
26058 finished _hurd_dtable allocation.
26059
10589b4a
TS
260602012-05-10 Thomas Schwinge <thomas@schwinge.name>
26061
674cdbc7
TS
26062 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26063 * sysdeps/mach/hurd/configure: Regenerated.
26064 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26065 special-casing to...
26066 * sysdeps/gnu/configure.in: ... this new file.
26067 * sysdeps/unix/sysv/linux/configure: Regenerated.
26068 * sysdeps/gnu/configure: New generated file.
26069
8e41b99f
TS
26070 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26071 for Linux: use nsec instead of usec, as well as:
26072 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26073 members of type struct timespec.
26074 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26075 New macros.
26076 (struct stat64): Likewise.
26077 (_STATBUF_ST_NSEC): New macro.
26078 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26079
10589b4a
TS
26080 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26081 __strtoul_internal rather than strtoul.
26082
63643c85
PT
260832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26084
26085 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26086 and reject them.
26087
3faebe6a
ST
260882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26089
26090 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26091 which preserves existing values.
26092 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26093
c6474b07
PT
260942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26095
26096 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26097 TIMEOUT values. Return EINVAL for NFDS values either negative or
26098 greater than FD_SETSIZE.
26099
1043890b
ST
261002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26101
26102 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26103 allocated, call __vm_protect to finish enabling the existing space, and
26104 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26105 allocate the remainder.
26106
37ed8b9b
PT
261072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26108
26109 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26110 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26111
db653660
ST
261122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26113
37ed8b9b
PT
26114 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26115 sysdeps/mach/hurd/readlink.c.
b29d4053 26116
db653660
ST
26117 * posix/tst-sysconf.c (posix_options): Only use
26118 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26119 _POSIX_SYNCHRONIZED_IO when they are defined
26120 * sysdeps/mach/hurd/bits/posix_opt.h:
26121 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26122 (_XOPEN_REALTIME): Undefine macro.
26123 (_XOPEN_REALTIME_THREADS): Undefine macro.
26124 (_XOPEN_SHM): Undefine macro.
26125 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26126 macro to -1.
26127 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26128 macro to -1.
26129 (_POSIX_ASYNC_IO): Undefine macro.
26130 (_POSIX_PRIORITIZED_IO): Undefine macro.
26131 (_POSIX_SPIN_LOCKS): Define macro to -1.
26132
ee16e894
ST
26133 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26134 SA_NODEFER, SA_RESETHAND.
26135 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26136 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26137 F_DUPFD_CLOEXEC.
26138
6103ae3b
TS
261392012-05-10 Thomas Schwinge <thomas@schwinge.name>
26140
26141 * elf/Makefile (pldd-modules): Define unconditionally.
26142
80b4e5f3
TS
261432012-05-10 Thomas Schwinge <thomas@schwinge.name>
26144
26145 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26146
edadcbd6
ST
261472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26148
26149 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26150 Return ENOENT when name is empty.
26151 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26152
80694780
TS
261532012-05-10 Thomas Schwinge <thomas@schwinge.name>
26154
1792c087
TS
26155 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26156
80694780
TS
26157 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26158
6b645f0d
ST
261592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26160
80694780
TS
26161 Fix mlock in all cases except non-readable pages.
26162 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26163 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26164
6b645f0d
ST
26165 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26166 (__mkdir): When path is `/', just fail with EEXIST.
26167 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26168
e468f8a3
TS
261692012-05-10 Thomas Schwinge <thomas@schwinge.name>
26170
26171 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26172 <sys/uio.h> (for writev).
26173 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26174 and <sys/param.h> (for MIN).
26175
a4186cff
PT
261762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26177
26178 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26179 REQUESTED_TIME. Properly set the remaining time and return EINTR
26180 if interrupted.
26181
510bbf14
TS
261822012-05-10 Thomas Schwinge <thomas@schwinge.name>
26183
26184 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26185 Depend on against $(link-rpcuserlibs).
26186
5d5722e8
ST
261872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26188
a4186cff
PT
26189 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26190 (__libc_stack_end): Do not use attribute_relro.
26191 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26192 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26193 to libthread-provided value.
a4186cff
PT
26194 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26195 attribute_relro.
5d5722e8 26196
37233df9
TS
261972012-05-10 Thomas Schwinge <thomas@schwinge.name>
26198
be971a2b
TS
26199 [BZ #3748]
26200 * bits/libc-lock.h (__libc_once_get): New macro.
26201 * sysdeps/mach/bits/libc-lock.h: Likewise.
26202 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26203 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26204 instead of using implementation details.
26205
37233df9
TS
26206 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26207 * libio/freopen.c: Likewise.
26208 * libio/freopen64.c: Likewise.
26209 * misc/syslog.c: Likewise.
26210 * nscd/connections.c: Likewise.
26211 * nscd/netgroupcache.c: Likewise.
26212 * sysdeps/posix/getcwd.c: Likewise.
26213
38de94a5
RM
262142012-05-10 Roland McGrath <roland@hack.frob.com>
26215
26216 * math/w_ilogbf.c: Add #include <limits.h>.
26217
67530489
ST
262182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26219
a4186cff 26220 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26221 path instead of returning without unlocking.
26222
67530489
ST
26223 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26224 immediate-write ioctls.
26225 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26226
5aa3a74a
TS
262272012-05-10 Thomas Schwinge <thomas@schwinge.name>
26228
18bad2ae
TS
26229 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26230 __builtin_frame_address instead of making assumptions about the
26231 location of the return address relative to DATA. Force early load of
26232 the return address.
26233 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26234 __builtin_frame_address.
26235
5aa3a74a
TS
26236 dup3 for GNU Hurd.
26237 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26238 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26239 implement dup3 and do some further code clean-ups.
26240 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26241 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26242
ecd0de9a
ST
262432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26244
cd9fa985
ST
26245 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26246
a4186cff
PT
26247 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26248 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26249 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26250 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26251 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26252 d->port.lock.
802ca5a5 26253
a4186cff
PT
26254 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26255 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26256 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26257
bcf55240
TS
262582012-05-10 Thomas Schwinge <thomas@schwinge.name>
26259
6960eb42
TS
26260 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26261 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26262 definitions.
26263
eb43375f
TS
26264 accept4 for GNU Hurd.
26265 * include/sys/socket.h (__libc_accept4): New prototype.
26266 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26267 to implement __libc_accept4.
26268 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26269 __libc_accept4.
26270 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26271
bcf55240
TS
26272 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26273 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26274 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26275 signal-defines.sym.
26276
6178c55b
ST
262772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26278
a4186cff 26279 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26280
6f080c2f
TS
262812012-05-10 Thomas Schwinge <thomas@schwinge.name>
26282
26283 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26284 assertion on O_CLOEXEC flag.
26285 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26286 * hurd/intern-fd.c: Likewise.
26287 * hurd/port2fd.c: Likewise.
26288
bcfe3a54
ST
262892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26290
26291 [BZ #3906]
26292 * bits/in.h (IPV6_PKTINFO): Define new macro.
26293 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26294
89c9aa49
AZ
262952012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26296
26297 [BZ #13954]
26298 [BZ #13955]
26299 [BZ #13956]
26300 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26301 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26302 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26303 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26305 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26306 * math/libm-test.inc (logb_test) : Additional logb tests.
26307
021db4be
AJ
263082012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26309 Andreas Jaeger <aj@suse.de>
26310
26311 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26312 * configure: Regenerated.
26313 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26314 * config.make.in (link-obsolete-rpc): New substituted variable.
26315 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26316 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26317 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26318 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26319 so that libc.a contains the symbols.
26320 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26321 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26322 * sunrpc/auth_none.c: Likewise.
26323 * sunrpc/auth_unix.c: Likewise.
26324 * sunrpc/authdes_prot.c: Likewise.
26325 * sunrpc/authuxprot.c: Likewise.
26326 * sunrpc/clnt_gen.c: Likewise.
26327 * sunrpc/clnt_perr.c: Likewise.
26328 * sunrpc/clnt_raw.c: Likewise.
26329 * sunrpc/clnt_simp.c: Likewise.
26330 * sunrpc/clnt_tcp.c: Likewise.
26331 * sunrpc/clnt_udp.c: Likewise.
26332 * sunrpc/clnt_unix.c: Likewise.
26333 * sunrpc/des_crypt.c: Likewise.
26334 * sunrpc/des_soft.c: Likewise.
26335 * sunrpc/get_myaddr.c: Likewise.
26336 * sunrpc/key_call.c: Likewise.
26337 * sunrpc/key_prot.c: Likewise.
26338 * sunrpc/netname.c: Likewise.
26339 * sunrpc/pm_getmaps.c: Likewise.
26340 * sunrpc/pm_getport.c: Likewise.
26341 * sunrpc/pmap_clnt.c: Likewise.
26342 * sunrpc/pmap_prot.c: Likewise.
26343 * sunrpc/pmap_prot2.c: Likewise.
26344 * sunrpc/pmap_rmt.c: Likewise.
26345 * sunrpc/publickey.c: Likewise.
26346 * sunrpc/rpc_cmsg.c: Likewise.
26347 * sunrpc/rpc_common.c: Likewise.
26348 * sunrpc/rpc_dtable.c: Likewise.
26349 * sunrpc/rpc_prot.c: Likewise.
26350 * sunrpc/rpc_thread.c: Likewise.
26351 * sunrpc/rtime.c: Likewise.
26352 * sunrpc/svc.c: Likewise.
26353 * sunrpc/svc_auth.c: Likewise.
26354 * sunrpc/svc_raw.c: Likewise.
26355 * sunrpc/svc_run.c: Likewise.
26356 * sunrpc/svc_tcp.c: Likewise.
26357 * sunrpc/svc_udp.c: Likewise.
26358 * sunrpc/svc_unix.c: Likewise.
26359 * sunrpc/svcauth_des.c: Likewise.
26360 * sunrpc/xcrypt.c: Likewise.
26361 * sunrpc/xdr.c: Likewise.
26362 * sunrpc/xdr_array.c: Likewise.
26363 * sunrpc/xdr_float.c: Likewise.
26364 * sunrpc/xdr_intXX_t.c: Likewise.
26365 * sunrpc/xdr_mem.c: Likewise.
26366 * sunrpc/xdr_rec.c: Likewise.
26367 * sunrpc/xdr_ref.c: Likewise.
26368 * sunrpc/xdr_sizeof.c: Likewise.
26369 * sunrpc/xdr_stdio.c: Likewise.
26370
b5c086a2
RM
263712012-05-10 Roland McGrath <roland@hack.frob.com>
26372
26373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
26374 change. Update copyright years.
26375
6d74dd09
JM
263762012-05-10 Joseph Myers <joseph@codesourcery.com>
26377
26378 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
26379
28e72501
MK
263802012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
26381 Joseph Myers <joseph@codesourcery.com>
26382 Paul Pluzhnikov <ppluzhnikov@google.com>
26383
26384 [BZ #14012]
26385 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
26386 requiring rpcgen.
26387 [cross-compiling] (extra-libs): Likewise.
26388 [cross-compiling] (extra-libs-others): Likewise.
26389 [cross-compiling] (librpcsvc-routines): Likewise.
26390 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
26391 [cross-compiling] (omit-deps): Likewise.
26392 (sunrpc-CPPFLAGS): New variable.
26393 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
26394 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
26395 (cross-rpcgen-objs): New variable.
26396 (extra-objs): Append $(cross-rpcgen-objs).
26397 ($(cross-rpcgen-objs)): New rule.
26398 ($(objpfx)cross-rpcgen): Likewise.
26399 (rpcgen-cmd): Define to use $(built-program-file). Expand
26400 comment.
26401 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
26402 ($(objpfx)x%.stmp): Likewise.
26403 * sunrpc/proto.h [IS_IN_build] (_): Define.
26404 [IS_IN_build] (_libc_intl_domainname): Likewise.
26405
c8c59454
L
264062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26407
26408 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
26409 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
26410 and R_X86_64_TPOFF64.
26411
6f27cd16
JM
264122012-05-10 Joseph Myers <joseph@codesourcery.com>
26413
26414 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
26415 sysdeps/unix/sysv/syscalls.list.
26416 (stime): Likewise.
26417 (utime): Likewise.
26418 * sysdeps/unix/sysv/syscalls.list: Remove file.
26419
02467e1c
PE
264202012-05-10 Paul Eggert <eggert@cs.ucla.edu>
26421
26422 [BZ #3440]
26423 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
26424 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
26425 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
26426 (__LC_IDENTIFICATION): Make these macros useful in #if
26427 expressions, as required by C99.
26428
da392631
AS
264292012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26430
26431 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
26432 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
26433 after this.
26434
8115f29b
L
264352012-05-09 H.J. Lu <hongjiu.lu@intel.com>
26436
26437 * stdlib/longlong.h: Updated from GCC.
26438
bdd74070
AJ
264392012-05-09 Andreas Jaeger <aj@suse.de>
26440
edfe0dbe
AJ
26441 * nscd/nscd.c (run_modes): Make named enum, reorder so that
26442 default is first entry.
26443 (run_mode): Set type.
26444 (main): Remove informal message about syslog.
26445 (options): Fix typo.
26446
bcfe3a54
ST
26447 [BZ #14053]
26448 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 26449 to asm.
bcfe3a54
ST
26450 (lrint): Likewise.
26451 (llrintf): Likewise.
26452 (llrint): Likewise.
26453 (rint): Likewise.
26454 (rintf): Likewise.
26455 (nearbyint): Likewise.
26456 (nearbyintf): Likewise.
bdd74070 26457
91d8d69e
AJ
264582012-05-09 Andreas Jaeger <aj@suse.de>
26459 Pedro Alves <palves@redhat.com>
26460
26461 * nscd/nscd.c (run_mode): Use enum.
26462 (main): Cleanup coding style issue.
26463
bb90b80b
AJ
264642012-05-09 Alexandre Oliva <aoliva@redhat.com>
26465 Andreas Jaeger <aj@suse.de>
26466
bcfe3a54
ST
26467 * nscd/nscd.c (go_background): Replaced with...
26468 (run_mode): ... this.
bb90b80b 26469 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
26470 (options): Add -F --foreground.
26471 (main): Implement it.
26472 (parse_opt): Parse it.
bb90b80b 26473
1a4b75a1
AJ
264742012-05-09 Andreas Jaeger <aj@suse.de>
26475
26476 [BZ #14083]
26477 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
26478 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
26479 -Wconversion warning.
26480 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
26481 Likewise.
26482
b1cc2472
JM
264832012-05-09 Joseph Myers <joseph@codesourcery.com>
26484
26485 * conform/data/locale.h-data (NULL): Use macro-constant. Require
26486 == 0.
26487 (LC_ALL): Use macro-int-constant.
26488 (LC_COLLATE): Likewise.
26489 (LC_CTYPE): Likewise.
26490 (LC_MESSAGES): Likewise.
26491 (LC_MONETARY): Likewise.
26492 (LC_NUMERIC): Likewise.
26493 (LC_TIME): Likewise.
26494 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
26495 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26497 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26498 Specify type.
26499 [C99-based standards] (float_t): Expect type.
26500 [C99-based standards] (double_t): Expect type.
26501 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
26502 type.
26503 [C99-based standards] (HUGE_VALL): Likewise.
26504 [C99-based standards] (INFINITY): Likewise.
26505 [C99-based standards] (NAN): Likewise.
26506 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
26507 [C99-based standards] (FP_NAN): Likewise.
26508 [C99-based standards] (FP_NORMAL): Likewise.
26509 [C99-based standards] (FP_SUBNORMAL): Likewise.
26510 [C99-based standards] (FP_ZERO): Likewise.
26511 [C99-based standards] (FP_FAST_FMA): Use
26512 optional-macro-int-constant. Specify type. Require == 1.
26513 [C99-based standards] (FP_FAST_FMAF): Likewise.
26514 [C99-based standards] (FP_FAST_FMAL): Likewise.
26515 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
26516 [C99-based standards] (FP_ILOGBNAN): Likewise.
26517 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
26518 Specify type.
26519 [C99-based standards] (MATH_ERREXCEPT): Likewise.
26520 [C99-based standards] (math_errhandling): Specify type.
26521 [ISO99 || ISO11] (signgam): Do not allow.
26522 [non-C99-based standards] (copysignf): Do not allow.
26523 [non-C99-based standards] (exp2f): Likewise.
26524 [non-C99-based standards] (log2f): Likewise.
26525 [non-C99-based standards] (modff): Allow.
26526 [non-C99-based standards] (erff): Do not allow.
26527 [non-C99-based standards] (erfcf): Likewise.
26528 [non-C99-based standards] (gammaf): Likewise.
26529 [non-C99-based standards] (hypotf): Likewise.
26530 [non-C99-based standards] (j0f): Likewise.
26531 [non-C99-based standards] (j1f): Likewise.
26532 [non-C99-based standards] (jnf): Likewise.
26533 [non-C99-based standards] (lgammaf): Likewise.
26534 [non-C99-based standards] (tgammaf): Likewise.
26535 [non-C99-based standards] (y0f): Likewise.
26536 [non-C99-based standards] (y1f): Likewise.
26537 [non-C99-based standards] (ynf): Likewise.
26538 [non-C99-based standards] (isnanf): Likewise.
26539 [non-C99-based standards] (acoshf): Likewise.
26540 [non-C99-based standards] (asinhf): Likewise.
26541 [non-C99-based standards] (atanhf): Likewise.
26542 [non-C99-based standards] (cbrtf): Likewise.
26543 [non-C99-based standards] (expm1f): Likewise.
26544 [non-C99-based standards] (ilogbf): Likewise.
26545 [non-C99-based standards] (log1pf): Likewise.
26546 [non-C99-based standards] (logbf): Likewise.
26547 [non-C99-based standards] (nextafterf): Likewise.
26548 [non-C99-based standards] (remainderf): Likewise.
26549 [non-C99-based standards] (rintf): Likewise.
26550 [non-C99-based standards] (scalbf): Likewise.
26551 [non-C99-based standards] (copysignl): Likewise.
26552 [non-C99-based standards] (exp2l): Likewise.
26553 [non-C99-based standards] (log2l): Likewise.
26554 [non-C99-based standards] (modfl): Allow.
26555 [non-C99-based standards] (erfl): Do not allow.
26556 [non-C99-based standards] (erfcl): Likewise.
26557 [non-C99-based standards] (gammal): Likewise.
26558 [non-C99-based standards] (hypotl): Likewise.
26559 [non-C99-based standards] (j0l): Likewise.
26560 [non-C99-based standards] (j1l): Likewise.
26561 [non-C99-based standards] (jnl): Likewise.
26562 [non-C99-based standards] (lgammal): Likewise.
26563 [non-C99-based standards] (tgammal): Likewise.
26564 [non-C99-based standards] (y0l): Likewise.
26565 [non-C99-based standards] (y1l): Likewise.
26566 [non-C99-based standards] (ynl): Likewise.
26567 [non-C99-based standards] (isnanl): Likewise.
26568 [non-C99-based standards] (acoshl): Likewise.
26569 [non-C99-based standards] (asinhl): Likewise.
26570 [non-C99-based standards] (atanhl): Likewise.
26571 [non-C99-based standards] (cbrtl): Likewise.
26572 [non-C99-based standards] (expm1l): Likewise.
26573 [non-C99-based standards] (ilogbl): Likewise.
26574 [non-C99-based standards] (log1pl): Likewise.
26575 [non-C99-based standards] (logbl): Likewise.
26576 [non-C99-based standards] (nextafterl): Likewise.
26577 [non-C99-based standards] (remainderl): Likewise.
26578 [non-C99-based standards] (rintl): Likewise.
26579 [non-C99-based standards] (scalbl): Likewise.
26580 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26581 [non-C99-based standards] (FP_*): Do not allow.
26582 [C99-based standards] (FP_*): Change to
26583 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
26584 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26585 allow.
26586 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
26587 (SIG_ERR): Likewise.
26588 [X/Open-based standards] (SIG_HOLD): Likewise.
26589 (SIG_IGN): Likewise.
26590 (SIGABRT): Use macro-int-constant. Specify type. Require
26591 positive value.
26592 (SIGFPE): Likewise.
26593 (SIGILL): Likewise.
26594 (SIGINT): Likewise.
26595 (SIGSEGV): Likewise.
26596 (SIGTER): Likewise.
26597 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
26598 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
26599 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
26600 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
26601 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
26602 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
26603 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
26604 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
26605 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
26606 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
26607 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
26608 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
26609 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
26610 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
26611 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
26612 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
26613 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
26614 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
26615 [X/Open-based standards] (SIGTRAP): Likewise.
26616 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
26617 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
26618 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
26619 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
26620 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26621 allow.
26622
b9f1922d
IW
266232012-05-08 Ian Wienand <ianw@vmware.com>
26624
26625 [BZ #14080]
26626 * time/tzset.c (__tzset_parse_tz): Update default rules for
26627 daylight time changes in the Energy Policy Act of 2005.
26628
1db86e88
AJ
266292012-05-09 Andreas Jaeger <aj@suse.de>
26630
26631 [BZ #13983]
26632 * elf/ldconfig.c (parse_conf): Change string to make clear that
26633 ldconfig only issued a warning if ld.so.conf does not exist.
26634
dee4a4e3
DM
266352012-05-08 David S. Miller <davem@davemloft.net>
26636
ee0db190
DM
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
26638 movxtod instead of popping the value on the stack.
26639
dee4a4e3
DM
26640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26641
6a43ec98
CD
266422012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
26643
26644 * config.h.in: Add HAVE_ARM_PCS_VFP.
26645
05c2c961
RMG
266462012-05-08 Roland Mc Grath <roland@hack.frob.com>
26647
bcfe3a54
ST
26648 [BZ #13979]
26649 * include/features.h: Warn if user requests __FORTIFY_SOURCE
26650 checking but the checks are disabled for any reason.
05c2c961 26651
4b30f61a
L
266522012-05-08 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
26655 and ELF64_R_TYPE with ELFW(R_TYPE).
26656
eee2bc67
JM
266572012-05-08 Joseph Myers <joseph@codesourcery.com>
26658
7ea5391a
JM
26659 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
26660 (ulimit): Likewise.
26661
eee2bc67
JM
26662 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
26663 (settimeofday): Likewise.
26664
abb66a67
MF
266652012-05-08 Mike Frysinger <vapier@gentoo.org>
26666
26667 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
26668 a struct th_u2 inside the union, and move tu_block/tu_code into
26669 a new th_u3 union of tu_block/tu_code inside of that. Move
26670 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26671 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26672 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26673 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26674 (th_stuff): Change to th_u1.tu_stuff.
26675 (th_data): Define.
26676 (th_msg): Change to th_u1.th_u2.tu_data.
26677
7f18b530
DM
266782012-05-07 David S. Miller <davem@davemloft.net>
26679
05760585
DM
26680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26681
7f18b530
DM
26682 [BZ #14074]
26683 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26684 (SETUP_PIC_REG): Use it.
26685 (SETUP_PIC_REG_LEAF): Use it.
26686
495fd99f
JM
266872012-05-07 Joseph Myers <joseph@codesourcery.com>
26688
26689 [BZ #13885]
26690 [BZ #13923]
26691 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26692 USE_AS_EXPM1L.
26693 (EXPL_FINITE): Likewise.
26694 (FLDLOG): Likewise.
26695 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26696 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26697 e_expl.S.
26698 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26699 USE_AS_EXPM1L.
26700 (EXPL_FINITE): Likewise.
26701 (FLDLOG): Likewise.
26702 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26703 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26704 e_expl.S.
26705 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26706 test of -max_value argument for long double.
26707 * sysdeps/i386/fpu/libm-test-ulps: Update.
26708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26709
6693d694
DM
267102012-05-06 David S. Miller <davem@davemloft.net>
26711
26712 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26713 quad soft-float symbols whose references which are compiler
26714 generated.
26715 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26716
6c23e11c
JM
267172012-05-06 Joseph Myers <joseph@codesourcery.com>
26718
d8b82cad
JM
26719 [BZ #13884]
26720 [BZ #13914]
26721 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26722 USE_AS_EXP10L.
26723 (EXPL_FINITE): Likewise.
26724 (FLDLOG): Likewise.
26725 (c0): Likewise.
26726 (c1): Likewise.
26727 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26728 Adjust comments for base varying.
26729 (__expl_finite): Change alias to EXPL_FINITE.
26730 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26731 e_expl.S.
26732 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26733 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26735 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26736 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26737 USE_AS_EXP10L.
26738 (EXPL_FINITE): Likewise.
26739 (FLDLOG): Likewise.
26740 (c0): Likewise.
26741 (c1): Likewise.
26742 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26743 Adjust comments for base varying.
26744 (__expl_finite): Change alias to EXPL_FINITE.
26745 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26746 tests for bugs.
26747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26748
6c23e11c
JM
26749 [BZ #14064]
26750 * math/libm-test.inc (check_float_internal): Correct ulp
26751 calculation for subnormal expected results.
26752
29ba805c
AJ
267532012-05-06 Andreas Jaeger <aj@suse.de>
26754
26755 * Makeconfig (+math-flags): New, set to -frounding-math.
26756 (+cflags): Add +math-flags so that all of glibc gets compiled with
26757 it.
26758
26759 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26760
7b17aeda
JM
267612012-05-05 Joseph Myers <joseph@codesourcery.com>
26762
5779f134
JM
26763 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26764 Disable one test.
26765
41498f4d
JM
26766 [BZ #13787]
26767 [BZ #13922]
26768 [BZ #14036]
26769 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26770 (__ieee754_expl): Allow for and saturate large arguments.
26771 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26772 (u_threshold): Likewise.
26773 (__exp): Call __ieee754_exp before checking for overflow and
26774 underflow.
26775 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26776 (u_threshold): Likewise.
26777 (__expf): Call __ieee754_expf before checking for overflow and
26778 underflow.
26779 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26780 (u_threshold): Likewise.
26781 (__expl): Call __ieee754_expl before checking for overflow and
26782 underflow.
26783 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26784 (__ieee754_expl): Allow for and saturate large arguments.
26785 * math/libm-test.inc (exp_test): Add another test. Do not allow
26786 missing overflow exception on overflow.
26787 (expm1_test): Do not allow missing overflow exception on overflow.
26788
6698b8bf
JM
26789 * sysdeps/i386/fpu/e_expl.c: Move to ...
26790 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26791 rather than using inline asm.
26792 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26793 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26794 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26795
7b17aeda
JM
26796 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26797 (nice): Likewise.
26798 (poll): Likewise.
26799 (signal): Likewise.
26800 (time): Likewise.
26801 (times): Likewise.
26802
f7c85819
JM
268032012-05-04 Joseph Myers <joseph@codesourcery.com>
26804
26805 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26806 sysdeps/unix/common/syscalls.list.
26807 (fchmod): Likewise.
26808 (fchown): Likewise.
26809 (ftruncate): Likewise.
26810 (getrusage): Likewise.
26811 (gettimeofday): Likewise.
26812 (setpgid): Likewise.
26813 (setregid): Likewise.
26814 (setreuid): Likewise.
26815 (sigaction): Likewise.
26816 (truncate): Likewise.
26817 (vhangup): Likewise.
26818 * sysdeps/unix/common/syscalls.list: Remove file.
26819 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26820 * sysdeps/unix/sysv/linux/Implies: Likewise.
26821
336270d0
L
268222012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26823
26824 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26826 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26827 Moved to ...
26828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26829 Here.
26830 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26831 to ...
26832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26833 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26834 to ...
26835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26836 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26837 to ...
26838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26839 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26840 to ...
26841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26842 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26843 to ...
26844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26845 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26846 to ...
26847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26848 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26849 to ...
26850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26851 Here.
26852 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26853 to ...
26854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26855 Here.
26856 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26857 to ...
26858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26859 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26860 Moved to ...
26861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26862 Here.
26863 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26864 to ...
26865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26866
d128e450
JM
268672012-05-04 Joseph Myers <joseph@codesourcery.com>
26868
fa8ee516
JM
26869 * sysdeps/unix/common/bits/dirent.h: Remove file.
26870 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26871
d128e450
JM
26872 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26873 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26874 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26875 * sysdeps/unix/bsd/isatty.c: Likewise.
26876 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26877 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26878 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26879
ff8faaf0 268802012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 26881
62881be4 26882 [BZ #13563]
31dc8730
AZ
26883 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26884 long double comparison inaccuracies.
26885 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26887
6fef930c
AS
268882012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26889
26890 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26892
8f203e6c
JM
268932012-05-04 Joseph Myers <joseph@codesourcery.com>
26894
26895 [BZ #14049]
26896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26897 nonzero digits before rounding a hex value.
26898 * stdlib/tst-strtod.c (tests): Add another test.
26899
5197d9c2
AK
269002012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26901
26902 * sysdeps/s390/fpu/libm-test-ulps: Update.
26903
f0c1dedf
AJ
269042012-05-03 Andreas Jaeger <aj@suse.de>
26905
26906 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26907 does not get optimized out.
26908 (malloc_opt_barrier): New.
26909
a65ef2ae 269102012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 26911 Roland McGrath <roland@hack.frob.com>
a65ef2ae 26912
2b942cb7 26913 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 26914 intermediate file deletion.
2b942cb7 26915 (generated): Add .symlist files.
a65ef2ae 26916
54b71e02
JM
269172012-05-03 Joseph Myers <joseph@codesourcery.com>
26918
26919 [BZ #13775]
26920 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26921 Redirect under this condition.
26922 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26923 [__USE_GNU] (__dprintf_chk): Not under this condition.
26924 [__USE_GNU] (__vdprintf_chk): Likewise.
26925 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26926 under this condition.
26927 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26928 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26929 [__USE_XOPEN2K8] (vdprintf): Likewise.
26930 [__USE_GNU] (__dprintf_chk): Not under this condition.
26931 [__USE_GNU] (__vdprintf_chk): Likewise.
26932 [__USE_GNU] (dprintf): Likewise.
26933 [__USE_GNU] (vdprintf): Likewise.
26934
d3dfcc41
RM
269352012-05-03 Roland McGrath <roland@hack.frob.com>
26936
26937 * elf/Makefile (common-generated): Set this instead of generated for
26938 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26939 $(all-built-dso)-derived lists.
26940
7ac30cc5
AJ
269412012-05-03 Andreas Jaeger <aj@suse.de>
26942
0c51e550
AJ
26943 * sysdeps/i386/fpu/libm-test-ulps: Update.
26944
7ac30cc5
AJ
26945 * FAQ: Removed.
26946 * FAQ.in: Likewise.
26947 * scripts/gen-FAQ.pl: Likewise.
26948 * manual/install.texi (Installation): Point to online location of
26949 FAQ.
26950 * Makefile (files-for-dist): Remove FAQ.
26951 (FAQ): Remove.
26952
d4c2917f
AM
269532012-05-02 Allan McRae <allan@archlinux.org>
26954
26955 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26956 (LDFLAGS-reldepmod5.so): Likewise.
26957 (LDFLAGS-reldep6mod1.so): Likewise.
26958 (LDFLAGS-reldep6mod4.so): Likewise.
26959 (LDFLAGS-reldep8mod3.so): Likewise.
26960 (LDFLAGS-unload4mod1.so): Likewise.
26961 (LDFLAGS-unload4mod2.so): Likewise.
26962 (LDFLAGS-tst-initorder): Likewise.
26963 (LDFLAGS-tst-initordera2.so): Likewise.
26964 (LDFLAGS-tst-initordera3.so): Likewise.
26965 (LDFLAGS-tst-initordera4.so): Likewise.
26966 (LDFLAGS-tst-initorderb2.so): Likewise.
26967 (LDFLAGS-noload): Likewise.
26968 (LDFLAGS-next): Likewise.
26969 (LDFLAGS-order2mod1.so): Likewise.
26970 (LDFLAGS-order2mod2.so): Likewise.
26971 (LDFLAGS-tst-initorder2): Likewise.
26972 (LDFLAGS-tst-initorder2a.so): Likewise.
26973 (LDFLAGS-tst-initorder2b.so): Likewise.
26974 (LDFLAGS-tst-initorder2c.so): Likewise.
26975 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26976
d77f993f
DM
269772012-05-02 David S. Miller <davem@davemloft.net>
26978
26979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26980
171a70b4
PP
269812012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26982
26983 [BZ #14055]
26984 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26985
0be196ad
AJ
269862012-05-02 Andreas Jaeger <aj@suse.de>
26987
26988 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26989 since we manipulate rounding mode.
26990 (CPPFLAGS-test-idouble.c): Likewise.
26991 (CPPFLAGS-test-ifloat.c): Likewise.
26992 (CFLAGS-test-ldouble.c): Likewise.
26993 (CFLAGS-test-double.c): Likewise.
26994 (CFLAGS-test-float.c): Likewise.
26995 (CFLAGS-test-misc.c): Likewise.
26996 (CFLAGS-test-test-fenv.c): Likewise.
26997
4f9d04aa
AZ
269982012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26999
2b942cb7
RM
27000 [BZ #2550]
27001 [BZ #2570]
27002 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27003 comparisons to determine direction to adjust input.
4f9d04aa 27004
82a79e7d
RM
270052012-05-01 Roland McGrath <roland@hack.frob.com>
27006
f5a01ca9
RM
27007 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27008 output to the target.
27009
90fe4186
RM
27010 * scripts/localplt.awk: New file.
27011 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27012 (check-localplt-CFLAGS): Variable removed.
27013 ($(all-built-dso:=.jmprel)): New static pattern rule.
27014 (generated): Add those targets.
27015 (localplt-built-dso): New variable.
27016 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27017
27018 * elf/check-localplt.c: File removed.
27019
82397ed6
RM
27020 * scripts/check-execstack.awk: New file.
27021 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27022 (check-execstack-CFLAGS): Variable removed.
27023 ($(objpfx)check-execstack.h): Target removed.
27024 ($(objpfx)execstack-default): New target.
27025 (generated): Add that instead of check-execstack.h.
27026 ($(all-built-dso:=.phdr)): New static pattern rule.
27027 (generated): Add those targets.
27028 * elf/check-execstack.c: File removed.
27029
82a79e7d
RM
27030 * scripts/check-textrel.awk: New file.
27031 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27032 (check-textrel-CFLAGS): Variable removed.
27033 (all-built-dso): Use := to define.o
27034 ($(all-built-dso:=.dyn)): New static pattern rule.
27035 (generated): Add those targets.
27036 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27037 * config.make.in (READELF): New substituted variable.
27038 * elf/check-textrel.c: File removed.
27039
62fde54f 270402012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27041
615605c9
JM
27042 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27043 allow.
27044 * conform/data/ctype.h-data [C99-based standards] (isblank):
27045 Expect function.
27046 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27047 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27048 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27049 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27050 Specify type. Require positive value.
27051 (EILSEQ): Likewise.
27052 (ERANGE): Likewise.
27053 [ISO || POSIX] (EILSEQ): Do not expect.
27054 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27055 Specify type. Require positive value.
27056 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27057 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27058 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27059 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27060 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27061 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27062 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27063 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27064 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27065 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27066 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27067 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27068 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27069 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27070 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27071 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27072 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27073 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27074 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27075 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27076 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27077 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27078 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27079 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27080 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27081 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27082 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27083 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27084 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27085 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27086 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27087 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27088 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27089 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27090 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27091 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27092 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27093 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27094 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27095 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27096 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27097 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27098 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27099 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27100 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27101 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27102 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27103 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27104 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27105 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27106 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27107 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27108 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27109 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27110 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27111 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27112 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27113 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27114 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27115 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27116 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27117 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27118 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27119 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27120 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27121 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27122 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27123 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27124 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27125 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27126 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27127 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27128 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27129 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27130 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27131 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27132 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27133 Require >= 2.
27134 (FLT_ROUNDS): Expect as macro, not constant.
27135 (FLT_MANT_DIG): Use macro-int-constant.
27136 (DBL_MANT_DIG): Likewise.
27137 (LDBL_MANT_DIG): Likewise.
27138 (FLT_DIG): Likewise.
27139 (DBL_DIG): Likewise.
27140 (LDBL_DIG): Likewise.
27141 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27142 (DBL_MIN_EXP): Likewise.
27143 (LDBL_MIN_EXP): Likewise.
27144 (FLT_MAX_EXP): Use macro-int-constant.
27145 (DBL_MAX_EXP): Likewise.
27146 (LDBL_MAX_EXP): Likewise.
27147 (FLT_MAX_10_EXP): Likewise.
27148 (DBL_MAX_10_EXP): Likewise.
27149 (LDBL_MAX_10_EXP): Likewise.
27150 (FLT_MAX): Use macro-constant.
27151 (DBL_MAX): Likewise.
27152 (LDBL_MAX): Likewise.
27153 (FLT_EPSILON): Use macro-constant. Give upper bound.
27154 (DBL_EPSILON): Likewise.
27155 (LDBL_EPSILON): Likewise.
27156 (FLT_MIN): Likewise.
27157 (DBL_MIN): Likewise.
27158 (LDBL_MIN): Likewise.
27159 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27160 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27161 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27162 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27163 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27164 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27165 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27166 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27167 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27168 [ISO11] (FLT_TRUE_MIN): Likewise.
27169 [ISO11] (LDBL_TRUE_MIN): Likewise.
27170 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27171 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27172 (SCHAR_MIN): Use macro-int-constant. Specify type.
27173 (SCHAR_MAX): Likewise.
27174 (UCHAR_MAX): Likewise.
27175 (CHAR_MIN): Likewise.
27176 (CHAR_MAX): Likewise.
27177 (MB_LEN_MAX): Use macro-int-constant.
27178 (SHRT_MIN): Use macro-int-constant. Specify type.
27179 (SHRT_MAX): Likewise.
27180 (USHRT_MAX): Likewise.
27181 (INT_MAX): Likewise.
27182 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27183 bound negative.
27184 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27185 bound with "U".
27186 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27187 bound with "L".
27188 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27189 bound negative. Suffix upper bound with "L".
27190 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27191 bound with "UL".
27192 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27193 Specify type.
27194 [C99-based standards] (LLONG_MAX): Likewise.
27195 [C99-based standards] (ULLONG_MAX): Likewise.
27196 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27197 == 0.
27198 [ISO11] (max_align_t): Require type.
27199 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27200
c9140a62
JM
27201 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27202 from $CFLAGS, without defining away __attribute__ calls.
27203 (checknamespace): Use $CFLAGS_namespace.
27204
9af0bf29
JM
27205 * conform/conformtest.pl (@keywords): Only include C99 keywords
27206 for standards based on C99 or C11.
27207
343222a2
JM
27208 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27209 Disable tests.
27210 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27211 UNIX98]: Likewise.
27212
661f8cf0
JM
27213 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27214 usability of symbols in #if.
27215
ee74b9cb
JM
27216 * conform/conformtest.pl: If macro or constant types start
27217 "promoted:", expect the symbol to be of the following type
27218 promoted by the integer promotions.
62fde54f 27219
aafc49b3
JM
27220 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27221 in one place. Also handle "macro-constant".
27222
fefdf574
JM
27223 * conform/conformtest.pl: Only accept expected macro values with
27224 "==". Parse all "macro" lines in one place.
27225 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27226
f2d922fe
JM
27227 * conform/conformtest.pl: Handle braced types on "constant" lines
27228 instead of handling "typed-constant".
27229 * conform/data/signal.h-data: Use "constant" instead of
27230 "typed-constant".
27231
d22956c9
JM
27232 * conform/conformtest.pl: Handle "optional-" at start of lines in
27233 one place rather than duplicating several cases. Handle each
27234 format of "macro" line with initial "optional-".
27235
028e2e38
JM
27236 * conform/conformtest.pl: Only accept expected constant or
27237 optional-constant values with "==". Parse all "constant" lines in
27238 one place. Parse all "optional-constant" lines in one place.
27239 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27240 * conform/data/fmtmsg.h-data: Likewise.
27241 * conform/data/netinet/in.h-data: Likewise.
27242 * conform/data/tar.h-data: Likewise.
27243 * conform/data/limits.h-data: Use "==" form on "constant" and
27244 "optional-constant" lines.
27245
1b8f2850
JM
27246 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27247 Use -std=c99 for XOPEN2K.
27248 (@knownproblems): Remove.
27249 (newtoken): Don't check %isknown.
27250
a05a144b
JM
27251 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27252 Do not expect macro.
27253 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27254 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27255 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27256 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27257 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27258 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27259 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27260 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27261 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27262 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27263 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27264 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27265 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27266 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27267 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27268 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27269 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27270 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27271 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27272 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27273 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27274 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27275 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27276 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27277 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27278 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27279 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27280 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27281 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27282 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27283 [XPG3] (acosh): Likewise.
27284 [XPG3] (asinh): Likewise.
27285 [XPG3] (atanh): Likewise.
27286 [XPG3] (cbrt): Likewise.
27287 [XPG3] (expm1): Likewise.
27288 [XPG3] (ilogb): Likewise.
27289 [XPG3] (log1p): Likewise.
27290 [XPG3] (logb): Likewise.
27291 [XPG3] (nextafter): Likewise.
27292 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27293 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27294 [XPG3] (remainder): Likewise.
27295 [XPG3] (rint): Likewise.
27296 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27297 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27298 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27299 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27300 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27301 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27302 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27303 [UNIX98 || XOPEN2K] (scalb): Expect.
27304 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27305 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27306 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27307 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27308 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27309 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27310 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27311 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27312 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27313 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27314 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27315 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27316 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27317 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27318 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27319 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27320 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27321 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27322 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27323 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27324 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27325 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27326 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27327 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27328 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27329 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27330 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27331 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27332 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27333 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27334 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27335 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27336 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27337 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27338 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27339 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27340 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27341 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27342 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27343 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27344 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27345 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27346 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27347 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27348 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27349 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27350 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27351 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
27352 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
27353 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
27354 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
27355 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
27356 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
27357 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
27358 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
27359 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
27360 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
27361 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
27362 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
27363 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
27364 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
27365 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
27366 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
27367 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
27368 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
27369 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
27370 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
27371 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
27372 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
27373 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
27374 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
27375 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
27376 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
27377 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
27378 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
27379 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
27380 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
27381 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
27382 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
27383 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
27384 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
27385 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
27386 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
27387 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
27388 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
27389 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
27390 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
27391 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
27392 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
27393 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
27394 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
27395 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
27396 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
27397 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
27398 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
27399 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
27400 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
27401 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
27402 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
27403 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
27404 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
27405 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
27406 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
27407 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
27408 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
27409 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
27410 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
27411 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
27412 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
27413 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
27414 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
27415 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
27416 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
27417 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
27418 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
27419 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
27420 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
27421 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
27422 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
27423 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
27424 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
27425 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
27426 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
27427 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
27428 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
27429 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
27430 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
27431 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
27432 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
27433 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
27434 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
27435 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
27436 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
27437 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
27438 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
27439 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
27440 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
27441
73c5ebe3
JM
27442 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
27443 _XOPEN_SOURCE_EXTENDED for XPG4.
27444
39c33b6c
JM
27445 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
27446
62fde54f
JM
27447 * Makeconfig (localtime): Remove variable.
27448 (inst_localtime-file): Likewise.
27449
0741d64c
AS
274502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27451
27452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27453 Update.
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27455 Update.
27456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27457 Update.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27459 Update.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
27461 Update.
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
27463 Update.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27465 Update.
27466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
27467 Update.
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27469 Update.
27470
7cb029ee
JM
274712012-05-01 Joseph Myers <joseph@codesourcery.com>
27472
27473 [BZ #2550]
27474 [BZ #2570]
27475 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
27476 comparisons to determine direction to adjust input.
27477 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27478 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
27479 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27480 Likewise.
27481 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27482 Likewise.
27483 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27484 Likewise.
27485 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27486 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27487 Likewise.
27488 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27489 Likewise.
27490 * math/libm-test.inc (nexttoward_test): Add more tests.
27491
412bd966
AS
274922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
27493
27494 [BZ #14040]
27495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
27496 in version GLIBC_2.1, not GLIBC_2.0.
27497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
27498 Likewise.
27499
9568c0c2
JM
275002012-04-30 Joseph Myers <joseph@codesourcery.com>
27501
adfbc8ac
JM
27502 [BZ #13942]
27503 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
27504 (1 - x) * (1 + x).
27505 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27506 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
27507 * math/libm-test.inc (acos_test): Add more tests.
27508 (asin_test): Likewise.
27509 * sysdeps/i386/fpu/libm-test-ulps: Update.
27510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27511
5ba3cc69
JM
27512 [BZ #14034]
27513 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
27514 of square root.
27515 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
27516 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
27517 * math/libm-test.inc (acos_test_tonearest): New function.
27518 (acos_test_towardzero): Likewise.
27519 (acos_test_downward): Likewise.
27520 (acos_test_upward): Likewise.
27521 (asin_test_tonearest): Likewise.
27522 (asin_test_towardzero): Likewise.
27523 (asin_test_downward): Likewise.
27524 (asin_test_upward): Likewise.
27525 (main): Call the new functions.
27526 * sysdeps/i386/fpu/libm-test-ulps: Update.
27527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27528
9568c0c2
JM
27529 [BZ #13884]
27530 [BZ #13924]
27531 * math/e_exp10.c: Include <float.h>.
27532 (__ieee754_exp10): Handle underflow here rather than multiplying
27533 large negative argument by M_LN10.
27534 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
27535 of __ieee754_expf.
27536 * math/e_exp10l.c: Include <float.h>.
27537 (__ieee754_exp10l): Handle underflow here rather than multiplying
27538 large negative argument by M_LN10l.
27539 * math/libm-test.inc (exp10_test): Add another test. Do not allow
27540 spurious overflow exception on underflow.
27541
5ac3ea17
MP
275422012-04-29 Marek Polacek <polacek@redhat.com>
27543
27544 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
27545 (__fortify_function): New macro.
27546 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
27547 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
27548 __extern_always_inline.
27549 * libio/bits/stdio2.h: Likewise.
27550 * libio/bits/stdio.h: Likewise.
27551 * string/string.h: Likewise.
27552 * string/bits/string3.h: Likewise.
27553 * include/stdio.h: Likewise.
27554 * stdlib/bits/stdlib.h: Likewise.
27555 * stdlib/stdlib.h: Likewise.
27556 * rt/bits/mqueue2.h: Likewise.
27557 * rt/mqueue.h: Likewise.
27558 * posix/bits/unistd.h: Likewise.
27559 * posix/unistd.h: Likewise.
27560 * io/bits/poll2.h: Likewise.
27561 * io/bits/fcntl2.h: Likewise.
27562 * io/fcntl.h: Likewise.
27563 * io/sys/poll.h: Likewise.
27564 * misc/bits/syslog.h: Likewise.
27565 * misc/bits/syslog-ldbl.h: Likewise.
27566 * misc/sys/syslog.h: Likewise.
27567 * socket/bits/socket2.h: Likewise.
27568 * socket/sys/socket.h: Likewise.
27569 * debug/tst-chk1.c: Likewise.
27570 * wcsmbs/bits/wchar2.h: Likewise.
27571 * wcsmbs/bits/wchar-ldbl.h: Likewise.
27572 * wcsmbs/wchar.h: Likewise.
27573
ecf0ebfb
AJ
275742012-04-29 Andreas Jaeger <aj@suse.de>
27575
27576 * Makerules (tests): Remove enable-check-abi protection.
27577 (check-abi-warn): Remove.
27578 (check-abi-%): Remove check-abi-warn usage.
27579
27580 * configure.in: Remove check-abi configure option.
27581 * configure: Regenerated.
27582 * config.make.in (enable-check-abi): Remove.
27583
6d5c57fa
AS
275842012-04-28 Andreas Schwab <schwab@linux-m68k.org>
27585
24c5d07e 27586 [BZ #14033]
ded5180a
AS
27587 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
27588 double functions to double *_finite functions.
27589
7e0d315d
AS
27590 [BZ #13941]
27591 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
27592 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
27593 LDBL_MIN_EXP.
27594 * stdio-common/Makefile (tests): Add tst-sprintf3.
27595 * stdio-common/tst-sprintf3.c: New file.
27596
6d5c57fa
AS
27597 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
27598 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
27599
0749ff8b
JM
276002012-04-28 Joseph Myers <joseph@codesourcery.com>
27601
27602 * conform/conformtest.pl: Remove duplicate typed-constant
27603 handling.
27604
8dbd5d7b
DM
276052012-04-28 David S. Miller <davem@davemloft.net>
27606
27607 * Makerules (%.abilist): Add vpath on sysdep_dirs.
27608 (check-abi-%): Remove AWK script prerequisite and explicit
27609 abilist directory.
27610 (check-abi): Rewrite to just diff the symlist with the abilist.
27611 (config-tls, config-abi-config): Delete, no longer used.
27612 (update-abi-%): Remove AWK script and explicit abilist directory.
27613 (update-abi): Rewrite to simply compare and conditionally copy the
27614 symlist and the sysdep abilist file. Remove update-abi-config
27615 checks.
27616 * abilist/ld.abilist: Remove.
27617 * abilist/libBrokenLocale.abilist: Remove.
27618 * abilist/libanl.abilist: Remove.
27619 * abilist/libcrypt.abilist: Remove.
27620 * abilist/libdl.abilist: Remove.
27621 * abilist/librt.abilist: Remove.
27622 * abilist/libthread_db.abilist: Remove.
27623 * abilist/libutil.abilist: Remove.
27624 * scripts/extract-abilist.awk: Remove.
27625 * scripts/merge-abilist.awk: Remove.
27626 * sysdeps/generic/libcidn.abilist: New file.
27627 * sysdeps/generic/libnss_compat.abilist: New file.
27628 * sysdeps/generic/libnss_db.abilist: New file.
27629 * sysdeps/generic/libnss_dns.abilist: New file.
27630 * sysdeps/generic/libnss_files.abilist: New file.
27631 * sysdeps/generic/libnss_hesiod.abilist: New file.
27632 * sysdeps/generic/libnss_nis.abilist: New file.
27633 * sysdeps/generic/libnss_nisplus.abilist: New file.
27634 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
27635 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
27636 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
27637 file.
27638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
27639 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
27640 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
27641 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
27642 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
27643 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
27644 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
27645 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
27646 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
27647 file.
27648 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
27649 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
27650 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
27651 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
27652 file.
27653 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
27654 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
27655 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
27656 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
27657 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
27658 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
27659 file.
27660 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
27661 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
27662 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
27663 file.
27664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
27665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
27666 New file.
27667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27668 New file.
27669 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27670 New file.
27671 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27672 New file.
27673 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27674 New file.
27675 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27676 New file.
27677 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27678 New file.
27679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27680 New file.
27681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27682 New file.
27683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27684 New file.
27685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27686 New file.
27687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27688 New file.
27689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27690 New file.
27691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27692 file.
27693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27694 New file.
27695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27696 New file.
27697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27698 file.
27699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27700 New file.
27701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27702 New file.
27703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27704 file.
27705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27706 New file.
27707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27708 New file.
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27710 New file.
27711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27712 New file.
27713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27714 New file.
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27716 New file.
27717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27719 file.
27720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27721 New file.
27722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27723 file.
27724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27725 file.
27726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27727 file.
27728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27729 file.
27730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27731 file.
27732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27733 New file.
27734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27735 file.
27736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27737 file.
27738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27739 New file.
27740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27741 file.
27742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27744 file.
27745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27746 New file.
27747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27748 file.
27749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27750 file.
27751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27752 file.
27753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27754 file.
27755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27756 file.
27757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27758 New file.
27759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27760 file.
27761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27762 file.
27763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27764 New file.
27765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27766 file.
27767 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27768 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27769 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27770 file.
27771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27772 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27773 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27774 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27775 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27776 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27777 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27778 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27779 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27780 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27783 file.
27784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27785 New file.
27786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27787 file.
27788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27789 file.
27790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27791 file.
27792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27793 file.
27794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27795 file.
27796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27797 New file.
27798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27799 New file.
27800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27801 file.
27802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27803 New file.
27804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27805 file.
27806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27808 file.
27809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27810 New file.
27811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27812 file.
27813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27814 file.
27815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27816 file.
27817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27818 file.
27819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27820 file.
27821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27822 New file.
27823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27824 New file.
27825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27826 file.
27827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27828 New file.
27829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27830 file.
27831
41d73a1b
JM
278322012-04-28 Joseph Myers <joseph@codesourcery.com>
27833
27834 * conform/conformtest.pl: Fix typo in handling typed-constant from
27835 allow-header.
27836
28aeeda4
JM
278372012-04-27 Joseph Myers <joseph@codesourcery.com>
27838
adae8f5e
JM
27839 * README: Cut down references to pre-2.6 Linux kernels and
27840 Linuxthreads. Update lists of configurations in libc and ports
27841 and sort alphabetically. Say "or newer" with Linux kernel version
27842 requirements.
27843
28aeeda4
JM
27844 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27845
a462cb63
RA
278462012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27847
27848 [BZ #887]
27849 * math/libm-test.inc (logb_test_downward): New test to expose
27850 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27851 rounding mode.
27852
6ad3493e
JM
278532012-04-27 Joseph Myers <joseph@codesourcery.com>
27854
27855 [BZ #14027]
27856 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27857 to be done.
27858 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27859 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27860
2ce4f015
JM
278612012-04-26 Joseph Myers <joseph@codesourcery.com>
27862
5aeb141a
JM
27863 * sysdeps/unix/i386/brk.S: Remove file.
27864 * sysdeps/unix/i386/dl-brk.S: Likewise.
27865 * sysdeps/unix/i386/pipe.S: Likewise.
27866 * sysdeps/unix/i386/sigreturn.S: Likewise.
27867 * sysdeps/unix/i386/syscall.S: Likewise.
27868 * sysdeps/unix/i386/vfork.S: Likewise.
27869 * sysdeps/unix/i386/wait.S: Likewise.
27870
7143acae
JM
27871 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27872 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27873
2ce4f015
JM
27874 * configure.in (arm*-none*): Do not allow without
27875 --enable-hacker-mode.
27876 (netbsd*): Remove case setting base_os.
27877 (386bsd*): Likewise.
27878 (freebsd*): Likewise.
27879 (bsdi*): Likewise.
27880 (osf*): Likewise.
27881 (sunos*): Likewise.
27882 (ultrix*): Likewise.
27883 (newsos*): Likewise.
27884 (dynix*): Likewise.
27885 (*bsd*): Likewise.
27886 (sysv*): Likewise.
27887 (isc*): Likewise.
27888 (esix*): Likewise.
27889 (sco*): Likewise.
27890 (minix*): Likewise.
27891 (irix4*): Likewise.
27892 (irix6*): Likewise.
27893 (solaris[2-9]*): Likewise.
27894 (none): Likewise.
27895 * configure: Regenerated.
27896
0ac229c8
AZ
278972012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27898
27899 [BZ #11521]
27900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27901 overflow or cancellation in calculating denominator.
27902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27903 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27904 down expression to avoid unexpected rounding in newer GCCs.
27905 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27906
33f244f4
DM
279072012-04-26 David S. Miller <davem@davemloft.net>
27908
27909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27910 long-double compat symbols.
27911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27924
cfa1f3e8
DM
279252012-04-25 David S. Miller <davem@davemloft.net>
27926
27927 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27928 HWCAP_* values only after the memory barriers have been defined.
27929 (atomic_full_barrier): Define.
27930 (atomic_read_barrier): Define.
27931 (atomic_write_barrier): Define.
27932
6e236b92
SP
279332012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27934
27935 * shlib-versions: Add libgcc_s version information.
27936 * sysdeps/generic/libgcc_s.h: Remove.
27937 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27938 libgcc_s.h.
27939 * sysdeps/gnu/unwind-resume.c: Likewise.
27940 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27941
aab39a09
DM
279422012-04-25 David S. Miller <davem@davemloft.net>
27943
27944 * sysdeps/unix/sparc/brk.S: Delete.
27945 * sysdeps/unix/sparc/dl-brk.S: Delete.
27946 * sysdeps/unix/sparc/pipe.S: Delete.
27947 * sysdeps/unix/sparc/sysdep.S: Delete.
27948 * sysdeps/unix/sparc/sysdep.h: Delete.
27949 * sysdeps/unix/sparc/vfork.S: Delete.
27950 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27951 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27952 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27953 ret_ERRVAL, r0, r1, MOVE): Define.
27954 (JUMPTARGET): Remove.
27955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27956 sysdeps/unix/sparc/sysdep.h
27957 (ENTRY, END): Remove.
27958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27959
a3cc4f48
JM
279602012-04-25 Joseph Myers <joseph@codesourcery.com>
27961
2ed8cda2
JM
27962 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27963 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27964 -DIS_IN_build.
27965
35d76d59
JM
27966 * timezone/README: Update upstream location and email address for
27967 tzcode and tzdata.
27968 * timezone/zdump.c: Update from tzcode 2012b.
27969 * timezone/zic.c: Likewise.
27970
a3cc4f48
JM
27971 * configure.in (libc_cv_as_needed): Remove test.
27972 * configure: Regenerated.
27973 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27974 conditional definition.
27975 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27976 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27977 * config.make.in (have-as-needed): Remove variable.
27978
ceab42c3
SP
279792012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27980 Paul Pluzhnikov <ppluzhnikov@google.com>
27981
27982 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27983 strings correctly.
27984
3ce2865f
CLT
279852012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27986
27987 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27988 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27989 * sysdeps/sh/strlen.S: Likewise.
27990
f37e0d68
JM
279912012-04-24 Joseph Myers <joseph@codesourcery.com>
27992
ae186e9a
JM
27993 * sysdeps/unix/fork.S: Remove file.
27994 * sysdeps/unix/i386/fork.S: Likewise.
27995 * sysdeps/unix/sparc/fork.S: Likewise.
27996
b96914af
JM
27997 * sysdeps/unix/system.c: Remove file.
27998 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27999
f37e0d68
JM
28000 * sysdeps/unix/getegid.S: Remove file.
28001 * sysdeps/unix/geteuid.S: Likewise.
28002
87ef29ca
RM
280032012-04-24 Roland McGrath <roland@hack.frob.com>
28004
83bcd236
RM
28005 * scripts/check-localplt.awk: New file.
28006 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28007 of diff.
28008 * scripts/data/localplt-generic.data: Add a comment.
28009
87ef29ca
RM
28010 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28011 NODE when __dir_mkfile failed.
28012 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28013 Reported by Ludovic Courtès <ludo@gnu.org>.
28014
e5a6e567
AJ
280152012-04-24 Andreas Jaeger <aj@suse.de>
28016
28017 * Makerules (common-clean): Also remove gen-as-const-headers
28018 files.
28019
c1820385
JM
280202012-04-24 Joseph Myers <joseph@codesourcery.com>
28021
28022 * Makerules (native-compile): Do not change working directory for
28023 build. Use $(OUTPUT_OPTION) in command.
28024 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28025
94e02fc4
AZ
280262012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28027
28028 [BZ #13886]
28029 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28030 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28031 * math/libm-test.inc (floor_test): Add more tests.
28032 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28033
3a533ca3
JM
280342012-04-24 Joseph Myers <joseph@codesourcery.com>
28035
940ab4b3
JM
28036 * sysdeps/unix/getdents.c: Remove file.
28037 * sysdeps/unix/sysv/getdents.c: Likewise.
28038 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28039
90e037bd
JM
28040 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28041 sysdeps/unix/mman/syscalls.list.
28042 (mmap): Likewise.
28043 (mprotect): Likewise.
28044 (msync): Likewise.
28045 (munmap): Likewise.
28046 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28047 * sysdeps/unix/mman/syscalls.list: Remove.
28048 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28049
3a533ca3
JM
28050 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28051 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28052 * configure: Regenerated.
28053 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28054 $(libgcc_s_suffix).
28055 * config.make.in (libgcc_s_suffix): Remove variable.
28056
1ad743de
JM
280572012-04-23 Joseph Myers <joseph@codesourcery.com>
28058
4ad451e2
JM
28059 * sysdeps/unix/sysv/gethostname.c: Move to ...
28060 * sysdeps/posix/gethostname.c: ... here.
28061
5e37ce39
JM
28062 * sysdeps/unix/execve.S: Remove file.
28063
1ad743de
JM
28064 * sysdeps/unix/_exit.S: Remove file.
28065
4e681b5b
AJ
280662012-04-23 Andreas Jaeger <aj@suse.de>
28067
28068 [BZ #13739]
28069 * manual/Makefile: Remove make dist support, there's no
28070 need for a stand-alone documentation tar ball.
28071 (TEXI2DVI): Define always, it's not in Makeconfig.
28072 (dist): Removed.
28073 (tar-it): Removed.
28074 (edition): Removed.
28075 (glibc-doc-$(edition).tar): Removed
28076 (%.Z): Removed.
28077 (%.gz): Removed.
28078 (%.uu): Removed.
28079 (ETAGS): Remove, it's in Makeconfig.
28080 (move-if-change): Remove, it's in Makeconfig.
28081
38686a03 280822012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28083
28084 [BZ #13970]
28085 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28086 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28087 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28088 (strtod_l, strtof_l, strtold_l): Remove __wur.
28089 It is not necessarily an error to ignore strtol's return value.
28090 One can reliably look at the stored endptr to decide whether
28091 the number had valid syntax.
28092
7c0616fa
AJ
280932012-04-21 Andreas Jaeger <aj@suse.de>
28094
803cb6b7 28095 [BZ #13739]
7c0616fa
AJ
28096 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28097
b0fe253f
JM
280982012-04-21 Joseph Myers <joseph@codesourcery.com>
28099
28100 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28101 * sysdeps/unix/sysv/Versions: Remove file.
28102
8280f22d
MT
281032012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28104
28105 [BZ #13927]
28106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28107
75ce411f 281082012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28109
28110 [BZ #7064]
28111 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28112 version from __vm86.
28113
097d59fa
JM
281142012-04-20 Joseph Myers <joseph@codesourcery.com>
28115
a90f3bcb
JM
28116 * sysdeps/unix/common/lxstat.c: Remove file.
28117 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28118
edc7ea78
JM
28119 * sysdeps/unix/sysv/Makefile: Remove file.
28120
cb78c221
JM
28121 * sysdeps/unix/sysv/direct.h: Remove file.
28122
efa6a45f
JM
28123 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28124 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28125 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28126 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28127 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28128 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28129 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28130
9c9f2d0c
JM
28131 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28132
4541c83b
JM
28133 * sysdeps/unix/xmknod.c: Remove file.
28134 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28135
f5d153a0
JM
28136 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28137
aa746595
JM
28138 * sysdeps/unix/sysv/i386/time.S: Remove file.
28139
cce5905e
JM
28140 * sysdeps/unix/fxstat.c: Remove file.
28141 * sysdeps/unix/xstat.c: Likewise.
28142 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28143
37fa3841
JM
28144 * sysdeps/unix/sysv/sigaction.c: Remove file.
28145
ff1962a3
JM
28146 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28147 (sysdep_headers): Remove variable.
28148 [termio.h not in sysdep_headers] (generated): Likewise.
28149 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28150 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28151 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28152 * sysdeps/unix/sysv/tcflow.c: Likewise.
28153 * sysdeps/unix/sysv/tcflush.c: Likewise.
28154 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28155 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28156 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28157 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28158 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28159
e7740d31
JM
28160 * sysdeps/unix/siglist.c: Remove file.
28161
ee06f18b
JM
28162 * sysdeps/unix/getppid.S: Remove file.
28163
097d59fa
JM
28164 * sysdeps/unix/mkdir.c: Remove file.
28165 * sysdeps/unix/rmdir.c: Likewise.
28166
ff3d51ec
AS
281672012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28168
28169 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28170 ERR_MAX value.
28171 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28172 errlist-compat value.
28173
50f81fd7
DM
281742012-04-18 David S. Miller <davem@davemloft.net>
28175
28176 * sysdeps/generic/memcopy.h (reg_char): Delete.
28177 * debug/strcat_chk.c: Use char, not reg_char.
28178 * debug/strcpy_chk.c: Likewise.
28179 * debug/strncat_chk.c: Likewise.
28180 * debug/strncpy_chk.c: Likewise.
28181 * string/memchr.c: Likewise.
28182 * string/memrchr.c: Likewise.
28183 * string/rawmemchr.c: Likewise.
28184 * string/strcat.c: Likewise.
28185 * string/strchr.c: Likewise.
28186 * string/strchrnul.c: Likewise.
28187 * string/strcmp.c: Likewise.
28188 * string/strcpy.c: Likewise.
28189 * string/strncat.c: Likewise.
28190 * string/strncmp.c: Likewise.
28191 * string/strncpy.c: Likewise.
28192
8ff41c46
WS
281932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28194
28195 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28196 __builtin_memcopy is called when src and dest ranges are known to not
28197 overlap.
28198
6b652f46
WS
281992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28200
28201 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28202 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28203 fwd_align_merge macro call.
28204 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28205 bwd_align_merge macro call.
28206 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28207
b282631e
WS
282082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28209
28210 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28211 bwd_align_merge macros.
28212 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28213 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28214 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28215
95aa737c
DM
282162012-04-18 David S. Miller <davem@davemloft.net>
28217
28218 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28219
7a99a614
AJ
282202012-04-18 Andreas Jaeger <aj@suse.de>
28221
28222 [BZ# 6794]
28223 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28224 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28225 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28226
28227 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28228 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28229 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28230
28231 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28232 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28233 Adjust for changed ldbl-128 files.
28234
28235 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28236 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28237 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28238
e5270c23
DM
282392012-04-17 David S. Miller <davem@davemloft.net>
28240
28241 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28242
fb5e92c9
AS
282432012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28244
28245 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28246 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28247 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28248 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28249 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28250 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28251
76da7265
AZ
282522012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28253
28254 [BZ #6794]
28255 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28256 * math/libm-test.inc: Add ilogb errno and exception tests.
28257 * math/w_ilogb.c: New file: ilogb wrapper.
28258 * math/w_ilogbf.c: New file: ilogbf wrapper.
28259 * math/w_ilogbl.c: New file: ilogbl wrapper.
28260 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28261 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28262 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28263 exception being thrown with 0.0 as argument.
28264 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28265 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28266 exception being thrown with 0.0 as argument.
28267 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28268 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28269 exception being thrown with 0.0 as argument.
28270 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28271 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28272 exception being thrown with 0.0 as argument.
28273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28274 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28276 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28277 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28278 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28279 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28280 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28281 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28282
0396e69d
PB
282832012-04-17 Petr Baudis <pasky@ucw.cz>
28284
28285 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28286 with altivec.
28287
750b5926
MP
282882012-04-16 Marek Polacek <polacek@redhat.com>
28289
28290 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28291
751728a1
MP
282922012-04-16 Marek Polacek <polacek@redhat.com>
28293
28294 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28295 operands of fdivp instruction.
28296
34a27407
L
282972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28298
28299 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28300 * elf/tst-auditmod3b.c: Likewise.
28301 * elf/tst-auditmod4b.c: Likewise.
28302 * elf/tst-auditmod5b.c: Likewise.
28303 * elf/tst-auditmod6b.c: Likewise.
28304 * elf/tst-auditmod6c.c: Likewise.
28305 * elf/tst-auditmod7b.c: Likewise.
28306 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28307 * sysdeps/x86_64/preconfigure.in: Likewise.
28308 * sysdeps/x86_64/preconfigure: Regenerated.
28309
7e73e17d
L
283102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28311
28312 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28313 __ILP32__.
28314
c7a6ab72
AB
283152012-04-13 Antoine Balestrat <merkil33@gmail.com>
28316
28317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28318 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28319
a9e8e0e0
CL
283202012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28321
28322 [BZ #13973]
28323 * locale/iso-639.def: Fix gl language name. Spotted by
28324 Yaron Shahrabani.
28325
ec98af7d
RM
283262012-04-12 Roland McGrath <roland@hack.frob.com>
28327
28328 [BZ #2074]
28329 * libio/libio.h (__io_write_fn): Update comment.
28330
247c3ede
PB
283312012-04-12 Petr Baudis <pasky@ucw.cz>
28332
28333 [BZ #2074]
28334 * stdio.texi (Hook Functions): The user provided writer function
28335 is not allowed to return -1.
28336
55939d6d
DM
283372012-04-11 David S. Miller <davem@davemloft.net>
28338
28339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28340
90020f5a
MF
283412012-04-11 Mike Frysinger <vapier@gentoo.org>
28342
28343 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28344 Add a leading slash to rtkaio.
28345
288f9098
JM
283462012-04-11 Jim Meyering <meyering@redhat.com>
28347
90020f5a
MF
28348 [BZ #11959]
28349 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28350 It is not necessarily an error to ignore fwrite's return
28351 value. One can reliably use ferror to test for errors after
28352 the fact.
288f9098 28353
4be2b570
L
283542012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28355
28356 * bits/types.h (__snseconds_t): New type.
28357 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
28358
28359 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
28360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28361 (__SNSECONDS_T_TYPE): Likewise.
28362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28363 (__SNSECONDS_T_TYPE): Likewise.
28364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28365 (__SNSECONDS_T_TYPE): Likewise.
28366
288f9098 283672012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
28368
28369 [BZ #2636]
28370 * manual/time.texi (Processor Time): Return type of times is
28371 elapsed real time since an arbitrary point in the past.
28372 (CPU Time): Move CLK_TCK from here...
28373 (Processor Time): ...to here. Correct description.
28374 * manual/conf.texi (Constants for Sysconf): Correct description of
28375 _SC_CLK_TCK.
28376
d7dd4413
DM
283772012-04-10 David S. Miller <davem@davemloft.net>
28378
28379 [BZ #13967]
28380 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
28381 where the is a gap between DT_REL(A) and DT_JMPREL.
28382
b46068fc
L
283832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
28384
28385 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
28386 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28387 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28388
73d65cc3
SP
283892012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28390
28391 * elf/dl-support.c (_dl_inhibit_cache): New variable.
28392 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
28393 (dl_main): Handle --inhibit-cache.
28394 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
28395 _dl_inhibit_cache.
28396 * elf/dl-load.c (_dl_map_object): Use it.
28397 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
28398
bcc8d661
JM
283992012-04-09 Joseph Myers <joseph@codesourcery.com>
28400
8f9a2fae
JM
28401 [BZ #13872]
28402 * sysdeps/i386/fpu/e_powl.S (p78): New object.
28403 (__ieee754_powl): Saturate large exponents rather than testing for
28404 overflow of y*log2(x).
28405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28406 * math/libm-test.inc (pow_test): Do not permit spurious overflow
28407 exceptions.
28408
bcc8d661
JM
28409 [BZ #11521]
28410 * math/s_ctan.c: Include <float.h>.
28411 (__ctan): Avoid internal overflow or cancellation in calculating
28412 denominator.
28413 * math/s_ctanf.c: Likewise.
28414 * math/s_ctanl.c: Likewise.
28415 * math/s_ctanh.c: Likewise.
28416 * math/s_ctanhf.c: Likewise.
28417 * math/s_ctanhl.c: Likewise.
28418 * math/libm-test.inc (ctan_test): Add more tests.
28419 (ctanh_test): Likewise.
28420 * sysdeps/i386/fpu/libm-test-ulps: Update.
28421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28422
823fbbb4
AJ
284232012-04-09 Andreas Jaeger <aj@suse.de>
28424
03879793
AJ
28425 [BZ #6894]
28426 * manual/filesys.texi (Directory Entries): Mention that d_namlen
28427 is an optional BSD extension.
28428
823fbbb4
AJ
28429 [BZ #10254]
28430 * manual/stdio.texi (Opening Streams): Document additional fopen
28431 parameters.
28432
8de131cb
RM
284332012-04-09 Roland McGrath <roland@hack.frob.com>
28434
28435 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
28436 %eax without telling the compiler.
28437
c0ed9d7d
CD
284382012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
28439
28440 [BZ # 13963]
28441 * manual/install.texi: Use sourceware.org.
28442
c483f6b4
JM
284432012-04-09 Joseph Myers <joseph@codesourcery.com>
28444
d7dd9453
JM
28445 [BZ #13873]
28446 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
28447 (__ieee754_pow): Generate overflow and underflow using huge*huge
28448 and tiny*tiny rather than just returning constant infinity or zero
28449 for large exponents.
28450 * math/libm-test.inc (pow_test): Require overflow exceptions for
28451 applicable cases of large exponents.
28452
c483f6b4
JM
28453 [BZ #706]
28454 * sysdeps/i386/fpu/e_pow.S (p10): New object.
28455 (__ieee754_pow): Use iterative multiplication algorithm only for
28456 integer exponents with absolute value below 1024. Check for odd
28457 integer exponents when using algorithm for real exponents.
28458 * math/libm-test.inc (pow_test): Add more tests.
28459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28460
d2de7579
JM
284612012-04-08 Joseph Myers <joseph@codesourcery.com>
28462
28463 [BZ #13705]
28464 * math/libm-test.inc (exp_test): Do not allow overflow exception
28465 on underflow test.
28466
f77f1232
AJ
284672012-04-08 Aurelien Jarno <aurelien@aurel32.net>
28468
28469 [BZ #13705]
28470 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
28471 instead of __kernel_standard_f.
28472
3884932b
MF
284732012-04-08 Mike Frysinger <vapier@gentoo.org>
28474
28475 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
28476 * sysdeps/x86_64/memset_chk.S: Likewise.
28477
54472e9c
AJ
284782012-04-08 Andreas Jaeger <aj@suse.de>
28479
6ab0fbfc
AJ
28480 [BZ #10153]
28481 * manual/startup.texi (Environment Access): Describe return value
28482 for putenv and setenv.
28483
61efba8c
AJ
28484 [BZ #6895]
28485 * manual/filesys.texi (Directory Entries): Add description for
28486 DT_LNK.
28487
95c3f29a
AJ
28488 [BZ #6890]
28489 * manual/filesys.texi (Directory Entries): Clarify that it's file
28490 system not operating system in the description of DT_UNKNOWN.
28491
54472e9c
AJ
28492 [BZ #6578]
28493 * manual/syslog.texi (closelog): Fix reference, it's openlog.
28494
624254b1
SC
284952012-04-08 Stephen Compall <s11@member.fsf.org>
28496
28497 [BZ #6649]
28498 * manual/llio.texi (Opening and Closing Files): Add cross
28499 reference to explain mode argument.
28500
1e4920e0
MF
285012012-04-07 Mike Frysinger <vapier@gentoo.org>
28502
28503 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
28504 * sysdeps/x86_64/memset_chk.S: Likewise.
28505
5ed848f3
DM
285062012-04-07 David S. Miller <davem@davemloft.net>
28507
28508 * elf/elf.h (R_SPARC_WDISP10): Define.
28509 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
28510 R_SPARC_SIZE32.
28511 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
28512 R_SPARC_SIZE64 and R_SPARC_H34.
28513
96154cd8
CD
285142012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
28515
28516 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
28517 conditions and remove no longer applicable assertion.
28518
9904dc47
L
285192012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28520
28521 * bits/byteswap.h: Include <features.h>.
28522 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
28523 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
28524
f8887d0a
L
285252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
28526
28527 * bits/byteswap.h (__bswap_16): Removed.
28528 Include <bits/byteswap-16.h> to get __bswap_16.
28529 * sysdeps/i386/bits/byteswap.h: Likewise.
28530 * sysdeps/s390/bits/byteswap.h: Likewise.
28531 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28532 * bits/byteswap-16.h: New file.
28533 * sysdeps/i386/bits/byteswap-16.h: Likewise.
28534 * sysdeps/s390/bits/byteswap-16.h: Likewise.
28535 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
28536 * string/Makefile (headers): Add bits/byteswap-16.h.
28537
62470f60
PP
285382012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28539
28540 [BZ #13895]
28541 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
28542 extra indirection.
28543 * nss/Makefile (tests-static, tests): Add tst-nss-static.
28544 * nss/tst-nss-static.c: New.
28545
4dad7bab
RM
285462012-04-06 Robert Millan <rmh@gnu.org>
28547
28548 [BZ #6486]
28549 * manual/llio.texi (File Position Primitive): lseek
28550 refers to WHENCE when it really means OFFSET.
28551
e9142a17
AJ
285522012-04-06 Andreas Jaeger <aj@suse.de>
28553
2c040eff
AJ
28554 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
28555 strncmp declarations.
28556
e9142a17
AJ
28557 * abilist/libc.abilist: Add __poll and __ppoll.
28558
ff9f1c5f
DM
285592012-04-05 David S. Miller <davem@davemloft.net>
28560
dcd2ae90
DM
28561 * scripts/check-local-headers.sh: Accept a host triplet in the
28562 path matched by the exclude regexp.
28563
993eb054
DM
28564 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
28565 definition.
28566 * sysdeps/powerpc/powerpc32/dl-machine.h
28567 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
28568 * sysdeps/s390/s390-32/dl-machine.h
28569 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28570 * sysdeps/sparc/sparc32/dl-machine.h
28571 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28572 * sysdeps/sparc/sparc64/dl-machine.h
28573 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
28574
ff9f1c5f
DM
28575 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
28576 lazy binding.
48e2e132 28577 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
28578 undefined symbol errors.
28579
48e2e132 28580 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
28581 DT_NEEDED entries.
28582
e80d6f94
MM
285832012-04-05 Michael Matz <matz@suse.de>
28584
28585 [BZ #13592]
28586 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
28587
349fa79f
AJ
285882012-04-05 Andreas Jaeger <aj@suse.de>
28589
28590 [BZ #13908]
28591 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
28592 comment.
28593
f402708f
KK
285942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28595
28596 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
28597 which ROUND is no valid rounding mode.
28598
2ecccfc9
KK
285992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28600
28601 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
28602 read again.
28603 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
28604
8a53f50f
KK
286052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28606
28607 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
28608 an exception using FPU order intentionally.
28609
286102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28611
28612 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
28613 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
28614 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
28615 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
28616
d653abb7
SJ
286172012-04-05 Simon Josefsson <simon@josefsson.org>
28618
28619 [BZ #12340]
28620 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28621 EINVAL when BUFLEN is too smal.
28622
c3b1bf7d
TS
286232012-04-05 Thomas Schwinge <thomas@codesourcery.com>
28624
28625 [BZ #13553]
28626 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
28627 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
28628
b1aa60f3
AJ
286292012-04-03 Andreas Jaeger <aj@suse.de>
28630
c3b1bf7d 28631 [BZ #13938]
67f60a26
AJ
28632 * manual/setjmp.texi (System V contexts): Fix sentence.
28633
b1aa60f3
AJ
28634 [BZ #13926]
28635 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
28636 New macro for this case.
28637 [!__GNUC__] (__bswap_64): New inline function for this case.
28638 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28639 * bits/byteswap.h: Likewise.
28640 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
28641 ull, guard with __GLIBC_HAVE_LONG_LONG.
28642
28643 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
28644 __GLIBC_HAVE_LONG_LONG.
28645
28646 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
28647 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
28648
39c59c35
TMQMF
286492012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28650
28651 [BZ #13691]
28652 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
28653 inptr and inend, rather than using last_ch.
28654
135ffda8
DM
286552012-04-02 David S. Miller <davem@davemloft.net>
28656
28657 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
28658 * stdio-common/printf-parse.h (read_int): Change return type to
28659 'int', return -1 on INT_MAX overflow.
28660 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
28661 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
28662 overflows INT_MAX. Check for overflow of in-format-string precision
28663 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
28664 SIZE_MAX not INT_MAX for integer overflow test.
28665 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
28666 skip the construct in the format string but do not record anything.
28667 * stdio-common/bug22.c: Adjust to test both width/prevision
28668 INT_MAX overflow as well as total length INT_MAX overflow. Check
28669 explicitly for proper errno values.
28670
228c019e
TS
286712012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28672
302cadd3
TS
28673 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28674 CHAR_MAX.
28675 * string/test-strcmp.c [! WIDE]: Likewise.
28676 * time/tst-mktime2.c: Likewise for INT_MAX.
28677 * string/test-string.h: #include <sys/param.h> for MIN.
28678
228c019e
TS
28679 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28680 * sysdeps/i386/init-first.c (init): Likewise.
28681 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28682 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28683 * sysdeps/sh/init-first.c (init): Likewise.
28684
cfa633f5
UD
286852012-04-01 Ulrich Drepper <drepper@gmail.com>
28686
28687 * po/ru.po: Update from translation team.
d1635ef8 28688 * po/vi.po: Likewise.
cfa633f5 28689
6cd0a5ea
SP
286902012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28691
28692 * resolv/nss_dns/dns-host.c: Merge copyright years.
28693
4b43400f
LD
286942012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28695
28696 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28697 Optimize memcpy with prefetch if
28698 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28699 src, dst pointers have unequal 16 byte alignments.
28700
48c41d04
SP
287012012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28702
28703 [BZ #13928]
28704 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28705 from a CNAME entry and return the minimum ttl for the query.
28706 (gaih_getanswer_slice): Likewise.
28707
b8dc394d
JL
287082012-03-30 Jeff Law <law@redhat.com>
28709
28710 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28711 due to long keys.
28712 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28713 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28714
2f5a5ed0
JL
28715 * resolv/nss_dns/dns-host.c: Update copyright year.
28716
1d39e359
UD
287172012-03-30 Ulrich Drepper <drepper@gmail.com>
28718
c030f70c 28719 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 28720 requests to save a system call. Fix check that all bytes are sent.
c030f70c 28721
1d39e359
UD
28722 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28723 comments for sendmmsg.
28724
287252012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
28726
28727 [BZ #13691]
28728 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28729 with only 1 character between 0x0041 and 0x01b0.
28730 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28731 * wcsmbs/tst-mbsnrtowcs.c: New file.
28732
20fde227
DM
287332012-03-29 David S. Miller <davem@davemloft.net>
28734
28735 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28736 small copies by hand.
28737
984a4237
JL
287382012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28739
28740 [BZ #13761]
28741 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28742 _nss_compat_initgroups_dyn): Fall back to malloc/free
28743 for large group memberships.
28744
18c9d62b
DM
287452012-03-28 David S. Miller <davem@davemloft.net>
28746
88d85d4f
DM
28747 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28748 that branches into memcpy.
28749 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28750 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28751 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28752 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28753 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28754 bits.
28755 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28756 implementation too.
28757 * sysdeps/sparc/mempcpy.S: New file.
28758
e5aa83e1
DM
28759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28760 the IFUNC routine in the libc case.
28761 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28762
88570753
DM
28763 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28764 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28765 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28766 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28767 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28768 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28769 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28770 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28771
249d7567
DM
28772 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28773 loop to 256 bytes instead of 64 bytes and fix test signedness.
28774
18c9d62b
DM
28775 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28776 * sysdeps/sparc/sparc32/Makefile: rather than here...
28777 * sysdeps/sparc/sparc64/Makefile: and here.
28778
05f3d1f6
UD
287792012-03-28 Ulrich Drepper <drepper@gmail.com>
28780
28781 * malloc/mallocbug.c: Avoid warnings about unused variables.
28782
86ae07a8
JL
287832012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28784
28785 [BZ #13760]
28786 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28787 in the right place. Discard and retry query if response is
28788 larger than input buffer size.
28789
41bf21a1
JM
287902012-03-28 Joseph Myers <joseph@codesourcery.com>
28791
d6270972
JM
28792 [BZ #369]
28793 [BZ #2678]
28794 [BZ #3866]
28795 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28796 x for large integer exponent.
28797 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28798 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28799 sign of result as needed afterwards.
28800 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28801 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28802 result for underflowing pow the same as for overflow.
28803 (__kernel_standard_l): Handle powl overflow and underflow here
28804 rather than calling __kernel_standard.
28805 * math/libm-test.inc (pow_test): Add more tests.
28806
414fca03 28807 [BZ #3868]
41bf21a1
JM
28808 [BZ #13879]
28809 [BZ #13910]
28810 [BZ #13911]
28811 [BZ #13912]
28812 [BZ #13913]
28813 [BZ #13915]
28814 [BZ #13916]
28815 [BZ #13917]
28816 [BZ #13918]
28817 [BZ #13919]
28818 [BZ #13920]
28819 [BZ #13921]
28820 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28821 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28822 (__kernel_standard_l): New function.
28823 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28824 __kernel_standard.
28825 * math/w_acosl.c (__acosl): Likewise.
28826 * math/w_asinl.c (__asinl): Likewise.
28827 * math/w_atan2l.c (__atan2l): Likewise.
28828 * math/w_atanhl.c (__atanhl): Likewise.
28829 * math/w_coshl.c (__coshl): Likewise.
28830 * math/w_exp10l.c (__exp10l): Likewise.
28831 * math/w_exp2l.c (__exp2l): Likewise.
28832 * math/w_fmodl.c (__fmodl): Likewise.
28833 * math/w_hypotl.c (__hypotl): Likewise.
28834 * math/w_j0l.c (__j0l, __y0l): Likewise.
28835 * math/w_j1l.c (__j1l, __y1l): Likewise.
28836 * math/w_jnl.c (__jnl, __ynl): Likewise.
28837 * math/w_lgammal.c (__lgammal): Likewise.
28838 * math/w_log10l.c (__log10l): Likewise.
28839 * math/w_log2l.c (__log2l): Likewise.
28840 * math/w_logl.c (__logl): Likewise.
28841 * math/w_powl.c (__powl): Likewise.
28842 * math/w_remainderl.c (__remainderl): Likewise.
28843 * math/w_scalbl.c (sysv_scalbl): Likewise.
28844 * math/w_sinhl.c (__sinhl): Likewise.
28845 * math/w_sqrtl.c (__sqrtl): Likewise.
28846 * math/w_tgammal.c (__tgammal): Likewise.
28847 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28848 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28849 * math/libm-test.inc (acos_test): Add more tests.
28850 (acosh_test): Likewise.
28851 (asin_test): Likewise.
28852 (atanh_test): Likewise.
28853 (exp_test): Likewise.
28854 (exp10_test): Likewise.
28855 (exp2_test): Likewise.
28856 (expm1_test): Likewise.
28857 (lgamma_test): Likewise.
28858 (log_test): Likewise.
28859 (log10_test): Likewise.
28860 (log1p_test): Likewise.
28861 (log2_test): Likewise.
28862 (pow_test): Do not allow some spurious overflow exceptions.
28863 (sqrt_test): Add more tests.
28864 (tgamma_test): Likewise.
28865 (y0_test): Likewise.
28866 (y1_test): Likewise.
28867 (yn_test): Likewise.
28868
dd62fda6
AB
288692012-03-27 Anton Blanchard <anton@samba.org>
28870
28871 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28872 MAP_HUGETLB.
28873 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28874 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28875 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28876
1e3cdfda
AJ
288772012-03-27 David S. Miller <davem@davemloft.net>
28878
b855ab85
DM
28879 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28880
1e3cdfda
AJ
28881 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28882 have-as-vis3 check.
28883
288842012-03-27 Andreas Jaeger <aj@suse.de>
28885
28886 * sysdeps/x86_64/elf/configure.in: Moved to ...
28887 * sysdeps/x86_64/configure.in: ... here.
28888 * sysdeps/x86_64/elf/start.S: Moved to ...
28889 * sysdeps/x86_64/start.S: ... here.
28890 * sysdeps/x86_64/elf/configure: Delete.
28891
28892 * sysdeps/x86_64/configure.in: Merge contents from
28893 sysdeps/i386/configure.in (without i686 check).
28894
28895 * sysdeps/i386/elf/Versions: Merge into ...
28896 * sysdeps/i386/Versions: ... this.
28897 * sysdeps/i386/elf/Versions: Delete file.
28898 * sysdeps/i386/elf/start.S: Moved to ...
28899 * sysdeps/i386/start.S: ...here.
28900 * sysdeps/i386/elf/configure.in: Merge into...
28901 * sysdeps/i386/configure.in: ...here.
28902 * sysdeps/i386/elf/configure.in: Delete file.
28903 * sysdeps/i386/elf/configure: Delete file.
28904
28905 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28906 * debug/backtracesyms.c: ... here.
28907 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28908 * debug/backtracesymsfd.c: ... here.
28909 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28910 * sysdeps/generic/ifunc-sel.h: ... here.
28911
28912 * sysdeps/unix/i386/start.c: Delete file.
28913 * sysdeps/unix/sparc/start.c: Delete file.
28914 * sysdeps/unix/start.c: Delete file.
28915
28916 * sysdeps/sh/elf/configure.in: Moved to ...
28917 * sysdeps/sh/configure.in: ... here.
28918 * sysdeps/sh/elf/start.S: Moved to ...
28919 * sysdeps/sh/start.S: ... here.
28920 * sysdeps/sh/elf/configure: Delete file.
28921
28922 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28923 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28924 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28925 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28926 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28927 * sysdeps/powerpc/powerpc64/start.S: here.
28928 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28929 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28930 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28931 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28932 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28933
28934 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28935 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28936 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28937 * sysdeps/powerpc/powerpc32/start.S: ... here.
28938 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28939 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28940 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28941
28942 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28943 * sysdeps/powerpc/ifunc-sel.h: ... here.
28944 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28945 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28946
28947 * sysdeps/sparc/elf/configure.in: Moved to ...
28948 * sysdeps/sparc/configure.in: ... here.
28949 * sysdeps/sparc/elf/configure: Delete file.
28950 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28951 * sysdeps/sparc/sparc32/start.S: ... here.
28952 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28953 * sysdeps/sparc/sparc64/start.S: ... here.
28954 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28955 * sysdeps/sparc/sparc32/Makefile: ... this.
28956 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28957 * sysdeps/sparc/sparc64/Makefile: ... this.
28958
28959 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28960 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28961 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28962 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28963 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28964 * sysdeps/s390/s390-32/setjmp.S: ... here.
28965 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28966 * sysdeps/s390/s390-32/configure.in: ... here.
28967 * sysdeps/s390/s390-32/elf/configure: Delete file.
28968 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28969 * sysdeps/s390/s390-32/start.S: ... here.
28970
28971 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28972 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28973 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28974 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28975 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28976 * sysdeps/s390/s390-64/setjmp.S: ... here.
28977 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28978 * sysdeps/s390/s390-64/configure.in: ... here
28979 * sysdeps/s390/s390-64/elf/configure: Delete file.
28980 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28981 * sysdeps/s390/s390-64/start.S: ... here.
28982 * sysdeps/s390/s390-64/elf/configure: Delete.
28983
28984 * configure.in: Remove support for elf directories in sysdeps.
28985
28986 * configure: Regenerated.
28987 * sysdeps/i386/configure: Regenerated.
28988 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28989 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28990 * sysdeps/s390/s390-32/configure: Regenerated.
28991 * sysdeps/s390/s390-64/configure: Regenerated.
28992 * sysdeps/sh/configure: Regenerated.
28993 * sysdeps/sparc/configure: Regenerated.
28994 * sysdeps/x86_64/configure: Regenerated.
28995
a3f61311
AS
289962012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28997
c876e002
AS
28998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28999
a3f61311
AS
29000 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29001 denormal result into account.
29002
ac4c54f0
RM
290032012-03-25 Roland McGrath <roland@hack.frob.com>
29004
29005 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29006 Reported by Allan McRae <allan@archlinux.org>.
29007
6a9b9c02
JL
290082012-03-23 Jeff Law <law@redhat.com>
29009
29010 * nss/getnssent.c (__nss_getent): Fix typo.
29011
4c42a0c1
DM
290122012-03-23 David S. Miller <davem@davemloft.net>
29013
29014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29015
1532c7ac
L
290162012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29017
29018 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29019 to pad to uint64_t for each field.
29020 (dl_tls_index): Replace unsigned long with uint64_t.
29021
3ff42526
PP
290222012-03-23 Daniel Jacobowitz <dmj@google.com>
29023 Paul Pluzhnikov <ppluzhnikov@google.com>
29024
29025 [BZ #6528]
29026 * grp/Makefile (otherlibs): Don't set it.
29027 * inet/Makefile (otherlibs): Likewise.
29028 * login/Makefile (otherlibs): Likewise.
29029 * nscd/Makefile (otherlibs): Likewise.
29030 * posix/Makefile (otherlibs): Likewise.
29031 * pwd/Makefile (otherlibs): Likewise.
29032 * rt/Makefile (otherlibs): Likewise.
29033 * sunrpc/Makefile (otherlibs): Likewise.
29034 * nss/Makefile (otherlibs): Likewise.
29035 Add libnss_files to routines and static-only-routines.
29036 ($(objpfx)getent): Remove rule.
29037 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29038 static-only-routines.
29039
7c69cd14
JM
290402012-03-22 Joseph Myers <joseph@codesourcery.com>
29041
29042 [BZ #13892]
29043 * math/s_cexp.c: Include <float.h>.
29044 (__cexp): Handle exp result overflowing not necessarily
29045 overflowing both real and imaginary parts of result.
29046 * math/s_cexpf.c: Likewise.
29047 * math/s_cexpl.c: Likewise.
29048 * math/libm-test.inc (cexp_test): Add more tests.
29049 * sysdeps/i386/fpu/libm-test-ulps: Update.
29050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29051
81b035fe
L
290522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29053
29054 * include/link.h (ELFW): New macro.
29055 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29056 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29057
1da7940c
L
290582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29059
29060 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29061 with uint64_t.
29062
b749dbb9
L
290632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29066 declaration.
29067 (struct La_x32_retval): Likewise.
29068
2ff87f3f
L
290692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29070
29071 * sysdeps/x86_64/preconfigure.in: New file.
29072 * sysdeps/x86_64/preconfigure: New generated file.
29073
c0df8e69
JM
290742012-03-22 Joseph Myers <joseph@codesourcery.com>
29075
48e44791
JM
29076 [BZ #13824]
29077 * math/e_exp2l.c: Include <float.h>.
29078 (__ieee754_exp2l): Handle overflow and underflow cases
29079 separately. Only pass fractional part of argument to
29080 __ieee754_expl.
29081 * math/libm-test.inc (exp2_test): Add more tests.
29082
c0df8e69
JM
29083 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29084 negating x to take absolute value.
29085 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29086 Likewise.
29087 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29089 Likewise.
29090 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29091 computing low part if x was negated.
29092 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29093
c8e43ba7
L
290942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29095
29096 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29097 la_x32_gnu_pltexit.
29098 (pltexit): Cast int_retval to ptrdiff_t.
29099 * elf/tst-auditmod3b.c: Likewise.
29100 * elf/tst-auditmod4b.c: Likewise.
29101 * elf/tst-auditmod5b.c: Likewise.
29102 * elf/tst-auditmod6b.c: Likewise.
29103 * elf/tst-auditmod6c.c: Likewise.
29104 * elf/tst-auditmod7b.c: Likewise.
29105
29106 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29107 and x32_gnu_pltexit.
29108
29109 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29110 __ELF_NATIVE_CLASS.
29111 (La_x32_regs): New macro.
29112 (La_x32_retval): Likewise.
29113 (la_x32_gnu_pltenter): New function prototype.
29114 (la_x32_gnu_pltexit): Likewise.
29115
7998fa78
AS
291162012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29117
dcb33988
AS
29118 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29119 exponent.
29120
233fc563
AS
29121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29122
7998fa78
AS
29123 * configure.in (libc_cv_cc_nofma): Check for option to disable
29124 generation of FMA instructions.
29125 * configure: Regenerate.
29126 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29127 * sysdeps/ieee754/dbl-64/Makefile: New file.
29128 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29129 Remove brandred-fma4.
29130 (CFLAGS-brandred-fma4.c): Remove.
29131 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29132 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29133 define.
29134 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29135 define.
29136
8e95c99a
L
291372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29138
29139 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29140 LLONG_MAX != LONG_MAX.
29141 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29142 (_fitoa_word): Likewise.
29143 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29144 LLONG_MAX != LONG_MAX.
29145 * stdio-common/_itowa.h: Include <_itoa.h>.
29146 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29147 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29148 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29149 only if not defined.
29150 (_ITOA_WORD_TYPE): Likewise.
29151 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29152 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29153
6f4db457
DM
291542012-03-21 David S. Miller <davem@davemloft.net>
29155
29156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29157
7785fe5a
L
291582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29159
29160 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29161 of x86_64 when setting libc_cv_slibdir, libdir and
29162 libc_cv_localedir.
29163 * sysdeps/unix/sysv/linux/configure: Regenerated.
29164
4535cd55
JM
291652012-03-21 Joseph Myers <joseph@codesourcery.com>
29166
29167 * manual/lang.texi (Old Varargs): Remove section.
29168 (How Variadic): Update menu.
29169 (va_start): Do not mention varargs.h.
29170
17228132
TS
291712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29172 Joseph Myers <joseph@codesourcery.com>
29173
29174 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29175 link test.
29176 * configure: Regenerated.
29177
8149f976
TS
291782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29179
05f3d1f6
UD
29180 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29181 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29182 conformtest.pl
8149f976 29183
1a4ac776
JM
291842012-03-21 Joseph Myers <joseph@codesourcery.com>
29185
be22ce65
JM
29186 * NOTES: Remove.
29187 * Makefile (files-for-dist): Remove NOTES.
29188 (NOTES): Remove rule.
29189 * README: Don't refer to NOTES.
29190 * manual/creature.texi: Don't include macros.texi.
29191 * manual/intro.texi (creature.texi): Remove comment referring to
29192 NOTES.
29193
40b601fb
JM
29194 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29195 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29196 * configure: Regenerated.
29197 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29198 LIBC_TRY_CC_OPTION.
29199 (libc_cv_as_i686): Likewise.
29200 (libc_cv_cc_avx): Likewise.
29201 (libc_cv_cc_sse2avx): Likewise.
29202 (libc_cv_cc_fma4): Likewise.
29203 (libc_cv_cc_novzeroupper): Likewise.
29204 * sysdeps/i386/configure: Regenerated.
29205
1a4ac776
JM
29206 [BZ #13883]
29207 * sysdeps/i386/fpu/s_cexp.S: Remove.
29208 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29209 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29210 * math/libm-test.inc (cexp_test): Add more tests.
29211 * sysdeps/i386/fpu/libm-test-ulps: Update.
29212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29213
a458e7fe
AM
292142012-03-21 Allan McRae <allan@archlinux.org>
29215
29216 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29217
0cb7efc5
JM
292182012-03-21 Joseph Myers <joseph@codesourcery.com>
29219
29220 [BZ #13871]
29221 * math/w_exp2.c: Do not include <float.h>.
29222 (o_threshold, u_threshold): Remove.
29223 (__exp2): Calculate result before checking finiteness and calling
29224 __kernel_standard.
29225 * math/w_exp2f.c: Likewise.
29226 * math/w_exp2l.c: Likewise.
29227 * math/libm-test.inc (exp2_test): Require overflow exception for
29228 1e6 input.
2460d3aa
JM
29229
29230 [BZ #3866]
29231 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29232 range of signed 64-bit integers before using fistpll. Remove
29233 checks for whether integers fit in mantissa bits.
29234 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29235 the range of signed 32-bit integers before using fistpl. Remove
29236 checks for whether integers fit in mantissa bits.
29237 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29238 (__ieee754_powl): Test for y outside the range of signed 64-bit
29239 integers before using fistpll. Reduce 64-bit values to 63-bit
29240 ones as needed.
29241 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29242 divide-by-zero is raised for zero to large negative powers.
29243 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29244 (__ieee754_powl): Test for y outside the range of signed 64-bit
29245 integers before using fistpll. Reduce 64-bit values to 63-bit
29246 ones as needed.
29247 * math/libm-test.inc (pow_test): Add more tests.
29248
eb96ffb0
L
292492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29250
29251 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29252 <stdio-common/_itoa.h>.
29253 * debug/segfault.c: Likewise.
29254 * elf/dl-cache.c: Likewise.
29255 * elf/dl-minimal.c: Likewise.
29256 * elf/dl-misc.c: Likewise.
29257 * elf/dl-sysdep.c: Likewise.
29258 * elf/dl-version.c: Likewise.
29259 * elf/rtld.c: Likewise.
29260 * hurd/hurdsock.c: Likewise.
29261 * hurd/lookup-retry.c: Likewise.
29262 * malloc/malloc.c: Likewise.
29263 * malloc/mtrace.c: Likewise.
29264 * nscd/nscd_getgr_r.c: Likewise.
29265 * nscd/nscd_getpw_r.c: Likewise.
29266 * nscd/nscd_getserv_r.c: Likewise.
29267 * posix/getopt_init.c: Likewise.
29268 * posix/wordexp.c: Likewise.
29269 * stdio-common/_itoa.c: Likewise.
29270 * stdio-common/printf_fphex.c: Likewise.
29271 * stdio-common/vfprintf.c: Likewise.
29272 * string/_strerror.c: Likewise.
29273 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29274 * sysdeps/i386/i686/hp-timing.h: Likewise.
29275 * sysdeps/mach/_strerror.c: Likewise.
29276 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29277 * sysdeps/mach/hurd/sethostid.c: Likewise.
29278 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29279 * sysdeps/mach/xpg-strerror.c: Likewise.
29280 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29281 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29282 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29283 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29284 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29285 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29286 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29287 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29288 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29289 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29290 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29291 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29292 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29293 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29294 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29295 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29296 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29297 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29298 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29299 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29300 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29301
29302 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29303
29304 * stdio-common/_itoa.h: Moved to ...
29305 * sysdeps/generic/_itoa.h: Here.
29306
29307 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29308
29309 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29310 instead of "_itoa.h" and "_itowa.h".
29311 * stdio-common/vfprintf.: Likewise.
29312
d1af992d
L
293132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29314
29315 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29316 <bits/wordsize.h>.
29317 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29318 (__signbit): Likwise.
29319 (llrintf): Likwise.
29320 (llrint): Likwise.
29321
114883e0
L
293222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29323
29324 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29325 __WORDSIZE != 64.
29326
c135cc1b
JM
293272012-03-20 Joseph Myers <joseph@codesourcery.com>
29328
29329 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29330 OVERFLOW_EXCEPTION_OK.
29331 * math/libm-test.inc ("Philosophy"): Update comment about
29332 exception testing.
29333 (OVERFLOW_EXCEPTION): Define.
29334 (OVERFLOW_EXCEPTION_OK): Likewise.
29335 (INVALID_EXCEPTION_OK): Renumber.
29336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29337 (IGNORE_ZERO_INF_SIGN): Likewise.
29338 (test_exceptions): Handle FE_OVERFLOW.
29339 (exp10_test): Expect overflow exceptions.
29340 (exp2_test): Likewise.
29341 (expm1_test): Likewise.
29342 (nextafter_test): Likewise.
29343 (pow_test): Likewise.
29344 (scalbn_test): Likewise.
29345 (scalbln_test): Likewise.
29346
95443d88
L
293472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29348
29349 * sysdeps/x86_64/bits/atomic.h
29350 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29351 64bit integer.
29352 (atomic_exchange_acq): Likewise.
29353 (__arch_exchange_and_add_body): Likewise.
29354 (__arch_add_body): Likewise.
29355 (atomic_add_negative): Likewise.
29356 (atomic_add_zero): Likewise.
29357
490df6c4
L
293582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29359
c2722551 29360 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
29361 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
29362
5e52b189
L
293632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29364
29365 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
29366 Check __x86_64__ instead of __WORDSIZE.
29367
a9879d4c
L
293682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29369
29370 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
29371
5df98260
DM
293722012-03-19 David S. Miller <davem@davemloft.net>
29373
e1497744
DM
29374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29375
5df98260
DM
29376 * sysdeps/sparc/fpu/fenv_private.h: New file.
29377 * sysdeps/sparc/fpu/math_private.h: Use it.
29378 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
29379 Remove.
29380 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
29381 (libc_feholdexcept_setroundl): Remove.
29382 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
29383 Remove.
29384 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
29385 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
29386
b4c35121
L
293872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29388
29389 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
29390 int64_t instead of long int.
29391 (INSERT_WORDS64): Likwise.
29392
56965fd7
L
293932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29394
29395 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
29396 _Unwind_GetCFA return to _Unwind_Ptr first.
29397
83d1aec8
JM
293982012-03-19 Joseph Myers <joseph@codesourcery.com>
29399
1897ad44
JM
29400 [BZ #13629]
29401 * math/s_clog.c: Include <float.h>.
29402 (__clog): Scale large or subnormal inputs.
29403 * math/s_clogf.c: Likewise.
29404 * math/s_clogl.c: Likewise.
29405 * math/s_clog10.c: Include <float.h>.
29406 (M_LOG10_2): Define.
29407 (__clog10): Scale large or subnormal inputs.
29408 * math/s_clog10f.c: Likewise.
29409 * math/s_clog10l.c: Likewise.
29410 * math/libm-test.inc (clog_test): Add more tests.
29411 (clog10_test): Likewise.
29412 * sysdeps/i386/fpu/libm-test-ulps: Update.
29413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29414
7726d6a9
JM
29415 [BZ #11451]
29416 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
29417 x and y.
29418 * math/libm-test.inc (atan2_test): Add another test.
29419
83d1aec8
JM
29420 * Makerules (common-objdir-compile): Remove.
29421 * sysdeps/unix/Makefile (config-generated): Do not add
29422 $(unix-generated) to variable.
29423 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
29424 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
29425 Remove rule.
29426 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
29427 Likewise.
29428 [generic bits/local_lim.h] (before-compile): Do not append to
29429 variable.
29430 [generic bits/local_lim.h] (common-generated): Likewise.
29431 [generic sys/param.h] (before-compile): Do not append to variable.
29432 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
29433 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
29434 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
29435 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
29436 include.
29437 [generic sys/param.h] (sys/param.h-includes): Remove variable.
29438 [generic sys/param.h] (sys/param.h-includes): Remove rule.
29439 [generic sys/param.h] ($(addprefix
29440 $(common-objpfx),$(sys/param.h-includes))): Likewise.
29441 [generic sys/param.h] (common-generated): Do not append to
29442 variable.
29443 [generic sys/param.h] (sysdep_headers): Likewise.
29444 [generic bits/errno.h] (before-compile): Do not append to
29445 variable.
29446 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
29447 rule.
29448 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
29449 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
29450 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
29451 [generic bits/errno.h] (common-generated): Do not append to
29452 variable.
29453 [generic bits/ioctls.h] (before-compile): Do not append to
29454 variable.
29455 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
29456 rule.
29457 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
29458 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
29459 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
29460 rule.
29461 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
29462 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
29463 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
29464 [generic bits/ioctls.h] (common-generated): Do not append to
29465 variable.
29466 [generic sys/syscall.h] (syscall.h): Remove variable.
29467 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
29468 rule.
29469 [generic sys/syscall.h] (before-compile): Do not append to
29470 variable.
29471 [generic sys/syscall.h] (common-generated): Likewise.
29472 * sysdeps/unix/errnos-tmpl.c: Remove file.
29473 * sysdeps/unix/errnos.awk: Likewise.
29474 * sysdeps/unix/ioctls-tmpl.c: Likewise.
29475 * sysdeps/unix/ioctls.awk: Likewise.
29476 * sysdeps/unix/mk-local_lim.c: Likewise.
29477 * sysdeps/unix/snarf-ioctls: Likewise.
29478
4851a949
RH
294792012-03-19 Richard Henderson <rth@twiddle.net>
29480
bd37f2ee
RH
29481 * sysdeps/i386/fpu/fenv_private.h: New file.
29482 * sysdeps/i386/fpu/math_private.h: Use it.
29483 (math_opt_barrier, math_force_eval): Remove.
29484 (libc_feholdexcept_setround_53bit): Remove.
29485 (libc_feupdateenv_53bit): Remove.
29486 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29487 (math_opt_barrier, math_force_eval): Remove.
29488 (libc_feholdexcept): Remove.
29489 (libc_feholdexcept_setround): Remove.
29490 (libc_fetestexcept, libc_fesetenv): Remove.
29491 (libc_feupdateenv_test): Remove.
29492 (libc_feupdateenv, libc_feholdsetround): Remove.
29493 (libc_feresetround): Remove.
29494
d0adc922
RH
29495 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
29496 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
29497
0fe0f1f8
RH
29498 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
29499 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
29500 (libc_feupdateenv_testl): New.
29501 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
29502 (libc_feupdateenv_testf): New.
29503 (libc_feupdateenv): Use libc_feupdateenv_test.
29504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
29505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
29506
eb92c487
RH
29507 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
29508 (libc_feholdsetroundf, libc_feholdsetroundl): New.
29509 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
29510 (libc_feresetround_noex): New.
29511 (libc_feresetround_noexf): New.
29512 (libc_feresetround_noexl): New.
29513 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
29514 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
29515 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
29516 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
29517 SET_RESTORE_ROUND.
29518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29519 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
29520 (__cos): Likewise.
29521 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
29522 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29523 SET_RESTORE_ROUND_NOEX.
29524 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
29525 SET_RESTORE_ROUND_NOEXF.
29526 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
29527 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
29528 (libc_feholdsetroundf): New.
29529 (libc_feresetround, libc_feresetroundf): New.
29530
7d2e8012
RH
29531 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
29532 (libc_feholdexcept_setround_53bit): Convert from macro to function.
29533 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
29534
b4dabbb4
RH
29535 * sysdeps/generic/math_private.h: Include <fenv.h>.
29536 (default_libc_feholdexcept): New.
29537 (default_libc_feholdexcept_setround): New.
29538 (default_libc_fesetenv, default_libc_feupdateenv): New.
29539 (libc_feholdexcept): Only define if undefined.
29540 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
29541 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
29542 (libc_feholdexcept_setroundl): Likewise.
29543 (libc_feholdexcept_setround_53bit): Likewise.
29544 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
29545 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
29546 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
29547 (libc_feupdateenv_53bit): Likewise.
29548 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
29549 (libc_feholdexcept): Convert from macro to inline function.
29550 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
29551 (libc_fesetenv, libc_feupdateenv): Likewise.
29552
4851a949
RH
29553 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
29554 not previously defined.
29555 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
29556 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
29557 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
29558 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
29559 * sysdeps/ieee754/flt-32/math_private.h: New file.
29560 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
29561 math_private.h below SET_FLOAT_WORD.
29562 (__isnan, __isinf_ns, __finite): Remove.
29563 (__isnanf, __isinf_nsf, __finitef): Remove.
29564
e79d442e
AS
295652012-03-18 Andreas Schwab <schwab@linux-m68k.org>
29566
29567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29568
90b80344
DM
295692012-03-17 David S. Miller <davem@davemloft.net>
29570
29571 [BZ #6471]
29572 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
29573 for 2.16.
29574
edc21804
DM
295752012-03-16 David S. Miller <davem@davemloft.net>
29576
77e927af
DM
29577 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
29578 warnings.
29579
374976dd
DM
29580 [BZ #6471]
29581 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
29582 properly.
29583 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
29584 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
29585 sysdep_routines when subdir is sysvipc.
29586 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
29587 __getshmlba helper.
29588
edc21804
DM
29589 * sysdeps/sparc/fpu/libm-test/ulps: Update.
29590
473c3ef3
L
295912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29592
29593 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
29594 [__LP64__].
29595
eb0f39b6
L
295962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29597
29598 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
29599 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
29600 (__lround): Renamed to ...
29601 (__llround): This. Replace long int with long long int.
29602 Define lround functions as aliases of llround functions.
29603 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
29604
6b6cd74b
L
296052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29606
29607 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
29608 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
29609 adresses to uintptr_t. Replace "long int" and "unsigned long
29610 int" with "greg_t" on va_arg.
29611
f1a77b01
L
296122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29613
29614 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
29615 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
29616
29617 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
29618 Move e_machine check before EI_CLASS check. Handle x32
29619 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
29620 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
29621 SKIP_EM_IA_64 and include
29622 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29623
29624 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
29625 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
29626 (add_system_dir): New macro.
29627
29628 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
29629 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
29630
11b90b9f
JM
296312012-03-16 Joseph Myers <joseph@codesourcery.com>
29632
c36e1d23
JM
29633 [BZ #2551]
29634 [BZ #2552]
29635 [BZ #2553]
29636 [BZ #2554]
29637 [BZ #2562]
29638 [BZ #2563]
29639 [BZ #2565]
29640 [BZ #2566]
29641 [BZ #2576]
29642 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
29643 (y0): Likewise.
29644 * math/w_j0f.c (j0f): Likewise.
29645 (y0f): Likewise.
29646 * math/w_j0l.c (__j0l): Likewise.
29647 (__y0l): Likewise.
29648 * math/w_j1.c (j1): Likewise.
29649 (y1): Likewise.
29650 * math/w_j1f.c (j1f): Likewise.
29651 (y1f): Likewise.
29652 * math/w_j1l.c (__j1l): Likewise.
29653 (__y1l): Likewise.
29654 * math/w_jn.c (jn): Likewise.
29655 (yn): Likewise.
29656 * math/w_jnf.c (jnf): Likewise.
29657 (ynf): Likewise.
29658 * math/w_jnl.c (__jnl): Likewise.
29659 (__ynl): Likewise.
29660 * math/libm-test.inc (j0_test): Add more tests.
29661 (j1_test): Likewise.
29662 (jn_test): Likewise. Add trailing semicolon to existing test.
29663 (y0_test): Likewise.
29664 (y1_test): Likewise.
29665 * sysdeps/i386/fpu/libm-test-ulps: Update.
29666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29667
11b90b9f
JM
29668 [BZ #13851]
29669 [BZ #13854]
29670 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29671 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29672 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29673 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29674 (__tanl): Set errno for infinite argument.
29675 * sysdeps/i386/fpu/mptan.c: Remove.
29676 * sysdeps/i386/fpu/s_tan.S: Likewise.
29677 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29678 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29679 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29680 * math/libm-test.inc (tan_test): Add more tests and enable more
29681 tests for double and long double.
29682 * sysdeps/i386/fpu/libm-test-ulps: Update.
29683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29684
6a1bd2a1
JK
296852012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29686
29687 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29688 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29689
10a803e0
RM
296902012-03-16 Roland McGrath <roland@hack.frob.com>
29691
29692 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29693 * configure.in: Use it for both main tree and add-ons.
29694 * configure: Regenerated.
29695
f196c7f7
L
296962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29697
29698 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29699
8848d99d
JM
297002012-03-16 Joseph Myers <joseph@codesourcery.com>
29701
96cbe7f4
JM
29702 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29703 in comment.
29704
8848d99d
JM
29705 [BZ #13851]
29706 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29707 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29708 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29709 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29710 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29711 infinite argument.
29712 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29713 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29714 != 0 for prec == 2.
29715 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29716 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29717 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29718 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29719 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29720 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29721 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29722 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29723 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29724 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29725 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29726 * math/libm-test.inc (cos_test): Add more tests and enable more
29727 tests for long double.
29728 (sin_test): Likewise.
29729 (sincos_test): Likewise.
29730 * sysdeps/i386/fpu/libm-test-ulps: Update.
29731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29732
dd7f4703
DM
297332012-03-16 David S. Miller <davem@davemloft.net>
29734
29735 * sysdeps/sparc/fpu/math_private.h: New file.
29736
006f1daa
DM
297372012-03-15 David S. Miller <davem@davemloft.net>
29738
c0c83bc8
DM
29739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29740 file.
e6a62e18 29741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
29742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29743 file.
e6a62e18
DM
29744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29750 sysdep routines.
29751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29752
88cb87d9
DM
29753 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29754 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29755
006f1daa 29756 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
29757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29758 sparc-ifunc.h
006f1daa 29759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
29760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29761 Likewise.
29762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29763 Likewise.
006f1daa
DM
29764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
29767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29768 Likewise.
006f1daa
DM
29769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
29773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29774 Likewise.
29775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29776 Likewise.
006f1daa
DM
29777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29782 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29799 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29800 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29801
11e0098e
AS
298022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29803
29804 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29805 scaling.
29806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29807
e85b09d0
AJ
298082012-03-15 Andreas Jaeger <aj@suse.de>
29809
29810 [BZ #13852]
29811 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29812 ieee754/flt-32 implementation for sin, cos and sincos.
29813 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29814 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29815 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29816 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29817 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29818 ieee754/flt-32 implementation for tan.
29819
29820 * math/libm-test.inc (cos_test): Enable some large input tests for
29821 float as well
29822 (sin_test): Likewise.
29823 (sincos_test): Likewise.
29824 (tan_test): Add tests for large input.
29825
29826 * sysdeps/i386/fpu/libm-test-ulps: Update.
29827
81c64153
AJ
298282012-03-15 Andreas Jaeger <aj@suse.de>
29829
29830 [BZ #13658]
29831 * math/libm-test.inc (cos_test): Add more test cases.
29832 (sin_test): Likewise.
29833 (sincos_test): Likewise.
29834
7bbfa5c6
AJ
298352012-03-15 Andreas Jaeger <aj@suse.de>
29836
29837 [BZ #13837]
29838 * math/libm-test.inc (cos_test): Add a test case for large input
29839 value.
29840 (sin_test): Likewise.
29841 (sincos_test): Likewise.
29842
298432012-03-15 Andreas Jaeger <aj@suse.de>,
29844 Joseph Myers <joseph@codesourcery.com>
29845
29846 [BZ #13658]
0671f479 29847 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
29848 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29849 * sysdeps/i386/fpu/branred.c: Likewise.
29850 * sysdeps/i386/fpu/dosincos.c: Likewise.
29851 * sysdeps/i386/fpu/mpa.c: Likewise.
29852 * sysdeps/i386/fpu/s_cos.S: Likewise.
29853 * sysdeps/i386/fpu/s_sin.S: Likewise.
29854 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29855 * sysdeps/i386/fpu/sincos32.c: Likewise.
29856
29857 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29858 Define.
29859 (libc_feupdateenv_53bit): Define.
29860 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29861 Define.
29862 (libc_feupdateenv_53bit): Define.
29863
29864 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29865 53 bit (without extend i386 double precision).
29866
29867 * math/libm-test.inc (sincos_test): Add tests for large input.
29868 (sin): Likewise.
29869 (cos): Likewise.
29870
29871 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29872
9cad04ea
AS
298732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29874
29875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29876
f7062b9a
DM
298772012-03-15 David S. Miller <davem@davemloft.net>
29878
29879 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29880 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29881 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29882 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
29894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29895 file.
f7062b9a 29896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
29897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29898 file.
f7062b9a 29899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
29900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29901 file.
f7062b9a 29902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
29903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29904 file.
f7062b9a
DM
29905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29906 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29907 fmin/fmax sysdep routines.
29908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29909
7bd951ff
DM
299102012-03-14 David S. Miller <davem@davemloft.net>
29911
559398ab
DM
29912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29915 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29916 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29917 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29918 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29925 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29926 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29934 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29936 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29939 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29941 routines.
29942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29943 file.
559398ab 29944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
29945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29946 file.
559398ab 29947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
29948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29949 file.
559398ab 29950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
29951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29952 file.
559398ab 29953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
29954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29955 file.
559398ab 29956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
29957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29958 file.
29959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29960 file.
29961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29962 file.
29963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29964 file.
29965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29966 New file.
29967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29968 file.
29969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29970 file.
559398ab 29971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
29972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29973 file.
559398ab 29974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
29975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29976 file.
559398ab 29977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
29978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29979 file.
559398ab 29980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
29981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29982 VIS3 routines.
559398ab
DM
29983
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29985 New file.
29986
5a1c1e32
DM
29987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29988
eae47a36
DM
29989 * sysdeps/sparc/configure.in: New file.
29990 * sysdeps/sparc/configure: Generate.
29991 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29992 * configure: Regenerate.
29993 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29994 * config.make.in (have-as-vis3): New.
29995 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29996 available use -Av9d instead of -Av9a.
29997 * sysdeps/sparc/sparc64/Makefile: Likewise.
29998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
29999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30000 New file.
30001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30002 file.
30003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30004 New file.
30005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30006 file.
eae47a36
DM
30007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30008 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30009 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30010 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30011 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30012
c0c83bc8
DM
30013 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30014 fzeros/fnegs to load 0x80000000 into a float register instead of
30015 using the stack.
7bd951ff
DM
30016 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30017
bd951ccb
JM
300182012-03-14 Joseph Myers <joseph@codesourcery.com>
30019
30020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30021 bits/syscall.h.
30022 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30023 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30024 ($(inst_includedir)/bits/syscall.h): Remove rule.
30025 ($(objpfx)bits/syscall.d): Include instead of
30026 $(objpfx)syscall-list.d.
30027 (generated): Change syscall-list.h and syscall-list.d to
30028 bits/syscall.h and bits/syscall.d.
30029
bb4e6db2
RM
300302012-03-14 Roland McGrath <roland@hack.frob.com>
30031
30032 [BZ #13846]
30033 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30034
aa4a2ae1
JM
300352012-03-14 Joseph Myers <joseph@codesourcery.com>
30036
e456826d
JM
30037 [BZ #13841]
30038 * math/s_csqrt.c: Include <float.h>.
30039 (__csqrt): Scale large or subnormal inputs.
30040 * math/s_csqrtf.c: Likewise.
30041 * math/s_csqrtl.c: Likewise.
30042 * math/libm-test.inc (csqrt_test): Add more tests.
30043 * sysdeps/i386/fpu/libm-test-ulps: Update.
30044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30045
aa4a2ae1
JM
30046 [BZ #13840]
30047 * math/libm-test.inc (hypot_test): Add more tests.
30048
7c10fd35
DM
300492012-03-13 David S. Miller <davem@davemloft.net>
30050
30051 [BZ #13840]
30052 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30053 double-precision for the calculation instead of scaling.
30054
f453b98b
JM
300552012-03-13 Joseph Myers <joseph@codesourcery.com>
30056
30057 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30058 manipulate bits before adding and subtracting TWO52[sx].
30059 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30060 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30061 Likewise.
30062 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30063
09a3453f
DM
300642012-03-13 David S. Miller <davem@davemloft.net>
30065
8e59da90
DM
30066 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30067 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30069 rtld-global-offsets.h
30070 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30071
2a8ab7f2
DM
30072 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30073 large parameters.
30074
10f62770
DM
30075 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30076
5f0bdb18
DM
30077 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30078 'err' in the ifdef scope in which it is actually used.
30079
09a3453f
DM
30080 * nss/nss_db/db-init.c: Include string.h
30081
b4b2eb5e
DM
300822012-03-12 David S. Miller <davem@davemloft.net>
30083
98bb2f1c
DM
30084 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30085 masking out of the most significant byte of random value used.
30086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30087 Fix coding style in previous change.
30088
b4b2eb5e
DM
30089 * sysdeps/unix/sysv/linux/kernel-features.h
30090 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30091 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30092 expression.
30093 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30094 later.
30095
6e226b09
DM
300962012-03-11 David S. Miller <davem@davemloft.net>
30097
a1bcbd40
DM
30098 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30099 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30101 for 'resultvar' otherwise things get truncated on 64-bit.
30102
cb9d6174
DM
30103 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30104 Fix masking out of the most significant byte of random value used.
30105
6e226b09
DM
30106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30107
058c132d
AS
301082012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30109
30110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30111
2d2cd515
DM
301122012-03-09 David S. Miller <davem@davemloft.net>
30113
30114 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30115 variables with appropriate CPP guards.
30116 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30117 frame pointer, not the stack pointer. Correct layout comments. Fix test
30118 on resulting framesize and the management of the outregs buffer for pltexit.
30119 Preserve floating point return values across _dl_call_pltexit call.
30120 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30121 framesize and the management of the outregs buffer for pltexit.
30122 Preserve floating point return values across _dl_call_pltexit
30123 call.
30124 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30125 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30126 (print_exit): Fix format string for return register value.
30127
9a07f9d0
JM
301282012-03-10 Joseph Myers <joseph@codesourcery.com>
30129
30130 * sunrpc/Makefile (others): Add rpcgen.
30131 ($(objpfx)rpcgen): Remove special build rule and dependency on
30132 libc.
30133 * sunrpc/rpcgen.c: New file.
30134
547b5e30
PE
301352012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30136
c524201a
PE
30137 [BZ #13673]
30138 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30139 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30140 * sysdeps/i386/crti.S: Likewise.
30141 * sysdeps/i386/crtn.S: Likewise.
30142 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30143 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30144 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30145 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30146 * sysdeps/sh/crti.S: Likewise.
30147 * sysdeps/sh/crtn.S: Likewise.
30148 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30149
7b6235f2
PE
30150 [BZ #13673]
30151 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30152 with URL.
30153 * locale/programs/locfile-kw.gperf: Likewise.
30154 * locale/programs/charmap-kw.h: Regenerated.
30155 * locale/programs/locfile-kw.h: Likewise.
30156
547b5e30
PE
30157 [BZ #13673]
30158 * intl/plural.y: Replace FSF snail mail address with URL.
30159 * intl/plural.c: Regenerated.
30160
5f0a5dae
RH
301612012-03-09 Richard Henderson <rth@twiddle.net>
30162
30163 * include/math_private.h: Remove file.
30164 * math/math_private.h: Move file ...
30165 * sysdeps/generic/math_private.h: ... here.
30166
b8c03620
RH
30167 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30168 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30169 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30170
4e234f5d 30171 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30172 and <math_private.h>.
30173 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30174 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30175 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30176 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30177 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30178 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30179 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30180 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30181 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30182 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30183 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30184 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30185 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30187 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30188 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30189 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30190 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30191 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30192 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30193 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30194 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30195 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30196 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30197 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30198 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30199 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30200 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30203 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30204 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30205 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30207 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30208 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30209 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30210 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30211 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30212 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30213 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30214 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30222 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30234 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30235 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30236 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30237 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30238 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30239 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30240 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30241 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30242 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30243 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30244 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30245 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30246 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30247 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30248 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30253 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30254 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30255 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30256 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30257 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30260 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30261 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30262 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30263 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30264 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30266 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30267 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30268 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30269 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30270 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30271 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30272 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30273 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30274 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30275 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30276 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30277 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30278 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30279 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30280 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30281 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30282 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30283 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30284 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30285 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30287 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30289 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30290 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30291 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30292 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30293 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30294 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30295 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30296 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30297 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30299 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30300 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30301 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30302 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30303 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30304 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30306 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30307 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30308 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30309 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30310 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30311 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30312 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30313 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30315 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30316 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30317 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30321 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30322 * sysdeps/ieee754/k_standard.c: Likewise.
30323 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30324 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30325 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30326 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30327 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30328 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30329 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30330 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30331 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30332 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30333 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30334 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30335 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30336 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30337 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30338 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30339 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30340 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30342 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30344 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30345 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30346 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30347 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30348 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30349 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30352 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30353 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30354 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30355 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30356 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30359 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30360 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
30361 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
30362 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30363 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30364 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30365 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30366 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30367 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30368 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30369 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30370 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30373 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30374 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30375 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30376 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
30377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30379 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
30380 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
30381 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30382 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30383 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30384 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30385 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30386 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30387 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30388 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30389 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30390 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30392 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30393 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30395 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30396 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30397 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30398 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30399 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
30400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30404 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30405 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30406 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30407 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
30408 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30409 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30410 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30411 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30412 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
30414 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30415 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30416 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30417 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30418 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30419 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
30420 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30421 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30422 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
30423 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30424 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30425 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30426 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30427 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
30428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30430 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30431 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
30432 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30433 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30434 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30437 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30438 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30439 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30440 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30441 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30442 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30443 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30444 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30445 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30446 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30447 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30448 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
30449 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30450 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30451 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30452 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30453 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30454 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30455 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30456 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
30457 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30458 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30459 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
30460 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
30461 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30462 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
30463 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
30464 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30465 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
30466 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
30467 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30468 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30469 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30470 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30471 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30472 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
30473 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30474 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
30477 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
30478 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
30479 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30480 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30482 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
30483 * sysdeps/ieee754/s_lib_version.c: Likewise.
30484 * sysdeps/ieee754/s_matherr.c: Likewise.
30485 * sysdeps/ieee754/s_signgam.c: Likewise.
30486 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30487 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
30489 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
30490 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
30491 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30492 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
30493 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
30494 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
30495 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
30496 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30497 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
30498 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30499 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30500 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
30501 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30502 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30503 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30504 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 30507
1991fa03
JM
305082012-03-09 Joseph Myers <joseph@codesourcery.com>
30509
30510 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
30511 * sunrpc/rpc_main.c: Likewise.
30512 * sunrpc/rpc_svcout.c: Likewise.
30513
60d6f5a6
DM
305142012-03-09 David S. Miller <davem@davemloft.net>
30515
30516 * include/math_private.h: New file.
30517
4962050e
JM
305182012-03-09 Joseph Myers <joseph@codesourcery.com>
30519
02a6f887
JM
30520 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
30521 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
30522 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
30523 from <bits/socket_type.h>.
30524 (enum __socket_type): Don't define here.
30525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
30526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30527 bits/socket_type.h.
30528
c6e013c1
JM
30529 [BZ #13566]
30530 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
30531 checking __USE_GNU.
30532
4962050e
JM
30533 * Makerules ($(inst_includedir)/%.h): New rule.
30534 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
30535 (install-others): Remove variable setting.
30536 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
30537
38842f45
RH
305382012-03-08 Richard Henderson <rth@twiddle.net>
30539
67bb6da6
RH
30540 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
30541 from macro to inline function; merge with the
30542 !__LIBC_INTERNAL_MATH_INLINES version.
30543 (__ieee754_sqrtf): Likewise.
30544
15194b4b
RH
30545 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
30546 to inline function.
30547 (__rintf, __floor, __floorf): Likewise.
30548
64e21ede
RH
30549 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
30550 macro to inline function.
30551 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
30552
38842f45
RH
30553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
30554 not <math/math_private.h>.
30555
c64bf5fe
DM
305562012-03-08 David S. Miller <davem@davemloft.net>
30557
30558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
30559 copyright year.
30560 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
30561
82d86f28
TS
305622012-03-08 Thomas Schwinge <thomas@codesourcery.com>
30563
30564 * resolv/gai_misc.c (handle_requests): Fix struct timespec
30565 normalization.
30566 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
30567 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
30568
aea5d727
UD
305692012-03-08 Ulrich Drepper <drepper@gmail.com>
30570
30571 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
30572 be defined individually, they must be defined as a block. Define
30573 S for printing a string instead of hidint the different by using a
30574 macro for adding the 'l'.
30575 * stdio-common/tst-fphex-wide.c: Adjust.
30576
70bca0a3
MP
305772012-03-07 Marek Polacek <polacek@redhat.com>
30578
30579 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
30580
65b81130
MP
305812012-03-08 Marek Polacek <polacek@redhat.com>
30582
30583 [BZ #13806]
30584 * stdio-common/Makefile (tests): Add tst-fphex-wide.
30585 * stdio-common/tst-fphex.c: Define a few macros to make the
30586 test reusable. Use them.
30587 * stdio-common/tst-fphex-wide.c: New file.
30588
07037eeb
JM
305892012-03-08 Joseph Myers <joseph@codesourcery.com>
30590
a7a93d50
JM
30591 [BZ #6911]
30592 * manual/macros.texi (gnusystems): New macro.
30593 (nongnusystems): Likewise.
30594 (gnulinuxhurdsystems): Likewise.
30595 (gnuhurdsystems): Likewise..
30596 (gnulinuxsystems): Likewise.
30597 * manual/charset.texi: Use new macros or @theglibc{} to refer to
30598 variants of the GNU system, not "GNU system".
30599 * manual/conf.texi: Likewise.
30600 * manual/errno.texi: Likewise. Update example of errno macro
30601 expansion.
30602 * manual/filesys.texi: Likewise.
30603 (getumask): Document as specific to GNU/Hurd.
30604 * manual/install.texi: Likewise. Reword some references to
30605 GNU/Linux.
30606 * manual/intro.texi: Likewise.
30607 * manual/io.texi: Likewise.
30608 (File Name Portability): Detail which constraints are inapplicable
30609 to all GNU systems and which are only inapplicable to GNU/Hurd.
30610 * manual/job.texi: Likewise.
30611 * manual/llio.texi: Likewise.
30612 (O_NOCTTY): Document as present on GNU/Linux.
30613 * manual/maint.texi: Likewise.
30614 * manual/memory.texi: Likewise.
30615 * manual/pattern.texi: Likewise.
30616 * manual/pipe.texi: Likewise.
30617 * manual/process.texi: Likewise.
30618 * manual/resource.texi: Likewise.
30619 (RUSAGE_CHILDREN): Remove statement about specifying a particular
30620 child on GNU/Hurd.
30621 * manual/setjmp.texi: Likewise.
30622 * manual/signal.texi: Likewise.
30623 * manual/startup.texi: Likewise.
30624 * manual/stdio.texi: Likewise.
30625 * manual/terminal.texi: Likewise.
30626 (ONLCR): Document as POSIX.
30627 (OXTABS): Document availability on GNU/Linux as XTABS.
30628 (ONOEOT): Document availability separately from other bits.
30629 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
30630 * manual/time.texi: Likewise.
30631 * manual/users.texi: Likewise.
30632 * INSTALL: Regenerated.
30633 * sysdeps/gnu/errlist.c: Regenerated.
30634
07037eeb
JM
30635 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
30636 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
30637 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
30638 puts.
30639 * configure: Regenerated.
30640
d1d3431a
JM
306412012-03-07 Joseph Myers <joseph@codesourcery.com>
30642
af6a1e37
JM
30643 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
30644 default includes instead of AC_HEADER_CHECK.
30645 * sysdeps/i386/configure: Regenerated.
30646
d1d3431a
JM
30647 [BZ #10716]
30648 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
30649 * math/s_cacoshf.c (__cacoshf): Likewise.
30650 * math/s_cacoshl.c (__cacoshl): Likewise.
30651 * math/s_casinh.c (__casinh): Set signs of result from argument.
30652 * math/s_casinhf.c (__casinhf): Likewise.
30653 * math/s_casinhl.c (__casinhl): Likewise.
30654 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
30655 (casinh_test): Add more tests.
30656 * sysdeps/i386/fpu/libm-test-ulps: Update.
30657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30658
482ff4da
UD
306592012-03-07 Ulrich Drepper <drepper@gmail.com>
30660
872fda05
UD
30661 * po/zh_TW.po: Update from translation team.
30662
a4300c7a
UD
30663 * login/Makefile (distribute): Remove variable.
30664 * catgets/Makefile: Likewise.
30665 * mach/Makefile: Likewise.
30666 * malloc/Makefile: Likewise.
30667 * misc/Makefile: Likewise.
30668 * iconv/Makefile: Likewise.
30669 * nscd/Makefile: Likewise.
30670 * hurd/Makefile: Likewise.
30671 * manual/Makefile: Likewise.
30672 * locale/Makefile: Likewise.
30673 * intl/Makefile: Likewise.
30674 * conform/Makefile: Likewise.
30675 * nss/Makefile: Likewise.
30676 * time/Makefile: Likewise.
30677 * soft-fp/Makefile: Likewise.
30678 * dirent/Makefile: Likewise.
30679 * gmon/Makefile: Likewise.
30680 * po/Makefile: Likewise.
30681 * rt/Makefile: Likewise.
30682 * socket/Makefile: Likewise.
30683 * math/Makefile: Likewise.
30684 * signal/Makefile: Likewise.
30685 * debug/Makefile: Likewise.
30686 * elf/Makefile: Likewise.
30687 * timezone/Makefile: Likewise.
30688 * stdlib/Makefile: Likewise.
30689 * iconvdata/Makefile: Likewise.
30690 * sunrpc/Makefile: Likewise.
30691 * io/Makefile: Likewise.
30692 * argp/Makefile: Likewise.
30693 * inet/Makefile: Likewise.
30694 * hesiod/Makefile: Likewise.
30695 * grp/Makefile: Likewise.
30696 * csu/Makefile: Likewise.
30697 * wctype/Makefile: Likewise.
30698 * crypt/Makefile: Likewise.
30699 * libio/Makefile: Likewise.
30700 * string/Makefile: Likewise.
30701 * nis/Makefile: Likewise.
30702 * resolv/Makefile: Likewise.
30703 * stdio-common/Makefile: Likewise.
30704 * wcsmbs/Makefile: Likewise.
30705 * dlfcn/Makefile: Likewise.
30706 * posix/Makefile: Likewise.
30707
3b7c4e74 30708 [BZ #6959]
482ff4da
UD
30709 * timezone/Makefile: Don't install timezone files, just the programs
30710 and scripts.
30711
f72ed77d
UD
307122012-03-06 Ulrich Drepper <drepper@gmail.com>
30713
a000466f
UD
30714 * nss/databases.def: Add missing gshadow entry.
30715
f72ed77d
UD
30716 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30717
a53b7a4e
MP
307182012-03-06 Marek Polacek <polacek@redhat.com>
30719
30720 [BZ #13726]
30721 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30722 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30723 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30724 * stdio-common/tst-long-dbl-fphex.c: New file.
30725
e9258400
DM
307262012-03-06 David S. Miller <davem@davemloft.net>
30727
30728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30729 (set_obp_int): New function.
30730 (get_obp_int): New function.
30731 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
30732 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30733 Avoid unused variable warnings on 'val' and use builtin_expect.
30734 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30735 __builtin_expect.
e9258400
DM
30736 (INLINE_CLONE_SYSCALL): Likewise.
30737
3bd2c723
DM
307382012-03-05 David S. Miller <davem@davemloft.net>
30739
30740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30741
bbb78d03
AS
307422012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30743
884c5db4
AS
30744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30745
bbb78d03
AS
30746 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30747 only for |x| >= 40.
30748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30749
1c9f702a 307502012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
30751
30752 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30753 Replace gettimeofday with __vdso_gettimeofday.
30754
7be16f82
RM
30755 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30756 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30757 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
30758
30759 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30760 time with __vdso_time.
30761
ed58a00f
JM
307622012-03-05 Joseph Myers <joseph@codesourcery.com>
30763
30764 * manual/lang.texi (size_t): Note types to which size_t may be
30765 equivalent with the GNU C Library, but do not describe when
30766 differences between them are significant.
30767
30ee4ced
AJ
307682012-03-05 Andreas Jaeger <aj@suse.de>
30769
30770 * sysdeps/i386/fpu/libm-test-ulps: Update.
30771
b7cd39e8
JM
307722012-03-05 Joseph Myers <joseph@codesourcery.com>
30773
30774 [BZ #3976]
30775 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30776 (__ieee754_pow): Save and restore rounding mode and use
30777 round-to-nearest for main computations.
30778 * math/libm-test.inc (pow_test_tonearest): New function.
30779 (pow_test_towardzero): Likewise.
30780 (pow_test_downward): Likewise.
30781 (pow_test_upward): Likewise.
30782 (main): Call the new functions.
30783 * sysdeps/i386/fpu/libm-test-ulps: Update.
30784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
30785
30786 [BZ #3976]
30787 * math/libm-test.inc (cosh_test_tonearest): New function.
30788 (cosh_test_towardzero): Likewise.
30789 (cosh_test_downward): Likewise.
30790 (cosh_test_upward): Likewise.
30791 (sinh_test_tonearest): Likewise.
30792 (sinh_test_towardzero): Likewise.
30793 (sinh_test_downward): Likewise.
30794 (sinh_test_upward): Likewise.
30795 (main): Call the new functions.
30796 * sysdeps/i386/fpu/libm-test-ulps: Update.
30797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30798
6c6a98c9
TV
307992012-03-05 Tom de Vries <tom@codesourcery.com>
30800
30801 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30802 default stack guard is set in last bytes.
30803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30804
21bb2d2e 308052012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 30806
21bb2d2e 30807 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 30808
21bb2d2e
AJ
30809 [BZ #13656]
30810 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30811 possibly allocate from heap instead of stack.
30812 * stdio-common/bug-vfprintf-nargs.c: New file.
30813 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 30814
c6922934
AS
308152012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30816
30817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30818
bc957d53
MP
308192012-03-03 Marek Polacek <polacek@redhat.com>
30820
30821 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30822 * math/math_private.h: Likewise.
30823 * stdlib/tst-strtod.c: Likewise.
30824 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30825 * sysdeps/x86_64/bits/atomic.h: Likewise.
30826
6358490d
DM
308272012-03-02 David S. Miller <davem@davemloft.net>
30828
30829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30833 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30834 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30835 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30836 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30837
01ae168d
RM
308382012-03-02 Roland McGrath <roland@hack.frob.com>
30839
d9a17c07
RM
30840 [BZ #13792]
30841 * manual/examples/README: New file, says the example source files
30842 can be used under GPL>=2.
30843 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30844 line containing just "*/".
30845 * manual/examples/add.c: Add copyright header (GPL>=2).
30846 * manual/examples/argp-ex1.c: Likewise.
30847 * manual/examples/argp-ex2.c: Likewise.
30848 * manual/examples/argp-ex3.c: Likewise.
30849 * manual/examples/argp-ex4.c: Likewise.
30850 * manual/examples/atexit.c: Likewise.
30851 * manual/examples/db.c: Likewise.
30852 * manual/examples/dir.c: Likewise.
30853 * manual/examples/dir2.c: Likewise.
30854 * manual/examples/execinfo.c: Likewise.
30855 * manual/examples/filecli.c: Likewise.
30856 * manual/examples/filesrv.c: Likewise.
30857 * manual/examples/fmtmsgexpl.c: Likewise.
30858 * manual/examples/genpass.c: Likewise.
30859 * manual/examples/inetcli.c: Likewise.
30860 * manual/examples/inetsrv.c: Likewise.
30861 * manual/examples/isockad.c: Likewise.
30862 * manual/examples/longopt.c: Likewise.
30863 * manual/examples/memopen.c: Likewise.
30864 * manual/examples/memstrm.c: Likewise.
30865 * manual/examples/mkfsock.c: Likewise.
30866 * manual/examples/mkisock.c: Likewise.
30867 * manual/examples/mygetpass.c: Likewise.
30868 * manual/examples/pipe.c: Likewise.
30869 * manual/examples/popen.c: Likewise.
30870 * manual/examples/rprintf.c: Likewise.
30871 * manual/examples/search.c: Likewise.
30872 * manual/examples/select.c: Likewise.
30873 * manual/examples/setjmp.c: Likewise.
30874 * manual/examples/sigh1.c: Likewise.
30875 * manual/examples/sigusr.c: Likewise.
30876 * manual/examples/stpcpy.c: Likewise.
30877 * manual/examples/strdupa.c: Likewise.
30878 * manual/examples/strftim.c: Likewise.
30879 * manual/examples/strncat.c: Likewise.
30880 * manual/examples/subopt.c: Likewise.
30881 * manual/examples/swapcontext.c: Likewise.
30882 * manual/examples/termios.c: Likewise.
30883 * manual/examples/testopt.c: Likewise.
30884 * manual/examples/testpass.c: Likewise.
30885 * manual/examples/timeval_subtract.c: Likewise.
30886
01ae168d
RM
30887 [BZ #13792]
30888 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30889 function to ...
30890 * manual/timeval_subtract.c.texi: ... here, new file.
30891
49efa33d
DM
308922012-03-02 David S. Miller <davem@davemloft.net>
30893
30894 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30895
28afd92d
JM
308962012-03-02 Joseph Myers <joseph@codesourcery.com>
30897
804360ed
JM
30898 [BZ #3976]
30899 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30900 (__sin): Save and restore rounding mode and use round-to-nearest
30901 for all computations.
30902 (__cos): Save and restore rounding mode and use round-to-nearest
30903 for all computations.
30904 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30905 <fenv.h>.
30906 (tan): Save and restore rounding mode and use round-to-nearest for
30907 all computations.
30908 * math/libm-test.inc (cos_test_tonearest): New function.
30909 (cos_test_towardzero): Likewise.
30910 (cos_test_downward): Likewise.
30911 (cos_test_upward): Likewise.
30912 (sin_test_tonearest): Likewise.
30913 (sin_test_towardzero): Likewise.
30914 (sin_test_downward): Likewise.
30915 (sin_test_upward): Likewise.
30916 (tan_test_tonearest): Likewise.
30917 (tan_test_towardzero): Likewise.
30918 (tan_test_downward): Likewise.
30919 (tan_test_upward): Likewise.
30920 (main): Call the new functions.
30921 * sysdeps/i386/fpu/libm-test-ulps: Update.
30922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30923
a6d06d7b
JM
30924 [BZ #10135]
30925 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30926 small n, then large n, before computing and testing k+n.
30927 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30929 Likewise.
30930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30931 Likewise.
30932 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30933 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30934 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30935 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30938 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30939 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30940 * math/libm-test.inc (scalbn_test): Add more tests.
30941 (scalbln_test): Likewise.
30942
07e12bb3
JM
30943 * manual/filesys.texi (mode_t): Describe constraints on size and
30944 signedness, not exact equivalence to a particular type.
30945 (ino_t): Likewise.
30946 (ino64_t): Likewise.
30947 (dev_t): Likewise.
30948 (nlink_t): Likewise.
30949 (blkcnt_t): Likewise.
30950 (blkcnt64_t): Likewise.
30951 * manual/llio.texi (off_t): Likewise.
30952
28afd92d
JM
30953 [BZ #3976]
30954 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30955 (__ieee754_exp): Save and restore rounding mode and use
30956 round-to-nearest for all computations.
30957 * math/libm-test.inc (exp_test_tonearest): New function.
30958 (exp_test_towardzero): Likewise.
30959 (exp_test_downward): Likewise.
30960 (exp_test_upward): Likewise.
30961 (main): Call the new functions.
30962 * sysdeps/i386/fpu/libm-test-ulps: Update.
30963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30964
b1eeb65d
CD
309652012-03-01 Chris Demetriou <cgd@google.com>
30966
30967 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30968 have predictable order.
30969
53362a4b
DM
309702012-03-01 David S. Miller <davem@davemloft.net>
30971
3c969083
DM
30972 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30973
759707de
DM
30974 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30975 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30976 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30977 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30978
dfdb8ff2
DM
30979 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30980 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30981 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30983 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30984 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30985 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30986 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30987 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30988
ead89f96
DM
30989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30990
7f66bd07
DM
30991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30992 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30993 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30994
53362a4b
DM
30995 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30996 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30997 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31002 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31003 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31004 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31005 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31006 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31007 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31008 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31009 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31011 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31012 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31013 * sysdeps/sparc/elf/configure: Regenerated.
31014
7b1902cb
JM
310152012-03-01 Joseph Myers <joseph@codesourcery.com>
31016
bec039bc
JM
31017 * configure.in (AS, LD): Require binutils 2.20 or later.
31018 * configure: Regenerated.
31019 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31020 as required minimum version.
31021 * INSTALL: Regenerated.
31022
7b1902cb
JM
31023 [BZ #2541]
31024 [BZ #4108]
31025 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31026 before squaring exponent.
31027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31028 bottom long double and 27 bits of top long double before squaring
31029 exponent.
31030 * math/libm-test.inc (erfc_test): Add more tests.
31031 * sysdeps/i386/fpu/libm-test-ulps: Update.
31032 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31034
f775c276
KT
310352012-03-01 Kai Tietz <ktietz@redhat.com>
31036
31037 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31038 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31039 containing bit-fields.
31040 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31041 * soft-fp/single.h (_FP_UNION_S): Likewise.
31042 * soft-fp/double.h (_FP_UNION_D): Likewise.
31043
5b8a4d4a
JM
310442012-02-29 Joseph Myers <joseph@codesourcery.com>
31045
0bab47b6
JM
31046 [BZ #13786]
31047 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31048 not include ../strcmp.S.
31049 [USE_AS_STRNCASECMP_L]: Likewise.
31050 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31051 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31052 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31053 (__strncasecmp_l_ia32): Define as alias to
31054 __strncasecmp_l_nonascii.
31055
0fcad3e2
JM
31056 [BZ #5794]
31057 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31058 * sysdeps/i386/fpu/libm-test-ulps: Update.
31059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31060
5b8a4d4a
JM
31061 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31063
8fdceb2e
JL
310642012-02-29 Jeff Law <law@redhat.com>
31065
31066 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31067 out of bounds read.
31068
1f393a11
MP
310692012-02-29 Marek Polacek <polacek@redhat.com>
31070
31071 [BZ #13706]
31072 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31073 * elf/Makefile: Add rules to run tst-unused-dep.out.
31074
8847f037
DM
310752012-02-28 David S. Miller <davem@davemloft.net>
31076
31077 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31078 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31079 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31080 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31081 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31082 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31083
169d7f11
JM
310842012-02-29 Joseph Myers <joseph@codesourcery.com>
31085
31086 * math/libm-test.inc (llround_test): Move one test from
31087 lround_test. Use TEST_f_L in moved test.
31088 (lround_test): Move misplaced test to llround_test. Add testcase
31089 from bug 2561.
31090
39adf059
UD
310912012-02-28 Ulrich Drepper <drepper@gmail.com>
31092
31093 * sysdeps/x86_64/fpu/e_expf.S: New file.
31094 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31095
71b5d1c5
SB
310962012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31097
31098 [BZ #13637]
31099 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31100 of remain_len that may cause incomplete multi-byte character and
31101 false match.
31102 * posix/bug-regex33.c: New file.
31103 * posix/Makefile (tests): Add bug-regex33.
31104
1f77f049
JM
311052012-02-28 Joseph Myers <joseph@codesourcery.com>
31106
31107 * manual/macros.texi: New file.
31108 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31109 * manual/libc.texinfo: Include macros.texi.
31110 * manual/creatute.texi: Likewise.
31111 * manual/install.texi: Likewise.
31112 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31113 @glibcadj{} in references to the GNU C Library.
31114 * manual/charset.texi: Likewise.
31115 * manual/conf.texi: Likewise.
31116 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31117 when not using those macros.
31118 * manual/creature.texi: Likewise.
31119 * manual/crypt.texi: Likewise.
31120 * manual/errno.texi: Likewise.
31121 * manual/filesys.texi: Likewise.
31122 * manual/header.texi: Likewise.
31123 * manual/install.texi: Likewise.
31124 * manual/intro.texi: Likewise.
31125 * manual/io.texi: Likewise.
31126 * manual/job.texi: Likewise.
31127 * manual/lang.texi: Likewise.
31128 * manual/libc.texiinfo: Likewise.
31129 * manual/llio.texi: Likewise.
31130 * manual/locale.texi: Likewise.
31131 * manual/maint.texi: Likewise.
31132 * manual/math.texi: Likewise.
31133 * manual/memory.texi: Likewise.
31134 * manual/message.texi: Likewise.
31135 * manual/nss.texi: Likewise.
31136 * manual/pattern.texi: Likewise.
31137 * manual/process.texi: Likewise.
31138 * manual/resource.texi: Likewise.
31139 * manual/search.texi: Likewise.
31140 * manual/setjmp.texi: Likewise.
31141 * manual/signal.texi: Likewise.
31142 * manual/socket.texi: Likewise.
31143 * manual/startup.texi: Likewise.
31144 * manual/stdio.texi: Likewise.
31145 * manual/string.texi: Likewise.
31146 * manual/sysinfo.texi: Likewise.
31147 * manual/syslog.texi: Likewise.
31148 * manual/terminal.texi: Likewise.
31149 * manual/time.texi: Likewise.
31150 * manual/users.texi: Likewise.
31151 * INSTALL: Regenerated.
31152 * NOTES: Regenerated.
d40c5d54 31153 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31154
450bf206
AS
311552012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31156
31157 * include/dirent.h: Include <dirstream.h> before
31158 <dirent/dirent.h>.
31159
741a235b
DM
311602012-02-28 David S. Miller <davem@davemloft.net>
31161
31162 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31163 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31164 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31165 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31166
d6b5aa58
DM
311672012-02-27 David S. Miller <davem@davemloft.net>
31168
1aff59a3
DM
31169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31171 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31172 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31173
d6b5aa58
DM
31174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31175 frame pointer instead of stack pointer relative arg slot.
31176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31177 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31178 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31179
433f48bf
CD
311802012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31181
31182 [BZ #3992]
31183 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31184
d674b76d
DM
311852012-02-27 David S. Miller <davem@davemloft.net>
31186
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31191 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31192 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31193 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31194 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31195
0e7727f7
JM
311962012-02-27 Joseph Myers <joseph@codesourcery.com>
31197
31198 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31199 later. Allow versions 5-9.
43be4ca2 31200 * configure: Regenerated.
0e7727f7
JM
31201 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31202 required minimum version and 4.6 as recommended version. Do not
31203 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31204 * INSTALL: Regenerated.
0e7727f7 31205
a78bc654
DM
312062012-02-27 David S. Miller <davem@davemloft.net>
31207
428d5830
DM
31208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31212 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31213 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31214 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31215 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31216
a78bc654
DM
31217 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31218 manipulate bits before adding and subtracting TWO112[sx].
31219 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31220
4579f81c
RM
312212012-02-27 Roland McGrath <roland@hack.frob.com>
31222
36c8acb4
RM
31223 [BZ #13775]
31224 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31225 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31226 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31227 being in POSIX, because they are in 1003.1-2008.
31228
84ad622b
RM
31229 * rt/tst-aio.c: Include <fcntl.h>.
31230 * rt/tst-aio7.c: Likewise.
31231 * rt/tst-aio64.c: Likewise.
31232
4579f81c
RM
31233 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31234
abd923db
JM
312352012-02-27 Joseph Myers <joseph@codesourcery.com>
31236
31237 * manual/install.texi (--with-headers): Describe headers as
31238 interface headers, not private headers.
31239 (Specific advice for GNU/Linux systems): Describe use of headers
31240 from "make headers_install", not private headers from older
31241 kernels.
43be4ca2 31242 * INSTALL: Regenerated.
abd923db
JM
31243 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31244 Change to 2.6.19.
31245 * sysdeps/unix/sysv/linux/configure: Regenerated.
31246
6664049b
JM
31247 * manual/llio.texi (fclean): Remove documentation.
31248
bb8b6697
JM
31249 * manual/Makefile (libc-texi-generated): New variable. Include
31250 version.texi.
31251 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31252 $(libc-texi-generated), not duplicated list of files.
31253 (version.texi, stamp-version): New rules.
31254 (realclean): Remove $(libc-texi-generated), not individual files
31255 from that list. Do not remove dir-add.texinfo.
31256 * manual/libc.texinfo: Comment out uses of edition numbers and
31257 references to printed manual. Remove last-updated dates.
31258 (EDITION): Comment out.
31259 (ISBN): Likewise.
31260 (VERSION, UPDATED): Remove.
31261 (version.texi): Include.
31262
12e5c3b9
AS
312632012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31264
31265 * sysdeps/posix/spawni.c: Include <signal.h>.
31266 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31267 * sysdeps/pthread/aio_fsync.c: Likewise.
31268
4efeffc1 312692012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31270
ba63ba08
UD
31271 * conform/Makefile (tests): Run only when not cross-compiling and
31272 when fast-check is not defined.
31273
d94a4670
UD
31274 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31275 * conform/data/limits.h-data: Fixes for POSIX2008.
31276 * conform/run-conformtest.sh: Run all tests.
31277 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31278 headers.
31279 * include/bits/dlfcn.h: Likewise.
31280 * include/langinfo.h: Likewise.
31281 * include/monetary.h: Likewise.
31282 * include/sys/poll.h: Likewise.
31283
31284 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31285 for __USE_GNU.
31286 * posix/spawn.h: Define __need_sigset_t.
31287 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31288 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31289 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31290 to get sigevent_t only.
31291 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31292 only for __USE_GNU.
31293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31294 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31295 process_vm_writev only for __USE_GNU.
31296 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31297
31298 * conform/Makefile: For now ignore errors from run-conformtest.
31299 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31300 POSIX to avoid namespace pollution. Don't prepend headers.
31301 * conform/data/aio.h-data: Fixes for POSIX testing.
31302 * conform/data/fcntl.h-data: Likewise.
31303 * conform/data/glob.h-data: Likewise.
31304 * conform/data/grp.h-data: Likewise.
31305 * conform/data/pthread.h-data: Likewise.
31306 * conform/data/pwd.h-data: Likewise.
31307 * conform/data/signal.h-data: Likewise.
31308 * conform/data/spawn.h-data: Likewise.
31309 * conform/data/stdio.h-data: Likewise.
31310 * conform/data/stdlib.h-data: Likewise.
31311 * conform/data/stropts.h-data: Likewise.
31312 * conform/data/sys/mman.h-data: Likewise.
31313 * conform/data/sys/stat.h-data: Likewise.
31314 * conform/data/sys/types.h-data: Likewise.
31315 * conform/data/sys/wait.h-data: Likewise.
31316 * conform/data/time.h-data: Likewise.
31317 * conform/data/unistd.h-data: Likewise.
31318 * conform/data/utime.h-data: Likewise.
31319
31320 * io/sys/stat.h: fchmod was always in POSIX.
31321 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31322 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31323 * rt/aio.h: Define __need_timespec before including <time.h>.
31324 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31325 struct. Add forward declaration of pthread_attr_t and use it in
31326 sigevent.
31327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31329 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31330 always remove CLK_TCK definition.
31331
c20105c3
AS
313322012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31333
31334 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31335
7a270350
UD
313362012-02-25 Ulrich Drepper <drepper@gmail.com>
31337
31341567
UD
31338 * conform/run-conformtest.sh: New file.
31339 * conform/Makefile: Run run-conformtest for tests.
31340 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31341 support.
31342
31343 * conform/data/uchar.h-data: New file.
31344 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31345 * conform/data/arpa/inet.h-data: Likewise.
31346 * conform/data/assert.h-data: Likewise.
31347 * conform/data/complex.h-data: Likewise.
31348 * conform/data/cpio.h-data: Likewise.
31349 * conform/data/ctype.h-data: Likewise.
31350 * conform/data/dirent.h-data: Likewise.
31351 * conform/data/dlfcn.h-data: Likewise.
31352 * conform/data/errno.h-data: Likewise.
31353 * conform/data/fcntl.h-data: Likewise.
31354 * conform/data/float.h-data: Likewise.
31355 * conform/data/fmtmsg.h-data: Likewise.
31356 * conform/data/fnmatch.h-data: Likewise.
31357 * conform/data/ftw.h-data: Likewise.
31358 * conform/data/glob.h-data: Likewise.
31359 * conform/data/grp.h-data: Likewise.
31360 * conform/data/iconv.h-data: Likewise.
31361 * conform/data/inttypes.h-data: Likewise.
31362 * conform/data/langinfo.h-data: Likewise.
31363 * conform/data/libgen.h-data: Likewise.
31364 * conform/data/limits.h-data: Likewise.
31365 * conform/data/locale.h-data: Likewise.
31366 * conform/data/math.h-data: Likewise.
31367 * conform/data/monetary.h-data: Likewise.
31368 * conform/data/mqueue.h-data: Likewise.
31369 * conform/data/ndbm.h-data: Likewise.
31370 * conform/data/net/if.h-data: Likewise.
31371 * conform/data/netdb.h-data: Likewise.
31372 * conform/data/netinet/in.h-data: Likewise.
31373 * conform/data/nl_types.h-data: Likewise.
31374 * conform/data/poll.h-data: Likewise.
31375 * conform/data/pthread.h-data: Likewise.
31376 * conform/data/pwd.h-data: Likewise.
31377 * conform/data/regex.h-data: Likewise.
31378 * conform/data/sched.h-data: Likewise.
31379 * conform/data/search.h-data: Likewise.
31380 * conform/data/semaphore.h-data: Likewise.
31381 * conform/data/setjmp.h-data: Likewise.
31382 * conform/data/signal.h-data: Likewise.
31383 * conform/data/spawn.h-data: Likewise.
31384 * conform/data/stdarg.h-data: Likewise.
31385 * conform/data/stdio.h-data: Likewise.
31386 * conform/data/stdlib.h-data: Likewise.
31387 * conform/data/string.h-data: Likewise.
31388 * conform/data/strings.h-data: Likewise.
31389 * conform/data/stropts.h-data: Likewise.
31390 * conform/data/sys/ipc.h-data: Likewise.
31391 * conform/data/sys/mman.h-data: Likewise.
31392 * conform/data/sys/msg.h-data: Likewise.
31393 * conform/data/sys/resource.h-data: Likewise.
31394 * conform/data/sys/select.h-data: Likewise.
31395 * conform/data/sys/sem.h-data: Likewise.
31396 * conform/data/sys/shm.h-data: Likewise.
31397 * conform/data/sys/socket.h-data: Likewise.
31398 * conform/data/sys/stat.h-data: Likewise.
31399 * conform/data/sys/statvfs.h-data: Likewise.
31400 * conform/data/sys/time.h-data: Likewise.
31401 * conform/data/sys/timeb.h-data: Likewise.
31402 * conform/data/sys/times.h-data: Likewise.
31403 * conform/data/sys/types.h-data: Likewise.
31404 * conform/data/sys/uio.h-data: Likewise.
31405 * conform/data/sys/un.h-data: Likewise.
31406 * conform/data/sys/utsname.h-data: Likewise.
31407 * conform/data/sys/wait.h-data: Likewise.
31408 * conform/data/syslog.h-data: Likewise.
31409 * conform/data/tar.h-data: Likewise.
31410 * conform/data/termios.h-data: Likewise.
31411 * conform/data/utime.h-data: Likewise.
31412 * conform/data/utmpx.h-data: Likewise.
31413 * conform/data/varargs.h-data: Likewise.
31414 * conform/data/wchar.h-data: Likewise.
31415 * conform/data/wctype.h-data: Likewise.
31416 * conform/data/wordexp.h-data: Likewise.
31417
31418 * include/stropts.h: New file.
31419 * include/uchar.h: New file.
31420 * include/aio.h: Changes to allow conformtest.pl to use the headers.
31421 * include/assert.h: Likewise.
31422 * include/ctype.h: Likewise.
31423 * include/dirent.h: Likewise.
31424 * include/dlfcn.h: Likewise.
31425 * include/fcntl.h: Likewise.
31426 * include/fnmatch.h: Likewise.
31427 * include/glob.h: Likewise.
31428 * include/grp.h: Likewise.
31429 * include/libio.h: Likewise.
31430 * include/locale.h: Likewise.
31431 * include/math.h: Likewise.
31432 * include/net/if.h: Likewise.
31433 * include/netdb.h: Likewise.
31434 * include/netinet/in.h: Likewise.
31435 * include/pthread.h: Likewise.
31436 * include/pwd.h: Likewise.
31437 * include/regex.h: Likewise.
31438 * include/sched.h: Likewise.
31439 * include/search.h: Likewise.
31440 * include/setjmp.h: Likewise.
31441 * include/signal.h: Likewise.
31442 * include/stdio.h: Likewise.
31443 * include/stdlib.h: Likewise.
31444 * include/string.h: Likewise.
31445 * include/sys/cdefs.h: Likewise.
31446 * include/sys/mman.h: Likewise.
31447 * include/sys/msg.h: Likewise.
31448 * include/sys/resource.h: Likewise.
31449 * include/sys/select.h: Likewise.
31450 * include/sys/socket.h: Likewise.
31451 * include/sys/stat.h: Likewise.
31452 * include/sys/statvfs.h: Likewise.
31453 * include/sys/time.h: Likewise.
31454 * include/sys/times.h: Likewise.
31455 * include/sys/uio.h: Likewise.
31456 * include/sys/utsname.h: Likewise.
31457 * include/sys/wait.h: Likewise.
31458 * include/termios.h: Likewise.
31459 * include/time.h: Likewise.
31460 * include/ulimit.h: Likewise.
31461 * include/unistd.h: Likewise.
31462 * include/utime.h: Likewise.
31463 * include/wchar.h: Likewise.
31464 * include/wctype.h: Likewise.
31465 * include/wordexp.h: Likewise.
31466
31467 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
31468
7a270350
UD
31469 * time/time.h: TIME_UTC must be a macro.
31470 Make timespec_get available for ISO C11 only as well.
31471
7724defc
UD
314722012-02-24 Ulrich Drepper <drepper@gmail.com>
31473
31474 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
31475 Reported by Peng Haitao <penght@cn.fujitsu.com>.
31476
6b1d1d46
JM
314772012-02-24 Joseph Myers <joseph@codesourcery.com>
31478
31479 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 31480
0f8bbd69
JM
314812012-02-24 Joseph Myers <joseph@codesourcery.com>
31482
31483 * manual/texinfo.tex: Update to version 2012-01-19.16.
31484
66ab80bc
JM
314852012-02-24 Joseph Myers <joseph@codesourcery.com>
31486
31487 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
31488
74981cc5
RM
314892012-02-24 Roland McGrath <roland@hack.frob.com>
31490
ee968201
RM
31491 [BZ #13738]
31492 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
31493 * manual/fdl-1.3.texi: New file.
31494 * manual/fdl-1.1.texi: File removed.
31495
74981cc5
RM
31496 [BZ #13738]
31497 * manual/libc.texinfo (FDL_VERSION): New @set.
31498 Use it for mention of FDL in cover text.
31499 (Documentation License): Use it in @include file name.
31500
7bb764bc
JM
315012012-02-22 Joseph Myers <joseph@codesourcery.com>
31502 Roland McGrath <roland@hack.frob.com>
31503
31504 [BZ #5461]
31505 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
31506 not LONG_LONG_MAX and LONG_LONG_MIN.
31507 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
31508 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
31509 name.
31510 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
31511
6cbeae47
JM
315122012-02-22 Joseph Myers <joseph@codesourcery.com>
31513
31514 [BZ #2547]
31515 [BZ #11365]
31516 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
31517 manipulate bits before adding and subtracting TWO23[sx].
31518 * math/libm-test.inc (nearbyint_test): Add more tests.
31519
fe45ce09
JM
315202012-02-22 Joseph Myers <joseph@codesourcery.com>
31521
31522 [BZ #2548]
31523 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
31524 bits before adding and subtracting TWO23[sx].
31525 * math/libm-test.inc (rint_test): Add more tests.
31526 (rint_test_tonearest): Likewise.
31527 (rint_test_towardzero): Likewise.
31528 (rint_test_downward): Likewise.
31529 (rint_test_upward: Likewise.
31530
ff3b3d82
JM
315312012-02-22 Joseph Myers <joseph@codesourcery.com>
31532
31533 [BZ #10110]
31534 * include/stdc-predef.h: New file. Extracted from features.h.
31535 * include/features.h: Include stdc-predef.h.
31536 * Makefile (headers): Add stdc-predef.h.
31537 * CONFORMANCE (Compiler limitations): Update.
31538
ef0aab35
JM
315392012-02-22 Joseph Myers <joseph@codesourcery.com>
31540
31541 * manual/libc.texinfo (VERSION, UPDATED): Revert.
31542
58639409
DM
315432012-02-21 David S. Miller <davem@davemloft.net>
31544
31545 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
31546 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31547
c0e70b25
DM
315482012-02-20 David S. Miller <davem@davemloft.net>
31549
31550 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
31551 using a normal save/restore sequence, rather than allocating a
31552 dummy stack frame just to store a frame pointer and restore.
31553 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31554
fb06851d
JM
315552012-02-21 Joseph Myers <joseph@codesourcery.com>
31556
31557 * manual/install.texi: Fix stray word in line-wrapped comment.
31558
7a8b71c3
DM
315592012-02-20 David S. Miller <davem@davemloft.net>
31560
d510c123
DM
31561 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
31562 both binutils and gcc support GOTDATA.
31563
0722d7c2
DM
31564 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
31565 "rd %pc" in the PIC register setup sequences.
31566
3d2b3019
DM
31567 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
31568 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31569 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31570 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31571 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31573 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
31576 (SYSCALL_ERROR_HANDLER): Likewise.
31577 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31578 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
31580 (SYSCALL_ERROR_HANDLER): Likewise.
31581
c80098a9
DM
31582 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
31583 (HAVE_GCC_GOTDATA): New.
31584 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
31585 relocation support in both binutils and gcc.
31586 * sysdeps/sparc/elf/configure: Regenerate.
31587
3a2545a0
DM
31588 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
31589 * sysdeps/sparc/sparc32/elf/configure: Delete.
31590 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
31591 * sysdeps/sparc/sparc64/elf/configure: Delete.
31592 * sysdeps/sparc/elf/configure.in: New file.
31593 * sysdeps/sparc/elf/configure: Generate.
31594
7a8b71c3
DM
31595 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
31596 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
31597 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31598 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
31599 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
31600
f1e86fca
JM
316012012-02-21 Joseph Myers <joseph@codesourcery.com>
31602
31603 * manual/install.texi: Do not mention specific glibc version
31604 numbers.
31605 * manual/libc.texinfo (VERSION, UPDATED): Update.
31606 (@copying): Use @copyright{} and range of years.
31607
0e7dfaef
JM
316082012-02-21 Joseph Myers <joseph@codesourcery.com>
31609
31610 [BZ #13695]
31611 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
31612 [crti.S not in sysdirs] (generated): Do not append.
31613 [crti.S not in sysdirs] (omit-deps): Likewise.
31614 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
31615 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
31616 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
31617 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
31618 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
31619 Likewise.
31620 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
31621 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
31622 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
31623 * csu/defs.awk: Remove file.
31624 * sysdeps/generic/initfini.c: Likewise.
31625 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
31626 variable.
31627 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
31628 Likewise.
31629
599af3ca
JM
316302012-02-20 Joseph Myers <joseph@codesourcery.com>
31631
31632 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
31633 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
31634 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
31635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
31636 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31637 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
31638 <bits/epoll.h>.
31639 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
31640 (__EPOLL_PACKED): Define to empty if not defined by
31641 <bits/epoll.h>.
31642 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
31643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31644 bits/epoll.h.
31645
0e499750
JM
316462012-02-20 Joseph Myers <joseph@codesourcery.com>
31647
31648 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
31649 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
31650 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
31651 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
31652 <bits/timerfd.h>.
31653 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
31654 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31655 bits/timerfd.h.
31656
5ad91f6e
JM
316572012-02-20 Joseph Myers <joseph@codesourcery.com>
31658
31659 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
31660 in C locale.
31661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31662 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31663 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
31664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31665
06b99b02
AJ
316662012-02-20 Aurelien Jarno <aurelien@aurel32.net>
31667
31668 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31669 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31670
7638c0fd
AS
316712012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31672
31673 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31674 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31675 defined.
31676 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31677 Likewise.
31678 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31679 entry for 2.16.
31680
92221550
AJ
316812012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31682
31683 * math/w_acos.c: Use non-signaling floating-point comparisons.
31684 * math/w_acosf.c: Likewise.
31685 * math/w_acosh.c: Likewise.
31686 * math/w_acoshf.c: Likewise.
31687 * math/w_acoshl.c: Likewise.
31688 * math/w_acosl.c: Likewise.
31689 * math/w_asin.c: Likewise.
31690 * math/w_asinf.c: Likewise.
31691 * math/w_asinl.c: Likewise.
31692 * math/w_atanh.c: Likewise.
31693 * math/w_atanhf.c: Likewise.
31694 * math/w_atanhl.c: Likewise.
31695 * math/w_exp2.c: Likewise.
31696 * math/w_exp2f.c: Likewise.
31697 * math/w_exp2l.c: Likewise.
31698 * math/w_j0.c: Likewise.
31699 * math/w_j0f.c: Likewise.
31700 * math/w_j0l.c: Likewise.
31701 * math/w_j1.c: Likewise.
31702 * math/w_j1f.c: Likewise.
31703 * math/w_j1l.c: Likewise.
31704 * math/w_jn.c: Likewise.
31705 * math/w_jnf.c: Likewise.
31706 * math/w_log.c: Likewise.
31707 * math/w_log10.c: Likewise.
31708 * math/w_log10f.c: Likewise.
31709 * math/w_log10l.c: Likewise.
31710 * math/w_log2.c: Likewise.
31711 * math/w_log2f.c: Likewise.
31712 * math/w_log2l.c: Likewise.
31713 * math/w_logf.c: Likewise.
31714 * math/w_logl.c: Likewise.
31715 * math/w_sqrt.c: Likewise.
31716 * math/w_sqrtf.c: Likewise.
31717 * math/w_sqrtl.c: Likewise.
31718 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31719 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31720 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31721 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31722 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31723
ebaf36eb
JM
317242012-02-19 Joseph Myers <joseph@codesourcery.com>
31725
31726 [BZ #9739]
31727 * manual/string.texi (strnlen): Use correct parameter name in
31728 equivalent expression.
31729
71c254a6
JM
317302012-02-19 Joseph Myers <joseph@codesourcery.com>
31731
31732 [BZ #11174]
31733 * manual/users.texi (seteuid): Consistently use neweuid for
31734 argument name.
31735
16d2c631
JM
317362012-02-19 Joseph Myers <joseph@codesourcery.com>
31737
31738 [BZ #13704]
31739 * manual/nss.texi (Services in the NSS configuration): Correct
31740 list of services in example configuration file.
31741
cd837b09
NB
317422012-02-19 Nick Bowler <nbowler@draconx.ca>
31743
31744 [BZ #11322]
31745 * manual/arith.texi: Remove statements about negative zero
31746 behaving identically to zero.
31747
02c4bbad
JM
317482012-02-18 Joseph Myers <joseph@codesourcery.com>
31749
31750 [BZ #5993]
31751 * manual/install.texi: Do not document upgrading from libc5.
31752
366842e7
JM
317532012-02-18 Joseph Myers <joseph@codesourcery.com>
31754
31755 [BZ #4596]
31756 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31757
dd54084d
DM
317582012-02-18 David S. Miller <davem@davemloft.net>
31759
31760 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31761 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31762 %o7 across the call.
31763 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31764 instead.
31765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31766 SETUP_PIC_REG_LEAF.
31767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31768 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31769 * sysdeps/sparc/crtn.S: Likewise.
31770
2bcc53a3
UD
317712012-02-17 Ulrich Drepper <drepper@gmail.com>
31772
31773 * aout/Makefile: Remove.
31774
09c093b5
RK
317752012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31776
31777 [BZ #13058]
31778 * manual/examples/argp-ex1.c (main): Format definition in GNU
31779 style.
31780 * manual/examples/argp-ex2.c (main): Likewise.
31781 * manual/examples/argp-ex3.c (main): Likewise.
31782 * manual/examples/argp-ex4.c (main): Likewise.
31783 * manual/examples/longopt.c (main): Use new-style prototype
31784 definition.
31785 * manual/examples/strncat.c (main): Specify return type and use
31786 (void) for arguments.
31787 * manual/examples/subopt.c (main): Use char **argv argument.
31788
2ee633a2
JM
317892012-02-17 Joseph Myers <joseph@codesourcery.com>
31790
31791 [BZ #5077]
31792 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31793 rounding modes.
31794
0520adde
FB
317952012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31796
31797 [BZ #6907]
31798 * manual/string.texi (strchr): Change when strchrnul is
31799 recommended.
31800
3f4081cd
DGM
318012012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31802
31803 [BZ #174]
31804 * manual/locale.texi (setlocale): Document LOCPATH.
31805
d1b10e78
JM
318062012-02-17 Joseph Myers <joseph@codesourcery.com>
31807
31808 [BZ #10210]
31809 * manual/process.texi (execle): Move @dots{} before last argument.
31810
79c6869c
PB
318112012-02-17 Paul Bolle <pebolle@tiscali.nl>
31812
31813 [BZ #12047]
31814 * manual/charset.texi (Generic Charset Conversion): Fix typo
31815 (LC_TYPE -> LC_CTYPE).
31816
cc6e48bc
NB
318172012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31818
31819 [BZ #5805]
31820 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31821 (scalbnf): Likewise.
31822 (scalbnl): Likewise.
31823 (scalbln): Likewise.
31824 (scalblnf): Likewise.
31825 (scalblnl): Likewise.
31826 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31827 (vwarnx): Likewise.
31828 (verr): Likewise.
31829 (verrx): Likewise.
31830 * manual/filesys.texi (telldir): Use braces around return type.
31831 * manual/llio.texi (mmap): Add space after comma.
31832 (mmap64): Likewise.
31833 * manual/math.texi (jn): Use @var{} on parameter names.
31834 (jnf): Likewise.
31835 (jnl): Likewise.
31836 (yn): Likewise.
31837 (ynf): Likewise.
31838 (ynl): Likewise.
31839 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31840 line.
31841 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31842 "...".
31843 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31844 (sched_get_priority_max): Likewise.
31845 * manual/signal.texi (sigvec): Add space after comma.
31846 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31847 names.
31848 (if_indextoname): Likewise.
31849 (if_freenameindex): Likewise.
31850 (sendto): Use ',' instead of '.' in prototype.
31851 * manual/startup.texi (syscall): Use @dots{} instead of literal
31852 "...".
31853 * manual/stdio.texi (__fpending): Separate initial words of
31854 paragraph from @deftypefun line.
31855 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31856 "...".
31857 (vsyslog): Use @var{} on parameter names.
31858 * manual/terminal.texi (stty): Use @var{} on parameter names.
31859 * manual/users.texi (getutmp): Use @var{} on parameter names.
31860 (getutmpx): Likewise.
31861
5b23062f
JM
318622012-02-17 Joseph Myers <joseph@codesourcery.com>
31863
31864 [BZ #6884]
31865 * manual/stdio.texi (fopen): Fix typos in description of
31866 ",ccs=STRING".
31867
8dee4833
AJ
318682012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31869
31870 [BZ #4026]
31871 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31872 get clock_id definition.
31873
9078ce93
TS
318742012-02-17 Thomas Schwinge <thomas@schwinge.name>
31875
31876 [BZ #4822]
31877 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31878 (madvise): Cast every argument to void on its own.
31879
3835c55f
JM
318802012-02-17 Joseph Myers <joseph@codesourcery.com>
31881
31882 [BZ #9902]
31883 * manual/startup.texi (Exit Status): Fix typo.
31884
35c47e37
JM
318852012-02-17 Joseph Myers <joseph@codesourcery.com>
31886
31887 [BZ #10140]
31888 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31889 * manual/examples/argp-ex2.c: Likewise.
31890 * manual/examples/argp-ex3.c: Likewise.
31891
e3b69ca7
RH
318922012-02-16 Richard Henderson <rth@redhat.com>
31893
31894 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31895 * sysdeps/s390/s390-32/initfini.c: Remove.
31896 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31897 * sysdeps/s390/s390-64/initfini.c: Remove.
31898
df83af67
KK
318992012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31900
31901 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31902 compiler output for sysdeps/generic/initfini.c.
31903 * sysdeps/sh/elf/initfini.c: Remove file.
31904
f63f3380
DM
319052012-02-16 David S. Miller <davem@davemloft.net>
31906
fb59b3a4
DM
31907 [BZ #11494]
31908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31909
f63f3380
DM
31910 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31911 * sysdeps/sparc/crti.S: New file.
31912 * sysdeps/sparc/crtn.S: New file.
31913 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31914 * sysdeps/sparc/sparc64/Makefile: Likewise.
31915
df6a4a4a
MF
319162012-02-15 Mike Frysinger <vapier@gentoo.org>
31917
6dd8f3dc 31918 [BZ #3335]
df6a4a4a
MF
31919 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31920
1cac7236
RM
319212012-02-15 Roland McGrath <roland@hack.frob.com>
31922
d2c736f8
RM
31923 [BZ #4822]
31924 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31925
1cac7236
RM
31926 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31927 (write, read, close): Likewise.
31928 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31929
8e475601
JM
319302012-02-15 Joseph Myers <joseph@codesourcery.com>
31931
31932 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31933 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31934 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31935 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31936 <bits/signalfd.h>.
31937 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31939 bits/signalfd.h.
31940
ed656b40
MP
319412012-02-14 Marek Polacek <polacek@redhat.com>
31942
31943 * sysdeps/x86_64/crti.S: New file.
31944 * sysdeps/x86_64/crtn.S: New file.
31945 * sysdeps/x86_64/elf/initfini.c: Remove file.
31946
2a979d3a
JM
319472012-02-13 Joseph Myers <joseph@codesourcery.com>
31948
31949 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31950 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31951 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31952 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31953 <bits/inotify.h>.
31954 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31956 bits/inotify.h.
31957
2a418ac3
JM
319582012-02-13 Joseph Myers <joseph@codesourcery.com>
31959
31960 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31961 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31962 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31963 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31964 <bits/eventfd.h>.
31965 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31967 bits/eventfd.h.
31968
fb779be7
TS
319692012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31970
e19e83c5
RM
31971 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31972 __feraiseexcept instead of feraiseexcept.
7c35ffed 31973
fb779be7
TS
31974 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31975 nanosleep invocations.
31976 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31977 strings, and add error checking for a nanosleep invocations.
31978
59ba27a6
PE
319792012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31980
31981 Replace FSF snail mail address with URLs, as per GNU coding standards.
31982 Most of the snail mail addresses were wrong anyway, and omitting
31983 them makes the source code easier to maintain. Almost all of the
31984 changes are to license notices and to locale LC_IDENTIFICATION
31985 addresses, except for this one:
31986 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31987 not its snail mail address.
31988
57b957eb
RH
319892012-02-09 Richard Henderson <rth@twiddle.net>
31990
af850b1c
RH
31991 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31992 of kernel-features.h.
31993
57b957eb
RH
31994 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31995
6b73181a
MP
319962012-02-08 Marek Polacek <polacek@redhat.com>
31997
31998 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31999 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32000 * sysdeps/gnu/_G_config.h: Likewise.
32001 * sysdeps/generic/_G_config.h: Likewise.
32002
26ecc33a
AS
320032012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32004
6c6dbc63
AS
32005 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32006 tests.
32007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32008
e216c012
AS
32009 * sysdeps/powerpc/powerpc32/crti.S: New file.
32010 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32011 * sysdeps/powerpc/powerpc64/crti.S: New file.
32012 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32013
26ecc33a
AS
32014 * Makeconfig (have-initfini): Don't set.
32015 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32016 * configure.in (nopic_initfini): Don't substitute.
32017 * config.h.in (HAVE_INITFINI): Don't #undef.
32018 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32019 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32020
3add8e13
JM
320212012-02-08 Joseph Myers <joseph@codesourcery.com>
32022
32023 Support crti.S and crtn.S provided directly by architectures.
32024 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32025 [crti.S in sysdirs] (omit-deps): Likewise.
32026 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32027 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32028 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32029 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32030 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32031 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32032 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32033 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32034 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32035 compiler output for sysdeps/generic/initfini.c.
32036 * sysdeps/i386/elf/Makefile: Remove file.
32037 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32038
a22f12b4
MP
320392012-02-07 Marek Polacek <polacek@redhat.com>
32040
32041 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32042 * sysdeps/gnu/_G_config.h: Likewise.
32043 * sysdeps/mach/hurd/_G_config.h: Likewise.
32044
148cf100
MP
320452012-02-07 Marek Polacek <polacek@redhat.com>
32046
32047 * math/Makefile (tests): Add tst-CMPLX2.
32048 * math/tst-CMPLX2.c: New file.
32049
cfdc0dd7
AS
320502012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32051
84ba42c4
AS
32052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32053
cfdc0dd7
AS
32054 * math/libm-test.inc (jn_test): Add missing L suffix.
32055
622c86f4
MP
320562012-02-06 Marek Polacek <polacek@redhat.com>
32057
32058 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32059 * sysdeps/i386/fpu/e_powf.S: Likewise.
32060 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32061 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32062 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32063 * sysdeps/i386/fpu/e_pow.S: Likewise.
32064 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32065 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32066 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32067 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32068 * sysdeps/i386/fpu/e_log2.S: Likewise.
32069 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32070 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32071 * sysdeps/i386/fpu/e_powl.S: Likewise.
32072 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32073 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32074 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32075 * sysdeps/i386/fpu/e_logl.S: Likewise.
32076 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32077 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32078 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32079 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32080 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32081 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32082 * sysdeps/i386/fpu/e_log.S: Likewise.
32083 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32084 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32085 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32086 * sysdeps/i386/fpu/e_logf.S: Likewise.
32087 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32088 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32089 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32090 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32091 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32092 * sysdeps/i386/fpu/e_log10.S: Likewise.
32093 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32094 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32095 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32096 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32097 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32098 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32099 * sysdeps/i386/asm-syntax.h: Likewise.
32100 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32101 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32102 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32103 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32104 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32105 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32106 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32107 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32108 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32109 * sysdeps/powerpc/sysdep.h: Likewise.
32110 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32111 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32112
d4a54ac6
JM
321132012-02-06 Joseph Myers <joseph@codesourcery.com>
32114
32115 [BZ #411]
32116 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32117
314054ea
JM
321182012-02-06 Joseph Myers <joseph@codesourcery.com>
32119
32120 * sysdeps/i386/sysdep.h: Include <features.h>.
32121 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32122 version.
32123
d8e0ca50
JM
321242012-02-05 Joseph Myers <joseph@codesourcery.com>
32125
32126 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32127 Define.
32128 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32129 LOAD_PIC_REG_STR.
32130
b1da7dd9
JM
321312012-02-03 Joseph Myers <joseph@codesourcery.com>
32132
32133 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32134 (SETUP_PIC_REG): Use GET_PC_THUNK.
32135 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32136 macro.
32137
9a1d9254
JM
321382012-02-03 Joseph Myers <joseph@codesourcery.com>
32139
32140 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32141 for non-PIC compilation.
32142 (SETUP_PIC_REG): Add .p2align directive.
32143 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32144 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32145 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32146 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32149 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32151 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32152 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32153 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32154 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32155 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32156 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32157 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32158 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32159 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32160 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32161 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32162 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32163 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32164 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32165 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32166 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32169 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32170 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32171 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32172 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32173 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32174 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32175 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32176 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32177 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32178 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32179 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32180 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32181 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32182 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32183 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32184
65dc3b75
JM
321852012-02-03 Joseph Myers <joseph@codesourcery.com>
32186
32187 * math/tst-CMPLX.c: Include <stdio.h>.
32188
d55bf177
JM
321892012-01-31 Joseph Myers <joseph@codesourcery.com>
32190
32191 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32192 float.
32193 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32194 * sysdeps/sparc/bits/mathdef.h: Likewise.
32195
69db4f8f
MP
321962012-01-31 Marek Polacek <polacek@redhat.com>
32197
32198 * libio/libio.h: Don't define _PARAMS.
32199 * locale/programs/config.h: Don't define PARAMS.
32200 * stdlib/strtol_l.c: Likewise.
32201 (__strtol_l): Remove PARAMS from the prototype.
32202
41b81892
UD
322032012-01-31 Ulrich Drepper <drepper@gmail.com>
32204
3b49edc0
UD
32205 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32206 names. Just use the correct names. Remove unnecessary wrapper
32207 functions.
32208 * malloc/arena.c: Likewise.
32209 * malloc/hooks.c: Likewise.
32210
41b81892
UD
32211 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32212 ARENA_TEST says not to. Simplify test for creation of a new arena.
32213 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32214
27a25b6e
UD
322152012-01-30 Ulrich Drepper <drepper@gmail.com>
32216
32217 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32218 into tail calls.
32219 (update_get_addr): New function.
32220 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32221 GET_ADDR_MODULE parameter.
32222
c8a89e7d
JM
322232012-01-30 Joseph Myers <joseph@codesourcery.com>
32224
32225 * crypt/cert.c: Remove __STDC__ conditionals.
32226 * crypt/crypt-entry.c: Likewise.
32227 * crypt/crypt_util.c: Likewise.
32228 * libio/filedoalloc.c: Likewise.
32229 * libio/fileops.c: Likewise.
32230 * libio/genops.c: Likewise.
32231 * libio/iofclose.c: Likewise.
32232 * libio/iofdopen.c: Likewise.
32233 * libio/iofopen.c: Likewise.
32234 * libio/iofopen64.c: Likewise.
32235 * libio/iogetdelim.c: Likewise.
32236 * libio/iopopen.c: Likewise.
32237 * libio/obprintf.c: Likewise.
32238 * libio/oldfileops.c: Likewise.
32239 * libio/oldiofclose.c: Likewise.
32240 * libio/oldiofdopen.c: Likewise.
32241 * libio/oldiofopen.c: Likewise.
32242 * libio/oldiopopen.c: Likewise.
32243 * libio/wfiledoalloc.c: Likewise.
32244 * libio/wgenops.c: Likewise.
32245 * locale/programs/xmalloc.c: Likewise.
32246 * misc/syslog.c: Likewise.
32247 * stdio-common/xbug.c: Likewise.
32248 * string/memchr.c: Likewise.
32249 * string/memcmp.c: Likewise.
32250 * string/memrchr.c: Likewise.
32251 * string/rawmemchr.c: Likewise.
32252 * sysdeps/posix/getcwd.c: Likewise.
32253 * time/strftime_l.c: Likewise.
32254
3b100462
JM
322552012-01-30 Joseph Myers <joseph@codesourcery.com>
32256
32257 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32258 * config.make.in (config-cflags-sse2avx): Define.
32259 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32260 Fix typo.
32261
607998af
CM
322622012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32263
32264 * scripts/config.guess: Update from upstream config git repository.
32265 * scripts/config.sub: Likewise.
32266
3601428f
CM
322672012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32268
3ac8b282
CM
32269 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32270 (EM_NUM): Update.
32271 (R_TILEPRO_*, R_TILEGX_*): New macros.
32272
e034841e
CM
32273 * scripts/firstversions.awk: Fix bug in version range handling.
32274
540d7568
CM
32275 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32276
3601428f
CM
32277 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32278
463de862
CM
32279 * include/sys/epoll.h: New file.
32280 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32281 libc_hidden_def.
32282
73139a76
UD
322832012-01-28 Ulrich Drepper <drepper@gmail.com>
32284
96bc5b45
UD
32285 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32286 Avoid unnecessary __WORDSIZE == 64 test.
32287 (fmaxf): Use VEX format if possible.
32288 (fmax): Likewise.
32289 (fminf): Likewise.
32290 (fmin): Likewise.
32291
56f6f6a2
UD
32292 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32293 * math/math_private.h: Remove libc_fegetround* and
32294 libc_fesetround*.
32295 * sysdeps/i386/configure.in: Check for -msse2avx.
32296 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32297 also if SSE2AVX is defined.
32298 Remove libc_fegetround* and libc_fesetround*.
32299 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32300 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32302 of HAS_YMM_USABLE.
32303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32308
73139a76
UD
32309 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32310
d73f93a4
AZ
323112012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32312
32313 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32314 size is not set.
32315 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32316
6ee65ed6
UD
323172012-01-27 Ulrich Drepper <drepper@gmail.com>
32318
32319 [BZ #13618]
32320 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32321 relocation.
32322 * Makeconfig (libm): Define.
32323 * elf/Makefile: Add rules to build and run tst-relsort1.
32324 * elf/tst-relsort1.c: New file.
32325 * elf/tst-relsort1mod1.c: New file.
32326 * elf/tst-relsort1mod2.c: New file.
32327
8db21882
JM
323282012-01-27 Joseph Myers <joseph@codesourcery.com>
32329
32330 * math/s_ldexp.c: Remove __STDC__ conditionals.
32331 * math/s_ldexpf.c: Likewise.
32332 * math/s_ldexpl.c: Likewise.
32333 * math/s_nextafter.c: Likewise.
32334 * math/s_nexttowardf.c: Likewise.
32335 * math/s_significand.c: Likewise.
32336 * math/s_significandf.c: Likewise.
32337 * math/s_significandl.c: Likewise.
32338 * math/w_jnl.c: Likewise.
32339 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32340 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32341 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32342 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32343 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32349 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32350 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32351 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32352 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32353 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32354 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32356 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32358 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32359 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32360 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32361 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32362 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32363 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32364 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32365 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32366 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32367 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32368 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32370 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32371 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32372 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32373 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32375 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32376 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32377 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32378 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32379 * sysdeps/ieee754/k_standard.c: Likewise.
32380 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32381 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32382 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32383 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32384 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32385 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32386 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32387 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32388 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32389 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32390 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32392 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32393 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32394 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32406 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32407 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
32412 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32414 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32415 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32416 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
32417 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32418 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32419 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
32421 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32422 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
32423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
32424 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32425 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32426 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
32427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32428 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32429 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
32430 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
32431 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32432 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32433 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32434 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32435 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32436 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
32437 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32438 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32440 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32441 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32442 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32443 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32444 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32445 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32446 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32447 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32448 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32449 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32450 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32455 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32456 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32457 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32459 * sysdeps/ieee754/s_matherr.c: Likewise.
32460 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32461 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32462 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32464
965a54a4
JM
324652012-01-26 Joseph Myers <joseph@codesourcery.com>
32466
32467 * crypt/md5.h: Remove __STDC__ conditionals.
32468 * libio/libioP.h: Likewise.
32469 * locale/programs/config.h: Likewise.
32470 * sysdeps/generic/sysdep.h: Likewise.
32471 * sysdeps/i386/asm-syntax.h: Likewise.
32472 * sysdeps/s390/asm-syntax.h: Likewise.
32473 * sysdeps/unix/sysdep.h: Likewise.
32474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32476
7071ad79
JM
324772012-01-26 Joseph Myers <joseph@codesourcery.com>
32478
32479 * libio/libio.h: Remove __STDC__ conditionals.
32480 * malloc/obstack.h: Likewise.
32481 * math/complex.h: Likewise.
32482 * math/math.h: Likewise.
32483 * sysdeps/generic/_G_config.h: Likewise.
32484 * sysdeps/gnu/_G_config.h: Likewise.
32485 * sysdeps/mach/hurd/_G_config.h: Likewise.
32486 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32487 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32488 * sysdeps/sparc/bits/mathdef.h: Likewise.
32489
afc5ed09
UD
324902012-01-26 Ulrich Drepper <drepper@gmail.com>
32491
32492 [BZ #13583]
32493 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 32494 Clean up HAS_* macros.
afc5ed09 32495 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
32496 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
32497 possible.
32498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
32499 HAS_AVX.
32500 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32501 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32502 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32503 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32504 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 32505
bdb6de1d
JM
325062012-01-25 Joseph Myers <joseph@codesourcery.com>
32507
32508 * elf/tst-unique3.cc (gets): Remove declaration.
32509 * elf/tst-unique3lib.cc (gets): Likewise.
32510 * elf/tst-unique3lib2.cc (gets): Likewise.
32511 * elf/tst-unique4.cc (gets): Likewise.
32512
b15549e6
UD
325132012-01-24 Ulrich Drepper <drepper@gmail.com>
32514
32515 * include/stdio.h: Add C++ protection. Add gets declarations and
32516 definitions.
32517 * debug/tst-chk1.c: Don't declare gets here.
32518 * stdio-common/tst-gets.c: Likewise.
32519
a037381f
JM
325202012-01-24 Joseph Myers <joseph@codesourcery.com>
32521
32522 * posix/glob: Remove directory.
32523
f1d4aa75
JM
325242012-01-24 Joseph Myers <joseph@codesourcery.com>
32525
32526 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
32527
81c0c964
PT
325282012-01-22 Pino Toscano <toscano.pino@tiscali.it>
32529
32530 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
32531 of the non-standard EPFNOSUPPORT.
32532
0ea698ae
ST
325332011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
32534
32535 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
32536 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
32537 ANYWHERE set to 1 only on KERN_NO_SPACE error.
32538
d220b117
UD
325392012-01-21 Ulrich Drepper <drepper@gmail.com>
32540
32541 * wcsmbs/uchar.h: Test __STDC_VERSION__.
32542
3e1aa84e
UD
325432012-01-20 Ulrich Drepper <drepper@gmail.com>
32544
32545 * nscd/aicache.c (addhstaiX): Do not cache negative results of
32546 transient errors.
32547 * nscd/grpcache.c (cache_addgr): Likewise.
32548 * nscd/hstcache.c (cache_addhst): Likewise.
32549 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32550 * nscd/pwdcache.c (cache_addpw): Likewise.
32551 * nscd/servicescache.c (cache_addserv): Likewise.
32552
400aa020
UD
325532012-01-16 Ulrich Drepper <drepper@gmail.com>
32554
d77e7869
UD
32555 * malloc/malloc.c: Various cleanups.
32556 * malloc/hooks.c: Likewise.
32557
400aa020
UD
32558 * stdlib/Makefile (tests): Add bug-fmtmsg1.
32559 * stdlib/bug-fmtmsg1.c: New file.
32560
32561 * stdlib/fmtmsg.c (init): Add missing unlock.
32562 Patch by Peng Haitao <penght@cn.fujitsu.com>.
32563
e0a309cf
MP
325642012-01-12 Marek Polacek <polacek@redhat.com>
32565
32566 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
32567 and _GNU_SOURCE.
32568
929d11c7
WS
325692012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32570
32571 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
32572 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
32573 macro to ensure uniqueness of label name.
32574 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32575 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32576
41d0e869
UD
325772012-01-11 Ulrich Drepper <drepper@gmail.com>
32578
0cc5ed3b
UD
32579 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
32580
41d0e869
UD
32581 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
32582 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32583 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
32585
a47a831a
UD
325862012-01-10 Ulrich Drepper <drepper@gmail.com>
32587
daa891c0
UD
32588 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
32589
32590 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
32591 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32592 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32593
e58ef0f2
UD
32594 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
32595
a47a831a 32596 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
32597 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32598 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 32599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
32600
32601 * math/bits/math-finite.h: Add ldexp support.
32602
a0bfc9c7
MP
326032012-01-10 Marek Polacek <polacek@redhat.com>
32604
32605 * locale/programs/localedef.h (show_archive_content): Add noreturn
32606 attribute.
32607
d6e97a1d
UD
326082012-01-09 Ulrich Drepper <drepper@gmail.com>
32609
32610 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
32611
d5835c26
UD
326122012-01-08 Ulrich Drepper <drepper@gmail.com>
32613
e5f484c6
UD
32614 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
32615
d5835c26
UD
32616 * io/Makefile (headers): Add bits/poll2.h.
32617
d1f741e9
WS
326182011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
32619
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
32621 typo #include statement.
32622
ec09c1c4
UD
326232012-01-08 Ulrich Drepper <drepper@gmail.com>
32624
32625 * include/sys/cdefs.h: Define __attribute_alloc_size.
32626 * catgets/gencat.c: Add alloc_size attribute and apply consistently
32627 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
32628 * elf/pldd.c: Likewise.
32629 * iconv/iconv_charmap.c: Likewise.
32630 * iconv/iconvconfig.c: Likewise.
32631 * iconv/strtab.c: Likewise.
32632 * locale/programs/locale.c: Likewise.
32633 * locale/programs/localedef.h: Likewise.
32634 * locale/programs/simple-hash.c: Likewise.
32635 * nscd/nscd.h: Likewise.
32636 * nss/makedb.c: Likewise.
32637 * sysdeps/generic/ldconfig.h: Likewise.
32638 * locale/programs/localedef.c: Remove xmalloc prototype.
32639 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
32640
20b38e03
PP
326412012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32642
32643 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
32644 appropriate.
32645
a0da5fe1
UD
326462012-01-08 Ulrich Drepper <drepper@gmail.com>
32647
1d5a644a 32648 * math/Makefile (tests): Add tst-CMPLX.
669704fd 32649 * math/tst-CMPLX.c: New file.
1d5a644a 32650
8784a6db
UD
32651 * math/complex.h (CMPLXL): Fix typo.
32652
d9a216c0
UD
32653 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
32654 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
32655 GLIBC_2.16.
32656 * debug/tst-chk1.c: Add poll and ppoll tests.
32657 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
32658 * include/sys/poll.h: Add hidden proto for ppoll.
32659 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
32660 * sysdeps/mach/hurd/ppoll.c: Likewise.
32661 * io/ppoll.c: Likewise.
32662 * debug/poll_chk.c: New file.
32663 * debug/ppoll_chk.c: New file.
32664 * include/bits/poll2.h: New file.
32665 * io/bits/poll2.h: New file.
32666
ac097f5c
UD
32667 [BZ #1350]
32668 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32669
2119dcfa
UD
32670 * configure.in: static is always set to yes. Remove.
32671 * config.make.in: Don't set build-static.
32672 * Makeconfig: Remove use of build-static.
32673 * dlfcn/Makefile: Likewise.
32674 * elf/Makefile: Likewise.
32675 * math/Makefile: Likewise.
32676 * misc/Makefile: Likewise.
32677 * nptl/Makefile: Likewise.
32678 * sysdeps/mach/hurd/Makefile: Likewise.
32679
121766a9
UD
32680 * configure.in: PWD_P is not used anymore.
32681 * config.make.in: Remove PWD_P entry.
32682
51a1d39c 32683 * configure.in: Remove last remnants of RANLIB.
8720d066 32684 No need to check for signed size_t anymore.
215f4bdc
UD
32685 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32686 and IA-64.
3857022a 32687 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
32688 * aclocal.m4: Likewise.
32689
d3ed7225
UD
32690 * wcsmbs/mbrtoc16.c: Implement using towc function.
32691 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32692 * wcsmbs/wcsmbsload.c: Likewise.
32693 * iconv/gconv_simple.c: Likewise.
32694 * iconv/gconv_int.h: Likewise.
32695 * iconv/gconv_builtin.h: Likewise.
32696 * iconv/iconv_prog.c: Remove CHAR16 handling.
32697
32698 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32699
32700 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32701
a0da5fe1
UD
32702 * configure.in: Remove --with-elf and --enable-bounded options.
32703 Dont set base_machine for ia64. More non-ELF conditions removed.
32704 Remove testing and setting of leading underscore information.
32705 * config.make.in (build-bounded): Set to no.
32706 * config.h.in: Remove NO_UNDERSCORES entry.
32707 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32708 them.
32709 * csu/start.c: Remove !NO_UNDERSCORE code.
32710 * locale/localeinfo.h: Likewise.
32711 * sysdeps/generic/machine-gmon.h: Likewise.
32712 * sysdeps/generic/sysdep.h: Likewise.
32713 * sysdeps/i386/sysdep.h: Likewise.
32714 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32715 * sysdeps/mach/sysdep.h: Likewise.
32716 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32717 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32718 * sysdeps/sh/sysdep.h: Likewise.
32719 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32720 * sysdeps/unix/i386/sysdep.S: Likewise.
32721 * sysdeps/unix/sparc/start.c: Likewise.
32722 * sysdeps/unix/sparc/sysdep.S: Likewise.
32723 * sysdeps/unix/sparc/sysdep.h: Likewise.
32724 * sysdeps/unix/start.c: Likewise.
32725 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32726 * sysdeps/x86_64/sysdep.h: Likewise.
32727
df78418a
UD
327282012-01-07 Ulrich Drepper <drepper@gmail.com>
32729
a784e502
UD
32730 [BZ #13553]
32731 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32732 for non-gcc.
32733 * argp/argp-fmtstream.h: Use const instead __const.
32734 * argp/argp.h: Likewise.
32735 * assert/assert.h: Likewise.
32736 * bits/fenv.h: Likewise.
32737 * bits/sched.h: Likewise.
32738 * bits/sigset.h: Likewise.
32739 * bits/sigthread.h: Likewise.
32740 * catgets/nl_types.h: Likewise.
32741 * conform/data/pthread.h-data: Likewise.
32742 * crypt/crypt-private.h: Likewise.
32743 * crypt/crypt.h: Likewise.
32744 * crypt/crypt_util.c: Likewise.
32745 * ctype/ctype.h: Likewise.
32746 * debug/execinfo.h: Likewise.
32747 * debug/mbsnrtowcs_chk.c: Likewise.
32748 * debug/mbsrtowcs_chk.c: Likewise.
32749 * debug/wcsnrtombs_chk.c: Likewise.
32750 * debug/wcsrtombs_chk.c: Likewise.
32751 * debug/wcstombs_chk.c: Likewise.
32752 * dirent/dirent.h: Likewise.
32753 * dlfcn/dlfcn.h: Likewise.
32754 * elf/neededtest4.c: Likewise.
32755 * grp/grp.h: Likewise.
32756 * gshadow/gshadow.h: Likewise.
32757 * iconv/gconv.h: Likewise.
32758 * iconv/gconv_int.h: Likewise.
32759 * iconv/gconv_simple.c: Likewise.
32760 * iconv/iconv.h: Likewise.
32761 * iconv/loop.c: Likewise.
32762 * iconv/skeleton.c: Likewise.
32763 * include/aio.h: Likewise.
32764 * include/aliases.h: Likewise.
32765 * include/argz.h: Likewise.
32766 * include/arpa/inet.h: Likewise.
32767 * include/assert.h: Likewise.
32768 * include/dirent.h: Likewise.
32769 * include/dlfcn.h: Likewise.
32770 * include/execinfo.h: Likewise.
32771 * include/fcntl.h: Likewise.
32772 * include/fenv.h: Likewise.
32773 * include/glob.h: Likewise.
32774 * include/grp.h: Likewise.
32775 * include/libintl.h: Likewise.
32776 * include/mntent.h: Likewise.
32777 * include/netdb.h: Likewise.
32778 * include/pwd.h: Likewise.
32779 * include/rpc/netdb.h: Likewise.
32780 * include/sched.h: Likewise.
32781 * include/search.h: Likewise.
32782 * include/shadow.h: Likewise.
32783 * include/signal.h: Likewise.
32784 * include/stdio.h: Likewise.
32785 * include/stdlib.h: Likewise.
32786 * include/string.h: Likewise.
32787 * include/sys/socket.h: Likewise.
32788 * include/sys/stat.h: Likewise.
32789 * include/sys/statfs.h: Likewise.
32790 * include/sys/statvfs.h: Likewise.
32791 * include/sys/syslog.h: Likewise.
32792 * include/sys/time.h: Likewise.
32793 * include/sys/uio.h: Likewise.
32794 * include/time.h: Likewise.
32795 * include/unistd.h: Likewise.
32796 * include/utmp.h: Likewise.
32797 * include/wchar.h: Likewise.
32798 * include/wctype.h: Likewise.
32799 * inet/aliases.h: Likewise.
32800 * inet/arpa/inet.h: Likewise.
32801 * inet/netinet/ether.h: Likewise.
32802 * inet/netinet/in.h: Likewise.
32803 * intl/libintl.h: Likewise.
32804 * io/bits/fcntl2.h: Likewise.
32805 * io/fcntl.h: Likewise.
32806 * io/ftw.h: Likewise.
32807 * io/sys/poll.h: Likewise.
32808 * io/sys/stat.h: Likewise.
32809 * io/sys/statfs.h: Likewise.
32810 * io/sys/statvfs.h: Likewise.
32811 * io/utime.h: Likewise.
32812 * libio/bits/stdio.h: Likewise.
32813 * libio/bits/stdio2.h: Likewise.
32814 * libio/libio.h: Likewise.
32815 * libio/libioP.h: Likewise.
32816 * libio/stdio.h: Likewise.
32817 * locale/lc-ctype.c: Likewise.
32818 * locale/locale.h: Likewise.
32819 * login/utmp.h: Likewise.
32820 * malloc/arena.c: Likewise.
32821 * malloc/malloc.c: Likewise.
32822 * malloc/malloc.h: Likewise.
32823 * malloc/mcheck.c: Likewise.
32824 * malloc/mtrace.c: Likewise.
32825 * math/bits/mathcalls.h: Likewise.
32826 * math/fenv.h: Likewise.
32827 * math/math_private.h: Likewise.
32828 * misc/bits/error.h: Likewise.
32829 * misc/bits/syslog.h: Likewise.
32830 * misc/err.h: Likewise.
32831 * misc/error.h: Likewise.
32832 * misc/fstab.h: Likewise.
32833 * misc/mntent.h: Likewise.
32834 * misc/regexp.h: Likewise.
32835 * misc/search.h: Likewise.
32836 * misc/sgtty.h: Likewise.
32837 * misc/sys/mman.h: Likewise.
32838 * misc/sys/syslog.h: Likewise.
32839 * misc/sys/uio.h: Likewise.
32840 * misc/sys/xattr.h: Likewise.
32841 * misc/ttyent.h: Likewise.
32842 * nis/rpcsvc/ypclnt.h: Likewise.
32843 * nss/nss.h: Likewise.
32844 * posix/bits/unistd.h: Likewise.
32845 * posix/fnmatch.h: Likewise.
32846 * posix/glob.h: Likewise.
32847 * posix/sched.h: Likewise.
32848 * posix/spawn.h: Likewise.
32849 * posix/sys/wait.h: Likewise.
32850 * posix/unistd.h: Likewise.
32851 * posix/wordexp.h: Likewise.
32852 * pwd/pwd.h: Likewise.
32853 * resolv/netdb.h: Likewise.
32854 * resource/sys/resource.h: Likewise.
32855 * rt/aio.h: Likewise.
32856 * rt/bits/mqueue2.h: Likewise.
32857 * rt/mqueue.h: Likewise.
32858 * shadow/shadow.h: Likewise.
32859 * signal/signal.h: Likewise.
32860 * socket/send.c: Likewise.
32861 * socket/sendto.c: Likewise.
32862 * socket/sys/socket.h: Likewise.
32863 * stdio-common/printf.h: Likewise.
32864 * stdlib/bits/stdlib.h: Likewise.
32865 * stdlib/fmtmsg.h: Likewise.
32866 * stdlib/monetary.h: Likewise.
32867 * stdlib/stdlib.h: Likewise.
32868 * stdlib/ucontext.h: Likewise.
32869 * streams/stropts.h: Likewise.
32870 * string/argz.h: Likewise.
32871 * string/bits/string2.h: Likewise.
32872 * string/string.h: Likewise.
32873 * string/strings.h: Likewise.
32874 * sunrpc/rpc/auth.h: Likewise.
32875 * sunrpc/rpc/auth_des.h: Likewise.
32876 * sunrpc/rpc/clnt.h: Likewise.
32877 * sunrpc/rpc/netdb.h: Likewise.
32878 * sunrpc/rpc/pmap_clnt.h: Likewise.
32879 * sunrpc/rpc/xdr.h: Likewise.
32880 * sysdeps/generic/inttypes.h: Likewise.
32881 * sysdeps/generic/net/if.h: Likewise.
32882 * sysdeps/generic/sys/swap.h: Likewise.
32883 * sysdeps/gnu/net/if.h: Likewise.
32884 * sysdeps/gnu/utmpx.h: Likewise.
32885 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32886 * sysdeps/i386/i486/bits/string.h: Likewise.
32887 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32888 * sysdeps/s390/bits/string.h: Likewise.
32889 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32890 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32891 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32892 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32893 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32894 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32895 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32896 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32897 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32898 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32899 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32900 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32901 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32902 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32903 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32904 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32905 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32906 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32907 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32908 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32910 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32911 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32912 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32913 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32914 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32915 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32916 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32917 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32918 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32919 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32920 * sysvipc/sys/ipc.h: Likewise.
32921 * sysvipc/sys/msg.h: Likewise.
32922 * sysvipc/sys/sem.h: Likewise.
32923 * sysvipc/sys/shm.h: Likewise.
32924 * termios/termios.h: Likewise.
32925 * time/sys/time.h: Likewise.
32926 * time/time.h: Likewise.
32927 * wcsmbs/bits/wchar2.h: Likewise.
32928 * wcsmbs/uchar.h: Likewise.
32929 * wcsmbs/wchar.h: Likewise.
32930 * wctype/wctype.h: Likewise.
32931
0269750c
UD
32932 [BZ #13551]
32933 * Makeconfig: Remove all but ELF support including AIX support.
32934 * Makerules: Likewise.
32935 * config.h.in: Likewise.
32936 * config.make.in: Likewise.
32937 * configure: Likewise.
32938 * configure.in: Likewise.
32939 * csu/Makefile: Likewise.
32940 * csu/version.c: Likewise.
32941 * debug/Makefile: Likewise.
32942 * dlfcn/Makefile: Likewise.
32943 * elf/Makefile: Likewise.
32944 * extra-lib.mk: Likewise.
32945 * iconv/Makefile: Likewise.
32946 * include/libc-symbols.h: Likewise.
32947 * include/shlib-compat.h: Likewise.
32948 * resolv/Makefile: Likewise.
32949 * resolv/res_libc.c: Likewise.
32950 * rt/Makefile: Likewise.
32951 * sysdeps/i386/asm-syntax.h: Likewise.
32952 * sysdeps/i386/sysdep.h: Likewise.
32953 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32954 * sysdeps/mach/sysdep.h: Likewise.
32955 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32956 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32957 * sysdeps/s390/asm-syntax.h: Likewise.
32958 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32959 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32960 * sysdeps/sh/sysdep.h: Likewise.
32961 * sysdeps/unix/sparc/sysdep.h: Likewise.
32962 * sysdeps/wordsize-32/divdi3.c: Likewise.
32963 * sysdeps/x86_64/sysdep.h: Likewise.
32964
00bbd29b
UD
32965 * argp/Versions: Remove _argp_unlock_xxx.
32966
32967 [BZ #13559]
32968 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32969 * abilist/libBrokenLocale.abilist: Likewise.
32970 * abilist/libanl.abilist: Likewise.
32971 * abilist/libc.abilist: Likewise.
32972 * abilist/libcrypt.abilist: Likewise.
32973 * abilist/libdl.abilist: Likewise.
32974 * abilist/libm.abilist: Likewise.
32975 * abilist/libnsl.abilist: Likewise.
32976 * abilist/libpthread.abilist: Likewise.
32977 * abilist/libresolv.abilist: Likewise.
32978 * abilist/librt.abilist: Likewise.
32979 * abilist/libthread_db.abilist: Likewise.
32980 * abilist/libutil.abilist: Likewise.
32981 * abilist/libnss_db.abilist: New file.
32982
32983 * scripts/abilist.awk: Add support for indirect functions.
32984
a2693a0e
UD
32985 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32986
3f05895f
UD
32987 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32988
ecb6fb48
UD
32989 * shlib-versions: Remove entries for ports architectures.
32990
664f8cb9
UD
32991 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32992 files in ports.
32993 * elf/stackguard-macros.h: Remove support for IA-64.
32994 * elf/tst-auditmod1.c: Likewise.
32995 * sysdeps/generic/ldsodefs.h: Likewise.
32996
7ae81d88
UD
32997 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32998 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32999 configure files.
33000
bdeba135
UD
33001 [BZ #13552]
33002 * configure.in: Remove --enable-omitfp support.
33003 * FAQ.in: Adjust.
33004 * config.make.in: Likewise.
33005 * Makeconfig: Likewise.
33006 * manual/install.texi: Likewise.
33007
d75a0a62
UD
33008 In case anyone cares, the IA-64 architecture could move to ports.
33009 * sysdeps/ia64/*: Removed.
33010 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33011 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33012
dcc9756b
UD
33013 [BZ #13555]
33014 * configure.in: Remove entries for unsupported architectures.
33015
d3761ebc 33016 [BZ #13533]
9954432e
UD
33017 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33018 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33019 routines.
33020 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33021 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33022 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33023 fall back to using wcrtomb.
33024 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33025 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33026 renaming.
33027 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33028 * wcsmbs/tst-c16c32-1.c: New file.
33029
33030 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33031 local variable.
33032
c3a87236
UD
33033 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33034
28926a1b
UD
33035 * elf/tst-unique3.cc: Add explicit declaration of gets.
33036 * elf/tst-unique3lib.cc: Likewise.
33037 * elf/tst-unique3lib2.cc: Likewise.
33038 * elf/tst-unique4.cc: Likewise.
33039
df78418a
UD
33040 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33041
8ecd6b2a
JM
330422012-01-06 Joseph Myers <joseph@codesourcery.com>
33043
33044 [BZ #13566]
33045 * assert/assert.h (static_assert): Don't define for C++.
33046 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33047 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33048
9f115170
UD
330492012-01-03 Ulrich Drepper <drepper@gmail.com>
33050
5e0d0300
UD
33051 * iconv/loop.c (single loop): Fix assertion in storing of
33052 remaining bytes.
33053
9f115170
UD
33054 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33055
81fb02b0
UD
330562012-01-01 Ulrich Drepper <drepper@gmail.com>
33057
33058 * posix/getconf.c: Update copyright year.
33059 * nss/getent.c: Likewise.
a316c1f6 33060 * nss/makedb.c: Likewise.
81fb02b0
UD
33061 * iconv/iconvconfig.c: Likewise.
33062 * iconv/iconv_prog.c: Likewise.
33063 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33064 * elf/pldd.c: Likewise.
33065 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33066 * catgets/gencat.c: Likewise.
33067 * csu/version.c: Likewise.
33068 * elf/ldd.bash.in: Likewise.
33069 * elf/sprof.c (print_version): Likewise.
33070 * locale/programs/locale.c: Likewise.
33071 * locale/programs/localedef.c: Likewise.
a316c1f6 33072 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33073 * nscd/nscd.c (print_version): Likewise.
33074 * debug/xtrace.sh: Likewise.
33075 * malloc/memusage.sh: Likewise.
33076 * malloc/mtrace.pl: Likewise.
33077 * debug/catchsegv.sh: Likewise.
33078
2ba92745
JJ
330792011-12-30 Jakub Jelinek <jakub@redhat.com>
33080
33081 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33082 pure attribute.
33083
dadebdae
UD
330842011-12-24 Ulrich Drepper <drepper@gmail.com>
33085
d3761ebc 33086 [BZ #13533]
db6af3eb
UD
33087 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33088 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33089 transformations.
33090 * iconv/gconv_int.h: Likewise.
33091 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33092 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33093 from libc for GLIBC_2.16.
33094 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33095 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33096 * wcsmbs/uchar.h: Really define mbstate_t.
33097 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33098 * wcsmbs/c16rtomb.c: New file.
33099 * wcsmbs/mbrtoc16.c: New file.
33100 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33101 for C/POSIX locale.
33102 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33103 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33104
dadebdae
UD
33105 * wcsmbs/wchar.h: Add missing __restrict.
33106
67371b56
UD
331072011-12-23 Ulrich Drepper <drepper@gmail.com>
33108
74033a25
UD
33109 [BZ #13532]
33110 * time/Makefile (routines): Add timespec_get.
33111 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33112 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33113 timespec for ISO C11.
33114 * time/timespec_get.c: New file.
33115 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33116 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33117
380d7e87
UD
33118 [BZ #13531]
33119 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33120 * stdlib/stdlib.h: Declare aligned_alloc.
33121 * Versions.def: Add GLIBC_2.16 for libc.
33122 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33123
4e9e7a35
UD
33124 [BZ 13527]
33125 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33126 ISO C11.
33127
380d7e87 33128 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33129 code.
33130
03a71829
UD
33131 [BZ #13528]
33132 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33133
839e283e
UD
33134 [BZ #13529]
33135 * assert/assert.h (static_assert): Define.
33136
ce5294e2 33137 * version.h: Update for 2.16 development version.
90fa7312 33138
8d44e150 33139 [BZ #13526]
d7809905
UD
33140 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33141 _ISOC11_SOURCE.
33142
c0da14cd
UD
33143 * version.h (RELEASE): Bump for 2.15 release.
33144 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33145
530a3249
MP
33146 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33147 Patch by Marek Polacek <mpolacek@redhat.com>.
33148
67371b56
UD
33149 * bits/byteswap.h: Protect long long constants with __extension__.
33150 * sysdeps/i386/bits/byteswap.h: Likewise.
33151 * sysdeps/ia64/bits/byteswap.h: Likewise.
33152 * sysdeps/s390/bits/byteswap.h: Likewise.
33153 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33154
15db4de1
LD
331552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33156
33157 [BZ #13540]
bbe315ea
LD
33158 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33159 destination buffer.
15db4de1
LD
33160 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33161
2b2596b1
MP
331622011-12-23 Marek Polacek <polacek@redhat.com>
33163
33164 * elf/dl-addr.c (determine_info): Add inline keyword.
33165 * elf/tst-auditmod4b.c (check_avx): Likewise.
33166 * elf/tst-auditmod6b.c (check_avx): Likewise.
33167 * elf/tst-auditmod6c.c (check_avx): Likewise.
33168 * elf/tst-auditmod7b.c (check_avx): Likewise.
33169
70c6c246
UD
331702011-12-23 Ulrich Drepper <drepper@gmail.com>
33171
33172 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33173 !__SSE_MATH__.
33174
c044cf14
LD
331752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33176
15db4de1 33177 [BZ #13540]
c044cf14
LD
33178 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33179 processing for last bytes.
33180
6b13d9d9
BH
331812011-08-06 Bruno Haible <bruno@clisp.org>
33182
d455f537
BH
33183 [BZ #13061]
33184 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33185 U+0385, not to U+1FEE.
33186
6b13d9d9
BH
33187 [BZ #13062]
33188 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33189 entry for U+00A5 U+0301.
33190
db910efd
UD
331912011-12-22 Ulrich Drepper <drepper@gmail.com>
33192
27deeafc
UD
33193 [BZ #13166]
33194 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33195 buffer for the output is too small.
33196
aed9d171
UD
33197 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33198 optimization.
33199
db910efd
UD
33200 [BZ #13185]
33201 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33202 SSE flags if possible.
33203
2bd779ae
LD
332042011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33205
e7f9dac3 33206 [BZ #13540]
2bd779ae
LD
33207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33208 processing for last bytes.
33209
154bfc16
JM
332102011-12-22 Joseph Myers <joseph@codesourcery.com>
33211
33212 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33213 (syscall-list-default-options, syscall-list-default-condition)
33214 (syscall-list-includes): Define.
33215 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33216 list of ABIs and options and #if conditions for each ABI. Do not
33217 handle common syscalls between ABIs specially.
33218 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33219 Remove.
33220 (syscall-list-variants, syscall-list-32bit-options)
33221 (syscall-list-32bit-condition, syscall-list-64bit-options)
33222 (syscall-list-64bit-condition): Define.
33223 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33224 (syscall-list-variants, syscall-list-32bit-options)
33225 (syscall-list-32bit-condition, syscall-list-64bit-options)
33226 (syscall-list-64bit-condition): Define.
33227 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33228 Remove.
33229 (syscall-list-variants, syscall-list-32bit-options)
33230 (syscall-list-32bit-condition, syscall-list-64bit-options)
33231 (syscall-list-64bit-condition): Define.
33232 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33233 Remove.
33234 (syscall-list-variants, syscall-list-32bit-options)
33235 (syscall-list-32bit-condition, syscall-list-64bit-options)
33236 (syscall-list-64bit-condition): Define.
33237
21eaf3a5
UD
332382011-12-22 Ulrich Drepper <drepper@gmail.com>
33239
16c6f992
UD
33240 * locale/iso-639.def: Add brx entry.
33241
41043168
UD
33242 [BZ #13328]
33243 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33244 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33245
21eaf3a5
UD
33246 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33247 __feraiseexcept_renamed.
33248
e3a851a2
UD
332492011-12-21 Ulrich Drepper <drepper@gmail.com>
33250
4920765e
UD
33251 [BZ #13538]
33252 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33253 EPOLLET with unsigned values.
33254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33255 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33256
e3a851a2
UD
33257 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33258 to large cancellation.
33259 * math/s_cacoshf.c: Likewise.
33260 * math/s_cacoshl.c: Likewise.
33261
b27e24b8
RK
332622011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33263
33264 [BZ #13305]
aebefeee 33265 [BZ #12786]
b27e24b8
RK
33266 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33267 * math/s_cacoshf.c: Likewise.
33268 * math/s_cacoshl.c: Likewise.
33269
ee190f67
UD
332702011-12-21 Ulrich Drepper <drepper@gmail.com>
33271
33272 [BZ #13439]
33273 * iconv/gconv.h: Define __GCONV_SWAP.
33274 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33275 * iconvdata/utf-16.c: Likewise.
33276 * iconvdata/utf-32.c: Likewise.
33277
707f25df
AS
332782011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33279
33280 [BZ #13524]
33281 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33282 numerator after shifting it by one limb.
33283
d2daaa1e
RÁE
332842011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33285
33286 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33287 under [__USE_EXTERN_INLINES].
33288
a4647e72
UD
332892011-12-17 Ulrich Drepper <drepper@gmail.com>
33290
33291 [BZ #13446]
33292 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33293
f0b264f1
AZ
332942011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33295
33296 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33297 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33298 optimized code.
33299 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33300 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33301 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33302 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33303 for strncasecmp/strncasecmp_l compilation.
33304 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33305 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33306
8ef4f244
MP
333072011-12-08 Marek Polacek <mpolacek@redhat.com>
33308
33309 [BZ #13484]
33310 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33311 of __asm__.
33312
97ac2654
UD
333132011-12-17 Ulrich Drepper <drepper@gmail.com>
33314
33315 [BZ #13506]
33316 * time/tzfile.c (__tzfile_read): Check values from file header.
33317
91d2a845
WS
333182011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33319
33320 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33321 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33322 * powerpc/powerpc32/dl-start.S: Likewise.
33323 * powerpc/powerpc32/elf/start.S: Likewise.
33324 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33325 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33326 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33327 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33328 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33329 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33330 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33331 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33332 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33333 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33334 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33335 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33336 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33337 * powerpc/powerpc32/memset.S: Likewise.
33338 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33339 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33340 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33341 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33342 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33343 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33344 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33345 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33346 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33347 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33348 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33349 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33350 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33351
a1267ba1
AZ
333522011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33353
33354 * math/libm-test.inc: Added more nearbyint tests.
33355 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
33356 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
33357 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
33358 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
33359
ad8ac1bd
RL
333602011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
33361
33362 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
33363 FD_CLOEXEC.
33364
1d3e4b61
UD
333652011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33366
33367 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
33368 Add wcscpy-ssse3 wcscpy-c.
33369 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
33370 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
33371 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
33372 * sysdeps/x86_64/wcschr.S: New file.
33373 * sysdeps/x86_64/wcsrchr.S: New file.
33374 * string/test-strcmp.c: Remove checking of wcscmp function for
33375 wrong alignments.
33376 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
33377 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
33378 wcsrchr-sse2 wcsrchr-c.
33379 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
33380 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
33381 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
33382 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
33383 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
33384 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
33385 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
33386 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
33387 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
33388 * wcsmbc/wcschr.c (WCSCHR): New macro.
33389
5b330a2d
UD
333902011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33391
33392 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
33393 * wcsmbs/test-wcsrchr.c: New file.
33394 * string/test-strrchr.c: Add wcsrchr support.
33395 (WIDE): New macro.
33396 * wcsmbs/test-wcscpy.c: New file.
33397 * string/test-strcpy.c: Add wcscpy support.
33398 (WIDE): New macro.
26428b7c 33399
f039c043
UD
334002011-12-10 Ulrich Drepper <drepper@gmail.com>
33401
33402 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
33403 the inner loop.
33404
850fb039
AS
334052011-12-06 Andreas Schwab <schwab@linux-m68k.org>
33406
33407 [BZ #13472]
33408 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
33409
4efbd5cb
UD
334102011-12-04 Ulrich Drepper <drepper@gmail.com>
33411
52ff5dd0 33412 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 33413 Minor optimizations.
52ff5dd0 33414
4efbd5cb
UD
33415 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
33416 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
33417 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
33418
8a426e12
UD
334192011-12-03 Ulrich Drepper <drepper@gmail.com>
33420
aff2453d
UD
33421 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
33422 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
33423 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
33424 for gcc to avoid warnings.
33425 * inet/Makefile (tests): Add tst-checks.
33426 * inet/tst-checks.c: New file.
33427
33428 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
33429 warning.
33430
33431 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
33432 __wmemcmp_sse2.
33433
33434 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
33435 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
33436
8a426e12
UD
33437 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
33438
9bea3473
UD
334392011-12-02 Ulrich Drepper <drepper@gmail.com>
33440
3a965496
UD
33441 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
33442 problem.
33443
9bea3473
UD
33444 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
33445
f101631b
UD
334462011-11-29 Joseph Myers <joseph@codesourcery.com>
33447
33448 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
33449 conditional on GCC version.
33450 (__arch_compare_and_exchange_val_8_acq)
33451 (__arch_compare_and_exchange_val_16_acq)
33452 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
33453 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
33454 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
33455
a98275aa
UD
334562011-12-02 Joseph Myers <joseph@codesourcery.com>
33457
33458 * sysdeps/sh/backtrace.c: New file.
33459
d4cc29a2
AS
334602011-12-02 Andreas Schwab <schwab@redhat.com>
33461
33462 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
33463 parenthesis.
33464
6257af2d
AS
334652011-12-01 Andreas Schwab <schwab@redhat.com>
33466
33467 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
33468 falling back to utime.
33469
b5f44c1a
AS
334702011-11-30 Andreas Schwab <schwab@redhat.com>
33471
33472 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
33473 expectations for float.
33474
f3a6cc0a
AS
334752011-11-29 Andreas Schwab <schwab@redhat.com>
33476
33477 * locale/weight.h (findidx): Add parameter len.
33478 * locale/weightwc.h (findidx): Likewise.
33479 * posix/fnmatch_loop.c (FCT): Adjust caller.
33480 * posix/regcomp.c (build_equiv_class): Likewise.
33481 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
33482 * posix/regexec.c (check_node_accept_bytes): Likewise.
33483 * string/strcoll_l.c (STRCOLL): Likewise.
33484 * string/strxfrm_l.c (STRXFRM): Likewise.
33485
9d65ea3a
UD
334862011-11-17 Ulrich Drepper <drepper@gmail.com>
33487
33488 * Makefile.in: Remove CVSOPT handling.
33489 * configure.in: Remove use of AC_REVISION.
33490 * iconvdata/Makefile (distribute): No need to filter out CVS.
33491 * scripts/list-sources.sh: Remove CVS, subversion and monotone
33492 handling.
33493
5583a086
AS
334942011-11-16 Andreas Schwab <schwab@redhat.com>
33495
33496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
33497 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
33498 [USE_AS_STRNCASECMP_L]: Likewise.
33499 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
33500 NO_TLS_DIRECT_SEG_REFS.
33501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
33502 Fix argument offsets for non-PIC.
33503 [USE_AS_STRNCASECMP_L]: Likewise.
33504 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
33505 NO_TLS_DIRECT_SEG_REFS.
33506
d62a8200
UD
335072011-11-15 Ulrich Drepper <drepper@gmail.com>
33508
9d65ea3a 33509 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
33510 O_CLOEXEC.
33511 * locale/loadlocale.c (_nl_load_locale): Likewise.
33512
09f93bd3
AS
335132011-11-15 Andreas Schwab <schwab@redhat.com>
33514
446514f9
AS
33515 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
33516 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
33517 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
33518 (SYSCALL_GETTIME): Set errno on error.
33519
09f93bd3
AS
33520 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
33521 count references to noai6ai_cached.
33522
312be3f9
UD
335232011-11-15 Ulrich Drepper <drepper@gmail.com>
33524
33525 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
33526
33527 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
33528 FD_CLOEXEC for /proc/self/maps.
33529
33530 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
33531 FD_CLOEXEC for /proc/meminfo.
33532
33533 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
33534 gai.conf.
33535
33536 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
33537 FD_CLOEXEC for given file.
33538
33539 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
33540
33541 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
33542 FD_CLOEXEC for /etc/hosts.
33543 (_gethtent): Likewise.
33544
33545 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
33546
33547 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
33548 cancellation and set FD_CLOEXEC for /etc/netgroup.
33549
33550 * nss/nss_files/files-key.c (search): Don't allow cancellation when
33551 reading /etc/publickey.
33552
33553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
33554 allow cancellation when reading /etc/group.
33555
33556 * nss/nss_files/files-alias.c (internal_setent): Don't allow
33557 cancellation.
33558 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
33559
33560 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
33561 when using data file.
33562
33563 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
33564
33565 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
33566 (write_nis_obj): Use "c" and "e" in fopen.
33567
33568 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
33569
33570 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
33571
33572 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
33573
33574 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
33575
33576 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
33577 locale.alias.
33578
33579 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
33580
33581 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
33582
33583 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
33584
33585 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
33586 file parsing and set FD_CLOEXEC.
33587
82af0fa8
UD
335882011-11-14 Ulrich Drepper <drepper@gmail.com>
33589
33590 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
33591
a5fb313c
AS
335922011-11-14 Andreas Schwab <schwab@redhat.com>
33593
33594 * malloc/arena.c (arena_get2): Don't call reused_arena when
33595 _int_new_arena failed.
33596
6abf3465
UD
335972011-11-14 Ulrich Drepper <drepper@gmail.com>
33598
33599 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
33600 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
33601 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
33602 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33603 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
33605 to compile strcasecmp and strncasecmp.
33606 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
33607 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
33608
33609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
33610
76e3966e
UD
336112011-11-13 Ulrich Drepper <drepper@gmail.com>
33612
33613 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
33614 locale-defines.sym to gen-as-const-headers.
33615 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
33616 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
33617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
33618 to compile strcasecmp and strncasecmp.
33619 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
33620 strcasecmp_l and strncasecmp_l.
33621 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
33622 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
33623 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
33624 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
33625 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
33626 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
33627 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
33628 * sysdeps/i386/i686/multiarch/strncase.S: New file.
33629 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
33630 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
33631 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
33632
ab26144e
UD
336332011-11-12 Ulrich Drepper <drepper@gmail.com>
33634
7edb22ef
UD
33635 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
33636 result of SYSDEP_GETTIME_CPU to retval.
33637 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
33638 parameter list to macro. Remove trailing semicolon. Adjust users.
33639
9694fc44
UD
33640 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
33641 variable.
33642
8ad89ef8
UD
33643 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
33644 mantissa words.
33645 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
33646
0c822ef9
UD
33647 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
33648 from unused variable.
33649
874e0564
UD
33650 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
33651 DWARF definitions.
33652 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
33653 for assembling.
33654
3a2edc79
UD
33655 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
33656 over namespaces.
33657
f3c2577f
UD
33658 * sunrpc/rpc_prot.c (rejected): Fix case value.
33659
294ce126
UD
33660 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
33661 unsigned long long int to avoid warnings in shift.
33662
5e2b63c6
UD
33663 * posix/regex_internal.c (re_string_reconstruct): Actually use result
33664 of use of trans.
33665 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
33666 variable tmp.
33667
e7f4b08e
UD
33668 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33669 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33670 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33671
ab26144e
UD
33672 * nis/nis_table.c (nis_list): Use variable of correct type for
33673 result of __follow_path call.
33674
8a6d5255
AZ
336752011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33676
33677 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33678 of math functions ceil, trunc, floor, round, and sqrt, when
33679 avaliable on the platform.
33680 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33681 name clash.
33682 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33683 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33684 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33685
aaddc98c
MP
336862011-10-30 Marek Polacek <mpolacek@redhat.com>
33687
33688 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33690
95b7042b
RM
336912011-11-11 Roland McGrath <roland@hack.frob.com>
33692
33693 * include/unistd.h: Fix __readlink return type.
33694 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33695
57769839
UD
336962011-11-11 Ulrich Drepper <drepper@gmail.com>
33697
33698 * stdlib/ucontext.h: Undo last change for makecontext.
33699
edc5984d
AS
337002011-11-11 Andreas Schwab <schwab@redhat.com>
33701
98591e58
AS
33702 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33703
edc5984d
AS
33704 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33705 * setjmp/setjmp.h: Mark functions as non-leaf.
33706 * setjmp/bits/setjmp2.h: Likewise.
33707 * stdlib/ucontext.h: Likewise.
33708
77cdc054
AS
337092011-11-10 Andreas Schwab <schwab@redhat.com>
33710
33711 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33712 (reused_arena): Don't check arena limit.
33713 (arena_get2): Atomically check arena limit.
33714
fe72eebd
UD
337152011-11-08 Ulrich Drepper <drepper@gmail.com>
33716
5f078c32
UD
33717 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33718 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33719
fe72eebd
UD
33720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33721 instructions.
33722
ae1bc2fa
AS
337232011-11-07 Andreas Schwab <schwab@redhat.com>
33724
7583a88d
AS
33725 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33726 handler when locking.
33727
ae1bc2fa
AS
33728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33729 Fix size of allocated buffer.
33730
10fb0bfa
AS
337312011-11-04 Andreas Schwab <schwab@redhat.com>
33732
998832a4
AS
33733 [BZ #10103]
33734 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33735 declarations for long double functions.
33736 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33737
10fb0bfa
AS
33738 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33739
3d7ba52b
AS
337402011-11-03 Andreas Schwab <schwab@redhat.com>
33741
a9ae54a1
AS
33742 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33743 installed.
33744
3d7ba52b
AS
33745 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33746 is disabled.
33747
bc8db248
ST
337482011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33749
33750 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33751
45b96dd6
AS
337522011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33753
647776f6
AS
33754 * include/alloca.h (stackinfo_alloca_round): Define.
33755 (extend_alloca): Use it.
33756 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33757 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33758 here.
33759
d91a8b93
AS
33760 * scripts/check-local-headers.sh: Ignore libaudit.h.
33761
45b96dd6
AS
33762 * nscd/Makefile (extra-objs): Make recursively expanded.
33763
432d41ce
UD
337642011-11-01 Ulrich Drepper <drepper@gmail.com>
33765
34372fc6
UD
33766 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33767 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33768
fadb59f8
UD
33769 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33770 * posix/tst-rfc3484-2.c: Likewise.
33771 * posix/tst-rfc3484-3.c: Likewise.
33772
78239589
UD
33773 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33774 process_vm_writev.
33775 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33776 process_vm_writev.
33777 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33778 process_vm_writev from libc using GLIBC_2.15 version.
33779
432d41ce
UD
33780 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33781
02f9c6cf
PP
337822011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33783
33784 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33785 stack usage.
33786
3a2c0242
UD
337872011-10-31 Ulrich Drepper <drepper@gmail.com>
33788
f4ec4833
UD
33789 [BZ #13367]
33790 * nss/getent.c (initgroups_keys): Show error message in case no group
33791 names are given.
33792
3a2c0242
UD
33793 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33794 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33795 __bump_nl_timestamp.
33796 * nscd/connections (nscd_init): When host database is served open
33797 netlink socket and request notification about configuration changes.
33798 (main_loop_poll): Track netlink file descriptor and bump timestamp
33799 in case data becomes available.
33800 (main_loop_epoll): Likewise.
33801 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33802 (database_pers_head): Add extra_data fileds.
33803 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33804 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33805 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33806 Adjust caller.
33807 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33808 in6ai data, call __free_in6ai.
33809 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33810 Add -DHAVE_NETLINK.
33811 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33812 interface information. Reuse previous data if netlink timestamp
33813 is not changed.
33814 (__bump_nl_timestamp): New function.
33815 (__free_in6ai): New function.
33816
636064eb
UD
338172011-10-30 Ulrich Drepper <drepper@gmail.com>
33818
33819 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33820 close_not_cancel_no_status here.
33821 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33822
9beb2334
UD
338232011-10-29 Ulrich Drepper <drepper@gmail.com>
33824
6ef76f3b
UD
33825 [BZ #13276]
33826 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33827 return value.
33828
0ffc4f3e 33829 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
33830 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33831 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33832
cb95113e
UD
338332011-07-03 Andreas Jaeger <aj@suse.de>
33834
33835 [BZ #10709]
33836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33837 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33838 * math/libm-test.inc (sin_test): Add test case.
33839
a1b560ff
UD
338402011-10-29 Ulrich Drepper <drepper@gmail.com>
33841
c9aaface
UD
33842 [BZ #13337]
33843 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33844 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33845
d272e7f1
UD
33846 * elf/chroot_canon.c (chroot_canon): Cleanups.
33847
1bc33071
UD
33848 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33849
1760874d
TJ
33850 [BZ #13335]
33851 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33852 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33853
51d91b18
UD
33854 * string/test-strchr.c: Make usable for strchrnul testing.
33855 * string/test-strchrnul.c: New file.
33856 * string/Makefile (strop-tests): Add strchrnul.
33857
a1b560ff 33858 * po/it.po: Update from translation team.
b611fb81 33859 * po/es.po: Likewise.
a1b560ff 33860
a5b81e1f
UD
338612011-10-28 Ulrich Drepper <drepper@gmail.com>
33862
fd52bc6d
UD
33863 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33864 the three constants needed as parameters. Drop the others.
33865 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33866 __m128i_strloadu_tolower.
52e4b9eb
UD
33867 Create and initialize variable zero and use it in all the places
33868 where _mm_setzero_si128 was used.
fd52bc6d 33869
a5b81e1f
UD
33870 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33871 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33872 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33873 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33874 anymore.
33875 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33876 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33877 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33878 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33879 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33880 __mpranred, __mptan.
33881 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33882 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33883 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33884 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33885 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33886 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33887 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33888 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33889 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33890
b4343346
AS
338912011-10-28 Andreas Schwab <schwab@redhat.com>
33892
0c92d8a8
AS
33893 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33894 redefine if SHARED.
33895 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33896
b4343346
AS
33897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33898 wide char related routines to wcsmbs subdir.
33899
3871f58f
AS
339002011-10-27 Andreas Schwab <schwab@redhat.com>
33901
33902 [BZ #13344]
33903 * misc/sys/cdefs.h (__THROWNL): Define.
33904 * posix/unistd.h: Use __THREADNL instead of __THREAD
33905 for memory synchronization functions.
33906
94d44d9f
RM
339072011-10-26 Roland McGrath <roland@hack.frob.com>
33908
21b64b15 33909 [BZ #13349]
94d44d9f
RM
33910 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33911 doesn't exist.
33912 * manual/stdio.texi (Obstack Streams): Node removed.
33913
f6ce9294
AS
339142011-10-26 Andreas Schwab <schwab@redhat.com>
33915
80479147
AS
33916 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33917 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33918 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33919
f6ce9294
AS
33920 * math/math_private.h (math_force_eval): Allow non-addressable
33921 arguments.
33922 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33923
618280a1
UD
339242011-10-25 Ulrich Drepper <drepper@gmail.com>
33925
e0016b11
UD
33926 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33927 file is not needed.
33928
33929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33930 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33932 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33933 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33934 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33935 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33936 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33937 Add AVX variants.
33938 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33939 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33940 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33941 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33942 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33943 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33944 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33946 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33947 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33948 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33949 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33950 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33951 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33952 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33953 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33954 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33955 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33956 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33957
33958 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33959 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33960
618280a1
UD
33961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33962 place. Use VEX encoding when compiling for AVX.
33963
37822576
AS
339642011-10-25 Andreas Schwab <schwab@redhat.com>
33965
1f1e1947
AS
33966 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33967 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33968
37822576
AS
33969 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33970
31ea014d
UD
339712011-10-25 Ulrich Drepper <drepper@gmail.com>
33972
d7826aa1 33973 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 33974 useless if() expression.
d7826aa1
UD
33975 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33984 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33985 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33986 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33987 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33988 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33989 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33990 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33991 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33993 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33994
31ea014d
UD
33995 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33996
16437fec
AS
339972011-10-25 Andreas Schwab <schwab@redhat.com>
33998
33999 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34000 condition.
34001 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34002
31d3cc00
UD
340032011-10-25 Ulrich Drepper <drepper@gmail.com>
34004
34005 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34006 .text section. Avoid duplicate constants.
34007 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34017 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34019 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34020 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34021 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34022 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34023 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34024 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34025 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34026 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34027 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34028 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34029 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34030 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34031 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34032 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34033 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34034 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34036 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34037 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34038 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34039 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34040 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34041 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34042 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34043 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34044 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34045 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34046 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34047 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34048 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34049 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34050 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34051 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34052
58985aa9
UD
340532011-10-24 Ulrich Drepper <drepper@gmail.com>
34054
202c9deb
UD
34055 * sysdeps/x86_64/dla.h: Move to ...
34056 * sysdeps/x86_64/fpu/dla.h: ...here.
34057 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34058 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34059
af968f62
UD
34060 * config.make.in: Add have-mfma4 entry.
34061 * configure.in: Substitute libc_cv_cc_fma4.
34062 * math/Makefile (dbl-only-routines): Add sincostab.
34063 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34064 Use __sincostab not sincos.
34065 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34066 name is a macro.
34067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34069 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34071 using __copysign.
34072 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34073 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34074 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34075 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34076 and __inv.
34077 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34078 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34079 __copysign.
34080 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34081 define aliases when function name is a macro.
34082 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34083 sysdeps/ieee754/dbl-64/sincos.tbl.
34084 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34085 fma4-enabled routines.
34086 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34087 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34088 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34089 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34090 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34091 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34092 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34093 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34094 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34095 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34096 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34097 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34098 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34099 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34100 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34101 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34102 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34103 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34104 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34105 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34106 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34107 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34110 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34112 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34113 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34114 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34115 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34116
58985aa9
UD
34117 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34118 rename.
34119 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34123 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34124 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34126 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34127
a201fbcf
AS
341282011-10-24 Andreas Schwab <schwab@redhat.com>
34129
34130 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34131
fc2ee42a
LD
341322011-10-23 Ulrich Drepper <drepper@gmail.com>
34133
bb3129bd
UD
34134 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34135
0275fff8
UD
34136 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34137 prediction.
34138 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34139
2fa2ae85
UD
34140 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34141 Remove unused variable magic_bits.
34142 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34143
fc2ee42a
LD
34144 * string/strnlen.c: Define and use STRNLEN macro.
34145 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34146 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34148 * wcsmbs/wcslen.c: Define and use WCSLEN.
34149 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34150 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34151 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34152 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34153 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34154 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34155 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34156
ce7dd29f
LD
341572011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34158
34159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34160 strnlen-sse2-no-bsf.
34161 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34163 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34164 Add strnlen support.
34165 (USE_AS_STRNLEN): New macro.
34166 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34167 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34168 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34169 * sysdeps/x86_64/wcslen.S: New file.
34170
979c70a3
MZ
341712011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34172
34173 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34174 XMM-moves are used for copying on small sizes.
34175
2d09f82f
LD
341762011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34177
34178 * wcsmbs/Makefile (strop-tests): Add wcschr.
34179 * wcsmbs/test-wcschr.c: New file.
34180 * string/test-strchr.c: Update.
34181 Add wcschr support.
34182 (WIDE): New macro.
34183
619fccca
LD
341842011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34185
2d09f82f 34186 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34187 * wcsmbs/test-wcslen.c: New file.
34188 * string/test-strlen.c: Update.
34189 Add wcslen support.
34190 (WIDE): New macro.
34191
09f699ea
UD
341922011-10-23 Ulrich Drepper <drepper@gmail.com>
34193
34194 * po/it.po: Update from translation team.
34195
95584d3b
LD
341962011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34197
34198 * sysdeps/x86_64/wcscmp.S: Update.
34199 Fix wrong comparison semantics.
34200 wcscmp shall use signed comparison not unsigned.
34201 Don't use substraction to avoid overflow bug.
34202 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34203 * wcsmbc/wcscmp.c: Likewise.
34204 * string/test-strcmp.c: Likewise.
34205 Add new tests to check cases with negative values.
34206
c8b3296b
UD
342072011-10-23 Ulrich Drepper <drepper@gmail.com>
34208
34209 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34210 * sysdeps/x86_64/dla.h: ...here. New file.
34211 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34212 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34214 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34220
246ad57a
AS
342212011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34222
34223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34224 __ynl_finite aliases.
34225
a1a87169
UD
342262011-10-22 Ulrich Drepper <drepper@gmail.com>
34227
0d355eb7
UD
34228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34229
a1a87169
UD
34230 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34231 define DLA_FMA.
34232 [DLA_FMA] (EMULV): Use DLA_FMA.
34233 [DLA_FMA] (MUL12): Use EMULV.
34234 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34235 that are not needed.
34236 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34238 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34239 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34243
ee2aafe0
AS
342442011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34245
34246 * math/s_nan.c: Undef __nan.
34247 * math/s_nanf.c: Undef __nanf.
34248 * math/s_nanl.c: Undef __nanl.
34249 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34250 "math_private.h".
34251
bc62c2fb
UD
342522011-10-22 Ulrich Drepper <drepper@gmail.com>
34253
77425c63
UD
34254 * math/s_catan.c: Add branch predictions.
34255 * math/s_catanf.c: Likewise.
34256 * math/s_catanh.c: Likewise.
34257 * math/s_catanhf.c: Likewise.
34258 * math/s_catanhl.c: Likewise.
34259 * math/s_catanl.c: Likewise.
34260 * math/s_cexp.c: Likewise.
34261 * math/s_cexpf.c: Likewise.
34262 * math/s_cexpl.c: Likewise.
34263 * math/s_clog.c: Likewise.
34264 * math/s_clog10.c: Likewise.
34265 * math/s_clog10f.c: Likewise.
34266 * math/s_clog10l.c: Likewise.
34267 * math/s_clogf.c: Likewise.
34268 * math/s_clogl.c: Likewise.
34269 * math/s_csqrt.c: Likewise.
34270 * math/s_csqrtf.c: Likewise.
34271 * math/s_csqrtl.c: Likewise.
34272 * math/s_ctanf.c: Likewise.
34273 * math/s_ctanh.c: Likewise.
34274 * math/s_ctanhf.c: Likewise.
34275 * math/s_ctanhl.c: Likewise.
34276 * math/s_ctanl.c: Likewise.
34277
bc62c2fb
UD
34278 * math/math_private.h: Define __nan, __nanf, __nanl.
34279 * math/s_cacosh.c: Include <math_private.h>.
34280 * math/s_cacoshl.c: Likewise.
34281 * math/s_casinh.c: Likewise.
34282 * math/s_casinhf.c: Likewise.
34283 * math/s_casinhl.c: Likewise.
34284 * math/s_ccos.c: Rely entire on ccosh.
34285 * math/s_ccosf.c: Rely entire on ccoshf.
34286 * math/s_ccosl.c: Rely entirely on ccoshl.
34287 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34288 Remove tests for FE_INVALID.
34289 * math/s_ccoshf.c: Likewise.
34290 * math/s_ccoshl.c: Likewise.
34291 * math/s_csin.c: Likewise.
34292 * math/s_csinf.c: Likewise.
34293 * math/s_csinh.c Likewise.
34294 * math/s_csinhf.c: Likewise.
34295 * math/s_csinhl.c: Likewise.
34296 * math/s_csinl.c: Likewise.
34297 * math/s_ctan.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34299 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34300 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34301
8ec250a4
UD
343022011-10-21 Ulrich Drepper <drepper@gmail.com>
34303
c196fed8
UD
34304 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34305 compilation problems.
34306
8ec250a4
UD
34307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34308 __builtin_expect.
34309
8d4f46c6
UD
343102011-10-20 Ulrich Drepper <drepper@gmail.com>
34311
ed72b654
UD
34312 * sysdeps/i386/configure.in: Test for -mfma4 option.
34313 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34314 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34315 COMMON_CPUID_INDEX_80000001.
34316 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34317 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34318 use it if FMA3 is not supported.
34319 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34320
8d4f46c6
UD
34321 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34322 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34323
d45c60c2
AS
343242011-10-20 Andreas Schwab <schwab@redhat.com>
34325
34326 [BZ #12892]
34327 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34328 it would create a cycle with a link time dependency.
34329
d9a4d2ab
UD
343302011-10-19 Ulrich Drepper <drepper@gmail.com>
34331
855d1560
UD
34332 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34333 instruction.
34334 * string/Makefile (strop-tests): Add rawmemchr.
34335 * string/test-rawmemchr.c: New file.
34336
d9a4d2ab
UD
34337 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34338 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34339 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34340 when compiling str{,n}casecmp and when AVX is available. Hook up
34341 new optimized code in initializers.
34342
8f3b1ffe
AS
343432011-10-19 Andreas Schwab <schwab@redhat.com>
34344
34345 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34346 __feraiseexcept instead of feraiseexcept.
34347
d38f1dba
UD
343482011-10-18 Ulrich Drepper <drepper@gmail.com>
34349
d9a8d0ab
UD
34350 * math/math_private.h: Define defaults for libc_fetestexcept and
34351 libc_feupdateenv.
34352 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
34353 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
34354 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34355 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34356 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34357 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34358 libc_fetestexcept and libc_feupdateenv.
34359
4855e3dd
UD
34360 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
34361 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
34362 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
34363 * sysdeps/x86_64/fpu/math_private.h: Define special version of
34364 libc_feholdexcept_setround.
34365
581d30e3
UD
34366 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
34367 Add s_nearbyint-c and s_nearbyintf-c.
34368 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
34369 nearbyintf inlines.
34370 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
34371 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
34372 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
34373 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
34374
d38f1dba
UD
34375 * math/math_private.h: Define defaults for libc_fegetround,
34376 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
34377 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
34378 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
34379 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
34380 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
34381 standard functions.
34382 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34383 Remove comments and hacks for old compiler versions.
34384 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
34385 libc_fegetround, libc_fesetround, libc_feholdexcept, and
34386 libc_feholdexceptl.
34387
caa6c9d8
AS
343882011-10-18 Andreas Schwab <schwab@redhat.com>
34389
34390 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
34391 (__feraiseexcept_renamed): Add __NTH.
34392 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
34393 namespace violations.
34394
97c066e6
UD
343952011-10-17 Ulrich Drepper <drepper@gmail.com>
34396
99ce7b04
UD
34397 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
34398
1004d182
UD
34399 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
34400
228a984d
UD
34401 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
34402 recently added interfaces.
34403 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
34404
c8553a6a
UD
34405 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
34406 about macro parameter expansion.
34407
ed22dcf6
UD
34408 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
34409 __NO_MATH_INLINES is defined. Cleanups.
34410
34411 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
34412 and __floorf is target has SSE4.1.
34413 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
34414 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
34417
b171c137
UD
34418 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
34419 name.
34420 (floorf): Likewise.
34421
97c066e6
UD
34422 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
34423
629f62ef
AS
344242011-10-17 Andreas Schwab <schwab@redhat.com>
34425
49a43d80
AS
34426 * misc/sys/cdefs.h: Fix last change.
34427
629f62ef
AS
34428 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
34429 database lookup.
34430
e453f6cd
UD
344312011-10-16 Ulrich Drepper <drepper@gmail.com>
34432
aa78043a
UD
34433 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
34434
ad0f5cad
UD
34435 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
34436 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34437 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34438 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34440 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34441 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34442 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34443 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34444 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
34445 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
34446 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
34447 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
34448 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
34449 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
34450 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
34451 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
34452 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
34453 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
34454 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
34455 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
34456 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
34457
34458 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
34459 ceil, ceilf, floor, floorf.
34460
34461 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
34462 Perform IRELATIVE relocations last.
34463
e453f6cd
UD
34464 * elf/do-rel.h: Add another parameter nrelative, replacing the
34465 local variable with the same name. Change name of the function
34466 to end in Rel or Rela (uppercase).
34467 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
34468 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
34469 elf_dynamic_do_##reloc function.
34470
fd5bdc09
UD
344712011-10-15 Ulrich Drepper <drepper@gmail.com>
34472
79b195b5
UD
34473 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
34474 is sufficient, at least on modern CPUs.
34475
d4a28569
UD
34476 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
34477
b61099b5
UD
34478 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
34479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
34480
bcf01e6d
UD
34481 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
34482 __expl_finite.
34483 * math/bits/math-finite.h: Add entries for exp.
34484 * math/e_expl.c: Add __*_finite alias.
34485 * sysdeps/i386/fpu/e_exp.S: Likewise.
34486 * sysdeps/i386/fpu/e_expf.S: Likewise.
34487 * sysdeps/i386/fpu/e_expl.c: Likewise.
34488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34489 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
34490 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34491 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34492 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
34493 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34494 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34495
ba1a0d59
UD
34496 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
34497 is sufficient, at least on modern CPUs.
34498
fd5bdc09
UD
34499 * ctype/ctype-info.c (__ctype_init): Define.
34500 * include/ctype.h (__ctype_init): Declare.
34501 (__ctype_b_loc): The variable is always initialized.
34502 (__ctype_toupper_loc): Likewise.
34503 (__ctype_tolower_loc): Likewise.
34504 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
34505 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
34506
7872cfb0
AS
345072011-10-15 Andreas Schwab <schwab@linux-m68k.org>
34508
b468825a
AS
34509 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
34510
7872cfb0
AS
34511 * configure.in: Also look in $cxxmachine/include for C++ system
34512 headers.
34513
be13f7bf
LD
345142011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34515
34516 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
34517 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
34518 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
34519 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
34520 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
34521 (USE_AS_WMEMCMP): New macro.
34522 Fixing indents.
34523 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
34524 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
34525 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
34526 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
34527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34528 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
34529 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
34530 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
34531 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
34532 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
34533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
34534 (USE_AS_WMEMCMP): New macro.
34535 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
34536 * sysdeps/string/test-memcmp.c: Update.
34537 Fix simple_wmemcmp.
34538 Add new tests.
34539 * wcsmbs/wmemcmp.c: Update.
34540 (WMEMCMP): New macro.
34541 Fix overflow bug.
34542
556a2007
AJ
345432011-10-12 Andreas Jaeger <aj@suse.de>
34544
34545 [BZ #13268]
34546 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
34547
538faaa7
UD
345482011-10-15 Ulrich Drepper <drepper@gmail.com>
34549
ab6737ff
UD
34550 * libio/iofwide.c (do_length): Avoid warning.
34551
538faaa7
UD
34552 * ctype/ctype.h (__isctype_f): Add missing __THROW.
34553
396a21b1
UD
345542011-10-14 Ulrich Drepper <drepper@gmail.com>
34555
cdf2901f
UD
34556 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
34557
38ad40ce
UD
34558 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
34559 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
34560 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
34561 * sysdeps/i386/i686/fpu/e_log.S: New file.
34562 * sysdeps/i386/i686/fpu/e_logf.S: New file.
34563 * sysdeps/i386/i686/fpu/e_logl.S: New file.
34564
396a21b1
UD
34565 * ctype/ctype.h: Add support for inlined isXXX functions when
34566 compiling C++ code.
34567
6b1f68c9
AS
345682011-10-14 Andreas Schwab <schwab@redhat.com>
34569
349290c0
AS
34570 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34571
6b1f68c9
AS
34572 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
34573
f2282d42
RM
345742011-10-13 Roland McGrath <roland@hack.frob.com>
34575
34576 [BZ #13291]
34577 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
34578
5298ffa8
AS
345792011-10-13 Andreas Schwab <schwab@redhat.com>
34580
714fad23
AS
34581 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
34582 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
34583 feraiseexcept.
34584
81dcc7fb
AS
34585 * sysdeps/x86_64/memrchr.S: Check for zero size.
34586
5298ffa8
AS
34587 * string/stratcliff.c: Add memrchr tests.
34588
951fbcec
LD
345892011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34590
34591 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34592 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
34593 rawmemchr-sse2 rawmemchr-sse2-bsf.
34594 * sysdeps/i386/i686/multiarch/memchr.S: New file.
34595 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
34596 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
34597 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
34598 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
34599 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
34600 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
34601 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
34602 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
34603 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
34604 * string/memrchr.c (MEMRCHR): New macro.
34605
0ac5ae23
UD
346062011-10-12 Ulrich Drepper <drepper@gmail.com>
34607
34608 Add integration with gcc's -ffinite-math-only and optimize wrapper
34609 functions in libm.
34610 * Versions.def: Define GLIBC_2.15 version for libm.
34611 * math/Makefile (headers): Add bits/math-finite.h.
34612 * math/bits/math-finite.h: New file.
34613 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
34614 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
34615 * math/e_acoshl.c: Add __*_finite alias.
34616 * math/e_acosl.c: Likewise.
34617 * math/e_asinl.c: Likewise.
34618 * math/e_atan2l.c: Likewise.
34619 * math/e_atanhl.c: Likewise.
34620 * math/e_coshl.c: Likewise.
34621 * math/e_exp10.c: Likewise.
34622 * math/e_exp10f.c: Likewise.
34623 * math/e_exp10l.c: Likewise.
34624 * math/e_exp2l.c: Likewise.
34625 * math/e_fmodl.c: Likewise.
34626 * math/e_gammal_r.c: Likewise.
34627 * math/e_hypotl.c: Likewise.
34628 * math/e_j0l.c: Likewise.
34629 * math/e_j1l.c: Likewise.
34630 * math/e_jnl.c: Likewise.
34631 * math/e_lgammal_r.c: Likewise.
34632 * math/e_log10l.c: Likewise.
34633 * math/e_log2l.c: Likewise.
34634 * math/e_logl.c: Likewise.
34635 * math/e_powl.c: Likewise.
34636 * math/e_sinhl.c: Likewise.
34637 * math/e_sqrtl.c: Likewise.
34638 * math/e_scalb.c: Completely rewritten and optimized.
34639 * math/e_scalbf.c: Likewise.
34640 * math/e_scalbl.c: Likewise.
34641 * math/w_acos.c: Likewise.
34642 * math/w_acosf.c: Likewise.
34643 * math/w_acosl.c: Likewise.
34644 * math/w_acosh.c: Likewise.
34645 * math/w_acoshf.c: Likewise.
34646 * math/w_acoshl.c: Likewise.
34647 * math/w_asin.c: Likewise.
34648 * math/w_asinf.c: Likewise.
34649 * math/w_asinl.c: Likewise.
34650 * math/w_atan2.c: Likewise.
34651 * math/w_atan2f.c: Likewise.
34652 * math/w_atan2l.c: Likewise.
34653 * math/w_atanh.c: Likewise.
34654 * math/w_atanhf.c: Likewise.
34655 * math/w_atanhl.c: Likewise.
34656 * math/w_exp10.c: Likewise.
34657 * math/w_exp10f.c: Likewise.
34658 * math/w_exp10l.c: Likewise.
34659 * math/w_fmod.c: Likewise.
34660 * math/w_fmodf.c: Likewise.
34661 * math/w_fmodl.c: Likewise.
34662 * math/w_j0.c: Likewise.
34663 * math/w_j0f.c: Likewise.
34664 * math/w_j0l.c: Likewise.
34665 * math/w_j1.c: Likewise.
34666 * math/w_j1f.c: Likewise.
34667 * math/w_j1l.c: Likewise.
34668 * math/w_jn.c: Likewise.
34669 * math/w_jnf.c: Likewise.
34670 * math/w_log.c: Likewise.
34671 * math/w_logf.c: Likewise.
34672 * math/w_logl.c: Likewise.
34673 * math/w_log10.c: Likewise.
34674 * math/w_log10f.c: Likewise.
34675 * math/w_log10l.c: Likewise.
34676 * math/w_log2.c: Likewise.
34677 * math/w_log2f.c: Likewise.
34678 * math/w_log2l.c: Likewise.
34679 * math/w_pow.c: Likewise.
34680 * math/w_powf.c: Likewise.
34681 * math/w_powl.c: Likewise.
34682 * math/w_remainder.c: Likewise.
34683 * math/w_remainderf.c: Likewise.
34684 * math/w_remainderl.c: Likewise.
34685 * math/w_scalb.c: Likewise.
34686 * math/w_scalbf.c: Likewise.
34687 * math/w_scalbl.c: Likewise.
34688 * math/w_sqrt.c: Likewise.
34689 * math/w_sqrtf.c: Likewise.
34690 * math/w_sqrtl.c: Likewise.
34691 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34692 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34693 used.
34694 * math/math_private.h: Declare __kernel_standard_f.
34695 * math/w_cosh.c: Remove cruft and optimize a bit.
34696 * math/w_coshf.c: Likewise.
34697 * math/w_coshl.c: Likewise.
34698 * math/w_exp2.c: Likewise.
34699 * math/w_exp2f.c: Likewise.
34700 * math/w_exp2l.c: Likewise.
34701 * math/w_hypot.c: Likewise.
34702 * math/w_hypotf.c: Likewise.
34703 * math/w_hypotl.c: Likewise.
34704 * math/w_lgamma.c: Likewise.
34705 * math/w_lgamma_r.c: Likewise.
34706 * math/w_lgammaf.c: Likewise.
34707 * math/w_lgammaf_r.c: Likewise.
34708 * math/w_lgammal.c: Likewise.
34709 * math/w_lgammal_r.c: Likewise.
34710 * math/w_sinh.c: Likewise.
34711 * math/w_sinhf.c: Likewise.
34712 * math/w_sinhl.c: Likewise.
34713 * math/w_tgamma.c: Likewise.
34714 * math/w_tgammaf.c: Likewise.
34715 * math/w_tgammal.c: Likewise.
34716 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34717 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34718 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34719 Minor optimizations. Pretty printing. Remove cruft.
34720 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34721 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34722 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34723 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34724 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34725 * sysdeps/i386/fpu/e_asin.S: Likewise.
34726 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34727 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34728 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34729 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34730 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34731 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34732 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34733 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34734 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34735 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34736 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34737 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34738 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34739 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34740 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34741 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34742 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34743 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34744 * sysdeps/i386/fpu/e_log.S: Likewise.
34745 * sysdeps/i386/fpu/e_log10.S: Likewise.
34746 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34747 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34748 * sysdeps/i386/fpu/e_log2.S: Likewise.
34749 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34751 * sysdeps/i386/fpu/e_logf.S: Likewise.
34752 * sysdeps/i386/fpu/e_logl.S: Likewise.
34753 * sysdeps/i386/fpu/e_pow.S: Likewise.
34754 * sysdeps/i386/fpu/e_powf.S: Likewise.
34755 * sysdeps/i386/fpu/e_powl.S: Likewise.
34756 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34757 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34758 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34759 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34760 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34761 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34762 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34763 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34764 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34765 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34772 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34774 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34775 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34776 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34778 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34779 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34781 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34782 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34783 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34784 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34785 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34786 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34787 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34788 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34789 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34790 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34791 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34792 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34793 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34794 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34796 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34799 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34800 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34801 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34802 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34803 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34804 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34805 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34806 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34807 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34809 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34810 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34811 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34812 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34814 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34815 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34816 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34817 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34818 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34820 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34821 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34822 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34823 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34824 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34825 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34826 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34827 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34828 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34829 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34830 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34831 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34832 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34833 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34834 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34835 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34836 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34837 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34838 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34839 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34840 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34841 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34847 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34848 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34849 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34850 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34851 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34852 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34853 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34854 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34855 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34858 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34859 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34860 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34861 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34862 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34863 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34864 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34865 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34866 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34867 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34868 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34869 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34870 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34871 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34872 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34873 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34874 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34875 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34876 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34877 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34878 (__isnanf): Likewise.
34879 (__isinf_ns): Likewise.
34880 (__isinf_nsf): Likewise.
34881 (__finite): Likewise.
34882 (__finitef): Likewise.
34883 (__ieee754_sqrt): Define as macro.
34884 (__ieee754_sqrtf): Define as macro.
34885 (__ieee754_sqrtl): Define as macro.
34886 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34887 inlined copy.
34888 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34889 __FINITE_MATH_ONLY__ consistent.
34890 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34891
12cc2fcd
AS
348922011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34893
a843a204
AS
34894 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34895 of rawmemchr.
34896
12cc2fcd
AS
34897 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34898
c853acd5
UD
348992011-10-09 Ulrich Drepper <drepper@gmail.com>
34900
34901 * po/ja.po: Update from translation team.
34902
c658d255
RM
349032011-10-08 Roland McGrath <roland@hack.frob.com>
34904
110946e4
RM
34905 * locale/programs/locarchive.c (prepare_address_space): New function.
34906 (create_archive, enlarge_archive, open_archive): Use it.
34907
50604220
RM
34908 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34909 inside [SHARED], where it is used.
34910
c658d255
RM
34911 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34912
34913 * nss/getent.c (netgroup_keys): Remove unused variable.
34914 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34915
6a621eb7
UD
349162011-10-08 Ulrich Drepper <drepper@gmail.com>
34917
7edb55ce
UD
34918 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34919 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34920 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34921 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34922 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34923 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34924 * math/Makefile (libm-calls): Add s_isinf_ns.
34925 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34926 * math/multc3.c: Likewise.
34927 * math/s_casin.c: Likewise.
34928 * math/s_casinf.c: Likewise.
34929 * math/s_casinl.c: Likewise.
34930 * math/s_ccos.c: Likewise.
34931 * math/s_ccosf.c: Likewise.
34932 * math/s_ccosl.c: Likewise.
34933 * math/s_ctan.c: Likewise.
34934 * math/s_ctanf.c: Likewise.
34935 * math/s_ctanh.c: Likewise.
34936 * math/s_ctanhf.c: Likewise.
34937 * math/s_ctanhl.c: Likewise.
34938 * math/s_ctanl.c: Likewise.
34939 * math/w_fmod.c: Likewise.
34940 * math/w_fmodf.c: Likewise.
34941 * math/w_fmodl.c: Likewise.
34942 * math/w_remainder.c: Likewise.
34943 * math/w_remainderf.c: Likewise.
34944 * math/w_remainderl.c: Likewise.
34945 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34946 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34947 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34948 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34949 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34950 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34951 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34952 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34953
187da0ae
UD
34954 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34955 of the number.
34956 * stdio-common/printf_fphex.c: Likewise.
34957 * stdio-common/printf_size.c: Likewise.
34958
9277c064
UD
34959 * math/e_exp10.c: Include math_private.h using <...> not "...".
34960 * math/e_exp10f.c: Likewise.
34961 * math/e_exp10l.c: Likewise.
34962 * math/e_exp2l.c: Likewise.
34963 * math/e_j0l.c: Likewise.
34964 * math/e_j1l.c: Likewise.
34965 * math/e_jnl.c: Likewise.
34966 * math/e_lgammal_r.c: Likewise.
34967 * math/e_rem_pio2l.c: Likewise.
34968 * math/e_scalb.c: Likewise.
34969 * math/e_scalbf.c: Likewise.
34970 * math/e_scalbl.c: Likewise.
34971 * math/k_cosl.c: Likewise.
34972 * math/k_sinl.c: Likewise.
34973 * math/k_tanl.c: Likewise.
34974 * math/s_cacoshf.c: Likewise.
34975 * math/s_catan.c: Likewise.
34976 * math/s_catanf.c: Likewise.
34977 * math/s_catanh.c: Likewise.
34978 * math/s_catanhf.c: Likewise.
34979 * math/s_catanhl.c: Likewise.
34980 * math/s_catanl.c: Likewise.
34981 * math/s_ccosh.c: Likewise.
34982 * math/s_ccoshf.c: Likewise.
34983 * math/s_ccoshl.c: Likewise.
34984 * math/s_cexp.c: Likewise.
34985 * math/s_cexpf.c: Likewise.
34986 * math/s_cexpl.c: Likewise.
34987 * math/s_clog.c: Likewise.
34988 * math/s_clog10.c: Likewise.
34989 * math/s_clog10f.c: Likewise.
34990 * math/s_clog10l.c: Likewise.
34991 * math/s_clogf.c: Likewise.
34992 * math/s_clogl.c: Likewise.
34993 * math/s_csin.c: Likewise.
34994 * math/s_csinf.c: Likewise.
34995 * math/s_csinh.c: Likewise.
34996 * math/s_csinhf.c: Likewise.
34997 * math/s_csinhl.c: Likewise.
34998 * math/s_csinl.c: Likewise.
34999 * math/s_csqrt.c: Likewise.
35000 * math/s_csqrtf.c: Likewise.
35001 * math/s_csqrtl.c: Likewise.
35002 * math/s_ctan.c: Likewise.
35003 * math/s_ctanf.c: Likewise.
35004 * math/s_ctanh.c: Likewise.
35005 * math/s_ctanhf.c: Likewise.
35006 * math/s_ctanhl.c: Likewise.
35007 * math/s_ctanl.c: Likewise.
35008 * math/s_ldexp.c: Likewise.
35009 * math/s_ldexpf.c: Likewise.
35010 * math/s_ldexpl.c: Likewise.
35011 * math/s_significand.c: Likewise.
35012 * math/s_significandf.c: Likewise.
35013 * math/s_significandl.c: Likewise.
35014 * math/w_acos.c: Likewise.
35015 * math/w_acosf.c: Likewise.
35016 * math/w_acosh.c: Likewise.
35017 * math/w_acoshf.c: Likewise.
35018 * math/w_acoshl.c: Likewise.
35019 * math/w_acosl.c: Likewise.
35020 * math/w_asin.c: Likewise.
35021 * math/w_asinf.c: Likewise.
35022 * math/w_asinl.c: Likewise.
35023 * math/w_atan2.c: Likewise.
35024 * math/w_atan2f.c: Likewise.
35025 * math/w_atan2l.c: Likewise.
35026 * math/w_atanh.c: Likewise.
35027 * math/w_atanhf.c: Likewise.
35028 * math/w_atanhl.c: Likewise.
35029 * math/w_cosh.c: Likewise.
35030 * math/w_coshf.c: Likewise.
35031 * math/w_coshl.c: Likewise.
35032 * math/w_dremf.c: Likewise.
35033 * math/w_exp10.c: Likewise.
35034 * math/w_exp10f.c: Likewise.
35035 * math/w_exp10l.c: Likewise.
35036 * math/w_exp2.c: Likewise.
35037 * math/w_exp2f.c: Likewise.
35038 * math/w_fmod.c: Likewise.
35039 * math/w_fmodf.c: Likewise.
35040 * math/w_fmodl.c: Likewise.
35041 * math/w_hypot.c: Likewise.
35042 * math/w_hypotf.c: Likewise.
35043 * math/w_hypotl.c: Likewise.
35044 * math/w_j0.c: Likewise.
35045 * math/w_j0f.c: Likewise.
35046 * math/w_j0l.c: Likewise.
35047 * math/w_j1.c: Likewise.
35048 * math/w_j1f.c: Likewise.
35049 * math/w_j1l.c: Likewise.
35050 * math/w_jn.c: Likewise.
35051 * math/w_jnf.c: Likewise.
35052 * math/w_jnl.c: Likewise.
35053 * math/w_lgamma.c: Likewise.
35054 * math/w_lgamma_r.c: Likewise.
35055 * math/w_lgammaf.c: Likewise.
35056 * math/w_lgammaf_r.c: Likewise.
35057 * math/w_lgammal.c: Likewise.
35058 * math/w_lgammal_r.c: Likewise.
35059 * math/w_log.c: Likewise.
35060 * math/w_log10.c: Likewise.
35061 * math/w_log10f.c: Likewise.
35062 * math/w_log10l.c: Likewise.
35063 * math/w_log2.c: Likewise.
35064 * math/w_log2f.c: Likewise.
35065 * math/w_log2l.c: Likewise.
35066 * math/w_logf.c: Likewise.
35067 * math/w_logl.c: Likewise.
35068 * math/w_pow.c: Likewise.
35069 * math/w_powf.c: Likewise.
35070 * math/w_powl.c: Likewise.
35071 * math/w_remainder.c: Likewise.
35072 * math/w_remainderf.c: Likewise.
35073 * math/w_remainderl.c: Likewise.
35074 * math/w_scalb.c: Likewise.
35075 * math/w_scalbf.c: Likewise.
35076 * math/w_scalbl.c: Likewise.
35077 * math/w_sinh.c: Likewise.
35078 * math/w_sinhf.c: Likewise.
35079 * math/w_sinhl.c: Likewise.
35080 * math/w_sqrt.c: Likewise.
35081 * math/w_sqrtf.c: Likewise.
35082 * math/w_sqrtl.c: Likewise.
35083 * math/w_tgamma.c: Likewise.
35084 * math/w_tgammaf.c: Likewise.
35085 * math/w_tgammal.c: Likewise.
35086
6a621eb7
UD
35087 * po/ja.po: Update from translation team.
35088
bf582445
AJ
350892011-09-29 Andreas Jaeger <aj@suse.de>
35090
f9efbf3a
AJ
35091 [BZ #13179]
35092 * sunrpc/netname.c (netname2host): Fix logic.
35093
bf582445
AJ
35094 [BZ #6779]
35095 [BZ #6783]
35096 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35097 correctly.
35098 * math/w_remainder.c (__remainder): Likewise.
35099 * math/w_remainderf.c (__remainderf): Likewise.
35100 * math/libm-test.inc (remainder_test): Add test cases.
35101
48693bea
AK
351022011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35103
35104 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35105 sdiv_qrnnd.
35106
42622229
LD
351072011-10-07 Ulrich Drepper <drepper@gmail.com>
35108
35109 * string/test-memcmp.c: Avoid unncessary #defines.
35110 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35111
093ecf92
LD
351122011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35113
35114 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35115 Use new sse2 version for core i3 - i7 as it's faster
35116 than sse42 version.
35117 (bit_Prefer_PMINUB_for_stringop): New.
35118 * sysdeps/x86_64/rawmemchr.S: Update.
35119 Replace with faster SSE2 version.
35120 * sysdeps/x86_64/memrchr.S: New file.
35121 * sysdeps/x86_64/memchr.S: Update.
35122 Replace with faster SSE2 version.
35123
fde56e5c
MP
351242011-09-12 Marek Polacek <mpolacek@redhat.com>
35125
35126 * elf/dl-load.c (lose): Add cast to avoid warning.
35127
21fd49a9
UD
351282011-10-07 Ulrich Drepper <drepper@gmail.com>
35129
5a06e643
UD
35130 * po/ca.po: Update from translation team.
35131
684ae515
UD
35132 * inet/getnetgrent_r.c: Hook up nscd.
35133 * nscd/Makefile (routines): Add nscd_netgroup.
35134 (nscd-modules): Add netgroupcache.
35135 (CFLAGS-netgroupcache.c): Define.
35136 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35137 (cache_search): Add const to second parameter.
35138 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35139 INNETGR.
35140 (dbs): Add netgrdb entry.
35141 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35142 (verify_persistent_db): Handle netgrdb.
35143 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35144 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35145 GETFDNETGR.
35146 (netgroup_response_header): Define.
35147 (innetgroup_response_header): Define.
35148 (datahead): Add netgroup_response_header and innetgroup_response_header
35149 elements.
35150 * nscd/nscd.conf: Add entries for netgroup cache.
35151 * nscd/nscd.h (dbtype): Add netgrdb.
35152 (_PATH_NSCD_NETGROUP_DB): Define.
35153 (netgroup_iov_disabled): Declare.
35154 (xmalloc, xcalloc, xrealloc): Move declarations here.
35155 (cache_search): Adjust prototype.
35156 Add netgroup-related prototypes.
35157 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35158 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35159 (__nscd_innetgr): Declare.
35160 * nscd/selinux.c (perms): Use access_vector_t as element type and
35161 add netgroup-related initializers.
35162 * nscd/netgroupcache.c: New file.
35163 * nscd/nscd_netgroup.c: New file.
35164 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35165 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35166 For four parameters use innetgr.
35167 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35168 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35169 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35170 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35171
21fd49a9
UD
35172 * nscd/connections.c (register_traced_file): Don't register file
35173 for disabled databases.
35174
054c0457
UD
351752011-10-06 Ulrich Drepper <drepper@gmail.com>
35176
32b63198
UD
35177 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35178
054c0457
UD
35179 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35180 from tree and freeing node.
35181
64031225
JO
351822011-09-25 Jiri Olsa <jolsa@redhat.com>
35183
35184 * nss/nsswitch.c (__nss_database_lookup): Handle
35185 nss_parse_service_list out of memory case.
35186
0490345c
JO
351872011-09-15 Jiri Olsa <jolsa@redhat.com>
35188
35189 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35190 out of memory case.
35191
3a62d00d
AS
351922011-10-04 Andreas Schwab <schwab@redhat.com>
35193
35194 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35195 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35196 pass it down.
35197 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35198 elf_machine_rela, elf_machine_lazy_rel.
35199 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35200 (ELF_DYNAMIC_DO_REL): Likewise.
35201 (ELF_DYNAMIC_DO_RELA): Likewise.
35202 (ELF_DYNAMIC_RELOCATE): Likewise.
35203 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35204 to ELF_DYNAMIC_DO_REL.
35205 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35206 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35207 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35208 elf_machine_rela.
35209 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35210 skip_ifunc, don't call ifunc function if non-zero.
35211 (elf_machine_rela): Likewise.
35212 (elf_machine_lazy_rel): Likewise.
35213 (elf_machine_lazy_rela): Likewise.
35214 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35215 (elf_machine_lazy_rel): Likewise.
35216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35217 Likewise.
35218 (elf_machine_lazy_rel): Likewise.
35219 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35220 Likewise.
35221 (elf_machine_lazy_rel): Likewise.
35222 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35223 (elf_machine_lazy_rel): Likewise.
35224 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35225 (elf_machine_lazy_rel): Likewise.
35226 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35227 (elf_machine_lazy_rel): Likewise.
35228 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35229 (elf_machine_lazy_rel): Likewise.
35230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35231 (elf_machine_lazy_rel): Likewise.
35232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35233 (elf_machine_lazy_rel): Likewise.
35234
68577918
UD
352352011-09-28 Ulrich Drepper <drepper@gmail.com>
35236
35237 * nss/nss_files/files-init.c (_nss_files_init): Use static
35238 initialization for all the *_traced_file variables.
35239
68822d74
AS
352402011-09-28 Andreas Schwab <schwab@redhat.com>
35241
35242 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35243
2056100b
RM
352442011-09-27 Roland McGrath <roland@hack.frob.com>
35245
35246 [BZ #13226]
35247 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35248
32c76b63
AS
352492011-09-27 Andreas Schwab <schwab@redhat.com>
35250
35251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35252 Reread the line before reparsing it.
35253
bf972c9d
AS
352542011-09-26 Andreas Schwab <schwab@redhat.com>
35255
35256 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35257
e057a1b5
JM
352582011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35259 Maxim Kuvyrkov <maxim@codesourcery.com>
35260 Joseph Myers <joseph@codesourcery.com>
35261
35262 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35263 if needed for __stack_chk_guard.
35264
bc7e1c36
RM
352652011-09-19 Roland McGrath <roland@hack.frob.com>
35266
ecb1482f
RM
35267 * sysdeps/posix/spawni.c (script_execute): Always define it.
35268 It will be optimized away if unused.
35269 (maybe_script_execute): New function.
35270 (__spawni): Call it.
35271
bc7e1c36
RM
35272 * Makerules: Don't include tls.make.
35273 (config-tls): Always set to thread.
35274 * tls.make.c: File removed.
35275
1c3b002b
MF
352762011-09-19 Mike Frysinger <vapier@gentoo.org>
35277
35278 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35279 * config.make.in (CPPFLAGS-config): New substituted variable.
35280
2840865d
UD
352812011-09-15 Ulrich Drepper <drepper@gmail.com>
35282
88738eb6
UD
35283 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35284
cbf645a6 35285 [BZ #13192]
2840865d
UD
35286 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35287 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35288
b402e91a
RM
352892011-09-15 Roland McGrath <roland@hack.frob.com>
35290
35291 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35292 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35294 (CALL_FAIL): Likewise.
35295 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35296 (CALL_FAIL): Macro removed.
35297 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35298
4c1a1f71
UD
352992011-09-15 Ulrich Drepper <drepper@gmail.com>
35300
35301 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35302 for __FINITE_MATH_ONLY__ == 1.
35303
edc121be
AS
353042011-09-15 Andreas Schwab <schwab@redhat.com>
35305
35306 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35307 __ieee754_sqrt instead of sqrt.
35308 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35309 __ieee754_sqrtf instead of sqrtf.
35310 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35311 __floorf instead of floorf.
35312 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35313 __floorf, __truncf instead of floorf, truncf.
35314
cd205654
UD
353152011-09-14 Ulrich Drepper <drepper@gmail.com>
35316
ee4d0315
UD
35317 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35318
cd205654
UD
35319 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35320 __extern_always_inline.
35321 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35322 32-bit.
35323
48b67d71
AS
353242011-09-14 Andreas Schwab <schwab@redhat.com>
35325
35326 * elf/rtld.c (dl_main): Also relocate in dependency order when
35327 doing symbol dependency testing.
35328
1ae12c75
AS
353292011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35330
35331 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35332 Always define `refsym'.
35333
995a80df
AS
353342011-09-13 Andreas Schwab <schwab@redhat.com>
35335
e529793b
AS
35336 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35337 (__FD_ELT): Renamed from __FDELT.
35338 * misc/bits/select2.h (__FD_ELT): Likewise.
35339 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35340 __FD_MASK instead of __FDELT, __FDMASK.
35341 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35342 Likewise.
35343 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35344 Likewise.
35345
52d4fef8
AS
35346 * elf/Makefile (gen-ldd): Fix pattern.
35347
995a80df
AS
35348 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35349 (init_tls): Likewise.
35350
8682f8b0
UD
353512011-09-12 Ulrich Drepper <drepper@gmail.com>
35352
35353 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
35354
de82006d
AS
353552011-09-12 Andreas Schwab <schwab@redhat.com>
35356
a7c8e6a1
AS
35357 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
35358 `struct cmsghdr *' instead of `void *'.
35359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
35360 Likewise.
35361
0f31fe77
AS
353622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
35363
35364 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
35365 if non-absolute.
35366 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
35367 ldd_rewrite_script.
0f31fe77 35368
32b4c839
UD
353692011-09-11 Ulrich Drepper <drepper@gmail.com>
35370
83cd1420
UD
35371 * configure.in: Remove --with-tls option.
35372 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
35373 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
35374 out in case it is missing.
35375 * sysdeps/ia64/elf/configure.in: Likewise.
35376 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
35377 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
35378 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
35379 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
35380 * sysdeps/sh/elf/configure.in: Likewise.
35381 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
35382 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35383 * sysdeps/x86_64/elf/configure.in: Likewise.
35384 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
35385 * sysdeps/mach/hurd/tls.h: Likewise.
35386
633f745d
UD
35387 [BZ #13067]
35388 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
35389
f318beb8
UD
35390 [BZ #13090]
35391 * configure.in: Fix use of AC_INIT.
35392
32b4c839
UD
35393 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
35394
3ce1f295
UD
353952011-09-10 Ulrich Drepper <drepper@gmail.com>
35396
bb016596
UD
35397 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
35398 __set_errno.
8e58439c
UD
35399 * malloc/hooks.c: Likewise.
35400
aebae053 35401 [BZ #11929]
02d46fc4
UD
35402 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
35403 variables statically.
35404 (narenas): Initialize.
35405 (list_lock): Initialize.
bb016596
UD
35406 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
35407 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
35408 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
35409 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
35410 Add initializers to main_arena and mp_.
35411 (malloc_state): Remove pagesize member. Change all users to use
35412 GLRO(dl_pagesize).
35413
35414 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
35415 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
35416 is always initialized.
35417
22a89187
UD
35418 * malloc/malloc.c: Removed unused configurations and dead code.
35419 * malloc/arena.c: Likewise.
35420 * malloc/hooks.c: Likewise.
02d46fc4 35421 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 35422
d063d164
UD
35423 * include/tls.h: Removed. USE___THREAD must always be defined.
35424 * bits/libc-tsd.h: Don't handle !USE___THREAD.
35425 * elf/dl-libc.c: Likewise.
35426 * elf/dl-tsd.c: Likewise.
35427 * include/errno.h: Likewise.
35428 * include/netdb.h: Likewise.
35429 * include/resolv.h: Likewise.
35430 * inet/herrno-loc.c: Likewise.
35431 * inet/herrno.c: Likewise.
35432 * malloc/arena.c: Likewise.
35433 * malloc/hooks.c: Likewise.
35434 * malloc/malloc.c: Likewise.
35435 * resolv/res-state.c: Likewise.
35436 * resolv/res_libc.c: Likewise.
35437 * sysdeps/i386/dl-machine.h: Likewise.
35438 * sysdeps/ia64/dl-machine.h: Likewise.
35439 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35441 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35442 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35443 * sysdeps/sh/dl-machine.h: Likewise.
35444 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35445 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35446 * sysdeps/unix/i386/sysdep.S: Likewise.
35447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35448 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35449 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35453 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35455 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35458 * sysdeps/x86_64/dl-machine.h: Likewise.
35459 * tls.make.c: Likewise.
35460
3ce1f295
UD
35461 * configure.in: Remove --with-__thread option. Make tests for
35462 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
35463 tls_model attribute fail if no support is available. Remove
35464 USE_IN_LIBIO.
35465 * Makeconfig: Adjust for dropped configure option. All features are
35466 now mandatory.
35467 * Makerules: Likewise.
35468 * Versions.def: Likewise.
35469 * argp/argp-fmtstream.c: Likewise.
35470 * argp/argp-fmtstream.h: Likewise.
35471 * argp/argp-help.c: Likewise.
35472 * assert/assert.c: Likewise.
35473 * config.h.in: Likewise.
35474 * config.make.in: Likewise.
35475 * configure: Likewise.
35476 * configure.in: Likewise.
35477 * csu/Versions: Likewise.
35478 * csu/init.c: Likewise.
35479 * elf/tst-audit2.c: Likewise.
35480 * elf/tst-tls10.c: Likewise.
35481 * elf/tst-tls10.h: Likewise.
35482 * elf/tst-tls11.c: Likewise.
35483 * elf/tst-tls12.c: Likewise.
35484 * elf/tst-tls14.c: Likewise.
35485 * elf/tst-tlsmod11.c: Likewise.
35486 * elf/tst-tlsmod12.c: Likewise.
35487 * elf/tst-tlsmod13.c: Likewise.
35488 * elf/tst-tlsmod13a.c: Likewise.
35489 * elf/tst-tlsmod14a.c: Likewise.
35490 * elf/tst-tlsmod15b.c: Likewise.
35491 * elf/tst-tlsmod16a.c: Likewise.
35492 * elf/tst-tlsmod16b.c: Likewise.
35493 * elf/tst-tlsmod7.c: Likewise.
35494 * elf/tst-tlsmod8.c: Likewise.
35495 * elf/tst-tlsmod9.c: Likewise.
35496 * gmon/gmon.c: Likewise.
35497 * grp/fgetgrent_r.c: Likewise.
35498 * grp/putgrent.c: Likewise.
35499 * hurd/fopenport.c: Likewise.
35500 * include/libc-symbols.h: Likewise.
35501 * include/tls.h: Likewise.
35502 * intl/gettextP.h: Likewise.
35503 * intl/loadinfo.h: Likewise.
35504 * locale/global-locale.c: Likewise.
35505 * locale/localeinfo.h: Likewise.
35506 * mach/devstream.c: Likewise.
35507 * malloc/arena.c: Likewise.
35508 * malloc/set-freeres.c: Likewise.
35509 * misc/err.c: Likewise.
35510 * misc/getttyent.c: Likewise.
35511 * misc/mntent_r.c: Likewise.
35512 * posix/getopt.c: Likewise.
35513 * posix/wordexp.c: Likewise.
35514 * pwd/fgetpwent_r.c: Likewise.
35515 * resolv/Versions: Likewise.
35516 * resolv/res_hconf.c: Likewise.
35517 * shadow/fgetspent_r.c: Likewise.
35518 * shadow/putspent.c: Likewise.
35519 * stdio-common/printf_fphex.c: Likewise.
35520 * stdio-common/tmpfile.c: Likewise.
35521 * stdlib/abort.c: Likewise.
35522 * stdlib/fmtmsg.c: Likewise.
35523 * sunrpc/auth_unix.c: Likewise.
35524 * sunrpc/clnt_perr.c: Likewise.
35525 * sunrpc/clnt_tcp.c: Likewise.
35526 * sunrpc/clnt_udp.c: Likewise.
35527 * sunrpc/clnt_unix.c: Likewise.
35528 * sunrpc/openchild.c: Likewise.
35529 * sunrpc/svc_simple.c: Likewise.
35530 * sunrpc/svc_tcp.c: Likewise.
35531 * sunrpc/svc_udp.c: Likewise.
35532 * sunrpc/svc_unix.c: Likewise.
35533 * sunrpc/xdr.c: Likewise.
35534 * sunrpc/xdr_array.c: Likewise.
35535 * sunrpc/xdr_rec.c: Likewise.
35536 * sunrpc/xdr_ref.c: Likewise.
35537 * sunrpc/xdr_stdio.c: Likewise.
35538
1248c1c4
PB
355392011-09-09 Ulrich Drepper <drepper@gmail.com>
35540
35541 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35542
355432011-07-03 Andreas Jaeger <aj@suse.de>
35544
35545 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
35546 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
35547 regenerate with gen-libm-tests.pl.
35548
355492010-05-12 Petr Baudis <pasky@suse.cz>
35550
35551 [BZ #11589]
35552 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
35553 around j0() zero points by switching to j1().
35554 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35557 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35558
f22e1074
UD
355592011-09-09 Ulrich Drepper <drepper@gmail.com>
35560
f19009c1
UD
35561 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
35562 instead of 0.
35563 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 35564 instead of 0.
f19009c1
UD
35565 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35566 Patch in part by Pavel Roskin <proski@gnu.org>.
35567
3f8cc204
UD
35568 [BZ #13138]
35569 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
35570 realloc.
35571 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
35572 Free memory block if necessary.
35573
f22e1074
UD
35574 [BZ #12847]
35575 * libio/genops.c (INTDEF): For string streams the _lock pointer can
35576 be NULL. Don't lock in this case.
35577
0a2349f9
RM
355782011-09-09 Roland McGrath <roland@hack.frob.com>
35579
35580 * elf/elf.h (ELFOSABI_GNU): New macro.
35581 (ELFOSABI_LINUX): Define to that.
35582
f3cdd467
DZ
355832011-07-29 Denis Zaitceff <zaitceff@gmail.com>
35584
35585 * string/strncat.c (strncat): Undef the symbol in case it has been
35586 defined in bits/string.h.
35587
74718d13
UD
355882011-09-09 Ulrich Drepper <drepper@gmail.com>
35589
633e9e0f
UD
35590 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
35591
0a2349f9 35592 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
35593 link map.
35594
f9924780
AJ
355952011-08-17 Andreas Jaeger <aj@suse.de>
35596
35597 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
35598
7f5517aa
PP
355992011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
35600 Ian Lance Taylor <iant@google.com>
35601
35602 * math/libm-test.inc (lround_test): New testcase.
35603 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
35604
762011fe
UD
356052011-09-08 Ulrich Drepper <drepper@gmail.com>
35606
92963737
UD
35607 * Makefile: Remove support for automatic cvs check-ins.
35608 * Makerules: Likewise.
35609 * config.make.in: Likewise.
35610 * configure.in: Likewise.
35611 * intl/Makefile: Likewise.
35612 * locale/Makefile: Likewise.
35613 * po/Makefile: Likewise.
35614 * posix/Makefile: Likewise.
35615 * sysdeps/gnu/Makefile: Likewise.
35616 * sysdeps/mach/hurd/Makefile: Likewise.
35617 * sysdeps/sparc/sparc32/Makefile: Likewise.
35618
b0727fd8
JS
35619 [BZ #13118]
35620 * posix/Makefile (bug-regex32-ENV): Define.
35621 Patch by John Stanley <jpsinthemix@verizon.net>.
35622
a0f33f99
UD
35623 * misc/Makefile (headers): Add bits/select2.h.
35624 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
35625 * misc/bits/select2.h: New file.
35626 * include/bits/select2.h: New file.
35627 * debug/Makefile (routines): Add fdelt_chk.
35628 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
35629 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
35630 FD_ISSET.
35631 * debug/fdelt_chk.c: New file.
35632
762011fe
UD
35633 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
35634 * wcsmbs/test-wmemcmp.c: Likewise.
35635 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 35636 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
35637
356382011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35639
35640 * string/Makefile (strop-tests): Add memcmp.
35641 * string/test-wmemcmp.c: New file.
35642 * string/test-memcmp.c: Add wmemcmp support.
35643
7f513ec8
RM
356442011-09-08 Roland McGrath <roland@hack.frob.com>
35645
0442afb4
RM
35646 [BZ #13153]
35647 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
35648 2011-07-19 change.
35649
7f513ec8
RM
35650 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
35651 garbage value in a __mach_port_mod_refs call in the cases of the
35652 task-self and thread-self ports.
35653
a12b2239
ST
356542011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35655
35656 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
35657
610f9ab4
AS
356582011-09-08 Andreas Schwab <schwab@redhat.com>
35659
7f513ec8 35660 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 35661
48882a1a
LD
356622011-09-07 Ulrich Drepper <drepper@gmail.com>
35663
b49865be
UD
35664 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
35665
fdc86bc9
UD
35666 * elf/dl-libc.c (dlerror_run): Pass back error code from
35667 dl_catch_error.
35668
c966526a
UD
35669 [BZ #13123]
35670 * elf/dl-load.c (lose): Free l_origin if it is valid.
35671
48882a1a
LD
35672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35673 names.
35674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35678 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35679 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35680
77a2a8b4
AZ
356812011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35682
35683 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35684 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35685 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35686 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35687 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35688 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35689 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35690 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35691 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35692 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35693
24f579d8
AM
356942011-08-15 Alan Modra <amodra@gmail.com>
35695
35696 [BZ #13092]
35697 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35698 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35699 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35700 ppc_mcount to static-only-routines.
35701 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35702 __mcount_internal.
35703 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35704 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35705
3d4837df
UD
357062011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35707
35708 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35709 for finite and infinity parameters.
35710
22700377
WS
357112011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35712
35713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35714 and add nop instructions for throughput optimization.
35715 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35716
5025581e
WS
357172011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35718
35719 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35720 aligned copy for power7 with vector-scalar instructions.
35721 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35722
08a300c9
L
357232011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35724
35725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35726 AVX check.
35727
59178ef9
AS
357282011-09-07 Andreas Schwab <schwab@redhat.com>
35729
35730 [BZ #13144]
35731 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35732 last change.
35733
e38ba7ab
UD
357342011-09-07 Ulrich Drepper <drepper@gmail.com>
35735
35736 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35737 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35738 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35739 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35740 clock_gettime.
35741
d53a73ac
UD
357422011-09-06 Ulrich Drepper <drepper@gmail.com>
35743
fc8bffcc
UD
35744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35745 Forgot to demangle the pointer.
35746
ceaa0c5d
UD
35747 * sysdeps/i386/sysdep.h: Define atom_text_section.
35748 * sysdeps/x86_64/sysdep.h: Likewise.
35749 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35750 section with atom_text_section.
35751 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35752 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35753 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35754 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35755 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35756
a77d3c17
UD
35757 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35759 already be defined. Change to take two parameters and don't assign
35760 result to variable. Adjust all users.
35761 Define INTERNAL_GETTIME if not already defined.
35762 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35763 call.
35764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35765 HAVE_CLOCK_GETTIME_VSYSCALL.
35766 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35767
d53a73ac
UD
35768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35769 gettimeofday vsyscall, just use time.
35770
a8f84144
AS
357712011-09-06 Andreas Schwab <schwab@redhat.com>
35772
35773 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35774 <errno.h>.
35775
ef606249
UD
357762011-09-06 Ulrich Drepper <drepper@gmail.com>
35777
35778 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35779 syscall on x86-64.
35780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35781 syscall.
35782 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35783 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35784 syscall if possible.
35785
6585cb60
UD
357862011-09-05 Ulrich Drepper <drepper@gmail.com>
35787
35788 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35789 e_ident. Don't pass to find_mapsXX.
35790 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35791
a5f524e4
LD
357922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35793
35794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35795 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35796 * sysdeps/x86_64/multiarch/strchr.S: Update.
35797 Check bit_slow_BSF bit.
35798 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35799 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35800 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35801
554881ef
UD
358022011-09-05 Ulrich Drepper <drepper@gmail.com>
35803
d96de963
UD
35804 [BZ #13134]
35805 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35806 before glibc 2.15.
35807 (tryshell): Define.
35808 (__spawni): Change last parameter to be flag. Test
35809 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35810 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35811 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35812 * posix/spawni.c: Likewise.
35813 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35814 * posix/spawnp.c: Likewise. Change normal version to use
35815 SPAWN_XFLAGS_USE_PATH.
35816 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35817 SPAWN_XFLAGS_TRY_SHELL.
35818
d48e5868
UD
35819 [BZ #13150]
35820 * posix/glob.h: Remove gcc 1.x support.
35821
554881ef
UD
35822 [BZ #13068]
35823 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35824
693fb948
LD
358252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35826
35827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35828 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35829 strrchr-sse2-bsf
35830 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35831 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35832 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35833 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35834 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35835 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35836
1b48c537
UD
358372011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35838
49d42c37
UD
35839 * sysdeps/x86_64/wcscmp.S: New file.
35840
1b48c537
UD
35841 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35842 wcscmp-c wcscmp-sse2
35843 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35844 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35845 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35846 * wcsmbs/wcscmp.c: Allow renaming.
35847
15c95c5d
DM
358482011-09-05 David S. Miller <davem@davemloft.net>
35849
35850 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35851 stack slot, rather than the struct return pointer slot.
35852 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35853 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35855 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35856
2f0ad8f3
UD
358572011-09-05 Ulrich Drepper <drepper@gmail.com>
35858
d88ae418
UD
35859 * po/ja.po: Update from translation team.
35860
2f0ad8f3
UD
35861 [BZ #13144]
35862 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35863 kernel in 64-bit binaries.
35864
5f4318d1
DM
358652011-09-01 David S. Miller <davem@davemloft.net>
35866
35867 * elf/elf.h (HWCAP_SPARC_*): Move to..
35868 * sysdeps/sparc/sysdep.h: this new file and add new values.
35869 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35870 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35871 _DL_HWCAP_COUNT to 24.
35872 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35873 entries.
35874 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35875 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35876 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35878 instead of magic constants.
35879 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35880
3ba57516
DM
358812011-08-31 David S. Miller <davem@davemloft.net>
35882
35883 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35884 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35885 Reimplement to do errno handling inline.
35886 (SYSCALL_ERROR_HANDLER): New macro.
35887 (__SYSCALL_STRING): Do not do errno handling in asm.
35888 (__CLONE_SYSCALL_STRING): Delete.
35889 (__INTERNAL_SYSCALL_STRING): Delete.
35890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35891 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35892 (PSEUDO): Reimplement to do errno handling inline.
35893 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35894 (SYSCALL_ERROR_HANDLER): New macro.
35895 (__SYSCALL_STRING): Do not do errno handling in asm.
35896 (__CLONE_SYSCALL_STRING): Delete.
35897 (__INTERNAL_SYSCALL_STRING): Delete.
35898 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35899 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35900 i386.
35901 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35902 (inline_syscall*): Add 'err' argument.
35903 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35904 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35905 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35906 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35907
35908 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35909 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35910
2bc17433
AS
359112011-08-30 Andreas Schwab <schwab@redhat.com>
35912
35913 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35914
fbeb5f4d
JO
359152011-08-29 Jiri Olsa <jolsa@redhat.com>
35916
35917 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35918 directive.
35919
ad69cc26
DM
359202011-08-24 David S. Miller <davem@davemloft.net>
35921
35922 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35923
39dd69df
AS
359242011-08-24 Andreas Schwab <schwab@redhat.com>
35925
35926 * elf/Makefile: Add rules to build and run unload8 test.
35927 * elf/unload8.c: New file.
35928 * elf/unload8mod1.c: New file.
35929 * elf/unload8mod1x.c: New file.
35930 * elf/unload8mod2.c: New file.
35931 * elf/unload8mod3.c: New file.
35932
35933 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35934 it wasn't used.
35935
2c0b250a
DM
359362011-08-23 David S. Miller <davem@davemloft.net>
35937
35938 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35939 subtract stack bias.
35940 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35941 %sp not %fp in calculations.
35942 (_JMPBUF_UNWINDS_ADJ): Likewise.
35943
22044b48
DM
35944 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35945 (aio_suspend): Call it to force an exception region around the
35946 AIO_MISC_WAIT() invocation.
35947
2cae4995
AS
359482011-08-23 Andreas Schwab <schwab@redhat.com>
35949
35950 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35951 backslash.
35952
873a772e
AJ
359532011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35954
35955 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35956 protection macro.
35957 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35958 and <dl-machine.h>.
35959 (Elf64_FuncDesc): Remove.
35960
25ad0df1
DM
359612011-08-22 David S. Miller <davem@davemloft.net>
35962
35963 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35964 sigaltstack check, add missing cfi directives.
35965 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35966 missing cfi directives, and sigaltstack handling.
35967
e888bcbe
AS
359682011-08-16 Andreas Schwab <schwab@redhat.com>
35969
35970 [BZ #11724]
35971 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35972 object is seen twice.
35973 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35974
35975 * elf/Makefile (distribute): Add tst-initorder2.c.
35976 (tests): Add tst-initorder2.
35977 (modules-names): Add tst-initorder2a tst-initorder2b
35978 tst-initorder2c tst-initorder2d. Add rules to build them.
35979 ($(objpfx)tst-initorder2.out): New rule.
35980 * elf/tst-initorder2.c: New file.
35981 * elf/tst-initorder2.exp: New file.
35982
87162f46
AS
359832011-08-22 Andreas Schwab <schwab@redhat.com>
35984
70538b7f
AS
35985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35986
f55ffe58
AS
35987 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35988 dependencies back to end of function.
35989
87162f46
AS
35990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35991 $(elfobjdir)/ld.so.
35992
91b392a4
UD
359932011-08-21 Ulrich Drepper <drepper@gmail.com>
35994
35995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35996 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35998 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35999 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36000 of __vdso_gettimeofday.
36001 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36002 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36003 attribute_hidden.
36004 (_libc_vdso_platform_setup): Remove initialization of
36005 __vdso_gettimeofday and __vdso_time.
36006
5c43483f
UD
360072011-08-20 Ulrich Drepper <drepper@gmail.com>
36008
775a77e7
UD
36009 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36010 and fgetc_unlocked.
36011 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36012 getc_unlocked.
89f447ed 36013
49c74ba9
UD
36014 * elf/dl-open.c (add_to_global): Report additions to the global scope
36015 for LD_DEBUG=scopes.
36016 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36017 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36018
5c43483f
UD
36019 [BZ #13114]
36020 * stdio-common/Makefile (tests): Add bug24.
36021 * stdio-common/bug24.c: New file.
36022
a101b025
AJ
360232011-08-19 Andreas Jaeger <aj@suse.de>
36024
36025 [BZ #13114]
36026 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36027 non-existant file when using close-on-exec mode.
36028
c88f1766
UD
360292011-08-20 Ulrich Drepper <drepper@gmail.com>
36030
0276a718
UD
36031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36032 the very first instruction.
36033
c88f1766
UD
36034 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36035 the CFI state in the end.
36036 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36037 inclusion of dl-trampoline.h.
36038 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36039
51ccffa0
AS
360402011-08-19 Andreas Schwab <schwab@redhat.com>
36041
94d7165f
AS
36042 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36043 expectations for long double.
36044
51ccffa0
AS
36045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36046 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36047
fd708658 360482011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36049
36050 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36051 artificual limit depends upon the system page size.
36052
44f0a71e
UD
360532011-08-17 Ulrich Drepper <drepper@gmail.com>
36054
36055 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36056 * resolv/Makefile: Define CFLAGS-libresolv.
36057
8de79a24
AS
360582011-08-17 Andreas Schwab <schwab@redhat.com>
36059
36060 * nss/makedb.c (compute_tables): Make variables used in nested
36061 function static.
36062
27724598
UD
360632011-08-17 Ulrich Drepper <drepper@gmail.com>
36064
c5305d88
UD
36065 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36066 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36067 if buffer was too small.
36068
27724598
UD
36069 * elf/pldd.c (main): Attach to all threads in the process.
36070 Rewrite /proc handling to use *at functions.
36071
076fe015
UD
360722011-08-16 Ulrich Drepper <drepper@gmail.com>
36073
174baab3
UD
36074 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36075 specifies first scope to show.
36076 (dl_open_worker): Update callers. Move printing scope of new
36077 object to before the relocation.
44f0a71e 36078 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36079 * sysdeps/generic/ldsodefs.h: Update declaration.
36080
076fe015
UD
36081 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36082 string for the scope number.
36083
a60df2c3
UD
360842011-08-14 Ulrich Drepper <drepper@gmail.com>
36085
36086 * nscd/servicescache.c (cache_addserv): Make sure written is always
36087 initialized.
36088
5e4287d1
RM
360892011-08-14 Roland McGrath <roland@hack.frob.com>
36090
85ae0589
RM
36091 * sysdeps/i386/i486/bits/atomic.h
36092 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36093 statement expression, so as to suppress "set but not used" warning.
36094 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36095
69f63097
RM
36096 * string/strncat.c (STRNCAT): Use prototype definition.
36097
675456ef
RM
36098 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36099 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36100 -Iprograms here.
36101 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36102 (localedef-modules): Add localedef.
36103 (locale-modules): Add locale.
36104
5e4287d1
RM
36105 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36106 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36107 to avoid a warning.
36108
9c96ff23
DM
361092011-08-14 David S. Miller <davem@davemloft.net>
36110
36111 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36112 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36113
f9ddf089
UD
361142011-08-13 Ulrich Drepper <drepper@gmail.com>
36115
44f0a71e 36116 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36117 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36118 * elf/rtld.c (dl_main): Set l_name of vDSO.
36119 Call _dl_show_scope when DL_DEBUG_SCOPES.
36120 (process_dl_debug): Recognize scopes flag and also set it for all.
36121 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36122 Declare _dl_show_scope.
36123
1dc27704
UD
36124 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36125 (do_dlopen): Pass caller_dlopen to dl_open.
36126 (__libc_dlopen_mode): Initialize caller_dlopen.
36127
f9ddf089
UD
36128 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36129 of libc. Make tolower call locale-independent. Optimize a bit by
36130 using isdigit instead of isalnum.
36131 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36132
9ac533d3
UD
361332011-08-12 Ulrich Drepper <drepper@gmail.com>
36134
36135 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36136 was a dependency or dynamically loaded.
36137
89edf2e9
UD
361382011-08-11 Ulrich Drepper <drepper@gmail.com>
36139
8e999d29
UD
36140 * intl/l10nflist.c: Allow architecture-specific pop function.
36141 * sysdeps/x86_64/l10nflist.c: New file.
36142
89edf2e9
UD
36143 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36144 classification.
36145
14d96785
AS
361462011-08-10 Andreas Schwab <schwab@redhat.com>
36147
36148 * include/dirent.h: Add libc_hidden_proto for scandirat and
36149 scandirat64. Don't declare __scandirat64.
36150 * dirent/scandirat.c: Add libc_hidden_def.
36151 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36152 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36153
6761ac04
DM
361542011-08-10 David S. Miller <davem@davemloft.net>
36155
36156 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36157 enum.
36158 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36160 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36161
c55fbd1e
UD
361622011-08-09 Ulrich Drepper <drepper@gmail.com>
36163
36164 * Versions.def [libc]: Add GLIBC_2.15.
36165 * dirent/Makefile (routines): Add scandirat and scandirat64.
36166 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36167 GLIBC_2.15.
36168 * dirent/dirent.h: Declare scandirat and scandirat64.
36169 * dirent/scandirat.c: New file.
36170 * dirent/scandirat64.c: New file.
36171 * sysdeps/wordsize-64/scandirat.c: New file.
36172 * sysdeps/wordsize-64/scandirat64.c: New file.
36173 * dirent/opendir.c: Define opendirat.
36174 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36175 using scandirat.
36176 * dirent/scandir64.c: Adjust for scandir.c change.
36177 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36178 __scandirat64, and __scandir_cancel_handler.
36179 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36180 additional parameter and use openat instead of open (outside of ld.so).
36181 Add new __opendir as wrapper around __opendirat.
36182 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36183 here without requiring old scandirat implementation.
36184
879165f2
UD
361852011-08-08 Ulrich Drepper <drepper@gmail.com>
36186
36187 * dirent/scandir.c (cancel_handler): Renamed to
36188 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36189 defined. Adjust users.
36190 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36191 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36192
cb7e923b
UD
361932011-08-04 Ulrich Drepper <drepper@gmail.com>
36194
16292edd
UD
36195 * string/test-string.h (IMPL): Use __STRING to expand name and then
36196 stringify it.
36197
cb7e923b
UD
36198 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36199 of cleanups.
36200
cff82933
LD
362012011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36202
36203 * string/Makefile: Update.
36204 (strop-tests): Append strncat.
36205 * string/test-wcscmp.c: New file.
36206 New comprehensive test for wcscmp.
36207 * string/test-strcmp.c: Update.
36208 (WIDE): New define.
36209
9be9bfcc
AS
362102011-07-22 Andreas Schwab <schwab@redhat.com>
36211
36212 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36213 line.
36214
2e96f1c7
AS
362152011-07-26 Andreas Schwab <schwab@redhat.com>
36216
36217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36218 encoding to ACE if AI_IDN.
36219
85188888
JJ
362202011-08-01 Jakub Jelinek <jakub@redhat.com>
36221
36222 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36223 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36224
5fa16e9b
LD
362252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36226
36227 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36228 Fix overflow bug in strncat.
36229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36230
36231 * string/test-strncat.c: Update.
36232 Add new tests for checking overflow bugs.
36233
362342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36235
36236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36237 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36238 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36239 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36240 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36241 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36242 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36243 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36244 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36245
36246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36247 (USE_AS_STRCAT): Define.
36248 Add strcat and strncat support.
36249 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36250
8c1a459f
AS
362512011-07-25 Andreas Schwab <schwab@redhat.com>
36252
36253 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36254 __n bigger than INT_MAX+1.
36255 (__strncmp_g): Likewise.
36256
bba33c28
UD
362572011-07-23 Ulrich Drepper <drepper@gmail.com>
36258
798be72d
UD
36259 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36260 * libio/stido.h: Likewise.
36261
8accd4dc
UD
36262 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36263 (AF_NFC): Define.
36264 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36265 (AF_NFC): Define.
36266
cbff0d96
UD
36267 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36268 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36270 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36271 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36272
9191c04a
UD
36273 [BZ #13021]
36274 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36275 installed.
36276
bba33c28
UD
36277 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36278 typo.
36279 (_dl_x86_64_save_sse): Likewise.
36280
90f139dd
UD
362812011-07-22 Ulrich Drepper <drepper@gmail.com>
36282
1aae088a
UD
36283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36284 OSXSAVE.
36285 (_dl_x86_64_save_sse): Likewise.
36286
8e2045f5
UD
36287 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36288
90f139dd
UD
36289 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36290
1d002f25
AS
362912011-07-21 Andreas Schwab <schwab@redhat.com>
36292
36293 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36294 change.
36295 (_dl_x86_64_save_sse): Use correct AVX check.
36296
21137f89
UD
362972011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36298
36299 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36300 bug in strncpy/strncat.
36301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36302
a65c0b7a
UD
363032011-07-21 Ulrich Drepper <drepper@gmail.com>
36304
36305 * string/tester.c (test_strcat): Add tests for different alignments
36306 of source and destination.
36307 (test_strncat): Likewise.
36308
6986b98a
UD
363092011-07-20 Ulrich Drepper <drepper@gmail.com>
36310
90bb2039
UD
36311 [BZ #12852]
36312 * posix/glob.c (glob): Check passed in values before using them in
36313 expressions to avoid some overflows.
36314 (glob_in_dir): Likewise.
36315
5644ef54
UD
36316 [BZ #13007]
36317 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36318 check for AVX enablement so that we don't crash with old kernels and
36319 new hardware.
36320 * elf/tst-audit4.c: Add same checks here.
36321 * elf/tst-audit6.c: Likewise.
36322
36323 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36324
bfc9dc9b
AS
363252011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36326
36327 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36328
702e64bb
UD
363292011-07-20 Ulrich Drepper <drepper@gmail.com>
36330
36331 * po/cs.po: Update from translation team.
36332 * po/bg.po: Likewise.
36333
295e904f
MP
363342011-07-12 Marek Polacek <mpolacek@redhat.com>
36335
36336 * misc/sys/cdefs.h: Add support for const attribute.
36337 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36338 to gnu_dev_{major,minor,makedev} functions.
36339
3ff94596
MP
363402011-07-20 Marek Polacek <mpolacek@redhat.com>
36341
36342 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36343
28b59fca
AS
363442011-07-20 Andreas Schwab <schwab@redhat.com>
36345
36346 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36347 strlen results.
36348
19df733e
AK
363492011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36350
36351 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36352 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
36353 register in order to avoid conflicts with the soft frame pointer
36354 being held in r11 when necessary.
36355 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36356 (INTERNAL_VSYSCALL_NCS): Likewise.
36357
c8835729
MP
363582011-07-14 Marek Polacek <mpolacek@redhat.com>
36359
36360 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
36361 * elf/dl-fini.c (_dl_fini): Adjust caller.
36362 * elf/dl-close.c (_dl_close_worker): Likewise.
36363 * sysdeps/generic/ldsodefs.h: Adjust declaration.
36364
b902330c
MP
363652011-07-15 Marek Polacek <mpolacek@redhat.com>
36366
8991e135
MP
36367 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
36368 "aux_cache->nlibs < 0".
36369
b902330c
MP
36370 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
36371 in the reload-count case.
36372
99710781
LD
363732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36374
36375 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36376 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
36377 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
36378 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
36379 * sysdeps/x86_64/multiarch/strcat.S: New file.
36380 * sysdeps/x86_64/multiarch/strncat.S: New file.
36381 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
36382 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
36383 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
36384 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
36385 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
36386 (USE_AS_STRCAT): Define.
36387 Add strcat and strncat support.
36388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36389 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36390 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
36391 * string/strncat.c: Update.
36392 (USE_AS_STRNCAT): Define.
36393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36394 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
36395 and i7.
36396 * sysdeps/x86_64/multiarch/init-arch.h
36397 (bit_Prefer_PMINUB_for_stringop): New.
36398 (index_Prefer_PMINUB_for_stringop): Likewise.
36399 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
36400 bit_Prefer_PMINUB_for_stringop.
36401
7dc6bd90
UD
364022011-07-19 Ulrich Drepper <drepper@gmail.com>
36403
36404 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
36405 buffer64.
36406 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
36407 of casting of buffer.
36408 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
36409 buffer32 and buffer64.
36410 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
36411 writes instead of casting of buffer.
36412 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
36413 buffer32.
36414 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
36415 casting of buffer.
36416
e0e72284
AS
364172011-07-19 Andreas Schwab <schwab@redhat.com>
36418
36419 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
36420
feb1eb0b
UD
364212011-07-19 Ulrich Drepper <drepper@gmail.com>
36422
36423 * nscd/nscd.c (termination_handler): Don't do anything for a database
36424 if it has not yet been initialized.
36425
298711ff
UD
364262011-07-18 Ulrich Drepper <drepper@gmail.com>
36427
36428 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36429
364302011-07-15 Marek Polacek <mpolacek@redhat.com>
36431
36432 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
36433
f9d68389
UD
364342011-07-18 Ulrich Drepper <drepper@gmail.com>
36435
36436 * po/nl.po: Update from translation team.
36437 * po/sv.po: Likewise.
36438
db290cf5
RM
364392011-07-16 Roland McGrath <roland@hack.frob.com>
36440
36441 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
36442 now disallowed by GCC.
5c550700 36443
fd5e21c7
RM
36444 * configure.in (use-default-link): Default to yes if a test -shared
36445 link meets our qualifications.
36446 * configure: Regenerated.
36447
5c550700
RM
36448 * config.make.in (output-format): New variable.
36449 * configure.in: Check for ld --print-output-format support.
36450 * configure: Regenerated.
36451 * Makerules ($(common-objpfx)format.lds)
36452 [$(output-format) != unknown]: Just use $(output-format),
36453 instead of the linker-script munging.
36454
9fa2c032
RM
364552011-07-14 Roland McGrath <roland@hack.frob.com>
36456
a6928d51
RM
36457 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
36458 of $(common-objpfx)shlib.lds.
36459 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
36460
661607b3
RM
36461 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
36462 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
36463
9fa2c032
RM
36464 * configure.in (-z relro check): Adjust test code to add a large
36465 writable data section after it.
36466 * configure: Regenerated.
36467
defe9061
RM
364682011-07-11 Roland McGrath <roland@hack.frob.com>
36469
36470 * configure.in (-z relro check): Fix test code to make the variable
36471 truly const.
36472 * configure: Regenerated.
36473
319b9ad4
UD
364742011-07-11 Ulrich Drepper <drepper@gmail.com>
36475
36476 * nscd/nscd.h (struct traced_file): Define.
36477 (struct database_dyn): Remove inotify_descr, reset_res, and filename
36478 elements. Add traced_files.
36479 (inotify_fd): Declare.
36480 (register_traced_file): Declare.
36481 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
36482 (inotify_fd): Export.
36483 (resolv_conf_descr): Remove.
36484 (nscd_init): Move inotify descriptor creation to main.
36485 Don't register files for notification here.
36486 (register_traced_file): New function.
36487 (invalidate_cache): Don't use reset_res to determine whether to call
36488 res_init, go through the list of registered files.
36489 (main_loop_poll): The inotify descriptors are now stored in the
36490 structures for the traced files.
36491 (main_loop_epoll): Likewise
36492 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
36493 to __nss_disable_nscd.
36494 * nscd/cache.c (prune_cache): There is no single inotify descriptor
36495 for a database anymore. Check the records for all the registered
36496 files instead.
36497 * nss/Makefile (libnss_files-routines): Add files-init.
36498 (libnss_db-routines): Add db-init.
36499 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
36500 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
36501 * nss/nss_db/db-init.c: New file.
36502 * nss/nss_files/files-init.c: New file.
36503 * nss/nsswitch.c (nss_load_library): New function. Broken out of
36504 __nss_lookup_function.
36505 (__nss_lookup_function): Call nss_load_library.
36506 (nss_load_all_libraries): New function.
36507 (__nss_disable_nscd): Take parameter with callback function for files
36508 to register. Set is_nscd. Load all the DSOs for the NSS modules
36509 used for the cached services.
36510 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
36511 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
36512 options for features to all the files in nscd.
36513
36514 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
36515
23bee3e8
RM
365162011-07-10 Roland McGrath <roland@hack.frob.com>
36517
36518 * csu/elf-init.c (__libc_csu_init): Comment typo.
36519
46a5b7f0
UD
365202011-07-09 Ulrich Drepper <drepper@gmail.com>
36521
36522 * po/pl.po: Update from translation team.
36523 * po/ja.po: Likewise.
36524 * po/ru.po: Likewise.
36525 * po/ko.po: Likewise.
36526 * po/fr.po: Likewise.
36527
d30cf5bb
RM
365282011-07-09 Roland McGrath <roland@hack.frob.com>
36529
113ddea4
RM
36530 * configure.in (.ctors/.dtors header and trailer check):
36531 Use an empirical test on a built program.
36532 * configure: Regenerated.
36533
574920b4
RM
36534 * configure.in (-z relro check): Use an empirical test on a built DSO.
36535 Detect, but do not require, on ia64.
36536 * configure: Regenerated.
36537
d30cf5bb
RM
36538 * configure.in (READELF): Find it with AC_CHECK_TOOL.
36539 Update tests that use readelf to use $READELF instead.
36540 * configure: Regenerated.
36541
8538fdb3
UD
365422011-07-08 Ulrich Drepper <drepper@gmail.com>
36543
36544 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
36545 if the result is not used.
36546
04d08991
AJ
365472011-07-05 Andreas Jaeger <aj@suse.de>
36548
36549 [BZ#9696]
36550 * stdlib/tst-strtod.c: Add testcase.
36551
de283087
AD
365522011-07-07 Ulrich Drepper <drepper@gmail.com>
36553
4e5f31c8 36554 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 36555 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
36556 The latter has a higher limit. Take additional parameter to pass to
36557 the new function.
36558 (__pathconf): Pass file to __statfs_link_max.
36559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
36560 __statfs_link_max.
36561 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
36562 __statfs_link_max.
36563
de283087
AD
36564 [BZ #12868]
36565 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
36566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36567 Handle Lustre.
36568 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
36569 (__statfs_filesize_max): Likewise.
36570 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
36571
c75fa153
AJ
365722011-07-05 Andreas Jaeger <aj@suse.de>
36573
36574 * resolv/res_comp.c (dn_skipname): Remove unused variable.
36575
1a544854
UD
365762011-07-06 Marek Polacek <mpolacek@redhat.com>
36577
36578 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
36579 `status' variable.
36580 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
36581 Likewise.
36582
6f0eec67
UD
365832011-07-04 H.J. Lu <hongjiu.lu@intel.com>
36584
36585 * Makefile (strop-tests): Add strncat.
36586 * string/test-strncat.c: New file.
36587
aae30307
UD
365882011-06-30 Marek Polacek <mpolacek@redhat.com>
36589
36590 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
36591
c0cfb5eb
UD
365922011-06-21 Andreas Jaeger <aj@suse.de>
36593
36594 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
36595 Copy rule from iconvdata/Makefile.
36596
01636b21
UD
365972011-07-06 Ulrich Drepper <drepper@gmail.com>
36598
36599 [BZ #12922]
36600 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
36601 but no long options are defined, just return 'W'.
36602
9895c8bc
UD
366032011-06-22 Marek Polacek <mpolacek@redhat.com>
36604
36605 [BZ #9696]
36606 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
36607
5d4cf042
UD
366082011-07-06 Ulrich Drepper <drepper@gmail.com>
36609
36610 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
36611 netgroups to read.
960e5535 36612 (innetgr): Likewise.
5d4cf042 36613
751eb97e
RM
366142011-07-05 Roland McGrath <roland@hack.frob.com>
36615
36616 * config.make.in (install_root): Default to $(DESTDIR).
36617
f15f1e45
UD
366182011-07-05 Ulrich Drepper <drepper@gmail.com>
36619
36620 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
36621
4e34ac6a
RM
366222011-07-02 Roland McGrath <roland@hack.frob.com>
36623
5e9b6af4
RM
36624 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
36625
84f9ea0f
RM
36626 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
36627 containing directory rather than embedding absolute directory names.
36628
ea5ee9f7
RM
36629 * scripts/check-local-headers.sh: Rewritten using awk.
36630 Match by word, not by line. Print error messages for matches.
36631 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
36632
1b74661a
RM
36633 * Makerules [shlib-lds-flags empty]:
36634 ($(common-objpfx)libc_pic.opts): New target.
36635 ($(common-objpfx)libc_pic.os.clean): New target.
36636 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
36637
36638 * config.make.in (OBJCOPY): New variable.
36639 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
36640 * configure: Regenerated.
36641
f781ef40
RM
36642 * config.make.in (use-default-link): New variable.
36643 * configure.in (use_default_link): Grok --with-default-link to set it.
36644 * configure: Regenerated.
36645 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
36646 (shlib-lds, shlib-lds-flags): Define to empty.
36647
2d4fa81e
RM
36648 * Makerules (shlib-lds): New variable.
36649 (shlib-lds-flags): New variable.
36650 (build-shlib, build-moduile, build-module-asneeded): Use it.
36651 ($(common-objpfx)libc.so): Use $(shlib-lds).
36652 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
36653 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
36654
31fffa6b
RM
36655 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
36656 DT_FLAGS/DT_FLAGS_1 with zero flags.
36657
4e34ac6a
RM
36658 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
36659 linker script munging.
36660
fcfc776b
UD
366612011-07-02 Ulrich Drepper <drepper@gmail.com>
36662
36663 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
36664 as 128-bit value.
36665 * crypt/sha512.c (sha512_process_block): Perform total addition using
36666 128-bit if possible.
36667 (__sha512_finish_ctx): Likewise.
36668 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36669 as 64-bit value.
36670 * crypt/sha256.c (SWAP64): Define.
36671 (sha256_process_block): Perform total addition using 64-bit if
36672 possible.
36673 (__sha256_finish_ctx): Likewise.
36674
99231d9a
UD
366752011-07-01 Ulrich Drepper <drepper@gmail.com>
36676
36677 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36678 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36679 * nscd/hstcache.c (cache_addhst): Likewise.
36680 * nscd/grpcache.c (cache_addgr): Likewise.
36681 * nscd/aicache.c (addhstaiX): Likewise
36682 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36683
445b4a53
TK
366842011-07-01 Thorsten Kukuk <kukuk@suse.de>
36685
36686 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36688 * nscd/hstcache.c (cache_addhst): Likewise.
36689 * nscd/grpcache.c (cache_addgr): Likewise.
36690 * nscd/aicache.c (addhstaiX): Likewise
36691
6d4d8e8e
AS
366922011-07-01 Andreas Schwab <schwab@redhat.com>
36693
36694 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36695 domain only when needed.
36696
89f654c5
AS
366972011-06-30 Andreas Schwab <schwab@redhat.com>
36698
36699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36700 is always restored.
36701
cf3b23ff
UD
367022011-06-29 Ulrich Drepper <drepper@gmail.com>
36703
36704 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36705 are re-adding the entry.
36706 * nscd/servicescache.c (cache_addserv): Likewise.
36707
751626f9
AJ
367082011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36709
36710 * sysdeps/generic/dl-irel.h: fix protection against multiple
36711 inclusions.
36712 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36713
9113ea1f
UD
367142011-06-28 Ulrich Drepper <drepper@gmail.com>
36715
5c0b8d90
UD
36716 [BZ #12935]
36717 * malloc/memusage.sh: Fix quoting in message.
36718 * debug/xtrace.sh: Likewise.
36719
9113ea1f
UD
36720 * configure.in: Remove support for --experimental-malloc option, make
36721 it the default.
36722 * config.make.in: Likewise.
36723 * malloc/Makefile: Likewise.
36724
a4172181
AS
367252011-06-27 Andreas Schwab <schwab@redhat.com>
36726
36727 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36728 two-byte characters.
36729
78a7eee7
RM
367302011-06-27 Roland McGrath <roland@hack.frob.com>
36731
62bede13
RM
36732 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36733 AC_CACHE_CHECK invocation.
36734 * configure: Regenerated.
36735
78a7eee7
RM
36736 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36737
5ce33a62
UD
367382011-06-27 Ulrich Drepper <drepper@gmail.com>
36739
034807a9
UD
36740 [BZ #12350]
36741 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36742 bit from old_res_options.
36743
4902da17
UD
36744 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36745
5ce33a62
UD
36746 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36747 value type for setfct.
36748
c2344f56
L
367492011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36750
36751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36752 __gettimeofday instead of gettimeofday.
36753
68468076
UD
367542011-06-26 Ulrich Drepper <drepper@gmail.com>
36755
36756 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36757
acb0d739
L
367582011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36759
36760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36761
36762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36763 info.
36764
8912479f
L
367652011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36766
36767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36768 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36769 strcpy-sse2-unaligned strncpy-sse2-unaligned
36770 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36771 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36772 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36773 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36774 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36775 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36777 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36778 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36779 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36780 (STRCPY): Support SSE2 and SSSE3 versions.
36781
d5495a11
UD
367822011-06-24 Ulrich Drepper <drepper@gmail.com>
36783
36784 [BZ #12874]
36785 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36786 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36787 kernels which artificially limit size of requests.
36788
0b1cbaae
L
367892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36790
36791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36792 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36793 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36794 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36795 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36796 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36797 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36798 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36799 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36801 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36802 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36803 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36804 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36805 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36807 Enable unaligned load optimization for Intel Core i3, i5 and i7
36808 processors.
36809 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36810 Define.
36811 (index_Fast_Unaligned_Load): Define.
36812 (HAS_FAST_UNALIGNED_LOAD): Define.
36813
07f494a0
MP
368142011-06-23 Marek Polacek <mpolacek@redhat.com>
36815
36816 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36817
fa3fc0fe
UD
368182011-06-22 Ulrich Drepper <drepper@gmail.com>
36819
36820 [BZ #12907]
36821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36822 until it is clear that the information is realy needed.
36823 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36824
e12df166
AS
368252011-06-22 Andreas Schwab <schwab@redhat.com>
36826
36827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36828
852eb34d
UD
368292011-06-22 Ulrich Drepper <drepper@gmail.com>
36830
84e2a551
UD
36831 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36832 /sys/devices/system/cpu/online if it is usable.
36833
852eb34d
UD
36834 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36835 reading the information from the /proc filesystem to once a second.
36836
6e502e19
UD
368372011-06-21 Andreas Jaeger <aj@suse.de>
36838
36839 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36840 NULL after inclusion of kernel headers.
36841
75d39ff2
UD
368422011-06-21 Ulrich Drepper <drepper@gmail.com>
36843
51f9aa6a
UD
36844 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36845 calls to internal_setent.
36846
c0244a9d
UD
36847 [BZ #12885]
36848 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36849 addresses using gethostbyname4_r ignore IPv4 addresses.
36850
c5e3c2ae
UD
36851 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36852 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36853
75d39ff2
UD
36854 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36855
42675c6f
DM
368562011-06-20 David S. Miller <davem@davemloft.net>
36857
36858 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36859 inclusions.
36860 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36861
36862 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36863 (elf_irel): Use it.
36864 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36865 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36866 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36867 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36868 * sysdeps/x86_64/dl-irel.h: Likewise.
36869
36870 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36871 * elf/dl-sym.c: Likewise.
36872
57912a71
UD
368732011-06-15 Ulrich Drepper <drepper@gmail.com>
36874
36875 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36876 need to dereference resplen2.
36877
ee22793d
AS
368782011-06-14 Andreas Schwab <schwab@redhat.com>
36879
36880 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36881
a9e836b0
UD
368822011-06-15 Ulrich Drepper <drepper@gmail.com>
36883
77fb9117
UD
36884 * Makeconfig: Define vardbdir and inst_vardbdir.
36885 * nss/Makefile: Add rules to install db-Makefile.
36886
40c1b22c
UD
36887 * nss/nss_db/db-XXX.c: Cleanup.
36888
9f2da732
UD
36889 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36890 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36891 GLIBC_PRIVATE.
36892 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36893 * nss/makedb.c: Implement -g option to specify that value strings
36894 are generated and should not be added to table iterated over for
36895 get*ent calls.
36896 * nss/nss_db/db-initgroups.c: New file.
36897
82e9a1f7
UD
36898 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36899 interface.
36900
c41af17e
UD
36901 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36902 (internal_getgrouplist): Adjust to name change.
36903 Update use_initgroups_entry if this is not the first call.
36904 * nss/databases.def: Add initgroups entry.
36905
a9e836b0
UD
36906 * nss/makedb.c (compute_tables): Check result of multiple hash table
36907 sizes to minimize maximum chain length.
36908
2666d441
UD
369092011-06-14 Ulrich Drepper <drepper@gmail.com>
36910
36911 * Versions.def: Add entry for libnss_db.
36912 * shlib-versions: Likewise.
36913 * nss/Makefile: Add rules to build libnss_db.
36914 * nss/Versions: Add libnss_db information. Organize libnss_files
36915 entries better.
36916 * nss/db-Makefile: Add gshadow support. Change rules for the new
36917 makedb progra. Some minor improvements to generate smaller files.
36918 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36919 here from...
36920 * nss/makedb.c: ...here.
36921 Improve database format to be smaller and require less memory at
36922 runtime.
36923 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36924 db anymore.
36925 * nss/nss_db/db-netgrp.c: Likewise.
36926 * nss/nss_db/db-open.c: Likewise.
36927 * nss/nss_files/flies-XXX.x: Adjust comments.
36928 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36929 * nss/nss_files/files-grp.c: Likewise.
36930 * nss/nss_files/files-hosts.c: Likewise.
36931 * nss/nss_files/files-network.c: Likewise.
36932 * nss/nss_files/files-proto.c: Likewise.
36933 * nss/nss_files/files-pwd.c: Likewise.
36934 * nss/nss_files/files-rpc.c: Likewise.
36935 * nss/nss_files/files-service.c: Likewise.
36936 * nss/nss_files/files-sgrp.c: Likewise.
36937 * nss/nss_files/files-spwd.c: Likewise.
36938 * nss/nss_db/db-alias.c: Removed.
36939 * nss/nss_db/dummy-db.h: Removed.
36940
9ee76b5a
UD
369412011-06-02 Ulrich Drepper <drepper@gmail.com>
36942
36943 * nss/makedb.c: Rewritten to not use database library.
36944 * nss/Makefile: Update to build new makedb program.
36945
c71ca1f8
AJ
369462011-06-14 Andreas Jaeger <aj@suse.de>
36947
36948 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36949 memset declaration.
36950
3154bfb8
UD
369512011-06-10 Andreas Schwab <schwab@redhat.com>
36952
36953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36954 tmpbuf.
36955
b350afab
RM
369562011-06-10 Roland McGrath <roland@hack.frob.com>
36957
decd4e50
RM
36958 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36959 * elf/Makefile ($(objpfx)ld.so): Likewise.
36960
5615eaf2
RM
36961 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36962 Don't list ld.so twice in dependencies.
36963
36964 * posix/bug-regex31.c: Include <stdlib.h>.
36965
36966 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36967
36968 * nis/nss_compat/compat-spwd.c
36969 (getspent_next_nss_netgr): Remove unused variable.
36970 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36971
36972 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36973 nonmembers" output to use the right array.
36974
36975 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36976
36977 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36978
36979 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36980 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36981 * catgets/gencat.c (read_input_file): Likewise.
36982 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36983
36984 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36985 variable definition inside #if's controlling its use.
36986
36987 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36988
36989 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36990
36991 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36992
36993 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36994 unreachable code.
36995
36996 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36997
b68e08db
RM
36998 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36999 * configure: Regenerated.
37000
b350afab
RM
37001 * Makerules: Revert last change.
37002 * elf/Makefile: Likewise.
37003
28368601
RM
370042011-06-09 Roland McGrath <roland@hack.frob.com>
37005
37006 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37007 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37008 (reloc-link): Likewise.
37009
11988f8f
UD
370102011-06-09 Ulrich Drepper <drepper@gmail.com>
37011
37012 * elf/Makefile: Add rules to build pldd.
37013 * elf/pldd.c: New file.
37014 * elf/pldd-xx.c: New file.
37015
e80fab37
UD
370162011-06-07 Ulrich Drepper <drepper@gmail.com>
37017
37018 * version.h: Update for 2.15 development version.
37019
9b849836
DM
370202011-06-07 David S. Miller <davem@davemloft.net>
37021
37022 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37023 ifuncs.
37024 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37025 elf_machine_lazy_rel): Likewise.
37026 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37028 elf_machine_lazy_rel): Likewise.
37029 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37030 dl_hwcap via passed in argument.
37031 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37032 Likewise.
37033
5a31b283
AK
370342011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37035
37036 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37037
069e52f8
RM
370382011-06-06 Roland McGrath <roland@hack.frob.com>
37039
37040 [BZ #12849]
37041 * manual/fdl-1.1.texi: New file, verbatim from:
37042 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37043 * manual/lgpl-2.1.texi: New file, verbatim from:
37044 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37045 * manual/Makefile (licenses): New variable, list those new file names.
37046 (texis): Use it.
37047 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37048
37049 * manual/fdl.texi: File removed.
37050 * manual/lesser.texi: File removed.
37051 * manual/libc.texinfo (Copying, Documentation License):
37052 Use new @include file names, put @appendix directive before @include.
37053
f16846a5
JJ
370542011-06-04 Jakub Jelinek <jakub@redhat.com>
37055
37056 [BZ #12841]
37057 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37058 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37059 (mq_open): Add __NTH.
37060
3d29045b
L
370612011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37062
37063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37064 Assume Intel Core i3/i5/i7 processor if AVX is available.
37065
8c297311
UD
370662011-05-31 Ulrich Drepper <drepper@gmail.com>
37067
37068 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37069 typo.
37070
c8fc0c91
UD
370712011-05-31 Andreas Schwab <schwab@redhat.com>
37072
37073 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37074 memory. Use alloca_account. Fix memory leak when retrying.
37075
5b27a807
UD
370762011-05-31 Ulrich Drepper <drepper@gmail.com>
37077
356f8bc6
UD
37078 * version.h (RELEASE): Bump for 2.14 release.
37079 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37080
5b27a807
UD
37081 * config.make.in (RANLIB): Remove entry.
37082
01f16ab0
UD
370832011-05-30 Ulrich Drepper <drepper@gmail.com>
37084
41fce8bd
UD
37085 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37086 (libc.pot): Work around missing support for .ksh extension in xgettext.
37087
4769ae77
UD
37088 [BZ #12684]
37089 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37090 if both request failed.
37091 (send_dg): In case of server errors clear resplen or *resplen2.
37092
6b1e7d19
UD
37093 [BZ #12454]
37094 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37095 when there are multiple maps.
37096 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37097 (_dl_fini): Remove test here.
37098
01f16ab0
UD
37099 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37100
b1ebd700
UD
371012011-05-29 Ulrich Drepper <drepper@gmail.com>
37102
7ae22829
UD
37103 [BZ #12350]
37104 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37105 bit from old_res_options.
37106 (gaih_inet): Likewise.
37107
553149f6 37108 [BZ #11099]
18a84741 37109 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37110 as signed.
37111
652ffab1
UD
37112 * resolv/res_init.c (res_setoptions): Make the code more compact.
37113
16985fd0
UD
37114 [BZ #11558]
37115 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37116 set RES_USEVC.
37117
0464f746
UD
37118 [BZ #11634]
37119 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37120
7d17596c
UD
37121 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37122
cf6bbbd7
UD
37123 [BZ #11781]
37124 * malloc/malloc.h: Declare malloc hook variables as volatile.
37125
13f1ab36
UD
37126 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37127 in last patch.
37128
b1ebd700
UD
37129 [BZ #11799]
37130 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37131 raise in the comment.
80e2212d
UD
37132 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37133 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37134 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37135
ce67228d
UD
371362011-05-28 Ulrich Drepper <drepper@gmail.com>
37137
8887a920
UD
37138 [BZ #12811]
37139 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37140 grow the buffers more if it already has to be sufficient.
37141 (build_wcs_upper_buffer): Likewise.
37142 * posix/regexec.c (check_matching): Likewise.
37143 (clean_state_log_if_needed): Likewise.
37144 (extend_buffers): Don't enlarge buffers beyond size of the input
37145 buffer.
37146 Patches mostly by Emil Wojak <emil@wojak.eu>.
37147 * posix/bug-regex32.c: New file.
37148 * posix/Makefile (tests): Add bug-regex32.
37149
4f031072
UD
37150 * locale/findlocale.c (_nl_find_locale): Return right away if
37151 _nl_explode_name failed.
37152 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37153
d0478f0c
UD
37154 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37155
de81b246
UD
37156 * debug/xtrace.sh: Unify messages.
37157 * malloc/memusage.sh: Likewise.
37158
c738465a
UD
37159 [BZ #12813]
37160 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37161 time symbol from vDSO. Substitute with vsyscall if not available.
37162 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37163 __vdso_time.
37164
f1f929d7
UD
37165 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37166 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37167 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37168 Add sendmmsg and internal_sendmmsg.
37169 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37170 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37172
ce67228d
UD
37173 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37174 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37175 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37176
e57420c6
UD
371772011-05-27 Ulrich Drepper <drepper@gmail.com>
37178
a8509ca5
UD
37179 [BZ #12813]
37180 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37181 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37182 available.
37183 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37184 __vdso_getcpu.
37185
e57420c6
UD
37186 [BZ #12814]
37187 * iconvdata/Makefile (tests): Add bug-iconv9.
37188 * iconvdata/bug-iconv9.c: New file.
37189
4d07db15
AS
371902011-05-27 Andreas Schwab <schwab@redhat.com>
37191
37192 [BZ #12814]
37193 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37194
ea486f69
JJ
371952011-05-25 Jakub Jelinek <jakub@redhat.com>
37196
37197 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37198 (struct user_regs_struct): Change intcs field back to cs.
37199
6f038433
UD
372002011-05-25 Ulrich Drepper <drepper@gmail.com>
37201
37202 * po/ja.po: Update from translation team.
37203
67f86a25
UD
372042011-05-23 Ulrich Drepper <drepper@gmail.com>
37205
37206 [BZ #12795]
37207 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37208 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37209
def7fbd6
AS
372102011-05-20 Andreas Schwab <schwab@redhat.com>
37211
37212 * stdlib/longlong.h: Update from GCC.
37213
f50ef8f1
AS
372142011-05-23 Andreas Schwab <schwab@redhat.com>
37215
37216 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37217 parameter name.
37218 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37219 Add parameter name.
37220 (__sysconf): Pass it down.
37221
de7ce8f1
UD
372222011-05-22 Ulrich Drepper <drepper@gmail.com>
37223
f2962a71
UD
37224 [BZ #12671]
37225 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37226 some situations.
37227 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37228 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37229 add in in __libc_use_alloca calls. Adjust callers.
37230 (glob): Use malloc in some situations.
37231
de7ce8f1
UD
37232 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37233 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37234 pltexit.
37235
aec84f53
UD
372362011-05-21 Ulrich Drepper <drepper@gmail.com>
37237
05bb4a68
UD
37238 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37239 and CLOCK_BOOTTIME_ALARM.
37240
7ea72f99
UD
37241 [BZ #12782]
37242 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37243 is returned.
37244
7e4afad5
UD
37245 * string/_strerror.c (__strerror_r): Print negative errors as signed
37246 numbers.
37247
8e211fec
UD
37248 [BZ #12777]
37249 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37250 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37251 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37252
f7d82dc9
UD
37253 * configure.in: Fix typo in redirection and correct removal of test
37254 files in two cases.
37255
cc9e536d
UD
37256 [BZ #12788]
37257 * locale/setlocale.c (new_composite_name): Fix test to check for
37258 identical name of all categories.
37259
aec84f53
UD
37260 [BZ #12792]
37261 * libio/filedoalloc.c (local_isatty): New function.
37262 (_IO_file_doallocate): Use local_isatty.
37263 * stdio-common/perror.c (perror): In case a new stream is used
37264 forward the stream error.
37265 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37266 error flag.
37267
78e64fdc
RT
372682011-05-20 Ulrich Drepper <drepper@gmail.com>
37269
34a9094f
UD
37270 [BZ #11869]
37271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37272 alloca.
37273 * include/alloca.h (extend_alloca_account): Define.
37274
78e64fdc
RT
37275 [BZ #11857]
37276 * posix/regex.h: Fix comments with documentation of user-accessible
37277 fields after compilation and describe correct free'ing of pattern
37278 after re_compile_pattern.
37279 Patch by Reuben Thomas <rrt@sc3d.org>.
37280
457bddfc
RA
372812011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37282
37283 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37284 and -mno-altivec to prevent the compiler from using Altivec and/or
37285 VSX instructions when the corresponding registers are not available.
37286
a4527b51
AS
372872011-05-19 Andreas Schwab <schwab@redhat.com>
37288
37289 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37290
ed690b2f
UD
372912011-05-19 Ulrich Drepper <drepper@gmail.com>
37292
37293 * libio/freopen.c (freopen): Use __dup2, not dup2.
37294 * libio/freopen64.c (freopen64): Likewise.
37295
8db73634
L
372962011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37297
37298 [BZ #12775]
37299 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37300 * math/Makefile (tests): Add test-powl.
37301 (CFLAGS-test-powl.c): Define.
37302 * math/test-powl.c: New file.
37303
0a197a9d
L
373042011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37305
37306 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37307
ee30c380
UD
373082011-05-17 Ulrich Drepper <drepper@gmail.com>
37309
37310 [BZ #11837]
37311 * iconvdata/gb18030.c: Update to GB18020-2005.
37312
6ce75379
UD
373132011-05-16 Ulrich Drepper <drepper@gmail.com>
37314
a4b89fd8
AR
37315 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37316 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37317 Patch by Aharon Robbins <arnold@skeeve.com>.
37318
ea389b12
UD
37319 [BZ #11892]
37320 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37321 on the stack.
37322
68a3f91f
UD
37323 [BZ #11895]
37324 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37325 through underflows.
37326
15cc7dd1
UD
37327 [BZ #12766]
37328 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37329 point to strings before performing equality test for error_one_per_line
37330 mode.
37331
f3799213
UD
37332 [BZ #11697]
37333 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37334
d79a9c94
UD
37335 [BZ #11820]
37336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37337 (struct user_fpregs_struct): Avoid __uint*_t types.
37338
56e5eb46
UD
37339 [BZ #6420]
37340 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37341 symbol info. Use it instead of calling _dl_addr locally.
37342 (lock_and_info): New function.
37343 (tr_freehook): Call lock_and_info and pass symbol info as additional
37344 parameter to tr_where.
37345 (tr_mallochook): Likewise.
37346 (tr_reallochook): Likewise.
37347 (tr_memalignhook): Likewise.
37348
6ce75379
UD
37349 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37350 used and couldn't be at all thread-safe.
37351
f8a3b5bf
UD
373522011-05-15 Ulrich Drepper <drepper@gmail.com>
37353
94b7cc37
UD
37354 * libio/freopen.c (freopen): Don't close old file descriptor
37355 before the new one is opened. Instead dup the new file descriptor
37356 to the old one after the new stream is created.
37357 * libio/freopen64.c (freopen64): Likewise.
37358 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
37359 * libio/fileops.c (_IO_new_file_close_it): Handle new
37360 _IO_FLAGS2_NOCLOSE flag.
37361 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
37362 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
37363 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
37364 _IO_FLAGS2_NOCLOSE flag.
37365 * include/unistd.h: Add hidden_proto for dup3.
37366 Define __have_dup3.
37367 * io/dup3.c: Define hidden symbol.
37368 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
37369
bd25564e
UD
37370 [BZ #7101]
37371 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
37372 when an incomplete long option is used.
37373 * posix/tst-getopt_long1.c: New file.
37374 * posix/Makefile (tests): Add tst-getopt_long1.
37375
c84cfef4
UD
37376 [BZ #10138]
37377 * scripts/config.guess: Update from autoconf-2.68.
37378 * scripts/config.sub: Likewise.
37379
3b85df27
UD
37380 [BZ #10157]
37381 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
37382 tests into ...
37383 (has_cpuclock): ...this. New function.
37384 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
37385 macro here based on has_cpuclock code.
37386
15a856b1
UD
37387 [BZ #10149]
37388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37389 First byte (not low byte) is now always NUL.
37390 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
37391
05f399e6
UD
37392 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37393 Use non-cancelable interfaces.
37394
10a52685 37395 [BZ #9809]
94ecc67d
UD
37396 * locale/iso-639.def: Add entry for Sorani.
37397
f8a3b5bf
UD
37398 [BZ #11901]
37399 * include/stdlib.h: Move include protection to the right place.
37400 Define abort_msg_s. Declare __abort_msg with it.
37401 * stdlib/abort.c (__abort_msg): Adjust type.
37402 * assert/assert.c (__assert_fail_base): New function. Majority
37403 of code from __assert_fail. Allocate memory for __abort_msg with
37404 mmap.
37405 (__assert_fail): Now call __assert_fail_base.
37406 * assert/assert-perr.c: Remove bulk of implementation. Use
37407 __assert_fail_base.
37408 * include/assert.hL Declare __assert_fail_base.
37409 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
37410 mmap.
37411 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
37412
1af4e298
UD
374132011-05-14 Ulrich Drepper <drepper@gmail.com>
37414
f8a3b5bf 37415 [BZ #11952]
d26dfc60
MG
37416 [BZ #12453]
37417 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
37418 until all modules are registered in the DTV.
37419 * elf/Makefile: Add rules to build and run tst-tls19.
37420 * elf/tst-tls19.c: New file.
37421 * elf/tst-tls19mod1.c: New file.
37422 * elf/tst-tls19mod2.c: New file.
37423 * elf/tst-tls19mod3.c: New file.
37424 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
37425
2fc54d6f
UD
37426 [BZ #12083]
37427 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
37428 correctly.
37429
98d76b46
UD
37430 [BZ #12601]
37431 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
37432 two-byte sequence errors.
37433 * iconvdata/Makefile (tests): Add bug-iconv8.
37434 * iconvdata/bug-iconv8.c: New file.
37435
da3c19ef
UD
37436 [BZ #12626]
37437 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
37438 buf2 definition.
37439
ca408c15
UD
37440 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
37441
d6f67f7d
UD
37442 [BZ #12432]
37443 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
37444 (dummy_getcfa): New function.
37445 (init): Get _Unwind_GetCFA address, use dummy if not found.
37446 (backtrace_helper): In recursion check, also check whether CFA changes.
37447 (__backtrace): Completely initialize arg.
37448
1af4e298 37449 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
37450 storing incomplete byte sequence in state object. Avoid testing for
37451 guaranteed too small input if we know there is enough data available.
1af4e298 37452
da62f81b
AS
374532011-05-11 Andreas Schwab <schwab@redhat.com>
37454
37455 * Makeconfig (+link-pie): Indent.
37456 * Rules (binaries-pie): Define if $(have-fpie) and
37457 $(build-shared).
37458 (binaries-shared): Also filter out $(binaries-pie).
37459 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
37460 * nscd/Makefile (others-pie): Add nscd.
37461 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
37462 ($(objpfx)nscd): Remove command override.
37463 * login/Makefile (others-pie): Add pt_chown.
37464 ($(objpfx)pt_chown): Remove command override.
37465 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
37466 remove command overrides.
37467
fcabc0f8
UD
374682011-05-13 Ulrich Drepper <drepper@gmail.com>
37469
20030ae6
UD
37470 * libio/tst_putwc.c: Fix error messages.
37471
fcabc0f8
UD
37472 [BZ #12724]
37473 * libio/fileops.c (_IO_new_file_close_it): Always flush when
37474 currently writing and seek to current position when not.
37475 * libio/Makefile (tests): Add bug-fclose1.
37476 * libio/bug-fclose1.c: New file.
37477
320a5dc0
PB
374782011-05-12 Ulrich Drepper <drepper@gmail.com>
37479
37480 [BZ #12511]
37481 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
37482 don't set DF_1_NODELETE here.
37483 (do_lookup_x): When entering new entry test for copy relocation
37484 and if necessary set DF_1_NODELETE flag.
37485 * elf/tst-unique4.cc: New file.
37486 * elf/tst-unique4.h: New file.
37487 * elf/tst-unique4lib.cc: New file.
37488 * elf/Makefile: Add rules to build and run tst-unique4.
37489 Patch by Piotr Bury <pbury@goahead.com>.
37490
22836f52
UD
374912011-05-11 Ulrich Drepper <drepper@gmail.com>
37492
f574184a
UD
37493 [BZ #12052]
37494 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
37495
e1fb097f
UD
37496 [BZ #12625]
37497 * misc/mntent_r.c (addmntent): Flush the stream after the output
37498
22836f52
UD
37499 [BZ #12393]
37500 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
37501 (is_trusted_path_normalize): Skip initial colon. Append slash
37502 to empty buffer. Duplicate is_trusted_path code but allow
37503 constructed patch to be prefix.
37504 (is_dst): Allow $ORIGIN followed by /.
37505 (_dl_dst_substitute): Correct clearing of check_for_trusted.
37506 Correct testing of result of is_trusted_path_normalize
37507 (decompose_rpath): Fix warning.
37508
7b3b0b2a
UD
375092011-05-10 Ulrich Drepper <drepper@gmail.com>
37510
37511 [BZ #11257]
37512 * grp/initgroups.c (internal_getgrouplist): When we found the service
37513 list through the initgroups entry in nsswitch.conf do not always
37514 continue on a successful lookup. Don't always use the
eac80ce2 37515 __nss_group_database value if it is set.
7b3b0b2a
UD
37516 * nss/nsswitch.conf (initgroups): Change action for successful db
37517 lookup to continue for compatibility.
37518
2a81eaa5
UD
375192011-05-09 Ulrich Drepper <drepper@gmail.com>
37520
be97a69e
UD
37521 [BZ #11532]
37522 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
37523 and CP774 modules.
37524 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
37525 and CP774 modules.
37526 * iconvdata/tst-tables.sh: Likewise.
37527 * iconvdata/cp770.c: New file.
37528 * iconvdata/cp771.c: New file.
37529 * iconvdata/cp772.c: New file.
37530 * iconvdata/cp773.c: New file.
37531 * iconvdata/cp774.c: New file.
37532 * iconvdata/testdata/CP770: New file.
37533 * iconvdata/testdata/CP770..UTF8: New file.
37534 * iconvdata/testdata/CP771: New file.
37535 * iconvdata/testdata/CP771..UTF8: New file.
37536 * iconvdata/testdata/CP772: New file.
37537 * iconvdata/testdata/CP772..UTF8: New file.
37538 * iconvdata/testdata/CP773: New file.
37539 * iconvdata/testdata/CP773..UTF8: New file.
37540 * iconvdata/testdata/CP774: New file.
37541 * iconvdata/testdata/CP774..UTF8: New file.
37542
37543 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
37544 END CHARMAP line.
37545 * iconvdata/gen-8bit-gap.sh: Likewise.
37546 * iconvdata/gen-8bit.sh: Likewise.
37547
c1e9e399
UD
37548 * locale/iso-639.def: Add ary entry.
37549
24c55fb3 37550 [BZ #11258]
96b4b1b0
UD
37551 * locale/C-translit.h.in: Add U20A1 transliteration.
37552
bdc2f971
KB
37553 [BZ #12178]
37554 * locale/iso-639.def: Add wae entry.
37555 Patch by Kevin Bortis <bortis@translate-wae.ch>.
37556
2952b117
UD
37557 [BZ #12545]
37558 * locale/programs/localedef.c (construct_output_path): Use ssize_t
37559 for n.
37560
2a81eaa5
UD
37561 [BZ #12711]
37562 * locale/C-translit.h.in: Add entry for U20B9.
37563 Patch by pravin.d.s@gmail.com.
37564
28377d1b
UD
375652011-05-08 Ulrich Drepper <drepper@gmail.com>
37566
7fb90fb8
UD
37567 [BZ #12713]
37568 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
37569 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
37570 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
37571 in rtld. Use *stat64.
7fb90fb8 37572 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 37573 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 37574 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
37575 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
37576 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
37577 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
37578 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
37579 __fstatat64 macros.
7fb90fb8
UD
37580 * include/dirent.h: Add libc_hidden_proto for rewinddir.
37581 * dirent/rewinddir.c: Add libc_hidden_def.
37582 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 37583 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 37584
28377d1b
UD
37585 * include/dirent.h (__alloc_dir): Add flags parameter.
37586 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
37587 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
37588 __alloc_dir.
37589 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
37590 from fdopendir if O_CLOEXEC is already set.
37591
66bdbaa4
AM
375922011-03-15 Alan Modra <amodra@gmail.com>
37593
37594 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
37595 l_tls_firstbyte_offset non-zero. Save padding offset in
37596 l_tls_firstbyte_offset for later use.
37597 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
37598 freeing static tls block.
37599
95721191
JN
376002011-03-05 Jonathan Nieder <jrnieder@gmail.com>
37601
37602 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
37603 where #ifdef was intended. The intent is to prevent ARG_MAX from
37604 being defined by the kernel headers.
37605
f87dfb1f
UD
376062011-05-07 Ulrich Drepper <drepper@gmail.com>
37607
37608 [BZ #12734]
37609 * resolv/resolv.h: Define RES_NOTLDQUERY.
37610 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
37611 no-tld-query and set RES_NOTLDQUERY.
37612 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
37613 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
37614 modern BIND to search name as TLD unless forbidden.
37615
47c3cd7a
UD
376162011-05-07 Petr Baudis <pasky@suse.cz>
37617 Ulrich Drepper <drepper@gmail.com>
37618
37619 [BZ #12393]
37620 * elf/dl-load.c (fillin_rpath): Move trusted path check...
37621 (is_trusted_path): ...to here.
c1e9ea35 37622 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 37623 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 37624 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 37625
8a35c912
PP
376262011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37627
37628 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
37629 __BEGIN/__END_DECLS.
37630
acd41f47
UD
376312011-05-06 Ulrich Drepper <drepper@gmail.com>
37632
37633 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
37634 NSS_STATUS_NOTFOUND if no record was found.
37635
597df647
AS
376362011-05-05 Andreas Schwab <schwab@redhat.com>
37637
37638 * sunrpc/Makefile (headers): Add rpc/netdb.h.
37639 (headers-not-in-tirpc): Remove rpc/netdb.h
37640 * resolv/netdb.h: Revert last change.
37641
b9af1301
PP
376422011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
37643
37644 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
37645 circular dependency between libgcc.a and libc.a.
37646
4e34d5f5
AS
376472011-05-05 Andreas Schwab <schwab@redhat.com>
37648
37649 * resolv/netdb.h: Don't include <rpc/netdb.h>.
37650 * nis/Makefile: Don't install rpcsvc/*.
37651 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
37652 instead of <rpc/types.h>.
37653 (MAXHOSTNAMELEN): Define.
37654
00ee369c
AS
376552011-05-03 Andreas Schwab <schwab@redhat.com>
37656
37657 * elf/ldconfig.c (add_dir): Don't crash on empty path.
37658
0b592a30
MB
376592011-04-28 Maciej Babinski <mbabinski@google.com>
37660
37661 [BZ #12714]
37662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
37663 gethostbyname4_r when IPv6 results are possible.
37664
6e04cbbe
UD
376652011-05-02 Ulrich Drepper <drepper@gmail.com>
37666
37667 [BZ #12723]
37668 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37669 _PC_PIPE_BUF handling.
37670
e4ecafe0
BH
376712011-04-30 Bruno Haible <bruno@clisp.org>
37672
37673 [BZ #12717]
37674 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37675 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37676 to 'int'.
37677 * inet/getnameinfo.c (getnameinfo): Likewise.
37678
125ee683
UD
376792011-04-29 Ulrich Drepper <drepper@gmail.com>
37680
37681 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37682 to groups setting in database lookup.
37683 * nss/nsswitch.conf: Add initgroups entry.
37684
b722481a
EB
376852011-04-22 Ulrich Drepper <drepper@gmail.com>
37686
37687 [BZ #12685]
37688 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37689 mode string.
37690 Patch by Eric Blake <eblake@redhat.com>.
37691
4df46dbd
L
376922011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37693
37694 * sunrpc/Makefile (need-export-routines): Add svc_run.
37695 (routines): Remove svc_run.
37696 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37697 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37698 * sunrpc/svc_run.c (svc_run): Likewise.
37699 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37700
e84142d2
UD
377012011-04-21 Ulrich Drepper <drepper@gmail.com>
37702
37703 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37704 problem in reallocation in last patch.
37705
877175d8
UD
377062011-04-20 Ulrich Drepper <drepper@gmail.com>
37707
37708 * sunrpc/Makefile: Move inclusion of Rules.
37709
ab8eed78
UD
377102011-04-19 Ulrich Drepper <drepper@gmail.com>
37711
37712 * nss/nss_files/files-initgroups.c: New file.
37713 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37714 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37715 _nss_files_initgroups_dyn.
37716
e3d8f584
RS
377172011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37718
37719 * elf/elf.h (R_ARM_IRELATIVE): Define.
37720
af190f45
UD
377212011-04-19 Ulrich Drepper <drepper@gmail.com>
37722
37723 * po/ru.po: Update from translation team.
37724
53cf59ef
UD
377252011-04-17 Ulrich Drepper <drepper@gmail.com>
37726
37727 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37728 dependencies.
37729
4c559bcd
MF
377302011-02-06 Mike Frysinger <vapier@gentoo.org>
37731
37732 [BZ #12653]
37733 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37734 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37735 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37736 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37738
4420675c
AS
377392011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37740
37741 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37742 differing bytes.
37743 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37744 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37745 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37746
75ea32ab
UD
377472011-04-17 Ulrich Drepper <drepper@gmail.com>
37748
37749 [BZ #12420]
37750 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37751 storing it.
37752 * stdlib/bug-getcontext.c: New file.
37753 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37754
27390476
AK
377552011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37756
37757 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37758 instructions into .machine "z9-109".
37759 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37760 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37761
10442705
AK
377622011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37763
37764 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37765 between environment variables and auxiliary vector.
37766
7b57bfe5
UD
377672011-04-16 Ulrich Drepper <drepper@gmail.com>
37768
37769 * Makefile: Add rules to build linkobj/libc.so.
37770 * include/libc-symbols.h: Define libc_hidden_nolink.
37771 * include/rpc/auth.h: Mark functions which are to be hidden.
37772 * include/rpc/auth_des.h: Likewise.
37773 * include/rpc/auth_unix.h: Likewise.
37774 * include/rpc/clnt.h: Likewise.
37775 * include/rpc/des_crypt.h: Likewise.
37776 * include/rpc/key_prot.h: Likewise.
37777 * include/rpc/pmap_clnt.h: Likewise.
37778 * include/rpc/pmap_prot.h: Likewise.
37779 * include/rpc/pmap_rmt.h: Likewise.
37780 * include/rpc/rpc_msg.h: Likewise.
37781 * include/rpc/svc.h: Likewise.
37782 * include/rpc/svc_auth.h: Likewise.
37783 * include/rpc/xdr.h: Likewise.
37784 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37785 * nss/Makefile: Likewise.
37786 * sunrpc/Makefile: Don't install headers. Build library with normal
37787 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37788 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37789 for the compat linking library. Remove use of INTDEF/INTUSE.
37790 * sunrpc/auth_none.c: Likewise.
37791 * sunrpc/auth_unix.c: Likewise.
37792 * sunrpc/authdes_prot.c: Likewise.
37793 * sunrpc/authuxprot.c: Likewise.
37794 * sunrpc/clnt_gen.c: Likewise.
37795 * sunrpc/clnt_perr.c: Likewise.
37796 * sunrpc/clnt_raw.c: Likewise.
37797 * sunrpc/clnt_simp.c: Likewise.
37798 * sunrpc/clnt_tcp.c: Likewise.
37799 * sunrpc/clnt_udp.c: Likewise.
37800 * sunrpc/clnt_unix.c: Likewise.
37801 * sunrpc/des_crypt.c: Likewise.
37802 * sunrpc/des_soft.c: Likewise.
37803 * sunrpc/get_myaddr.c: Likewise.
37804 * sunrpc/key_call.c: Likewise.
37805 * sunrpc/key_prot.c: Likewise.
37806 * sunrpc/netname.c: Likewise.
37807 * sunrpc/pm_getmaps.c: Likewise.
37808 * sunrpc/pm_getport.c: Likewise.
37809 * sunrpc/pmap_clnt.c: Likewise.
37810 * sunrpc/pmap_prot.c: Likewise.
37811 * sunrpc/pmap_prot2.c: Likewise.
37812 * sunrpc/pmap_rmt.c: Likewise.
37813 * sunrpc/publickey.c: Likewise.
37814 * sunrpc/rpc_cmsg.c: Likewise.
37815 * sunrpc/rpc_common.c: Likewise.
37816 * sunrpc/rpc_dtable.c: Likewise.
37817 * sunrpc/rpc_prot.c: Likewise.
37818 * sunrpc/rpc_thread.c: Likewise.
37819 * sunrpc/rtime.c: Likewise.
37820 * sunrpc/svc.c: Likewise.
37821 * sunrpc/svc_auth.c: Likewise.
37822 * sunrpc/svc_authux.c: Likewise.
37823 * sunrpc/svc_raw.c: Likewise.
37824 * sunrpc/svc_run.c: Likewise.
37825 * sunrpc/svc_simple.c: Likewise.
37826 * sunrpc/svc_tcp.c: Likewise.
37827 * sunrpc/svc_udp.c: Likewise.
37828 * sunrpc/svc_unix.c: Likewise.
37829 * sunrpc/svcauth_des.c: Likewise.
37830 * sunrpc/xcrypt.c: Likewise.
37831 * sunrpc/xdr.c: Likewise.
37832 * sunrpc/xdr_array.c: Likewise.
37833 * sunrpc/xdr_float.c: Likewise.
37834 * sunrpc/xdr_intXX_t.c: Likewise.
37835 * sunrpc/xdr_mem.c: Likewise.
37836 * sunrpc/xdr_rec.c: Likewise.
37837 * sunrpc/xdr_ref.c: Likewise.
37838 * sunrpc/xdr_sizeof.c: Likewise.
37839 * sunrpc/xdr_stdio.c: Likewise.
37840
e6c61494
UD
378412011-04-10 Ulrich Drepper <drepper@gmail.com>
37842
37843 [BZ #12650]
37844 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37845 * sysdeps/ia64/dl-tls.h: Likewise.
37846 * sysdeps/powerpc/dl-tls.h: Likewise.
37847 * sysdeps/s390/dl-tls.h: Likewise.
37848 * sysdeps/sh/dl-tls.h: Likewise.
37849 * sysdeps/sparc/dl-tls.h: Likewise.
37850 * sysdeps/x86_64/dl-tls.h: Likewise.
37851 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37852
34fe483e
AS
378532011-03-14 Andreas Schwab <schwab@redhat.com>
37854
37855 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37856 rpath element also skip the following colon.
37857 (expand_dynamic_string_token): Add is_path parameter and pass
37858 down to DL_DST_REQUIRED and _dl_dst_substitute.
37859 (decompose_rpath): Call expand_dynamic_string_token with
37860 non-zero is_path. Ignore empty rpaths.
37861 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37862 with zero is_path.
37863
f12a32e6
AS
378642011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37865
37866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37867 Make cancelable.
37868
38a7d692
UD
378692011-04-09 Ulrich Drepper <drepper@gmail.com>
37870
37871 [BZ #12655]
37872 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37873 Patch by Filipe David Manana <fdmanana@apache.org>.
37874
e451d22b
AS
378752011-04-07 Andreas Schwab <schwab@redhat.com>
37876
37877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37878 Maintain aligned stack.
37879 (CHECK_RSP): Remove unused macro.
37880
dedc7c7b
UD
378812011-04-03 Ulrich Drepper <drepper@gmail.com>
37882
37883 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37884 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37885
94521213
UD
378862011-04-02 Ulrich Drepper <drepper@gmail.com>
37887
37888 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37889
8cb700c0 37890 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 37891
0354e355
L
378922011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37893
37894 [BZ #12518]
37895 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37896 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37897 * sysdeps/x86_64/memmove.c: New file.
37898 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37899 (memcpy): Renamed to ...
37900 (__new_memcpy): This.
37901 (memcpy): Provide GLIBC_2_14 memcpy.
37902 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37903 (memcpy): Provide GLIBC_2_2_5 memcpy.
37904
8593482f
UD
379052011-04-01 Ulrich Drepper <drepper@gmail.com>
37906
37907 [BZ #12631]
37908 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37909
81a5726b
AS
379102011-03-30 Andreas Schwab <schwab@redhat.com>
37911
37912 * misc/syncfs.c: New file.
37913 * misc/Makefile (routines): Add syncfs.
37914 * posix/unistd.h: Declare syncfs.
37915 * sysdeps/unix/syscalls.list: Add syncfs.
37916
00e5419f
AS
379172011-04-01 Andreas Schwab <schwab@redhat.com>
37918
37919 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37920 open_by_handle_at.
37921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37922 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37926 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37927 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37928
748876bf
UD
379292011-04-01 Ulrich Drepper <drepper@gmail.com>
37930
658e451d
UD
37931 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37932 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37933 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37938
748876bf
UD
37939 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37940 sync_file_range.c with -fexceptions.
37941 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37942 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37943 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37944 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37945 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37946 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
37948 sync_file_range as cancellation point
37949 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37950 now a wrapper around __call_sync_file_range with cancellation handling.
37951 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37952 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37953 function name to __call_sync_file_range.
37954 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37955 Add call_sync_file_range.
748876bf 37956
6e63d5e1
AS
379572011-04-01 Andreas Schwab <schwab@redhat.com>
37958
37959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 37960 bits/timex.h.
6e63d5e1 37961
46998f74
UD
379622011-04-01 Ulrich Drepper <drepper@gmail.com>
37963
4c1423ed
UD
37964 * iconv/iconv.h: Fix typo in comment.
37965 * io/fcntl.h: Likewise.
37966 * libio/stdio.h: Likewise.
37967 * posix/spawn.h: Likewise.
37968 * posix/unistd.h: Likewise.
37969 * stdlib/stdlib.h: Likewise.
37970 * time/time.h: Likewise.
37971 * wcsmbs/wchar.h: Likewise.
37972
158648c0
UD
37973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37974 open_by_handle): Add.
37975 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37976 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37977 Augment a few comments.
37978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37980 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37983 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37984 open_by_handle.
37985
46998f74
UD
37986 * io/fcntl.h (AT_EMPTY_PATH): Define.
37987
83fe108b
UD
379882011-03-30 Ulrich Drepper <drepper@gmail.com>
37989
37990 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37991 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37992 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37993 to...
37994 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
37995 * Versions.def: Add GLIBC_2.14.
37996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37997 Export.
83fe108b 37998
bb242059
UD
379992011-03-22 Ulrich Drepper <drepper@gmail.com>
38000
38001 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38002 round counter.
38003 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38004
c97a1282
L
380052011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38006
38007 [BZ #12597]
38008 * string/test-strncmp.c (do_page_test): New function.
38009 (check2): Likewise.
38010 (test_main): Call check2.
38011 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38012
2a115601
UD
380132011-03-20 Ulrich Drepper <drepper@gmail.com>
38014
38015 [BZ #12587]
38016 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38017 Handle cache information in CPU leaf 4.
38018 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38019
8126d904
UD
380202011-03-18 Ulrich Drepper <drepper@gmail.com>
38021
042c49c6 38022 [BZ #12583]
8126d904
UD
38023 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38024 character representation.
38025 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38026
ccfe366e
RA
380272011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38028
38029 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38030 END(__isnan) to END(__isnanf) to match function entry point/label
38031 EALIGN(__isnanf,...).
38032
c6e13027
JJ
380332011-03-10 Jakub Jelinek <jakub@redhat.com>
38034
38035 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38036
33f85a3f
UD
380372011-03-10 Ulrich Drepper <drepper@gmail.com>
38038
028478fa
UD
38039 [BZ #12510]
38040 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38041 copy from the symbol referenced in the relocation to initialize the
38042 used variable.
38043 Patch by Piotr Bury <pbury@goahead.com>.
38044 * elf/Makefile: Add rules to build and tst-unique3.
38045 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38046 * elf/tst-unique3.cc: New file.
38047 * elf/tst-unique3.h: New file.
38048 * elf/tst-unique3lib.cc: New file.
38049 * elf/tst-unique3lib2.cc: New file.
38050
33f85a3f
UD
38051 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38052
03592fc7
MF
380532011-03-10 Mike Frysinger <vapier@gentoo.org>
38054
38055 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38056 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38057 to _start.
03592fc7 38058
6a5ee102
UD
380592011-03-06 Ulrich Drepper <drepper@gmail.com>
38060
38061 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38062 to-be-loaded object along a path to loader is ld.so.
38063
7e4ba49c
HJ
380642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38065 Ulrich Drepper <drepper@gmail.com>
38066
38067 * sysdeps/x86_64/memset.S: After aligning destination, code
38068 branches to different locations depending on the value of
38069 misalignment, when multiarch is enabled. Fix this.
38070
380712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38072
38073 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38074 Set _x86_64_preferred_memory_instruction for AMD processsors.
38075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38076 Set bit_Prefer_SSE_for_memop for AMD processors.
38077
13a804de
UD
380782011-03-04 Ulrich Drepper <drepper@gmail.com>
38079
38080 * libio/fmemopen.c (fmemopen): Optimize a bit.
38081
9d25c392
AS
380822011-03-03 Andreas Schwab <schwab@redhat.com>
38083
38084 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38085
a5543c6a
RM
380862011-03-03 Roland McGrath <roland@redhat.com>
38087
38088 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38089
012d35f7
DM
380902011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38091
7e4ba49c 38092 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38093 __bzero_ultra1 instead of __memset_ultra1.
38094
4bff6e01
AS
380952011-02-23 Andreas Schwab <schwab@redhat.com>
38096 Ulrich Drepper <drepper@gmail.com>
38097
38098 [BZ #12509]
38099 * include/link.h (struct link_map): Add l_orig_initfini.
38100 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38101 returning unsuccessfully.
38102 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38103 close of a file loaded at startup, restore the original l_initfini
38104 list.
38105 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38106 list, store the pointer.
38107 * elf/Makefile ($(objpfx)noload-mem): New rule.
38108 (noload-ENV): Define.
38109 (tests): Add $(objpfx)noload-mem.
38110 * elf/noload.c: Include <memcheck.h>.
38111 (main): Call mtrace. Close all opened handles.
38112
f2092faf
AS
381132011-02-17 Andreas Schwab <schwab@redhat.com>
38114
38115 [BZ #12454]
38116 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38117 dependencies are missing.
38118
6c8a2e88
ST
381192011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38120
f2092faf 38121 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38122 Hurd needs munmap.
38123 * sysdeps/mach/hurd/ifreq.h: New file.
38124
84a42118
PB
381252011-01-27 Petr Baudis <pasky@suse.cz>
38126 Ulrich Drepper <drepper@gmail.com>
38127
071f805e 38128 [BZ 12445]#
84a42118
PB
38129 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38130 to extend_alloca().
38131 * stdio-common/bug23.c: New file.
38132 * stdio-common/Makefile (tests): Add bug23.
38133
e23fe25b
AS
381342010-09-28 Andreas Schwab <schwab@redhat.com>
38135 Ulrich Drepper <drepper@gmail.com>
38136
38137 [BZ #12489]
38138 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38139 before performing relro protection. At old place add assertion
38140 to make sure nothing changed.
38141
d3f02e10
NS
381422011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38143 Glauber de Oliveira Costa <glommer@gmail.com>
38144
38145 * elf/elf.h: Add new ARM TLS relocs.
38146
d55fd7a5
RA
381472011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38148
38149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38150 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38151 cast from r3.
38152 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38153 'tests' variable.
38154 * sysdeps/wordsize-64/tst-writev.c: New file.
38155
2206397e
RA
381562011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38157
38158 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38159 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38160 insns in _dl_start to prevent a TOC reference before relocs are
38161 resolved.
38162
e9433893
UD
381632011-02-15 Ulrich Drepper <drepper@gmail.com>
38164
38165 [BZ #12469]
38166 * Makeconfig: Remove RANLIB definition.
38167 * Makerules: Don't use RANLIB.
38168 * aclocal.m4: Remove ranlib test.
38169 * configure.in: No need to check for ranlib.
38170 * elf/rtld-Rules: Don't use RANLIB.
38171
f75286c6
ST
381722011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38173
8e31c82d
ST
38174 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38175 protection macro.
38176 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38177 inclusion protection macro.
38178
f75286c6
ST
38179 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38180 SIGRTMIN and SIGRTMAX and print information in that case only when
38181 SIGRTMIN is defined.
38182
c1d0e639
JJ
381832011-02-11 Jakub Jelinek <jakub@redhat.com>
38184
38185 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38186 arginfo fn returning -1.
38187
38188 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38189 and thousands string is zero terminated.
38190
edf9294e
AS
381912011-02-03 Andreas Schwab <schwab@redhat.com>
38192
38193 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38194 sysdeps/unix/sysv/linux/bits/socket.h.
38195
2b7e92df
ST
381962011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38197
edf9294e
AS
38198 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38199 (__CPU_COUNT): Remove old macros.
38200 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38201 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38202 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38203 (__sched_cpualloc, __sched_cpufree): Add declarations.
38204
a4c7ea7b
UD
382052011-02-05 Ulrich Drepper <drepper@gmail.com>
38206
38207 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38208 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38209 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38210 (readdhstai): Return value of addhstaiX call.
38211 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38212 (addgrbyX): Return value returned by cache_addgr.
38213 (readdgrbyname): Return value returned by addgrbyX.
38214 (readdgrbygid): Likewise.
38215 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38216 (addpwbyX): Return value returned by cache_addpw.
38217 (readdpwbyname): Return value returned by addhstbyX.
38218 (readdpwbyuid): Likewise.
38219 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38220 (addservbyX): Return value returned by cache_addserv.
38221 (readdservbyname): Return value returned by addservbyX:
38222 (readdservbyport): Likewise.
38223 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38224 (addhstbyX): Return value returned by cache_addhst.
38225 (readdhstbyname): Return value returned by addhstbyX.
38226 (readdhstbyaddr): Likewise.
38227 (readdhstbynamev6): Likewise.
38228 (readdhstbyaddrv6): Likewise.
38229 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38230 (readdinitgroups): Return value returned by addinitgroupsX.
38231 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38232 (prune_cache): Keep track of timeout value of re-added entries.
38233 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38234 * nscd/nscd.h: Adjust prototypes of readd* functions.
38235
a0bf67cc
RM
382362011-02-04 Roland McGrath <roland@redhat.com>
38237
38238 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38239 (nis_stats): Likewise.
38240 * nis/nis_modify.c (nis_modify): Likewise.
38241 * nis/nis_remove.c (nis_remove): Likewise.
38242 * nis/nis_add.c (nis_add): Likewise.
38243
38244 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38245
38246 * posix/fnmatch_loop.c: Add some consts.
38247
38248 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38249
435b95eb
L
382502011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38251
38252 [BZ #12460]
38253 * config.make.in (config-cflags-novzeroupper): Define.
38254 * configure.in: Substitute libc_cv_cc_novzeroupper.
38255 * elf/Makefile (AVX-CFLAGS): Define.
38256 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38257 (CFLAGS-tst-auditmod4a.c): Likewise.
38258 (CFLAGS-tst-auditmod4b.c): Likewise.
38259 (CFLAGS-tst-auditmod6b.c): Likewise.
38260 (CFLAGS-tst-auditmod6c.c): Likewise.
38261 (CFLAGS-tst-auditmod7b.c): Likewise.
38262 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38263
8517b15e
UD
382642011-02-02 Ulrich Drepper <drepper@gmail.com>
38265
38266 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38267 function to the callback.
38268 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38269
10a656fe
AS
382702011-02-02 Andreas Schwab <schwab@redhat.com>
38271
38272 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38273 of errno.
38274
968dad0a
UD
382752011-01-19 Ulrich Drepper <drepper@gmail.com>
38276
9f94d2ea 38277 [BZ #11724]
968dad0a
UD
38278 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38279 of constructors.
38280 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38281 of destructors.
38282 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38283
38284 [BZ #11724]
38285 * elf/Makefile: Add rules to build and run new test.
38286 * elf/tst-initorder.c: New file.
38287 * elf/tst-initorder.exp: New file.
38288 * elf/tst-initordera1.c: New file.
38289 * elf/tst-initordera2.c: New file.
38290 * elf/tst-initordera3.c: New file.
38291 * elf/tst-initordera4.c: New file.
38292 * elf/tst-initorderb1.c: New file.
38293 * elf/tst-initorderb2.c: New file.
38294 * elf/tst-order-a1.c: New file.
38295 * elf/tst-order-a2.c: New file.
38296 * elf/tst-order-a3.c: New file.
38297 * elf/tst-order-a4.c: New file.
38298 * elf/tst-order-b1.c: New file.
38299 * elf/tst-order-b2.c: New file.
38300 * elf/tst-order-main.c: New file.
38301 New test case by George Gensure <werkt0@gmail.com>.
38302
86e92359
UD
383032010-10-01 Andreas Schwab <schwab@redhat.com>
38304
38305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38306 decoding ACE if AI_CANONIDN.
38307
5d5732b0
UD
383082011-01-18 Ulrich Drepper <drepper@gmail.com>
38309
38310 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38311
a77e8cbc
UD
383122011-01-17 Ulrich Drepper <drepper@gmail.com>
38313
6392473f
UD
38314 * version.h (RELEASE): Bump for 2.13 release.
38315 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38316
620a0529
UD
38317 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38318
18ba70a5
UD
38319 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38320 MADV_NOHUGEPAGE.
32465c3e
UD
38321 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38322 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38323 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38325 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38326 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38327
c0dafcf1
UD
38328 * posix/getconf.c: Update copyright year.
38329 * catgets/gencat.c: Likewise.
38330 * csu/version.c: Likewise.
38331 * debug/catchsegv.sh: Likewise.
38332 * debug/xtrace.sh: Likewise.
38333 * elf/ldconfig.c: Likewise.
38334 * elf/ldd.bash.in: Likewise.
38335 * elf/sprof.c (print_version): Likewise.
38336 * iconv/iconv_prog.c: Likewise.
38337 * iconv/iconvconfig.c: Likewise.
38338 * locale/programs/locale.c: Likewise.
38339 * locale/programs/localedef.c: Likewise.
38340 * malloc/memusage.sh: Likewise.
38341 * malloc/mtrace.pl: Likewise.
38342 * nscd/nscd.c (print_version): Likewise.
38343 * nss/getent.c: Likewise.
38344
a77e8cbc
UD
38345 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38346 PF_CAIF, and PF_ALG.
38347 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38348
77e8bddf
AS
383492011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38350
1f20b93a
AS
38351 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
38352 (modules-names): Use them.
38353 (ifunc-test-modules, ifunc-pie-tests): Define.
38354 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
38355 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
38356 (test-extras): Likewise.
38357 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
38358 $(compile-command.c).
38359 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
38360 (all-built-dso): Define.
38361 (check-textrel.out, check-execstack.out): Depend on it.
38362
77e8bddf
AS
38363 * configure.in: Don't override --enable-multi-arch.
38364
bc425b33
UD
383652011-01-15 Ulrich Drepper <drepper@gmail.com>
38366
38367 [BZ #6812]
38368 * nscd/hstcache.c (tryagain): Define.
38369 (cache_addhst): Return tryagain not notfound for temporary errors.
38370 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
38371 failed.
38372
794c3ad3
UD
383732011-01-14 Ulrich Drepper <drepper@gmail.com>
38374
70181fdd
UD
38375 [BZ #10563]
38376 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
38377 to make the syscall.
38378 * sysdeps/unix/sysv/linux/setgroups.c: New file.
38379
794c3ad3
UD
38380 [BZ #12378]
38381 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
38382 and fall back to matching as normal character if the string ends before
38383 the matching ']' is found. This is what POSIX requires.
38384 * posix/testfnm.c: Adjust test result.
38385 * posix/globtest.sh: Adjust test result. Add new test.
38386 * posix/tst-fnmatch.input: Likewise.
38387 * posix/tst-fnmatch2.c: Add new test.
38388
68dc9497
AS
383892010-12-28 Andreas Schwab <schwab@linux-m68k.org>
38390
38391 * elf/Makefile (check-execstack): Revert last change. Depend on
38392 check-execstack.h.
38393 (check-execstack.h): New target.
38394 (generated): Add check-execstack.h.
38395 * elf/check-execstack.c: Include "check-execstack.h".
38396 (main): Revert last change.
38397 (handle_file): Return zero if GNU_STACK is absent and
38398 DEFAULT_STACK_PERMS doesn't include PF_X.
38399
451f001b
UD
384002011-01-13 Ulrich Drepper <drepper@gmail.com>
38401
cfa28e56
UD
38402 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
38403 in child fails because the descriptor is already closed.
8cf8ce17
UD
38404 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
38405 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
38406 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 38407
1086d70d
UD
38408 [BZ #12397]
38409 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
38410 syscall.
38411
451f001b
UD
38412 [BZ #10484]
38413 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
38414 temporary buffer used to handle multi lookups locally.
a85b5cb4 38415 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 38416
08769175
UD
384172011-01-12 Ulrich Drepper <drepper@gmail.com>
38418
38419 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
38420 loader is ld.so.
38421
5e49c52e
UD
384222011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
38423
38424 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
38425 alignment for SSE2.
38426
60522a5f
UD
384272011-01-12 Ulrich Drepper <drepper@gmail.com>
38428
38429 [BZ #12394]
38430 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
38431 characters. When rounding increased number of integer digits recompute
38432 number of groups.
38433 * stdio-common/tst-grouping.c: New file.
38434 * stdio-common/Makefile: Add rules to build and run tst-grouping.
38435
f257bbd7
UD
384362011-01-09 Ulrich Drepper <drepper@gmail.com>
38437
38438 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
38439 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
38440
38441 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
38442 void.
38443 * bits/select.h: Likewise.
38444
fa9c15cb
UD
384452011-01-08 Ulrich Drepper <drepper@gmail.com>
38446
38447 * po/ja.po: Update from translation team.
38448
16c2895f
DM
384492011-01-04 David S. Miller <davem@sunset.davemloft.net>
38450
38451 [BZ #11155]
38452 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
38453 implementation just like for lxstat, fxstatat, et al.
38454
2543fef2
JM
384552010-12-27 Jim Meyering <meyering@redhat.com>
38456
38457 [BZ #12348]
38458 * posix/regexec.c (build_trtable): Return failure indication upon
38459 calloc failure. Otherwise, re_search_internal could infloop on OOM.
38460
98727dbe
UD
384612010-12-25 Ulrich Drepper <drepper@gmail.com>
38462
5bd6dc5c
UD
38463 [BZ #12201]
38464 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
38465 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
38466 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
38467 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
38468
97983464
UD
38469 [BZ #12207]
38470 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
38471
98727dbe
UD
38472 [BZ #12204]
38473 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
38474 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
38475
4a531bb0
L
384762010-12-15 H.J. Lu <hongjiu.lu@intel.com>
38477
38478 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
38479 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
38480 script has SORT_BY_INIT_PRIORITY.
38481 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
38482 NO_CTORS_DTORS_SECTIONS is defined.
38483 * elf/soinit.c: Likewise.
38484 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
38485 NO_CTORS_DTORS_SECTIONS is defined.
38486 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
38487 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
38488 * sysdeps/sh/init-first.c: Likewise.
38489 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
38490
07eb4b71
UD
384912010-12-24 Ulrich Drepper <drepper@gmail.com>
38492
38493 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
38494 always use the slow path.
38495
30950a5f
RA
384962010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
38497
38498 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
38499 similar rule which adds the sysdep directories to the header search in
38500 order to pick up the correct platform stackinfo.h.
38501 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
38502 perform test if it is, otherwise return successfully without testing.
38503 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
38504 DEFAULT_STACK_PERMS define in stackinfo.h.
38505 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
38506 defined in stackinfo.h.
38507 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
38508 DEFAULT_STACK_PERMS defined in stackinfo.h.
38509 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
38510 * sysdeps/ia64/stackinfo.h: Likewise.
38511 * sysdeps/s390/stackinfo.h: Likewise.
38512 * sysdeps/sh/stackinfo.h: Likewise.
38513 * sysdeps/sparc/stackinfo.h: Likewise.
38514 * sysdeps/x86_64/stackinfo.h: Likewise.
38515 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
38516 PF_X for powerpc64. Retain PF_X for powerpc32.
38517
db753e2c
UD
385182010-12-19 Ulrich Drepper <drepper@gmail.com>
38519
14b697f7
UD
38520 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
38521 accurately.
db753e2c
UD
38522 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
38523 GETDENTS_64BIT_ALIGNED.
38524
28300719
UD
385252010-12-14 Ulrich Drepper <dreper@gmail.com>
38526
14b697f7 38527 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 38528
4f197237
AS
385292010-12-10 Andreas Schwab <schwab@redhat.com>
38530
dbb0472f
AS
38531 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
38532 _GNU_SOURCE.
38533
4f197237
AS
38534 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
38535 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
38536 Remove __restrict.
38537 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
38538 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
38539
fb88ac72
UD
385402010-12-09 Ulrich Drepper <drepper@gmail.com>
38541
38542 [BZ #11655]
38543 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
38544 are initialized.
38545
42acbb92
JJ
385462010-12-09 Jakub Jelinek <jakub@redhat.com>
38547
38548 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
38549
c038d98d
UD
385502010-12-03 Ulrich Drepper <drepper@gmail.com>
38551
38552 * po/it.po: Update from translation team.
38553
3a4a2499
L
385542010-12-01 H.J. Lu <hongjiu.lu@intel.com>
38555
38556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
38557 unused codes.
38558
1e24cf6e
UD
385592010-11-30 Ulrich Drepper <drepper@gmail.com>
38560
38561 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
38562
a7690819
AS
385632010-11-24 Andreas Schwab <schwab@redhat.com>
38564
38565 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
38566 specially.
38567 (gaih_getanswer_slice): Likewise.
38568
3bf8d1b1
JJ
385692010-10-20 Jakub Jelinek <jakub@redhat.com>
38570
38571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
38572
6db52fbb
PB
385732010-05-31 Petr Baudis <pasky@suse.cz>
38574
38575 [BZ #11149]
38576 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
38577 silently even in the chroot mode.
38578
eaca7569
UD
385792010-11-22 Ulrich Drepper <drepper@gmail.com>
38580
38581 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
38582 last patch a bit. Pretty printing
38583
3056dcdb
UD
385842010-05-31 Petr Baudis <pasky@suse.cz>
38585
38586 [BZ #10085]
38587 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
38588 initialization of skip_initgroups_dyn.
38589
cf7c9078
UD
385902010-11-19 Ulrich Drepper <drepper@gmail.com>
38591
38592 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
38593 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38594
a1fb5e3e
UD
385952010-11-16 Ulrich Drepper <drepper@gmail.com>
38596
38597 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
38598
3540d66b
AS
385992010-11-11 Andreas Schwab <schwab@redhat.com>
38600
38601 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
38602 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
38603 (tst-fnmatch-ENV): Set MALLOC_TRACE.
38604 ($(objpfx)tst-fnmatch-mem): New rule.
38605 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
38606 * posix/tst-fnmatch.c (main): Call mtrace.
38607
13b69574
L
386082010-11-11 H.J. Lu <hongjiu.lu@intel.com>
38609
38610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38611 Support Intel processor model 6 and model 0x2c.
38612
da93d214
LM
386132010-11-10 Luis Machado <luisgpm@br.ibm.com>
38614
38615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
38616 signed comparison.
38617
8ca52c6e
L
386182010-11-09 H.J. Lu <hongjiu.lu@intel.com>
38619
38620 [BZ #12205]
38621 * string/test-strncasecmp.c (check_result): New function.
38622 (do_one_test): Use it.
38623 (check1): New function.
38624 (test_main): Use it.
38625 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
38626 Support strcasecmp and strncasecmp.
38627
69da074d
UD
386282010-11-08 Ulrich Drepper <drepper@gmail.com>
38629
38630 [BZ #12194]
38631 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
38632 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38633
ff02d528
L
386342010-11-07 H.J. Lu <hongjiu.lu@intel.com>
38635
38636 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
38637 IFUNC support.
38638 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38639 memset-x86-64.
38640 * sysdeps/x86_64/multiarch/bzero.S: New file.
38641 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
38642 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
38643 * sysdeps/x86_64/multiarch/memset.S: New file.
38644 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
38645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38646 Set bit_Prefer_SSE_for_memop for Intel processors.
38647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
38648 Define.
38649 (index_Prefer_SSE_for_memop): Define.
38650 (HAS_PREFER_SSE_FOR_MEMOP): Define.
38651
344d0b54
LM
386522010-11-04 Luis Machado <luisgpm@br.ibm.com>
38653
38654 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
38655 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
38656
c0dde15b
UD
386572010-11-03 H.J. Lu <hongjiu.lu@intel.com>
38658
38659 [BZ #12191]
38660 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38661 (__x86_64_raw_data_cache_size_half): Likewise.
38662 (__x86_64_raw_shared_cache_size): Likewise.
38663 (__x86_64_raw_shared_cache_size_half): Likewise.
38664
38665 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
38666 (__x86_64_raw_data_cache_size_half): Likewise.
38667 (__x86_64_raw_shared_cache_size): Likewise.
38668 (__x86_64_raw_shared_cache_size_half): Likewise.
38669 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38670 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38671 and __x86_64_raw_shared_cache_size_half. Round
38672 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38673 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38674 to multiple of 256 bytes.
38675
0e516e0e
MS
386762010-11-03 Ulrich Drepper <drepper@gmail.com>
38677
38678 [BZ #12167]
38679 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38680 of inacessible symlinks. Verify result of symlink before returning it.
38681 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38682 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38683
0e012e87
ER
386842010-10-28 Erich Ritz <erichritz@gmail.com>
38685
38686 * math/math.h (isinf): Fix typo in comment.
38687
de0ff7bc
UD
386882010-11-01 Ulrich Drepper <drepper@gmail.com>
38689
38690 * po/da.po: Update from translation team.
38691
fa41c84d
UD
386922010-10-26 Ulrich Drepper <drepper@gmail.com>
38693
38694 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38695 is added to the list.
38696
f0967738
AK
386972010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38698 Ulrich Drepper <drepper@gmail.com>
38699
38700 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38701 the global list here. Move code to...
38702 (_dl_add_to_namespace_list): ...here. New function.
38703 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38704 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38705 * elf/dl-load.c (lose): Don't remove the element from the list.
38706 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38707 (_dl_map_object): Likewise.
38708
387092010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
38710
38711 [BZ #12159]
38712 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38713 into all bytes of SSE register.
38714 Patch by Richard Li <richardpku@gmail.com>.
38715
f0967738 387162010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
38717
38718 [BZ #12140]
38719 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38720 perturbing.
38721
d0b9e94f
MB
387222010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38723
38724 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38725 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38726 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38727 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38729 submachine.
38730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38731
8e9f92e9
AS
387322010-10-22 Andreas Schwab <schwab@redhat.com>
38733
38734 * include/dlfcn.h (__RTLD_SECURE): Define.
38735 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38736 mode & __RTLD_SECURE instead.
38737 (open_path): Rename preloaded parameter to secure.
38738 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38739 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38740 * elf/dl-deps.c (openaux): Likewise.
38741 * elf/rtld.c (struct map_args): Remove is_preloaded.
38742 (map_doit): Don't use it.
38743 (dl_main): Likewise.
38744 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38745 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38746
bc96fbda
AS
387472010-09-09 Andreas Schwab <schwab@redhat.com>
38748
38749 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38750 (sysd-rules-targets): Remove duplicates.
38751 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38752 rtld-%.$o dependency.
38753
22cd1c9b
AS
387542010-10-18 Andreas Schwab <schwab@redhat.com>
38755
38756 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38757 _dl_map_object do it.
38758
18edac48
UD
387592010-10-19 Ulrich Drepper <drepper@gmail.com>
38760
38761 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38762 fast fma builtins, define the macros in the C99 standard.
38763 (FP_FAST_FMAF): Likewise.
38764 (FP_FAST_FMAL): Likewise.
38765 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38766
38767 * bits/mathdef.h: Update copyright year.
38768 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38769
d2050124
MM
387702010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38771
38772 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38773 builtins, define the macros in the C99 standard.
38774 (FP_FAST_FMAF): Likewise.
38775 (FP_FAST_FMAL): Likewise.
38776 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38777 multiply/add.
38778 (FP_FAST_FMAF): Likewise.
38779
475facd1
JJ
387802010-10-15 Jakub Jelinek <jakub@redhat.com>
38781
38782 [BZ #3268]
38783 * math/libm-test.inc (fma_test): Some new testcases.
38784 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38785 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38786 y and infinite z. Do multiplication by C already in long double.
38787 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38789 y and infinite z. Do bitwise or of inexact bit into u.d.
38790 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38791 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38792 * sysdeps/i386/fpu/s_fma.S: Removed.
38793 * sysdeps/i386/fpu/s_fmal.S: Removed.
38794
7c08a05c
JJ
387952010-10-16 Jakub Jelinek <jakub@redhat.com>
38796
38797 [BZ #3268]
38798 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38800 computation is not scheduled after fetestexcept. Fix value
38801 of minimum denormal long double.
38802
f3f7372d
JJ
388032010-10-14 Jakub Jelinek <jakub@redhat.com>
38804
38805 [BZ #3268]
38806 * math/libm-test.inc (fma_test): Add some more tests.
38807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38808 correctly.
38809
14d43591
AS
388102010-10-15 Andreas Schwab <schwab@redhat.com>
38811
38812 * scripts/data/localplt-s390-linux-gnu.data: New file.
38813 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38814
5e908464
JJ
388152010-10-13 Jakub Jelinek <jakub@redhat.com>
38816
38817 [BZ #3268]
38818 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38819 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38820 instead of dbl-64.
38821 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38822 inlines.
38823 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38825 if one of x and y is very large and the other is subnormal.
38826 * sysdeps/s390/fpu/s_fmaf.c: New file.
38827 * sysdeps/s390/fpu/s_fma.c: New file.
38828 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38829 * sysdeps/powerpc/fpu/s_fma.S: New file.
38830 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38831 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38832 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38833
388342010-10-12 Jakub Jelinek <jakub@redhat.com>
38835
38836 [BZ #3268]
38837 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38838 fma tests.
38839 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38840 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38841 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38842 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38843 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38844 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38846
b833d51f
UD
388472010-10-12 Ulrich Drepper <drepper@redhat.com>
38848
38849 [BZ #12078]
38850 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38851 * posix/bug-regex31.input: Add test case.
38852
1751705d
UD
388532010-10-11 Ulrich Drepper <drepper@gmail.com>
38854
e9b9cbf5
UD
38855 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38856 * posix/bug-regex31.input: New file.
38857
38858 [BZ #12078]
38859 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38860 (parse_sub_exp): Fix last change, use postorder.
38861
ef06edbe
UD
38862 * posix/bug-regex31.c: New file.
38863 * posix/Makefile: Add rules to build and run bug-regex31.
38864
a129c80d
UD
38865 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38866
38867 [BZ #12078]
38868 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38869
b76b818e
UD
38870 [BZ #12108]
38871 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38872 to have entries in sys_siglist.
38873
1751705d
UD
38874 [BZ #12093]
38875 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38876 be NULL.
38877
9ff8d36f
JJ
388782010-10-07 Jakub Jelinek <jakub@redhat.com>
38879
38880 [BZ #3268]
38881 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38882 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38883 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38884 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38885 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38886 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38887 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38888 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38889 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38890 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38891 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38892 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38893 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38894 * math/ftestexcept.c (fetestexcept): Likewise.
38895 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38896 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38897 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38898 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38899 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38900 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38901 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38902
af325969
UD
389032010-10-11 Ulrich Drepper <drepper@gmail.com>
38904
c579b202 38905 [BZ #12107]
af325969
UD
38906 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38907 newline.
38908
67a67b95
UD
389092010-10-06 Ulrich Drepper <drepper@gmail.com>
38910
38911 * string/bug-strstr1.c: New file.
38912 * string/Makefile: Add rules to build and run bug-strstr1.
38913
5fb308bc
EB
389142010-10-05 Eric Blake <eblake@redhat.com>
38915
38916 [BZ #12092]
38917 * string/str-two-way.h (two_way_long_needle): Always clear memory
38918 when skipping input due to the shift table.
38919
45db99c7
UD
389202010-10-03 Ulrich Drepper <drepper@gmail.com>
38921
3b111893
UD
38922 [BZ #12005]
38923 * malloc/mcheck.c: Handle large requests.
38924
45db99c7
UD
38925 [BZ #12077]
38926 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38927 for strncmp and strncasecmp.
38928 * string/stratcliff.c: Add tests for strcmp and strncmp.
38929 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38930
cf7a1eb8
NI
389312010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38932
38933 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38934 __set_fpscr.
38935
6484ba5e
AJ
389362010-09-30 Andreas Jaeger <aj@suse.de>
38937
38938 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38939 (CGROUP_SUPER_MAGIC): Define.
38940 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38941 Handle btrfs and cgroup file systems.
38942 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38943 Likewise.
38944
91c42559
LM
389452010-09-27 Luis Machado <luisgpm@br.ibm.com>
38946
38947 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38948 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38949
87a97932
AK
389502010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38951
38952 [BZ #12067]
38953 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38954 trying to locate the ELF header.
38955
c21cc9bc
AS
389562010-09-27 Andreas Schwab <schwab@redhat.com>
38957
38958 [BZ #11611]
38959 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38960 Mask out sign-bit copies when constructing f_fsid.
38961
315970f6
PB
389622010-09-24 Petr Baudis <pasky@suse.cz>
38963
38964 * debug/stack_chk_fail_local.c: Add missing licence exception.
38965 * debug/warning-nop.c: Likewise.
38966
1ac7a2c7
JM
389672010-09-15 Joseph Myers <joseph@codesourcery.com>
38968
38969 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38970 implementing getdents64 using getdents syscall, set d_type if
38971 __ASSUME_GETDENTS32_D_TYPE.
38972
56801c50
AS
389732010-09-16 Andreas Schwab <schwab@redhat.com>
38974
38975 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38976 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38977
dda51327
UD
389782010-09-21 Ulrich Drepper <drepper@redhat.com>
38979
38980 [BZ #12037]
38981 * posix/unistd.h: Undo change of feature selection for ftruncate from
38982 2010-01-11.
38983
8ffcee4a
UD
389842010-09-20 Ulrich Drepper <drepper@redhat.com>
38985
a545ecd9 38986 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
38987 detection.
38988
e24f0a8b
AS
389892010-09-20 Andreas Schwab <schwab@redhat.com>
38990
38991 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38992 fanotify_mark.
38993 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38994
7291c56f
AS
389952010-09-14 Andreas Schwab <schwab@redhat.com>
38996
38997 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38998 variables after CHECK_SP call.
38999 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39000
bc5fb037
AS
390012010-09-13 Andreas Schwab <schwab@redhat.com>
39002 Ulrich Drepper <drepper@redhat.com>
39003
39004 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39005 re-relocationg ld.so.
39006 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39007 _dl_init_paths call.
39008 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39009 here anymore.
39010
e66e7419
UD
390112010-09-14 Ulrich Drepper <drepper@redhat.com>
39012
39013 * resolv/res_init.c (__res_vinit): Count the default server we added.
39014
c044aa75
CLT
390152010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39016 Ulrich Drepper <drepper@redhat.com>
39017
39018 [BZ #11968]
39019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39020 (____longjmp_chk): Use %ebx for saving value across system call.
39021 Add unwind info.
39022
32cf4069
AS
390232010-09-06 Andreas Schwab <schwab@redhat.com>
39024
39025 * manual/Makefile: Don't mix pattern rules with normal rules.
39026
817328ee
AS
390272010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39028
39029 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39030 operation.
39031 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39032 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39033 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39034 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39036 Likewise.
39037
29fddf61
UD
390382010-09-04 Ulrich Drepper <drepper@redhat.com>
39039
39040 [BZ #11979]
39041 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39042 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39043
0959ffc9
UD
390442010-09-02 Ulrich Drepper <drepper@redhat.com>
39045
39046 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39047 * sysdeps/x86_64/addmul_1.S: Likewise.
39048 * sysdeps/x86_64/lshift.S: Likewise.
39049 * sysdeps/x86_64/mul_1.S: Likewise.
39050 * sysdeps/x86_64/rshift.S: Likewise.
39051 * sysdeps/x86_64/sub_n.S: Likewise.
39052 * sysdeps/x86_64/submul_1.S: Likewise.
39053
ece29840
ST
390542010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39055
0959ffc9
UD
39056 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39057 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39058 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39059 * bits/sched.h [__need_schedparam]
ece29840 39060 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39061 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39062 (__defined_schedparam): Define to 1.
ece29840
ST
39063 (__sched_param): New structure, identical to sched_param.
39064 (__need_schedparam): Undefine.
39065
e53a31fe
MF
390662010-08-31 Mike Frysinger <vapier@gentoo.org>
39067
fdc0c10d
MF
39068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39069 (epoll_create1): Declare.
39070
e53a31fe
MF
39071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39072
a726d796
AS
390732010-08-31 Andreas Schwab <schwab@redhat.com>
39074
39075 [BZ #7066]
39076 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39077 shifting retval into place.
39078
2f3e3dc7
UD
390792010-09-01 Ulrich Drepper <drepper@redhat.com>
39080
f2933da9
UD
39081 * nis/rpcsvc/nis.h: Update copyright notice.
39082 * nis/rpcsvc/nis.x: Likewise.
39083 * nis/rpcsvc/nis_callback.h: Likewise.
39084 * nis/rpcsvc/nis_callback.x: Likewise.
39085 * nis/rpcsvc/nis_object.x: Likewise.
39086 * nis/rpcsvc/nis_tags.h: Likewise.
39087 * nis/rpcsvc/yp.h: Likewise.
39088 * nis/rpcsvc/yp.x: Likewise.
39089 * nis/rpcsvc/ypupd.h: Likewise.
39090 * nis/yp_xdr.c: Likewise.
39091 * nis/ypupdate_xdr.c: Likewise.
39092
2f3e3dc7
UD
39093 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39094 mainly the body of pmap_getport. Add parameters to specify timeouts.
39095 (pmap_getport): Use __libc_rpc_getport.
39096 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39097 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39098 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39099
f3dcc2f9
AS
391002010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39101
39102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39103 fanotify_mark.
39104
6d34eb5b
RM
391052010-08-27 Roland McGrath <roland@redhat.com>
39106
39107 * sysdeps/i386/i686/multiarch/Makefile
39108 (CFLAGS-varshift.c): New variable.
39109
9ea3de11
UD
391102010-08-27 Ulrich Drepper <drepper@redhat.com>
39111
c96d23fc
UD
39112 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39113 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39114
9ea3de11
UD
39115 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39116
39117 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39118
623aac7f
L
391192010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39120
39121 * sysdeps/x86_64/strlen.S: Unroll the loop.
39122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39123 strlen-sse2 strlen-sse2-bsf.
39124 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39125 __strlen_no_bsf if bit_Slow_BSF is set.
39126 (__strlen_sse42): Removed.
39127 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39128 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39129
8b2b7715
RM
391302010-08-25 Roland McGrath <roland@redhat.com>
39131
39132 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39133 * sysdeps/x86_64/multiarch/varshift.c: New file.
39134 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39135 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39136 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39137 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39138
e73015f2
L
391392010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39140
39141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39142 strlen-sse2 strlen-sse2-bsf.
39143 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39144 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39145 (__strlen_sse2): Removed.
39146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39149 bit_Slow_BSF for Atom.
39150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39151 (index_Slow_BSF): Define.
39152 (HAS_SLOW_BSF): Define.
39153
df24a73e
UD
391542010-08-25 Ulrich Drepper <drepper@redhat.com>
39155
39156 [BZ #10851]
39157 * resolv/res_init.c (__res_vinit): When no server address at all
39158 is given default to loopback.
39159
f2ac4868
RM
391602010-08-24 Roland McGrath <roland@redhat.com>
39161
09055553
RM
39162 * configure.in: Remove config-name.h generation.
39163 * configure: Regenerated.
39164 * config-name.in: File removed.
39165 * scripts/config-uname.sh: New file.
39166 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39167 ($(objdir)config-name.h): New target.
39168
f2ac4868
RM
39169 * sunrpc/rpc_parse.h: Avoid nested comment.
39170
73f27d5e
RH
391712010-08-24 Richard Henderson <rth@redhat.com>
39172 Ulrich Drepper <drepper@redhat.com>
39173 H.J. Lu <hongjiu.lu@intel.com>
39174
39175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39177 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39178 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39179 _mm_alignr_epi8 with _mm_loadu_si128.
39180 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39181 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39182 (__m128i_shift_right): Removed.
39183 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39184 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39185 * sysdeps/x86_64/multiarch/varshift.h: New file.
39186 * sysdeps/x86_64/multiarch/varshift.S: New file.
39187
84b9230c
MF
391882010-08-21 Mike Frysinger <vapier@gentoo.org>
39189
39190 * configure.in: Move assembler checks to before sysdep dir checking.
39191
9bbd0ddc
PB
391922010-08-20 Petr Baudis <pasky@suse.cz>
39193
39194 * LICENSES: Sync the sunrpc license.
39195
9da4bb31
UD
391962010-08-19 Ulrich Drepper <drepper@redhat.com>
39197
a7ab6ec8
UD
39198 * sunrpc/auth_des.c: Update copyright notice once again.
39199 * sunrpc/auth_none.c: Likewise.
39200 * sunrpc/auth_unix.c: Likewise.
39201 * sunrpc/authdes_prot.c: Likewise.
39202 * sunrpc/authuxprot.c: Likewise.
39203 * sunrpc/bindrsvprt.c: Likewise.
39204 * sunrpc/clnt_gen.c: Likewise.
39205 * sunrpc/clnt_perr.c: Likewise.
39206 * sunrpc/clnt_raw.c: Likewise.
39207 * sunrpc/clnt_simp.c: Likewise.
39208 * sunrpc/clnt_tcp.c: Likewise.
39209 * sunrpc/clnt_udp.c: Likewise.
39210 * sunrpc/clnt_unix.c: Likewise.
39211 * sunrpc/des_crypt.c: Likewise.
39212 * sunrpc/des_soft.c: Likewise.
39213 * sunrpc/get_myaddr.c: Likewise.
39214 * sunrpc/getrpcport.c: Likewise.
39215 * sunrpc/key_call.c: Likewise.
39216 * sunrpc/key_prot.c: Likewise.
39217 * sunrpc/openchild.c: Likewise.
39218 * sunrpc/pm_getmaps.c: Likewise.
39219 * sunrpc/pm_getport.c: Likewise.
39220 * sunrpc/pmap_clnt.c: Likewise.
39221 * sunrpc/pmap_prot.c: Likewise.
39222 * sunrpc/pmap_prot2.c: Likewise.
39223 * sunrpc/pmap_rmt.c: Likewise.
39224 * sunrpc/rpc/auth.h: Likewise.
39225 * sunrpc/rpc/auth_unix.h: Likewise.
39226 * sunrpc/rpc/clnt.h: Likewise.
39227 * sunrpc/rpc/des_crypt.h: Likewise.
39228 * sunrpc/rpc/key_prot.h: Likewise.
39229 * sunrpc/rpc/netdb.h: Likewise.
39230 * sunrpc/rpc/pmap_clnt.h: Likewise.
39231 * sunrpc/rpc/pmap_prot.h: Likewise.
39232 * sunrpc/rpc/pmap_rmt.h: Likewise.
39233 * sunrpc/rpc/rpc.h: Likewise.
39234 * sunrpc/rpc/rpc_des.h: Likewise.
39235 * sunrpc/rpc/rpc_msg.h: Likewise.
39236 * sunrpc/rpc/svc.h: Likewise.
39237 * sunrpc/rpc/svc_auth.h: Likewise.
39238 * sunrpc/rpc/types.h: Likewise.
39239 * sunrpc/rpc/xdr.h: Likewise.
39240 * sunrpc/rpc_clntout.c: Likewise.
39241 * sunrpc/rpc_cmsg.c: Likewise.
39242 * sunrpc/rpc_common.c: Likewise.
39243 * sunrpc/rpc_cout.c: Likewise.
39244 * sunrpc/rpc_dtable.c: Likewise.
39245 * sunrpc/rpc_hout.c: Likewise.
39246 * sunrpc/rpc_main.c: Likewise.
39247 * sunrpc/rpc_parse.c: Likewise.
39248 * sunrpc/rpc_parse.h: Likewise.
39249 * sunrpc/rpc_prot.c: Likewise.
39250 * sunrpc/rpc_sample.c: Likewise.
39251 * sunrpc/rpc_scan.c: Likewise.
39252 * sunrpc/rpc_scan.h: Likewise.
39253 * sunrpc/rpc_svcout.c: Likewise.
39254 * sunrpc/rpc_tblout.c: Likewise.
39255 * sunrpc/rpc_util.c: Likewise.
39256 * sunrpc/rpc_util.h: Likewise.
39257 * sunrpc/rpcinfo.c: Likewise.
39258 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39259 * sunrpc/rpcsvc/key_prot.x: Likewise.
39260 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39261 * sunrpc/rpcsvc/mount.x: Likewise.
39262 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39263 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39264 * sunrpc/rpcsvc/rex.x: Likewise.
39265 * sunrpc/rpcsvc/rstat.x: Likewise.
39266 * sunrpc/rpcsvc/rusers.x: Likewise.
39267 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39268 * sunrpc/rpcsvc/spray.x: Likewise.
39269 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39270 * sunrpc/rtime.c: Likewise.
39271 * sunrpc/svc.c: Likewise.
39272 * sunrpc/svc_auth.c: Likewise.
39273 * sunrpc/svc_authux.c: Likewise.
39274 * sunrpc/svc_raw.c: Likewise.
39275 * sunrpc/svc_run.c: Likewise.
39276 * sunrpc/svc_simple.c: Likewise.
39277 * sunrpc/svc_tcp.c: Likewise.
39278 * sunrpc/svc_udp.c: Likewise.
39279 * sunrpc/svc_unix.c: Likewise.
39280 * sunrpc/svcauth_des.c: Likewise.
39281 * sunrpc/xcrypt.c: Likewise.
39282 * sunrpc/xdr.c: Likewise.
39283 * sunrpc/xdr_array.c: Likewise.
39284 * sunrpc/xdr_float.c: Likewise.
39285 * sunrpc/xdr_mem.c: Likewise.
39286 * sunrpc/xdr_rec.c: Likewise.
39287 * sunrpc/xdr_ref.c: Likewise.
39288 * sunrpc/xdr_sizeof.c: Likewise.
39289 * sunrpc/xdr_stdio.c: Likewise.
39290
9da4bb31
UD
39291 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39292 handling.
39293
bdaa77bc
AS
392942010-08-19 Andreas Schwab <schwab@redhat.com>
39295
39296 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39297
fe2f79db
LM
392982010-08-19 Luis Machado <luisgpm@br.ibm.com>
39299
39300 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39302 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39303 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39304 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39305 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39306 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39307 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39308 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39309 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39310 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39311 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39312 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39313 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39314
b9b42ee0
AB
393152010-07-26 Anton Blanchard <anton@samba.org>
39316
39317 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39318 * malloc/arena.c (heap_trim): Likewise.
39319
1c06ba31
UD
393202010-08-16 Ulrich Drepper <drepper@redhat.com>
39321
39322 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39323 here. Not...
39324 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39325 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39326
f8392f40
L
393272010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39328
39329 * sysdeps/i386/elf/Makefile: New file.
39330
3162f12e
AS
393312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39332
39333 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39334 from fanotify_init.
39335 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39336 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39337
28c90b2c
UD
393382010-08-15 Ulrich Drepper <drepper@redhat.com>
39339
39340 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39341 of strncasecmp_l.
1feccb6c 39342 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39343
ca6bb004
UD
393442010-08-14 Ulrich Drepper <drepper@redhat.com>
39345
e9f82e0d
UD
39346 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39347 strncase_l-nonascii.
39348 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39349 Add strncase_l-ssse3.
39350 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39351 * sysdeps/x86_64/strcmp.S: Likewise.
39352 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
39353 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
39354 * sysdeps/x86_64/strncase.S: New file.
39355 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
39356 * sysdeps/x86_64/strncase_l.S: New file.
39357 * string/Makefile (strop-tests): Add strncasecmp.
39358 * string/test-strncasecmp.c: New file.
39359
39360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
39361 warning.
39362
ca6bb004
UD
39363 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
39364 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
39365
052fa7b3
AS
393662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39367
39368 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
39369
962dba78
UD
393702010-08-12 Ulrich Drepper <drepper@redhat.com>
39371
39372 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
39373 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
39374 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
39375
bebff237
AM
393762010-05-01 Alan Modra <amodra@gmail.com>
39377
39378 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
39379 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
39380 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
39381 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
39382 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
39383 tidying. Don't tail-call __sigjmp_save for static lib.
39384 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
39385 save location.
39386 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
39387 (CALL_MCOUNT): Add eh info, and nop after bl.
39388 (TAIL_CALL_SYSCALL_ERROR): New macro.
39389 (PSEUDO_RET): Use it.
39390 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39391 Correct save location of integer regs and cr.
39392 (_dl_profile_resolve): Correct cr save location. Delete nops
39393 after bl when SHARED. Reduce cfi size a little by better
39394 placement of cfi directives.
39395 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
39396 make a stack frame. Instead use parm save area as a temp.
39397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
39398 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
39399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39400 Don't make a stack frame for parent, use parm save area.
39401 Increase child stack frame to 112 bytes. Don't save unused reg,
39402 and adjust reg usage. Set up cfi on error recovery and
39403 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
39404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39405 (__makecontext): Add dummy nop after jump to exit.
39406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
39407 Use correct parm save area and cr save, reduce stack frame.
39408 Correct cfi for possible PSEUDO_RET frame setup.
39409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
39410 Branch to local label emitted by PSEUDO_RET rather than
39411 __syscall_error.
39412
02637374
AS
394132010-08-12 Andreas Schwab <schwab@redhat.com>
39414
39415 [BZ #11904]
39416 * locale/programs/locale.c (print_assignment): New function.
39417 (show_locale_vars): Use it.
39418
c3e2f19b
UD
394192010-08-11 Ulrich Drepper <drepper@redhat.com>
39420
3cdaa6ad
UD
39421 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
39422 field.
39423 (struct statfs64): Likewise.
39424 (_STATFS_F_FLAGS): Define.
39425 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
39426 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39427 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
39428 (ST_VALID): Define locally.
39429 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
39430 __statvfs_getflags, use the provided value.
39431 * sysdeps/unix/sysv/linux/kernel-features.h: Define
39432 __ASSUME_STATFS_F_FLAGS.
39433
754f7da3
UD
39434 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
39435
10b3bedc
UD
39436 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
39437 Add sys/fanotify.h.
39438 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
39439 fanotify_mask for GLIBC_2.13.
39440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
39441 fanotify_init and fanotify_mark.
39442 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39443 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
39444
c08fb0d7
UD
39445 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
39446 Add prlimit.
39447 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
39448 prlimit64 for GLIBC_2.13.
39449 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
39450 prlimit64.
39451 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
39452 syscall.
39453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
39454 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39455 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
39456 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
39457 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
39458 add prlimit alias.
39459 * sysdeps/unix/sysv/linux/prlimit.c: New file.
39460
15bac72b
UD
39461 [BZ #11903]
39462 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
39463 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
39464
c3e2f19b
UD
39465 * nss/Makefile: Add rules to build and run tst-nss-test1.
39466 * shlib-versions: Add entry for libnss_test1.
39467 * nss/nss_test1.c: New file.
39468 * nss/tst-nss-test1.c: New file.
39469
39470 * nss/nsswitch.c (__nss_database_custom): Define new variable.
39471 (__nss_configure_lookup): Set appropriate entry in
39472 __nss_configure_lookup to true.
39473 * nss/nsswitch.h: Define enum with indeces of databases in
39474 databases and __nss_database_custom arrays. Declare
39475 __nss_database_custom.
39476 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
39477 to avoid using nscd when custom rules are installed.
39478 * nss/getXXbyYY_r.c: Likewise.
39479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39480
39481 * nss/nss_files/files-parse.c: Whitespace fixes.
39482
f15ce4d8
UD
394832010-08-09 Ulrich Drepper <drepper@redhat.com>
39484
39485 [BZ #11883]
39486 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
39487 * posix/fnmatch_loop.c: Likewise.
39488
d22e4cc9
AK
394892010-07-17 Andi Kleen <ak@linux.intel.com>
39490
39491 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
39492 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
39493 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
39494 * Versions.def [GLIBC_2.13]: Add.
39495
805bc17d
UD
394962010-08-06 Ulrich Drepper <drepper@redhat.com>
39497
39498 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39499 Also fail if tpwd after pwuid call is NULL.
39500
5a42321d
ST
395012010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
39502
39503 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
39504 when converting to ms.
39505
fd3ebeda
ST
395062010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39507
39508 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
39509 EOPNOTSUPP errors with ENOTTY.
39510 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
39511 EOPNOTSUPP errors with ENOTTY.
39512
73507d3a
UD
395132010-07-31 Ulrich Drepper <drepper@redhat.com>
39514
39515 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39516 Add strcasecmp_l-ssse3.
39517 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
39518 strcasecmp.
39519 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
39520 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
39521 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
39522
fe36dd02
UD
395232010-07-30 Ulrich Drepper <drepper@redhat.com>
39524
66f6765a
UD
39525 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
39526
42e08a54
UD
39527 * string/Makefile (strop-tests): Add strcasecmp.
39528 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39529 strcasecmp_l-nonascii.
39530 (gen-as-const-headers): Add locale-defines.sym.
39531 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
39532 * sysdeps/x86_64/strcasecmp.S: New file.
39533 * sysdeps/x86_64/strcasecmp_l.S: New file.
39534 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
39535 * sysdeps/x86_64/locale-defines.sym: New file.
39536 * string/test-strcasecmp.c: New file.
39537
fe36dd02
UD
39538 * string/test-strcasestr.c: Test both ends of the range of characters.
39539 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
39540
48cbc0d6
RM
395412010-07-29 Roland McGrath <roland@redhat.com>
39542
76e6d6bc 39543 [BZ #11856]
48cbc0d6
RM
39544 * manual/locale.texi (Yes-or-No Questions): Fix example code.
39545
880113d9
UD
395462010-07-27 Ulrich Drepper <drepper@redhat.com>
39547
39548 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
39549 for ld.so.
39550
deb9cabb
AS
395512010-07-27 Andreas Schwab <schwab@redhat.com>
39552
39553 * manual/memory.texi (Malloc Tunable Parameters): Document
39554 M_PERTURB.
39555
1c7570ff
RM
395562010-07-26 Roland McGrath <roland@redhat.com>
39557
39558 [BZ #11840]
39559 * configure.in (-fgnu89-inline check): Set and substitute
39560 gnu89_inline, not libc_cv_gnu89_inline.
39561 * configure: Regenerated.
39562 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
39563
24fb0f88
UD
395642010-07-26 Ulrich Drepper <drepper@redhat.com>
39565
39566 * string/test-strnlen.c: New file.
39567 * string/Makefile (strop-tests): Add strnlen.
39568 * string/tester.c (test_strnlen): Add a few more test cases.
39569 * string/tst-strlen.c: Better error reporting.
39570
39571 * sysdeps/x86_64/strnlen.S: New file.
39572
8e96b93a
UD
395732010-07-24 Ulrich Drepper <drepper@redhat.com>
39574
39575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
39576 lower-latency instructions.
39577
dbc676d4
UD
395782010-07-23 Ulrich Drepper <drepper@redhat.com>
39579
39580 * string/test-strcasestr.c: New file.
39581 * string/test-strstr.c: New file.
39582 * string/Makefile (strop-tests): Add strstr and strcasestr.
39583 * string/str-two-way.h: Don't undefine MAX.
39584 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
39585
f6a31e0e
AS
395862010-07-21 Andreas Schwab <schwab@redhat.com>
39587
39588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39589 strcasestr-nonascii.
39590 (CFLAGS-strcasestr-nonascii.c): Define.
39591 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
39592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
39593 Remove unused attribute.
39594
5dbc3b6c
RM
395952010-07-20 Roland McGrath <roland@redhat.com>
39596
39597 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
39598 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
39599 ld.so.cache was broken. With it, there is no way to disable dsocaps
39600 like LD_HWCAP_MASK can disable hwcaps.
39601
23d101d8
EPM
396022010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39603
39604 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
39605
cc9f2e47
UD
396062010-07-16 Ulrich Drepper <drepper@redhat.com>
39607
39608 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
39609 call in strcasestr.
39610 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
39611 __strcasestr_sse42_nonascii.
39612 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
39613 strcasestr-nonascii.c.
39614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
39615
77c1b069
LM
396162010-06-15 Luis Machado <luisgpm@br.ibm.com>
39617
39618 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
39619 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
39620 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
39621 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
39622
440566c3
UD
396232010-07-09 Ulrich Drepper <drepper@redhat.com>
39624
39625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
39626 fcntl.
39627
5be9d05d
AS
396282010-07-06 Andreas Schwab <schwab@redhat.com>
39629
c30b7ee2 39630 [BZ #11577]
5be9d05d
AS
39631 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
39632 dl_signal_cerror.
39633
8a492a67
UD
396342010-07-06 Ulrich Drepper <drepper@redhat.com>
39635
39636 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
39637 _PC_PIPE_BUF using F_GETPIPE_SZ.
39638
713df3d5
RM
396392010-07-05 Roland McGrath <roland@redhat.com>
39640
39641 * manual/arith.texi (Rounding Functions): Fix rint description
39642 implicit in round description.
39643
702e8f14
UD
396442010-07-02 Ulrich Drepper <drepper@redhat.com>
39645
39646 * elf/Makefile: Fix linking for a few tests to make recent linker
39647 happy.
39648
52ed8be9
AS
396492010-06-30 Andreas Schwab <schwab@redhat.com>
39650
39651 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39652 $(common-objpfx)libc_nonshared.a.
39653
f47c9a11
LM
396542010-06-21 Luis Machado <luisgpm@br.ibm.com>
39655
39656 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
39657 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
39658 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39659 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39660 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
39661 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
39662 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39663 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
39665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
39666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
39667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
39668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39678 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39679 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39680 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39681 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39682 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39683 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39684 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39685 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39686 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39687 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39688 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39689 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39704
6fb8cbcb
L
397052010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39706
39707 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39708 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39709 * string/memmove.c (memmove): Renamed to ...
39710 (MEMMOVE): ...this. Default to memmove.
39711 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39712 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39713 (END_CHK): Define.
39714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39715 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39716 mempcpy-ssse3-back memmove-ssse3-back.
39717 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39718 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39720 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39721 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39722 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39723 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39724 * sysdeps/x86_64/multiarch/memmove.c: New file.
39725 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39726 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39727 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39728 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39729 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39731 Define.
39732 (index_Fast_Copy_Backward): Define.
39733 (HAS_ARCH_FEATURE): Define.
39734 (HAS_FAST_REP_STRING): Define.
39735 (HAS_FAST_COPY_BACKWARD): Define.
39736
4e733bac 397372010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
39738
39739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39740 Restore proper fallback handling.
39741
63c4ed22
UD
397422010-06-19 Ulrich Drepper <drepper@redhat.com>
39743
ac2b484c
UD
39744 [BZ #11701]
39745 * posix/group_member.c (__group_member): Correct checking loop.
39746
63c4ed22
UD
39747 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39748 OOM in getpwuid_r correctly. Return error number when the caller
39749 should return, otherwise -1.
39750 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39751 call returning > 0 value.
39752 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39753
765ade4b
AS
397542010-06-07 Andreas Schwab <schwab@redhat.com>
39755
39756 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39757 libc_nonshared.a from targets in modules-names.
39758
80da2e09
KS
397592010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39760
39761 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39762 requires it.
39763
158db122
LM
397642010-06-10 Luis Machado <luisgpm@br.ibm.com>
39765
39766 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39767 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39768 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39769 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39770
caa78cf8
AS
397712010-06-02 Andreas Schwab <schwab@redhat.com>
39772
39773 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39774
b2ef2c01
UD
397752010-06-14 Ulrich Drepper <drepper@redhat.com>
39776
39777 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39778 and F_GETPIPE_SZ.
39779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39780 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39782 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39784 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39785
fbd643b6
RM
397862010-06-14 Roland McGrath <roland@redhat.com>
39787
39788 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39789
f32f2869
JJ
397902010-06-07 Jakub Jelinek <jakub@redhat.com>
39791
39792 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39793 __REDIRECT followed by __THROW.
39794 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39795 * posix/getopt.h (getopt): Likewise.
39796
2a50c078
EPM
397972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39798
39799 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39800 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39801 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39802 in AT_FLAGS.
39803 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39804 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39805
eb5ad2eb
LM
398062010-05-28 Luis Machado <luisgpm@br.ibm.com>
39807
39808 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39809
3c88fe1e
L
398102010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39811
39812 [BZ #11640]
39813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39814 Properly check family and model.
39815
d2f73151
TY
398162010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39817
39818 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39819
ebd2e13d
LM
398202010-05-24 Luis Machado <luisgpm@br.ibm.com>
39821
39822 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39823
b32b8b45
UD
398242010-05-21 Ulrich Drepper <drepper@redhat.com>
39825
39826 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39827 symbol reference.
39828
9acbe24d
AS
398292010-05-19 Andreas Schwab <schwab@redhat.com>
39830
39831 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39832 symbol reference.
39833
f0ccf6ea
AS
398342010-05-21 Andreas Schwab <schwab@redhat.com>
39835
3d04ff3a
AS
39836 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39837 and internal_recvmmsg.
39838 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39839 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39840 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39841 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39842
f0ccf6ea
AS
39843 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39844 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39845 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39846
5b08ac57
AS
398472010-05-20 Andreas Schwab <schwab@redhat.com>
39848
39849 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39850
4828935d
LM
398512010-05-17 Luis Machado <luisgpm@br.ibm.com>
39852
39853 POWER7 optimizations.
39854 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39855 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39856
373d545e
UD
398572010-05-19 Ulrich Drepper <drepper@redhat.com>
39858
39859 * version.h: Update for 2.13 development version.
39860
21a2b1ae
AS
398612010-05-12 Andrew Stubbs <ams@codesourcery.com>
39862
39863 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39864 exceptions. Return 0.
39865
3f7dcb2b
RM
398662010-05-07 Roland McGrath <roland@redhat.com>
39867
39868 * elf/ldconfig.c (main): Add a const.
39869
5f24d53a 398702010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 39871
a160f8d8
UD
39872 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39873 (args_options): Add no-idn option.
39874 (ahosts_keys_int): Add idn_flags to ai_flags.
39875 (parse_option): Handle 'i' option to clear idn_flags.
39876
5f24d53a
UD
39877 * malloc/malloc.c (_int_free): Possible race in the most recently
39878 added check. Only act on the data if no current modification
39879 happened.
265bb1ce
UD
39880
39881See ChangeLog.17 for earlier changes.