]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move dummy glob64.c alongside glob.c that defines glob64.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c7405830
RM
12013-05-06 Roland McGrath <roland@hack.frob.com>
2
9723ffc5
RM
3 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4 * sysdeps/wordsize-64/glob64.c: ... here.
5
962e6658
RM
6 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8 New macros.
9
ee586a6d
RM
10 * debug/getlogin_r_chk.c: Moved to ...
11 * login/getlogin_r_chk.c: ... here.
12 * debug/Makefile (routines): Move getlogin_r_chk to ...
13 * login/Makefile (routines): ... here.
14 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15 * login/Versions (libc: GLIBC_2.4): ... here.
16
355f9165
RM
17 * io/poll.c (__poll): Renamed from poll.
18 Add libc_hidden_def.
19 (poll): Define as weak alias.
20
bd9ffde6
RM
21 * debug/ptsname_r_chk.c: Moved to ...
22 * login/ptsname_r_chk.c: ... here.
23 * debug/Makefile (routines): Move ptsname_r_chk to ...
24 * login/Makefile (routines): ... here.
25 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26 * login/Versions (libc: GLIBC_2.4): ... here.
27
8fb16a04
RM
28 * posix/getlogin.c: Moved to ...
29 * login/getlogin.c: ... here.
30 * posix/getlogin_r.c: Moved to ...
31 * login/getlogin_r.c: ... here.
32 * posix/getlogin_r.c: Moved to ...
33 * login/getlogin_r.c: ... here.
34 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35 * login/Makefile (routines): ... here.
36 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37 * login/Versions (libc: GLIBC_2.0): ... here.
38
b99b892f
RM
39 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
40 (setrlimit): Define as weak alias.
41
c7405830
RM
42 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43 Call __ names for open, ftruncate, and close.
44 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
45 (truncate): Define as weak alias.
46
5bf96de5
JM
472013-05-06 Joseph Myers <joseph@codesourcery.com>
48
9ea3513c
JM
49 * math/gen-libm-test.pl (parse_args): Initialize x before each
50 test of frexp, modf and remquo.
51
5bf96de5
JM
52 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53 test signgam value.
54
16e616a7
AZ
552013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 [BZ #15418]
58 [BZ #15419]
59 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60 internal tests.
61 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62
d5e82754
RM
632013-05-06 Roland McGrath <roland@hack.frob.com>
64
65 * elf/dl-writev.h: New file.
66 * elf/dl-misc.c: Include it.
67 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
69
a7548d41
JM
702013-05-04 Joseph Myers <joseph@codesourcery.com>
71
b7dab1e4
JM
72 * math/libm-test.inc (noXFails): Remove variable.
73 (noXPasses): Likewise.
74 (BUILD_COMPLEX_INT): Remove macro.
75 (print_screen): Remove xfail argument.
76 (print_screen_max_error): Likewise.
77 (update_stats): Likewise.
78 (print_max_error): Likewise. Update calls to other affected
79 functions.
80 (print_complex_max_error): Likewise.
81 (test_single_exception): Update calls to print_screen.
82 (test_single_errno): Likewise.
83 (check_float_internal): Remove xfail argument. Update calls to
84 other affected functions.
85 (check_float): Likewise.
86 (check_complex): Likewise.
87 (check_int): Likewise.
88 (check_long): Likewise.
89 (check_bool): Likewise.
90 (check_longlong): Likewise.
91 (main): Don't print noXFails and noXPasses.
92 * math/gen-libm-test.pl (top level): Don't mention expected
93 failure handling in comment.
94 (new_test): Don't handle expected failures.
95 (parse_args): Don't mention expected failure handling in comment.
96 (generate_testfile): Don't handle expected failures.
97 (parse_ulps): Likewise.
98 (print_ulps_file): Likewise.
99 (get_failure): Remove function.
100 (output_test): Don't handle expected failures.
101 * make/README.libm-test: Don't mention expected failure handling.
102
a7548d41
JM
103 * math/libm-test.inc (plus_zero): Make const. Add initializer.
104 (minus_zero): Likewise.
105 (plus_infty): Likewise.
106 (minus_infty): Likewise.
107 (qnan_value): Likewise.
108 (max_value): Likewise.
109 (min_value): Likewise.
110 (min_subnorm_value): Likewise.
111 (initialize): Do not initialize those variables dynamically.
112
60bfd54c
RM
1132013-05-03 Roland McGrath <roland@hack.frob.com>
114
cc0e6ed8
RM
115 * io/open.c (__open_2): Moved to ...
116 * io/open_2.c: ... this new file.
117 * io/open64.c (__open64_2): Moved to ...
118 * io/open64_2.c: ... this new file.
119 * io/openat.c (__openat_2): Moved to ...
120 * io/openat_2.c: ... this new file.
121 * io/openat64.c (__openat64_2): Moved to ...
122 * io/openat64_2.c: ... this new file.
123 * io/Makefile (routines): Add them.
124 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
125 * sysdeps/unix/sysv/linux/open_2.c: File removed.
126 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
127 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
128 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
129 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
130 (__openat64): Add hidden_ver.
131 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
132 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
133
60bfd54c
RM
134 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
135 Separately conditionalize setting of GLRO(dl_sysinfo) so
136 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
137 as well, but the actual setting is only under [NEED_DL_SYSINFO].
138
83e7640f
AZ
1392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
140
141 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
142 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
143 definition.
144 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
145 * sysdeps/unix/sysv/linux/powerpc/init-first.c
146 (_libc_vdso_platform_setup): Add __vdso_time initialization.
147 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
148 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
149
d5dc2af3
JM
1502013-05-03 Joseph Myers <joseph@codesourcery.com>
151
c31a5b1e
JM
152 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
153 test signgam value.
154
d5dc2af3
JM
155 * math/libm-test.inc (hypot_test): Do not use
156 IGNORE_ZERO_INF_SIGN.
157
164fd39d
AJ
1582013-05-03 Andreas Jaeger <aj@suse.de>
159
160 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
161 Linux 3.9.
162 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
163 (PF_MAX): Adjust for VSOCK change.
164
8237f48c
AZ
1652013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166
167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
168
9df02941
CD
1692013-05-02 Carlos O'Donell <carlos@redhat.com>
170
171 [BZ #15264]
172 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
173 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
174 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
175
d422395e
DM
1762013-05-02 David S. Miller <davem@davemloft.net>
177
178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
179
a07c5731
OB
1802013-05-01 Ondřej Bílka <neleai@seznam.cz>
181
182 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
183
1324e37f
RM
1842013-05-01 Roland McGrath <roland@hack.frob.com>
185
186 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
187
0695940b
RS
1882013-05-01 Richard Smith <richard@metafoo.co.uk>
189
bb5f27ad 190 [BZ #14952]
0695940b
RS
191 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
192 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
193 Use __attribute__ ((__gnu_inline__)).
194 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
195 Don't use __attribute__ ((__gnu_inline__)).
196
10de07f5
JM
1972013-05-01 Joseph Myers <joseph@codesourcery.com>
198
199 [BZ #15423]
200 * math/s_catan.c (__catan): Handle small real or imaginary part of
201 input specially to avoid spurious underflow.
202 * math/s_catanf.c (__catanf): Likewise.
203 * math/s_catanh.c (__catanh): Likewise.
204 * math/s_catanhf.c (__catanhf): Likewise.
205 * math/s_catanhl.c (__catanhl): Likewise.
206 * math/s_catanl.c (__catanl): Likewise.
207 * math/libm-test.inc (catan_test): Add more tests.
208 (catanh_test): Likewise.
209 * sysdeps/i386/fpu/libm-test-ulps: Update.
210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
211
cb4d5414
AZ
2122013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
213
214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
215
caf84319
JM
2162013-04-30 Joseph Myers <joseph@codesourcery.com>
217
218 [BZ #15416]
219 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
220 accurately for denominator in atan2.
221 * math/s_catanf.c (__catanf): Likewise.
222 * math/s_catanh.c (__catanh): Likewise.
223 * math/s_catanhf.c (__catanhf): Likewise.
224 * math/s_catanhl.c (__catanhl): Likewise.
225 * math/s_catanl.c (__catanl): Likewise.
226 * math/libm-test.inc (catan_test): Add more tests.
227 (catanh_test): Likewise.
228 * sysdeps/i386/fpu/libm-test-ulps: Update.
229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
230
d569c6ee
SP
2312013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
232
6dbe713d
SP
233 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
234
f0ee064b
SP
235 * benchtests/Makefile (bench): Remove slow benchmarks.
236 * benchtests/atan-inputs: Add slow benchmark inputs.
237 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
238 (BENCH_FUNC): Accept variant offset.
239 (VARIANT): Define.
240 * benchtests/bench-skeleton.c (main): Run benchmark for each
241 variant.
242 * benchtests/cos-inputs: Add slow benchmark inputs.
243 * benchtests/exp-inputs: Likewise.
244 * benchtests/pow-inputs: Likewise.
245 * benchtests/sin-inputs: Likewise.
246 * benchtests/slowatan-inputs: Remove.
247 * benchtests/slowatan.c: Remove.
248 * benchtests/slowcos-inputs: Remove.
249 * benchtests/slowcos.c: Remove.
250 * benchtests/slowexp-inputs: Remove.
251 * benchtests/slowexp.c: Remove.
252 * benchtests/slowpow-inputs: Remove.
253 * benchtests/slowpow.c: Remove.
254 * benchtests/slowsin-inputs: Remove.
255 * benchtests/slowsin.c: Remove.
256 * benchtests/slowtan-inputs: Remove.
257 * benchtests/slowtan.c: Remove.
258 * benchtests/tan-inputs: Add slow benchmark inputs.
259 * scripts/bench.pl: Parse comments and directives.
260
d569c6ee
SP
261 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
262 in CPPFLAGS.
263 ($(objpfx)bench-%.c): Remove *-ITER.
264 * benchtests/bench-modf.c: Remove definition of ITER.
265 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
266 (main): Loop for DURATION seconds instead of fixed number of
267 iterations.
268 * scripts/bench.pl: Don't expect iterations in parameters.
269
a6a242fe
RM
2702013-04-29 Roland McGrath <roland@hack.frob.com>
271
272 * io/fchdir.c (__fchdir): Renamed from fchdir.
273 (fchdir): Define as weak alias.
274
f2da7793
JM
2752013-04-29 Joseph Myers <joseph@codesourcery.com>
276
277 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
278 (ERRNO_EDOM): Likewise.
279 (ERRNO_ERANGE): Likewise.
280 (noErrnoTests): New variable.
281 (init_max_error): Set errno to 0.
282 (test_single_errno): New function.
283 (test_errno): Likewise.
284 (check_float_internal): Call test_errno. Set errno to 0.
285 (check_complex): Refer to errno tests in comment.
286 (check_int): Call test_errno. Set errno to 0.
287 (check_long): Likewise.
288 (check_bool): Likewise.
289 (check_longlong): Likewise.
290 (cos_test): Use ERRNO_* flags for errno tests instead of
291 check_int.
292 (expm1_test): Likewise.
293 (fmod_test): Likewise.
294 (ilogb_test): Likewise.
295 (lgamma_test): Likewise.
296 (pow_test): Likewise.
297 (remainder_test): Likewise.
298 (sin_test): Likewise.
299 (tan_test): Likewise.
300 (yn_test): Likewise.
301 (initialize): Set errno to 0.
302 (main): Print number of errno tests.
303 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
304
b1a36ceb
AJ
3052013-04-29 Andreas Jaeger <aj@suse.de>
306
c3ed8088
AJ
307 [BZ #15084]
308 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
309 and RES_USEVC.
310
f1a24198
AJ
311 [BZ #15085]
312 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
313 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
314 unimplemented.
315
9ce3b2cb
AJ
316 [BZ #15380]
317 * stdlib/random.c (__initstate): Return NULL if
318 __initstate fails.
319
f1a24198 320 [BZ #15086]
b1a36ceb
AJ
321 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
322 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
323 RES_SNGLKUPREOP.
324
7e7b6f36
AZ
3252013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
328
4d14f449
JM
3292013-04-29 Joseph Myers <joseph@codesourcery.com>
330
331 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
332 of individual tests.
333 (casin_test): Likewise.
334 (casinh_test): Likewise.
335
5b4217d7
JM
3362013-04-27 Joseph Myers <joseph@codesourcery.com>
337
338 [BZ #15409]
339 * math/s_catan.c (__catan): Handle arguments with large real or
340 imaginary part separately without squaring.
341 * math/s_catanf.c (__catanf): Likewise.
342 * math/s_catanh.c (__catanh): Likewise.
343 * math/s_catanhf.c (__catanhf): Likewise.
344 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
345 and redefine.
346 (__catanhl): Handle arguments with large real or imaginary part
347 separately without squaring.
348 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
349 and redefine.
350 (__catanl): Handle arguments with large real or imaginary part
351 separately without squaring.
352 * math/libm-test.inc (catan_test): Add more tests.
353 (catanh_test): Likewise.
354 * sysdeps/i386/fpu/libm-test-ulps: Update.
355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
356
4220c3ef
AJ
3572013-04-27 Andreas Jaeger <aj@suse.de>
358
359 [BZ #15007]
360 * stdlib/stdlib.h: Update guards for qecvt.
361 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
362 <stdlib.h>.
363
4721b2d1
AM
3642013-04-27 Allan McRae <allan@archlinux.org>
365
366 * sysdeps/i386/fpu/libm-test-ulps: Update.
367
f0302940
JM
3682013-04-26 Joseph Myers <joseph@codesourcery.com>
369
9457fd95
JM
370 [BZ #15406]
371 * math/s_catan.c: Include <float.h>.
372 (__catan): Ensure underflow exception occurs for underflowed
373 result.
374 * math/s_catanf.c: Include <float.h>.
375 (__catanf): Ensure underflow exception occurs for underflowed
376 result.
377 * math/s_catanh.c: Include <float.h>.
378 (__catanh): Ensure underflow exception occurs for underflowed
379 result.
380 * math/s_catanhf.c: Include <float.h>.
381 (__catanhf): Ensure underflow exception occurs for underflowed
382 result.
383 * math/s_catanhl.c: Include <float.h>.
384 (__catanhl): Ensure underflow exception occurs for underflowed
385 result.
386 * math/s_catanl.c: Include <float.h>.
387 (__catanl): Ensure underflow exception occurs for underflowed
388 result.
389 * math/libm-test.inc (catan_test): Add more tests.
390 (catanh_test): Likewise.
391
f0302940
JM
392 [BZ #15405]
393 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
394 underflowed result.
395 * math/s_ccoshf.c (__ccoshf): Likewise.
396 * math/s_ccoshl.c (__ccoshl): Likewise.
397 * math/s_csin.c (__csin): Likewise.
398 * math/s_csinf.c (__csinf): Likewise.
399 * math/s_csinh.c (__csinh): Likewise.
400 * math/s_csinhf.c (__csinhf): Likewise.
401 * math/s_csinhl.c (__csinhl): Likewise.
402 * math/s_csinl.c (__csinl): Likewise.
403 * math/libm-test.inc (ccos_test): Add more tests.
404 (ccosh_test): Likewise.
405 (csin_test): Likewise.
406 (csinh_test): Likewise.
407
aa630f59
AZ
4082013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409
410 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
411 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
412 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
413 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
414 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
415 powerpc/power5+/fpu folders.
416 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
417
418
1b835983
MT
4192013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
420
421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
422
73709b26
JM
4232013-04-25 Joseph Myers <joseph@codesourcery.com>
424
425 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
426 additions to variable.
427 [$(config-machine) = x86_64] (modules-names): Likewise.
428 ($(objpfx)tst-audit3): Remove dependency.
429 ($(objpfx)tst-audit3.out): Likewise.
430 ($(objpfx)tst-audit4): Likewise.
431 ($(objpfx)tst-audit4.out): Likewise.
432 ($(objpfx)tst-audit5): Likewise.
433 ($(objpfx)tst-audit5.out): Likewise.
434 ($(objpfx)tst-audit6): Likewise.
435 ($(objpfx)tst-audit6.out): Likewise.
436 ($(objpfx)tst-audit7): Likewise.
437 ($(objpfx)tst-audit7.out): Likewise.
438 (tst-audit3-ENV): Remove variable.
439 (tst-audit4-ENV): Likewise.
440 (tst-audit5-ENV): Likewise.
441 (tst-audit6-ENV): Likewise.
442 (tst-audit7-ENV): Likewise.
443 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
444 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
445 addition to variable.
446 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
447 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
448 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
449 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
450 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
451 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
452 tst-audit3, tst-audit4 and tst-audit5.
453 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
454 tst-audit6 and tst-audit7.
455 [$(subdir) = elf] (modules-names): Add audit modules for those
456 tests.
457 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
458 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
459 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
460 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
461 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
462 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
463 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
464 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
465 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
466 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
467 [$(subdir) = elf] (tst-audit3-ENV): New variable.
468 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
469 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
470 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
471 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
472 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
473 Likewise.
474 [$(subdir) = elf && $(config-cflags-avx) = yes]
475 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
476 [$(subdir) = elf && $(config-cflags-avx) = yes]
477 (CFLAGS-tst-auditmod4a.c): Likewise.
478 [$(subdir) = elf && $(config-cflags-avx) = yes]
479 (CFLAGS-tst-auditmod4b.c): Likewise.
480 [$(subdir) = elf && $(config-cflags-avx) = yes]
481 (CFLAGS-tst-auditmod6b.c): Likewise.
482 [$(subdir) = elf && $(config-cflags-avx) = yes]
483 (CFLAGS-tst-auditmod6c.c): Likewise.
484 [$(subdir) = elf && $(config-cflags-avx) = yes]
485 (CFLAGS-tst-auditmod7b.c): Likewise.
486 * elf/tst-audit3.c: Move to ...
487 * sysdeps/x86_64/tst-audit3.c: ... here.
488 * elf/tst-audit4.c: Move to ...
489 * sysdeps/x86_64/tst-audit4.c: ... here.
490 * elf/tst-audit5.c: Move to ...
491 * sysdeps/x86_64/tst-audit5.c: ... here.
492 * elf/tst-audit6.c: Move to ...
493 * sysdeps/x86_64/tst-audit6.c: ... here.
494 * elf/tst-audit7.c: Move to ...
495 * sysdeps/x86_64/tst-audit7.c: ... here.
496 * elf/tst-auditmod3a.c: Move to ...
497 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
498 * elf/tst-auditmod3b.c: Move to ...
499 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
500 * elf/tst-auditmod4a.c: Move to ...
501 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
502 * elf/tst-auditmod4b.c: Move to ...
503 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
504 * elf/tst-auditmod5a.c: Move to ...
505 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
506 * elf/tst-auditmod5b.c: Move to ...
507 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
508 * elf/tst-auditmod6a.c: Move to ...
509 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
510 * elf/tst-auditmod6b.c: Move to ...
511 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
512 * elf/tst-auditmod6c.c: Move to ...
513 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
514 * elf/tst-auditmod7a.c: Move to ...
515 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
516 * elf/tst-auditmod7b.c: Move to ...
517 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
518
1ef74943
PP
5192013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
520
521 [BZ #15366]
522 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
523 define unconditionally.
524 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
525 define unconditionally.
526 (INT8_C, INT16_C, etc.): Likewise.
527
93fd48c5
MR
5282013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
529
ae9552cf
MR
530 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
531 __ehdr_start with hidden visibility.
532
93fd48c5
MR
533 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
534
418601aa
CD
5352013-04-24 Carlos O'Donell <carlos@redhat.com>
536
537 * math/libm-test.inc (cos_test): Use accurate hex constants.
538 (sincost_test): Likewise.
539
2f38fbfe
JM
5402013-04-24 Joseph Myers <joseph@codesourcery.com>
541
5e221800
JM
542 * math/libm-test.inc (catan_test): Add more tests.
543 (catanh_test): Likewise.
544
77f143fd
JM
545 * math/s_catanf.c (__catanf): Use suffixed floating-point
546 constants.
547 * math/s_catanhf.c (__catanhf): Likewise.
548 * math/s_catanhl.c (__catanhl): Likewise.
549 * math/s_catanl.c (__catanl): Likewise.
550
2f38fbfe
JM
551 [BZ #15394]
552 * math/s_catan.c (__catan): Calculate imaginary part of result
553 with log1p not log unless computing log of number close to 0.
554 * math/s_catanf.c (__catanf): Likewise.
555 * math/s_catanl.c (__catanl): Likewise.
556 * math/s_catanh.c (__catanh): Calculate real part of result with
557 log1p not log unless computing log of number close to 0.
558 * math/s_catanhf.c (__catanhf): Likewise.
559 * math/s_catanhl.c (__catanhl): Likewise.
560 * math/libm-test.inc (catan_test): Add more tests.
561 (catanh_test): Likewise.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
564
45d69176
SP
5652013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 * benchtests/Makefile: Mention files in which fast and slow
568 paths of math functions are implemented.
569
87f51853
RM
5702013-04-23 Roland McGrath <roland@hack.frob.com>
571
572 * sysdeps/posix/timespec_get.c: New file.
573
3c026539
AZ
5742013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
575
576 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
577 POWER.
578 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
579 for POWER.
580 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
581 powerpc/power5/fpu folders.
582 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
583 * benchtests/Makefile: Add modf testcase.
584 * benchtests/bench-modf.c: New file: Benchmark test for mo
585
ff491d14
SP
5862013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
587
588 [BZ #14888]
589 * time/Makefile (tests): Add tst-strptime-whitespace.
590 * time/strptime_l.c (get_number): Use ISSPACE.
591 (__strptime_internal): Likewise.
592 * time/tst-strptime-whitespace.c: New test case.
593
7ed3f4e8
AS
5942013-04-23 Andreas Schwab <schwab@linux-m68k.org>
595
596 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
597 member.
598 (_nss_files_init): Set it here.
599
5c95f7b6
HC
6002013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
601
602 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
603 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
604 unsigned.
605
d34c9158
JBG
6062013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
607
608 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
609
2169712d
SP
6102013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
611
612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
613 size just once.
614
29c5de99
DM
6152013-04-21 David S. Miller <davem@davemloft.net>
616
617 * po/ru.po: Update Russion translation from translation project.
618
ccdad15d
AC
6192013-04-17 Adam Conrad <adconrad@0c3.net>
620
621 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
622 and setfsgid.
623
0f122b8d
CD
6242013-04-17 Carlos O'Donell <carlos@redhat.com>
625
5c5b07da 626 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 627 * configure: Regenerate.
5c5b07da 628 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
629 Add example to error message.
630 * sysdeps/i386/configure: Regenerate.
631
037714dd
SP
6322013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
633
634 * benchtests/Makefile (bench): Add cos, tan, slowcos and
635 slowtan.
636 * benchtests/cos-inputs: New file.
637 * benchtests/slowcos-inputs: New file.
638 * benchtests/slowcos.c: New file.
639 * benchtests/slowtan-inputs: New file.
640 * benchtests/slowtan.c: New file.
641 * benchtests/tan-inputs: New file.
642
e913141d
RM
6432013-04-16 Roland McGrath <roland@hack.frob.com>
644
645 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
646 considered kosher.
647
a2964074
SP
6482013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
649
4856bcd2
SP
650 * benchtests/Makefile: Include cppflags-iterator.mk to add
651 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
652
a2964074
SP
653 * Makefile.in (bench-clean): New target.
654 * benchtests/Makefile (bench-clean): Likewise.
655
9fbf9aca
DH
6562013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
657
658 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
659
207d1e2a
TS
6602013-04-15 Thomas Schwinge <thomas@codesourcery.com>
661
662 * stdio-common/tstdiomisc.c: Fix coding-style violation.
663
306dfba9
AS
6642013-04-15 Andreas Schwab <schwab@suse.de>
665
666 * nscd/grpcache.c (cache_addgr): Properly check for short write.
667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
668 * nscd/pwdcache.c (cache_addpw): Likewise.
669 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
670 more than recsize.
671
206a6699
SP
6722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
673
674 * benchtests/Makefile (bench): Write all output to
675 bench-out.tmp together.
676
0582f6b3
AS
6772013-04-15 Andreas Schwab <schwab@suse.de>
678
679 * nscd/nscd.c (main): Don't fork again after closing files.
680
acb4325f
SP
6812013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
682
5cb26d0a
SP
683 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
684
acb4325f
SP
685 * benchtests/Rules (bench-deps): Collect dependencies into a
686 single variable. Add Makefile to dependencies.
687 ($(objpfx)bench-%.c): Depend on bench-deps.
688
47792506
RM
6892013-04-12 Roland McGrath <roland@hack.frob.com>
690 Xavier Roche <roche+kml2@exalead.com>
691
692 [BZ #15361]
693 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
694 just that it's a file descriptor.
695 * manual/llio.texi (Synchronizing AIO Operations): Update description
696 for EBADF error from aio_fsync.
697
8fc1bee5
SP
6982013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
699
700 * Rules (bench): Move target definition...
701 * benchtests/Makefile: ... here.
702
aba5e333
CD
7032013-04-11 Carlos O'Donell <carlos@redhat.com>
704
705 * math/libm-test.inc (cos_test): Fix PI/2 test.
706 (sincos_test): Likewise.
707 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
708 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
709
273cdee8
AS
7102013-04-11 Andreas Schwab <schwab@suse.de>
711
6ecec3b6
AS
712 [BZ #13988]
713 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
714 accept exponent character only when digits were seen.
715 * stdio-common/Makefile (tests): Add bug26.
716 * stdio-common/bug26.c: New file.
717
273cdee8
AS
718 [BZ #14293]
719 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
720 non-freeable.
721
8da491f5
SP
7222013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
723
01dc6df9
SP
724 * Makeconfig (rtld-prefix): Define built linker prefix.
725 * Rules (run-bench): Use it.
726 * math/Makefile (run-regen-ulps): Likewise.
727
8da491f5
SP
728 * Rules (bench): Remove eval.
729
abe7f530
SP
7302013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
731 Roland McGrath <roland@hack.frob.com>
732 Ondrej Bilka <neleai@seznam.cz>
733
734 [BZ #15346]
735 * time/getdate.c: Include ctype.h and alloca.h.
736 (__getdate_r): Trim leading and trailing spaces of input.
737 * time/tst-getdate.c (tests): Add tests with leading and
738 trailing spaces.
739
61c23e62
RM
7402013-04-08 Roland McGrath <roland@hack.frob.com>
741
742 [BZ #14280]
743 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
744 when computing value.
745
7208a313
CD
7462013-04-06 Carlos O'Donell <carlos@redhat.com>
747
085b2d41
CD
748 * math/README.libm-test (How can I generate "libm-test-ulps"?):
749 Use testrun.sh to run libm tests.
750
7208a313
CD
751 [BZ #15309]
752 * elf/dl-open.c (dl_open_worker): memset all of seen array.
753
872c0acd
MM
7542013-04-06 Marko Myllynen <myllynen@redhat.com>
755
756 [BZ #15264]
757 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
758
26510bdd
CD
7592013-04-06 Carlos O'Donell <carlos@redhat.com>
760
761 * Makefile.in (regen-ulps): New target.
762 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
763 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
764 [ifneq (no,$(PERL)] (regen-ulps): New target.
765 [ifeq (no,$(PERL)] (regen-ulps): New target.
766 * math/libm-test.inc (ulps_file_name): Define.
767 (output_dir): New variable.
768 (options): Add "output-dir" option.
769 (parse_opt): Handle 'o' case.
770 (main): If output_dir is non-NULL use it as a prefix
771 otherwise use "".
772 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
773
a01f19c8
CD
7742013-04-06 Carlos O'Donell <carlos@redhat.com>
775
776 [BZ #10060, #10062]
777 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
778 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
779 fail configure if __sync_val_compare_and_swap is not inlined.
780 * sysdeps/i386/configure: Regenerate.
781 * configure.in: Build for i686 when configured for i386.
782 * configure: Regenerate.
783 * README: Remove i386 reference.
784
b7a329a5
CD
7852013-04-06 Carlos O'Donell <carlos@redhat.com>
786
787 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
789
bf0f50df
TS
7902013-04-05 Thomas Schwinge <thomas@codesourcery.com>
791
ee091edf
TS
792 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
793 (lmsnanval): New variables.
794 (F): Add conversion tests.
795 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
796 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
797
a8b792d6
TS
798 * stdio-common/tstdiomisc.c (F): Properly collect individual
799 tests' results.
800
a1cbf437
TS
801 [BZ #14686, #15336]
802 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
803 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
804 Instead, use input NaN values or generate a qNaN by arithmetic
805 operation. Also fix bugs to comply with the standard.
806 * math/libm-test.inc (remainder_test): Add more tests.
807
8b43a0c9
TS
808 [BZ #15335, #15342]
809 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
811 input NaN values or generate a qNaN by arithmetic operation.
812
d91da4ce
TS
813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
814 unreachable code.
815
bf0f50df
TS
816 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
817 definitions.
818
05e166c8
JM
8192013-04-03 Joseph Myers <joseph@codesourcery.com>
820
821 [BZ #14478]
822 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
823 underflowed result.
824 * math/s_cexpf.c (__cexpf): Likewise.
825 * math/s_cexpl.c (__cexpl): Likewise.
826 * math/libm-test.inc (cexp_test): Add more tests.
827
1cef1b19
AS
8282013-04-03 Andreas Schwab <schwab@suse.de>
829
830 [BZ #15330]
831 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
832 order arrays from heap if bigger than alloca cutoff.
833
74d87055
TS
8342013-04-03 Thomas Schwinge <thomas@codesourcery.com>
835
836 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
837 (SNAN_TESTS_double): Refer to GCC PR56831.
838 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
839 GCC PR56828.
840
d755bba4
SP
8412013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
842
90d5d5bb
SP
843 * Rules (bench): Move bench.out after the run is complete.
844
73e0cd5d
SP
845 * Rules (bench): Echo currently running benchmark.
846
64aabd4b
SP
847 * benchtests/Makefile (bench): Add atan and slowatan.
848 * benchtests/atan-inputs: New file.
849 * benchtests/slowatan-inputs: New file.
850 * benchtests/slowatan.c: New file.
851
c871eccd
SP
852 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
853 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
854 its value.
855
d755bba4
SP
856 [BZ #15305]
857 * sysdeps/unix/sysv/linux/kernel-features.h
858 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
859 __ASSUME_XFS_RESTRICTED_CHOWN.
860 * sysdeps/unix/sysv/linux/pathconf.c
861 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
862 Save and restore errno.
863
52ce4860
JM
8642013-04-02 Joseph Myers <joseph@codesourcery.com>
865
866 [BZ #15327]
867 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
868 arguments using __kernel_casinh.
869 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
870 arguments using __kernel_casinhf.
871 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
872 arguments using __kernel_casinhl.
873 * math/libm-test.inc (cacosh_test): Add more tests.
874 * sysdeps/i386/fpu/libm-test-ulps: Update.
875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
876
81f311c2
SP
8772013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
878
e7906a47
SP
879 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
881
92e3664b
SP
882 * bench/Makefile (bench): Add sin and slowsin.
883 * benchtests/sin-inputs: New file.
884 * benchtests/slowsin-inputs: New file.
885 * benchtests/slowsin.c: New file.
886
81f311c2
SP
887 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
888 (bench): Add slowexp and slowpow.
889 (exp-ITER): Increase iterations.
890 (pow-ITER): Likewise.
891 * benchtests/exp-inputs: Change input.
892 * benchtests/pow-inputs: Likewise.
893 * benchtests/slowexp-inputs: New file.
894 * benchtests/slowexp.c: New file.
895 * benchtests/slowpow-inputs: New file.
896 * benchtests/slowpow.c: New file.
897
ab0f1aa9
AZ
8982013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
899
900 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
901 instructions.
902 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
903 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
904 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
905 * benchtests/Makefile: Add rint benchtest.
906 * benchtests/rint-inputs: Input for rint benchtest.
907
57267616
TS
9082013-04-02 Thomas Schwinge <thomas@codesourcery.com>
909
910 * Versions.def (libm): Add GLIBC_2.18.
911 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
912 hidden libm prototypes.
913 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
914 * math/Makefile (libm-calls): Add s_issignaling.
915 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
916 __issignalingf, __issignalingl. Adjust all libm.abilist files.
917 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
918 declaration.
919 * math/math.h [__USE_GNU] (issignaling): New macro.
920 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
921 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
922 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
923 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
924 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
925 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
926 * manual/arith.texi (issignaling): New section.
927 * manual/libm-err-tab.pl (@all_functions): Update comment.
928 * math/gen-libm-test.pl (parse_args): Apply special handling for
929 issignaling.
930 * math/libm-test.inc (print_float, issignaling_test): New
931 functions.
932 (check_float_internal): Add issignaling checks.
933 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
934 default definition.
935 * sysdeps/powerpc/math-tests.h: New file.
936 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
937 tests.
938 * math/test-snan.c (TEST_FUNC): Likewise.
939
6142896d
DM
9402013-03-30 David S. Miller <davem@davemloft.net>
941
942 * po/de.po: Update from translation team.
943
ccc8cadf
JM
9442013-03-30 Joseph Myers <joseph@codesourcery.com>
945
946 [BZ #10357]
947 * math/k_casinh.c (__kernel_casinh): Handle arguments with
948 imaginary part less than 1.0 and real part less than 0.5
949 specially.
950 * math/k_casinhf.c (__kernel_casinhf): Likewise.
951 * math/k_casinhl.c (__kernel_casinhl): Likewise.
952 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
953 (cacos_test): Add more tests.
954 (casin_test): Likewise.
955 (casinh_test): Likewise.
956 * sysdeps/i386/fpu/libm-test-ulps: Update.
957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
958
0f6a8d4b
SP
9592013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
960
0d1029de
SP
961 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
962 ONE with its value.
963
c2d94018
SP
964 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
965 (__pow_mp): Replace ONE and MONE with their values.
966 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
968 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
969 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
970 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
971 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
972
27ec37f1
SP
973 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
974
a64d7e0e
SP
975 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
976 (__pow_mp): Replace ZERO and MZERO with their values.
977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
978 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
980 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
981 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
982 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
983 (__sqr): Likewise.
984
d26dd3eb
SP
985 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
986
0f6a8d4b
SP
987 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
988
e57b0c61
RM
9892013-03-28 Roland McGrath <roland@hack.frob.com>
990
991 * include/stdlib.h [!SHARED] (__call_tls_dtors):
992 Declare with __attribute__ ((weak)).
993 * stdlib/exit.c (__libc_atexit) [!SHARED]:
994 Call __call_tls_dtors only if it's not NULL.
995
356b3480
RM
9962013-03-28 Roland McGrath <roland@hack.frob.com>
997
288f7d79
RM
998 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
999 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1000 magic __ehdr_start linker symbol if it's defined.
1001 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1002 them up here if it was already done.
1003
dc0a0263
RM
1004 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1005 (_dl_aux_init): Use const in cast when setting it.
1006 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1007 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1008 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1009
3d3436ae
RM
1010 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1011 Declare them here.
1012 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1013 * csu/libc-tls.c: Nor here.
1014 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1015
356b3480
RM
1016 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1017 (__libc_message): Never call vsyslog.
1018
b0f1246a
AM
10192013-03-28 Alan Modra <amodra@gmail.com>
1020
1021 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1022 Define as empty.
1023 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1024 Likewise.
1025
fbbe2b9a
AZ
10262013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1027
1028 [BZ #15214]
1029 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1030 underflow.
1031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1032
1728ab37
SP
10332013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1034
7a86be6e
SP
1035 [BZ #15304]
1036 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1037 Don't add gid passed as argument.
1038
1728ab37
SP
1039 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1040
3a7182a1
JM
10412013-03-27 Joseph Myers <joseph@codesourcery.com>
1042
1043 [BZ #15307]
1044 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1045 imaginary part between 1.0 and 1.5 and real part less than 0.5
1046 specially.
1047 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1048 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1049 * math/libm-test.inc (cacos_test): Add more tests.
1050 (casin_test): Likewise.
1051 (casinh_test): Likewise.
1052 * sysdeps/i386/fpu/libm-test-ulps: Update.
1053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1054
6f2e90e7
SP
10552013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1056
5739f705
SP
1057 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1058 constants.
1059 (norm): Likewise.
1060 (denorm): Likewise.
1061 (__dbl_mp): Likewise.
1062 (add_magnitudes): Likewise.
1063 (sub_magnitudes): Likewise.
1064 (__add): Likewise.
1065 (__sub): Likewise.
1066 (__mul): Likewise.
1067 (__sqr): Likewise.
1068 (__inv): Likewise.
1069 (__dvd): Likewise.
1070
e375e83d
SP
1071 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1072 commented code.
1073 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1074 (__dubcos): Likewise.
1075 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1076 (__ieee754_acos): Likewise.
1077 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1078 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1079 (__exp1): Likewise.
1080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1082 (log1): Likewise.
1083 (my_log2): Likewise.
1084 (checkint): Likewise.
1085 * sysdeps/ieee754/dbl-64/e_remainder.c
1086 (__ieee754_remainder): Likewise.
1087 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1088 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1089 (bsloww): Likewise.
1090 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1091
6f2e90e7
SP
1092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1094 MANTISSA_STORE_T to store computations on mantissa. Use
1095 macros for rounding and division.
1096 (denorm): Likewise.
1097 (__dbl_mp): Likewise.
1098 (add_magnitudes): Likewise.
1099 (sub_magnitudes): Likewise.
1100 (__mul): Likewise.
1101 (__sqr): Likewise.
1102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1103 powers of two in terms of TWOPOW macro.
1104 (mp_no): Make type of mantissa as MANTISSA_T.
1105 [!RADIXI]: Define RADIXI.
1106 [!TWO52]: Define TWO52.
1107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1108
fce14d4e
AZ
11092013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1112 llroundl symbol when building for PPC32.
1113
9ad027fb
MW
11142013-03-24 Mark H Weaver <mhw@netris.org>
1115
1116 * manual/arith.texi (Normalization Functions): Fix prototypes for
1117 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1118
e42a38dd
AZ
11192013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 [BZ #13889]
1122 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1123 high value to check if expl overflow.
1124 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1125 to check for underflow and overflow.
1126 * math/libm-test.inc: Add exp test.
1127
2e0fb521
DL
11282013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1129
1130 [BZ #11120]
1131 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1132 with NOT_IN_libc.
1133
b5784d95
AZ
11342013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135
1136 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1137 symbol.
1138
5aa4a1a1
TS
11392013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1140
bdef0be7
TS
1141 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1142 wrap blocks consisting of several statements.
1143
5aa4a1a1
TS
1144 * sysdeps/generic/math-tests.h: New file.
1145 * sysdeps/i386/fpu/math-tests.h: Likewise.
1146 * math/test-snan.c: Include it.
1147 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1148
98c48fe5
JM
11492013-03-21 Joseph Myers <joseph@codesourcery.com>
1150
1151 [BZ #15285]
1152 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1153 (__ieee754_j0l): Do not improve calculations using cos of twice
1154 input for inputs above LDBL_MAX / 2.0L.
1155 (__ieee754_y0l): Likewise.
1156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1157 (__ieee754_j1l): Do not improve calculations using cos of twice
1158 input for inputs above LDBL_MAX / 2.0L.
1159 (__ieee754_y1l): Likewise.
1160 * math/libm-test.inc (j0_test): Add another test.
1161 (j1_test): Likewise.
1162 (y0_test): Likewise.
1163 (y1_test): Likewise.
1164 * sysdeps/i386/fpu/libm-test-ulps: Update.
1165
3775a8bc
SP
11662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1167
1168 * Rules ($(objpfx)bench-%.c): Include code from a C source
1169 file.
1170
0a1b2ae6
JM
11712013-03-21 Joseph Myers <joseph@codesourcery.com>
1172
1173 [BZ #15287]
1174 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1175 imaginary part 1.0 and real part less than 0.5 specially.
1176 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1177 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1178 * math/libm-test.inc (cacos_test): Add more tests.
1179 (casin_test): Likewise.
1180 (casinh_test): Likewise.
1181 * sysdeps/i386/fpu/libm-test-ulps: Update.
1182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1183
b33d4ce4
SP
11842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1185
1186 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1187 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1188
bef0b507
JM
11892013-03-20 Joseph Myers <joseph@codesourcery.com>
1190
1191 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1192 * config.make.in (config-cflags-sse4): Remove variable.
1193 (config-cflags-avx): Likewise.
1194 (config-cflags-sse2avx): Likewise.
1195 (config-cflags-novzeroupper): Likewise.
1196 (config-asflags-i686): Likewise.
1197 (have-mfma4): Likewise.
1198 (have-as-vis3): Likewise.
1199 (MIG): Likewise.
1200 * configure.in (MIG): Do not AC_SUBST.
1201 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1202 (libc_cv_cc_sse4): Do not AC_SUBST.
1203 (libc_cv_cc_avx): Likewise.
1204 (libc_cv_cc_sse2avx): Likewise.
1205 (libc_cv_cc_novzeroupper): Likewise.
1206 (libc_cv_cc_fma4): Likewise.
1207 (libc_cv_as_i686): Likewise.
1208 (libc_cv_sparc_as_vis3): Likewise.
1209 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1210 LIBC_CONFIG_VAR.
1211 (config-asflags-i686): Likewise.
1212 (config-cflags-avx): Likewise.
1213 (config-cflags-sse2avx): Likewise.
1214 (have-mfma4): Likewise.
1215 (config-cflags-novzeroupper): Likewise.
1216 * sysdeps/mach/configure.in (MIG): Likewise.
1217 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1218 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1219 LIBC_CONFIG_VAR.
1220 (config-cflags-avx): Likewise.
1221 (config-cflags-sse2avx): Likewise.
1222 (have-mfma4): Likewise.
1223 (config-cflags-novzeroupper): Likewise.
1224 * configure: Regenerated.
1225 * sysdeps/i386/configure: Likewise.
1226 * sysdeps/mach/configure: Likewise.
1227 * sysdeps/sparc/configure: Likewise.
1228 * sysdeps/x86_64/configure: Likewise.
1229
912cc4b3
RM
12302013-03-20 Roland McGrath <roland@hack.frob.com>
1231
1232 [BZ #14812]
1233 * locale/programs/localedef.c (options): Put N_ translation marker
1234 on argument names, not just descriptions.
1235
04eed2b0
MS
12362013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1237
1238 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1239
a065ceff
OB
12402013-03-20 Ondřej Bílka <neleai@seznam.cz>
1241
9bb2a810 1242 [BZ #14176]
a065ceff
OB
1243 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1244
a600e5ce
RM
12452013-03-19 Roland McGrath <roland@hack.frob.com>
1246
1247 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1248 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1249 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1250 [!BEFORE_ABORT] (before_abort): New function.
1251 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1252 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1253 (writev_for_fatal): New function.
1254 (WRITEV_FOR_FATAL): New macro; call that.
1255 (backtrace_and_maps): New function.
1256 (BEFORE_ABORT): New macro; call that.
1257 (struct str_list): Type removed.
1258 (__libc_message, __libc_fatal): Functions removed.
1259 Include <sysdeps/posix/libc_fatal.c> instead.
1260
6b18bea6
JM
12612013-03-19 Joseph Myers <joseph@codesourcery.com>
1262
1263 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1264 constants.
1265 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1266 double constants.
1267
aaa8cb4b
AS
12682013-03-19 Andreas Schwab <schwab@suse.de>
1269
44673770
AS
1270 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1271 * sysdeps/gnu/configure: Regenerate.
1272
aaa8cb4b
AS
1273 * configure.in: Substitute libc_cv_rtlddir.
1274 * configure: Regenerate.
1275 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1276 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1277 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1278 * elf/Makefile (install-others, CFLAGS-interp.c)
1279 (ldso_install, common-ldd-rewrite): Likewise.
1280 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1281 $(inst_slibdir)/$(rtld-installed-name).
1282 * scripts/rellns-sh: Add -p option.
1283 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1284 for source.
1285
d3cfc668
SP
12862013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1287
1288 * manual/nptl.texi: Renamed to ...
1289 * manual/threads.texi: ... this.
1290 * manual/Makefile (chapters): Update.
1291
0e2b9cdd
RM
12922013-03-18 Roland McGrath <roland@hack.frob.com>
1293
1294 [BZ #14812]
1295 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1296 on argument names, not just descriptions.
0e2b9cdd
RM
1297 * malloc/memusagestat.c (options): Likewise.
1298 * nss/getent.c (options): Likewise.
63270c24
RM
1299
13002013-03-18 Benno Schulenberg <bensberg@justemail.net>
1301
1302 [BZ #14812]
1303 * iconv/iconv_prog.c (options): Put N_ translation marker
1304 on argument names, not just descriptions.
1305 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1306
b2e1393c
OB
13072013-03-18 Ondrej Bilka <neleai@seznam.cz>
1308
1309 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1310 implementation which is faster on all x86_64 architectures.
1311 Tested on AMD, Intel Nehalem, SNB, IVB.
1312 * sysdeps/x86_64/strnlen.S: Likewise.
1313
1314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1315 Remove all multiarch strlen and strnlen versions.
1316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1317 Remove strlen and strnlen related parts.
1318
1319 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1320 Inline strlen part.
1321 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1322
1323 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1324 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1325 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1326 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1327 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1328 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1329
ec4ff04d
CD
13302013-03-17 Carlos O'Donell <carlos@redhat.com>
1331
1332 * manual/memory.texi (Malloc Tunable Parameters):
1333 Sort parameters alphabetically. Add comments for missing entries.
1334
cd18e90a
DM
13352013-03-17 David S. Miller <davem@davemloft.net>
1336
1337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1338
2a185d32
JM
13392013-03-16 Joseph Myers <joseph@codesourcery.com>
1340
d2f9799e
JM
1341 [BZ #15283]
1342 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1343 for arguments at most half maximum finite value.
1344 * math/libm-test.inc (j0_test): Add more tests.
1345 (j1_test): Likewise.
1346 (y0_test): Likewise.
1347 (y1_test): Likewise.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1350
2a185d32
JM
1351 [BZ #14155]
1352 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1353 1 / x and functions P and Q for arguments above 0x1p256L.
1354 (__ieee754_y0l): Likewise.
1355 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1356 (__ieee754_y1l): Likewise.
1357 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1358 (j1_test): Likewise.
1359 (y0_test): Likewise.
1360 (y1_test): Likewise.
1361
6cbec759
TS
13622013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1363
1364 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1365 variable.
1366
bc16e260
RM
13672013-03-15 Roland McGrath <roland@hack.frob.com>
1368
aefc9b8c
RM
1369 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1370 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1371 zero since it's initialized to EXEC_PAGESIZE.
1372
bc16e260
RM
1373 * sysdeps/unix/sysv/linux/ldsodefs.h
1374 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1375 * sysdeps/generic/ldsodefs.h: ... here.
1376
a57da955
TS
13772013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1378
af00a34d
TS
1379 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1380
495ded2c
TS
1381 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1382 math/test-snan.c.
1383 * math/test-snan.c: Renamed from
1384 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1385 * math/Makefile (tests): Add test-snan.
1386 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1387 test-powerpc-snan.
1388
777b0332
TS
1389 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1390 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1391 functions.
1392 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1393 __builtin_nan family of functions.
1394 * math/libm-test.inc (initialize): Initialize qnan_value with
1395 __builtin_nan family of functions.
1396 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1397 Remove variables.
1398 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1399 Remove functions.
1400 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1401 storage class. Initialize qNaN_var and sNaN_var with
1402 __builtin_nan and __builtin_nans families of functions,
1403 respectively.
1404
64d063b8
TS
1405 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1406 (sqrt_test): Remove duplicate test with qNaN input.
1407 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1408 (round_test, signbit_test, significand_test): Note missing +/-Inf
1409 as well as qNaN tests.
1410
67e971f1
TS
1411 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1412 qNaN_var. Fix a few strings, too.
1413 * math/libm-test.inc (nan_value): Rename to qnan_value.
1414 * math/gen-libm-test.pl (%beautify): Adjust to that.
1415 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1416 * math/test-misc.c (main): Likewise.
1417 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1418 to __qnan_bytes, and __qnan_union, respectively.
1419 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1420 Likewise.
1421 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1422 and lqnanval, respectively.
1423 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1424 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1425 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1426 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1427
64487e12
TS
1428 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1429 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1430 doubles.
1431
e015e27b
TS
1432 * math/test-misc.c (main): Fix copy'n'pastos.
1433 * misc/tst-efgcvt.c (special): Likewise.
1434
a57da955
TS
1435 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1436 Remove declarations.
1437
1e380345
SP
14382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1439
1440 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1441 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1442 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1443 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1444
ef26eece
AZ
14452013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446
1447 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1448 macro to return vdso values correctly in IFUNC implementations.
1449 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1450 Optimization by using IFUNC.
1451
8cfdb7e0
SP
14522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1453 Richard Henderson <rth@redhat.com>
1454 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1455
1456 * Makefile.in (bench): New target.
1457 * NEWS: Mention the benchmark framework.
1458 * Rules (bench): Likewise.
1459 (binaries-bench): Generate binaries for functions to
1460 benchmark.
1461 * benchtests/Makefile: New makefile for benchmark tests.
1462 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1463 programs.
1464 * benchtests/exp-inputs: New input file for EXP function.
1465 * benchtests/pow-inputs: New input file for POW function.
1466 * scripts/bench.pl: New script to generate source files for
1467 benchmark programs.
1468
bcda9880
SP
14692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1470
d22ca8cd
SP
1471 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1472 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1473 computations on mantissa. Use macros for rounding and
1474 division.
1475 (denorm): Likewise.
1476 (__dbl_mp): Likewise.
1477 (add_magnitudes): Likewise.
1478 (sub_magnitudes): Likewise.
1479 (__mul): Likewise.
1480 (__sqr): Likewise.
1481 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1482 powers of two in terms of TWOPOW macro.
1483 (mp_no): Make type of mantissa as MANTISSA_T.
1484 [!RADIXI]: Define RADIXI.
1485 [!TWO52]: Define TWO52.
1486 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1487
bcda9880
SP
1488 * manual/nptl.texi (cindex): Modify threads to pthreads.
1489
06d5adfb
JM
14902013-03-15 Joseph Myers <joseph@codesourcery.com>
1491
1492 * sysdeps/x86_64/preconfigure: Regenerated.
1493
41c7328e
JM
14942013-03-14 Joseph Myers <joseph@codesourcery.com>
1495
1496 [BZ #14155]
1497 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1498 0x1p28 and above.
1499 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1500 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1501 0x1p28 and above.
1502 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1503 * math/libm-test.inc (j0_test): Do not allow one spurious
1504 underflow exception.
1505 (y1_test): Likewise.
1506
e25cfa60
SP
15072013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1508
0409959c
SP
1509 * manual/Makefile (chapters): Add nptl.
1510 * manual/debug.texi (Debugging Support): Add link to Threads
1511 chapter.
1512 * manual/nptl.texi: New file.
1513
e25cfa60
SP
1514 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1515
58a1335e
PB
15162013-03-14 Petr Baudis <pasky@ucw.cz>
1517
1518 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1519 for non-NULL pointer before the memory validity test. Pointed
1520 out by Holger Brunck <holger.brunck@keymile.com>.
1521
9dc7c64f
AS
15222013-03-13 Andreas Schwab <schwab@suse.de>
1523
1524 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1525 instead of .os.
1526
54206aa6
JM
15272013-03-13 Joseph Myers <joseph@codesourcery.com>
1528
1529 * timezone/zic.c: Update from tzcode 2013b.
1530
e98cdb38
CD
15312013-03-12 Carlos O'Donell <carlos@redhat.com>
1532
1533 * manual/install.texi (Configuring and compiling):
1534 Mention i686 and i586.
1535 * INSTALL: Regenerate.
1536
9967e003
RM
15372013-03-12 Roland McGrath <roland@hack.frob.com>
1538
1539 * sysdeps/init_array/elf-init.c: New file.
1540 * csu/elf-init.c
1541 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1542 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1543
1544 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1545 __gmon_start__ as global, but as static with a .preinit_array pointer.
1546 * sysdeps/init_array/gmon-start.c: New file. Use that.
1547 * sysdeps/init_array/crti.S: New file, empty except for comments.
1548 * sysdeps/init_array/crtn.S: Likewise.
1549
e6b5a293 15502013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1551
1552 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1553 definining bcopy.
80f844c9
OB
1554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1555 Remove Prefer_SSE_for_memop.
1556 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1557 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1558 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1560 memset-x86-64.
80f844c9 1561 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1562 Remove bzero, memset ifunc support.
80f844c9
OB
1563 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1564 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1565 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1566 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1567
fb6b0fcb
AS
15682013-03-11 Andreas Schwab <schwab@suse.de>
1569
1570 [BZ #15234]
1571 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1572 by SHLIB_COMPAT.
1573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1574 (GLIBC_2.16): Remove pthread_atfork.
1575
3e6bd4b1
PP
15762013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1577
1578 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1579 (ptestcases.h): Likewise.
1580
222d7f00
RM
15812013-03-08 Roland McGrath <roland@hack.frob.com>
1582
1583 * Makeconfig ($(common-objpfx)config.status): Depend on
1584 sysdeps/*/preconfigure{,.in} too.
1585
1ba4f030
JM
15862013-03-08 Joseph Myers <joseph@codesourcery.com>
1587
a222d91a
JM
1588 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1589 (__free_hook): Use void * instead of __malloc_ptr_t.
1590 (__malloc_hook): Likewise.
1591 (__realloc_hook): Likewise.
1592 (__memalign_hook): Likewise.
1593 (__after_morecore_hook): Likewise.
1594 * malloc/arena.c (save_malloc_hook): Likewise.
1595 (save_free_hook): Likewise.
1596 * malloc/hooks.c (malloc_hook_ini): Likewise.
1597 (realloc_hook_ini): Likewise.
1598 (memalign_hook_ini): Likewise.
1599 * malloc/malloc.c (malloc_hook_ini): Likewise.
1600 (realloc_hook_ini): Likewise.
1601 (memalign_hook_ini): Likewise.
1602 (__free_hook): Likewise.
1603 (__malloc_hook): Likewise.
1604 (__realloc_hook): Likewise.
1605 (__memalign_hook): Likewise.
1606 (__libc_malloc): Likewise.
1607 (__libc_free): Likewise.
1608 (__libc_realloc): Likewise.
1609 (__libc_memalign): Likewise.
1610 (__libc_valloc): Likewise.
1611 (__libc_pvalloc): Likewise.
1612 (__libc_calloc): Likewise.
1613 (__posix_memalign): Likewise.
1614 * malloc/morecore.c (__sbrk): Likewise.
1615 (__default_morecore): Likewise.
1616
5cc45e10
JM
1617 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1618
dd54b864
JM
1619 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1620 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1621 __malloc_ptrdiff_t.
1622
1ba4f030
JM
1623 * malloc/malloc.h (__malloc_size_t): Remove macro.
1624 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1625 __malloc_size_t.
1626 (old_memalign_hook): Likewise.
1627 (old_realloc_hook): Likewise.
1628 (struct hdr): Likewise.
1629 (flood): Likewise.
1630 (mallochook): Likewise.
1631 (memalignhook): Likewise.
1632 (reallochook): Likewise.
1633 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1634 (tr_old_realloc_hook): Likewise.
1635 (tr_old_memalign_hook): Likewise.
1636 (tr_mallochook): Likewise.
1637 (tr_reallochook): Likewise.
1638 (tr_memalignhook): Likewise.
1639
edf66e57
AZ
16402013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641
1642 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1643 default_ldbl_pack and using as default implementation.
1644 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1645 implementation.
1646 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1647 redundant definition.
1648 (ldbl_insert_mantissa): Likewise.
1649 (ldbl_canonicalize): Likewise.
1650 (ldbl_nearbyint): Likewise.
1651 (ldbl_pack): Rename to ldbl_pack_ppc.
1652 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1653 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1654 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1655
6d9145d8
SP
16562013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1657
1658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1659 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1660 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1661 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1662 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1663 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1664 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1665 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1666
4dd4e157
AJ
16672013-03-07 Andreas Jaeger <aj@suse.de>
1668
1669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1670 bits/mman-linux.h.
1671
adbb8027
SP
16722013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1673
ce544b5b
SP
1674 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1675 Include mpa.h and declare __MPEXP.
1676 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1678 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1679 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1680 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1681 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1682 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1683
4cc149fd
SP
1684 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1685 (__slowpow): Use long double EXPL and LOGL functions to
1686 compute POW.
1687 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1688 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1689 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1690 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1691 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1692 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1693
e6ebd4a7
SP
1694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1695 intermediate variable to calculate exponent.
1696 (__sqr): Likewise.
1697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1698 Likewise.
1699 (__sqr): Likewise.
1700
82a9811d
SP
1701 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1702 [!NO__SQR]: Define __sqr.
1703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1704 and NO__SQR. Remove all code except __mul and __sqr. Include
1705 sysdeps/ieee754/dbl-64/mpa.c.
1706 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1707
adbb8027
SP
1708 [BZ #12723]
1709 * posix/Makefile (tests): Add tst-pathconf.
1710 * posix/tst-pathconf.c: New test case.
1711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1712 _PC_PIPE_BUF.
1713 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1714
39120df9
PF
17152013-03-06 Patsy Franklin <pfrankli@redhat.com>
1716
1717 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1718
67525cb8
AJ
17192013-03-06 Andreas Jaeger <aj@suse.de>
1720
664a9ce4
AJ
1721 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1722 definition via __MAP_ANONYMOUS.
1723
8e39047d
AJ
1724 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1725 it's not part of Linux headers.
1726
67525cb8
AJ
1727 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1728 (MAP_HUGE_MASK): Define.
1729
1730 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1731 Define.
1732 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1733 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1734 Define.
1735 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1736 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1737 Define.
1738 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1740 Define.
1741 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1742
1743 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1744 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1745 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1746 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1747 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1748 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1749
1750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1751 Handle f2fs.
1752
1753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1754 Handle f2fs and efivarfs.
1755
1756 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1757 f2fs.
1758
1759 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1760 (EFIVARFS_MAGIC): Add.
1761 (F2FS_LINK_MAX): Add.
1762
e1b42695
PP
17632013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1764
1765 * stdio-common/vfprintf.c: Replace __builtin_expect with
1766 __glibc_unlikely.
1767
2d67d91a
JM
17682013-03-06 Joseph Myers <joseph@codesourcery.com>
1769
1770 [BZ #13550]
1771 * sysdeps/generic/bp-sym.h: Remove file.
1772 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1773 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1774 <bp-sym.h> and <bp-asm.h>.
1775 (__longjmp): Don't use BP_SYM.
1776 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1777 and <bp-asm.h>.
1778 (memcpy): Don't use BP_SYM.
1779 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1780 <bp-sym.h> and <bp-asm.h>.
1781 (memcpy): Don't use BP_SYM.
1782 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1783 <bp-asm.h>.
1784 (memcpy): Don't use BP_SYM.
1785 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1786 <bp-asm.h>.
1787 (memset): Don't use BP_SYM.
1788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1790 (__bzero): Don't use BP_SYM.
1791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1794 <bp-sym.h> and <bp-asm.h>.
1795 (memcmp): Don't use BP_SYM. Remove comment about bounded
1796 pointers.
1797 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1798 <bp-sym.h> and <bp-asm.h>.
1799 (memcpy): Don't use BP_SYM.
1800 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1801 <bp-sym.h> and <bp-asm.h>.
1802 (memset): Don't use BP_SYM.
1803 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1804 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1805 (__bzero): Don't use BP_SYM.
1806 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1807 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1808 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1809 <bp-sym.h> and <bp-asm.h>.
1810 (strncmp): Don't use BP_SYM. Remove comment about bounded
1811 pointers.
1812 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1813 <bp-sym.h> and <bp-asm.h>.
1814 (memcpy): Don't use BP_SYM.
1815 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1816 <bp-sym.h> and <bp-asm.h>.
1817 (memset): Don't use BP_SYM.
1818 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1819 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1820 (__bzero): Don't use BP_SYM.
1821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1824 <bp-sym.h> and <bp-asm.h>.
1825 (__memchr): Don't use BP_SYM.
1826 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1827 <bp-sym.h> and <bp-asm.h>.
1828 (memcmp): Don't use BP_SYM. Remove comment about bounded
1829 pointers.
1830 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1831 <bp-sym.h> and <bp-asm.h>.
1832 (memcpy): Don't use BP_SYM.
1833 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1834 <bp-sym.h> and <bp-asm.h>.
1835 (__mempcpy): Don't use BP_SYM.
1836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1837 <bp-sym.h> and <bp-asm.h>.
1838 (__memrchr): Don't use BP_SYM.
1839 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1840 <bp-sym.h> and <bp-asm.h>.
1841 (memset): Don't use BP_SYM.
1842 (__bzero): Likewise.
1843 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1844 <bp-sym.h> and <bp-asm.h>.
1845 (__rawmemchr): Don't use BP_SYM.
1846 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1847 <bp-sym.h> and <bp-asm.h>.
1848 (__STRCMP): Don't use BP_SYM.
1849 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1850 <bp-sym.h> and <bp-asm.h>.
1851 (strchr): Don't use BP_SYM.
1852 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1853 <bp-sym.h> and <bp-asm.h>.
1854 (__strchrnul): Don't use BP_SYM.
1855 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1856 <bp-sym.h> and <bp-asm.h>.
1857 (strlen): Don't use BP_SYM.
1858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1859 <bp-sym.h> and <bp-asm.h>.
1860 (strncmp): Don't use BP_SYM. Remove comment about bounded
1861 pointers.
1862 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1863 <bp-sym.h> and <bp-asm.h>.
1864 (__strnlen): Don't use BP_SYM.
1865 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1866 <bp-sym.h> and <bp-asm.h>.
1867 (__GI__setjmp): Don't use BP_SYM.
1868 (_setjmp): Likewise.
1869 (__sigsetjmp): Likewise.
1870 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1871 (L(start_addresses)): Don't use BP_SYM.
1872 (_start): Likewise.
1873 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1874 <bp-asm.h>.
1875 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1876 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1877 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1878 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1879 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1880 <bp-asm.h>.
1881 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1882 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1883 about bounded pointers.
1884 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1885 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1886 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1887 <bp-asm.h>.
1888 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1889 about bounded pointers. Remove GKM FIXME comments.
1890 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1891 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1892 <bp-asm.h>.
1893 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1894 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1895 Remove GKM FIXME comments.
1896 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1897 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1898 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1899 <bp-asm.h>.
1900 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1901 about bounded pointers. Remove GKM FIXME comment.
1902 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1903 and <bp-asm.h>.
1904 (strncmp): Don't use BP_SYM. Remove comment about bounded
1905 pointers.
1906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1907 <bp-sym.h> and <bp-asm.h>.
1908 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1910 <bp-sym.h> and <bp-asm.h>.
1911 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1912 comment.
1913
cdcf361f
PP
19142013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1915
1916 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1917 call free(NULL).
1918
3c4a2b15
DM
19192013-03-05 David S. Miller <davem@davemloft.net>
1920
1921 * po/es.po: Update from translation team.
1922
cdcf361f 19232013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1924
1925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1926 <bits/mman-linux.h>.
1927 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1928 is fine.
1929 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1930 <bits/mman-linux.h> to end of file.
1931 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1932 is fine.
1933 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1934 <bits/mman-linux.h> to end of file.
1935 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1936 is fine.
1937 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1938 <bits/mman-linux.h> to end of file.
1939
1940 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1941 (MCL_CURRENT, MCL_FUTURE): Define here.
1942
5f67c04f
AK
19432013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1944
8a4473cc 1945 [BZ #15232]
5f67c04f
AK
1946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1947 attribute_hidden.
1948 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1949
c3e94a95
AK
19502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1951
1952 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1953 fourth parameter needed for rt_sigprocmask syscall.
1954 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1955 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1958 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1959 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1960
cfb6382a
JM
19612013-03-04 Joseph Myers <joseph@codesourcery.com>
1962
1963 [BZ #13550]
1964 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1965 comment about bounded pointers.
1966 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1967 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1968
539d8e01
AJ
19692013-03-04 Andreas Jaeger <aj@suse.de>
1970
1971 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1972 common definitions.
1973
1974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1975 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1976 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1978 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1980
2e167a70 19812013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1982
1983 [BZ #15055]
1984 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1985 __ieee754_sqrl instead of __sqrl.
1986
68508633
JM
19872013-03-01 Joseph Myers <joseph@codesourcery.com>
1988
1989 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1990 * sysdeps/powerpc/fpu_control.h: ... here.
1991 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1992 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1993 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1994 * sysdeps/powerpc/bits/mathinline.h: ... here.
1995
7775448e
RM
19962013-03-01 Roland McGrath <roland@hack.frob.com>
1997
1998 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1999 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2000 to just [NEED_DL_SYSINFO_DSO].
2001 * elf/dl-support.c: Likewise.
2002 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2003 * elf/rtld.c (dl_main): Likewise.
2004 * elf/setup-vdso.h (setup_vdso): Likewise.
2005 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2006 * sysdeps/unix/sysv/linux/dl-sysdep.c
2007 (_dl_discover_osversion): Likewise.
2008
4e9b5995
CD
20092013-03-01 Carlos O'Donell <carlos@redhat.com>
2010
2011 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2012 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2013
e23872c8
SP
20142013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2015
e5c74c63
SP
2016 * NEWS: Mention libm performance improvements and non-x86 PI
2017 futex support.
2018
e23872c8
SP
2019 * csu/libc-start.c (__pthread_initialize_minimal): Change
2020 function arguments.
2021 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2022
b5510883
JM
20232013-02-28 Joseph Myers <joseph@codesourcery.com>
2024
2025 [BZ #13550]
2026 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2027 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2028 <bp-sym.h> and <bp-asm.h>.
2029 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2030 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2031 and <bp-asm.h>.
2032 (memcpy): Don't use BP_SYM.
2033 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2034 <bp-asm.h>.
2035 (__mpn_add_n): Don't use BP_SYM.
2036 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2037 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2038 and <bp-asm.h>.
2039 (__mpn_addmul_1): Don't use BP_SYM.
2040 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2041 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2042 <bp-sym.h>.
2043 (_setjmp): Don't use BP_SYM.
2044 (__novmx_setjmp): Likewise.
2045 (__GI__setjmp): Likewise.
2046 (__vmx_setjmp): Likewise.
2047 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2048 <bp-sym.h>.
2049 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2050 (__bzero): Don't use BP_SYM.
2051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2053 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2054 <bp-sym.h> and <bp-asm.h>.
2055 (memcpy): Don't use BP_SYM.
2056 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2057 <bp-sym.h> and <bp-asm.h>.
2058 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2059 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2060 <bp-sym.h> and <bp-asm.h>.
2061 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2062 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2063 <bp-asm.h>.
2064 (__mpn_lshift): Don't use BP_SYM.
2065 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2066 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2067 <bp-asm.h>.
2068 (memset): Don't use BP_SYM.
2069 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2070 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2071 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2072 <bp-asm.h>.
2073 (__mpn_mul_1): Don't use BP_SYM.
2074 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2075 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2076 <bp-sym.h> and <bp-asm.h>.
2077 (memcmp): Don't use BP_SYM.
2078 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2079 <bp-sym.h> and <bp-asm.h>.
2080 (memcpy): Don't use BP_SYM.
2081 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2082 <bp-sym.h> and <bp-asm.h>.
2083 (memset): Don't use BP_SYM.
2084 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2085 <bp-sym.h> and <bp-asm.h>.
2086 (strncmp): Don't use BP_SYM.
2087 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2088 <bp-sym.h> and <bp-asm.h>.
2089 (memcpy): Don't use BP_SYM.
2090 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2091 <bp-sym.h> and <bp-asm.h>.
2092 (memset): Don't use BP_SYM.
2093 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2094 <bp-sym.h> and <bp-asm.h>.
2095 (__memchr): Don't use BP_SYM.
2096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2097 <bp-sym.h> and <bp-asm.h>.
2098 (memcmp): Don't use BP_SYM.
2099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2100 <bp-sym.h> and <bp-asm.h>.
2101 (memcpy): Don't use BP_SYM.
2102 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2103 <bp-sym.h> and <bp-asm.h>.
2104 (__mempcpy): Don't use BP_SYM.
2105 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2106 <bp-sym.h> and <bp-asm.h>.
2107 (__memrchr): Don't use BP_SYM.
2108 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2109 <bp-sym.h> and <bp-asm.h>.
2110 (memset): Don't use BP_SYM.
2111 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2112 <bp-sym.h> and <bp-asm.h>.
2113 (__rawmemchr): Don't use BP_SYM.
2114 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2115 <bp-sym.h> and <bp-asm.h>.
2116 (__STRCMP): Don't use BP_SYM.
2117 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2118 <bp-sym.h> and <bp-asm.h>.
2119 (strchr): Don't use BP_SYM.
2120 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2121 <bp-sym.h> and <bp-asm.h>.
2122 (__strchrnul): Don't use BP_SYM.
2123 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2124 <bp-sym.h> and <bp-asm.h>.
2125 (strlen): Don't use BP_SYM.
2126 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2127 <bp-sym.h> and <bp-asm.h>.
2128 (strncmp): Don't use BP_SYM.
2129 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2130 <bp-sym.h> and <bp-asm.h>.
2131 (__strnlen): Don't use BP_SYM.
2132 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2133 <bp-asm.h>.
2134 (__mpn_rshift): Don't use BP_SYM.
2135 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2136 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2137 <bp-sym.h> and <bp-asm.h>.
2138 (__sigsetjmp): Don't use BP_SYM.
2139 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2140 (L(start_addresses)): Don't use BP_SYM.
2141 (_start): Likewise.
2142 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2143 <bp-asm.h>.
2144 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2145 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2146 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2147 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2148 <bp-asm.h>.
2149 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2150 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2151 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2152 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2153 <bp-asm.h>.
2154 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2155 comments.
2156 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2157 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2158 <bp-asm.h>.
2159 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2160 FIXME comments.
2161 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2162 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2163 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2164 <bp-asm.h>.
2165 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2166 comment.
2167 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2168 and <bp-asm.h>.
2169 (strncmp): Don't use BP_SYM,
2170 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2171 <bp-asm.h>.
2172 (__mpn_sub_n): Don't use BP_SYM.
2173 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2174 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2175 and <bp-asm.h>.
2176 (__mpn_submul_1): Don't use BP_SYM.
2177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2179 <bp-sym.h> and <bp-asm.h>.
2180 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2182 <bp-sym.h> and <bp-asm.h>.
2183 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2184 comment.
2185
8d19fe64
SP
21862013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2187
2188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2189 Use ZK to minimize writes to Z.
2190 (sub_magnitudes): Simplify code a bit.
2191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2192 Use ZK to minimize writes to Z.
2193 (sub_magnitudes): Simplify code a bit.
2194
85bd816a
RM
21952013-02-27 Roland McGrath <roland@hack.frob.com>
2196
2197 * csu/gmon-start.c: Add special exception to license text.
2198
b5977bf2
RH
21992013-02-27 Richard Henderson <rth@redhat.com>
2200
2201 * scripts/config.guess: Update from config.git.
2202 * scripts/config.sub: Likewise.
2203
11d6e2f2
SP
22042013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
09c14ed2
SP
2206 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2207
a688864e
SP
2208 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2209
6295157a
SP
2210 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2211
b8de2202
SP
2212 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2213
11d6e2f2
SP
2214 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2215
7e80ddb8
RM
22162013-02-26 Roland McGrath <roland@hack.frob.com>
2217
2218 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2219 [$(build-shared = yes].
7e80ddb8 2220
7da6d9ed
SP
22212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2222
45f05884
SP
2223 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2224 (__mul): Reduce iterations for calculating mantissa.
2225
2236d359
SP
2226 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2227 MPTWO.
2228 (__mpranred): Likewise.
2229
7da6d9ed
SP
2230 [BZ #15160]
2231 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2232 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2233
b7688c42
PE
22342013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2235
2236 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2237 Define __attribute__.
2238
53a5c423
SP
22392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2240
2241 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2242 unused.
2243 * posix/regex_internal.h (__attribute): Remove.
2244 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2245 (re_string_context_at): Likewise.
2246 (bitset_not): Use __attribute__ and mark function as possibly
2247 unused.
2248 (bitset_merge): Likewise.
2249 (bitset_mask): Likewise.
2250 (re_string_char_size_at): Likewise.
2251 (re_string_wchar_at): Likewise.
2252 (re_string_elem_size_at): Likewise.
2253
60f5a8b5
SP
22542013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2255
2a983a2e
SP
2256 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2257 code.
2258 (cc32): Likewise.
2259
e69804d1
SP
2260 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2261 (__acr): Likewise.
2262 (__cpy): Likewise.
2263 (norm): Likewise.
2264 (denorm): Likewise.
2265 (__dbl_mp): Likewise.
2266 (add_magnitudes): Likewise.
2267 (sub_magnitudes): Likewise.
2268 (__mul): Likewise.
2269 (__inv): Likewise.
2270
2f22a1e8
SP
2271 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2272 style.
2273
8930ddc7
SP
2274 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2275 style.
2276
dc60cb11
SP
2277 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2278 code.
2279
60f5a8b5
SP
2280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2281 up changes with default code.
2282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2283 Likewise.
2284
b4d1fd33
AM
22852013-02-24 Allan McRae <allan@archlinux.org>
2286
faf6f8bc
AM
2287 * manual/socket.texi (The Internet Namespace): Order menu items
2288 to match that in the file.
2289
b4d1fd33
AM
2290 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2291 node listing of the info page menu.
2292
2366713d
JM
22932013-02-21 Joseph Myers <joseph@codesourcery.com>
2294
2295 [BZ #13550]
2296 * sysdeps/i386/bp-asm.h: Remove file.
2297 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2298 (PARMS): Do not use macros from bp-asm.h.
2299 (S1): Likewise.
2300 (S2): Likewise.
2301 (SIZE): Likewise.
2302 (__mpn_add_n): Do not use BP_SYM
2303 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2304 "bp-asm.h".
2305 (PARMS): Do not use macros from bp-asm.h.
2306 (S1): Likewise.
2307 (SIZE): Likewise.
2308 (__mpn_addmul_1): Do not use BP_SYM
2309 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2310 "bp-asm.h".
2311 (PARMS): Do not use macros from bp-asm.h.
2312 (SIGMSK): Likewise.
2313 (_setjmp): Likewise. Do not use BP_SYM.
2314 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2315 "bp-asm.h".
2316 (PARMS): Do not use macros from bp-asm.h.
2317 (SIGMSK): Likewise.
2318 (setjmp): Likewise. Do not use BP_SYM.
2319 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2320 "bp-asm.h".
2321 (PARMS): Do not use macros from bp-asm.h.
2322 (__frexp): Do not use BP_SYM.
2323 (frexp): Likewise.
2324 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2325 "bp-asm.h".
2326 (PARMS): Do not use macros from bp-asm.h.
2327 (__frexpf): Do not use BP_SYM.
2328 (frexpf): Likewise.
2329 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2330 "bp-asm.h".
2331 (PARMS): Do not use macros from bp-asm.h.
2332 (__frexpl): Do not use BP_SYM.
2333 (frexpl): Likewise.
2334 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2335 "bp-asm.h".
2336 (PARMS): Do not use macros from bp-asm.h.
2337 (__remquo): Do not use BP_SYM.
2338 (remquo): Likewise.
2339 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2340 "bp-asm.h".
2341 (PARMS): Do not use macros from bp-asm.h.
2342 (__remquof): Do not use BP_SYM.
2343 (remquof): Likewise.
2344 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2345 "bp-asm.h".
2346 (PARMS): Do not use macros from bp-asm.h.
2347 (__remquol): Do not use BP_SYM.
2348 (remquol): Likewise.
2349 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2350 "bp-asm.h".
2351 (PARMS): Do not use macros from bp-asm.h.
2352 (DEST): Likewise.
2353 (SRC): Likewise.
2354 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2355 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2356 "bp-asm.h".
2357 (PARMS): Do not use macros from bp-asm.h.
2358 (strlen): Do not use BP_SYM.
2359 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2360 "bp-asm.h".
2361 (PARMS): Do not use macros from bp-asm.h.
2362 (S1): Likewise.
2363 (S2): Likewise.
2364 (SIZE): Likewise.
2365 (__mpn_add_n): Do not use BP_SYM.
2366 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2367 "bp-asm.h".
2368 (PARMS): Do not use macros from bp-asm.h.
2369 (S1): Likewise.
2370 (SIZE): Likewise.
2371 (__mpn_addmul_1): Do not use BP_SYM.
2372 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2373 weak_alias.
2374 (bzero): Likewise.
2375 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2376 "bp-asm.h".
2377 (PARMS): Do not use macros from bp-asm.h.
2378 (S): Likewise.
2379 (SIZE): Likewise.
2380 (__mpn_lshift): Do not use BP_SYM.
2381 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2382 "bp-asm.h".
2383 (PARMS): Do not use macros from bp-asm.h.
2384 (DEST): Likewise.
2385 (SRC): Likewise.
2386 (LEN): Likewise.
2387 (memcpy): Likewise. Do not use BP_SYM.
2388 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2389 libc_hidden_def and weak_alias.
2390 (mempcpy): Do not use BP_SYM in weak_alias.
2391 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2392 "bp-asm.h".
2393 (PARMS): Do not use macros from bp-asm.h.
2394 (DEST): Likewise.
2395 (LEN): Likewise.
2396 [!BZERO_P] (CHR): Likewise.
2397 (memset): Likewise. Do not use BP_SYM.
2398 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2399 "bp-asm.h".
2400 (PARMS): Do not use macros from bp-asm.h.
2401 (S1): Likewise.
2402 (SIZE): Likewise.
2403 (__mpn_mul_1): Do not use BP_SYM.
2404 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2405 "bp-asm.h".
2406 (PARMS): Do not use macros from bp-asm.h.
2407 (S): Likewise.
2408 (SIZE): Likewise.
2409 (__mpn_rshift): Do not use BP_SYM.
2410 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2411 "bp-asm.h".
2412 (PARMS): Do not use macros from bp-asm.h.
2413 (STR): Likewise.
2414 (CHR): Likewise.
2415 (strchr): Likewise. Do not use BP_SYM.
2416 (index): Do not use BP_SYM in weak_alias.
2417 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2418 "bp-asm.h".
2419 (PARMS): Do not use macros from bp-asm.h.
2420 (DEST): Likewise.
2421 (SRC): Likewise.
2422 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2423 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2424 "bp-asm.h".
2425 (PARMS): Do not use macros from bp-asm.h.
2426 (strlen): Do not use BP_SYM.
2427 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2428 "bp-asm.h".
2429 (PARMS): Do not use macros from bp-asm.h.
2430 (S1): Likewise.
2431 (S2): Likewise.
2432 (SIZE): Likewise.
2433 (__mpn_sub_n): Do not use BP_SYM.
2434 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2435 "bp-asm.h".
2436 (PARMS): Do not use macros from bp-asm.h.
2437 (S1): Likewise.
2438 (SIZE): Likewise.
2439 (__mpn_submul_1): Do not use BP_SYM.
2440 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2441 "bp-asm.h".
2442 (PARMS): Do not use macros from bp-asm.h.
2443 (S1): Likewise.
2444 (S2): Likewise.
2445 (SIZE): Likewise.
2446 (__mpn_add_n): Do not use BP_SYM.
2447 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2448 weak_alias.
2449 (bzero): Likewise.
2450 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2451 "bp-asm.h".
2452 (PARMS): Do not use macros from bp-asm.h.
2453 (BLK2): Likewise.
2454 (LEN): Likewise.
2455 (memcmp): Do not use BP_SYM.
2456 (bcmp): Do not use BP_SYM in weak_alias.
2457 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2458 "bp-asm.h".
2459 (PARMS): Do not use macros from bp-asm.h.
2460 (DEST): Likewise.
2461 (SRC): Likewise.
2462 (LEN): Likewise.
2463 (memcpy): Likewise. Do not use BP_SYM.
2464 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2465 "bp-asm.h".
2466 (PARMS): Do not use macros from bp-asm.h.
2467 (DEST): Likewise.
2468 (SRC): Likewise.
2469 (LEN): Likewise.
2470 (memmove): Likewise. Do not use BP_SYM.
2471 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2472 "bp-asm.h".
2473 (PARMS): Do not use macros from bp-asm.h.
2474 (DEST): Likewise.
2475 (SRC): Likewise.
2476 (LEN): Likewise.
2477 (__mempcpy): Likewise. Do not use BP_SYM.
2478 (mempcpy): Do not use BP_SYM in weak_alias.
2479 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2480 "bp-asm.h".
2481 (PARMS): Do not use macros from bp-asm.h.
2482 (DEST): Likewise.
2483 (LEN): Likewise.
2484 [!BZERO_P] (CHR): Likewise.
2485 (memset): Likewise. Do not use BP_SYM.
2486 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2487 "bp-asm.h".
2488 (PARMS): Do not use macros from bp-asm.h.
2489 (STR2): Likewise.
2490 (strcmp): Do not use BP_SYM.
2491 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2492 "bp-asm.h".
2493 (PARMS): Do not use macros from bp-asm.h.
2494 (STR): Likewise.
2495 (DELIM): Likewise.
2496 [USE_AS_STRTOK_R] (SAVE): Likewise.
2497 (FUNCTION): Likewise. Do not use BP_SYM.
2498 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2499 aliases.
2500 (strtok_r): Likewise.
2501 (__GI___strtok_r): Likewise.
2502 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2503 (PARMS): Do not use macros from bp-asm.h.
2504 (S): Likewise.
2505 (SIZE): Likewise.
2506 (__mpn_lshift): Do not use BP_SYM.
2507 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2508 (PARMS): Do not use macros from bp-asm.h.
2509 (STR): Likewise.
2510 (CHR): Likewise.
2511 (__memchr): Do not use BP_SYM.
2512 (memchr): Do not use BP_SYM in weak_alias.
2513 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2514 (PARMS): Do not use macros from bp-asm.h.
2515 (BLK2): Likewise.
2516 (LEN): Likewise.
2517 (memcmp): Do not use BP_SYM.
2518 (bcmp): Do not use BP_SYM in weak_alias.
2519 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2520 (PARMS): Do not use macros from bp-asm.h.
2521 (S1): Likewise.
2522 (SIZE): Likewise.
2523 (__mpn_mul_1): Do not use BP_SYM.
2524 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2525 "bp-asm.h".
2526 (PARMS): Do not use macros from bp-asm.h.
2527 (STR): Likewise.
2528 (CHR): Likewise.
2529 (__rawmemchr): Do not use BP_SYM.
2530 (rawmemchr): Do not use BP_SYM in weak_alias.
2531 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2532 (PARMS): Do not use macros from bp-asm.h.
2533 (S): Likewise.
2534 (SIZE): Likewise.
2535 (__mpn_rshift): Do not use BP_SYM.
2536 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2537 (PARMS): Do not use macros from bp-asm.h.
2538 (SIGMSK): Likewise.
2539 (__sigsetjmp): Likewise. Do not use BP_SYM.
2540 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2541 (_start): Do not use BP_SYM.
2542 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2543 (PARMS): Do not use macros from bp-asm.h.
2544 (DEST): Likewise.
2545 (SRC): Likewise.
2546 (__stpcpy): Likewise. Do not use BP_SYM.
2547 (stpcpy): Do not use BP_SYM in weak_alias.
2548 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2549 "bp-asm.h".
2550 (PARMS): Do not use macros from bp-asm.h.
2551 (DEST): Likewise.
2552 (SRC): Likewise.
2553 (LEN): Likewise.
2554 (__stpncpy): Likewise. Do not use BP_SYM.
2555 (stpncpy): Do not use BP_SYM in weak_alias.
2556 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2557 (PARMS): Do not use macros from bp-asm.h.
2558 (STR): Likewise.
2559 (CHR): Likewise.
2560 (strchr): Likewise. Do not use BP_SYM.
2561 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2562 "bp-asm.h".
2563 (PARMS): Do not use macros from bp-asm.h.
2564 (STR): Likewise.
2565 (CHR): Likewise.
2566 (__strchrnul): Likewise. Do not use BP_SYM.
2567 (strchrnul): Do not use BP_SYM in weak_alias.
2568 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2569 "bp-asm.h".
2570 (PARMS): Do not use macros from bp-asm.h.
2571 (STOP): Likewise.
2572 (strcspn): Do not use BP_SYM.
2573 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2574 "bp-asm.h".
2575 (PARMS): Do not use macros from bp-asm.h.
2576 (STR): Likewise.
2577 (STOP): Likewise.
2578 (strpbrk): Likewise. Do not use BP_SYM.
2579 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2580 "bp-asm.h".
2581 (PARMS): Do not use macros from bp-asm.h.
2582 (STR): Likewise.
2583 (CHR): Likewise.
2584 (strrchr): Likewise. Do not use BP_SYM.
2585 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2586 (PARMS): Do not use macros from bp-asm.h.
2587 (SKIP): Likewise.
2588 (strspn): Do not use BP_SYM.
2589 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2590 (PARMS): Do not use macros from bp-asm.h.
2591 (STR): Likewise.
2592 (DELIM): Likewise.
2593 (SAVE): Likewise.
2594 (FUNCTION): Likewise. Do not use BP_SYM.
2595 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2596 aliases.
2597 (strtok_r): Likewise.
2598 (__GI___strtok_r): Likewise.
2599 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2600 (PARMS): Do not use macros from bp-asm.h.
2601 (S1): Likewise.
2602 (S2): Likewise.
2603 (SIZE): Likewise.
2604 (__mpn_sub_n): Do not use BP_SYM.
2605 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2606 "bp-asm.h".
2607 (PARMS): Do not use macros from bp-asm.h.
2608 (S1): Likewise.
2609 (SIZE): Likewise.
2610 (__mpn_submul_1): Do not use BP_SYM.
2611 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2612 <bp-sym.h>.
2613 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2614 and <bp-asm.h>.
2615 (PARMS): Do not use macros from bp-asm.h.
2616 (FLAGS): Likewise.
2617 (PTID): Likewise.
2618 (TLS): Likewise.
2619 (CTID): Likewise.
2620 (__clone): Do not use BP_SYM.
2621 (clone): Do not use BP_SYM in weak_alias.
2622 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2623 and <bp-asm.h>.
2624 (PARMS): Do not use macros from bp-asm.h.
2625 (LEN): Likewise.
2626 (__mmap64): Do not use BP_SYM.
2627 (mmap64): Do not use BP_SYM in weak_alias.
2628 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2629 <bp-sym.h> and <bp-asm.h>.
2630 (PARMS): Do not use macros from bp-asm.h.
2631 (__posix_fadvise64_l64): Do not use BP_SYM.
2632 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2633 (PARMS): Do not use macros from bp-asm.h.
2634 (NSOPS): Likewise.
2635 (semtimedop): Do not use BP_SYM.
2636 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2637 and <bp-asm.h>.
2638
582a3cff
AM
26392013-02-21 Allan McRae <allan@archlinux.org>
2640
2641 * manual/message.texi (Charset conversion in gettext):
2642 Move @end statement to beginning of line.
2643
bab8a695
SP
26442013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2645
80945231
SP
2646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2647 static.
2648 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2649 Likewise.
2650
bab8a695
SP
2651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2652 (denorm): Likewise.
2653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2655
e21d7aa7
AK
26562013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2657
2658 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2659 tail-call to the resolved function if pltexit isn't needed.
2660
4c7a4263
SP
26612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2662
2663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2664 or Y being zero as being unlikely.
2665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2666 Likewise.
2667
41f49342
CD
26682013-02-20 Carlos O'Donell <carlos@redhat.com>
2669
2670 * manual/nss.texi (System Databases and Name Service Switch):
2671 Remove frobnicate @pxref.
2672
50022a93
TS
26732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2674
2675 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2676 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2677
08cbd996
PM
26782013-02-20 Petr Machata <pmachata@redhat.com>
2679
2680 * elf/elf.h (R_ARM_TARGET1): New macro.
2681 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2682 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2683 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2684 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2685 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2686 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2687 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2688 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2689 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2690 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2691 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2692 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2693 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2694 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2695 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2696 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2697 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2698 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2699 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2700 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2701 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2702 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2703 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2704 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2705 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2706 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2707 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2708 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2709 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2710 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2711 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2712 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2713 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2714 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2715 (R_ARM_THM_GOT_BREL12): Likewise.
2716 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2717 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2718 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2719 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2720 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2721 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2722 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2723 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2724 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2725
c7b275d6
TS
27262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2727
2728 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2729 __attribute_used__ to __attribute__ ((unused)).
2730
20cd7fb3
SP
27312013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
2733 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2734 powerpc mpa.c.
2735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2736 comment formatting.
2737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2738
92945b52
JM
27392013-02-19 Joseph Myers <joseph@codesourcery.com>
2740
2741 [BZ #13550]
2742 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2743 Remove macro.
2744 (ENTER): Remove both macro definitions.
2745 (LEAVE): Likewise.
2746 (CHECK_BOUNDS_LOW): Likewise.
2747 (CHECK_BOUNDS_HIGH): Likewise.
2748 (CHECK_BOUNDS_BOTH): Likewise.
2749 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2750 (RETURN_BOUNDED_POINTER): Likewise.
2751 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2752 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2753 (POP_ERRNO_LOCATION_RETURN): Likewise.
2754 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2755 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2756 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2757 macros.
2758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2759 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2760 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2761 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2762 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2763 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2764 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2765 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2766 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2767 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2768 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2769 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2770 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2771 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2772 removed macros.
2773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2774 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2775 macros.
2776 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2777 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2778 * sysdeps/i386/i586/memset.S (memset): Likewise.
2779 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2780 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2781 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2782 macros.
2783 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2784 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2785 Change uses of L(2) to L(out).
2786 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2787 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2788 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2789 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2790 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2791 removed macros.
2792 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2793 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2794 macros.
2795 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2796 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2797 (RETURN): Do not use macro LEAVE.
2798 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2799 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2800 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2801 * sysdeps/i386/i686/memset.S (memset): Likewise.
2802 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2803 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2804 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2805 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2806 Likewise.
2807 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2808 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2809 L(1_2) and L(1_3) into L(1).
2810 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2811 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2812 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2813 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2814 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2815 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2816 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2817 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2818 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2819 macros.
2820 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2821 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2822 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2823 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2824 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2825 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2826 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2827 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2828 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2829 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2830 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2831 * sysdeps/i386/strspn.S (strspn): Likewise.
2832 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2833 conditional code.
2834 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2835 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2836 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2837 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2838 L(1_3) into L(1_1).
2839 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2840 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2841 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2842 macros.
2843 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2844
2389741a
JJ
28452013-02-19 Jakub Jelinek <jakub@redhat.com>
2846
2847 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2848 macro.
2849
2016b3cd
SP
28502013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2851
e4f22324
SP
2852 * math/atest-exp.c (exp_mpn): Remove ROUND.
2853 * math/atest-exp2.c (exp_mpn): Likewise.
2854 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2855
2016b3cd
SP
2856 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2857 * stdlib/tst-tls-atexit-lib.c: Likewise.
2858 * stdlib/tst-tls-atexit.c: Likewise.
2859
4be9b544
MF
28602013-02-18 Mike Frysinger <vapier@gentoo.org>
2861
2862 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2863 and __attribute_alloc_size__.
2864
2f62b9ee
MF
28652013-02-18 Mike Frysinger <vapier@gentoo.org>
2866
2867 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2868 __attribute_alloc_size__.
2869 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2870 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2871
6ff444c4
MF
28722013-02-18 Mike Frysinger <vapier@gentoo.org>
2873
2874 * include/programs/xmalloc.h: New file.
2875 * catgets/gencat.c: Include it.
2876 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2877 * elf/pldd.c: Likewise.
2878 * iconv/iconv_charmap.c: Likewise.
2879 * iconv/iconvconfig.c: Likewise.
2880 * iconv/strtab.c: Likewise.
2881 * locale/programs/locale.c: Likewise.
2882 * locale/programs/localedef.h: Likewise.
2883 * locale/programs/simple-hash.c: Likewise.
2884 * nscd/nscd.h: Likewise.
2885 * nss/makedb.c: Likewise.
2886 * sysdeps/generic/ldconfig.h: Likewise.
2887
be179c8a
SP
28882013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2889
ba384f6e
SP
2890 * Versions.def: Add GLIBC_2.18.
2891 * include/link.h (struct link_map): New member l_tls_dtor_count.
2892 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2893 (__call_tls_dtors): Likewise.
2894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2895 __cxa_thread_atexit_impl.
2896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2897 Likewise.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2899 Likewise.
2900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2901 Likewise.
2902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2903 Likewise.
2904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2908 Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2911 Likewise.
2912 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2913 (tests): Add test case tst-tls-atexit.
2914 (modules-names): Add shared library for tst-tls-atexit.
2915 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2916 (GLIBC_PRIVATE): Add __call_tls_dtors.
2917 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2918 for libstdc++.
2919 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2920 * stdlib/tst-tls-atexit.c: New test case.
2921 * stdlib/tst-tls-atexit-lib.c: New test case.
2922
ffaa74cf 2923 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2924
be179c8a
SP
2925 * elf/Versions (ld): Add _dl_find_dso_for_object.
2926 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2927 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2928 (dl_open_worker): Use _dl_find_dso_for_object.
2929 * elf/dl-sym.c (do_sym): Likewise.
2930 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2931
f78b5caa
AK
29322013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2933
2934 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2935 Syntactic changes only.
2936 (_dl_runtime_profile): Do a tail-call to the resolved function.
2937
29691210
JM
29382013-02-17 Joseph Myers <joseph@codesourcery.com>
2939
2940 [BZ #13550]
2941 * sysdeps/x86_64/bp-asm.h: Remove file.
2942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2943 <bp-sym.h> and <bp-asm.h>.
2944 (__clone): Do not use BP_SYM.
2945 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2946 <bp-sym.h> and <bp-asm.h>.
2947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2948 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2949 "bp-asm.h".
2950 (_setjmp): Do not use BP_SYM.
2951 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2952 "bp-asm.h".
2953 (setjmp): Do not use BP_SYM.
2954 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2955 libc_hidden_def.
2956 (mempcpy): Do not use BP_SYM in weak_alias.
2957 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2958 "bp-asm.h".
2959 (strchr): Do not use BP_SYM.
2960 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2961 "bp-asm.h".
2962 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2963 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2964 (_start): Do not use BP_SYM.
2965 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2966 "bp-asm.h".
2967 (strcat): Do not use BP_SYM.
2968 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2969 "bp-asm.h".
2970 (STRCMP): Do not use BP_SYM.
2971 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2972 "bp-asm.h".
2973 (STRCPY): Do not use BP_SYM.
2974 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2975 "bp-asm.h".
2976 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2977 "bp-asm.h".
2978 (FUNCTION): Do not use BP_SYM.
2979 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2980 weak_alias.
2981 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2982
f238fd19
AJ
29832013-02-17 Andreas Jaeger <aj@suse.de>
2984
2985 * time/Versions: Sort entries.
2986 * string/Versions: Likewise.
2987 * resolv/Versions: Likewise.
2988 * posix/Versions: Likewise.
2989 * iconv/Versions: Likewise.
2990 * elf/Versions: Likewise.
2991 * wcsmbs/Versions: Likewise.
2992
bd07f23c 29932013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2994
22af19f9
SP
2995 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2996 loop termination condition.
2997
4709fe76
SP
2998 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2999 variable to calculate EZ.
3000 (__sqr): Likewise.
2d0e0f29
SP
3001
3002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3003 the lower precision input.
3004
daaa7713
JM
30052013-02-15 Joseph Myers <joseph@codesourcery.com>
3006
3007 [BZ #13550]
3008 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3009 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3010 (run-via-rtld-prefix): Do not handle %-bp tests.
3011 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3012 (all-object-suffixes): Remove .ob.
3013 (bppfx): Remove variable.
3014 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3015 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3016 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3017 [$(build-bounded) = yes] (libtype.ob): Likewise.
3018 * Makerules (elide-routines.ob): Remove variable.
3019 (do-tests-clean): Do not handle *-bp.out.
3020 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3021 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3022 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3023 (tests): Do not include $(tests-bp.out).
3024 (xtests): Do not include $(xtests-bp.out).
3025 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3026 [$(build-bounded) = yes] ($(addprefix
3027 $(objpfx),$(binaries-bounded))): Remove rule.
3028 ($(objpfx)%-bp.out): Remove rule.
3029 * config.make.in (build-bounded): Remove variable.
3030 * crypt/Makefile [$(build-bounded) = yes]
3031 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3032 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3033 append to variable.
3034 [$(build-bounded) = yes] (install-lib): Likewise.
3035 [$(build-bounded) = yes] (generated): Likewise.
3036 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3037 Remove rule.
3038 * intl/Makefile [$(build-bounded) = yes]
3039 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3040 * math/Makefile [$(build-bounded) = yes]
3041 ($(tests:%=$(objpfx)%-bp): Likewise.
3042 * misc/Makefile [$(build-bounded) = yes]
3043 ($(objpfx)tst-tsearch-bp): Likewise.
3044 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3045 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3046 Remove dependency.
3047 * string/Makefile (o-objects.ob): Remove variable.
3048 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3049 (CFLAGS-.ob): Remove variable.
3050 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3051 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3052 both definitions of variable.
3053 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3054 (ASFLAGS-.ob): Remove variable.
3055
e97ed6dd
JM
30562013-02-14 Joseph Myers <joseph@codesourcery.com>
3057
2bdd4ca6
JM
3058 [BZ #13550]
3059 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3060 Remove __BOUNDED_POINTERS__ from condition.
3061 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3062 * string/bits/string2.h [!__NO_STRING_INLINES &&
3063 !__BOUNDED_POINTERS__]: Likewise.
3064 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3065 Likewise.
3066 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3067 Remove conditional code.
3068 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3069 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3070 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3071 condition.
3072
e97ed6dd
JM
3073 [BZ #13550]
3074 * csu/libc-start.c: Do not include <bp-sym.h>.
3075 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3076 * elf/dl-open.c: Do not include <bp-sym.h>.
3077 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3078 * math/fegetenv.c: Do not include <bp-sym.h>.
3079 (fegetenv): Do not use BP_SYM in versioned symbols.
3080 * nptl/sysdeps/pthread/bits/libc-lockP.h
3081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3082 <bp-sym.h>.
3083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3084 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3086 (__pthread_mutex_destroy): Likewise.
3087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3088 (__pthread_mutex_lock): Likewise.
3089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3090 (__pthread_mutex_trylock): Likewise.
3091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3092 (__pthread_mutex_unlock): Likewise.
3093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3094 (__pthread_mutexattr_init): Likewise.
3095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3096 (__pthread_mutexattr_destroy): Likewise.
3097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3098 (__pthread_mutexattr_settype): Likewise.
3099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3100 (__pthread_rwlock_init): Likewise.
3101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3102 (__pthread_rwlock_destroy): Likewise.
3103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3104 (__pthread_rwlock_rdlock): Likewise.
3105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3106 (__pthread_rwlock_tryrdlock): Likewise.
3107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3108 (__pthread_rwlock_wrlock): Likewise.
3109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3110 (__pthread_rwlock_trywrlock): Likewise.
3111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3112 (__pthread_rwlock_unlock): Likewise.
3113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3114 (__pthread_key_create): Likewise.
3115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3116 (__pthread_setspecific): Likewise.
3117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3118 (__pthread_getspecific): Likewise.
3119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3120 Likewise.
3121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3122 (_pthread_cleanup_push_defer): Likewise.
3123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3124 (_pthread_cleanup_pop_restore): Likewise.
3125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3126 (pthread_setcancelstate): Likewise.
3127 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3128 <bp-sym.h>.
3129 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3130 (memchr): Do not use BP_SYM in weak_alias.
3131 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3132 (fegetenv): Do not use BP_SYM in versioned symbols.
3133 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3134 (fesetenv): Do not use BP_SYM in versioned symbols.
3135 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3136 (feupdateenv): Do not use BP_SYM in versioned symbols.
3137 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3138 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3139 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3140 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3141 (open64): Do not use BP_SYM in weak_alias.
3142 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3143 (fegetenv): Do not use BP_SYM in versioned symbols.
3144 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3145 (fesetenv): Do not use BP_SYM in versioned symbols.
3146 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3147 (feupdateenv): Do not use BP_SYM in versioned symbols.
3148 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3149 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3150 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3151 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3152 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3153 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3154 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3155 <bp-sym.h>.
3156 (__libc_start_main): Do not use BP_SYM.
3157
d6752ccd
SP
31582013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3159
cb57ce60
SP
3160 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3161 redundant return line.
3162 (norm): Likewise.
3163 (denorm): Likewise.
3164 (dbl_mp): Likewise.
3165 (sub_magnitudes): Likewise.
3166 (__add): Likewise.
3167 (__sub): Likewise.
3168 (__mul): Likewise.
3169 (__inv): Likewise.
3170 (__dvd): Likewise.
3171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3172 (norm): Likewise.
3173 (denorm): Likewise.
3174 (dbl_mp): Likewise.
3175 (sub_magnitudes): Likewise.
3176 (__add): Likewise.
3177 (__sub): Likewise.
3178 (__mul): Likewise.
3179 (__inv): Likewise.
3180 (__dvd): Likewise.
3181
f414520d
SP
3182 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3183 instead of __mul.
3184 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3185 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3186 (cc32): Likewise.
3187
d6752ccd
SP
3188 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3189 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3190 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3191 of __mul for squares.
3192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3193 function
3194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3195 Likewise.
3196 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3197 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3198
70d9946a
JM
31992013-02-13 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #13550]
3202 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3203 code.
3204 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3205 prototype or function definition. Rename ubp_* variables and
3206 parameters. Remove argv definitions conditional on
3207 [__BOUNDED_POINTERS__].
3208 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3209 * elf/dl-runtime.c (_dl_fixup): Likewise.
3210 * include/set-hooks.h (RUN_HOOK): Likewise.
3211 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3212 definition.
3213 * string/strcpy.c (strcpy): Do not use __unbounded.
3214 * sysdeps/generic/frame.h (struct layout): Likewise.
3215 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3216 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3217 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3218 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3219 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3220 (__backtrace): Likewise.
3221 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3222 use __ptrvalue.
3223 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3224 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3225 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3226 Likewise.
3227 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3228 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3229 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3230 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3231 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3232 Do not use __unbounded.
3233 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3234 Rename __unboundedrlimits parameter to rlimits in prototype.
3235 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3236 Do not use __unbounded.
3237 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3238 not use __ptrvalue.
3239 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3240 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3241 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3242 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3243 __ptrvalue or __unbounded.
3244 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3245 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3246 use __unbounded.
3247 (__new_msgctl): Do not use __ptrvalue.
3248 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3249 __unbounded.
3250 (__libc_msgrcv): Do not use __ptrvalue.
3251 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3252 startup_info): Do not use __unbounded.
3253 (__libc_start_main): Likewise. Rename ubp_* variables and
3254 parameters. Remove argv definitions conditional on
3255 [__BOUNDED_POINTERS__].
3256 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3257 __ptrvalue.
3258 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3259 use __unbounded.
3260 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3261 or __ptrvalue.
3262 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3263 use __unbounded.
3264 (__new_shmctl): Do not use __ptrvalue.
3265 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3266 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3267 Likewise.
3268 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3269 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3270 (__libc_sigaction): Likewise.
3271 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3272 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3273 Likewise.
3274 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3275
cc7834d6
OB
32762013-02-13 Ondřej Bílka <neleai@seznam.cz>
3277
ffb1ec7b 3278 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3279
3280 * string/mempcpy.c: Implement by calling memcpy.
3281
bdf02814
SP
32822013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3283
c2af38aa
SP
3284 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3285
4e92d59e
SP
3286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3287 evaluation.
3288
909279a5
SP
3289 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3290 values in the mantissa.
3291
bdf02814
SP
3292 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3293 minimize writes to Z.
3294 (sub_magnitudes): Simplify code a bit.
3295
cd525923
RM
32962013-02-12 Roland McGrath <roland@hack.frob.com>
3297
3298 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3299 from the message. The linker prefixes all warnings with that already.
3300
7e2f0d2d
AS
33012013-02-12 Andreas Schwab <schwab@suse.de>
3302
a445af0b
AS
3303 [BZ #15078]
3304 * posix/regexec.c (extend_buffers): Add parameter min_len.
3305 (check_matching): Pass minimum needed length.
3306 (clean_state_log_if_needed): Likewise.
3307 (get_subexp): Likewise.
3308 * posix/Makefile (tests): Add bug-regex34.
3309 (bug-regex34-ENV): Define.
3310 * posix/bug-regex34.c: New file.
3311
7e2f0d2d
AS
3312 [BZ #11561]
3313 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3314 elements compare against the byte sequence of it, not its name.
3315 * posix/Makefile (tests): Add bug-regex35.
3316 (bug-regex35-ENV): Define.
3317 * posix/bug-regex35.c: New file.
3318
a175b684
TV
33192013-02-11 Tom de Vries <tom@codesourcery.com>
3320
3321 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3322 comment.
3323 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3324 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3325 (CHECK_EOL): Add undef.
3326
310998fe 33272013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3328
3329 * bits/stdlib-bsearch.h: New file.
3330 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3331 * stdlib/stdlib.h: Likewise.
41eda41d 3332
8ded91fb
RM
33332013-02-11 Roland McGrath <roland@hack.frob.com>
3334
3335 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3336 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3337 declaration.
3338 * manual/search.texi (Array Search Function): Add missing const in
3339 lfind prototype.
3340 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3341 declaration to use rlim_t.
3342 (Basic Scheduling Functions): Remove erroneous const from
3343 sched_getparam prototype. Remove erroneous * from
3344 sched_get_priority_max and sched_get_priority_min prototypes.
3345 (Resource Usage): Fix summary @comment on vtimes to refer to
3346 sys/vtimes.h rather than vtimes.h.
3347 Add missing *s in vtimes prototype.
3348 (Limits on Resources): Fix ulimit prototype to return long int.
3349 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3350 prototypes to use long int rather than double.
3351 (BSD Random): Fix initstate and setstate to use char *, not void *.
3352 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3353 prototype to make second argument 'struct aiocb64 *const[]'.
3354 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3355 (Status of AIO Operations): Remove erroneous const in aio_return and
3356 aio_return64 prototypes.
3357 (Synchronizing I/O): Fix sync prototype to return void.
3358 * manual/startup.texi (Suboptions): Remove an erroneous const in
3359 getsubopt prototype.
3360 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3361 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3362 use size_t rather than int.
3363 (Scanning All Users): Likewise for getpwent_r.
3364 (Setting Groups): Add missing const to setgroups prototype.
3365 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3366 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3367 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3368 'const void *' rather than 'const char *'.
3369 (Host Address Functions): Likewise for inet_ntop.
3370 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3371 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3372 ssize_t for return value.
3373 (Sending Data): Likewise for send, sendto, sendmsg.
3374 (Socket Option Functions): Add a missing const in setsockopt prototype.
3375 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3376 use wchar_t for the argument.
3377 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3378 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3379 take no arguments.
3380 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3381 double/float/long double for second argument.
3382 Fix return types of significand, significandf, significandl.
3383 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3384 argument in fchmod prototype.
3385 (File Owner): Use uid_t and gid_t in fchown prototype.
3386 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3387 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3388 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3389 use 'const struct dirent **' as argument types to CMP function pointer
3390 argument.
3391 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3392 (File Times): Fix summary magic @comment for struct utimbuf and utime
3393 to refer to utime.h, not time.h.
3394 * manual/string.texi (Argz Functions): Add missing const in
3395 argz_extract and argz_next prototypes.
3396 (Finding Tokens in a String): Likewise for basename.
3397 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3398 (Copying and Concatenation): Fix typo in wmemmove prototype.
3399 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3400 (Signal Stack): Remove erroneous const in sigstack prototype.
3401 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3402 prototype.
3403 (Simple Calendar Time): Likewise for stime.
3404 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3405 prototype.
3406 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3407 say sys/sysctl.h instead.
3408 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3409 and vsyslog prototypes.
3410
fe77fe6d
TV
34112013-02-11 Tom de Vries <tom@codesourcery.com>
3412
3413 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3414 Remove.
3415
3a09b620
RM
34162013-02-11 Roland McGrath <roland@hack.frob.com>
3417
3418 * misc/sys/mman.h: Fix typo in mremap comment.
3419
550a0b89
RM
34202013-02-08 Roland McGrath <roland@hack.frob.com>
3421
3422 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3423 the '\0' terminator.
3424
a2da1673
JM
34252013-02-08 Joseph Myers <joseph@codesourcery.com>
3426
3427 [BZ #13550]
3428 * debug/segfault.c: Don't include <bp-checks.h>.
3429 * sysdeps/generic/bp-checks.h: Remove file.
3430 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3431 (__GETDENTS): Don't use CHECK_N.
3432 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3433 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3434 (__getgroups): Don't use CHECK_N.
3435 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3436 (setgroups): Don't use CHECK_N.
3437 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3438 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3439 (__libc_msgrcv): Don't use CHECK_N.
3440 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3441 (__libc_msgsnd): Don't use CHECK_N.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3443 <bp-checks.h>.
3444 (__libc_pread): Don't use CHECK_N.
3445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3446 include <bp-checks.h>.
3447 (__libc_pread64): Don't use CHECK_N.
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3449 include <bp-checks.h>.
3450 (__libc_pwrite): Don't use CHECK_N.
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3452 include <bp-checks.h>.
3453 (__libc_pwrite64): Don't use CHECK_N.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3455 <bp-checks.h>.
3456 (__libc_pread): Don't use CHECK_N.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3458 include <bp-checks.h>.
3459 (__libc_pread64): Don't use CHECK_N.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3461 include <bp-checks.h>.
3462 (__libc_pwrite): Don't use CHECK_N.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3464 include <bp-checks.h>.
3465 (__libc_pwrite64): Don't use CHECK_N.
3466 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3467 (do_pread): Don't use CHECK_N.
3468 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3469 (do_pread64): Don't use CHECK_N.
3470 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3471 (do_pwrite): Don't use CHECK_N.
3472 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3473 (do_pwrite64): Don't use CHECK_N.
3474 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3475 (__libc_readv): Don't use CHECK_N.
3476 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3477 (semop): Don't use CHECK_N.
3478 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3479 <bp-checks.h>.
3480 (semtimedop): Don't use CHECK_N.
3481 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3482 (__libc_pread): Don't use CHECK_N.
3483 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3484 <bp-checks.h>.
3485 (__libc_pread64): Don't use CHECK_N.
3486 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3487 <bp-checks.h>.
3488 (__libc_pwrite): Don't use CHECK_N.
3489 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3490 <bp-checks.h>.
3491 (__libc_pwrite64): Don't use CHECK_N.
3492 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3493 <bp-checks.h>.
3494 (__libc_msgrcv): Don't use CHECK_N.
3495 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3496 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3497 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3498 (__libc_writev): Don't use CHECK_N.
3499
b84660a8
RM
35002013-02-08 Roland McGrath <roland@hack.frob.com>
3501
7f3e75f8
RM
3502 * string/strcpy.c: Removed unused variable.
3503
b84660a8
RM
3504 * Makeconfig (+sysdep-includes): Define with := rather than =.
3505 Use an existing include/ subdir of each sysdeps dir before it.
3506
471514d3
CD
35072013-02-08 Carlos O'Donell <carlos@redhat.com>
3508
3509 * nscd/connection.c (register_traced_file): Comment function.
3510 [HAVE_INOTIFY] (union __inev): Define.
3511 [HAVE_INOTIFY] (inotify_check_files): New function.
3512 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3513 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3514 clear_db_cache.
3515 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3516
b2d3c3be
CD
35172013-02-08 Carlos O'Donell <carlos@redhat.com>
3518
3519 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3520 loaded if not already and that a failure is permanent.
3521
b39949d2
CD
35222013-02-08 Carlos O'Donell <carlos@redhat.com>
3523
ddacd1db 3524 [BZ #15006]
b39949d2
CD
3525 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3526 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3527
b2c9eff4
JM
35282013-02-08 Joseph Myers <joseph@codesourcery.com>
3529
f3aae3f3
JM
3530 [BZ #13550]
3531 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3532 (CHECK_1_NULL_OK): Likewise.
3533 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3534 (__fxstat): Do not use CHECK_1.
3535 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3536 <bp-checks.h>.
3537 (___fxstat64): Do not use CHECK_1.
3538 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3539 <bp-checks.h>.
3540 (__fxstatat): Do not use CHECK_1.
3541 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3542 <bp-checks.h>.
3543 (__fxstatat64): Do not use CHECK_1.
3544 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3545 <bp-checks.h>.
3546 (__fxstat): Do not use CHECK_1.
3547 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3548 <bp-checks.h>.
3549 (__fxstatat): Do not use CHECK_1.
3550 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3551 <bp-checks.h>.
3552 (__getresgid): Do not use CHECK_1.
3553 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3554 <bp-checks.h>.
3555 (__getresuid): Do not use CHECK_1.
3556 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3557 <bp-checks.h>.
3558 (__lxstat): Do not use CHECK_1.
3559 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3560 <bp-checks.h>.
3561 (__old_msgctl): Do not use CHECK_1.
3562 (__new_msgctl): Likewise.
3563 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3564 <bp-checks.h>.
3565 (__new_setrlimit): Do not use CHECK_1.
3566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3567 <bp-checks.h>.
3568 (__old_shmctl): Do not use CHECK_1.
3569 (__new_shmctl): Likewise.
3570 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3571 <bp-checks.h>.
3572 (__xstat): Do not use CHECK_1.
3573 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3574 (__lxstat): Do not use CHECK_1.
3575 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3576 <bp-checks.h>.
3577 (___lxstat64): Do not use CHECK_1.
3578 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3579 (__old_msgctl): Do not use CHECK_1.
3580 (__new_msgctl): Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3582 <bp-checks.h>.
3583 (__gettimeofday): Do not use CHECK_1.
3584 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3585 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3586 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3587 <bp-checks.h>.
3588 (__gettimeofday): Do not use CHECK_1.
3589 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3590 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3591 (__new_shmctl): Do not use CHECK_1.
3592 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3593 <bp-checks.h>.
3594 (do_sigtimedwait): Do not use CHECK_1.
3595 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3596 <bp-checks.h>.
3597 (do_sigwaitinfo): Do not use CHECK_1.
3598 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3599 <bp-checks.h>.
3600 (msgctl): Do not use CHECK_1.
3601 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3602 <bp-checks.h>.
3603 (shmctl): Do not use CHECK_1.
3604 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3605 (ustat): Do not use CHECK_1.
3606 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3607 <bp-checks.h>.
3608 (__fxstat): Do not use CHECK_1.
3609 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3610 <bp-checks.h>.
3611 (__fxstatat): Do not use CHECK_1.
3612 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3613 <bp-checks.h>.
3614 (__lxstat): Do not use CHECK_1.
3615 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3616 <bp-checks.h>.
3617 (__xstat): Do not use CHECK_1.
3618 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3619 (__xstat): Do not use CHECK_1.
3620 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3621 (___xstat64): Do not use CHECK_1.
3622
b2c9eff4
JM
3623 [BZ #13550]
3624 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3625 definitions.
3626 (CHECK_BOUNDS_HIGH): Likewise.
3627 * string/strcpy.c: Do not include <bp-checks.h>.
3628 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3629
f1d70dad
RM
36302013-02-07 Roland McGrath <roland@hack.frob.com>
3631
3632 * nscd/nscd-client.h (__nscd_drop_map_ref):
3633 Add __attribute__ ((unused)).
3634 * nis/nss-nisplus.h (niserr2nss): Likewise.
3635
3636 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3637 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3638
3639 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3640 Remove inline keyword.
3641 * include/rounding-mode.h (round_away): Likewise.
3642 * libio/wfileops.c (adjust_wide_data): Likewise.
3643 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3644 (__m128i_strloadu_tolower): Likewise.
3645 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3646 (__m128i_strloadu_tolower): Likewise.
3647 * time/mktime.c (ydhms_diff): Likewise.
3648 * locale/elem-hash.h (elem_hash): Likewise.
3649 * locale/setlocale.c (setdata): Likewise.
3650 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3651 (re_string_wchar_at): Likewise.
3652 (bitset_not, bitset_merge, bitset_mask): Likewise.
3653 [!(__GNUC__ > 3)] (inline): Remove macro.
3654 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3655 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3656 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3657 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3658 * string/memcmp.c (memcmp_bytes): Likewise.
3659 * locale/programs/locarchive.c (compute_hashval): Likewise.
3660 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3661 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3662 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3663 * nss/getent.c (print_rpc, print_protocols): Likewise.
3664 (print_passwd, print_group, print_aliases): Likewise.
3665 * nis/nss-nisplus.h (niserr2nss): Likewise.
3666 * nscd/connections.c (restart_p): Likewise.
3667 Change return type to bool.
3668
eab55bfb
RM
36692013-02-05 Roland McGrath <roland@hack.frob.com>
3670
7bd642f5
RM
3671 * Makeconfig (all-Depend-files): Add existing
3672 $(sorted-subdirs:=/Depend) files.
3673 (all-subdirs): Remove nss.
3674 * sysdeps/unix/inet/Subdirs: Add it here instead.
3675 * hesiod/Depend: New file.
3676
573c29b2
RM
3677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3678 instead of calling alloca.
3679
b2e25af0
RM
3680 * io/lseek.c (__lseek): Rename to __libc_lseek.
3681 Define __lseek as an alias.
3682
eab55bfb
RM
3683 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3684
9a0d1941
CD
36852013-02-04 Carlos O'Donell <carlos@redhat.com>
3686
3687 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3688 else clause and remove check for non-standard endianness.
3689
b83bbec4
DM
36902013-02-04 David S. Miller <davem@davemloft.net>
3691
3692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3693
6277fdab
JM
36942013-02-04 Joseph Myers <joseph@codesourcery.com>
3695
3696 [BZ #13550]
3697 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3698 (__ubp_memchr): Remove prototype.
3699 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3700 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3701 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3702 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3703 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3704 Remove alias.
3705 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3706 (__ubp_memchr): Likewise.
3707 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3708 (__ubp_memchr): Likewise.
3709 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3710 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3711 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3712 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3713 CHECK_STRING.
3714 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3715 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3716 (__getcwd): Do not use CHECK_STRING.
3717 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3718 <bp-checks.h>.
3719 (__real_chown): Do not use CHECK_STRING.
3720 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3721 <bp-checks.h>.
3722 (fchownat): Do not use CHECK_STRING.
3723 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3724 CHECK_STRING.
3725 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3726 <bp-checks.h>.
3727 (__lchown): Do not use CHECK_STRING.
3728 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3729 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3730 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3731 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3733 include <bp-checks.h>.
3734 (truncate64): Do not use CHECK_STRING.
3735 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3736 <bp-checks.h>.
3737 (__real_chown): Do not use CHECK_STRING.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3739 <bp-checks.h>.
3740 (__lchown): Do not use CHECK_STRING.
3741 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3742 <bp-checks.h>.
3743 (__chown): Do not use CHECK_STRING.
3744 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3745 <bp-checks.h>.
3746 (truncate64): Do not use CHECK_STRING.
3747 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3750 (__xmknod): Do not use CHECK_STRING.
3751 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3752 <bp-checks.h>.
3753 (__xmknodat): Do not use CHECK_STRING.
3754 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3755 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3756
903ae060
AS
37572013-02-04 Andreas Schwab <schwab@suse.de>
3758
3759 [BZ #14142]
3760 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3761 * include/netdb.h: Likewise for h_errno.
3762 * elf/tst-stackguard1.c: Include <tls.h>.
3763
542f9466
JK
37642013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3765
3766 * elf/link.h (struct link_map): Extend the l_addr comment.
3767 * include/link.h (struct link_map): Likewise.
3768
e782a927
JM
37692013-02-01 Joseph Myers <joseph@codesourcery.com>
3770
3771 [BZ #13550]
3772 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3773 (BOUNDED_1): Remove macro.
3774 * debug/backtrace.c: Don't include <bp-checks.h>.
3775 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3776 (__backtrace): Likewise.
3777 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3778 <bp-checks.h>.
3779 (__backtrace): Don't use BOUNDED_1.
3780 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3781 <bp-checks.h>.
3782 (__backtrace): Don't use BOUNDED_1.
3783 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3784 (__backtrace): Don't use BOUNDED_1.
3785 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3786 (shmat): Don't use BOUNDED_N.
3787
8cf28c5e
JM
37882013-01-31 Joseph Myers <joseph@codesourcery.com>
3789
3a7ac8a0
JM
3790 [BZ #13550]
3791 * sysdeps/generic/bp-start.h: Remove file.
3792 * csu/libc-start.c: Don't include <bp-start.h>.
3793 (LIBC_START_MAIN): Set up __environ directly instead of using
3794 INIT_ARGV_and_ENVIRON.
3795 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3796 <bp-start.h>.
3797
f3499f95
JM
3798 [BZ #13550]
3799 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3800 definitions.
3801 (CHECK_FCNTL): Likewise.
3802 (CHECK_N_PAGES): Likewise.
3803
32a45bea
JM
3804 [BZ #13550]
3805 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3806 definitions.
3807 (CHECK_SIGSET_NULL_OK): Likewise.
3808 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3809 <bp-checks.h>.
3810 (sigpending): Don't use CHECK_SIGSET.
3811 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3812 <bp-checks.h>.
3813 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3814 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3815 <bp-checks.h>.
3816 (do_sigsuspend): Don't use CHECK_SIGSET.
3817 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3818 use CHECK_SIGSET.
3819 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3820 (do_sigwait): Don't use CHECK_SIGSET.
3821 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3822 use CHECK_SIGSET.
3823 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3824 include <bp-checks.h>.
3825 (sigpending): Don't use CHECK_SIGSET.
3826 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3827 include <bp-checks.h>.
3828 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3829 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3830 <bp-checks.h>.
3831 (sigpending): Don't use CHECK_SIGSET.
3832 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3833 <bp-checks.h>.
3834 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3835
2e8a5c8c
JM
3836 [BZ #13550]
3837 * sysdeps/generic/bp-semctl.h: Remove file.
3838 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3839 <bp-checks.h> and <bp-semctl.h>.
3840 (__old_semctl): Don't use CHECK_SEMCTL.
3841 (__new_semctl): Likewise.
3842 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3843 and <bp-semctl.h>.
3844 (__old_semctl): Don't use CHECK_SEMCTL.
3845 (__new_semctl): Likewise.
3846 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3847 <bp-checks.h> and <bp-semctl.h>.
3848 (__old_semctl): Don't use CHECK_SEMCTL.
3849 (__new_semctl): Likewise.
3850 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3851 <bp-checks.h> and <bp-semctl.h>.
3852 (semctl): Don't use CHECK_SEMCTL.
3853
c2d54929
JM
3854 [BZ #13550]
3855 * Makerules (elide-bp-thunks): Remove variable.
3856 (elide-routines.oS): Don't use $(elide-bp-thunks).
3857 (elide-routines.os): Likewise.
3858 (elide-routines.o): Likewise.
3859 (elide-routines.op): Likewise.
3860 (elide-routines.og): Likewise.
3861 (objects): Don't use $(bp-thunks).
3862 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3863 include.
3864 (common-generated): Do not add s-proto-bp.d.
3865 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3866 (int): Likewise.
3867 (typ): Likewise.
3868 Do not generate makefile rules for bounded-pointer thunks.
3869 * sysdeps/generic/bp-thunks.h: Remove file.
3870 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3871 * sysdeps/unix/s-proto-bp.S: Likewise.
3872
8cf28c5e
JM
3873 [BZ #15062]
3874 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3875 parts of result separately when argument is not close to line from
3876 -i to i and one part of argument is small.
3877 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3878 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3879 * math/libm-test.inc (cacos_test): Add more tests.
3880 (casin_test): Likewise.
3881 (casinh_test): Likewise.
3882 * sysdeps/i386/fpu/libm-test-ulps: Update.
3883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3884
c4e33b8d
DM
38852013-01-31 David S. Miller <davem@davemloft.net>
3886
3887 * po/de.po: Update from translation team.
3888
3b60b421
MK
38892013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3890
3891 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3892
bb931195
TS
38932013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3894
b5a5da23
TS
3895 * configure.in (_AC_PROG_CC_C89): New definition.
3896 * configure: Regenerate.
3897
bb931195
TS
3898 * configure.in (AC_PROG_CPP): New definition.
3899 * configure: Regenerate.
3900
8c53a12c
JM
39012013-01-23 Joseph Myers <joseph@codesourcery.com>
3902
3903 * debug/tst-backtrace.h: New file.
3904 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3905 (ret): Remove variable.
3906 (x): Likewise.
3907 (FAIL): Remove macro.
3908 (NO_INLINE): Likewise.
3909 (fn1): Use match function instead of strstr.
3910 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3911 (ret): Remove variable.
3912 (x): Likewise.
3913 (FAIL): Remove macro.
3914 (NO_INLINE): Likewise.
3915 (fn): Use match function instead of strstr.
3916 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3917 (ret): Remove variable.
3918 (x): Likewise.
3919 (FAIL): Remove macro.
3920 (NO_INLINE): Likewise.
3921 (handle_signal): Use match function instead of strstr.
3922 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3923 (ret): Remove variable.
3924 (x): Likewise.
3925 (FAIL): Remove macro.
3926 (NO_INLINE): Likewise.
3927 (handle_signal): Use match function instead of strstr.
3928
4858fa2a
RM
39292013-01-23 Roland McGrath <roland@hack.frob.com>
3930
3931 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3932
bae8e7f5
DM
39332013-01-23 David S. Miller <davem@davemloft.net>
3934
3935 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3936 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3937 argument of CAS if possible.
3938 * sysdeps/sparc/sparc64/bits/atomic.h
3939 (__arch_compare_and_exchange_val_32_acq): Likewise.
3940 (__arch_compare_and_exchange_val_64_acq): Likewise.
3941
9cbbc4ae
PT
39422013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3943
3944 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3945 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3946 Include <limits.h>.
67b3f58c 3947 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3948
5655a0b5
AC
39492013-01-23 Adam Conrad <adconrad@0c3.net>
3950
3951 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3952 (LDFLAGS-tst-array5): Likewise.
3953
052aff95
JM
39542013-01-23 Joseph Myers <joseph@codesourcery.com>
3955
3956 [BZ #15036]
3957 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3958 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3959 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3960 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3961
7c1e01aa
DM
39622013-01-21 David S. Miller <davem@davemloft.net>
3963
3964 * sysdeps/sparc/backtrace.c: New file.
3965 * sysdeps/sparc/sparc32/backtrace.h: New file.
3966 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3967 * sysdeps/sparc/sparc64/backtrace.h: New file.
3968 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3969 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3970 -funwind-tables.
3971
ab087e0a
AS
39722013-01-21 Andreas Schwab <schwab@suse.de>
3973
3974 [BZ #15020]
3975 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3976 closed its stdout.
3977
ed689c2f
AS
39782013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3979
3980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3981 "mpa2.h".
3982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3983
31d470ac
JM
39842013-01-18 Joseph Myers <joseph@codesourcery.com>
3985 Mark Mitchell <mark@codesourcery.com>
3986 Tom de Vries <tom@codesourcery.com>
3987 Paul Pluzhnikov <ppluzhnikov@google.com>
3988
3989 * debug/tst-backtrace2.c: New file.
3990 * debug/tst-backtrace3.c: Likewise.
3991 * debug/tst-backtrace4.c: Likewise.
3992 * debug/tst-backtrace5.c: Likewise.
3993 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3994 (CFLAGS-tst-backtrace3.c): Likewise.
3995 (CFLAGS-tst-backtrace4.c): Likewise.
3996 (CFLAGS-tst-backtrace5.c): Likewise.
3997 (LDFLAGS-tst-backtrace2): Likewise.
3998 (LDFLAGS-tst-backtrace3): Likewise.
3999 (LDFLAGS-tst-backtrace4): Likewise.
4000 (LDFLAGS-tst-backtrace5): Likewise.
4001 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4002 tst-backtrace4 and tst-backtrace5.
4003
90567f30 40042013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4005 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4006
4007 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4008 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4009 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4010 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4012 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4013 "+r" and remove output regs list as redundant. Add explicit inline
4014 asm to specify register of return val to work around compiler codegen
4015 bug. Remove (int) cast on return value. Add return type parameter to
4016 use in macro so that this macro does not truncate return value for
4017 64-bit values.
4018 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4019 pass to INTERNAL_VSYSCALL_NCS.
4020 (INLINE_VSYSCALL): Add 'long int' as return type to
4021 INTERNAL_VSYSCALL_NCS macro invocation.
4022 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4023 INTERNAL_VSYSCALL_NCS macro invocation.
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4025
d3b9ea61
SP
40262013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
0b57daeb
SP
4028 [BZ #14496]
4029 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4030 Fix application of SIMD FP exception mask.
4031
caa99d06
SP
4032 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4033 mp_no from a power of two.
4034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4035 __mpexp_twomm1. Use __pow_mp.
4036
d3b9ea61
SP
4037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4038 multiplication.
4039
1dbaee3c
DM
40402013-01-17 David S. Miller <davem@davemloft.net>
4041
4042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4043
728d7b43
JM
40442013-01-17 Joseph Myers <joseph@codesourcery.com>
4045
4046 [BZ #15023]
4047 * include/complex.h: Condition contents on [!_COMPLEX_H].
4048 (__kernel_casinhf): New prototype.
4049 (__kernel_casinh): Likewise.
4050 (__kernel_casinhl): Likewise.
4051 * math/Makefile (libm_calls): Add k_casinh.
4052 * math/k_casinh.c: New file.
4053 * math/k_casinhf.c: Likewise.
4054 * math/k_casinhl.c: Likewise.
4055 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4056 finite nonzero arguments.
4057 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4058 finite nonzero arguments.
4059 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4060 finite nonzero arguments.
4061 * math/s_casinh.c: Do not include <float.h>.
4062 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4063 * math/s_casinhf.c: Do not include <float.h>.
4064 (__casinhf): Move code for finite nonzero arguments to
4065 k_casinhf.c.
4066 * math/s_casinhl.c: Do not include <float.h>.
4067 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4068 redefine.
4069 (__casinhl): Move code for finite nonzero arguments to
4070 k_casinhl.c.
4071 * math/libm-test.inc (cacos_test): Add more tests.
4072 * sysdeps/i386/fpu/libm-test-ulps: Update.
4073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074
2a26ef3a
PT
40752013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4076
4077 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4078 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4079 [!HAVE_MREMAP]: Remove [defined linux] case.
4080 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4081
a897655d
SP
40822013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4083
4084 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4085
881ebe89 40862013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4087
4088 * elf/elf.h (R_386_SIZE32): New relocation.
4089 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4090 R_386_SIZE32.
4091 (elf_machine_rela): Likewise.
4092 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4093 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4094
59981e9b
JM
40952013-01-17 Joseph Myers <joseph@codesourcery.com>
4096
4097 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4098 (FP_FAST_FMA): Do not define.
4099 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4100 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4101 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4102 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4103 !_SOFT_FLOAT]: Likewise.
4104 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4105 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4106 value.
4107 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4108 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4109 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4110 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4111 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4112 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4113 file.
4114
cfa8054f
AS
41152013-01-16 Andreas Schwab <schwab@suse.de>
4116
4117 [BZ #14327]
4118 * include/stdlib.h (__mktemp): Add declaration.
4119 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4120 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4121
dd930cc5
SP
41222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4123
881ebe89
SP
4124 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4125 definitions.
4126 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4127 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4128 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4129 definitions here.
4130 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4131 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4132 definitions.
4133 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4134 and ONE.
4135 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4136 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4137 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4138 definitions.
4139 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4140 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4141 definitions.
4142 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4143
dd930cc5
SP
4144 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4145
c19a9f89
DM
41462013-01-15 David S. Miller <davem@davemloft.net>
4147
1aa61767
DM
4148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4149 trunc{,f} to libm-sysdep_routes.
4150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4152 file.
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4155 file.
4156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4157 file.
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4160 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4161 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4162 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4163 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4164 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4165 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4166
c42d5e98
DM
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4168 nearbyint{,f} to libm-sysdep_routes.
4169 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4171 New file.
4172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4173 file.
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4175 New file.
4176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4177 file.
4178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4181 file.
4182 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4184 file.
4185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4186 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4187 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4188
c19a9f89
DM
4189 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4190 libc_feholdexcept and libc_fesetenv.
4191
357679d2
MF
41922013-01-15 Mike Frysinger <vapier@gentoo.org>
4193
4194 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4195
65a82e3d
DM
41962013-01-14 David S. Miller <davem@davemloft.net>
4197
8b954ab9
DM
4198 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4199 (SPARC_ASM_VIS2_IFUNC): Likewise.
4200 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4202 use of 'siam' instruction.
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4204 Likewise.
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4206 Likewise.
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4208 Likewise.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4214 file.
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4216 file.
4217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4218 file.
4219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4220 file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4226 new VIS2 routines.
4227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4230 Likewise.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4236 routines to libm-sysdep_routines.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4238
65a82e3d
DM
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4240 fdim/fdimf to libm-sysdep_routines.
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4242 file.
4243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4245 file.
4246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4249 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4250 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4251 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4252 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4253
e34ab705
SP
42542013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4255
2a91b573
SP
4256 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4257 to optimize copies.
4258
1066a534
SP
4259 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4262
e34ab705
SP
4263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4264 local variable MPTWO.
4265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4266 Likewise.
4267
aba5e596
MF
42682013-01-13 Mike Frysinger <vapier@gentoo.org>
4269
4270 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4271 GLOB_NOESCAPE.
4272
e557e9e5
MF
42732013-01-13 Mike Frysinger <vapier@gentoo.org>
4274
4275 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4276
0428cec9
MF
42772013-01-13 Mike Frysinger <vapier@gentoo.org>
4278
4279 * manual/pattern.texi (glob_t): Document gl_flags.
4280 (glob64_t): Likewise.
4281
8794a964
DM
42822013-01-11 David S. Miller <davem@davemloft.net>
4283
66438c3f
RM
4284 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4285 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4286 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4287 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4288 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4289 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4290 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4291 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4292 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4293 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4294 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4295 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4296 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4297
4ae4244d
DM
4298 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4299 sparc V9 rather than using V8 code.
4300 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4301 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4302
8794a964
DM
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4304 Move to...
4305 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4306 Here.
4307
6270516e
RM
43082013-01-11 Roland McGrath <roland@hack.frob.com>
4309
4310 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4311 not in the main loop.
4312 * configure: Regenerated.
4313
6a57d931
JM
43142013-01-11 Joseph Myers <joseph@codesourcery.com>
4315
4316 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4317 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4318 to just #else.
4319 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4320 [!__GLIBC_HAVE_LONG_LONG] case.
4321 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4322 condition to just #else.
4323 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4324 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4325 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4326 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4327 unconditional.
4328 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4329 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4330 #elif condition to just #else.
4331 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4332 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4333 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4334 #elif condition to just #else.
4335
0e8529e9
SE
43362013-01-11 Steve Ellcey <sellcey@mips.com>
4337
4338 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4339 (EF_MIPS_ARCH_64): Fix value.
4340 (EF_MIPS_ARCH_32R2): New.
4341 (EF_MIPS_ARCH_64R2): New.
4342
740b3dbe
L
43432013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4344
4345 * Makeconfig (+link-pie-before-libc): New.
4346 (+link-pie-after-libc): Likewise.
4347 (+link-pie-tests): Likewise.
4348 (+link-pie): Rewritten.
4349 (link-before-libc): Remove $(config-LDFLAGS).
4350 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4351 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4352 (config-LDFLAGS): Renamed to ...
4353 (rtld-LDFLAGS): This.
4354 (rtld-tests-LDFLAGS): New macro.
4355 (link-libc-rpath-link): Likewise.
4356 (link-libc-tests-rpath-link): Likewise.
4357 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4358 (link-libc): Prepand $(link-libc-rpath-link).
4359 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4360 (test-program-prefix): New macro.
4361 (test-via-rtld-prefix): Likewise.
4362 (test-program-cmd): Likewise.
4363 (host-test-program-cmd): Likewise.
4364 * Makefile ($(common-objpfx)testrun.sh): Replace
4365 $(run-program-prefix) with $(test-program-prefix).
4366 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4367 $(rtld-LDFLAGS).
4368 ($(common-objpfx)shlib.lds): Likewise.
4369 (build-module-helper): Likewise.
4370 ($(common-objpfx)format.lds): Likewise.
4371 * Rules (binaries-pie-tests): New.
4372 (binaries-pie-notests): Likewise.
4373 (binaries-pie): Rewritten.
4374 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4375 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4376 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4377 (make-test-out): Replace $(host-built-program-cmd) with
4378 $(host-test-program-cmd).
4379 * config.make.in (build-hardcoded-path-in-tests): New variable.
4380 * configure.in (--enable-hardcoded-path-in-tests): New configure
4381 option.
4382 (hardcoded_path_in_tests): New AC_SUBST.
4383 * configure: Regenerated.
4384 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4385 $(built-program-cmd) with $(test-program-cmd).
4386 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4387 (test_program_cmd): This.
4388 * elf/Makefile ($(objpfx)order.out): Run test with
4389 $(test-program-prefix).
4390 ($(objpfx)order2.out): Likewise.
4391 ($(objpfx)tst-initorder.out): Likewise.
4392 ($(objpfx)tst-initorder2.out): Likewise.
4393 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4394 $(test-program-cmd).
4395 ($(objpfx)tst-array1-static.out): Likewise.
4396 ($(objpfx)tst-array2.out): Likewise.
4397 ($(objpfx)tst-array3.out): Likewise.
4398 ($(objpfx)tst-array4.out): Likewise.
4399 ($(objpfx)tst-array5.out): Likewise.
4400 ($(objpfx)tst-array5-static.out): Likewise.
4401 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4402 $(test-program-cmd).
4403 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4404 $(run-program-prefix) with $(test-program-prefix).
4405 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4406 (test_program_prefix): This.
4407 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4408 $(run-program-prefix) with $(test-program-prefix).
4409 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4410 (test_program_prefix): This.
4411 * iconvdata/tst-tables.sh: Likewise.
4412 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4413 $(run-program-prefix) with $(test-program-prefix).
4414 ($(objpfx)tst-translit.out): Likewise.
4415 ($(objpfx)tst-gettext2.out): Likewise.
4416 ($(objpfx)tst-gettext4.out): Likewise.
4417 ($(objpfx)tst-gettext6.out): Likewise.
4418 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4419 (test_program_prefix): This.
4420 * intl/tst-gettext2.sh: Likewise.
4421 * intl/tst-gettext4.sh Likewise.
4422 * intl/tst-gettext6.sh: Likewise.
4423 * intl/tst-translit.sh: Likewise.
4424 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4425 with $(test-program-cmd).
4426 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4427 $(run-program-prefix) with $(test-program-prefix).
4428 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4429 (test_program_prefix): This.
4430 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4431 $(run-program-prefix) with $(test-program-prefix).
4432 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4433 (test_program_prefix): This.
4434 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4435 * posix/Makefile ($(objpfx)globtest.out): Replace
4436 $(run-via-rtld-prefix) and $(test-wrapper) with
4437 $(test-program-prefix) and $(test-via-rtld-prefix).
4438 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4439 $(test-program-prefix).
4440 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4441 $(host-test-program-cmd).
4442 (tst-spawn-ARGS): Likewise.
4443 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4444 $(test-program-prefix).
4445 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4446 (test_via_rtld_prefix): This.
4447 (test_wrapper): Renamed to ...
4448 (test_program_prefix): This.
4449 (run_program_prefix): Replaced by test_program_prefix.
4450 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4451 (test_program_prefix): This.
4452 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4453 with $(host-test-program-cmd).
4454 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4455 $(run-program-prefix) with $(test-program-prefix).
4456 ($(objpfx)tst-printf.out): Likewise.
4457 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4458 $(test-program-cmd).
4459 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4460 (test_program_prefix): This.
4461 * stdio-common/tst-unbputc.sh: Likewise.
4462 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4463 $(run-program-prefix) with $(test-program-prefix).
4464 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4465 (test_program_prefix): This.
4466 * string/Makefile ($(objpfx)tst-svc.out): Replace
4467 $(built-program-cmd) with $(test-program-cmd).
4468
c6fe55cf
AJ
44692013-01-11 Andreas Jaeger <aj@suse.de>
4470
4471 [BZ #15003]
4472 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4473 value. Sync with Linux 3.7.
4474
9e6919c8
DM
44752013-01-10 David S. Miller <davem@davemloft.net>
4476
4477 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4478 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4479 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4480
1c9f1a02
RM
44812013-01-10 Roland McGrath <roland@hack.frob.com>
4482
4483 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4484 never set.
4485 * configure: Regenerated.
4486
b9de2dde
DM
44872013-01-10 David S. Miller <davem@davemloft.net>
4488
4489 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4490 sparc V9 rather than using V8 code.
4491 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4492 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4493
e7f68ef4
RM
44942013-01-10 Roland McGrath <roland@hack.frob.com>
4495
4496 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4497 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4498 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4499 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4500 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4501 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4502 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4503 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4504 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4505 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4506 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4507 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4508 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4509 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4510 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4511 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4512 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4513 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4514 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4515 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4516 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4517 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4518 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4519 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4520 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4521 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4522 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4523
5a47cc9c
DM
45242013-01-10 David S. Miller <davem@davemloft.net>
4525
4526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4527
4cf8f209
L
45282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4529
4530 * posix/Makefile (tests-static): New variable.
4531 (tests): Add $(tests-static).
4532 (tst-exec-static-ARGS): New variable.
4533 (tst-spawn-static-ARGS): Likewise.
4534 * posix/tst-exec-static.c: New file.
4535 * posix/tst-spawn-static.c: Likewise.
4536 * posix/tst-exec.c: Support run directly.
4537 * posix/tst-spawn.c: Likewise.
4538
fed0faa1
JM
45392013-01-10 Joseph Myers <joseph@codesourcery.com>
4540
828beb13
JM
4541 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4542 long.
4543 * math/bits/mathcalls.h (llrint): Likewise.
4544 (llround): Likewise.
4545 * stdlib/stdlib.h (struct drand48_data): Likewise.
4546 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4547 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4548 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4549 Likewise.
4550 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4551 Likewise.
4552 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4553 (elf_greg_t): Likewise.
4554 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4555 (__jmp_buf): Likewise.
4556 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4557 definitions.
4558 (llrint): Likewise, for all definitions.
4559 (llrintl): Likewise.
4560
fed0faa1
JM
4561 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4562 Remove [__GNUC__] condition.
4563 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4564 condition to just [__USE_ISOC99].
4565 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4566
1a20cb20
L
45672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4568
4569 [BZ #14200]
4570 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4571 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4572 defined.
4573 (_POSIX_V6_ILP32_OFF32): Likewise.
4574 (_XBS5_ILP32_OFF32): Likewise.
4575 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4576 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4577
751b85f7
SP
45782013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4579
7490eb81
SP
4580 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4581
751b85f7
SP
4582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4583 doubles __mpexp_twomm1. Adjust usage.
4584 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4585 Remove.
4586
988197f0
AS
45872013-01-10 Andreas Schwab <schwab@suse.de>
4588
4589 [BZ #14964]
4590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4591 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4592
e83d7298
DM
45932013-01-09 David S. Miller <davem@davemloft.net>
4594
034ed64b 4595 [BZ #15003]
e83d7298
DM
4596 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4597 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4598 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4599 TCP_FASTOPEN): Define.
4600 (tcp_repair_opt): New structure.
4601 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4602 enum values.
4603 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4604 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4605 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4606 (tcp_cookie_transactions): New structure.
4607
d5e0b9bd
AB
46082013-01-09 Anton Blanchard <anton@samba.org>
4609
4610 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4611 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4612 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4614
0c07e3ea
JM
46152013-01-09 Joseph Myers <joseph@codesourcery.com>
4616
4617 * include/features.h (__USE_ANSI): Remove.
4618
232f7002
RM
46192013-01-09 Roland McGrath <roland@hack.frob.com>
4620
ad98e30c
RM
4621 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4622
232f7002
RM
4623 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4624
950c99ca
SP
46252013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4626
b5792741
SP
4627 * sysdeps/s390/fpu/libm-test-ulps: Update.
4628
47cf2278
SP
4629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4630
950c99ca
SP
4631 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4632 (__acr): Likewise.
4633 (__cpy): Likewise.
4634 (norm): Likewise.
4635 (denorm): Likewise.
4636 (__mp_dbl): Likewise.
4637 (__dbl_mp): Likewise.
4638 (add_magnitudes): Likewise.
4639 (sub_magnitudes): Likewise.
4640 (__add): Likewise.
4641 (__sub): Likewise.
4642 (__mul): Likewise.
4643 (__inv): Likewise.
4644 (__dvd): Likewise.
4645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4646 (__acr): Likewise.
4647 (__cpy): Likewise.
4648 (norm): Likewise.
4649 (denorm): Likewise.
4650 (__mp_dbl): Likewise.
4651 (__dbl_mp): Likewise.
4652 (add_magnitudes): Likewise.
4653 (sub_magnitudes): Likewise.
4654 (__add): Likewise.
4655 (__sub): Likewise.
4656 (__mul): Likewise.
4657 (__inv): Likewise.
4658 (__dvd): Likewise.
4659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4660 (__acr): Likewise.
4661 (__cpy): Likewise.
4662 (norm): Likewise.
4663 (denorm): Likewise.
4664 (__mp_dbl): Likewise.
4665 (__dbl_mp): Likewise.
4666 (add_magnitudes): Likewise.
4667 (sub_magnitudes): Likewise.
4668 (__add): Likewise.
4669 (__sub): Likewise.
4670 (__mul): Likewise.
4671 (__inv): Likewise.
4672 (__dvd): Likewise.
4673
eede9df9
JM
46742013-01-08 Joseph Myers <joseph@codesourcery.com>
4675
4676 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4677 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4678 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4679 2 && __USE_EXTERN_INLINES]: Likewise.
4680
c40ea3d9
AJ
46812013-01-08 Andreas Jaeger <aj@suse.de>
4682
4683 [BZ# 14985]
4684 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4685 Remove.
4686 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4687 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4688
2ccdea26
AB
46892013-01-07 Anton Blanchard <anton@samba.org>
4690
4691 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4692 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4693 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4694 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4695 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4696 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4697 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4698 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4700 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4701 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4702 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4703 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4704 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4709 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4710 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4711 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4713 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4714 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4715 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4716 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4717 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4718 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4720 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4721 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4723 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4724 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4725 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4727 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4728 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4729 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4730 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4733 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4734
a9708fed
JM
47352013-01-07 Joseph Myers <joseph@codesourcery.com>
4736
375607b9
JM
4737 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4738 (__MALLOC_PMT): Likewise.
4739 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4740 [__GNUC__], only on [_LIBC].
4741 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4742 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4743 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4744 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4745 forward declaration.
4746 (realloc_hook_ini): Likewise.
4747 (memalign_hook_ini): Likewise.
4748 (__libc_memalign): Do not use __MALLOC_PMT in variable
4749 declaration.
4750 (__libc_valloc): Likewise.
4751 (__libc_pvalloc): Likewise.
4752 (__libc_calloc): Likewise.
4753 (__posix_memalign): Likewise.
4754
a9708fed
JM
4755 [BZ #14996]
4756 * math/s_casinh.c: Include <float.h>.
4757 (__casinh): Do not do computation with squaring and square root
4758 for large arguments.
4759 * math/s_casinhf.c: Include <float.h>.
4760 (__casinhf): Do not do computation with squaring and square root
4761 for large arguments.
4762 * math/s_casinhl.c: Include <float.h>.
4763 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4764 (__casinhl): Do not do computation with squaring and square root
4765 for large arguments.
4766 * math/libm-test.inc (casin_test): Add more tests.
4767 (casinh_test): Likewise.
4768 * sysdeps/i386/fpu/libm-test-ulps: Update.
4769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4770
afec409a
L
47712013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4772
4773 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4774 (__x86_64_raw_data_cache_size): Likewise.
4775 (__x86_64_data_cache_size_half): Likewise.
4776 (__x86_64_raw_data_cache_size_half): Likewise.
4777 (__x86_64_shared_cache_size): Likewise.
4778 (__x86_64_raw_shared_cache_size): Likewise.
4779 (__x86_64_shared_cache_size_half): Likewise.
4780 (__x86_64_raw_shared_cache_size_half): Likewise.
4781 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4782 to ...
4783 (__x86_data_cache_size): This.
4784 (__x86_64_raw_data_cache_size): Renamed to ...
4785 (__x86_raw_data_cache_size): This.
4786 (__x86_64_data_cache_size_half): Renamed to ...
4787 (__x86_data_cache_size_half): This.
4788 (__x86_64_raw_data_cache_size_half): Renamed to ...
4789 (__x86_raw_data_cache_size_half): This.
4790 (__x86_64_shared_cache_size): Renamed to ...
4791 (__x86_shared_cache_size): This.
4792 (__x86_64_raw_shared_cache_size): Renamed to ...
4793 (__x86_raw_shared_cache_size): This.
4794 (__x86_64_shared_cache_size_half): Renamed to ...
4795 (__x86_shared_cache_size_half): This.
4796 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4797 (__x86_raw_shared_cache_size_half): This.
4798 * sysdeps/x86_64/memcpy.S: Updated.
4799 * sysdeps/x86_64/memset.S: Likewise.
4800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4801 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4802 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4803
0b3986d0
DM
48042013-01-04 David S. Miller <davem@davemloft.net>
4805
4806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4807
e47686e9
AS
48082013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4809
d643bac1
AS
4810 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4811 1 to avoid redefinition warning.
4812 (__USE_GNU): Don't define.
4813 (init_signaling_nan): Protoize.
4814
e47686e9
AS
4815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4816
b18decba
SP
48172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4818
fffb407f
SP
4819 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4821 (__cpymn): Likewise.
4822 (norm): Remove commented code.
4823 (denorm): Likewise.
4824 (__mp_dbl): Likewise.
4825 (__inv): Likewise.
4826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4827 (__cpymn): Likewise.
4828 (norm): Remove commented code.
4829 (denorm): Likewise.
4830 (__mp_dbl): Likewise.
4831 (__inv): Likewise.
4832
b18decba
SP
4833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4834 mp_no value for 1.0 and 2.0.
4835 (norm): Use RADIXI instead of radixi.d.
4836 (denorm): Likewise.
4837 (__mul): Use 0.0 instead of zero.d.
4838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4839 mp_no value for 1.0 and 2.0.
4840 (norm): Use RADIXI instead of radixi.d.
4841 (denorm): Likewise.
4842 (__mul): Use 0.0 instead of zero.d.
4843
cdc1c96f
JM
48442013-01-04 Joseph Myers <joseph@codesourcery.com>
4845
4846 [BZ #14994]
4847 * math/s_casinh.c (__casinh): Reduce finite argument to first
4848 quadrant then set signs of results at the end.
4849 * math/s_casinhf.c (__casinhf): Likewise.
4850 * math/s_casinhl.c (__casinhl): Likewise.
4851 * math/libm-test.inc (casin_test): Add more tests.
4852 (casinh_test): Likewise.
4853 * sysdeps/i386/fpu/libm-test-ulps: Update.
4854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4855
302913e1
SP
48562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4857
6420d207
SP
4858 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4859
a9e48ab4
SP
4860 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4861
b7837264
SP
4862 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4863 declarations.
4864 (denorm): Likewise.
4865 (__mp_dbl): Likewise.
4866 (__inv): Likewise.
4867
f8af25d2
SP
4868 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4869 and adjust the header comment.
4870
302913e1
SP
4871 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4872 variable name from declaration.
4873
5d7dd1ca
L
48742013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4877 Initialize COMMON_CPUID_INDEX_7 element.
4878 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4879 (CPUID_RTM): Likewise.
4880 (HAS_RTM): Likewise.
4881 (COMMON_CPUID_INDEX_7): New enum.
4882
2f5f40f4
AS
48832013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4884
4885 [BZ #14981]
4886 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4887 size is zero, record memory as freed.
4888
4056f4a0
AJ
48892013-01-03 Andreas Jaeger <aj@suse.de>
4890
4891 * po/ia.po: Add new Interlingua translation.
4892
ab15736f 48932012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4894
4895 * locale/programs/localedef.c: Fix description of '--posix' flag.
4896
568035b7
JM
48972013-01-02 Joseph Myers <joseph@codesourcery.com>
4898
e6898b8d
JM
4899 * NEWS: Update dates in second copyright notice.
4900 * README: Update copyright dates in example.
4901 * manual/libc.texinfo: Update copyright dates.
4902 * scripts/test-installation.pl: Update copyright date in --version
4903 output.
4904
0e2f9562
JM
4905 * hurd/ctty-input.c: Fix copyright notice formatting.
4906 * hurd/ctty-output.c: Likewise.
4907 * hurd/dtable.c: Likewise.
4908 * hurd/hurd-raise.c: Likewise.
4909 * hurd/hurdprio.c: Likewise.
4910 * hurd/msgportdemux.c: Likewise.
4911 * misc/sys/file.h: Likewise.
4912 * misc/sys/ioctl.h: Likewise.
4913 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4914 * sysdeps/mach/hurd/chdir.c: Likewise.
4915 * sysdeps/mach/hurd/fchdir.c: Likewise.
4916 * sysdeps/mach/hurd/rename.c: Likewise.
4917 * sysdeps/mach/hurd/rmdir.c: Likewise.
4918 * sysdeps/mach/hurd/seekdir.c: Likewise.
4919 * sysdeps/mach/hurd/setsid.c: Likewise.
4920 * sysdeps/posix/wait3.c: Likewise.
4921
568035b7
JM
4922 * All files with FSF copyright notices: Update copyright dates
4923 using scripts/update-copyrights.
4924 * intl/plural.c: Regenerated.
4925 * locale/programs/charmap-kw.h: Likewise.
4926 * locale/programs/locfile-kw.h: Likewise.
4927
da08f647
SP
49282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4929
0f5477af
SP
4930 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4931 four values.
4932
44e0d4c2
SP
4933 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4934 calculation loop and add branch prediction.
4935
4d55b4e5
SP
4936 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4937 check access beyond bounds of m1np.
4938
da08f647
SP
4939 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4940 MPTWO.
4941 (__inv): Remove local variable MPTWO to use the global
4942 constant.
4943 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4945 variable MPTWO.
4946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4947 MP3HALFS static const.
4948
8e051029
DM
49492013-01-01 David S. Miller <davem@davemloft.net>
4950
4951 * po/ca.po: Update from translation team.
4952
f4cf5f2d
JM
49532013-01-01 Joseph Myers <joseph@codesourcery.com>
4954
4955 * scripts/update-copyrights: New file.
4956 * Makeconfig: Reformat copyright notice.
4957 * ctype/ctype.h: Likewise.
4958 * debug/swprintf_chk.c: Likewise.
4959 * elf/dl-cache.c: Likewise.
4960 * elf/dl-debug.c: Likewise.
4961 * elf/dl-object.c: Likewise.
4962 * grp/initgroups.c: Likewise.
4963 * hurd/Makefile: Likewise.
4964 * hurd/hurd/signal.h: Likewise.
4965 * hurd/hurdfault.c: Likewise.
4966 * hurd/hurdioctl.c: Likewise.
4967 * hurd/hurdlookup.c: Likewise.
4968 * hurd/intr-msg.c: Likewise.
4969 * iconv/gconv_open.c: Likewise.
4970 * libio/swprintf.c: Likewise.
4971 * locale/lc-ctype.c: Likewise.
4972 * locale/nl_langinfo.c: Likewise.
4973 * mach/Machrules: Likewise.
4974 * mach/Makefile: Likewise.
4975 * malloc/obstack.h: Likewise.
4976 * manual/Makefile: Likewise.
4977 * manual/tsort.awk: Likewise.
4978 * misc/bits/stab.def: Likewise.
4979 * nis/nis_print_group_entry.c: Likewise.
4980 * nis/nis_table.c: Likewise.
4981 * nis/nss_compat/compat-pwd.c: Likewise.
4982 * nis/nss_compat/compat-spwd.c: Likewise.
4983 * po/Makefile: Likewise.
4984 * posix/fnmatch.c: Likewise.
4985 * posix/regex.h: Likewise.
4986 * resolv/Makefile: Likewise.
4987 * resolv/nss_dns/dns-network.c: Likewise.
4988 * resolv/res_hconf.c: Likewise.
4989 * scripts/gen-sorted.awk: Likewise.
4990 * soft-fp/soft-fp.h: Likewise.
4991 * stdio-common/printf.h: Likewise.
4992 * stdlib/monetary.h: Likewise.
4993 * stdlib/random.c: Likewise.
4994 * stdlib/random_r.c: Likewise.
4995 * sysdeps/generic/Makefile: Likewise.
4996 * sysdeps/gnu/Makefile: Likewise.
4997 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4998 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4999 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5000 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5004 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5008 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5009 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5010 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5011 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5012 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5013 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5015 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5017 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5018 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5019 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5020 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5021 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5023 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5024 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5025 * sysdeps/mach/hurd/errnos.awk: Likewise.
5026 * sysdeps/mach/hurd/fork.c: Likewise.
5027 * sysdeps/mach/hurd/getcwd.c: Likewise.
5028 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5029 * sysdeps/mach/hurd/mmap.c: Likewise.
5030 * sysdeps/mach/hurd/utimes.c: Likewise.
5031 * sysdeps/mach/hurd/xmknod.c: Likewise.
5032 * sysdeps/posix/profil.c: Likewise.
5033 * sysdeps/posix/readdir_r.c: Likewise.
5034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5035 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5036 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5037 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5039 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5040 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5041 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5044 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5045 * sysdeps/pthread/lio_listio.c: Likewise.
5046 * sysdeps/sparc/dl-procinfo.h: Likewise.
5047 * sysdeps/unix/i386/sysdep.S: Likewise.
5048 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5049 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5050 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5051 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5053 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5054 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5055 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5056 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5057 * sysdeps/wordsize-32/divdi3.c: Likewise.
5058 * time/sys/time.h: Likewise.
5059 * wcsmbs/Makefile: Likewise.
5060
0549fbba
DM
50612013-01-01 David S. Miller <davem@davemloft.net>
5062
a141f1a7
DM
5063 * po/fr.po: Update from translation team.
5064
0549fbba
DM
5065 * catgets/gencat.c: Update copyright year.
5066 * csu/version.c: Likewise.
5067 * debug/catchsegv.sh: Likewise.
5068 * debug/pcprofiledump.c: Likewise.
5069 * debug/xtrace.sh: Likewise.
5070 * elf/ldconfig.c: Likewise.
5071 * elf/ldd.bash.in: Likewise.
5072 * elf/pldd.c: Likewise.
5073 * elf/sotruss.ksh: Likewise.
5074 * elf/sprof.c: Likewise.
5075 * iconv/iconv_prog.c: Likewise.
5076 * iconv/iconvconfig.c: Likewise.
5077 * locale/programs/locale.c: Likewise.
5078 * locale/programs/localedef.c: Likewise.
5079 * login/programs/pt_chown.c: Likewise.
5080 * malloc/memusage.sh: Likewise.
5081 * malloc/memusagestat.c: Likewise.
5082 * malloc/mtrace.pl: Likewise.
5083 * nscd/nscd.c: Likewise.
5084 * nss/getent.c: Likewise.
5085 * nss/makedb.c: Likewise.
5086 * posix/getconf.c: Likewise.
5087
18ea052c
SP
50882012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5089
5090 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5091 numbers.
5092
9c89fca6
MF
50932012-12-30 Mike Frysinger <vapier@gentoo.org>
5094
5095 * math/bits/mathcalls.h (modf): Use __nonnull.
5096
085ec079
SP
50972012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5098
5099 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5100 (split): Use macro CN instead of the bare value.
5101 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5102 could be used.
5103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5104 instead of the bare value.
5105 (power1): Likewise.
5106
6d9f97e1
SP
51072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5108
d63f73be
SP
5109 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5110 __ATAN_TWOM.
5111 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5112
6d9f97e1
SP
5113 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5114 their values.
5115 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5116 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5117 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5118 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5119
4c4febf5
AJ
51202012-12-28 Andreas Jaeger <aj@suse.de>
5121
af5843ef
AJ
5122 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5123 values are from Linux 3.7.
5124
4c4febf5
AJ
5125 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5126 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5127
99136f82
SP
51282012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5129
2f216c3c 5130 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5131 TRUE case.
5132
99136f82
SP
5133 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5134 (norm): Likewise.
5135 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5136 variables with preprocessor constants.
5137 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5138 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5139 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5140
7fffbdff
BH
51412012-12-27 Bruno Haible <bruno@clisp.org>
5142
5143 [BZ #14317]
5144 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5145 only if needed.
5146
b76eb5f0
SP
51472012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5148
31a7fe5c
SP
5149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5150 and use variable directly.
5151 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5152
b76eb5f0
SP
5153 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5154 MPONE.
5155 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5156 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5157 variable MPONE.
5158 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5159 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5160 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5161 include directive. Remove local variable MPONE.
5162 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5163 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5164 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5165
2c8bfe7d
DM
51662012-12-25 David S. Miller <davem@davemloft.net>
5167
5168 * version.h (RELEASE): Set to "development".
5169 (VERSION): Set to "2.17.90".
5170 * NEWS: Add 2.18 section.
5171
147d03b0
DM
51722012-12-21 David S. Miller <davem@davemloft.net>
5173
5174 * po/hr.po: Update from translation team.
5175
a8ebb2b9
AK
51762012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5177
5178 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5179
95b4f1b6
SE
51802012-12-19 Steve Ellcey <sellcey@mips.com>
5181
b2d94007 5182 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5183
cedb2a90
MS
51842012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5185
5186 * manual/contrib.texi (Contributors): Spelling correction.
5187
bbf527d6
DM
51882012-12-15 David S. Miller <davem@davemloft.net>
5189
5190 * po/ru.po: Update from translation team.
5191
bc38c906
DM
51922012-12-13 David S. Miller <davem@davemloft.net>
5193
85429b1a
DM
5194 * NEWS: Mention IFUNC testsuite enhancements.
5195
d283e353
DM
5196 * po/pl.po: Update from translation team.
5197 * po/bg.po: Likewise.
5198
bc38c906
DM
5199 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5200 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5201
a181b0d7
DM
52022012-12-11 David S. Miller <davem@davemloft.net>
5203
4641d57e
DM
5204 * po/sv.po: Update from translation team.
5205
f7bc6495
DM
5206 * po/vi.po: Update from translation team.
5207
6fc9048f
DM
5208 * po/cs.po: Update from translation team.
5209
a181b0d7
DM
5210 * po/de.po: Update from translation team.
5211 * po/eo.po: Likewise.
5212 * po/nl.po: Likewise.
5213
f70bfe80
SP
52142012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5215
3c8b4190
SP
5216 [BZ #14246]
5217 * manual/argp.texi (Argp Helper Functions): Move node to follow
5218 Argp Parsing State.
5219
f70bfe80
SP
5220 [BZ #14872]
5221 * manual/conf.texi (Limits on File System Capacity): Mention if
5222 terminating null is included in the max size.
5223
188f0adf
AJ
52242012-12-10 Andreas Jaeger <aj@suse.de>
5225
5226 * po/cs.po: Update from translation team.
5227
56e7d3ad
SP
52282012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5229
5230 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5231 void pointer and cast to uintptr_t.
5232 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5233 path.
5234 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5235 * sysdeps/s390/s390-64/memset.S: Likewise.
5236
76f2d2ea 52372012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5238
5239 [BZ #14833]
5240 * menual/message.texi (Message Translation): Fix typos.
5241 (Helper programs for gettext): Likewise.
5242
67cbf9a2
AS
52432012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5244
5245 [BZ #14898]
5246 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5247 Change to -1.
5248
682d0e9a
DM
52492012-12-07 David S. Miller <davem@davemloft.net>
5250
5251 * po/libc.pot: Update.
5252
573cd484
RH
52532012-12-07 Richard Henderson <rth@redhat.com>
5254
7e9da188 5255 [BZ #10114]
573cd484
RH
5256 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5257 normal/normal case to before the switch.
5258 (_FP_DIV): Likewise.
5259
e933a943
MF
52602012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5261 Mike Frysinger <vapier@gentoo.org>
5262
5263 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5264 check for __NR_fadvise64_64.
5265
82123268
CM
52662012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5267
5268 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5269 0, not just to plain "0" as a statement.
5270 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5271 with cw.
5272
d9814526
JM
52732012-12-06 Joseph Myers <joseph@codesourcery.com>
5274
5275 * NEWS: Use sourceware.org in Bugzilla URL.
5276
7728c574
SP
52772012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5278
f16946dd
SP
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5280 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5281
5704bbcb
SP
5282 * stdio-common/tst-put-error.c (do_test): Add newline to the
5283 padded test to ensure flush.
5284
17aa0516
JL
52852012-12-05 Jeff Law <law@redhat.com>
5286
5287 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5288
363313b5
JM
52892012-12-05 Joseph Myers <joseph@codesourcery.com>
5290
effbd42a
JM
5291 * README: Don't refer to ports add-on as distributed separately.
5292 Mention AArch64 in list of systems supported in the ports add-on.
5293
87600365
JM
5294 * LICENSES: Add more non-FSF copyright and license notices.
5295
a0d7066a
JM
5296 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5297 ((unused)).
5298
66ca5a5b
JM
5299 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5300
363313b5
JM
5301 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5302 10000 as width of padded output.
5303
b37984ad
JM
53042012-12-04 Joseph Myers <joseph@codesourcery.com>
5305
9003570a
JM
5306 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5307
b37984ad
JM
5308 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5309 variable LX with __attribute__ ((unused)).
5310 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5311 Likewise.
5312 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5315 with __attribute__ ((unused)).
5316
c8df52ec
DM
53172012-12-04 David S. Miller <davem@abraco.davemloft.net>
5318
5319 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5320
b3b099af
JM
53212012-12-04 Joseph Myers <joseph@codesourcery.com>
5322
c33aa6e3
JM
5323 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5324 (CFLAGS-nldbl-acos.c): New variable.
5325 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5326 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5327 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5328 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5329 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5330 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5331 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5332 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5333 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5334 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5335 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5336 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5337 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5338 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5339 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5340 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5341 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5342 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5343 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5344 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5345 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5346 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5347 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5348 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5349 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5350 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5351 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5352 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5353 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5354 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5355 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5356 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5357 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5358 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5359 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5360 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5361 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5362 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5363 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5364 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5365 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5366 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5367 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5368 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5369 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5370 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5371 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5372 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5373 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5374 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5375 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5376 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5377 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5378 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5379 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5380 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5381 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5382 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5383 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5384 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5385 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5386 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5387 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5388 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5389 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5390 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5391 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5392 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5393 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5394 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5395 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5396 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5397 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5398 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5399 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5400 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5401 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5402 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5403 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5408 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5409 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5410 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5411 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5412 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5413 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5414 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5415 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5416 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5417 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5418 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5419 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5420 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5421 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5422
20f0018d
JM
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5424 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5425
b3b099af
JM
5426 [BZ #14914]
5427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5428 whole low double instead of just low 47 bits when splitting values
5429 into two parts.
5430
029264d1
AM
54312012-12-03 Allan McRae <allan@archlinux.org>
5432
5433 * manual/stdio.texi (Predefined Printf Handlers): Remove
5434 @hsep and @vsep usage.
5435
c9d6789e
MF
54362012-12-03 Mike Frysinger <vapier@gentoo.org>
5437
5438 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5439 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5440
4b7634a5
JL
54412012-12-03 Jeff Law <law@redhat.com>
5442
5443 * time/sys/time.h (settimeofday): Do not mark TV argument
5444 as __nonnull.
5445
eb6cbd24
MF
54462012-12-01 Mike Frysinger <vapier@gentoo.org>
5447
5448 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5449 when currently writing and seek to current position when not.
5450 * libio/Makefile (tests): Remove bug-fclose1.
5451 * libio/bug-fclose1.c: Delete.
5452
f638872a
JM
54532012-12-01 Joseph Myers <joseph@codesourcery.com>
5454
5455 * manual/arith.texi (feenableexcept): Fix typo.
5456 (fedisableexcept): Likewise.
5457
48085d14
RM
54582012-11-30 Roland McGrath <roland@hack.frob.com>
5459
5460 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5461 second, differently-typed declaration, rather than a cast.
5462
1a538b9f
SP
54632012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5464
5465 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5466 * include/rpc/svc.h: ... here.
5467
d07f2ff1 54682012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5469
5470 [BZ #13013]
5471 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5472 depending n and resplen2 to catch cases where answer
5473 equals answerp2.
5474
c93ec1f0
CD
54752012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5476
5477 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5478 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5479
37db69de
MF
54802012-11-29 Mike Frysinger <vapier@gentoo.org>
5481
5482 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5483
e10c4e4f
RM
54842012-11-29 Roland McGrath <roland@hack.frob.com>
5485
5486 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5487
2af1b328
JL
54882012-11-28 Jeff Law <law@redhat.com>
5489
5490 [BZ #13761]
5491 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5492 dataset_temporary. Track alloca usage into alloca_used.
5493 If dataset is large allocate and release it via malloc/free.
5494
111db5b1
FW
54952012-06-04 Florian Weimer <fweimer@redhat.com>
5496
f06cc227 5497 [BZ #14197]
111db5b1
FW
5498 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5499
dd694abd
DM
55002012-11-28 David S. Miller <davem@davemloft.net>
5501
5502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5503
9984dd01
JM
55042012-11-28 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #14803]
5507 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5508 of pi/2 rounded to nearest to 64 bits.
5509 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5510 nearest to 64 bits.
5511 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5512 bits.
5513
14bc93a9
JL
55142012-11-28 Jeff Law <law@redhat.com>
5515 Martin Osvald <mosvald@redhat.com>
5516
5517 [BZ #14889]
5518 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5519 * sunrpc/svc.c: Include time.h.
5520 (__svc_accept_failed): New function.
5521 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5522 any reason other than EINTR, call __svc_accept_failed.
5523 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5524 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5525
e3c6aa3a
AS
55262012-11-28 Andreas Schwab <schwab@suse.de>
5527
5528 * scripts/abilist.awk: Also handle indirect functions in .opd
5529 section.
5530
1bead169
JM
55312012-11-28 Joseph Myers <joseph@codesourcery.com>
5532
5533 [BZ #13881]
5534 * sysdeps/x86/fpu/powl_helper.c: New file.
5535 * sysdeps/x86/fpu/Makefile: Likewise.
5536 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5537 (p3): New object.
5538 (__ieee754_powl): Use __powl_helper for finite arguments except
5539 integer exponents below 8.
5540 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5541 (p3): New object.
5542 (__ieee754_powl): Use __powl_helper for finite arguments except
5543 integer exponents below 8.
5544 * math/libm-test.inc (pow_test): Add more tests and enable some
5545 previously disabled tests.
5546 * sysdeps/i386/fpu/libm-test-ulps: Update.
5547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5548
0817d63d
SP
55492012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5550 Carlos O'Donell <carlos_odonell@mentor.com>
5551
5552 * nss/makedb.c (is_prime): Assert that input is odd and greater
5553 than 4. Note that fact in a comment too.
5554 (next_prime): Add 4 to input.
5555
de2fd463
SP
55562012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5557
5558 [BZ #11741]
5559 * libio/Makefile (tests): Add test case tst-fwrite-error.
5560 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5561 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5562 * libio/tst-fwrite-error.c: New test case.
5563
c515fb51
L
55642012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5565
5566 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5567 before casting to void *.
5568 * include/libc-internal.h (__pointer_type): New macro.
5569 (__integer_if_pointer_type_sub): Likewise.
5570 (__integer_if_pointer_type): Likewise.
5571 (cast_to_integer): Likewise.
5572 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5573 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5574 before casting to atomic64_t.
5575 (atomic_exchange_acq): Likewise.
5576 (__arch_exchange_and_add_body): Likewise.
5577 (__arch_add_body): Likewise.
5578 (atomic_add_negative): Likewise.
5579 (atomic_add_zero): Likewise.
5580
4cf77aa9
JM
55812012-11-26 Joseph Myers <joseph@codesourcery.com>
5582
5583 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5584 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5585 (add_fdes): Likewise.
5586 (linear_search_fdes): Likewise.
5587 (binary_search_unencoded_fdes): Likewise.
5588
d260b3b4
AS
55892012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5590
5591 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5592
67060746
AC
55932012-11-24 Adam Conrad <adconrad@0c3.net>
5594
5595 * configure.in: Autodetect C++ header directories.
5596 * configure: Regenerated.
5597
800938a1
MF
55982012-11-23 Mike Frysinger <vapier@gentoo.org>
5599
5600 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5601
4e6e34e6
AS
56022012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5603
5604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5605
7c7feb47
JM
56062012-11-22 Joseph Myers <joseph@codesourcery.com>
5607
7184dcdf
JM
5608 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5609 LDBL_MANT_DIG == 106]: Disable some tests.
5610 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5611 Likewise.
5612 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5613 Likewise.
5614
0a42601f
JM
5615 [BZ #14871]
5616 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5617 input for small inputs. Return +/- pi/2 for large inputs.
5618 * math/libm-test.inc (atan_test): Add more tests.
5619
79c9b9fe
JM
5620 * sysdeps/generic/unwind-dw2-fde-glibc.c
5621 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5622 __attribute__ ((unused)).
5623
c60d3bf2
JM
5624 [BZ #14645]
5625 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5626 x * y if x and y are nonzero and z is zero.
5627
ef1e0867
JM
5628 [BZ #14811]
5629 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5630 nonzero exponents with absolute value below 0x1p-117 to +/-
5631 0x1p-117.
5632
1468ded3
JM
5633 [BZ #14869]
5634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5635 up arguments below 2**-450, not just those below 2**-500.
5636 * math/libm-test.inc (hypot_test): Add another test.
5637
8e27e3cc
JM
5638 [BZ #14868]
5639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5640 Return a+b for ratio over 2**120, not 2**60.
5641 * math/libm-test.inc (hypot_test): Add another test.
5642
c9c0279b
JM
5643 * math/libm-test.inc (clog_test): Use
5644 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5645 (clog10_test): Likewise.
5646
7c7feb47
JM
5647 [BZ #6778]
5648 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5649
fff1530e
AS
56502012-11-22 Andreas Schwab <schwab@suse.de>
5651
5652 * sysdeps/i386/fpu/libm-test-ulps: Update.
5653
94558d30
PT
56542012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5655
5656 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5657 printf output with newline.
5658
7e1be741
L
56592012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5660
6bfea974
L
5661 [BZ #14865]
5662 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5663 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5664 -z nodlopen, -z initfirst and -z execstack support.
5665 * configure: Regenerated.
5666
7e1be741
L
5667 * elf/elf.h (DF_1_NODIRECT): New macro.
5668 (DF_1_IGNMULDEF): Likewise.
5669 (DF_1_NOKSYMS): Likewise.
5670 (DF_1_NOHDR): Likewise.
5671 (DF_1_EDITED): Likewise.
5672 (DF_1_NORELOC): Likewise.
5673 (DF_1_SYMINTPOSE): Likewise.
5674 (DF_1_GLOBAUDIT): Likewise.
5675 (DF_1_SINGLETON): Likewise.
5676 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5677 DT_1_SUPPORTED_MASK bits.
5678 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5679
105ce2ce
CD
56802012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5681
5682 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5683
123be9de
TS
56842012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5685
d072f3f7
TS
5686 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5687 macro.
5688
123be9de
TS
5689 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5690 (sendmmsg): Move declarations...
5691 * socket/sys/socket.h: ... here.
5692 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5693 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5694 include it from...
5695 * socket/recvmmsg.c: ... this new file.
5696 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5697 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5698 definition of __sendmmsg hidden.
5699 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5700 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5701 Move ENOSYS stub into and include it from...
5702 * socket/sendmmsg.c: ... this new file.
5703 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5704 (sysdep_routines): Move recvmmsg and sendmmsg...
5705 * socket/Makefile (routines): ... here.
5706 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5707 (GLIBC_PRIVATE): Add __sendmmsg.
5708 * include/sys/socket.h (__sendmmsg): Add declarations.
5709 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5710 sendmmsg.
5711
cf9a5d18
JM
57122012-11-20 Joseph Myers <joseph@codesourcery.com>
5713
5714 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5715 variable I1 with __attribute__ ((unused)).
5716 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5717
ecd4caf9
JM
57182012-11-19 Joseph Myers <joseph@codesourcery.com>
5719
be14d48f
JM
5720 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5721 DUMMY variables with __attribute__ ((unused)).
5722
ecd4caf9
JM
5723 * bits/byteswap.h: Include <bits/types.h>.
5724 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5725
986cab95
PT
57262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5727
5728 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5729 string_t. Do not manually set errno.
5730 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5731 length with __strnlen. Make sure to both set errno and return it on
5732 failure.
5733
6d33cc9d
DM
57342012-11-19 David S. Miller <davem@davemloft.net>
5735
5736 With help from Joseph Myers.
5737 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5738 very large arguments properly.
5739 * math/libm-test.inc (atan_test): New tests.
5740 (atan2_test): New tests.
5741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5743
ee663277
JM
57442012-11-19 Joseph Myers <joseph@codesourcery.com>
5745
877f2d8e
JM
5746 [BZ #14856]
5747 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5748 Define to 3.
5749
116fc08a
JM
5750 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5751 [POSIX] (EADDRNOTAVAIL): Likewise.
5752 [POSIX] (EAFNOSUPPORT): Likewise.
5753 [POSIX] (EALREADY): Likewise.
5754 [POSIX] (ECONNABORTED): Likewise.
5755 [POSIX] (ECONNREFUSED): Likewise.
5756 [POSIX] (ECONNRESET): Likewise.
5757 [POSIX] (EDESTADDRREQ): Likewise.
5758 [POSIX] (EDQUOT): Likewise.
5759 [POSIX] (EHOSTUNREACH): Likewise.
5760 [POSIX] (EIDRM): Likewise.
5761 [POSIX] (EISCONN): Likewise.
5762 [POSIX] (ELOOP): Likewise.
5763 [POSIX] (EMULTIHOP): Likewise.
5764 [POSIX] (ENETDOWN): Likewise.
5765 [POSIX] (ENETUNREACH): Likewise.
5766 [POSIX] (ENOBUFS): Likewise.
5767 [POSIX] (ENODATA): Likewise.
5768 [POSIX] (ENOLINK): Likewise.
5769 [POSIX] (ENOMSG): Likewise.
5770 [POSIX] (ENOPROTOOPT): Likewise.
5771 [POSIX] (ENOSR): Likewise.
5772 [POSIX] (ENOSTR): Likewise.
5773 [POSIX] (ENOTCONN): Likewise.
5774 [POSIX] (ENOTSOCK): Likewise.
5775 [POSIX] (EOPNOTSUPP): Likewise.
5776 [POSIX] (EOVERFLOW): Likewise.
5777 [POSIX] (EPROTO): Likewise.
5778 [POSIX] (EPROTONOSUPPORT): Likewise.
5779 [POSIX] (EPROTOTYPE): Likewise.
5780 [POSIX] (ESTALE): Likewise.
5781 [POSIX] (ETIME): Likewise.
5782 [POSIX] (ETXTBSY): Likewise.
5783 [POSIX] (EWOULDBLOCK): Likewise.
5784 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5785 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5786 [POSIX] (SEEK_CUR): Likewise.
5787 [POSIX] (SEEK_END): Likewise.
5788 [POSIX || UNIX98] (mode_t): Do not require.
5789 [POSIX] (off_t): Likewise.
5790 [POSIX] (pid_t): Likewise.
5791 [POSIX] (sys/stat.h): Do not allow header.
5792 [POSIX] (unistd.h): Likewise.
5793 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5794 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5795 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5796 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5797 require.
5798 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5799 sigevent): Specify elements.
5800 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5801 entry.
5802 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5803 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5804
a483863f
JM
5805 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5806 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5807 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5808 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5809 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5810 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5811 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5812 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5813 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5814 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5815 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5816 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5817 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5818 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5819 Likewise.
5820 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5821 Likewise.
5822 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5823 Likewise.
5824 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5825 Likewise.
5826 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5827 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5828 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5829 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5830 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5831 Specify lower bound on value.
5832 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5833 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5834 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5835 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5836 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5838 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5839 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5840 value.
5841 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5842 as optional.
5843 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5844 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5845 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5846 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5847 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5848 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5849 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5850 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5851 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5852 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5853 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5854 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5855 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5856 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5857 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5858 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5859 entry.
5860 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5861 optional.
5862 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5863 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5864 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5865 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5866 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5867 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5868 Likewise.
5869 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5870 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5872 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5874 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5875 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5876 as optional.
5877 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5878 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5879 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5880 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5881 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5882 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5883 specify as optional.
5884 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5885 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5886 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5887 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5888 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5889 [XPG3] (NL_LANGMAX): Likewise.
5890 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5891 [POSIX || XPG3] (NL_NMAX): Likewise.
5892 [POSIX || XPG3] (NL_SETMAX): Likewise.
5893 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5894 [XPG3] (NZERO): Likewise.
5895 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5896 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5897 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5898 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5899 (REG_ERANGE): Expect.
5900 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5901 optional-constant.
5902 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5903 Use (void) in prototype.
5904 [POSIX] (*_t): Allow.
5905 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5906 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5907 (WRDE_BADVAL): Expect.
5908
5ba924e3
JM
5909 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5910 expect.
5911 [XPG3 || XPG4] (O_RSYNC): Likewise.
5912 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5913 Likewise.
5914 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5915 [XPG3 || XPG4] (sigqueue): Likewise.
5916 [XPG3 || XPG4] (sigtimedwait): Likewise.
5917 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5918 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5919 [XPG3 || XPG4] (vsnprintf): Likewise.
5920 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5921 Likewise.
5922 [XPG3 || XPG4] (blksize_t): Likewise.
5923 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5924 Likewise.
5925 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5926 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5927 [XPG3 || XPG4] (struct itimerspec): Likewise.
5928 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5929 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5930 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5931 [XPG3 || XPG4] (clockid_t): Likewise.
5932 [XPG3 || XPG4] (timer_t): Likewise.
5933 [XPG3 || XPG4] (clock_getres): Likewise.
5934 [XPG3 || XPG4] (clock_gettime): Likewise.
5935 [XPG3 || XPG4] (clock_settime): Likewise.
5936 [XPG3 || XPG4] (nanosleep): Likewise.
5937 [XPG3 || XPG4] (timer_create): Likewise.
5938 [XPG3 || XPG4] (timer_delete): Likewise.
5939 [XPG3 || XPG4] (timer_gettime): Likewise.
5940 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5941 [XPG3 || XPG4] (timer_settime): Likewise.
5942 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5943 [XPG3 || XPG4] (getlogin_r): Likewise.
5944 [XPG3 || XPG4] (pread): Likewise.
5945 [XPG3 || XPG4] (pthread_atfork): Likewise.
5946 [XPG3 || XPG4] (pwrite): Likewise.
5947
ee663277
JM
5948 [BZ #14835]
5949 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5950 <bits/siginfo.h>.
5951
942caa16
PT
59522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5953
e19af380
PT
5954 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5955 finalizing MALLSTREAM.
5956
942caa16
PT
5957 * sysdeps/mach/hurd/syncfs.c: New file.
5958
cfde9b46
SP
59592012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
5961 [BZ #14719]
5962 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5963 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5964 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5965 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5966 (_nss_dns_gethostbyname4_r): Likewise.
5967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5968 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5969
f6da27e5
PH
59702012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5971
5972 [BZ #13763]
5973 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5974
6665d4a2
SM
59752012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5976
1f51ee92
SM
5977 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5978 * elf/cache.c (print_entry): Print ",AArch64" for
5979 FLAG_AARCH64_LIB64
5980
6665d4a2
SM
5981 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5982 * elf/cache.c (print_entry): Print ",hard-float" for
5983 FLAG_ARM_LIBHF.
5984
05b227bd
DM
59852012-11-18 David S. Miller <davem@davemloft.net>
5986
5987 With help from Joseph Myers.
5988 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5989 cutoff to 2**-13.
5990 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5991 cutoff to 2**-25.
5992 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5993 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5994 small.
5995 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5996 * math/libm-test.inc (y0_test): New tests.
5997 (y1_test): New tests.
5998 * sysdeps/i386/fpu/libm-test-ulps: Update.
5999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6001
786b0b67
AS
60022012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6003
6004 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6005 64-bit targets.
6006 * configure: Regenerated.
6007
8e18b86d
DM
60082012-11-17 David S. Miller <davem@davemloft.net>
6009
6010 [BZ #14811]
6011 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6012 nonzero exponents with absolute value below 0x1p-128 to +/-
6013 0x1p-128.
6014
531f1ae0
JM
60152012-11-17 Joseph Myers <joseph@codesourcery.com>
6016
12df29e2
JM
6017 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6018
150dc1a0
JM
6019 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6020
531f1ae0
JM
6021 * posix/getconf-speclist.c: New file.
6022 * posix/posix-envs.def: Likewise.
6023 * posix/confstr.c (START_ENV_GROUP): New macro.
6024 (END_ENV_GROUP): Likewise.
6025 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6026 (KNOWN_PRESENT_ENV_STRING): Likewise.
6027 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6028 (UNKNOWN_ENVIRONMENT): Likewise.
6029 (confstr): Include posix-envs.def instead of handling
6030 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6031 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6032 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6033 (END_ENV_GROUP): Likewise.
6034 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6035 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6036 (UNKNOWN_ENVIRONMENT): Likewise.
6037 (__sysconf): Include posix-envs.def instead of handling associated
6038 cases directly here.
6039 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6040 preprocessing getconf-speclist.c rather than running getconf or
6041 generating empty file.
6042
a93f9cbc
PT
60432012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6044
6045 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6046
d64d9f87
AL
60472012-11-16 Andrej Lajovic <natrij@gmail.com>
6048
6049 [BZ #14672]
6050 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6051
447885eb
DM
60522012-11-16 David S. Miller <davem@davemloft.net>
6053
6054 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6055 smaller than LDBL_EPSILON/2.0L, just return xm1.
6056
bcbf9830
L
60572012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6058
6059 * elf/tst-array1.c (init): Set constructor priority to 1000.
6060 (fini): Set destructor priority to 1000.
6061 * elf/tst-array2dep.c: Likewise.
6062
2b766585
SP
60632012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6064
6065 [BZ #11741]
6066 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6067 (_IO_new_file_xsputn): Also return EOF if none of the input
6068 data was written when overflow failed.
6069 * libio/iopadn.c (_IO_padn): Likewise.
6070 * libio/iowpadn.c (_IO_wpadn): Likewise.
6071 * stdio-common/tst-put-error.c: Add copyright notice.
6072 (do_test): Add case for printing padded string.
6073 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6074 _IO_padn returned error.
6075 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6076 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6077 return EOF.
6078
b1848fde
SP
60792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6080
6081 * libio/libioP.h: Add comment note that the references to C++
6082 bits are now obsolete.
6083
2fd89785
MS
60842012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6085
6086 * math/libm-test.inc (check_complex): Use asprintf.
6087
e3ea5409
JM
60882012-11-14 Joseph Myers <joseph@codesourcery.com>
6089
6090 * debug/pcprofiledump.c (print_version): Update copyright year.
6091 * malloc/memusagestat.c (print_version): Likewise.
6092
2e64d265
L
60932012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6094
6095 [BZ #14831]
6096 * elf/Makefile (tests): Add tst-audit8.
6097 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6098 ($(objpfx)tst-audit8.out): New target.
6099 (tst-audit8-ENV): New variable.
6100 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6101 audit if l_reloc_result is NULL.
6102 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6103 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6104 * elf/tst-audit8.c: New file.
6105
c485e4d2
MS
61062012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6107
6108 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6109 * misc/Makefile (CFLAGS-select.c): Define.
6110 * posix/Makefile (CFLAGS-pause.c): Define.
6111
3a0d900a
DM
61122012-11-13 David S. Miller <davem@davemloft.net>
6113
6114 * crypt/Makefile: Move test targets after toplevel Rules
6115 inclusion. Grab any necessary sysdep routines when linking.
6116 * crypt/md5.c (md5_process_block): Remove define, we will always
6117 name it __md5_process_block.
6118 (md5_finish_ctx): Update md5_process_block call.
6119 (md5_stream): Likewise.
6120 (md5_process_bytes): Likewise.
6121 (md5_process_block): Rename to __md5_process_block and move to ...
6122 * crypt/md5-block.c: ... here.
6123 * crypt/sha256.c (sha256_process_block): Move to ...
6124 * crypt/sha256-block.c: ... here.
6125 * crypt/sha512.c (sha512_process_block): Move to ...
6126 * crypt/sha512-block.c: ... here.
6127 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6128 path.
6129 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6130 * sysdeps/sparc/sparc64/multiarch/Makefile
6131 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6132 crypt subdir.
6133 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6135 multiarch changes.
6136 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6137 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6138 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6139 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6140 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6141 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6142 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6143 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6144 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6145 file.
6146 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6147 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6148 file.
6149 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6150
8ca89318
JM
61512012-11-13 Joseph Myers <joseph@codesourcery.com>
6152
e27d476a
JM
6153 * timezone/tzselect.ksh: Update from tzcode git revision
6154 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6155 * timezone/zdump.c: Likewise.
6156 * timezone/zic.c: Likewise.
6157 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6158 in TZVERSION setting, not $(PKGVERSION).
6159 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6160 REPORT_BUGS_TO settings.
6161
8ca89318
JM
6162 [BZ #14838]
6163 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6164 macro.
6165
47594329
MS
61662012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6167
6168 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6169 detection to immediately after _FP_ROUND().
6170 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6171 bits are 0.
6172
640ac3f1
DM
61732012-11-11 David S. Miller <davem@davemloft.net>
6174
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6176 inttypes.h
6177 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6178 __close rather than their public counterparts.
6179
3d2577bb
JM
61802012-11-10 Joseph Myers <joseph@codesourcery.com>
6181
6182 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6183 file.
6184 [UNIX98] (sem_timedwait): Do not expect.
6185 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6186 [XPG4 || UNIX98] (sockatmark): Do not expect.
6187 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6188 (clock_getcpuclockid): Do not expect.
6189 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6190 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6191 Do not expect.
6192 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6193 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6194 [UNIX98] (vwscanf): Likewise.
6195 [UNIX98] (vswscanf): Likewise.
6196
fb1ae1ee
JM
61972012-11-09 Joseph Myers <joseph@codesourcery.com>
6198
9ec6f8bd
JM
6199 * timezone/version.h: Remove file.
6200 * timezone/README: Do not refer to version.h.
6201 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6202 $(objpfx)version.h.
6203 ($(objpfx)zdump.o): Likewise.
c3f81911 6204 ($(objpfx)version.h): New target.
9ec6f8bd 6205
0aa8f8a1
JM
6206 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6207 2012i.
6208 * timezone/README: Don't mention modification to tzselect.ksh.
6209 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6210 work on unmodified tzselect.ksh. Substitute version numbers in
6211 tzselect.ksh.
6212
4e87147f
JM
6213 * Makefile (format-me): Remove.
6214 (INSTALL): Adjust indentation. Use commands directly instead of
6215 using $(format-me).
6216
8b748aed
JM
6217 * aclocal.m4 (ACX_PKGVERSION): New macro.
6218 (ACX_BUGURL): Likewise.
6219 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6220 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6221 (REPORT_BUGS_TO): Likewise.
6222 * configure: Regenerated.
6223 * config.h.in (PKGVERSION): New macro.
6224 (REPORT_BUGS_TO): Likewise.
6225 * config.make.in (PKGVERSION): New variable.
6226 (PKGVERSION_TEXI): Likewise.
6227 (REPORT_BUGS_TO): Likewise.
6228 (REPORT_BUGS_TEXI): Likewise.
6229 * Makefile (format-me): Use -I$(common-objpfx)manual.
6230 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6231 ($(common-objpfx)manual/%): New target.
6232 (manual/%): Remove target.
6233 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6234 (print_version): Use PKGVERSION.
6235 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6236 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6237 and REPORT_BUGS_TO.
6238 ($(objpfx)xtrace): Likewise.
6239 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6240 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6241 (print_version): Use PKGVERSION.
6242 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6243 (do_version): Use PKGVERSION.
6244 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6245 REPORT_BUGS_TO.
6246 (common-ldd-rewrite): Likewise.
6247 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6248 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6249 (print_version): Use PKGVERSION.
6250 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6251 * elf/pldd.c (argp_program_bug_address): Remove variable.
6252 (more_help): New function.
6253 (argp): Use more_help.
6254 (print_version): Use PKGVERSION.
6255 * elf/sln.c (main): Use PKGVERSION.
6256 (usage): Use REPORT_BUGS_TO.
6257 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6258 (top level): Use PKGVERSION.
6259 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6260 (print_version): Use PKGVERSION.
6261 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6262 (print_version): Use PKGVERSION.
6263 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6264 (print_version): Use PKGVERSION.
6265 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6266 (print_version): Use PKGVERSION.
6267 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6268 (print_version): Use PKGVERSION.
6269 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6270 (print_version): Use PKGVERSION.
6271 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6272 and BUGURL.
6273 ($(objpfx)memusage): Likewise.
6274 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6275 (do_version): Use PKGVERSION.
6276 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6277 (print_version): Use PKGVERSION.
6278 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6279 ($PKGVERSION): New variable.
6280 ($REPORT_BUGS_TO): Likewise.
6281 (usage): Use $REPORT_BUGS_TO.
6282 (top level): Use $PKGVERSION.
6283 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6284 ($(objpfx)pkgvers.texi): New rule.
6285 ($(objpfx)stamp-pkgvers): Likewise.
6286 * manual/install.texi: Include pkgvers.texi.
6287 (--with-pkgversion): Document new configure option.
6288 (--with-bugurl): Likewise.
6289 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6290 than necessarily for this particular distribution. Use
6291 REPORT_BUGS_TO for where to report bugs.
6292 * INSTALL: Regenerated.
6293 * manual/libc.texinfo: Include pkgvers.texi.
6294 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6295 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6296 (print_version): Use PKGVERSION.
6297 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6298 (print_version): Use PKGVERSION.
6299 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6300 (print_version): Use PKGVERSION.
6301 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6302 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6303 macro.
6304 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6305 (print_version): Use PKGVERSION.
6306 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6307 (print_version): Use PKGVERSION.
6308 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6309 and PKGVERSION.
6310
92e4b6a9
JM
6311 * timezone/checktab.awk: Update from tzcode 2012i.
6312 * timezone/ialloc.c: Likewise.
6313 * timezone/private.h: Likewise.
6314 * timezone/scheck.c: Likewise.
6315 * timezone/tzfile.h: Likewise.
6316 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6317 (TZVERSION): Hardcode tzcode version number.
6318 * timezone/zdump.c: Update from tzcode 2012i.
6319 * timezone/zic.c: Likewise.
6320 * timezone/version.h: New file.
6321 * timezone/README: Describe version.h. Update upstream location.
6322
9bde902c
JM
6323 [BZ #14824]
6324 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6325 (mktemp): Enable declaration.
6326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6327 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6329 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6330 Likewise.
6331 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6332 Likewise.
6333 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6334 Likewise.
6335 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6336 Likewise.
6337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6338 Likewise.
6339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6340 Likewise.
6341
fb1ae1ee
JM
6342 [BZ #14821]
6343 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6344 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6345 for copies of such integer values.
6346 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6347 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6348
2c1adbcb
AJ
63492012-11-09 Andreas Jaeger <aj@suse.de>
6350
6351 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6352 definitions and declarations that are provided by
6353 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6354
d0f8457e
AK
63552012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6356
3a235abb 6357 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6358 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6359 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6360 definition.
6361
57241e26
MS
63622012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6363
6364 * elf/elf.h: Update comment before AArch64 relocations.
6365
60e8270d
DM
63662012-11-07 David S. Miller <davem@davemloft.net>
6367
6368 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6369 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6370 (__start_context): Declare.
6371 (__makecontext_ret): Delete.
6372 (__makecontext): Hook up __start_context instead of
6373 __makecontext_ret.
6374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6375 (sysdep_routines): Add __start_context when in stdlib.
6376
0fbb0fbc
JM
63772012-11-07 Joseph Myers <joseph@codesourcery.com>
6378
6379 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6380 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6381 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6382 hardcoded "nm".
6383 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6384 (READELF): New variable. Use it instead of hardcoded "readelf".
6385
eb48db7e
L
63862012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6387
6388 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6389 * sysdeps/x86/Makefile: Here.
6390 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6391 * sysdeps/x86/tst-xmmymm.sh: This.
6392
05bcf62a
JM
63932012-11-07 Joseph Myers <joseph@codesourcery.com>
6394
c4b6cf53
JM
6395 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6396 expectations.
6397 [UNIX98] (pthread_barrier_t): Do not expect.
6398 [UNIX98] (pthread_barrierattr_t): Likewise.
6399 [UNIX98] (pthread_spinlock_t): Likewise.
6400 [UNIX98] (pthread_barrier_destroy): Likewise.
6401 [UNIX98] (pthread_barrier_init): Likewise.
6402 [UNIX98] (pthread_barrier_wait): Likewise.
6403 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6404 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6405 [UNIX98] (pthread_barrierattr_init): Likewise.
6406 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6407 [UNIX98] (pthread_getcpuclockid): Likewise.
6408 [UNIX98] (pthread_mutex_timedlock): Likewise.
6409 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6410 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6411 [UNIX98] (pthread_sigmask): Likewise.
6412 [UNIX98] (pthread_spin_destroy): Likewise.
6413 [UNIX98] (pthread_spin_init): Likewise.
6414 [UNIX98] (pthread_spin_lock): Likewise.
6415 [UNIX98] (pthread_spin_trylock): Likewise.
6416 [UNIX98] (pthread_spin_unlock): Likewise.
6417 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6418 Do not expect.
6419 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6420 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6421 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6422 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6423 [XPG3 || XPG4] (pthread_key_t): Likewise.
6424 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6425 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6426 [XPG3 || XPG4] (pthread_once_t): Likewise.
6427 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6428 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6430 [XPG3 || XPG4] (pthread_t): Likewise.
6431
cbe6e120
JM
6432 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6433 not expect.
6434 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6435
1b126443
JM
6436 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6437 Change function return type to int.
6438
b961a573
JM
6439 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6440 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6441 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6442 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6443 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6444 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6445 [!POSIX] (posix_madvise): Likewise.
6446 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6447 && !UNIX98].
6448 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6449 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6450 (mode_t): Likewise.
6451 (posix_mem_offset): Likewise.
6452 (posix_typed_mem_get_info): Likewise.
6453 (posix_typed_mem_open): Likewise.
6454
9e188909
JM
6455 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6456 Change condition to [XOPEN2K8].
6457
05bcf62a
JM
6458 * conform/conformtest.pl: Preprocess allow-header data with -x c
6459 instead of from stdin.
6460 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6461 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6462 [C99-based standards] (cerfc): Likewise.
6463 [C99-based standards] (cexp2): Likewise.
6464 [C99-based standards] (cexpm1): Likewise.
6465 [C99-based standards] (clog10): Likewise.
6466 [C99-based standards] (clog1p): Likewise.
6467 [C99-based standards] (clog2): Likewise.
6468 [C99-based standards] (clgamma): Likewise.
6469 [C99-based standards] (ctgamma): Likewise.
6470 [C99-based standards] (cerff): Likewise.
6471 [C99-based standards] (cerfcf): Likewise.
6472 [C99-based standards] (cexp2f): Likewise.
6473 [C99-based standards] (cexpm1f): Likewise.
6474 [C99-based standards] (clog10f): Likewise.
6475 [C99-based standards] (clog1pf): Likewise.
6476 [C99-based standards] (clog2f): Likewise.
6477 [C99-based standards] (clgammaf): Likewise.
6478 [C99-based standards] (ctgammaf): Likewise.
6479 [C99-based standards] (cerfl): Likewise.
6480 [C99-based standards] (cerfcl): Likewise.
6481 [C99-based standards] (cexp2l): Likewise.
6482 [C99-based standards] (cexpm1l): Likewise.
6483 [C99-based standards] (clog10l): Likewise.
6484 [C99-based standards] (clog1pl): Likewise.
6485 [C99-based standards] (clog2l): Likewise.
6486 [C99-based standards] (clgammal): Likewise.
6487 [C99-based standards] (ctgammal): Likewise.
6488 * conform/data/inttypes.h-data [C99-based standards]: Include
6489 stdint.h-data. Remove all expectations for stdint.h contents.
6490 [C99-based standards] (PRI*): Do not allow.
6491 [C99-based standards] (SCN*): Likewise.
6492 [C99-based standards] (*_t): Likewise.
6493 [C99-based-standards] (PRId8): Expect macro.
6494 [C99-based-standards] (PRIi8): Likewise.
6495 [C99-based-standards] (PRIo8): Likewise.
6496 [C99-based-standards] (PRIu8): Likewise.
6497 [C99-based-standards] (PRIx8): Likewise.
6498 [C99-based-standards] (PRIX8): Likewise.
6499 [C99-based-standards] (SCNd8): Likewise.
6500 [C99-based-standards] (SCNi8): Likewise.
6501 [C99-based-standards] (SCNo8): Likewise.
6502 [C99-based-standards] (SCNu8): Likewise.
6503 [C99-based-standards] (SCNx8): Likewise.
6504 [C99-based-standards] (PRIdLEAST8): Likewise.
6505 [C99-based-standards] (PRIiLEAST8): Likewise.
6506 [C99-based-standards] (PRIoLEAST8): Likewise.
6507 [C99-based-standards] (PRIuLEAST8): Likewise.
6508 [C99-based-standards] (PRIxLEAST8): Likewise.
6509 [C99-based-standards] (PRIXLEAST8): Likewise.
6510 [C99-based-standards] (SCNdLEAST8): Likewise.
6511 [C99-based-standards] (SCNiLEAST8): Likewise.
6512 [C99-based-standards] (SCNoLEAST8): Likewise.
6513 [C99-based-standards] (SCNuLEAST8): Likewise.
6514 [C99-based-standards] (SCNxLEAST8): Likewise.
6515 [C99-based-standards] (PRIdFAST8): Likewise.
6516 [C99-based-standards] (PRIiFAST8): Likewise.
6517 [C99-based-standards] (PRIoFAST8): Likewise.
6518 [C99-based-standards] (PRIuFAST8): Likewise.
6519 [C99-based-standards] (PRIxFAST8): Likewise.
6520 [C99-based-standards] (PRIXFAST8): Likewise.
6521 [C99-based-standards] (SCNdFAST8): Likewise.
6522 [C99-based-standards] (SCNiFAST8): Likewise.
6523 [C99-based-standards] (SCNoFAST8): Likewise.
6524 [C99-based-standards] (SCNuFAST8): Likewise.
6525 [C99-based-standards] (SCNxFAST8): Likewise.
6526 [C99-based-standards] (PRId16): Likewise.
6527 [C99-based-standards] (PRIi16): Likewise.
6528 [C99-based-standards] (PRIo16): Likewise.
6529 [C99-based-standards] (PRIu16): Likewise.
6530 [C99-based-standards] (PRIx16): Likewise.
6531 [C99-based-standards] (PRIX16): Likewise.
6532 [C99-based-standards] (SCNd16): Likewise.
6533 [C99-based-standards] (SCNi16): Likewise.
6534 [C99-based-standards] (SCNo16): Likewise.
6535 [C99-based-standards] (SCNu16): Likewise.
6536 [C99-based-standards] (SCNx16): Likewise.
6537 [C99-based-standards] (PRIdLEAST16): Likewise.
6538 [C99-based-standards] (PRIiLEAST16): Likewise.
6539 [C99-based-standards] (PRIoLEAST16): Likewise.
6540 [C99-based-standards] (PRIuLEAST16): Likewise.
6541 [C99-based-standards] (PRIxLEAST16): Likewise.
6542 [C99-based-standards] (PRIXLEAST16): Likewise.
6543 [C99-based-standards] (SCNdLEAST16): Likewise.
6544 [C99-based-standards] (SCNiLEAST16): Likewise.
6545 [C99-based-standards] (SCNoLEAST16): Likewise.
6546 [C99-based-standards] (SCNuLEAST16): Likewise.
6547 [C99-based-standards] (SCNxLEAST16): Likewise.
6548 [C99-based-standards] (PRIdFAST16): Likewise.
6549 [C99-based-standards] (PRIiFAST16): Likewise.
6550 [C99-based-standards] (PRIoFAST16): Likewise.
6551 [C99-based-standards] (PRIuFAST16): Likewise.
6552 [C99-based-standards] (PRIxFAST16): Likewise.
6553 [C99-based-standards] (PRIXFAST16): Likewise.
6554 [C99-based-standards] (SCNdFAST16): Likewise.
6555 [C99-based-standards] (SCNiFAST16): Likewise.
6556 [C99-based-standards] (SCNoFAST16): Likewise.
6557 [C99-based-standards] (SCNuFAST16): Likewise.
6558 [C99-based-standards] (SCNxFAST16): Likewise.
6559 [C99-based-standards] (PRId32): Likewise.
6560 [C99-based-standards] (PRIi32): Likewise.
6561 [C99-based-standards] (PRIo32): Likewise.
6562 [C99-based-standards] (PRIu32): Likewise.
6563 [C99-based-standards] (PRIx32): Likewise.
6564 [C99-based-standards] (PRIX32): Likewise.
6565 [C99-based-standards] (SCNd32): Likewise.
6566 [C99-based-standards] (SCNi32): Likewise.
6567 [C99-based-standards] (SCNo32): Likewise.
6568 [C99-based-standards] (SCNu32): Likewise.
6569 [C99-based-standards] (SCNx32): Likewise.
6570 [C99-based-standards] (PRIdLEAST32): Likewise.
6571 [C99-based-standards] (PRIiLEAST32): Likewise.
6572 [C99-based-standards] (PRIoLEAST32): Likewise.
6573 [C99-based-standards] (PRIuLEAST32): Likewise.
6574 [C99-based-standards] (PRIxLEAST32): Likewise.
6575 [C99-based-standards] (PRIXLEAST32): Likewise.
6576 [C99-based-standards] (SCNdLEAST32): Likewise.
6577 [C99-based-standards] (SCNiLEAST32): Likewise.
6578 [C99-based-standards] (SCNoLEAST32): Likewise.
6579 [C99-based-standards] (SCNuLEAST32): Likewise.
6580 [C99-based-standards] (SCNxLEAST32): Likewise.
6581 [C99-based-standards] (PRIdFAST32): Likewise.
6582 [C99-based-standards] (PRIiFAST32): Likewise.
6583 [C99-based-standards] (PRIoFAST32): Likewise.
6584 [C99-based-standards] (PRIuFAST32): Likewise.
6585 [C99-based-standards] (PRIxFAST32): Likewise.
6586 [C99-based-standards] (PRIXFAST32): Likewise.
6587 [C99-based-standards] (SCNdFAST32): Likewise.
6588 [C99-based-standards] (SCNiFAST32): Likewise.
6589 [C99-based-standards] (SCNoFAST32): Likewise.
6590 [C99-based-standards] (SCNuFAST32): Likewise.
6591 [C99-based-standards] (SCNxFAST32): Likewise.
6592 [C99-based-standards] (PRId64): Likewise.
6593 [C99-based-standards] (PRIi64): Likewise.
6594 [C99-based-standards] (PRIo64): Likewise.
6595 [C99-based-standards] (PRIu64): Likewise.
6596 [C99-based-standards] (PRIx64): Likewise.
6597 [C99-based-standards] (PRIX64): Likewise.
6598 [C99-based-standards] (SCNd64): Likewise.
6599 [C99-based-standards] (SCNi64): Likewise.
6600 [C99-based-standards] (SCNo64): Likewise.
6601 [C99-based-standards] (SCNu64): Likewise.
6602 [C99-based-standards] (SCNx64): Likewise.
6603 [C99-based-standards] (PRIdLEAST64): Likewise.
6604 [C99-based-standards] (PRIiLEAST64): Likewise.
6605 [C99-based-standards] (PRIoLEAST64): Likewise.
6606 [C99-based-standards] (PRIuLEAST64): Likewise.
6607 [C99-based-standards] (PRIxLEAST64): Likewise.
6608 [C99-based-standards] (PRIXLEAST64): Likewise.
6609 [C99-based-standards] (SCNdLEAST64): Likewise.
6610 [C99-based-standards] (SCNiLEAST64): Likewise.
6611 [C99-based-standards] (SCNoLEAST64): Likewise.
6612 [C99-based-standards] (SCNuLEAST64): Likewise.
6613 [C99-based-standards] (SCNxLEAST64): Likewise.
6614 [C99-based-standards] (PRIdFAST64): Likewise.
6615 [C99-based-standards] (PRIiFAST64): Likewise.
6616 [C99-based-standards] (PRIoFAST64): Likewise.
6617 [C99-based-standards] (PRIuFAST64): Likewise.
6618 [C99-based-standards] (PRIxFAST64): Likewise.
6619 [C99-based-standards] (PRIXFAST64): Likewise.
6620 [C99-based-standards] (SCNdFAST64): Likewise.
6621 [C99-based-standards] (SCNiFAST64): Likewise.
6622 [C99-based-standards] (SCNoFAST64): Likewise.
6623 [C99-based-standards] (SCNuFAST64): Likewise.
6624 [C99-based-standards] (SCNxFAST64): Likewise.
6625 [C99-based-standards] (PRIdMAX): Likewise.
6626 [C99-based-standards] (PRIiMAX): Likewise.
6627 [C99-based-standards] (PRIoMAX): Likewise.
6628 [C99-based-standards] (PRIuMAX): Likewise.
6629 [C99-based-standards] (PRIxMAX): Likewise.
6630 [C99-based-standards] (PRIXMAX): Likewise.
6631 [C99-based-standards] (SCNdMAX): Likewise.
6632 [C99-based-standards] (SCNiMAX): Likewise.
6633 [C99-based-standards] (SCNoMAX): Likewise.
6634 [C99-based-standards] (SCNuMAX): Likewise.
6635 [C99-based-standards] (SCNxMAX): Likewise.
6636 [C99-based-standards] (PRIdPTR): Likewise.
6637 [C99-based-standards] (PRIiPTR): Likewise.
6638 [C99-based-standards] (PRIoPTR): Likewise.
6639 [C99-based-standards] (PRIuPTR): Likewise.
6640 [C99-based-standards] (PRIxPTR): Likewise.
6641 [C99-based-standards] (PRIXPTR): Likewise.
6642 [C99-based-standards] (SCNdPTR): Likewise.
6643 [C99-based-standards] (SCNiPTR): Likewise.
6644 [C99-based-standards] (SCNoPTR): Likewise.
6645 [C99-based-standards] (SCNuPTR): Likewise.
6646 [C99-based-standards] (SCNxPTR): Likewise.
6647 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6648 allow.
6649 * conform/data/stdint.h-data: Update comments to clarify
6650 requirements.
6651 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6652 type.
6653 [C99-based standards] (INT8_MAX): Likewise.
6654 [C99-based standards] (INT16_MIN): Likewise.
6655 [C99-based standards] (INT16_MAX): Likewise.
6656 [C99-based standards] (INT32_MIN): Likewise.
6657 [C99-based standards] (INT32_MAX): Likewise.
6658 [C99-based standards] (INT64_MIN): Likewise.
6659 [C99-based standards] (INT64_MAX): Likewise.
6660 [C99-based standards] (UINT8_MAX): Likewise.
6661 [C99-based standards] (UINT16_MAX): Likewise.
6662 [C99-based standards] (UINT32_MAX): Likewise.
6663 [C99-based standards] (UINT64_MAX): Likewise.
6664 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6665 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6666 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6667 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6668 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6669 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6670 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6671 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6672 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6673 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6674 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6675 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6676 [C99-based standards] (INT_FAST8_MIN): Likewise.
6677 [C99-based standards] (INT_FAST8_MAX): Likewise.
6678 [C99-based standards] (INT_FAST16_MIN): Likewise.
6679 [C99-based standards] (INT_FAST16_MAX): Likewise.
6680 [C99-based standards] (INT_FAST32_MIN): Likewise.
6681 [C99-based standards] (INT_FAST32_MAX): Likewise.
6682 [C99-based standards] (INT_FAST64_MIN): Likewise.
6683 [C99-based standards] (INT_FAST64_MAX): Likewise.
6684 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6685 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6686 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6687 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6688 [C99-based standards] (INTPTR_MIN): Likewise.
6689 [C99-based standards] (INTPTR_MAX): Likewise.
6690 [C99-based standards] (UINTPTR_MAX): Likewise.
6691 [C99-based standards] (INTMAX_MIN): Likewise.
6692 [C99-based standards] (INTMAX_MAX): Likewise.
6693 [C99-based standards] (UINTMAX_MAX): Likewise.
6694 [C99-based standards] (PTRDIFF_MIN): Likewise.
6695 [C99-based standards] (PTRDIFF_MAX): Likewise.
6696 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6697 [C99-based standards] (SIZE_MAX): Likewise.
6698 [C99-based standards] (WCHAR_MAX): Likewise.
6699 [C99-based standards] (WINT_MAX): Likewise.
6700 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6701 constraint on value.
6702 [C99-based standards] (WCHAR_MIN): Likewise.
6703 [C99-based standards] (WINT_MIN): Likewise.
6704 [C99-based standards] (*_t): Allow.
6705 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6706 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6707 Include math.h-data and complex.h-data. Remove all expectations
6708 of math.h and complex.h contents.
6709 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6710 at end of line.
6711 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6712 (struct tm): Expect tag.
6713 [C99-based-standards] (wcstof): Expect function.
6714 [C99-based-standards] (wcstold): Likewise.
6715 [C99-based-standards] (wcstoll): Likewise.
6716 [C99-based-standards] (wcstoull): Likewise.
6717 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6718 macro-int-constant. Specify type.
6719 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6720 constraint on value.
6721 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6722 Specify type.
6723 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6724 Specify value.
6725 [ISO C standards]: Do not allow headers.
6726 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6727 wcs[abcdefghijklmnopqrstuvwxyz]*.
6728 [ISO C standards] (*_t): Do not allow.
6729 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6730 Expect function.
6731 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6732 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6733 Specify type.
6734 [ISO C standards]: Do not allow headers.
6735 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6736 is[abcdefghijklmnopqrstuvwxyz]*.
6737 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6738 to[abcdefghijklmnopqrstuvwxyz]*.
6739 [ISO C standards] (*_t): Do not allow.
6740 * conform/data/stdalign.h-data: New file.
6741 * conform/data/stdbool.h-data: Likewise.
6742 * conform/data/stdnoreturn.h-data: Likewise.
6743
7514feb8
RM
67442012-11-07 Roland McGrath <roland@hack.frob.com>
6745
6746 [BZ #14815]
6747 * manual/filesys.texi (Directory Entries): Typo fix.
6748 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6749
19b2ecfc
MS
67502012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6751
6752 * elf/elf.h (EM_AARCH64): New macro.
6753 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6754 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6755 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6756 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6757 (R_AARCH64_TLSDESC): Likewise.
6758 (NT_ARM_TLS): Likewise.
6759 (NT_ARM_HW_BREAK): Likewise.
6760 (NT_ARM_HW_WATCH): Likewise.
6761
60e235ee
JM
67622012-11-07 Joseph Myers <joseph@codesourcery.com>
6763
6764 [BZ #14811]
6765 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6766 (__ieee754_powl): Saturate nonzero exponents with absolute value
6767 below 0x1p-79 to +/- 0x1p-79.
6768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6769 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6770 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6771 nonzero exponents with absolute value below 0x1p-32 to +/-
6772 0x1p-32.
6773 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6774 (__ieee754_powl): Saturate nonzero exponents with absolute value
6775 below 0x1p-79 to +/- 0x1p-79.
6776 * math/libm-test.inc (pow_test): Add more tests.
6777
0ab234b7
AK
67782012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6779
6780 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6781 _dl_s390_cap_flags with kernel. Increase string length.
6782 (_dl_s390_platforms): Add z196 and zEC12.
6783
45832f74
JM
67842012-11-07 Joseph Myers <joseph@codesourcery.com>
6785
6786 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6787 Change XOPEN21K to XOPEN2K.
6788
19218757
MK
67892012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6790
6791 * string/memmove.c: Use memcpy when possible.
6792
c5f45721
AJ
67932012-11-06 Andreas Jaeger <aj@suse.de>
6794
6795 * po/eo.po: Update from translation team.
6796
82477c28
JM
67972012-11-06 Joseph Myers <joseph@codesourcery.com>
6798
6799 [BZ #14793]
6800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6801 exponent and small x and y exponents, scale x or y up. Increase
6802 by 2 the exponent used in scaling up.
6803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6804 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6805 * math/libm-test.inc (fma_test): Add more tests.
6806 (fma_test_towardzero): Likewise.
6807 (fma_test_downward): Likewise.
6808 (fma_test_upward): Likewise.
6809
99252c8c
JM
68102012-11-05 Joseph Myers <joseph@codesourcery.com>
6811
acfa885f
JM
6812 [BZ #14805]
6813 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6814 fenv_t *.
6815
99252c8c
JM
6816 [BZ #14801]
6817 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6818 namespace for names of struct fields.
6819 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6820 fenv_t fields.
6821 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6822 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6823
d6d98dea
ST
68242012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6825
6826 [BZ #3665]
6827 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6828
e10bb107
TS
68292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6830
6831 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6832 PTR_DEMANGLE.
6833
6834 [BZ #5246]
6835 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6836 PTR_DEMANGLE.
6837
a0c2940d
JM
68382012-11-04 Joseph Myers <joseph@codesourcery.com>
6839
6840 [BZ #14797]
6841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6842 definitely overflow as x * y not x * y + z.
6843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6845 * math/libm-test.inc (fma_test): Add more tests.
6846 (fma_test_towardzero): Likewise.
6847 (fma_test_downward): Likewise.
6848 (fma_test_upward): Likewise.
6849
b830319d
TS
68502012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6851
6852 [BZ #157]
6853
6854 * include/stub-tag.h: Remove file.
6855 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6856 '#include' of it.
6857 * manual/maint.texi (Porting): Don't reference it.
6858 * Makerules ($(objpfx)stubs): Likewise.
6859 * dirent/closedir.c: Don't include <stub-tag.h>.
6860 * dirent/dirfd.c: Likewise.
6861 * dirent/fdopendir.c: Likewise.
6862 * dirent/getdents.c: Likewise.
6863 * dirent/getdents64.c: Likewise.
6864 * dirent/opendir.c: Likewise.
6865 * dirent/readdir.c: Likewise.
6866 * dirent/readdir64.c: Likewise.
6867 * dirent/readdir64_r.c: Likewise.
6868 * dirent/readdir_r.c: Likewise.
6869 * dirent/rewinddir.c: Likewise.
6870 * dirent/seekdir.c: Likewise.
6871 * dirent/telldir.c: Likewise.
6872 * gmon/profil.c: Likewise.
6873 * grp/setgroups.c: Likewise.
6874 * inet/if_index.c: Likewise.
6875 * io/access.c: Likewise.
6876 * io/chdir.c: Likewise.
6877 * io/chmod.c: Likewise.
6878 * io/chown.c: Likewise.
6879 * io/close.c: Likewise.
6880 * io/dup.c: Likewise.
6881 * io/dup2.c: Likewise.
6882 * io/dup3.c: Likewise.
6883 * io/euidaccess.c: Likewise.
6884 * io/faccessat.c: Likewise.
6885 * io/fchdir.c: Likewise.
6886 * io/fchmod.c: Likewise.
6887 * io/fchmodat.c: Likewise.
6888 * io/fchown.c: Likewise.
6889 * io/fchownat.c: Likewise.
6890 * io/fcntl.c: Likewise.
6891 * io/flock.c: Likewise.
6892 * io/fstatfs.c: Likewise.
6893 * io/fstatfs64.c: Likewise.
6894 * io/fstatvfs.c: Likewise.
6895 * io/fstatvfs64.c: Likewise.
6896 * io/futimens.c: Likewise.
6897 * io/fxstat.c: Likewise.
6898 * io/fxstat64.c: Likewise.
6899 * io/fxstatat.c: Likewise.
6900 * io/fxstatat64.c: Likewise.
6901 * io/getcwd.c: Likewise.
6902 * io/isatty.c: Likewise.
6903 * io/lchmod.c: Likewise.
6904 * io/lchown.c: Likewise.
6905 * io/link.c: Likewise.
6906 * io/linkat.c: Likewise.
6907 * io/lseek.c: Likewise.
6908 * io/lseek64.c: Likewise.
6909 * io/lxstat64.c: Likewise.
6910 * io/mkdir.c: Likewise.
6911 * io/mkdirat.c: Likewise.
6912 * io/mkfifo.c: Likewise.
6913 * io/mkfifoat.c: Likewise.
6914 * io/open.c: Likewise.
6915 * io/open64.c: Likewise.
6916 * io/openat.c: Likewise.
6917 * io/openat64.c: Likewise.
6918 * io/pipe.c: Likewise.
6919 * io/pipe2.c: Likewise.
6920 * io/poll.c: Likewise.
6921 * io/posix_fadvise.c: Likewise.
6922 * io/posix_fadvise64.c: Likewise.
6923 * io/posix_fallocate.c: Likewise.
6924 * io/posix_fallocate64.c: Likewise.
6925 * io/read.c: Likewise.
6926 * io/readlink.c: Likewise.
6927 * io/readlinkat.c: Likewise.
6928 * io/rmdir.c: Likewise.
6929 * io/sendfile.c: Likewise.
6930 * io/sendfile64.c: Likewise.
6931 * io/statfs.c: Likewise.
6932 * io/statfs64.c: Likewise.
6933 * io/statvfs.c: Likewise.
6934 * io/statvfs64.c: Likewise.
6935 * io/symlink.c: Likewise.
6936 * io/symlinkat.c: Likewise.
6937 * io/ttyname.c: Likewise.
6938 * io/ttyname_r.c: Likewise.
6939 * io/umask.c: Likewise.
6940 * io/unlink.c: Likewise.
6941 * io/unlinkat.c: Likewise.
6942 * io/utime.c: Likewise.
6943 * io/utimensat.c: Likewise.
6944 * io/write.c: Likewise.
6945 * io/xmknod.c: Likewise.
6946 * io/xmknodat.c: Likewise.
6947 * io/xstat.c: Likewise.
6948 * io/xstat64.c: Likewise.
6949 * login/getpt.c: Likewise.
6950 * login/grantpt.c: Likewise.
6951 * login/unlockpt.c: Likewise.
6952 * math/e_acoshl.c: Likewise.
6953 * math/e_acosl.c: Likewise.
6954 * math/e_asinl.c: Likewise.
6955 * math/e_atan2l.c: Likewise.
6956 * math/e_atanhl.c: Likewise.
6957 * math/e_coshl.c: Likewise.
6958 * math/e_expl.c: Likewise.
6959 * math/e_fmodl.c: Likewise.
6960 * math/e_gammal_r.c: Likewise.
6961 * math/e_hypotl.c: Likewise.
6962 * math/e_j0l.c: Likewise.
6963 * math/e_j1l.c: Likewise.
6964 * math/e_jnl.c: Likewise.
6965 * math/e_lgammal_r.c: Likewise.
6966 * math/e_log10l.c: Likewise.
6967 * math/e_log2l.c: Likewise.
6968 * math/e_logl.c: Likewise.
6969 * math/e_powl.c: Likewise.
6970 * math/e_rem_pio2l.c: Likewise.
6971 * math/e_sinhl.c: Likewise.
6972 * math/e_sqrtl.c: Likewise.
6973 * math/fclrexcpt.c: Likewise.
6974 * math/fedisblxcpt.c: Likewise.
6975 * math/feenablxcpt.c: Likewise.
6976 * math/fegetenv.c: Likewise.
6977 * math/fegetexcept.c: Likewise.
6978 * math/fegetround.c: Likewise.
6979 * math/feholdexcpt.c: Likewise.
6980 * math/fesetenv.c: Likewise.
6981 * math/fesetround.c: Likewise.
6982 * math/feupdateenv.c: Likewise.
6983 * math/fgetexcptflg.c: Likewise.
6984 * math/fraiseexcpt.c: Likewise.
6985 * math/fsetexcptflg.c: Likewise.
6986 * math/ftestexcept.c: Likewise.
6987 * math/k_cosl.c: Likewise.
6988 * math/k_rem_pio2l.c: Likewise.
6989 * math/k_sinl.c: Likewise.
6990 * math/k_tanl.c: Likewise.
6991 * math/s_asinhl.c: Likewise.
6992 * math/s_atanl.c: Likewise.
6993 * math/s_cbrtl.c: Likewise.
6994 * math/s_erfl.c: Likewise.
6995 * math/s_expm1l.c: Likewise.
6996 * math/s_log1pl.c: Likewise.
6997 * math/s_tanhl.c: Likewise.
6998 * misc/acct.c: Likewise.
6999 * misc/brk.c: Likewise.
7000 * misc/chflags.c: Likewise.
7001 * misc/chroot.c: Likewise.
7002 * misc/fchflags.c: Likewise.
7003 * misc/fgetxattr.c: Likewise.
7004 * misc/flistxattr.c: Likewise.
7005 * misc/fremovexattr.c: Likewise.
7006 * misc/fsetxattr.c: Likewise.
7007 * misc/fsync.c: Likewise.
7008 * misc/ftruncate.c: Likewise.
7009 * misc/futimes.c: Likewise.
7010 * misc/futimesat.c: Likewise.
7011 * misc/getdomain.c: Likewise.
7012 * misc/getdtsz.c: Likewise.
7013 * misc/gethostid.c: Likewise.
7014 * misc/gethostname.c: Likewise.
7015 * misc/getloadavg.c: Likewise.
7016 * misc/getpagesize.c: Likewise.
7017 * misc/getsysstats.c: Likewise.
7018 * misc/getxattr.c: Likewise.
7019 * misc/gtty.c: Likewise.
7020 * misc/ioctl.c: Likewise.
7021 * misc/lgetxattr.c: Likewise.
7022 * misc/listxattr.c: Likewise.
7023 * misc/llistxattr.c: Likewise.
7024 * misc/lremovexattr.c: Likewise.
7025 * misc/lsetxattr.c: Likewise.
7026 * misc/lutimes.c: Likewise.
7027 * misc/madvise.c: Likewise.
7028 * misc/mincore.c: Likewise.
7029 * misc/mlock.c: Likewise.
7030 * misc/mlockall.c: Likewise.
7031 * misc/mmap.c: Likewise.
7032 * misc/mprotect.c: Likewise.
7033 * misc/msync.c: Likewise.
7034 * misc/munlock.c: Likewise.
7035 * misc/munlockall.c: Likewise.
7036 * misc/munmap.c: Likewise.
7037 * misc/preadv.c: Likewise.
7038 * misc/preadv64.c: Likewise.
7039 * misc/ptrace.c: Likewise.
7040 * misc/pwritev.c: Likewise.
7041 * misc/pwritev64.c: Likewise.
7042 * misc/readv.c: Likewise.
7043 * misc/reboot.c: Likewise.
7044 * misc/remap_file_pages.c: Likewise.
7045 * misc/removexattr.c: Likewise.
7046 * misc/revoke.c: Likewise.
7047 * misc/select.c: Likewise.
7048 * misc/setdomain.c: Likewise.
7049 * misc/setegid.c: Likewise.
7050 * misc/seteuid.c: Likewise.
7051 * misc/sethostid.c: Likewise.
7052 * misc/sethostname.c: Likewise.
7053 * misc/setregid.c: Likewise.
7054 * misc/setreuid.c: Likewise.
7055 * misc/setxattr.c: Likewise.
7056 * misc/sstk.c: Likewise.
7057 * misc/stty.c: Likewise.
7058 * misc/swapoff.c: Likewise.
7059 * misc/swapon.c: Likewise.
7060 * misc/sync.c: Likewise.
7061 * misc/syncfs.c: Likewise.
7062 * misc/syscall.c: Likewise.
7063 * misc/truncate.c: Likewise.
7064 * misc/ualarm.c: Likewise.
7065 * misc/usleep.c: Likewise.
7066 * misc/ustat.c: Likewise.
7067 * misc/utimes.c: Likewise.
7068 * misc/vhangup.c: Likewise.
7069 * misc/writev.c: Likewise.
7070 * posix/_exit.c: Likewise.
7071 * posix/alarm.c: Likewise.
7072 * posix/execve.c: Likewise.
7073 * posix/fexecve.c: Likewise.
7074 * posix/fork.c: Likewise.
7075 * posix/fpathconf.c: Likewise.
7076 * posix/getaddrinfo.c: Likewise.
7077 * posix/getegid.c: Likewise.
7078 * posix/geteuid.c: Likewise.
7079 * posix/getgid.c: Likewise.
7080 * posix/getgroups.c: Likewise.
7081 * posix/getlogin.c: Likewise.
7082 * posix/getlogin_r.c: Likewise.
7083 * posix/getpgid.c: Likewise.
7084 * posix/getpid.c: Likewise.
7085 * posix/getppid.c: Likewise.
7086 * posix/getresgid.c: Likewise.
7087 * posix/getresuid.c: Likewise.
7088 * posix/getsid.c: Likewise.
7089 * posix/getuid.c: Likewise.
7090 * posix/glob64.c: Likewise.
7091 * posix/nanosleep.c: Likewise.
7092 * posix/pathconf.c: Likewise.
7093 * posix/pause.c: Likewise.
7094 * posix/posix_madvise.c: Likewise.
7095 * posix/pread.c: Likewise.
7096 * posix/pread64.c: Likewise.
7097 * posix/pwrite.c: Likewise.
7098 * posix/pwrite64.c: Likewise.
7099 * posix/sched_getaffinity.c: Likewise.
7100 * posix/sched_getp.c: Likewise.
7101 * posix/sched_gets.c: Likewise.
7102 * posix/sched_primax.c: Likewise.
7103 * posix/sched_primin.c: Likewise.
7104 * posix/sched_rr_gi.c: Likewise.
7105 * posix/sched_setaffinity.c: Likewise.
7106 * posix/sched_setp.c: Likewise.
7107 * posix/sched_sets.c: Likewise.
7108 * posix/sched_yield.c: Likewise.
7109 * posix/setgid.c: Likewise.
7110 * posix/setlogin.c: Likewise.
7111 * posix/setpgid.c: Likewise.
7112 * posix/setresgid.c: Likewise.
7113 * posix/setresuid.c: Likewise.
7114 * posix/setsid.c: Likewise.
7115 * posix/setuid.c: Likewise.
7116 * posix/sleep.c: Likewise.
7117 * posix/spawni.c: Likewise.
7118 * posix/sysconf.c: Likewise.
7119 * posix/times.c: Likewise.
7120 * posix/wait.c: Likewise.
7121 * posix/wait3.c: Likewise.
7122 * posix/wait4.c: Likewise.
7123 * posix/waitpid.c: Likewise.
7124 * resolv/gai_sigqueue.c: Likewise.
7125 * resource/getpriority.c: Likewise.
7126 * resource/getrlimit.c: Likewise.
7127 * resource/getrusage.c: Likewise.
7128 * resource/nice.c: Likewise.
7129 * resource/setpriority.c: Likewise.
7130 * resource/setrlimit.c: Likewise.
7131 * resource/ulimit.c: Likewise.
7132 * rt/aio_cancel.c: Likewise.
7133 * rt/aio_fsync.c: Likewise.
7134 * rt/aio_read.c: Likewise.
7135 * rt/aio_sigqueue.c: Likewise.
7136 * rt/aio_suspend.c: Likewise.
7137 * rt/aio_write.c: Likewise.
7138 * rt/clock_getres.c: Likewise.
7139 * rt/clock_gettime.c: Likewise.
7140 * rt/clock_nanosleep.c: Likewise.
7141 * rt/clock_settime.c: Likewise.
7142 * rt/lio_listio.c: Likewise.
7143 * rt/mq_close.c: Likewise.
7144 * rt/mq_getattr.c: Likewise.
7145 * rt/mq_notify.c: Likewise.
7146 * rt/mq_open.c: Likewise.
7147 * rt/mq_receive.c: Likewise.
7148 * rt/mq_send.c: Likewise.
7149 * rt/mq_setattr.c: Likewise.
7150 * rt/mq_timedreceive.c: Likewise.
7151 * rt/mq_timedsend.c: Likewise.
7152 * rt/mq_unlink.c: Likewise.
7153 * rt/shm_open.c: Likewise.
7154 * rt/shm_unlink.c: Likewise.
7155 * rt/timer_create.c: Likewise.
7156 * rt/timer_delete.c: Likewise.
7157 * rt/timer_getoverr.c: Likewise.
7158 * rt/timer_gettime.c: Likewise.
7159 * rt/timer_settime.c: Likewise.
7160 * setjmp/__longjmp.c: Likewise.
7161 * setjmp/setjmp.c: Likewise.
7162 * signal/kill.c: Likewise.
7163 * signal/killpg.c: Likewise.
7164 * signal/raise.c: Likewise.
7165 * signal/sigaction.c: Likewise.
7166 * signal/sigaltstack.c: Likewise.
7167 * signal/sigblock.c: Likewise.
7168 * signal/sigignore.c: Likewise.
7169 * signal/sigintr.c: Likewise.
7170 * signal/signal.c: Likewise.
7171 * signal/sigpause.c: Likewise.
7172 * signal/sigpending.c: Likewise.
7173 * signal/sigqueue.c: Likewise.
7174 * signal/sigreturn.c: Likewise.
7175 * signal/sigset.c: Likewise.
7176 * signal/sigsetmask.c: Likewise.
7177 * signal/sigstack.c: Likewise.
7178 * signal/sigsuspend.c: Likewise.
7179 * signal/sigtimedwait.c: Likewise.
7180 * signal/sigvec.c: Likewise.
7181 * signal/sigwait.c: Likewise.
7182 * signal/sigwaitinfo.c: Likewise.
7183 * signal/sysv_signal.c: Likewise.
7184 * socket/accept.c: Likewise.
7185 * socket/accept4.c: Likewise.
7186 * socket/bind.c: Likewise.
7187 * socket/connect.c: Likewise.
7188 * socket/getpeername.c: Likewise.
7189 * socket/getsockname.c: Likewise.
7190 * socket/getsockopt.c: Likewise.
7191 * socket/isfdtype.c: Likewise.
7192 * socket/listen.c: Likewise.
7193 * socket/recv.c: Likewise.
7194 * socket/recvfrom.c: Likewise.
7195 * socket/recvmsg.c: Likewise.
7196 * socket/send.c: Likewise.
7197 * socket/sendmsg.c: Likewise.
7198 * socket/sendto.c: Likewise.
7199 * socket/setsockopt.c: Likewise.
7200 * socket/shutdown.c: Likewise.
7201 * socket/sockatmark.c: Likewise.
7202 * socket/socket.c: Likewise.
7203 * socket/socketpair.c: Likewise.
7204 * stdio-common/ctermid.c: Likewise.
7205 * stdio-common/cuserid.c: Likewise.
7206 * stdio-common/remove.c: Likewise.
7207 * stdio-common/rename.c: Likewise.
7208 * stdio-common/renameat.c: Likewise.
7209 * stdio-common/tempname.c: Likewise.
7210 * stdlib/getcontext.c: Likewise.
7211 * stdlib/makecontext.c: Likewise.
7212 * stdlib/setcontext.c: Likewise.
7213 * stdlib/swapcontext.c: Likewise.
7214 * stdlib/system.c: Likewise.
7215 * streams/fattach.c: Likewise.
7216 * streams/fdetach.c: Likewise.
7217 * streams/getmsg.c: Likewise.
7218 * streams/getpmsg.c: Likewise.
7219 * streams/putmsg.c: Likewise.
7220 * streams/putpmsg.c: Likewise.
7221 * sysdeps/unix/bsd/getpt.c: Likewise.
7222 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7223 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7224 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7226 Likewise.
7227 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7228 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7229 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7230 * sysvipc/msgctl.c: Likewise.
7231 * sysvipc/msgget.c: Likewise.
7232 * sysvipc/msgrcv.c: Likewise.
7233 * sysvipc/msgsnd.c: Likewise.
7234 * sysvipc/semctl.c: Likewise.
7235 * sysvipc/semget.c: Likewise.
7236 * sysvipc/semop.c: Likewise.
7237 * sysvipc/semtimedop.c: Likewise.
7238 * sysvipc/shmat.c: Likewise.
7239 * sysvipc/shmctl.c: Likewise.
7240 * sysvipc/shmdt.c: Likewise.
7241 * sysvipc/shmget.c: Likewise.
7242 * termios/tcdrain.c: Likewise.
7243 * termios/tcflow.c: Likewise.
7244 * termios/tcflush.c: Likewise.
7245 * termios/tcgetattr.c: Likewise.
7246 * termios/tcgetpgrp.c: Likewise.
7247 * termios/tcsendbrk.c: Likewise.
7248 * termios/tcsetattr.c: Likewise.
7249 * termios/tcsetpgrp.c: Likewise.
7250 * time/adjtime.c: Likewise.
7251 * time/clock.c: Likewise.
7252 * time/getitimer.c: Likewise.
7253 * time/gettimeofday.c: Likewise.
7254 * time/setitimer.c: Likewise.
7255 * time/settimeofday.c: Likewise.
7256 * time/stime.c: Likewise.
7257 * time/time.c: Likewise.
7258
72592012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7260
a20492cf
PT
7261 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7262 /usr/old/bin.
7263
72e182e3
PT
7264 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7265 instead of spaces.
7266 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7267
fbeafede
JM
72682012-11-03 Joseph Myers <joseph@codesourcery.com>
7269
5b5b04d6
JM
7270 [BZ #14796]
7271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7272 FE_TONEAREST before applying Dekker multiplication and Knuth
7273 addition. Clear inexact exceptions and check for exact zero
7274 results afterwards.
7275 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7276 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7277 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7278 * math/libm-test.inc (fma_test): Add more tests.
7279 (fma_test_towardzero): Likewise.
7280 (fma_test_downward): Likewise.
7281 (fma_test_upward): Likewise.
7282 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7283 function.
7284 (libc_fesetround): New macro.
7285 (libc_fesetroundf): Likewise.
7286 (libc_fesetroundl): Likewise.
7287 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7288 function.
7289 (libc_fesetround_387): Likewise.
7290 (libc_fesetroundf): New macro.
7291 (libc_fesetround): Likewise.
7292 (libc_fesetroundl): Likewise.
7293 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7294 function.
7295 (libc_fesetroundf): New macro.
7296 (libc_fesetround): Likewise.
7297 (libc_fesetroundl): Likewise.
7298 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7299 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7300 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7301 libm_hidden_ver.
7302 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7303 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7304 libm_hidden_def.
7305 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7306 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7307 libm_hidden_ver.
7308 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7309 libm_hidden_def.
7310
fbeafede
JM
7311 [BZ #3439]
7312 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7313 integer constant usable in #if and use that to give value to enum
7314 constant.
7315 (FE_DIVBYZERO): Likewise.
7316 (FE_UNDERFLOW): Likewise.
7317 (FE_OVERFLOW): Likewise.
7318 (FE_INVALID): Likewise.
7319 (FE_INVALID_SNAN): Likewise.
7320 (FE_INVALID_ISI): Likewise.
7321 (FE_INVALID_IDI): Likewise.
7322 (FE_INVALID_ZDZ): Likewise.
7323 (FE_INVALID_IMZ): Likewise.
7324 (FE_INVALID_COMPARE): Likewise.
7325 (FE_INVALID_SOFTWARE): Likewise.
7326 (FE_INVALID_SQRT): Likewise.
7327 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7328 (FE_TONEAREST): Likewise.
7329 (FE_TOWARDZERO): Likewise.
7330 (FE_UPWARD): Likewise.
7331 (FE_DOWNWARD): Likewise.
7332 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7333 (FE_DIVBYZERO): Likewise.
7334 (FE_OVERFLOW): Likewise.
7335 (FE_UNDERFLOW): Likewise.
7336 (FE_INEXACT): Likewise.
7337 (FE_TONEAREST): Likewise.
7338 (FE_DOWNWARD): Likewise.
7339 (FE_UPWARD): Likewise.
7340 (FE_TOWARDZERO): Likewise.
7341 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7342 (FE_UNDERFLOW): Likewise.
7343 (FE_OVERFLOW): Likewise.
7344 (FE_DIVBYZERO): Likewise.
7345 (FE_INVALID): Likewise.
7346 (FE_TONEAREST): Likewise.
7347 (FE_TOWARDZERO): Likewise.
7348 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7349 (FE_OVERFLOW): Likewise.
7350 (FE_UNDERFLOW): Likewise.
7351 (FE_DIVBYZERO): Likewise.
7352 (FE_INEXACT): Likewise.
7353 (FE_TONEAREST): Likewise.
7354 (FE_TOWARDZERO): Likewise.
7355 (FE_UPWARD): Likewise.
7356 (FE_DOWNWARD): Likewise.
7357 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7358 (FE_DIVBYZERO): Likewise.
7359 (FE_OVERFLOW): Likewise.
7360 (FE_UNDERFLOW): Likewise.
7361 (FE_INEXACT): Likewise.
7362 (FE_TONEAREST): Likewise.
7363 (FE_DOWNWARD): Likewise.
7364 (FE_UPWARD): Likewise.
7365 (FE_TOWARDZERO): Likewise.
7366
105ca950
CM
73672012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7368
7369 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7370
a542b389
AS
73712012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7372
7373 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7374 commands. Quote $PWD.
7375 (blacklist_exports): Don't use remove_newlines. Replace "declare
7376 -x" by "export".
7377 (remove_newlines): Remove.
7378
f62c8abc
L
73792012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7380
7381 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7382 * stdlib/stdlib.h (atof): Moved to ...
7383 * include/bits/stdlib-float.h: Here. New file.
7384 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7385 * stdlib/bits/stdlib-float.h: New file.
7386 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7387 -mno-sse -mno-mmx.
7388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7389 <xmmintrin.h>.
7390
0155d5b2
JM
73912012-11-02 Joseph Myers <joseph@codesourcery.com>
7392
a68d0680
JM
7393 * conform/conformtest.pl (@headers): Add fenv.h.
7394 * conform/data/fenv.h-data: New file.
7395 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7396 include of <math/fenv.h>.
7397
caf7f573
JM
7398 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7399 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7400 && !UNIX98]. Enables tests for XOPEN2K8.
7401 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7402 POSIX2008]: Likewise.
7403
6c073ad6
JM
7404 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7405 (struct rusage): Do not expect type or its members.
7406
0155d5b2
JM
7407 [BZ #3439]
7408 * math/math.h (FP_NAN): Define macro to integer constant usable in
7409 #if and use that to give value to enum constant.
7410 (FP_INFINITE): Likewise.
7411 (FP_ZERO): Likewise.
7412 (FP_SUBNORMAL): Likewise.
7413 (FP_NORMAL): Likewise.
7414
b5dcacb4
AS
74152012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7416
7417 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7418 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7419 arguments.
7420
f7934be8
RM
74212012-11-02 Roland McGrath <roland@hack.frob.com>
7422
7423 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7424 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7425 autoconf-time if not.
7426 * configure.in: Remove AC_PREREQ.
7427
d7d08bde
TMQMF
74282012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7429
7430 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7431 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7432 of the internal implementation.
7433
dcdae19a
JM
74342012-11-02 Joseph Myers <joseph@codesourcery.com>
7435
7436 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7437 except include of <misc/sys/syslog.h>.
7438
d6cffd3e
AS
74392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7440
7441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7442 function returns with a NULL context exit with zero.
7443
b3563932
TMQMF
74442012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7445
7446 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7447
b288a93d
L
74482012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7449
7450 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7451 (run_program_cmd): This.
7452 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7453 (tst_langinfo): New variable. Use it.
7454
a2421a68
SAS
74552012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7456
7457 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7458 floating point opcodes.
7459
6f796e1b
TS
74602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7461
7402596b
TS
7462 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7463 variable.
7464
d0d4f868
TS
7465 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7466
6f796e1b
TS
7467 * sysdeps/mach/hurd/powerpc: Remove directory.
7468 * sysdeps/mach/powerpc: Likewise.
7469
4da224a2
AS
74702012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7471
7472 * scripts/check-local-headers.sh: Ignore c++ headers.
7473
341dd673
TS
74742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7475
7476 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7477 __libc_cleanup_region_start argument.
7478
473611b2
JM
74792012-11-01 Joseph Myers <joseph@codesourcery.com>
7480
7481 [BZ #14784]
7482 [BZ #14785]
7483 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7484 x * y using scaling, not as x * y + z.
7485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7487 * math/libm-test.inc (fma_test): Add more tests.
7488 (fma_test_towardzero): Likewise.
7489 (fma_test_downward): Likewise.
7490 (fma_test_upward): Likewise.
7491
4078da3d
TS
74922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7493
7494 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7495
903252aa
JM
74962012-10-31 Joseph Myers <joseph@codesourcery.com>
7497
7498 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7499 New variable.
7500
cbc818d0
TS
75012012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7502
7503 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7504
5a03cb1e
AS
75052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7506
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7508 Fix sort order.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7510 Likewise.
7511
90aff2ff
TMQMF
75122012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7513
7514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7515 Fix the order of the list for glibc 2.17.
7516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7517 Likewise.
7518
1818fcb7
AS
75192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7520
7521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7522
ef82f4da
JM
75232012-10-31 Joseph Myers <joseph@codesourcery.com>
7524
16a0e2ec
JM
7525 [BZ #14610]
7526 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7527 for low part of x being zero before using __atanl (y).
7528 * math/libm-test.inc (atan2_test): Add another test.
7529
0eb69512
JM
7530 * manual/install.texi (Configuring and compiling): Document
7531 general use of test-wrapper and test-wrapper-env.
7532 * INSTALL: Regenerated.
7533
ef82f4da
JM
7534 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7535 (__fma): Do not extract and scale down low bits on after-rounding
7536 systems when result rounded to normal precision would have normal
7537 exponent.
7538 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7539 (__fmal): Do not extract and scale down low bits on after-rounding
7540 systems when result rounded to normal precision would have normal
7541 exponent.
7542 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7543 (__fmal): Do not extract and scale down low bits on after-rounding
7544 systems when result rounded to normal precision would have normal
7545 exponent.
7546 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7547 macro.
7548 (fma_test): Add more tests.
7549 (fma_test_towardzero): Likewise.
7550 (fma_test_downward): Likewise.
7551 (fma_test_upward): Likewise.
7552
954ef0d9
L
75532012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7554
7555 * sysdeps/i386/tininess.h: Renamed to ...
7556 * sysdeps/x86/tininess.h: This.
7557 * sysdeps/x86_64/tininess.h: Removed.
7558
df61ffb2
JM
75592012-10-30 Joseph Myers <joseph@codesourcery.com>
7560
7561 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7562 input. Use $(build-program-cmd).
7563 ($(objpfx)tst-array1-static.out): Likewise.
7564 ($(objpfx)tst-array2.out): Likewise.
7565 ($(objpfx)tst-array3.out): Likewise.
7566 ($(objpfx)tst-array4.out): Likewise.
7567 ($(objpfx)tst-array5.out): Likewise.
7568 ($(objpfx)tst-array5-static.out): Likewise.
7569
01767843
CM
75702012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7571
47cc1490
CM
7572 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7573 if defined.
7574
01767843
CM
7575 * nss/nsswitch.h (nss_interface_function): Provide new
7576 macro for use with NSS functions.
7577 * grp/initgroups.c: Use new macro.
7578 * nss/getXXbyYY.c: Likewise.
7579 * nss/getXXbyYY_r.c: Likewise.
7580 * nss/getXXent.c: Likewise.
7581 * nss/getXXent_r.c: Likewise.
7582 * sysdeps/posix/getaddrinfo.c: Likewise.
7583
8321aa97
AJ
75842012-10-30 Andreas Jaeger <aj@suse.de>
7585
7586 * po/ru.po: Update Russion translation from translation project.
7587
2a27fd6d
JM
75882012-10-30 Joseph Myers <joseph@codesourcery.com>
7589
8627a232
JM
7590 [BZ #14152]
7591 [BZ #14783]
7592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7593 result and shift together with sticky bit instead of replicating
7594 round-to-nearest rounding.
7595 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7597 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7598 missing underflow exceptions.
7599 (fma_test_towardzero): Add more tests.
7600 (fma_test_downward): Likewise.
7601 (fma_test_upward): Likewise.
7602
2a27fd6d
JM
7603 [BZ #14047]
7604 * sysdeps/generic/tininess.h: New file.
7605 * sysdeps/i386/tininess.h: Likewise.
7606 * sysdeps/sh/tininess.h: Likewise.
7607 * sysdeps/x86_64/tininess.h: Likewise.
7608 * stdlib/tst-strtod-underflow.c: Likewise.
7609 * stdlib/tst-tininess.c: Likewise.
7610 * stdlib/strtod_l.c: Include <tininess.h>.
7611 (round_and_return): Do not set errno for exact underflow cases.
7612 Force an underflow exception when setting errno for underflow.
7613 Determine underflow based on rounding to normal precision if
7614 TININESS_AFTER_ROUNDING.
7615 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7616 ERANGE for exact underflow cases.
7617 * stdlib/Makefile (tests): Add tst-tininess and
7618 tst-strtod-underflow.
7619 ($(objpfx)tst-tininess): Use $(link-libm).
7620 ($(objpfx)tst-strtod-underflow): Likewise.
7621
e7170363
AJ
76222012-10-30 Andreas Jaeger <aj@suse.de>
7623
e5088dc6
AJ
7624 [BZ#14767]
7625 * elf/Makefile (tests): Remove conditional for have-initfini-array
7626 since this is now always required and the variable does not exist
7627 anymore.
7628 (tests-static): Likewise.
7629 (modules-names): Likewise.
7630
e7170363 7631 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7632
7633 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7634 merged with constructor/destructor.
7635 (init_array): Likewise.
7636 * elf/tst-array2dep.c (fini_array): Likewise.
7637 (init_array): Likewise.
7638
60457d8a
MF
76392012-10-29 Mike Frysinger <vapier@gentoo.org>
7640
7641 * manual/message.texi: Delete @cartouche tags.
7642
8bece752
PT
76432012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7644
94ce799f
PT
7645 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7646 EOPNOTSUPP.
7647 * sysdeps/mach/hurd/fsync.c: Likewise.
7648
8bece752
PT
7649 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7650 [_POSIX_REALTIME_SIGNALS]: Change condition to
7651 [_POSIX_REALTIME_SIGNALS > 0].
7652
86ebe6b1
AJ
76532012-10-27 Andreas Jaeger <aj@suse.de>
7654
7655 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7656 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7658 [__WORDSIZE != 64]: Likewise.
7659
54399c08
L
76602012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7661
7662 * iconvdata/tst-table.sh: Remove ${SHELL}.
7663 * iconvdata/tst-tables.sh: Likewise.
7664
e2211bed
DM
76652012-10-25 David S. Miller <davem@davemloft.net>
7666
7667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7668 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7669 of strtoull.
7670
f303f97c
DM
7671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7672 ifunc-impl-list.c
7673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7674 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7675 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7676 file.
7677
1e9d84cd
RM
76782012-10-25 Roland McGrath <roland@hack.frob.com>
7679
7680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7681 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7682 __getdirentries.
7683
df381762
JM
76842012-10-25 Joseph Myers <joseph@codesourcery.com>
7685 Jim Blandy <jimb@codesourcery.com>
7686
7687 * scripts/cross-test-ssh.sh: New file.
7688 * manual/install.texi (Configuring and compiling): Document use of
7689 cross-test-ssh.sh.
7690 * INSTALL: Regenerated.
7691
bff64913
PT
76922012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7693
7694 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7695 EOPNOTSUPP.
7696
25fe8932
JM
76972012-10-25 Joseph Myers <joseph@codesourcery.com>
7698
7699 * Makeconfig (run-program-prefix): Fix comment.
7700
cc1290d0
JM
77012012-10-24 Joseph Myers <joseph@codesourcery.com>
7702 Jim Blandy <jimb@codesourcery.com>
7703
7704 * Makeconfig (test-wrapper): New variable,
7705 (test-wrapper-env): Likewise.
7706 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7707 (run-built-tests): Define to yes.
7708 (run-program-prefix): Use $(test-wrapper).
7709 (built-program-cmd): Likewise.
7710 * Rules (make-test-out): Use $(test-wrapper-env) and
7711 $(host-built-program-cmd).
7712 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7713 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7714 tst-pathopt.sh.
7715 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7716 $(test-wrapper-env) to tst-rtld-load-self.sh.
7717 ($(objpfx)order2.out): Use $(test-wrapper).
7718 ($(objpfx)tst-initorder.out): Likewise.
7719 ($(objpfx)tst-initorder2.out): Likewise.
7720 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7721 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7722 (test_wrapper_env): New variable. Use it to run ld.so.
7723 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7724 Use it to run ld.so.
7725 (test_wrapper_env): Likewise.
7726 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7727 $(test-wrapper) to run-iconv-test.sh.
7728 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7729 (ICONV): Use $test_wrapper.
7730 * posix/Makefile ($(objpfx)globtest.out): Pass
7731 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7732 globtest.sh, not $(run-program-prefix).
7733 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7734 (test_wrapper): Likewise.
7735 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7736 set together with run_via_rtld_prefix.
7737 (run_program_prefix): Define in terms of test_wrapper and
7738 run_via_rtld_prefix.
7739
6e6249d0
RM
77402012-10-24 Roland McGrath <roland@hack.frob.com>
7741
7742 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7743 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7744 Targets removed.
7745
7746 [BZ #14743]
7747 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7748 Declare __clock_getres, __clock_gettime, __clock_settime,
7749 __clock_nanosleep, and __clock_getcpuclockid.
7750 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7751 Remove librt_hidden_def (clock_gettime).
7752 * sysdeps/unix/clock_gettime.c: Likewise.
7753 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7754 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7755 * rt/clock_getres.c: Define __clock_getres as an alias.
7756 * sysdeps/posix/clock_getres.c: Likewise.
7757 * rt/clock_settime.c: Define __clock_settime as an alias.
7758 * sysdeps/unix/clock_settime.c: Likewise.
7759 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7760 * sysdeps/unix/clock_nanosleep.c: Likewise.
7761 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7762 * rt/clock-compat.c: New file.
7763 * rt/Makefile (librt-routines): Add clock-compat and move
7764 $(clock-routines) to ...
7765 (routines): ... here, new variable.
7766 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7767 Don't add get_clockfreq here.
7768 * rt/Versions (libc: GLIBC_2.17): New version set.
7769 Add clock_* symbols here.
7770 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7771 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7772 (GLIBC_2.17): Add clock_* symbols.
7773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7775 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7777 Likewise.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7779 Likewise.
7780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7784 * NEWS: Mention the move.
7785
7786 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7787 Use __open, __read, __close rather than their public counterparts.
7788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7789 (__get_clockfreq_via_cpuinfo): Likewise.
7790 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7791 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7792
7793 * config.h.in (HAVE_IFUNC): New #undef.
7794 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7795 was successful.
7796 * configure: Regenerated.
7797
0cae3f4b
MF
77982012-10-24 Mike Frysinger <vapier@gentoo.org>
7799
7800 * configure.in: Move READELF check to start of file.
7801 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7802 libc_cv_asm_gnu_indirect_function in the process.
7803 * configure: Regenerated.
7804
8175a253
MF
78052012-10-24 Mike Frysinger <vapier@gentoo.org>
7806
7807 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7808 send the output to /dev/null.
7809 (libc_cv_cc_with_libunwind): Likewise.
7810 (libc_cv_as_noexecstack): Likewise.
7811 * configure: Regenerate.
7812
0708a7d1
JM
78132012-10-24 Joseph Myers <joseph@codesourcery.com>
7814
10b40d85
JM
7815 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7816
0708a7d1
JM
7817 * posix/globtest.sh (TMPDIR): Do not set.
7818 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7819 (testout): Likewise.
7820
9fddec1a
AJ
78212012-10-24 Andreas Jaeger <aj@suse.de>
7822
3a8db22f
AJ
7823 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7824 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7825 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7826 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7827 posix_fadvise64, posix_fallocate64.
7828
9fddec1a
AJ
7829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7830 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7831 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7832 Likewise.
7833 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7834 Likewise.
7835 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7836
7837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7838 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7839 <bits/fcntl-linux.h>.
7840 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7841
7842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7843 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7844 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7845 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7846 [__WORDSIZE != 64]: Likewise.
7847
ebfd1bbd
JM
78482012-10-23 Joseph Myers <joseph@codesourcery.com>
7849
03ac099f
JM
7850 * Makeconfig (run-built-tests): New variable.
7851 * Rules [$(cross-compiling) = yes]: Change condition to
7852 [$(run-built-tests) = no].
7853 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7854 to [$(run-built-tests) = yes].
7855 * elf/Makefile [$(cross-compiling) = no]: Likewise
7856 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7857 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7858 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7859 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7860 * io/Makefile [$(cross-compiling) = no]: Likewise.
7861 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7862 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7863 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7864 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7865 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7866 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7867 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7868 * string/Makefile [$(cross-compiling) = no]: Likewise.
7869
ebfd1bbd
JM
7870 * posix/Makefile ($(objpfx)globtest.out): Pass
7871 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7872 $(rtld-installed-name).
7873 * posix/globtest.sh (elf_objpfx): Remove variable.
7874 (rtld_installed_name): Likewise.
7875 (library_path): Likewise.
7876 (run_program_prefix): New variable. Use for running globtest
7877 binary.
7878
166bca24
JB
78792012-10-23 Jim Blandy <jimb@codesourcery.com>
7880 Joseph Myers <joseph@codesourcery.com>
7881
7882 * Makeconfig (host-built-program-cmd): New variable.
7883 * elf/Makefile (tst-stackguard1-ARGS): Use
7884 $(host-built-program-cmd).
7885 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7886 (tst-spawn-ARGS): Likewise.
7887 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7888
88866099
JM
78892012-10-23 Joseph Myers <joseph@codesourcery.com>
7890 Jim Blandy <jimb@codesourcery.com>
7891
7892 * Makeconfig (run-via-rtld-prefix): New variable.
7893 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7894 (built-program-cmd): Likewise.
7895
b4b4c296
AJ
78962012-10-22 Andreas Jaeger <aj@suse.de>
7897
7898 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7899 __O_RSYNC if it exists, otherwise to O_SYNC.
7900
6fb54a22
JB
79012012-10-22 Jim Blandy <jimb@codesourcery.com>
7902 Joseph Myers <joseph@codesourcery.com>
7903
7904 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7905 /dev/null.
7906 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7907 from /dev/null
7908 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7909 /dev/null.
7910
481b90b9
AJ
79112012-10-22 Andreas Jaeger <aj@suse.de>
7912
2a0e2669
AJ
7913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7914 Define always.
7915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7916
76e38f9a
AJ
7917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7918 bits/fcntl-linux.h.
7919
7cd37b43
AJ
7920 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7921 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7922
481b90b9
AJ
7923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7924 to __O_LARGEFILE.
7925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7926 to __O_LARGEFILE.
7927
aba75984
JB
79282012-10-21 Jim Blandy <jimb@codesourcery.com>
7929 Joseph Myers <joseph@codesourcery.com>
7930
7931 * config.make.in (NM): New variable.
7932
88d4247f
AJ
79332012-10-21 Andreas Jaeger <aj@suse.de>
7934
7935 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7936 definitions and declarations that are provided by
7937 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7938
f2eed205
L
79392012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7940
7941 [BZ #14683]
7942 * elf/Makefile (tests-static): Add tst-leaks1-static.
7943 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7944 ($(objpfx)tst-leaks1-static): New rule.
7945 ($(objpfx)tst-leaks1-static-mem): Likewise.
7946 (tst-leaks1-static-ENV): New macro.
7947 * elf/dl-open.c (dl_open_worker): Check the main application
7948 only if SHARED is defined.
7949 * elf/tst-leaks1-static.c: New file.
7950
335e6931
AJ
79512012-10-20 Andreas Jaeger <aj@suse.de>
7952
7953 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7954 generic values for Linux.
7955 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7956 and declarations that are provided by <bits/fcntl-linux.h> and
7957 include <bits/fcntl-linux.h>.
7958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7960
ac5c94d3
RM
79612012-10-20 Roland McGrath <roland@hack.frob.com>
7962
7963 * io/fcntl.h: Move include of <bits/types.h> to the top and
7964 include it unconditionally.
7965
de54b33a
L
79662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7967
228cfb01
L
7968 * wcsmbs/Makefile (tests-ifunc): New variable.
7969 (tests): Add $(tests-ifunc).
7970 * wcsmbs/test-wcschr-ifunc.c: New file.
7971 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7972 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7973 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7974 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7975 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7976
69f07e5f
L
7977 * string/Makefile (tests-ifunc): New variable.
7978 (tests): Add $(tests-ifunc).
7979 * string/test-memccpy.c (TEST_NAME): New macro.
7980 * string/test-memchr.c (TEST_NAME): Likewise.
7981 * string/test-memcmp.c (TEST_NAME): Likewise.
7982 * string/test-memcpy.c (TEST_NAME): Likewise.
7983 * string/test-memmem.c (TEST_NAME): Likewise.
7984 * string/test-memmove.c (TEST_NAME): Likewise.
7985 * string/test-memset.c (TEST_NAME): Likewise.
7986 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7987 * string/test-stpcpy.c (TEST_NAME): Likewise.
7988 * string/test-stpncpy.c (TEST_NAME): Likewise.
7989 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7990 * string/test-strcasestr.c (TEST_NAME): Likewise.
7991 * string/test-strcat.c (TEST_NAME): Likewise.
7992 * string/test-strchr.c (TEST_NAME): Likewise.
7993 * string/test-strcmp.c(TEST_NAME): Likewise.
7994 * string/test-strcpy.c (TEST_NAME): Likewise.
7995 * string/test-strcspn.c (TEST_NAME): Likewise.
7996 * string/test-strlen.c (TEST_NAME): Likewise.
7997 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7998 * string/test-strncmp.c (TEST_NAME): Likewise.
7999 * string/test-strncpy.c (TEST_NAME): Likewise.
8000 * string/test-strnlen.c (TEST_NAME): Likewise.
8001 * string/test-strpbrk.c (TEST_NAME): Likewise.
8002 * string/test-strrchr.c (TEST_NAME): Likewise.
8003 * string/test-strspn.c (TEST_NAME): Likewise.
8004 * string/test-strstr.c (TEST_NAME): Likewise.
8005 * string/test-bcopy-ifunc.c: New file.
8006 * string/test-bzero-ifunc.c: Likewise.
8007 * string/test-memccpy-ifunc.c: Likewise.
8008 * string/test-memchr-ifunc.c: Likewise.
8009 * string/test-memcmp-ifunc.c: Likewise.
8010 * string/test-memcpy-ifunc.c: Likewise.
8011 * string/test-memmem-ifunc.c: Likewise.
8012 * string/test-memmove-ifunc.c: Likewise.
8013 * string/test-mempcpy-ifunc.c: Likewise.
8014 * string/test-memset-ifunc.c: Likewise.
8015 * string/test-rawmemchr-ifunc.c: Likewise.
8016 * string/test-stpcpy-ifunc.c: Likewise.
8017 * string/test-stpncpy-ifunc.c: Likewise.
8018 * string/test-strcasecmp-ifunc.c: Likewise.
8019 * string/test-strcasestr-ifunc.c: Likewise.
8020 * string/test-strcat-ifunc.c: Likewise.
8021 * string/test-strchr-ifunc.c: Likewise.
8022 * string/test-strchrnul-ifunc.c: Likewise.
8023 * string/test-strcmp-ifunc.c: Likewise.
8024 * string/test-strcpy-ifunc.c: Likewise.
8025 * string/test-strcspn-ifunc.c: Likewise.
8026 * string/test-strlen-ifunc.c: Likewise.
8027 * string/test-strncasecmp-ifunc.c: Likewise.
8028 * string/test-strncat-ifunc.c: Likewise.
8029 * string/test-strncmp-ifunc.c: Likewise.
8030 * string/test-strncpy-ifunc.c: Likewise.
8031 * string/test-strnlen-ifunc.c: Likewise.
8032 * string/test-strpbrk-ifunc.c: Likewise.
8033 * string/test-strrchr-ifunc.c: Likewise.
8034 * string/test-strspn-ifunc.c: Likewise.
8035 * string/test-strstr-ifunc.c: Likewise.
8036
de54b33a
L
8037 * debug/Makefile (tests-ifunc): New variable.
8038 (tests): Add $(tests-ifunc).
8039 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8040 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8041 * debug/test-stpcpy_chk-ifunc.c: New file.
8042 * debug/test-strcpy_chk-ifunc.c: Likewise.
8043
88481c16
SP
80442012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8045
8046 [BZ #13601]
8047 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8048 header is not read in.
8049
135948bd
JM
80502012-10-19 Joseph Myers <joseph@codesourcery.com>
8051
89f1c388
JM
8052 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8053 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8054 directly. Pass built executable to script as
8055 $(built-program-cmd).
8056 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8057 $testprogram without using LD_LIBRARY_PATH and $ldso.
8058
e40a0d21
JM
8059 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8060 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8061 $(rtld-installed-name).
8062 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8063 (rtld_installed_name): Likewise.
8064 (library_path): Likewise.
8065 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8066 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8067 $(run-program-prefix) to tst-tables.sh.
8068 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8069 it to run tst-table-from and tst-table-to.
8070 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8071 Pass it to tst-table.sh.
8072 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8073 $(run-program-prefix) to tst-gettext.sh.
8074 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8075 tst-translit.sh.
8076 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8077 tst-gettext2.sh.
8078 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8079 to run tst-gettext.
8080 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8081 to run tst-gettext2.
8082 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8083 to run tst-translit.
8084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8085 $(run-program-prefix) to tst-mtrace.sh.
8086 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8087 to run tst-mtrace.
8088 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8089 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8090 $(rtld-installed-name).
8091 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8092 (rtld_installed_name): Likewise.
8093 (run_program_prefix): New variable. Use it to run wordexp-test.
8094
728e272a
JM
8095 * Makeconfig (ARCH): Remove all definitions.
8096 (machine): Likewise.
8097 [ARCH]: Remove conditional code.
8098 [!objdir]: Give error.
8099 [!objdir] (objpfx): Remove.
8100 [!objdir] (common-objpfx): Likewise.
8101 [!objdir] (common-objdir): Likewise.
8102 * configure.in (config_makefile): Remove. Hardcode Makefile in
8103 AC_CONFIG_FILES call.
8104 * configure: Regenerated.
8105
d528cdcf
JM
8106 [BZ #13888]
8107 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8108 or TMPDIR.
8109 (testout): Likewise.
8110
135948bd
JM
8111 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8112 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8113 $(rtld-installed-name).
8114 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8115 (rtld_installed_name): Likwise.
8116 (runit): Remove function.
8117 (run_getconf): New variable, Use it for running getconf binary.
8118
38c78296
L
81192012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8120
8121 [BZ #14716]
8122 * string/test-memmem.c (check_result): New function.
8123 (do_one_test): Use it.
8124 (check1): New function.
8125 (test_main): Use it.
8126
d077f65f
MT
81272012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8128
8129 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8130
ced52c71
JM
81312012-10-18 Joseph Myers <joseph@codesourcery.com>
8132
8133 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8134 (_G_LSEEK64): Likewise.
8135 (_G_MMAP64): Likewise.
8136 (_G_FSTAT64): Likewise.
8137 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8138 (_G_LSEEK64): Likewise.
8139 (_G_MMAP64): Likewise.
8140 (_G_FSTAT64): Likewise.
8141 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8142 unconditional. Call __mmap64 directly.
8143 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8144 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8145 __lseek64 directly.
8146 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8147 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8148 __mmap64 directly.
8149 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8150 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8151 __lseek64 directly.
8152 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8153 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8154 __lseek64 directly.
8155 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8156 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8157 __lseek64 directly.
8158 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8159 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8160 __fxstat64 directly.
8161 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8162 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8163 unconditional.
8164 (freopen64) [!_G_OPEN64]: Remove conditional code.
8165 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8166 unconditional.
8167 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8168 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8169 unconditional.
8170 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8171 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8172 unconditional.
8173 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8174 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8175 unconditional.
8176 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8177 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8178 unconditional.
8179 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8180 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8181 unconditional.
8182 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8183 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8184 unconditional.
8185 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8186
b741de23
SP
81872012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8188
8189 [BZ #12140]
8190 * manual/memory.texi (Malloc Tunable Parameters): Add note
8191 about free list pointers overwriting some perturb bytes.
8192 Wording suggested by Roland McGrath.
8193
f9b9d9c9
JM
81942012-10-17 Joseph Myers <joseph@codesourcery.com>
8195
8196 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8197 (lgamma_test): Likewise.
8198 (tgamma_test): Likewise.
8199
172a631a
FW
82002012-10-16 Florian Weimer <fweimer@redhat.com>
8201
8202 [BZ #14700]
8203 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8204 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8205
e9f37252
MK
82062012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8207
8208 * NEWS: Mention BZ #14716.
8209 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8210 when removing AVAILABLE1_USES_J macro.
8211
d394eb74
L
82122012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8213
8214 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8215 (__bswap_64): __uint64_t for unsigned 64-bit int.
8216
ca38dc17
AS
82172012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8218
8219 * include/string.h (memmem): Declare libc hidden alias.
8220 * string/memmem.c (memmem): Define libc hidden alias.
8221 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8222 __read, __close instead of open, read, close.
8223
9a387d1f
L
82242012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8225
ac49ecaf
L
8226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8227 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8228 global and hidden.
8229 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8230 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8231 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8232 Likewise.
8233 (__rawmemchr_sse2): Likewise.
8234 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8235 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8236 (__strchr_sse2): Likewise.
8237 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8238 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8239 (__strcasecmp_sse2): Likewise.
8240 (__strncasecmp_sse2): Likewise.
8241 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8242 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8243 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8244 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8245 (__strrchr_sse2): Likewise.
8246 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8247 ifunc-impl-list.c.
8248 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8249 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8250 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8251 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8252 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8253 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8254 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8255 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8256 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8257 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8258 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8259 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8260 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8261 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8262 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8263 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8264 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8265 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8266 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8267 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8268 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8269 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8270 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8271 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8272 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8273 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8274 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8275 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8276 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8277 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8278
b090e8ea
L
8279 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8280 global and hidden.
8281 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8282 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8283 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8284 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8285 Likewise.
8286 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8287 Likewise.
8288 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8289 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8290 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8291 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8292 ifunc-impl-list.c.
8293 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8297 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8298 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8299 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8300 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8304 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8307 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8311 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8334
11dd4af6
L
8335 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8336 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8337 * include/ifunc-impl-list.h: New file.
8338 * misc/ifunc-impl-list.c: Likewise.
8339 * misc/Makefile (routines): Add ifunc-impl-list.
8340 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8341 * string/test-string.h: Include <ifunc-impl-list.h>.
8342 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8343 impl_array): New variables.
8344 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8345 are defined.
8346 (test_init): Call __libc_ifunc_impl_list to initialize
8347 func_list if TEST_IFUNC and TEST_NAME are defined.
8348
9a387d1f
L
8349 * string/Makefile (strop-tests): Add bcopy and bzero.
8350 * string/test-bcopy.c: New file.
8351 * string/test-bzero.c: Likewise.
8352 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8353 defined.
8354 * string/test-memset.c: Support bzero test if TEST_BZERO is
8355 defined.
8356 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8357 __libc_memmove.
8358 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8359 __libc_memset.
8360 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8361 of memset.
8362
472371b9
JM
83632012-10-10 Joseph Myers <joseph@codesourcery.com>
8364
1e4a9536
JM
8365 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8366 * configure: Regenerated.
8367
d173d12e
JM
8368 * Makeconfig (+link-static-before-libc): Don't include
8369 $(link-static-libc).
8370
472371b9
JM
8371 * libio/libio.h (_IO_pos_t): Remove.
8372
89a3ad0b
AO
83732012-10-10 Alexandre Oliva <aoliva@redhat.com>
8374
8375 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8376 McGrath.
8377
e7451425
AO
83782012-10-10 Alexandre Oliva <aoliva@redhat.com>
8379
8380 * crypt/crypt-entry.c: Include fips-private.h.
8381 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8382 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8383 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8384 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8385
4ba74a35
AO
83862012-10-10 Alexandre Oliva <aoliva@redhat.com>
8387
8388 * crypt/crypt-private.h: Include stdbool.h.
8389 (_ufc_setup_salt_r): Return bool.
8390 * crypt/crypt-entry.c: Include errno.h.
8391 (__crypt_r): Return NULL with EINVAL for bad salt.
8392 * crypt/crypt_util.c (bad_for_salt): New.
8393 (_ufc_setup_salt_r): Check that salt is long enough and within
8394 the specified alphabet.
8395 * crypt/badsalttest.c: New file.
8396 * crypt/Makefile (tests): Add it.
8397 ($(objpfx)badsalttest): New.
8398
f96f1242
MK
83992012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8400
8401 * NEWS: Add entry for BZ #14602.
8402
0e8e0c1c
JM
84032012-10-09 Joseph Myers <joseph@codesourcery.com>
8404
8405 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8406 type-generic.
8407 * math/libm-test.inc: Update comment listing what functions and
8408 macros are tested.
8409 (isgreater_test): New function.
8410 (isgreaterequal_test): Likewise.
8411 (isless_test): Likewise.
8412 (islessequal_test): Likewise.
8413 (islessgreater_test): Likewise.
8414 (isunordered_test): Likewise.
8415 (main): Call the new functions.
8416
273edc5e
RM
84172012-10-09 Roland McGrath <roland@hack.frob.com>
8418
b8493de0
RM
8419 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8420 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8421 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8422 * sysdeps/i386/configure: Regenerated.
8423 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8424 * sysdeps/mach/configure: Regenerated.
8425 * sysdeps/mach/hurd/configure: Regenerated.
8426 * sysdeps/powerpc/configure: Regenerated.
8427 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8428 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8429 * sysdeps/s390/s390-32/configure: Regenerated.
8430 * sysdeps/s390/s390-64/configure: Regenerated.
8431 * sysdeps/sh/configure: Regenerated.
8432 * sysdeps/sparc/configure: Regenerated.
8433 * sysdeps/unix/sysv/linux/configure: Regenerated.
8434 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8435 * sysdeps/x86_64/configure: Regenerated.
8436
273edc5e
RM
8437 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8438 defined. Don't check if MAP is NULL.
8439
c8450f70
JM
84402012-10-09 Joseph Myers <joseph@codesourcery.com>
8441
8442 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8443 (_G_stat64): Likewise.
8444 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8445 (_G_stat64): Likewise.
8446 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8447 instead of struct _G_stat64.
8448 * libio/fileops.c (mmap_remap_check): Likewise.
8449 (decide_maybe_mmap): Likewise.
8450 (_IO_new_file_seekoff): Likewise.
8451 (_IO_file_stat): Likewise.
8452 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8453 _G_off64_t.
8454 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8455 instead of struct _G_stat64.
8456 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8457
57e605ba
MK
84582012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8459
8460 [BZ #14602]
8461 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8462 Replace with ...
8463 (CHECK_EOL): New macro.
8464 (two_way_short_needle): Check beginning of haystack for EOL. Use
8465 CHECK_EOL.
8466 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8467 Replace with CHECK_EOL.
8468 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8469 Replace with CHECK_EOL.
8470
ef1bb361
JM
84712012-10-08 Joseph Myers <joseph@codesourcery.com>
8472
8473 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8474 type-generic.
8475 * math/libm-test.inc: Update comment listing what functions and
8476 macros are tested.
8477 (finite_test): New function.
8478 (isinf_test): Likewise.
8479 (isnan_test): Likewise.
8480 (fpclassify_test): Test subnormal input.
8481 (isfinite_test): Likewise.
8482 (isnormal_test): Likewise.
8483 (main): Call the new functions.
8484
55f11534
JN
84852012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8486
8487 [BZ #14660]
8488 * Makerules (%.dynsym): Force C locale when running
8489 $(OBJDUMP) --dynamic-syms.
8490
1ab29350
AS
84912012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8492
8493 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8494 <stdint.h>.
8495
f1ecb7ef
DM
84962012-10-06 David S. Miller <davem@davemloft.net>
8497
8498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8499 upper 32-bits of the length value in %o2 since we use branch-on-register
8500 tests which consider the entire 64-bit register.
8501
5d41d91a
L
85022012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 * string/test-strstr.c (check2): Add a test for page boundary.
8505
3baddb72
DM
85062012-10-05 David S. Miller <davem@davemloft.net>
8507
8508 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8509 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8510 file.
8511 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8512 sysdep_routines.
8513 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8514 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8515 and bzero when HWCAP_SPARC_CRYPTO is present.
8516
9cee5585
L
85172012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8518
d7e0dab9
L
8519 [BZ #14602]
8520 * string/test-strstr.c (check2): New function.
8521 (test_main): Call check2.
8522
03759f47
L
8523 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8524 and bug-strchr1.
8525 * string/bug-strcasestr1.c (do_test): Moved to ...
8526 * string/test-strcasestr.c (check1): Here. New function.
8527 (do_one_test): Break out result checking code into ...
8528 (check_result): This. New function.
8529 (do_one_test): Call check_result.
8530 (test_main): Call check1.
8531 * string/bug-strchr1.c (do_test): Moved to ...
8532 * string/test-strchr.c (check1): Here. New function.
8533 (do_one_test): Break out result checking code into ...
8534 (check_result): This. New function.
8535 (do_one_test): Call check_result.
8536 (test_main): Call check1.
8537 * string/bug-strstr1.c (main): Moved to ...
046f153e 8538 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8539 (do_one_test): Break out result checking code into ...
8540 (check_result): This. New function.
8541 (do_one_test): Call check_result.
8542 (test_main): Call check1.
8543 * string/bug-strcasestr1.c: Removed.
8544 * string/bug-strchr1.c: Likewise.
8545 * string/bug-strstr1.c: Likewise.
8546
53cea63e
L
8547 * elf/Makefile (dl-routines): Add hwcaps.
8548 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8549 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8550 (_dl_important_hwcaps): Moved to ...
8551 * elf/dl-hwcaps.c: Here. New file.
8552 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8553
9cee5585 8554 [BZ #14557]
bb859b06
L
8555 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8556 if IS_IN_rtld isn't defined.
8557
9cee5585
L
8558 * elf/dl-support.c (_dl_sysinfo_map): New.
8559 Include "get-dynamic-info.h" and "setup-vdso.h".
8560 (_dl_non_dynamic_init): Call setup_vdso.
8561 * elf/dynamic-link.h: Don't include <assert.h>.
8562 (elf_get_dynamic_info): Moved to ...
8563 * elf/get-dynamic-info.h: Here. New file.
8564 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8565 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8566 * elf/setup-vdso.h: Here. New file.
8567 * elf/rtld.c: Include "setup-vdso.h".
8568 (dl_main): Call setup_vdso.
8569
23c31b76
JM
85702012-10-05 Joseph Myers <joseph@codesourcery.com>
8571
28234b07
JM
8572 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8573 creal in comment listing functions tested. List finite, isinf,
8574 isnan, isless, islessequal, isgreater, isgreaterequal,
8575 islessgreater, isunordered, lgamma_r and pow10 as functions and
8576 macros not tested. Mention which functions not tested are aliases
8577 for other functions. Fix typo. Note that signs of NaNs are not
8578 tested.
8579
23c31b76
JM
8580 * scripts/config.guess: Update from config.git.
8581 * scripts/config.sub: Likewise.
8582
9043e228
RM
85832012-10-04 Roland McGrath <roland@hack.frob.com>
8584
8585 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8586 * misc/madvise.c (madvise): Renamed to __madvise.
8587 Make madvise a weak alias.
8588 * include/sys/mman.h: Declare __madvise.
8589 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8590 * sysdeps/unix/syscalls.list
8591 (madvise): Make __madvise the strong name, and madvise a weak alias.
8592 * sysdeps/unix/sysv/linux/syscalls.list
8593 (madvise, mmap): Remove redundant entries.
8594 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8595 * malloc/malloc.c (mtrim): Likewise.
8596 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8597
f57f8055
RM
85982012-10-03 Roland McGrath <roland@hack.frob.com>
8599
8600 * sysdeps/mach/hurd/dl-cache.c: File removed.
8601 * config.h.in (USE_LDCONFIG): New #undef.
8602 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8603 * configure: Regenerated.
8604 * elf/Makefile (dl-routines): Add dl-cache only under
8605 [$(use-ldconfig) = yes].
8606 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8607 cache on [USE_LDCONFIG].
8608 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8609 [USE_LDCONFIG].
8610 * elf/rtld.c (dl_main): Likewise.
8611
5bb0c10a
PT
86122012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8613
8614 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8615 _SC_LEVEL4_CACHE_LINESIZE.
8616
010188c6
RM
86172012-10-03 Roland McGrath <roland@hack.frob.com>
8618
8619 * sysdeps/unix/bsd/confstr.h: File removed.
8620
b6c5ec07
AO
86212012-10-02 Alexandre Oliva <aoliva@redhat.com>
8622
8623 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8624 sys/sdt-config.h.
8625
408223d4
RM
86262012-10-02 Roland McGrath <roland@hack.frob.com>
8627
8628 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8629 Make 'mapoff' field ElfW(Off) rather than off_t.
8630
bb9510dc
DL
86312012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8632
fc997c6e
DL
8633 * nscd/Makefile: Remove nscd-cflags and all its users.
8634 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8635 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8636
bb9510dc
DL
8637 [BZ #10631]
8638 * malloc.c (malloc_printerr): Clarify error message.
8639
05699367
L
86402012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8641
8642 [BZ #14648]
8643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8644 Set bit_FMA_Usable if FMA is supported.
8645 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8646 macro.
8647 (bit_FMA4_Usable): Updated.
8648 (index_FMA_Usable): New macro.
8649 (CPUID_FMA): Likewise
8650 (HAS_FMA): Defined with bit_FMA_Usable.
8651
51367701
RM
86522012-10-01 Roland McGrath <roland@hack.frob.com>
8653
8654 * bits/types.h (__swblk_t): Type removed.
8655 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8656 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8658 (__SWBLK_T_TYPE): Likewise.
8659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8660 (__SWBLK_T_TYPE): Likewise.
8661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8662 (__SWBLK_T_TYPE): Likewise.
8663 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8664 (__SWBLK_T_TYPE): Likewise.
8665
4d57bf63 86662012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8667 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8668
8669 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8670 (xdr_mapname): Use YPMAXMAP as maxsize.
8671 (xdr_peername): Use YPMAXPEER as maxsize.
8672 (xdr_keydat): Use YPAXRECORD as maxsize.
8673 (xdr_valdat): Use YPMAXRECORD as maxsize.
8674
93c65d43
RM
86752012-10-01 Roland McGrath <roland@hack.frob.com>
8676
497a03d6
RM
8677 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8678
93c65d43
RM
8679 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8680 * csu/init-first.c: ... here.
8681 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8682 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8683 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8684 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8685 * sysdeps/i386/init-first.c: File removed.
8686 * sysdeps/sh/init-first.c: File removed.
8687
bec749fd
JM
86882012-10-01 Joseph Myers <joseph@codesourcery.com>
8689
8690 [BZ #14645]
8691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8692 if x * y might underflow to zero and z is zero.
8693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8695 * math/libm-test.inc (min_subnorm_value): New variable.
8696 (fma_test): Add more tests.
8697 (fma_test_towardzero): Likewise.
8698 (fma_test_downward): Likewise
8699 (fma_test_upward): Likewise.
8700 (initialize): Set min_subnorm_value.
8701
8ec5b013
JM
87022012-09-29 Joseph Myers <joseph@codesourcery.com>
8703
8704 [BZ #14638]
8705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8706 0 + 0.
8707 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8708 mode for addition resulting in exact zero.
8709 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8710 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8711 exact 0 + 0.
8712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8714 * math/libm-test.inc (fma_test): Add more tests.
8715 (fma_test_towardzero): New function.
8716 (fma_test_downward): Likewise.
8717 (fma_test_upward): Likewise.
8718 (main): Call the new functions.
8719
b1fa802e
DM
87202012-09-28 David S. Miller <davem@davemloft.net>
8721
8722 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8723
d3b9fd9e
RM
87242012-09-28 Roland McGrath <roland@hack.frob.com>
8725
ea4d37b3
RM
8726 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8727 instead of SIGALRM.
8728
ac51c949
RM
8729 * sysdeps/gnu/_G_config.h: Moved to ...
8730 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8731 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8732 * sysdeps/generic/_G_config.h: ... here.
8733
28c195f7
RM
8734 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8735
848917f9
RM
8736 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8737
6bacf05b
RM
8738 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8739 Conditionalize target on [libnss_test1.so-version].
8740
91363dbb
RM
8741 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8742
cc87f7d8
RM
8743 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8744 (elfobjdir): Move out of conditionals.
8745
b1c608fe
RM
8746 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8747 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8748 (__nss_lookup_function): Conditionalize label remove_from_tree on
8749 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8750
1d9a6d96
DM
87512012-09-28 David S. Miller <davem@davemloft.net>
8752
8753 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8754 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8755 file.
8756 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8757 sysdep_routines.
8758 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8760 when HWCAP_SPARC_CRYPTO is present.
8761
72581615
PT
87622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8763
8764 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8765
715a900c
JL
87662012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8767
8768 [BZ #6530]
8769 * stdio-common/vfprintf.c (process_string_arg): Revert
8770 2000-07-22 change.
8771
87722011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8773
8774 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8775 for testcase.
8776 * stdio-common/tst-sprintf.c: Include <locale.h>
8777 (main): Test sprintf's handling of incomplete multibyte
8778 characters.
8779
9bac1d86
L
87802012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8781
8782 * elf/dl-runtime.c (VERSYMIDX): Removed.
8783 * elf/dl-version.c (VERSYMIDX): Likewise.
8784 * elf/do-rel.h (VERSYMIDX): Likewise.
8785 (VALIDX): Likewise.
8786 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8787 * elf/rtld.c (VALIDX): Likewise.
8788 (ADDRIDX): Likewise.
9bac1d86
L
8789 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8790 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8791 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8792 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8793 (VALIDX): Likewise.
8794 (ADDRIDX): Likewise.
9bac1d86 8795
b31606c0
PT
87962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8797
8798 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8799
11541177
JL
88002012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8801
8802 [BZ #11438]
8803 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8804 to global scope.
8805 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8806 addresses are in the same scope as 192.0.2/24.
8807 * posix/gai.conf: Document new scope table defaults.
8808
adb26fae
SP
88092012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8810
8811 [BZ #5298]
8812 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8813 for ftell. Compute offsets from write pointers instead.
8814 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8815
4573c6b0
SP
88162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
8818 [BZ #14543]
8819 * libio/Makefile (tests): New test case tst-fseek.
8820 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8821 combination works in wide mode.
8822 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8823 state when the external buffer state changes.
8824
aa9bbfe6
DM
88252012-09-27 David S. Miller <davem@davemloft.net>
8826
8827 [BZ #14376]
8828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8829 pass reloc->r_addend in as the 'high' argument to
8830 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8831
784421e7
DM
8832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8833
c39bc8b8
PT
88342012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8835
8836 * rt/tst-aio2.c: Include <pthread.h>.
8837 * rt/tst-aio3.c: Likewise.
8838
1ccc2399
SE
88392012-09-27 Steve Ellcey <sellcey@mips.com>
8840
8841 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8842
31ed4153
L
88432012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8844
25f5f885
L
8845 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8846 contents on [SHARED].
31ed4153 8847
b7bfe116
MP
88482012-09-26 Marek Polacek <polacek@redhat.com>
8849
8850 [BZ #14530]
8851 [BZ #13741]
8852 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8853 for C++ and GCC <4.3 as well as for non GCC compilers.
8854
43c4edba
MT
88552012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8856
8857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8858
6a1bf82f
RM
88592012-09-25 Roland McGrath <roland@hack.frob.com>
8860
8861 * Makefile.in (all, install): Declare with .PHONY.
8862 Reported by Michael Hope <michael.hope@linaro.org>.
8863
8ad11b9a
TMQMF
88642012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8865
8866 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8867 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8868 system header.
8869 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8870 Likewise.
8871 (sydep_routines): Add the new and the internal functions.
8872 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8873 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8875 (GLIBC_2.17): Add the new function.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8877 (GLIBC_2.17): Likewise.
8878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8879 (GLIBC_2.17): Likewise.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8881 (GLIBC_2.17): Likewise.
8882 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8883
7e2fca8d
AM
88842012-09-25 Alan Modra <amodra@gmail.com>
8885
8886 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8887 Add release barrier before setting once_control to say
8888 initialisation is done. Add hints on lwarx. Use macro in
8889 place of isync.
8890 (clear_once_control): Add release barrier.
8891
b87c4b24
JM
88922012-09-25 Joseph Myers <joseph@codesourcery.com>
8893
d032e0d2
JM
8894 [BZ #13629]
8895 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8896 specially.
8897 * math/s_clog10.c (__clog10): Likewise.
8898 * math/s_clog10f.c (__clog10f): Likewise.
8899 * math/s_clog10l.c (__clog10l): Likewise.
8900 * math/s_clogf.c (__clogf): Likewise.
8901 * math/s_clogl.c (__clogl): Likewise.
8902 * math/Makefile (libm-calls): Add x2y2m1.
8903 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8904 (__x2y2m1): Likewise.
8905 (__x2y2m1l): Likewise.
8906 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8907 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8908 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8909 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8910 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8911 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8912 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8913 * sysdeps/i386/fpu/libm-test-ulps: Update.
8914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8915
b87c4b24
JM
8916 [BZ #14621]
8917 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8918 int as type of variable DEPTH.
8919 (glob): Use size_t instead of int as type of variables NEWCOUNT
8920 and OLD_PATHC.
8921
6d3bf199
LD
89222012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8923
22bf5c17
LD
8924 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8925 Add s_sincosf-sse2.
8926 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8927 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8928 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8929 macros for using routine as __sincosf_ia32.
8930 Use macro for function declaration and weak_alias.
8931 * sysdeps/i386/fpu/libm-test-ulps: Update.
8932
8933 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8935
8936 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8937 subnormal argument.
8938 * math/s_cexpf.c (__cexpf): Likewise.
8939 * math/s_csinf.c (__csinf): Likewise.
8940 * math/s_csinhf.c (__csinhf): Likewise.
8941 * math/s_ctanf.c (__ctanf): Likewise.
8942 * math/s_ctanhf.c (__ctanhf): Likewise.
8943 * math/s_ccosh.c (__ccoshf): Likewise.
8944 * math/s_cexp.c (__cexpl): Likewise.
8945 * math/s_csin.c (__csin): Likewise.
8946 * math/s_csinh.c (__csinh): Likewise.
8947 * math/s_ctan.c (__ctan): Likewise.
8948 * math/s_ctanh.c (ctanh): Likewise.
8949 * math/s_ccoshl.c (__ccoshl): Likewise.
8950 * math/s_cexpl.c (__cexpl): Likewise.
8951 * math/s_csinl.c (__csinl): Likewise.
8952 * math/s_csinhl.c (__csinhl): Likewise.
8953 * math/s_ctanl.c (__ctanl): Likewise.
8954 * math/s_ctanhl.c (__ctanhl): Likewise.
8955
203e5603
JM
89562012-09-25 Joseph Myers <joseph@codesourcery.com>
8957
8958 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8959 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8960 (_IO_off_t): Define to __off_t, not _G_off_t.
8961 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8962 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8963 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8964 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8965 type of __dummy and __dummy2 fields.
8966 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8967 (_G_ssize_t): Likewise.
8968 (_G_off_t): Likewise.
8969 (_G_pid_t): Likewise.
8970 (_G_uid_t): Likewise.
8971 (_G_wchar_t): Likewise.
8972 (_G_wint_t): Likewise.
8973 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8974 (_G_ssize_t): Likewise.
8975 (_G_off_t): Likewise.
8976 (_G_pid_t): Likewise.
8977 (_G_uid_t): Likewise.
8978 (_G_wchar_t): Likewise.
8979 (_G_wint_t): Likewise.
8980 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8981 (_G_ssize_t): Likewise.
8982 (_G_off_t): Likewise.
8983 (_G_pid_t): Likewise.
8984 (_G_uid_t): Likewise.
8985 (_G_wchar_t): Likewise.
8986 (_G_wint_t): Likewise.
8987
9fab36eb
SP
89882012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8989
8990 * malloc/arena.c: Include malloc-sysdep.h.
8991 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8992 is sufficient to shrink the heap or an unmap is needed.
8993 * sysdeps/generic/malloc-sysdep.h: New file. Define
8994 new function check_may_shrink_heap.
8995 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8996 new function check_may_shrink_heap.
8997
2b4f00d1
SP
89982012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8999
9000 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9001 comments.
9002
9a9028b1
DL
90032012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9004
57c69bef
DL
9005 * catgets/test-gencat.sh: Add "set -e".
9006 * elf/tst-pathopt.sh: Likewise.
9007 * grp/tst_fgetgrent.sh: Likewise.
9008 * iconvdata/run-iconv-test.sh: Likewise.
9009 * intl/tst-gettext.sh: Likewise.
9010 * intl/tst-gettext2.sh: Likewise.
9011 * intl/tst-gettext4.sh: Likewise.
9012 * intl/tst-gettext6.sh: Likewise.
9013 * intl/tst-translit.sh: Likewise.
9014 * io/ftwtest-sh: Likewise.
9015 * libio/test-freopen.sh: Likewise.
9016 * malloc/tst-mtrace.sh: Likewise.
9017 * posix/globtest.sh: Likewise.
9018 * posix/tst-getconf.sh: Likewise.
9019 * posix/wordexp-tst.sh: Likewise.
9020 * stdio-common/tst-printf.sh: Likewise.
9021 * stdio-common/tst-unbputc.sh: Likewise.
9022 * stdlib/tst-fmtmsg.sh: Likewise.
9023 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9024 * catgets/Makefile: Do not specify -e option when running
9025 testsuite shell scripts.
9026 * elf/Makefile: Likewise.
9027 * grp/Makefile: Likewise.
9028 * iconvdata/Makefile: Likewise.
9029 * intl/Makefile: Likewise.
9030 * io/Makefile: Likewise.
9031 * libio/Makefile: Likewise.
9032 * malloc/Makefile: Likewise.
9033 * posix/Makefile: Likewise.
9034 * stdio-common/Makefile: Likewise.
9035 * stdlib/Makefile: Likewise.
9036 * sysdeps/x86_64/Makefile: Likewise.
9037
9a9028b1
DL
9038 * io/ftwtest-sh: Add copyright header.
9039 * posix/globtest.sh: Likewise.
9040 * posix/tst-getconf.sh: Likewise.
9041 * posix/wordexp-tst.sh: Likewise.
9042 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9043
ced6f16e
L
90442012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9045
94b32c39
L
9046 [BZ #13679]
9047 * Makeconfig (+link): Defined as $(+link-static) if
9048 $(build-shared) isn't yes.
9049 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9050 isn't yes.
9051 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9052
189e935b
L
9053 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9054
ced6f16e
L
9055 [BZ #14562]
9056 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9057 new chunk size with MALLOC_ALIGN_MASK.
9058
a9f8e53a
JM
90592012-09-24 Joseph Myers <joseph@codesourcery.com>
9060
9061 [BZ #5044]
9062 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9063 <rounding-mode.h>.
9064 (__printf_fphex): Determine rounding using get_rounding_mode and
9065 round_away.
9066 * stdio-common/tst-printf-round.c (struct hex_test): New
9067 structure.
9068 (hex_tests): New variable.
9069 (test_hex_in_one_mode): New function.
9070 (do_test): Also run tests for hex float output.
9071
43153109
JM
90722012-09-21 Joseph Myers <joseph@codesourcery.com>
9073
9074 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9075 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9076 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9077 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9078 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9079 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9080 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9081 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9082
8a26625d
JM
90832012-09-20 Joseph Myers <joseph@codesourcery.com>
9084
9085 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9086 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9087 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9088 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9089
f3fd569c
DL
90902012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9091
9092 [BZ #14579]
9093 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9094 mode only.
9095 * elf/tst-rtld-load-self.sh: New test.
9096 * elf/Makefile: Run it.
9097
63bbedd4
JM
90982012-09-18 Joseph Myers <joseph@codesourcery.com>
9099
9100 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9101 (tst-writev-ENV): Remove.
9102 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9103
626f8b6a
CM
91042012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9105
9106 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9107
b7aaa4d6
JM
91082012-09-17 Joseph Myers <joseph@codesourcery.com>
9109
9110 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9111 unconditional.
9112 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9113 Likewise.
9114 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9115 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9116 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9117 Likewise.
9118
65513990
L
91192012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9120
9121 [BZ #14587]
9122 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9123 * config.make.in (have-cpp-asm-debuginfo): Removed.
9124 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9125 * configure: Regenerated.
9126
784761be
JM
91272012-09-14 Joseph Myers <joseph@codesourcery.com>
9128
9129 [BZ #5044]
9130 * stdio-common/printf_fp.c: Include <stdbool.h> and
9131 <rounding-mode.h>.
9132 (___printf_fp): Determine rounding using get_rounding_mode and
9133 round_away.
9134 * stdio-common/tst-printf-round.c: New file.
9135 * stdio-common/Makefile (tests): Add tst-printf-round.
9136 (link-libm): New variable.
9137 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9138
9503345f
L
91392012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9140
9141 [BZ #14576]
9142 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9143 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9144 Likewise.
9145 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9146 Likewise.
9147
ad35fc00
JM
91482012-09-13 Joseph Myers <joseph@codesourcery.com>
9149
9150 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9151 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9152 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9153 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9154
6c9b0f68
JM
91552012-09-12 Joseph Myers <joseph@codesourcery.com>
9156
9157 [BZ #14518]
9158 * include/rounding-mode.h: New file.
9159 * sysdeps/generic/get-rounding-mode.h: Likewise.
9160 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9161 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9162 (MAX_VALUE): New macro.
9163 (MIN_VALUE): Likewise.
9164 (overflow_value): New function.
9165 (underflow_value): Likewise.
9166 (round_and_return): Use overflow_value and underflow_value to
9167 determine return values in overflow and underflow cases. Use
9168 round_away to determine rounding depending on rounding mode.
9169 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9170 determine return values in overflow and underflow cases.
9171 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9172 (struct test_results): New structure.
9173 (struct test): Use struct test_results to store expected results
9174 for all rounding modes.
9175 (TEST): Include expected results for all rounding modes.
9176 (test_in_one_mode): New function.
9177 (do_test): Use test_in_one_mode to compute and check results.
9178 Check results for all rounding modes.
9179 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9180 $(link-libm).
9181
19fcedd5
AM
91822012-12-09 Allan McRae <allan@archlinux.org>
9183
1e9d84cd 9184 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9185
8bbfd2f1
JM
91862012-09-11 Joseph Myers <joseph@codesourcery.com>
9187
9188 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9189 (_G_int32_t): Likewise.
9190 (_G_uint16_t): Likewise.
9191 (_G_uint32_t): Likewise.
9192 (_G_HAVE_BOOL): Likewise.
9193 (_G_HAVE_ATEXIT): Likewise.
9194 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9195 (_G_HAVE_IO_FILE_OPEN): Likewise.
9196 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9197 (_G_int32_t): Likewise.
9198 (_G_uint16_t): Likewise.
9199 (_G_uint32_t): Likewise.
9200 (_G_HAVE_BOOL): Likewise.
9201 (_G_HAVE_ATEXIT): Likewise.
9202 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9203 (_G_HAVE_IO_FILE_OPEN): Likewise.
9204 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9205 (_G_int32_t): Likewise.
9206 (_G_uint16_t): Likewise.
9207 (_G_uint32_t): Likewise.
9208 (_G_HAVE_BOOL): Likewise.
9209 (_G_HAVE_ATEXIT): Likewise.
9210 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9211 (_G_HAVE_IO_FILE_OPEN): Likewise.
9212
b1dc5912
L
92132012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9214
9215 * csu/libc-tls.c: Update copyright years.
9216
0e886ef9
JM
92172012-09-10 Joseph Myers <joseph@codesourcery.com>
9218
28361c5e
JM
9219 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9220 [!_G_USING_THUNKS]: Remove conditional code.
9221 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9222 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9223
0e886ef9
JM
9224 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9225 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9226 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9227 (_G_VTABLE_LABEL_PREFIX): Likewise.
9228 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9229 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9230 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9231 (_G_VTABLE_LABEL_PREFIX): Likewise.
9232 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9233 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9234 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9235 (_G_VTABLE_LABEL_PREFIX): Likewise.
9236 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9237
bcba7aa2
L
92382012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9239
9240 * libio/Makefile: Include ../Makeconfig before tests.
9241 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9242 only if $(build-shared) is yes.
9243
06585ee8
L
9244 * iconv/gconv_db.c: Update copyright years.
9245
80ccd52c
LD
92462012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9247
9248 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9249 unwind info if defined PIC. Fix special cases description.
9250 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9251
9252 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9253 DP_HI_MASK entry.
9254 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9255
691bc9c1
L
92562012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9257
3d9b46b3
L
9258 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9259
de2139a9
L
9260 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9261 is NULL.
9262
5ca78dd0
L
9263 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9264 (LDLIBS-tst-chk4): This.
9265 (LDFLAGS-tst-chk5): Renamed to ...
9266 (LDLIBS-tst-chk5): This.
9267 (LDFLAGS-tst-chk6): Renamed to ...
9268 (LDLIBS-tst-chk6): This.
9269 (LDFLAGS-tst-lfschk4): Renamed to ...
9270 (LDLIBS-tst-lfschk4): This.
9271 (LDFLAGS-tst-lfschk5): Renamed to ...
9272 (LDLIBS-tst-lfschk5): This.
9273 (LDFLAGS-tst-lfschk6): Renamed to ...
9274 (LDLIBS-tst-lfschk6): This.
9275
691bc9c1
L
9276 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9277 on $(common-objpfx)soversions.mk.
9278
65cafb1c
JM
92792012-09-07 Joseph Myers <joseph@codesourcery.com>
9280
9281 [BZ #10014]
9282 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9283 example host name.
9284
c78ab094
SP
92852012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9286
9287 * malloc/arena.c (arena_get_retry): New function that gets
9288 another arena for the caller to try its request on.
9289 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9290 current arena cannot fulfill the request.
9291 (__libc_memalign): Likewise.
9292 (__libc_memalign): Likewise.
9293 (__libc_pvalloc): Likewise.
9294 (__libc_calloc): Likewise.
9295
01f49f59
JT
92962012-09-05 John Tobey <john.tobey@gmail.com>
9297
9298 [BZ #13542]
9299 * manual/arith.texi (Operations on Complex): Fix description
9300 of carg branch cut.
9301
4c23fed5
JM
93022012-09-06 Joseph Myers <joseph@codesourcery.com>
9303
1d3c8572
JM
9304 [BZ #10014]
9305 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9306 host name.
9307
4c23fed5
JM
9308 [BZ #10038]
9309 * manual/memory.texi (Memory): Make order of menu items match
9310 order of sections.
9311
04570aaa
L
93122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9315 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9316 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9317
b80af2f4
L
93182012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9319
9320 * csu/libc-tls.c (static_dtv): Renamed to ...
9321 (_dl_static_dtv): This. Make it global.
9322 (_dl_initial_dtv): Removed.
9323 (__libc_setup_tls): Updated.
9324 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9325 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9326 DL_INITIAL_DTV.
9327
2abe9f15
PM
93282012-09-06 Petr Machata <pmachata@redhat.com>
9329
9330 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9331 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9332 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9333 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9334
0948c3af
L
93352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 [BZ #14545]
9338 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9339 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9340 freeing dtv[-1].
9341
a5055ad1
L
93422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9343
9344 [BZ #14544]
9345 * Makeconfig (link-static-before-libc): Replace $(+prector)
9346 with $(+prectorT).
9347 (link-static-after-libc): Replace $(+postctor) with
9348 $(+postctorT).
9349 (link-bounded): Replace $(+prector)/$(+postctor) with
9350 $(+prectorT)/$(+postctorT).
9351 (+prectorT): New macro.
9352 (+postctorT): Likewise.
9353
ed8c2ecd
JM
93542012-09-06 Joseph Myers <joseph@codesourcery.com>
9355
9356 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9357 (round_str): Handle values above the maximum for IBM long double
9358 as inexact.
9359 * stdlib/tst-strtod-round.c (tests): Regenerated.
9360
14c996c8
AK
93612012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9362
9363 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9364 assembler flag.
9365 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9366 zarch_nohighgprs around the zarch optimized routines.
9367 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9368 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9369 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9370 for zarch.
9371
430d6ce6
DM
93722012-09-05 David S. Miller <davem@davemloft.net>
9373
9374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9375
ff04dda4
DM
9376 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9377 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9378 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9379 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9380 entries.
9381
24d4e01b
AO
93822012-09-05 Alexandre Oliva <aoliva@redhat.com>
9383
9384 * malloc/arena.c: Fold copyright years.
9385 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9386
61d58174
AO
93872012-09-05 Alexandre Oliva <aoliva@redhat.com>
9388
9389 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9390
20196a5e
AO
93912012-09-05 Alexandre Oliva <aoliva@redhat.com>
9392
9393 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9394
5c447383
AO
93952012-09-05 Alexandre Oliva <aoliva@redhat.com>
9396
9397 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9398 change internal state upon failure.
9399
fad64255
AO
94002012-09-05 Alexandre Oliva <aoliva@redhat.com>
9401
9402 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9403 * malloc/memusage.c (mmap): Likewise.
9404 (mmap64, mremap): Likewise. Adjust name in comment.
9405
1ffb8c90
SP
94062012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9407
9408 * libio/fileops.c: Fix typos in comments.
9409 * libio/oldfileops.c: Likewise.
9410 * libio/wfileops.c: Likewise.
9411
6ef9cc37
SP
94122012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9413
9414 [BZ #1349]
9415 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9416 (tst-malloc-usable-ENV): Set environment for test case.
9417 * malloc/hooks.c (malloc_check_get_size): New function to get
9418 requested size.
9419 * malloc/malloc.c (musable): Use malloc_check_get_size.
9420 * malloc/tst-malloc-usable.c: New test case.
9421
4d038ae3
AS
94222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9423
9424 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9425
c4e85184
AM
94262012-09-05 Allan McRae <allan@archlinux.org>
9427
b9dafc56 9428 [BZ #13966]
c4e85184
AM
9429 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9430 determine header location.
9431 * configure: Regenerated.
9432
e1343020
AS
94332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9434
9435 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9436 float format.
9437 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9438 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9439 format.
e1343020
AS
9440 (test): Regenerate.
9441
0a9f1987
DM
94422012-09-04 David S. Miller <davem@davemloft.net>
9443
9444 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9445 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9446 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9447
29237804
FW
94482012-09-04 Florian Weimer <fweimer@redhat.com>
9449
9450 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9451 failures.
9452
edb3cb88
FW
9453 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9454
60160d83
JM
94552012-09-04 Joseph Myers <joseph@codesourcery.com>
9456
9457 [BZ #9914]
9458 * libio/iogetdelim.c: Include <limits.h>.
9459 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9460 + len + 1 would overflow.
9461
bcd6c8dc
AJ
94622012-09-03 Andreas Jaeger <aj@suse.de>
9463
9464 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9465 * sysdeps/i386/fpu/libm-test-ulps: Update.
9466
4ffffbd2
LD
94672012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9468
9469 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9470 Add s_sinf-sse2, s_conf-sse2.
9471
9472 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9473 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9474 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9475 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9476
9477 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9478 for using routine as __sinf_ia32.
9479 Use macro for function declaration and weak_alias.
9480 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9481 for using routine as __cosf_ia32.
9482 Use macro for function declaration and weak_alias.
9483
9484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9485 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9486
9487 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9488 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9490
9491 * math/libm-test.inc (cos_test): Add more test cases.
9492 (sin_test): Likewise.
9493 (sincos_test): Likewise.
9494
511fa286
AK
94952012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9496
9497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9498 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9499 hidden.
9500 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9501
5f30cfec
L
95022012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9503
9504 [BZ #14538]
9505 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9506 first element of the GOT.
9507 (elf_machine_load_address): Return the difference between
9508 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9509
0786794f
AM
95102012-09-01 Allan McRae <allan@archlinux.org>
9511
5f30cfec
L
9512 [BZ #13412]
9513 * configure.in (AWK): Require gawk version 3.0 or later.
9514 * configure: Regenerated.
0786794f 9515
26889eac
JM
95162012-09-01 Joseph Myers <joseph@codesourcery.com>
9517
9518 * sysdeps/unix/sysv/linux/kernel-features.h
9519 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9521 [__NR_clock_getres]: Make code unconditional.
9522 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9523 (clock_getcpuclockid): Remove code left unreachable by removal of
9524 conditionals.
9525 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9526 code unconditional.
9527 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9528 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9529 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9530 Make code unconditional.
9531 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9532 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9533 * sysdeps/unix/sysv/linux/clock_settime.c
9534 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9535 conditional code.
9536 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9537 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9538
d22e28b0
L
95392012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 [BZ #14476]
9542 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9543 scripts/test-installation.pl.
9544
9545 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9546 and $ld_so_version if it is set.
9547
050af9c4
SP
95482012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9549
9550 [BZ #14516]
9551 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9552 failure if reading from procfs failed.
9553 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9554
ad845c0b
JM
95552012-08-27 Joseph Myers <joseph@codesourcery.com>
9556
9557 * sysdeps/unix/sysv/linux/kernel-features.h
9558 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9559 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9560 Remove conditional code.
9561 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9562 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9563 Remove conditional code.
9564 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9565 * sysdeps/unix/sysv/linux/i386/fxstat.c
9566 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9567 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9568 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9569 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9570 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9571 * sysdeps/unix/sysv/linux/i386/lxstat.c
9572 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9574 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9575 Remove conditional code.
9576 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9577 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9578 Remove conditional code.
9579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9580 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9581 <kernel-features.h>.
9582 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9583 Remove.
9584 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9585 Remove conditional code.
9586 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9587 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9588 Remove conditional.
9589
5dbf56af
MF
95902012-08-27 Mike Frysinger <vapier@gentoo.org>
9591
9592 [BZ #5400]
9593 * NEWS: Add fixed bug number.
9594
d6e70f43
JM
95952012-08-27 Joseph Myers <joseph@codesourcery.com>
9596
7efb4737
JM
9597 [BZ #14519]
9598 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9599 underflowing exponent in case of negative sign.
9600 * stdlib/tst-strtod-round-data: Add more tests.
9601 * stdlib/tst-strtod-round.c (tests): Regenerated.
9602
af92131a
JM
9603 [BZ #3479]
9604 * stdlib/strtod_l.c (NDIG): Remove.
9605 (HEXNDIG): Likewise.
9606 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9607 smallest representable value.
9608 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9609 lie within an exact representation of 1/2 ulp of the result.
9610 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9611 unconditionally.
9612 (TENS_P9_IDX): Define unconditionally.
9613 (TENS_P9_SIZE): Likewise.
9614 (TENS_P10_IDX): Likewise.
9615 (TENS_P10_SIZE): Likewise.
9616 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9617 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9618 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9619 entries for 10^2^13 and 10^2^14.
9620 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9621 (TENS_P13_IDX): Define.
9622 (TENS_P13_SIZE): Likewise.
9623 (TENS_P14_IDX): Likewise.
9624 (TENS_P14_SIZE): Likewise.
9625 (_fpioconst_pow10): Change array size to
9626 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9627 unconditional.
9628 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9629 1024]: Add entries for 10^2^13 and 10^2^14.
9630 [LAST_POW10 > _LAST_POW10]: Remove #error.
9631 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9632 (_fpioconst_pow10): Change array size to
9633 FPIOCONST_POW10_ARRAY_SIZE.
9634 * stdlib/gen-fpioconst.c: New file.
9635 * stdlib/gen-tst-strtod-round.c: Likewise.
9636 * stdlib/tst-strtod-round-data: Likewise.
9637 * stdlib/tst-strtod-round.c: Likewise.
9638 * stdlib/Makefile (tests): Add tst-strtod-round.
9639
d6e70f43
JM
9640 [BZ #14459]
9641 * stdlib/strtod_l.c: Include <stdint.h>.
9642 (NDEBUG): Do not define.
9643 (round_and_return): Change EXPONENT parameter to type intmax_t.
9644 Rearrange calculations to avoid internal overflow possibilities.
9645 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9646 Rearrange calculations to avoid internal overflow possibilities.
9647 Assert that number fits inside MPNSIZE limbs.
9648 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9649 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9650 calculations and add assertions to avoid internal overflow
9651 possibilities. Add casts to avoid signed/unsigned operations.
9652 * stdlib/tst-strtod-overflow.c: New file.
9653 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9654
1f529f7d
MP
96552012-08-25 Marek Polacek <polacek@redhat.com>
9656
9657 * time/time.h: Fix some typos in comments.
9658
59a629f1
RM
96592012-08-23 Roland McGrath <roland@hack.frob.com>
9660
9661 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9662 * posix/tst-rfc3484-2.c: Likewise.
9663 * posix/tst-rfc3484-3.c: Likewise.
9664
d3bafbc9
SM
96652012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9666
9667 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9668 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9669
4efcc022
JM
96702012-08-23 Joseph Myers <joseph@codesourcery.com>
9671
9672 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9673 #include of fxstatat64.c.
9674
3cc3ef96
RM
96752012-08-22 Roland McGrath <roland@hack.frob.com>
9676
f04e2132
RM
9677 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9678 * shadow/getspent_r.c: Likewise.
9679 * shadow/getspnam.c: Likewise.
9680 * shadow/getspnam_r.c: Likewise.
9681 * gshadow/getsgent.c: Likewise.
9682 * gshadow/getsgent_r.c: Likewise.
9683 * gshadow/getsgnam.c: Likewise.
9684 * gshadow/getsgnam_r.c: Likewise.
9685 * inet/getnetbyad.c: Likewise.
9686 * inet/getnetbyad_r.c: Likewise.
9687 * inet/getnetbynm.c: Likewise.
9688 * inet/getnetbynm_r.c: Likewise.
9689 * inet/getnetent.c: Likewise.
9690 * inet/getnetent_r.c: Likewise.
9691 * inet/getproto.c: Likewise.
9692 * inet/getproto_r.c: Likewise.
9693 * inet/getprtent.c: Likewise.
9694 * inet/getprtent_r.c: Likewise.
9695 * inet/getprtname.c: Likewise.
9696 * inet/getprtname_r.c: Likewise.
9697 * inet/getrpcbyname.c: Likewise.
9698 * inet/getrpcbyname_r.c: Likewise.
9699 * inet/getrpcbynumber.c: Likewise.
9700 * inet/getrpcbynumber_r.c: Likewise.
9701 * inet/getrpcent.c: Likewise.
9702 * inet/getrpcent_r.c: Likewise.
9703 * inet/getaliasent.c: Likewise.
9704 * inet/getaliasent_r.c: Likewise.
9705 * inet/getaliasname.c: Likewise.
9706 * inet/getaliasname_r.c: Likewise.
9707 * nscd/getgrgid_r.c: Likewise.
9708 * nscd/getgrnam_r.c: Likewise.
9709 * nscd/gethstbyad_r.c: Likewise.
9710 * nscd/gethstbynm3_r.c: Likewise.
9711 * nscd/getpwnam_r.c: Likewise.
9712 * nscd/getpwuid_r.c: Likewise.
9713 * nscd/getsrvbynm_r.c: Likewise.
9714 * nscd/getsrvbypt_r.c: Likewise.
9715 * nscd/gai.c: Likewise.
9716
c53d909c
RM
9717 * configure.in (build_nscd): New substituted variable, set
9718 by --disable-build-nscd and defaults to $use_nscd.
9719 * configure: Regenerated.
9720 * config.make.in (build-nscd): New substituted variable.
9721 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9722 Change conditional to require [$(build-nscd) = yes] as well.
9723 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9724
3cc3ef96
RM
9725 [BZ# 13696]
9726 * configure.in (use_nscd): New substituted variable, set by
9727 --disable-nscd. If enabled, define USE_NSCD.
9728 * configure: Regenerated.
9729 * config.h.in: Add USE_NSCD.
9730 * config.make.in (use-nscd): New substituted variable.
9731 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9732 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9733 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9734 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9735 (CFLAGS-getgrnam_r.c): Likewise.
9736 (CFLAGS-initgroups.c): Likewise.
9737 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9738 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9739 Variables removed.
9740 * inet/getnetgrent_r.c
9741 (nscd_setnetgrent): New function, broken out of ...
9742 (setnetgrent): ... here. Call it.
9743 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9744 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9745 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9746 * nscd/Makefile (routines, aux): Move definitions after include of
9747 Makeconfig. Conditionalize on [$(use-nscd) != no].
9748 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9749 Conditionalize on [USE_NSCD].
9750 (is_nscd, nscd_init_cb): Likewise.
9751 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9752 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9753 * nss/nss_db/db-init.c: Likewise.
9754 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9755 [USE_NSCD].
9756 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9757 (make_request): Use it.
9758 (cache_valid_p): New function.
9759 (__check_pf): Use it.
9760 * NEWS: Add item for --disable-nscd.
9761
07e51550
DL
97622012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9763
9764 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9765 to support sed >= 4.2.1-20-ga9bf076.
9766 * configure: Regenerated.
9767
35a5b08b
RM
97682012-08-22 Roland McGrath <roland@hack.frob.com>
9769
9770 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9771 Conditionalize whole body on [IREL].
9772
8479f23a
JL
97732012-08-22 Jeff Law <law@redhat.com>
9774
9775 [BZ #14505]
9776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9777 if the family is PF_UNSPEC.
9778
48da0b21
MF
97792012-08-22 Mike Frysinger <vapier@gentoo.org>
9780
9781 * Makerules (lib-version): Rename from V.
9782 (install-lib-nosubdir): Change V to lib-version.
9783
15d0da8c
WS
97842012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9785
9786 [BZ #14252]
9787 * powerpc32/power6/wcschr.c: New file.
9788 * powerpc32/power6/wcscpy.c: New file.
9789 * powerpc32/power6/wcsrchr.c: New file.
9790 * powerpc64/power6/wcschr.c: New file.
9791 * powerpc64/power6/wcscpy.c: New file.
9792 * powerpc64/power6/wcsrchr.c: New file.
9793
bcca0895
MK
97942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9795
9796 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9797 (two_way_short_needle): Use it.
5a4aaa33
RM
9798 * string/strstr.c (AVAILABLE1_USES_J): Define.
9799 * string/strcasestr.c: Likewise.
99677e57
MK
9800
9801 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9802 array references.
9803 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9804
400726de
MK
9805 [BZ #11607]
9806 * NEWS: Add an entry.
9807 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9808 define their defaults.
9809 (two_way_short_needle): Detect end-of-string on-the-fly.
9810 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9811 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9812 * string/bug-strcasestr1.c: New test.
9813 * string/Makefile: Run it.
9814
20a71f2c
MK
98152012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9816
9817 [BZ #11607]
9818 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9819 the first character.
9820
21ad0558
RM
98212012-08-21 Roland McGrath <roland@hack.frob.com>
9822
9823 * csu/elf-init.c (__libc_csu_irel): Function removed.
9824 * csu/libc-start.c (apply_irel): New function.
9825 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9826
0e1d9911
JM
98272012-08-21 Joseph Myers <joseph@codesourcery.com>
9828
9829 * sysdeps/unix/sysv/linux/kernel-features.h
9830 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9832 <kernel-features.h>.
9833 [__NR_fadvise64_64]: Make code unconditional.
9834 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9835 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9836 !__NR_fadvise64_64)]: Likewise.
9837 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9838 !__NR_fadvise64_64))]: Likewise.
9839 [__NR_fadvise64]: Make code unconditional.
9840 [!__NR_fadvise64]: Remove conditional code.
9841 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9842 <kernel-features.h>.
9843 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9844 unconditional.
9845 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9846 conditional code.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9848 not include <kernel-features.h>.
9849 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9850 unconditional.
9851 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9852 conditional code.
9853 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9854 include <kernel-features.h>.
9855 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9856 unconditional.
9857 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9858 conditional code.
9859
14a50c9d
WS
98602012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9861
9862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9863 slight instruction rearrangements per scrollpipe analysis.
9864 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9865
c0f4faf0
RM
98662012-08-20 Roland McGrath <roland@hack.frob.com>
9867
696da859
RM
9868 * manual/syslog.texi (syslog; vsyslog, closelog):
9869 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9870 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9871
c0f4faf0
RM
9872 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9873 DSOCAPS to match condition on defining it.
9874
348363b2
JM
98752012-08-20 Joseph Myers <joseph@codesourcery.com>
9876
a35cbf28
JM
9877 * sysdeps/unix/sysv/linux/kernel-features.h
9878 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9880 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9881 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9883 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9884 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9886 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9887 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9888
445f7ecd
JM
9889 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9890 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9891
348363b2
JM
9892 * sysdeps/unix/sysv/linux/kernel-features.h
9893 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9894 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9895 unconditional.
9896 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9897 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9898 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9899 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9900 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9901 Make code unconditional.
9902 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9903 (__mmap64) [!__NR_mmap2]: Likewise.
9904 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9905 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9906 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9908 [__NR_mmap2]: Make code unconditional.
9909 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9910 (__mmap64) [!__NR_mmap2]: Likewise.
9911
bc5bc0e5
AK
99122012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9913
9914 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9915
88d506de
AJ
99162012-08-18 Andreas Jaeger <aj@suse.de>
9917
9918 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9919
493387d2
MF
99202012-08-18 Mike Frysinger <vapier@gentoo.org>
9921
9922 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9923 * include/unistd.h (__have_sock_cloexec): Likewise.
9924 (__have_pipe2): Likewise.
9925 (__have_dup3): Likewise.
9926
a277af22
MF
99272012-08-18 Mike Frysinger <vapier@gentoo.org>
9928
9929 [BZ #9685]
9930 * include/unistd.h (__have_pipe2): Change define into an extern int.
9931 (__have_dup3): Likewise.
9932 * socket/have_sock_cloexec.c: Include fcntl.h.
9933 (__have_pipe2): New variable.
9934 (__have_dup3): Likewise.
9935
fdab8fd3
MF
99362012-08-17 Mike Frysinger <vapier@gentoo.org>
9937
9938 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9939
31035e80
MP
99402012-08-17 Marek Polacek <polacek@redhat.com>
9941
9942 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9943 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9944
3bd9e993
RM
99452012-08-17 Roland McGrath <roland@hack.frob.com>
9946
c91c505f
RM
9947 * configure.in: Add AC_SUBST for sysheaders.
9948 * configure: Regenerated.
9949 * config.make.in (sysheaders): New substituted variable.
9950
7c6f9d53
RM
9951 * sysdeps/unix/mkfifo.c: Moved ...
9952 * sysdeps/posix/mkfifo.c: ... here.
9953 * sysdeps/unix/mkfifoat.c: Moved ...
9954 * sysdeps/posix/mkfifoat.c: ... here.
9955
9956 * sysdeps/unix/utime.c: Moved ...
9957 * sysdeps/posix/utime.c: ... here.
9958
9959 * sysdeps/unix/time.c: Moved ...
9960 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9961 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9962 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9963
9964 * sysdeps/unix/nice.c: Moved ...
9965 * sysdeps/posix/nice.c: ... here.
9966
9967 * sysdeps/unix/alarm.c: Moved ...
9968 * sysdeps/posix/alarm.c: ... here.
9969
3bd9e993
RM
9970 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9971
d1f09384
JL
99722012-08-17 Jeff Law <law@redhat.com>
9973
9974 * intl/Makefile (codeset_mo): New variable.
9975 ($(codeset_mo)): New target.
9976 (tst-codeset.out): Depend on that. Remove explicit rule.
9977 (tst-gettext3.out, tst-gettext5.out): Likewise.
9978 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9979 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9980 * intl/tst-codeset.sh: Remove.
9981 * intl/tst-gettext3.sh: Likewise.
9982 * intl/tst-gettext5.sh: Likewise.
9983
2ae1ae5c
RM
99842012-08-17 Roland McGrath <roland@hack.frob.com>
9985
c31fdb83
RM
9986 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9987 * sysdeps/unix/syscalls.list: ... here.
9988
a0844057
RM
9989 * sysdeps/posix/getaddrinfo.c
9990 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9991 (gaiconf_init, gaiconf_reload): Use them.
9992 [!_STATBUF_ST_NSEC]
9993 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9994 Define using time_t rather than struct timespec.
9995
750c1f2a
RM
9996 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9997 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9998 Macros removed.
9999 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10000 [!NO_THREADS].
10001 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10002 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10003 Likewise.
10004
2ae1ae5c
RM
10005 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10006 __libc_cleanup_push argument.
10007
e66a42f5
RM
10008 * bits/param.h: New file.
10009 * misc/sys/param.h: New file.
10010 * include/sys/param.h: New file.
10011 * misc/Makefile (headers): Add bits/param.h.
10012 * sysdeps/generic/sys/param.h: File removed.
10013 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10014 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10015 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10016 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10017
b7c08a66
RM
10018 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10019 last change.
10020
b2e1c562
RM
10021 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10022 [_IO_MTSAFE_IO].
10023 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10024 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10025 New macros.
10026
c75ccd4c
RM
10027 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10028 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10029 rather than -D_IO_MTSAFE_IO conditionally.
10030 * stdio-common/Makefile (CPPFLAGS): Likewise.
10031 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10032 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10033 Use $(libio-mtsafe).
10034 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10035 of -D_IO_MTSAFE_IO.
10036 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10037 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10038 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10039 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10040 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10041 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10042 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10043 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10044 (CFLAGS-fread_u_chk.c): Likewise.
10045 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10046 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10047 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10048 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10049 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10050 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10051 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10052 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10053 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10054
10055 * libio/Makefile: Test [$(libc-reentrant) = yes]
10056 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10057
10058 * Makeconfig
10059 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10060 * sysdeps/pthread/configure: File removed.
10061 * sysdeps/pthread/Makeconfig: New file.
10062 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10063 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10064
d9195db8
GB
100652012-08-16 Gary Benson <gbenson@redhat.com>
10066
10067 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10068 unmapping the first object in a namespace.
10069
86466cd9
RM
100702012-08-16 Roland McGrath <roland@hack.frob.com>
10071
10072 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10073 (__internal_setnetgrent): ... this. Add internal_function to
10074 definition. Add libc_hidden_def.
10075 (setnetgrent): Update caller.
10076 (internal_endnetgrent): Renamed to ...
10077 (__internal_endnetgrent): ... this. Add internal_function to
10078 definition. Add libc_hidden_def.
10079 (endnetgrent): Update caller.
10080 (internal_getnetgrent_r): Renamed to ...
10081 (__internal_getnetgrent_r): ... this. Add internal_function to
10082 definition. Add libc_hidden_def.
10083 (__getnetgrent_r): Update caller.
10084 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10085
c3c8283c
JM
100862012-08-16 Joseph Myers <joseph@codesourcery.com>
10087
10088 * stdlib/longlong.h: Update from GCC.
10089
db1ee0a8
RM
100902012-08-16 Roland McGrath <roland@hack.frob.com>
10091
10092 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10093 on _QL, which is set by umul_ppmm but never used.
10094 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10095 variables, which are set by GMP macros but never used.
10096 * stdio-common/_itowa.c (_itowa): Likewise.
10097 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10098 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10099
30f69637
CD
101002012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10101
10102 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10103 struct La_sh_regs is not constant.
10104 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10105 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10106 and struct La_sparc64_regs are not constant.
10107
93a78ac4
JM
101082012-08-16 Joseph Myers <joseph@codesourcery.com>
10109
10110 * sysdeps/unix/sysv/linux/kernel-features.h
10111 (__ASSUME_POSIX_TIMERS): Remove.
10112 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10113 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10114 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10115 Make code unconditional.
10116 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10117 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10118 Make code unconditional.
10119 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10120 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10121 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10122 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10123 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10124 Make code unconditional.
10125 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10126 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10127 (__libc_missing_posix_timers): Remove.
10128
dd924cd7
RM
101292012-08-15 Roland McGrath <roland@hack.frob.com>
10130
4b4f2771
RM
10131 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10132 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10133
601c888b
RM
10134 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10135
176790a7
RM
10136 * elf/dl-sym.c: Include <stdlib.h>.
10137
329bc018
RM
10138 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10139 constants, which avoids warnings in 32-bit builds.
10140
e04e272d
RM
10141 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10142 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10143
952bf94a
RM
10144 * misc/lseek.c: File moved to ...
10145 * io/lseek.c: ... here.
10146
7c99b50a
RM
10147 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10148
dd924cd7
RM
10149 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10150 shifting LEN more than 31 bits at once.
10151
b3f479a8
LD
101522012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10153
10154 [BZ #14195]
8c4ae0d4
RM
10155 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10156 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10157 * string/test-strncasecmp.c (check1): Renamed to...
10158 (bz12205): ...this.
10159 (bz14195): Add new testcase for two empty input strings and N > 0.
10160 (test_main): Call new testcase, adapt for renamed function.
10161
9c55864e
AJ
101622012-08-15 Andreas Jaeger <aj@suse.de>
10163
10164 [BZ #14090]
10165 * crypt/md5test2.c: New test, based on test supplied by Serge
10166 Belyshev <belyshev@depni.sinp.msu.ru>.
10167 * crypt/Makefile (xtests): Add md5test-giant..
10168 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10169
02dcb6c5
PE
101702012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10171
10172 [BZ #14090]
10173 * crypt/md5.c (md5_process_block): Don't assume the buffer
10174 length is less than 2**32.
10175 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10176 length is less than 2**64.
10177
a3f95dcc
RM
101782012-08-15 Roland McGrath <roland@hack.frob.com>
10179
be75d758
RM
10180 * string/str-two-way.h: Include <sys/param.h>.
10181 (MAX): Macro removed.
10182
7312ca90
RM
10183 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10184 Move #define and #undef of memmove to just before and after
10185 including <string.h>.
10186
9a0a5486
RM
10187 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10188 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10189 and after including <string.h>. Move declarations of
10190 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10191 to before #include "string/memmove.c".
10192
67cc348d
RM
10193 * include/dirent.h: Declare __getdirentries.
10194
a3f95dcc
RM
10195 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10196 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10197
ca98e171
MF
101982012-08-14 Mike Frysinger <vapier@gentoo.org>
10199
10200 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10201 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10202 * sysdeps/i386/configure: Regenerated.
10203 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10204 STABS_CURRENT_FILE, and STABS_FUN.
10205 (END): Remove call to STABS_FUN_END.
10206 (STABS_CURRENT_FILE1): Delete.
10207 (STABS_CURRENT_FILE): Likewise.
10208 (STABS_FUN): Likewise.
10209 (STABS_FUN_END): Likewise.
10210 (STABS_FUN2): Likewise.
10211 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10212 * sysdeps/x86_64/configure: Regenerated.
10213
5908bf46
RM
102142012-08-14 Roland McGrath <roland@hack.frob.com>
10215
10216 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10217 * elf/dl-lookup.c: Likewise.
5908bf46 10218
f2c05b9e
JM
102192012-08-14 Joseph Myers <joseph@codesourcery.com>
10220
10221 * sysdeps/unix/sysv/linux/kernel-features.h
10222 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10223 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10224 unconditionally.
10225 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10226 unconditionally.
10227 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10228 condition on __ASSUME_CLONE_THREAD_FLAGS.
10229
e11f5155
AJ
102302012-08-14 Andreas Jaeger <aj@suse.de>
10231
10232 * sysdeps/i386/fpu/libm-test-ulps: Update.
10233
51a9ba86
MK
102342012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10235
2fdd4f78
AJ
10236 * include/atomic.h (atomic_exchange_and_add): Split into ...
10237 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10238 New atomic macros.
51a9ba86 10239
ba6cba9e
MT
102402012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10241
10242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10243
42443a47
JL
102442012-08-13 Jeff Law <law@redhat.com>
10245
10246 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10247 null byte in the output string.
10248
121dce05
JM
102492012-08-10 Joseph Myers <joseph@codesourcery.com>
10250
10251 * sysdeps/unix/sysv/linux/kernel-features.h
10252 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10253 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10254 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10255 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10256 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10257 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10258 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10259
bf51f568
JL
102602012-08-09 Jeff Law <law@redhat.com>
10261
10262 [BZ #13939]
10263 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10264 When avoid_arena is set, don't retry in the that arena. Pick the
10265 next one, whatever it might be.
10266 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10267 (arena_lock): Pass in new parameter to arena_get2.
10268 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10269 arena_get2.
10270 (__libc_malloc): Unify retrying after main arena failure with
10271 __libc_memalign version.
10272 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10273
f85fa270
L
102742012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10275
10276 [BZ #14166]
10277 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10278 to __redirect_strstr.
10279 (__strstr_sse42): Use typeof __redirect_strstr.
10280 (__strstr_ia32): Likewise.
10281 (__libc_strstr): New prototype.
10282 (strstr): Renamed to ...
10283 (__libc_strstr): This.
10284 (strstr): New strong alias of __libc_strstr.
10285 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10286 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10287 __redirect_time.
10288 Include <time.h>.
10289 (__libc_time): New prototype.
10290 (time_ifunc): Replace time with __libc_time.
10291 (time): New strong alias and hidden definition of __libc_time.
10292 (__GI_time): Remove strong alias.
10293 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10294 Include <stddef.h>.
10295 (memmove): Redefined to __redirect_memmove.
10296 (__memmove_sse2): Use typeof __redirect_memmove.
10297 (__memmove_ssse3): Likewise.
10298 (__memmove_ssse3_back): Likewise.
10299 (__libc_memmove): New prototype.
10300 (memmove): Renamed to ...
10301 (__libc_memmove): This.
10302 (memmove): New strong alias of __libc_memmove.
10303
33b4a91e
MS
103042012-08-08 Mark Salter <msalter@redhat.com>
10305
10306 * elf/elf.h
10307 (R_MN10300_TLS_GD): Define.
10308 (R_MN10300_TLS_LD): Likewise.
10309 (R_MN10300_TLS_LDO): Likewise.
10310 (R_MN10300_TLS_GOTIE): Likewise.
10311 (R_MN10300_TLS_IE): Likewise.
10312 (R_MN10300_TLS_LE): Likewise.
10313 (R_MN10300_TLS_DTPMOD): Likewise.
10314 (R_MN10300_TLS_DTPOFF): Likewise.
10315 (R_MN10300_TLS_TPOFF): Likewise.
10316 (R_MN10300_SYM_DIFF): Likewise.
10317 (R_MN10300_ALIGN): Likewise.
10318 (R_MN10300_NUM): Update.
10319
b36137f1
JM
103202012-08-08 Joseph Myers <joseph@codesourcery.com>
10321
10322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10323 Remove.
10324
cdd915fd
RM
103252012-08-08 Roland McGrath <roland@hack.frob.com>
10326
a2433aac
RM
10327 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10328
cdd915fd
RM
10329 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10330 sysdeps/unix -> sysdeps/posix move.
10331 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10332
bf9b740a
AM
103332012-08-07 Allan McRae <allan@archlinux.org>
10334
10335 [BZ #14303]
10336 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10337 (SUNOS_CPP): Likewise.
10338 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10339 not found.
10340 (open_input): Call CPP using execvp.
10341
93df14ee
JM
103422012-08-07 Joseph Myers <joseph@codesourcery.com>
10343
10344 * sysdeps/unix/sysv/linux/kernel-features.h
10345 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10346 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10347 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10348 (__ASSUME_WAITID_SYSCALL): Likewise.
10349 * sysdeps/unix/sysv/linux/dl-execstack.c
10350 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10351 code unconditional.
10352 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10353 conditional code.
10354 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10355 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10356 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10357 code.
10358 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10359 unconditional.
10360 [__ASSUME_WAITID_SYSCALL]: Likewise.
10361 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10362
d34689de
RM
103632012-08-07 Roland McGrath <roland@hack.frob.com>
10364
a281decc
RM
10365 * sysdeps/unix/closedir.c: Renamed to ...
10366 * sysdeps/posix/closedir.c: ... here.
10367 * sysdeps/unix/dirfd.c: Renamed to ...
10368 * sysdeps/posix/dirfd.c: ... here.
10369 * sysdeps/unix/dirstream.h: Renamed to ...
10370 * sysdeps/posix/dirstream.h: ... here.
10371 * sysdeps/unix/fdopendir.c: Renamed to ...
10372 * sysdeps/posix/fdopendir.c: ... here.
10373 * sysdeps/unix/opendir.c: Renamed to ...
10374 * sysdeps/posix/opendir.c: ... here.
10375 * sysdeps/unix/readdir.c: Renamed to ...
10376 * sysdeps/posix/readdir.c: ... here.
10377 * sysdeps/unix/readdir_r.c: Renamed to ...
10378 * sysdeps/posix/readdir_r.c: ... here.
10379 * sysdeps/unix/rewinddir.c: Renamed to ...
10380 * sysdeps/posix/rewinddir.c: ... here.
10381 * sysdeps/unix/seekdir.c: Renamed to ...
10382 * sysdeps/posix/seekdir.c: ... here.
10383 * sysdeps/unix/telldir.c: Renamed to ...
10384 * sysdeps/posix/telldir.c: ... here.
10385 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10386 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10388 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10389
22895b47
RM
10390 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10391 * bits/fcntl.h: ... here.
10392
707a53b6
RM
10393 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10394 not 0.
10395 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10396 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10397 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10398 (struct flock): Move l_start, l_len to the beginning.
10399 Use __pid_t for l_pid.
10400 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10401 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10402 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10403 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10404 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10405 [__USE_LARGEFILE64] (struct flock64): New type.
10406 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10407
f0bd3e25
RM
10408 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10409 * bits/dirent.h: ... here.
10410
d34689de
RM
10411 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10412 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10413
6dad2c06
JM
104142012-08-07 Joseph Myers <joseph@codesourcery.com>
10415
10416 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10417 Change from 2.6.0 to 2.6.16.
10418 * sysdeps/unix/sysv/linux/configure: Regenerated.
10419 * sysdeps/unix/sysv/linux/kernel-features.h
10420 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10421 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10422 version.
10423 (__ASSUME_UTIMES): Likewise.
10424 (__ASSUME_CLONE_STOPPED): Remove.
10425 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10426 architectures, not kernel version.
10427 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10428 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10429 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10430 (__ASSUME_WAITID_SYSCALL): Likewise.
10431 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10432 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10433 * README: State 2.6.16 as minimum Linux kernel version. Do not
10434 refer to older versions.
10435
03af9520
RM
104362012-08-06 Roland McGrath <roland@hack.frob.com>
10437
8e49df1d
RM
10438 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10439 Define alphasort64 as an alias.
10440 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10441 Define versionsort64 as an alias.
10442 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10443 Define scandir64 as an alias.
10444 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10445 Define scandirat64 as an alias.
10446 * dirent/alphasort64.c (alphasort64):
10447 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10448 * dirent/versionsort64.c: Likewise.
10449 * dirent/scandir64.c: Likewise.
10450 * dirent/scandirat64.c: Likewise.
10451 * sysdeps/wordsize-64/alphasort.c: File removed.
10452 * sysdeps/wordsize-64/alphasort64.c: File removed.
10453 * sysdeps/wordsize-64/scandir.c: File removed.
10454 * sysdeps/wordsize-64/scandir64.c: File removed.
10455 * sysdeps/wordsize-64/scandirat.c: File removed.
10456 * sysdeps/wordsize-64/scandirat64.c: File removed.
10457 * sysdeps/wordsize-64/versionsort.c: File removed.
10458 * sysdeps/wordsize-64/versionsort64.c: File removed.
10459 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10460 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10461 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10462 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10463 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10464 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10465 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10466 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10467
10468 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10470 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10471 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10472 [defined __arch64__ || defined __sparcv9]
10473 (__INO_T_MATCHES_INO64_T): New macro.
10474 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10475 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10476 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10477 * sysdeps/unix/sysv/linux/bits/dirent.h
10478 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10479 (_DIRENT_MATCHES_DIRENT64): New macro.
10480
03af9520
RM
10481 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10482 Define lockf64 as an alias.
10483 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10484 Define fseeko64 as an alias.
10485 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10486 Define ftello64 as an alias.
10487 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10488 Define _IO_fgetpos64 and fgetpos64 as aliases.
10489 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10490 Define _IO_fsetpos64 and fsetpos64 as aliases.
10491 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10492 Conditionalize body on this.
10493 * libio/fseeko64.c: Likewise.
10494 * libio/ftello64.c: Likewise.
10495 * libio/iofgetpos64.c: Likewise.
10496 * libio/iofsetpos64.c: Likewise.
10497 * sysdeps/wordsize-64/lockf.c: File removed.
10498 * sysdeps/wordsize-64/lockf64.c: File removed.
10499 * sysdeps/wordsize-64/fseeko.c: File removed.
10500 * sysdeps/wordsize-64/fseeko64.c: File removed.
10501 * sysdeps/wordsize-64/ftello.c: File removed.
10502 * sysdeps/wordsize-64/ftello64.c: File removed.
10503 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10504 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10505 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10506 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10507 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10508 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10509 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10510 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10511 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10512 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10513 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10514 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10515 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10516 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10517
10518 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10520 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10522 [defined __arch64__ || defined __sparcv9]
10523 (__OFF_T_MATCHES_OFF64_T): New macro.
10524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10525 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10527 (__OFF_T_MATCHES_OFF64_T): New macro.
10528
c5757acd
L
105292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10530
10531 * stdlib/secure-getenv.c (__secure_getenv): Replace
10532 GLIBC_2_16 with GLIBC_2_17.
10533
3a31811e
L
105342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10535
10536 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10538
faa2bccb
DM
105392012-08-03 David S. Miller <davem@davemloft.net>
10540
10541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10542
85fe1997
JM
105432012-08-03 Joseph Myers <joseph@codesourcery.com>
10544
10545 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10546 Remove.
10547 (__ASSUME_CORRECT_SI_PID): Likewise.
10548 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10549 (__ASSUME_TMPFS_NAME): Likewise.
10550 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10551 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10552 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10553 (HAVE_AUX_SECURE): Make definition unconditional.
10554 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10555 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10556
4f75b7a0
RM
105572012-08-03 Roland McGrath <roland@hack.frob.com>
10558
10559 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10560 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10561 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10562 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10563 __eloop_threshold instead of SYMLOOP_MAX.
10564
10565 * sysdeps/generic/eloop-threshold.h: New file.
10566 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10567 of MAXSYMLINKS.
10568 * elf/chroot_canon.c (chroot_canon): Likewise.
10569
7aab07e4
JM
105702012-08-03 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #13717]
10573 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10574 Change to 2.6.0 everywhere.
10575 * sysdeps/unix/sysv/linux/configure: Regenerated.
10576 * sysdeps/unix/sysv/linux/kernel-features.h
10577 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10578 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10579 kernel versions.
10580 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10581 (__ASSUME_FUTEX_REQUEUE): Remove.
10582 (__ASSUME_STATFS64): Define unconditionally.
10583 (__ASSUME_AT_SECURE): Likewise.
10584 (__ASSUME_CORRECT_SI_PID): Likewise.
10585 (__ASSUME_TGKILL): Define without depending on kernel version for
10586 i386.
10587 (__ASSUME_UTIMES): Likewise.
10588 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10589 kernel version.
10590 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10591 (__ASSUME_TMPFS_NAME): Likewise.
10592 * README: Update reference to Linux kernel versions.
10593
b67e9372
MP
105942012-08-02 Marek Polacek <polacek@redhat.com>
10595
1f529f7d 10596 [BZ# 14150]
b67e9372
MP
10597 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10598 libc_cv_asm_type_prefix with %.
10599 * configure: Regenerated.
d2441631
RM
10600 * include/libc-symbols.h: Remove comment about
10601 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10602 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10603 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10604 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10605 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10606 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10607 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10608 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10609 * elf/tst-unique2mod1.c: Likewise.
10610 * elf/tst-unique1mod2.c: Likewise.
10611 * elf/tst-unique1mod1.c: Likewise.
10612 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10613 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10614 Replace ASM_TYPE_DIRECTIVE with .type.
10615 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10616 * sysdeps/i386/sysdep.h: Likewise.
10617 * sysdeps/x86_64/sysdep.h: Likewise.
10618 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10620 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10621 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10622 * sysdeps/powerpc/powerpc32/sysdep.h:
10623 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10624 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10626 * sysdeps/i386/fpu/e_powf.S: Likewise.
10627 * sysdeps/i386/fpu/e_expl.S: Likewise.
10628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10629 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10630 * sysdeps/i386/fpu/e_pow.S: Likewise.
10631 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10633 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10634 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10635 * sysdeps/i386/fpu/e_log2.S: Likewise.
10636 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10637 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10638 * sysdeps/i386/fpu/e_powl.S: Likewise.
10639 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10640 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10641 * sysdeps/i386/fpu/e_logl.S: Likewise.
10642 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10643 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10644 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10645 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10646 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10647 * sysdeps/i386/fpu/e_log.S: Likewise.
10648 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10649 * sysdeps/i386/fpu/e_logf.S: Likewise.
10650 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10652 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10653 * sysdeps/i386/fpu/e_log10.S: Likewise.
10654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10659 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10660 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10661 * sysdeps/i386/i686/strtok.S: Likewise.
10662 * sysdeps/i386/i386-mcount.S: Likewise.
10663 * sysdeps/i386/strtok.S: Likewise.
10664 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10665 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10667 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10668 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10669 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10670 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10671 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10672 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10673 * sysdeps/x86_64/_mcount.S: Likewise.
10674 * sysdeps/x86_64/strtok.S: Likewise.
10675 * sysdeps/sh/_mcount.S: Likewise.
10676
2747bf9a
RM
106772012-08-01 Roland McGrath <roland@hack.frob.com>
10678
10679 * libio/iofopen.c: Include <fcntl.h>.
10680 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10681 (_IO_fopen64, fopen64): Define as aliases.
10682 * libio/iofopen64.c: Include <fcntl.h>.
10683 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10684 Conditionalize body on this.
10685 * sysdeps/wordsize-64/iofopen.c: File removed.
10686 * sysdeps/wordsize-64/iofopen64.c: File removed.
10687
3fb791b8
MP
106882012-08-01 Marek Polacek <polacek@redhat.com>
10689
10690 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10691 Use dlfcn directly instead of a variable.
10692 (binfmt-subdir): Do not define.
10693 (dlfcn): Likewise.
10694
a9f1039f
JM
106952012-08-01 Joseph Myers <joseph@codesourcery.com>
10696
23bddc06
JM
10697 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10698 Remove all definitions.
10699 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10700 <kernel-features.h>.
10701 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10702 (miss_F_GETOWN_EX): Remove all definitions.
10703 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10704 macro definition.
10705 [!__ASSUME_FCNTL64]: Remove conditional code.
10706 [__ASSUME_FCNTL64]: Make code unconditional.
10707 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10708 <kernel-features.h>.
10709 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10710 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10711 (lockf64) [__NR_fcntl64]: Make code unconditional.
10712 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10713
a9f1039f
JM
10714 * sysdeps/unix/sysv/linux/kernel-features.h
10715 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10716 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10717 Make code unconditional.
10718 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10719 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10721 [__NR_vfork]: Make code unconditional.
10722 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10723 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10725 [__NR_vfork]: Make code unconditional.
10726 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10727 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10728
09c0ee5f
RM
107292012-08-01 Roland McGrath <roland@hack.frob.com>
10730
48aec5b9
RM
10731 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10732 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10733
cd97c966
RM
10734 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10735 Define mkstemp64 as an alias.
3f55550c
RM
10736 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10737 Define mkstemps64 as an alias.
cd97c966
RM
10738 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10739 Define mkostemp64 as an alias.
b8625cfc
RM
10740 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10741 Define mkostemps64 as an alias.
cd97c966
RM
10742 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10743 Conditionalize body on this.
10744 * misc/mkostemp64.c: Likewise.
b8625cfc 10745 * misc/mkostemps64.c: Likewise.
3f55550c 10746 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10747 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10748 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10749 * sysdeps/wordsize-64/mkostemp.c: File removed.
10750 * sysdeps/wordsize-64/mkstemp.c: File removed.
10751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10752 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10753 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10754 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10755
09c0ee5f
RM
10756 [BZ #14138]
10757 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10758 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10759 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10760 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10761
10762 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10763 compat_symbol macros from <shlib-compat.h> rather than the underlying
10764 default_symbol_version and symbol_version macros, so that DEFAULT
10765 lines in shlib-versions are respected.
10766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10767
7e66ee51
FW
107682012-08-01 Florian Weimer <fweimer@redhat.com>
10769
10770 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10771 Declare with warn_unused_result.
10772 (setgid, setregid, setegid, setresgid): Likewise.
10773 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10774 Likewise.
10775 * WUR-REPORT: Remove set*id functions.
10776
d2a54255
PT
107772012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10778
10779 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10780
7ecdb005
RM
107812012-07-31 Roland McGrath <roland@hack.frob.com>
10782
789bd351
RM
10783 * include/sys/socket.h (__libc_accept, __libc_accept4):
10784 Add attribute_hidden.
10785 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10786
40ce302d
RM
10787 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10788 use of PTR_MANGLE.
10789 * inet/getnetgrent_r.c (setup): Likewise.
10790
7ecdb005
RM
10791 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10792
e2eabb2c
DM
107932012-07-31 David S. Miller <davem@davemloft.net>
10794
10795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10796
d0419dbf
JM
107972012-07-31 Joseph Myers <joseph@codesourcery.com>
10798
10799 [BZ #13629]
10800 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10801 value between 1.0 and 2.0 and smaller part has absolute value less
10802 than 1.0.
10803 * math/s_clog10.c (__clog10): Likewise.
10804 * math/s_clog10f.c (__clog10f): Likewise.
10805 * math/s_clog10l.c (__clog10l): Likewise.
10806 * math/s_clogf.c (__clogf): Likewise.
10807 * math/s_clogl.c (__clogl): Likewise.
10808 * math/libm-test.inc (clog_test): Add more tests.
10809 (clog10_test): Likewise.
10810 * sysdeps/i386/fpu/libm-test-ulps: Update.
10811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10812
2bc13872
FW
108132012-07-31 Florian Weimer <fweimer@redhat.com>
10814
10815 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10816 Exit with zero in case no suitable GID is found, and write a
10817 message to standard error.
10818
bea9b193
RM
108192012-07-30 Roland McGrath <roland@hack.frob.com>
10820
10821 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10822 rather than to 1.
10823 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10824 (MAXPATHLEN): Removed.
10825 (NOGROUP, NODEV): New macros.
10826 (setbit, clrbit, isset, isclr): New macros.
10827 (howmany, roundup, powerof2): New macros.
10828 (DEV_BSIZE): New macro.
10829
10830 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10831 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10832
10833 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10834 definition on [!__NO_LONG_DOUBLE_MATH].
10835
10836 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10837 PTR_MANGLE and PTR_DEMANGLE.
10838
10839 * socket/accept4.c (accept4): Rename to __libc_accept4.
10840 Define accept4 as a weak alias.
10841
10842 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10843 on [_DIRENT_HAVE_D_TYPE].
10844 * io/ftw.c (ftw_dir): Likewise.
10845
10846 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10847
10848 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10849
10850 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10851 Use the BSD numbers rather than the arbitrary ones we had.
10852 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10853 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10854 (SIGXCPU, SIGXFSZ): New macros.
10855 (_NSIG): Now 32.
10856
10857 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10858 initializer on [_LIBC_REENTRANT].
10859
10860 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10861 definitions inside [_POSIX_MAPPED_FILES].
10862
10863 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10864
10865 * dirent/opendir.c: Include <fcntl.h>.
10866
10867 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10868 (__libc_getspecific): Likewise.
10869 (__libc_key_create): Likewise.
10870
10871 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10872 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10873 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10874 (tmpfile64): Define as alias.
10875 * sysdeps/wordsize-64/tmpfile.c: File removed.
10876 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10877 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10878 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10879
10880 * stdio-common/vfscanf.c: Include <stdbool.h>.
10881 * nss/makedb.c: Likewise.
10882 * stdio-common/_i18n_number.h: Likewise.
10883 * argp/argp-help.c: Likewise.
10884 * posix/wordexp.c: Likewise.
10885 * sysdeps/posix/spawni.c: Likewise.
10886 * nss/nss_files/files-initgroups.c: Likewise.
10887 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10888 * nss/nss_files/files-initgroups.c: Likewise.
10889 * nss/nss_db/db-netgrp.c: Likewise.
10890 * nss/nss_db/db-initgroups.c: Likewise.
10891 * io/fchmodat.c: Include <sys/stat.h>.
10892
10893 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10894 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10895
10896 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10897 [HAVE_MMAP].
10898
10899 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10900 Add multiple inclusion protection.
10901
e5abc686
DM
109022012-07-27 David S. Miller <davem@davemloft.net>
10903
10904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10905
815e6fa3
GB
109062012-07-27 Gary Benson <gbenson@redhat.com>
10907
10908 [BZ #14298]
10909 * elf/rtld.c: Include <stap-probe.h>.
10910 (dl_main): Added static probes "init_start" and "init_complete".
10911 * elf/dl-load.c: Include <stap-probe.h>.
10912 (lose): Take new parameter "nsid".
10913 Added static probe "map_failed".
10914 (_dl_map_object_from_fd): Pass namespace id to lose.
10915 Added static probe "map_start".
10916 (open_verify): Pass namespace id to lose.
10917 * elf/dl-open.c: Include <stap-probe.h>.
10918 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10919 and "reloc_complete".
10920 * elf/dl-close.c: Include <stap-probe.h>.
10921 (_dl_close_worker): Added static probes "unmap_start" and
10922 "unmap_complete".
10923 * elf/rtld-debugger-interface.txt: New file documenting the above.
10924
9f98c16c
RM
109252012-07-26 Roland McGrath <roland@hack.frob.com>
10926
10927 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10928 rather than a string variable.
10929 * sunrpc/rpc_main.c (h_output): Likewise.
10930 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10931
f3c22df3
PT
109322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10933
10934 * inet/check_native.c: New file.
10935
3129cfc6
JM
109362012-07-26 Joseph Myers <joseph@codesourcery.com>
10937
da865e95
JM
10938 [BZ #13629]
10939 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10940 if larger part has absolute value 1.0.
10941 * math/s_clog10.c (__clog10): Likewise.
10942 * math/s_clog10f.c (__clog10f): Likewise.
10943 * math/s_clog10l.c (__clog10l): Likewise.
10944 * math/s_clogf.c (__clogf): Likewise.
10945 * math/s_clogl.c (__clogl): Likewise.
10946 * math/libm-test.inc (clog_test): Add more tests.
10947 (clog10_test): Likewise.
10948 * sysdeps/i386/fpu/libm-test-ulps: Update.
10949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10950
3129cfc6
JM
10951 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10952 (pltexit): Likewise.
10953 (La_regs): Likewise.
10954 (La_retval): Likewise.
10955 (int_retval): Likewise.
10956 Update #error for removed macros to refer only to definitions in
10957 tst-audit.h.
10958 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10959 macro.
10960 (pltexit): Likewise.
10961 (La_regs): Likewise.
10962 (La_retval): Likewise.
10963 (int_retval): Likewise.
10964 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10965 macro.
10966 (pltexit): Likewise.
10967 (La_regs): Likewise.
10968 (La_retval): Likewise.
10969 (int_retval): Likewise.
10970 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10971 macro.
10972 (pltexit): Likewise.
10973 (La_regs): Likewise.
10974 (La_retval): Likewise.
10975 (int_retval): Likewise.
10976 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10977 macro.
10978 (pltexit): Likewise.
10979 (La_regs): Likewise.
10980 (La_retval): Likewise.
10981 (int_retval): Likewise.
10982 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10983 macro.
10984 (pltexit): Likewise.
10985 (La_regs): Likewise.
10986 (La_retval): Likewise.
10987 (int_retval): Likewise.
10988 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10989 macro.
10990 (pltexit): Likewise.
10991 (La_regs): Likewise.
10992 (La_retval): Likewise.
10993 (int_retval): Likewise.
10994 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10995 macro definitions in tst-audit.h.
10996 * sysdeps/i386/tst-audit.h: New file.
10997 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10998 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10999 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11000 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11001 * sysdeps/sh/tst-audit.h: Likewise.
11002 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11003 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11004 * sysdeps/x86_64/tst-audit.h: Likewise.
11005
bfc07087
AJ
110062012-07-26 Andreas Jaeger <aj@suse.de>
11007
b1b2aaf8
AJ
11008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11009 ptrace.
11010
11011 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11012 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11013 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11014 PTRACE_O_MASK.
11015 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11016 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11017 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11018
bfc07087
AJ
11019 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11020 value.
11021
11022 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11023 _sigsys.
11024 (si_call_addr, si_syscall, si_arch): Define new macro.
11025 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11026 _sigsys.
11027 (si_call_addr, si_syscall, si_arch): Define new marcro.
11028 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11029 _sigsys.
11030 (si_call_addr, si_syscall, si_arch): Define new macro.
11031 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11032 _sigsys.
11033 (si_call_addr, si_syscall, si_arch): Define new macro.
11034
89b4b02f
JM
110352012-07-25 Joseph Myers <joseph@codesourcery.com>
11036
11037 [BZ #13717]
11038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11039 Change to 2.4.21 where previously 2.4.1.
11040 * sysdeps/unix/sysv/linux/configure: Regenerated.
11041 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11042 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11043 Linux kernel version.
11044 (__ASSUME_STD_AUXV): Remove.
11045 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11046 kernel version.
11047 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11048 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11049 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11050 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11051 (__ASSUME_NETLINK_SUPPORT): Likewise.
11052 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11053 (__no_netlink_support): Remove conditional definition.
11054 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11055 Remove.
11056 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11057 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11058 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11059 (if_nameindex_ioctl): Remove.
11060 (if_nameindex_netlink): Do not handle __no_netlink_support.
11061 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11062 code.
11063 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11064 Remove conditional code.
11065 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11066 code.
11067 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11068 unconditional.
11069 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11070 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11071 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11072 Remove.
11073 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11074 [!__ASSUME_STD_AUXV]: Remove conditional code.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11076 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11077 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11079 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11080 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11081 code.
11082 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11084 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11085 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11086 conditional code.
11087 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11089 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11090 code.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11092 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11093 conditional code.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11095 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11096 code unconditional.
11097 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11098 conditional code.
11099 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11100 unconditional.
11101 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11102 conditional code.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11104 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11105 unconditional.
11106 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11107 conditional code.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11109 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11110 code unconditional.
11111 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11112 conditional code.
11113 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11114 unconditional.
11115 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11116 conditional code.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11118 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11119 code unconditional.
11120 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11121 conditional code.
11122 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11123 unconditional.
11124 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11125 conditional code.
11126
842a39cd
AS
111272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11128
11129 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11130 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11131 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11132 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11133 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11134 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11135 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11136 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11137 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11138 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11139 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11140 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11141 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11142 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11143 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11144 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11145 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11147 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11149 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11150 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11151 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11152
84b3fd84
FW
111532012-07-25 Florian Weimer <fweimer@redhat.com>
11154
11155 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11156 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11157 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11158 Introduce __libc_secure_getenv.
0c7936d5
FW
11159 * stdlib/Versions (2.17): Add secure_getenv
11160 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11161 * stdlib/secure-getenv.c: Rename __secure_getenv to
11162 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11163 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11164 * stdlib/tst-secure-getenv.c: New.
11165 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11166 * manual/startup.texi (Environment Access): Document
11167 secure_getenv.
84b3fd84
FW
11168 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11169 __libc_secure_getenv.
11170 * inet/ruserpass.c (ruserpass): Likewise.
11171 * malloc/mtrace.c (mtrace): Likewise.
11172 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11173 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11174 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11175 * sysdeps/posix/tempname.c: Likewise. Evaluate
11176 HAVE_SECURE_GETENV.
11177 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11178 __secure_getenv to __libc_secure_getenv.
84b3fd84 11179 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11181 Likewise.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11183 Likewise.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11191
56e49b71
JM
111922012-07-25 Joseph Myers <joseph@codesourcery.com>
11193
11194 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11195 (struct La_i86_retval): Likewise.
11196 (struct La_x86_64_regs): Likewise.
11197 (struct La_x86_64_retval): Likewise.
11198 (struct La_x32_regs): Likewise.
11199 (struct La_x32_retval): Likewise.
11200 (struct La_ppc32_regs): Likewise.
11201 (struct La_ppc32_retval): Likewise.
11202 (struct La_ppc64_regs): Likewise.
11203 (struct La_ppc64_retval): Likewise.
11204 (struct La_sh_regs): Likewise.
11205 (struct La_sh_retval): Likewise.
11206 (struct La_s390_32_regs): Likewise.
11207 (struct La_s390_32_retval): Likewise.
11208 (struct La_s390_64_regs): Likewise.
11209 (struct La_s390_64_retval): Likewise.
11210 (struct La_sparc32_regs): Likewise.
11211 (struct La_sparc32_retval): Likewise.
11212 (struct La_sparc64_regs): Likewise.
11213 (struct La_sparc64_retval): Likewise.
11214 (struct audit_ifaces): Remove architecture-specific pltenter and
11215 pltexit members.
11216 * sysdeps/i386/ldsodefs.h: New file.
11217 * sysdeps/powerpc/ldsodefs.h: Likewise.
11218 * sysdeps/s390/ldsodefs.h: Likewise.
11219 * sysdeps/sh/ldsodefs.h: Likewise.
11220 * sysdeps/sparc/ldsodefs.h: Likewise.
11221 * sysdeps/x86_64/ldsodefs.h: Likewise.
11222
354691b7
MP
112232012-07-25 Marek Polacek <polacek@redhat.com>
11224
11225 [BZ #6808]
11226 * math/libm-test.inc (yn_test): Add another test.
11227 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11228 to ERANGE when the result is +-Inf.
11229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11230 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11231 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11232 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11233
bf9e2071
JM
112342012-07-24 Joseph Myers <joseph@codesourcery.com>
11235
11236 * conform/data/time.h-data (NULL): Use macro-constant. Require
11237 equal to 0.
11238 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11239 clock_t.
11240 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11241
57633811
TS
112422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11243
11244 * configure.in <sysdeps resolving>: Correct printing
11245 Implies_before.
11246 * configure: Regenerate.
11247
c23c33b0
TS
112482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11249
11250 * math/w_ilogb.c: Include <limits.h>.
11251 * math/w_ilogbl.c: Likewise.
11252
b5982523
JM
112532012-07-20 Joseph Myers <joseph@codesourcery.com>
11254
11255 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11256 va_copy. Document allowing for unavailable va_copy only as
11257 pre-C99 compatibility.
11258 * manual/string.texi (Copying and Concatenation): Use va_copy
11259 instead of __va_copy in concat example.
11260
ac4ea442
PT
112612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11262
11263 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11264 (__sendto): Use create_address_port. Initialize APORT and deallocate
11265 it if not null.
11266
f98eafbd
PT
11267 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11268 with O_NOLINK passed to __file_name_lookup.
11269
898c7aab
PT
11270 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11271 with O_NOLINK passed to __file_name_lookup.
11272
0ced335a
PT
11273 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11274 negative N or less than NGIDS.
11275
b3404dbd
PT
11276 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11277 type to string_t. Set ERANGE as errno and return it if NAME is not big
11278 enough. Use memcpy instead of strncpy.
11279
0f48659e
JM
112802012-07-20 Joseph Myers <joseph@codesourcery.com>
11281
11282 * elf/Makefile (check-data): Remove.
11283 (localplt.data): New vpath directive.
11284 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11285 instead of $(check-data).
11286 * scripts/data/localplt-generic.data: Move to ...
11287 * sysdeps/generic/localplt.data: ... here.
11288 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11289 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11290 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11292 ... here.
11293 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11295 ... here.
11296 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11298 ... here.
11299 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11301 ... here.
11302 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11304 ... here.
11305 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11307 ... here.
11308
d37cbdaa
AZ
113092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11310
11311 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11312 PPC32 and PPC64 files.
11313 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11314 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11315
46f85fc2
AK
113162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11317
11318 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11319 __makecontext_ret to ...
11320 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11321 ... here and call exit if uc_link is NULL. New file.
11322 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11323 __makecontext_ret.S.
11324 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11325 __makecontext_ret to ...
11326 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11327 ... here and call exit if uc_link is NULL. New file.
11328 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11329 __makecontext_ret.S.
11330
08f43f9b
AK
113312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11332
11333 * elf/elf.h (R_390_IRELATIVE): New definition.
11334 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11335 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11336 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11337 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11338 (elf_machine_lazy_rel): Likewise.
11339 * sysdeps/s390/dl-irel.h: New file.
11340 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11341 * sysdeps/s390/s390-64/memset.S: New asm code.
11342 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11343 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11345 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11346 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11347 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11348 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11349 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11350 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11351 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11352 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11353 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11354 * sysdeps/s390/s390-32/memset.S: New asm code.
11355 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11356
3b05db33
MP
113572012-07-17 Marek Polacek <polacek@redhat.com>
11358
11359 [BZ #14349]
11360 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11361 * sysdeps/s390/s390-64/configure.in: Likewise.
11362 * sysdeps/sparc/configure.in: Likewise.
11363 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11364 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11365 * sysdeps/i386/configure.in: Likewise.
11366 * sysdeps/x86_64/configure.in: Likewise.
11367 * sysdeps/sh/configure.in: Likewise.
11368 * sysdeps/s390/s390-32/configure: Regenerated.
11369 * sysdeps/s390/s390-64/configure: Likewise.
11370 * sysdeps/x86_64/configure: Likewise.
11371 * sysdeps/sh/configure: Likewise.
11372 * sysdeps/powerpc/powerpc64/configure: Likewise.
11373 * sysdeps/powerpc/powerpc32/configure: Likewise.
11374 * sysdeps/sparc/configure: Likwise.
11375 * sysdeps/i386/configure: Likewise.
11376
a66877c6
MP
11377 * elf/dl-open.c: Comment fixes.
11378
cfc82fd8
JM
113792012-07-17 Joseph Myers <joseph@codesourcery.com>
11380
bd29910a
JM
11381 * Makefile [CXX] (check-data): Remove.
11382 [CXX] (c++-types.data): New vpath directive.
11383 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11384 vpath. Do not allow for C++ type data being missing.
11385 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11386 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11387 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11388 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11389 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11390 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11391 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11393 ... here.
11394 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11396 ... here.
11397 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11399 ... here.
11400 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11402 ... here.
11403 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11405 ... here.
11406 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11408 ... here.
11409 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11411 ... here.
11412 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11414
cfc82fd8
JM
11415 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11416 definitions to architecture-specific files.
11417 (TLS_IE): Likewise.
11418 (TLS_LD): Likewise.
11419 (TLS_GD): Likewise.
11420 * sysdeps/i386/tls-macros.h: New file.
11421 * sysdeps/powerpc/tls-macros.h: Likewise.
11422 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11423 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11424 * sysdeps/sh/tls-macros.h: Likewise.
11425 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11426 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11427 * sysdeps/x86_64/tls-macros.h: Likewise.
11428
f7db3170
TS
114292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11430
07cbfc23
TS
11431 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11432 zero value for regular exit case.
11433
f7db3170
TS
11434 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11435 (__start_context): Preserve zero value for regular exit case.
11436
dc97c227
TS
114372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11438 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11439
11440 * manual/setjmp.texi (setcontext): Clarify normal process
11441 termination when uc_link is the null pointer.
11442 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11443 exit call.
11444
d0cd7d02
AS
114452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11446
11447 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11448 preprocessor. Test for each exception mask separately.
11449
dd318934
AJ
114502012-07-16 Andreas Jaeger <aj@suse.de>
11451
11452 * po/ru.po: Update from translation team.
11453
8048311a
JM
114542012-07-15 Joseph Myers <joseph@codesourcery.com>
11455
11456 * conform/data/string.h-data (NULL): Use macro-constant. Require
11457 equal to 0.
11458 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11459 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11460 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11461 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11462 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11463
b637d46e
AJ
114642012-07-13 Andreas Jaeger <aj@suse.de>
11465
11466 * po/fr.po: Update from translation team.
11467
541428fe
MP
114682012-07-12 Marek Polacek <polacek@redhat.com>
11469
11470 [BZ #14173]
11471 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11472 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11473 loop condition.
11474
ec332e94
JM
114752012-07-12 Joseph Myers <joseph@codesourcery.com>
11476
11477 [BZ #13717]
11478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11479 Change to 2.4.1 where previously 2.4.0.
11480 * sysdeps/unix/sysv/linux/configure: Regenerated.
11481 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11482 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11483 version.
11484 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11485 (__ASSUME_AT_CLKTCK): Remove.
11486 (__ASSUME_AT_PAGESIZE): Likewise.
11487 (__ASSUME_AT_XID): Likewise.
11488 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11489 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11490 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11491 unconditionally.
11492 (HAVE_AUX_PAGESIZE): Likewise.
11493 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11494 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11495 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11496
7b6e99be
JB
114972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11498
11499 [BZ #14307]
11500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11501 the temporary buffer used to invoke __gethostbyname2_r,
11502 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11503 host_data / struct gaih_addrtuple.
11504 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11505 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11506 header file nss/nsswitch.h.
11507 * nss/nsswitch.h (global scope): Add definition of implementation
11508 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11509 resolv/nss_dns/dns-host.c).
11510
608404eb
AJ
115112012-07-11 Andreas Jaeger <aj@suse.de>
11512
11513 * po/fr.po: Update from translation team.
11514
71220aca
AJ
11515 * po/sv.po: Update from translation team
11516 * po/fr.po: Another update from translation team.
11517
28cfe843
AZ
115182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11519
11520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11521 for subnormals or multiply small sinh result by itself.
11522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11524
6b90f981
DM
115252012-07-11 David S. Miller <davem@davemloft.net>
11526
11527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11528
c6825772
AS
115292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11530
11531 [BZ #14347]
11532 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11533 (INTERNAL_MARK): Shift it here.
11534
7b8e0d49
MP
115352012-07-10 Marek Polacek <polacek@redhat.com>
11536
11537 [BZ #14151]
11538 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11539 libc_cv_asm_global_directive with .globl.
11540 * configure: Regenerated.
11541 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11542 with .globl.
11543 * sysdeps/i386/configure: Regenerated.
11544 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11545 with .globl.
11546 * sysdeps/x86_64/configure: Regenerated.
11547 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11548 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11549 * elf/tst-unique2mod2.c: Likewise.
11550 * elf/tst-unique2mod1.c: Likewise.
11551 * elf/tst-unique1mod2.c: Likewise.
11552 * elf/tst-unique1mod1.c: Likewise.
11553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11554 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11556 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11557 * sysdeps/mach/sysdep.h: Likewise.
11558 * sysdeps/i386/sysdep.h: Likewise.
11559 * sysdeps/i386/i386-mcount.S: Likewise.
11560 * sysdeps/x86_64/_mcount.S: Likewise.
11561 * sysdeps/x86_64/sysdep.h: Likewise.
11562 * sysdeps/sh/_mcount.S: Likewise.
11563 * sysdeps/sh/sysdep.h: Likewise.
11564 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11565 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11566 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11568 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11569 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11570 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11571 * locale/localeinfo.h: Likewise.
11572 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11573 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11574
6c55cda3
RM
115752012-07-09 Roland McGrath <roland@hack.frob.com>
11576
11577 [BZ #14336]
11578 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11579 system".
11580 * manual/message.texi (The Uniforum approach): Likewise.
11581 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11582 (glibc iconv Implementation): Likewise.
11583
638a572e
JM
115842012-07-09 Joseph Myers <joseph@codesourcery.com>
11585
11586 [BZ #14337]
11587 * math/s_clog.c (__clog): Avoid scaling a value down where that
11588 could result in underflow.
11589 * math/s_clog10.c (__clog10): Likewise.
11590 * math/s_clog10f.c (__clog10f): Likewise.
11591 * math/s_clog10l.c (__clog10l): Likewise.
11592 * math/s_clogf.c (__clogf): Likewise.
11593 * math/s_clogl.c (__clogl): Likewise.
11594 * math/libm-test.inc (clog_test): Add more tests.
11595 (clog10_test): Likewise.
11596 * sysdeps/i386/fpu/libm-test-ulps: Update.
11597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11598
261f4859
AS
115992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11600
0abaf3e4
AS
11601 [BZ #14283]
11602 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11603 by 7 not 8 to examine high bit of fractional part.
11604
261f4859
AS
11605 [BZ #14042]
11606 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11607 for call to __mcount_internal.
11608 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11609 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11610 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11611
f17ac40d
JM
116122012-07-06 Joseph Myers <joseph@codesourcery.com>
11613
9ad63c23
JM
11614 [BZ #14154]
11615 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11616 approximation for values within 0x1p-13f of an odd multiple of
11617 pi/4.
11618 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11619 exception. Add more tests.
11620 * sysdeps/i386/fpu/libm-test-ulps: Update.
11621
f17ac40d
JM
11622 [BZ #6778]
11623 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11624 inputs and return -1 for them. Do not check for +Inf in case not
11625 reachable for +Inf.
11626 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11627 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11628 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11629 and return -1 for them. Do not check for +Inf in case not
11630 reachable for +Inf.
11631 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11632 define.
11633 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11634 and return -1 for them. Do not check for +Inf in case not
11635 reachable for +Inf.
11636 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11637 spurious underflow.
11638 * sysdeps/i386/fpu/libm-test-ulps: Update.
11639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11640
fb21f89b
MF
116412012-07-06 Mike Frysinger <vapier@gentoo.org>
11642
11643 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11644
cdfe2c5e
JM
116452012-07-05 Joseph Myers <joseph@codesourcery.com>
11646
11647 [BZ #14157]
11648 [BZ #14331]
11649 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11650 could result in spurious underflow. Scale down values above
11651 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11652 * math/s_csqrtf.c (__csqrtf): Likewise.
11653 * math/s_csqrtl.c (__csqrtl): Likewise.
11654 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11655 spurious underflow.
11656 * sysdeps/i386/fpu/libm-test-ulps: Update.
11657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11658
70d35b67
AS
116592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11660
704bc459
AS
11661 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11662 xopen-msg.sed.
11663 * catgets/xopen-msg.awk: New file.
11664 * catgets/xopen-msg.sed: Removed.
11665
70d35b67
AS
11666 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11667 po2text.sed.
11668 * intl/po2test.awk: New file.
11669 * intl/po2test.sed: Removed.
11670
ca61cf32
JM
116712012-07-04 Joseph Myers <joseph@codesourcery.com>
11672
11673 [BZ #14328]
11674 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11675 or multiply small sinh result by itself.
11676 * math/s_ctanf.c (__ctanf): Likewise.
11677 * math/s_ctanh.c (__ctanh): Likewise.
11678 * math/s_ctanhf.c (__ctanhf): Likewise.
11679 * math/s_ctanhl.c (__ctanhl): Likewise.
11680 * math/s_ctanl.c (__ctanl): Likewise.
11681 * math/libm-test.inc (ctan_test_tonearest): New function.
11682 (ctan_test_towardzero): Likewise.
11683 (ctan_test_downward): Likewise.
11684 (ctan_test_upward): Likewise.
11685 (ctanh_test_tonearest): Likewise.
11686 (ctanh_test_towardzero): Likewise.
11687 (ctanh_test_downward): Likewise.
11688 (ctanh_test_upward): Likewise.
11689 (main): Call these new functions.
11690 * sysdeps/i386/fpu/libm-test-ulps: Update.
11691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11692
ca48a46a
MF
116932012-07-03 Mike Frysinger <vapier@gentoo.org>
11694
11695 * .gitignore: Delete /ports entry.
11696
9d63d37d
AJ
116972012-07-03 Andreas Jaeger <aj@suse.de>
11698
11699 * po/bg.po: Update from translation team.
11700 * po/cs.po: Likewise.
11701 * po/de.po: Likewise.
11702 * po/hr.po: Likewise.
11703 * po/nl.pl: Likewise.
11704 * po/pl.po: Likewise.
11705 * po/vi.po: Likewise.
11706
370ca3d2
JM
117072012-07-03 Joseph Myers <joseph@codesourcery.com>
11708
95f5a9a8
JM
11709 * Makeconfig [!+link] (+link-before-libc): New variable.
11710 [!+link] (+link-after-libc): Likewise.
11711 [!+link] (+link-tests): Likewise.
11712 [!+link] (+link): Define in terms of $(+link-before-libc) and
11713 $(+link-after-libc).
11714 [!+link-static] (+link-static-before-libc): New variable.
11715 [!+link-static] (+link-static-after-libc): Likewise.
11716 [!+link-static] (+link-static-tests): Likewise.
11717 [!+link-static] (+link-static): Define in terms of
11718 $(+link-static-before-libc) and $(+link-static-after-libc).
11719 [build-shared] (link-libc-before-gnulib): New variable.
11720 [build-shared] (link-libc-tests): Likewise.
11721 [build-shared] (link-libc): Define in terms of
11722 $(link-libc-before-gnulib).
11723 [!build-shared] (link-libc-tests): New variable.
11724 (link-libc-static-tests): New variable.
11725 [!gnulib] (gnulib-arch): New variable.
11726 [!gnulib] (gnulib-tests): Likewise.
11727 [!gnulib] (static-gnulib-arch): Likewise.
11728 [!gnulib] (static-gnulib-tests): Likewise.
11729 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11730 Define with "=" instead of ":=".
11731 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11732 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11733 * Rules (binaries-all-notests): New variable.
11734 (binaries-all-tests): Likewise.
11735 (binaries-static-notests): Likewise.
11736 (binaries-static-tests): Likewise.
11737 (binaries-all): Define using $(binaries-all-notests) and
11738 $(binaries-all-tests).
11739 (binaries-static): Define using $(binaries-static-notests) and
11740 $(binaries-static-tests).
11741 (binaries-shared-tests): New variable.
11742 (binaries-shared-notests): Likewise.
11743 (binaries-shared): Remove variable.
11744 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11745 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11746 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11747 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11748 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11749 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11750 * elf/Makefile (sln-modules): New variable.
11751 (extra-objs): Add $(sln-modules:=.o).
11752 (ldconfig-modules): Add static-stubs.
11753 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11754 * elf/static-stubs.c: New file.
11755
7a845b2c
JM
11756 [BZ #14283]
11757 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11758 by 7 not 8 to examine high bit of fractional part. Use volatile
11759 variables when splitting into final array of floats if
11760 __FLT_EVAL_METHOD__ != 0.
11761 * math/libm-test.inc (cos_test): Add another test.
11762 (sin_test): Likewise.
11763 * sysdeps/i386/fpu/libm-test-ulps: Update.
11764
e2283f38
JM
11765 [BZ #14273]
11766 * math/libm-test.inc (cosh_test): Add more tests.
11767
370ca3d2
JM
11768 * version.h (RELEASE): Set to "development".
11769 (VERSION): Set to "2.16.90".
11770
ee9247c3
CD
117712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11772
11773 * NEWS: Update copyright. Remove last-updated date.
11774 Mention math library bug fixes and timezone data changes.
11775 * README: Mention GNU/Hurd, x32, and HPPA support status.
11776
4648c381
TS
117772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11778
11779 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11780
aac78a43
AJ
117812012-06-27 Andreas Jaeger <aj@suse.de>
11782
11783 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11784
ed3dbfad
AJ
117852012-06-25 Andreas Jaeger <aj@suse.de>
11786
11787 * sysdeps/s390/fpu/libm-test-ulps: Update.
11788
4d0ee855
AS
117892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11790 Thomas Schwinge <thomas@codesourcery.com>
11791
11792 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11793 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11795 fanotify_mark.
11796
af1bce34
TS
117972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11798
a9fa33ba
TS
11799 * sysdeps/mach/start.c: Remove file.
11800 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11801 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11802 * sysdeps/sh/init-first.c: Likewise.
11803
58f902b8
TS
11804 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11805 registers for frame unwinding purposes, add CFI directives.
11806 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11807 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11808 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11809 Likewise.
11810
1518f58b
TS
11811 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11812 __fortify_fail returning.
11813 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11814
db9b5059
TS
11815 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11816 sysdeps/sh/____longjmp_chk.S.
11817 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11818 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11819 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11820 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11821
967705fe
TS
11822 * sysdeps/sh/abort-instr.h: New file.
11823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11824 process in case exit returns.
11825
a9def8c4
TS
11826 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11827 initialize the GOT register before use.
11828
2a649725
TS
11829 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11830 calculation of ARGC > 4.
11831
af1bce34
TS
11832 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11833 meaningful names to some local labels.
11834
d230f50a
KK
118352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11836 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11837
11838 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11839 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11840 (__arch_compare_and_exchange_val_16_acq): Likewise.
11841 (__arch_compare_and_exchange_val_32_acq): Likewise.
11842 (atomic_exchange_and_add): Fix gUSA sequence.
11843 (atomic_add): Likewise.
11844 (atomic_add_negative): Likewise.
11845 (atomic_add_zero): Likewise.
11846 (atomic_bit_test_set): Likewise.
11847
0479b305
AS
118482012-06-22 Andreas Schwab <schwab@redhat.com>
11849
11850 [BZ #13579]
11851 * include/link.h (struct link_map): Add l_free_initfini.
11852 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11853 l_initfini.
11854 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11855 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11856 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11857 set.
11858
0e3933b9
CD
118592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11860
11861 * configure.in: Use AC_LANG_SOURCE.
11862 * configure: Regenerate.
11863
4248b1b1
RM
118642012-06-22 Roland McGrath <roland@hack.frob.com>
11865
11866 * configure.in (libc_cv_localstatedir): New substituted variable.
11867 * configure: Regenerated.
11868 * config.make.in (localstatedir): New variable, substituted from
11869 libc_cv_localstatedir.
11870 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11871 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11872 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11873 * sysdeps/gnu/configure: Regenerated.
11874
006dd861
JL
118752012-06-21 Jeff Law <law@redhat.com>
11876
11877 [BZ #14277]
11878 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11879 free. Simplify list management for _LIBC case.
11880
79662d42
JM
118812012-06-21 Joseph Myers <joseph@codesourcery.com>
11882
b7abb4bf
JM
11883 [BZ #14273]
11884 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11885 Clear sign bit of 64-bit integer value before comparing against
11886 overflow value.
11887
79662d42
JM
11888 * sysdeps/mach/configure: Regenerated.
11889
1f150908
L
118902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11891
11892 [BZ #14278]
11893 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11894
28363bbf
JL
118952012-06-21 Jeff Law <law@redhat.com>
11896
11897 [BZ #13882]
11898 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11899 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11900 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11901 * elf/dl-open.c (dl_open_worker): Likewise.
11902
09615db4
CD
119032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11904
11905 * scripts/list-sources.sh: Scan PORTS for translations.
11906 * po/libc.pot: Regenerated.
11907
2174c6dd
AJ
119082012-06-21 Andreas Jaeger <aj@suse.de>
11909
11910 [BZ #12194]
11911 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11912 warning.
11913 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11914 * bits/byteswap-16.h (__bswap_16): Likewise.
11915 * bits/byteswap.h (__bswap_constant_16): Likewise.
11916
3ee947b1
L
119172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11918
11919 [BZ #14117]
a2f34833
L
11920 * sysdeps/i386/fpu_control.h: Removed.
11921 * sysdeps/x86_64/fpu_control.h: Moved to ...
11922 * sysdeps/x86/fpu_control.h: Here.
11923
3ee947b1
L
11924 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11925 (_FPU_SETCW): Likewise.
11926
ed1825f8
L
119272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11928
25f1282a
L
11929 [BZ #14117]
11930 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11931 * sysdeps/x86/fpu/bits/mathinline.h: This.
11932 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11933
ed1825f8
L
11934 [BZ #14050]
11935 [BZ #14117]
11936 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11937 functions if __x86_64__ is defined.
11938
36d54b74
CLT
119392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11940
11941 * string/endian.h: Add !__ASSEMBLER__ condition for including
11942 conversion interfaces.
11943
10285c21
JM
119442012-06-15 Joseph Myers <joseph@codesourcery.com>
11945
11946 [BZ #14241]
11947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11948 of ABS(x) in calculating zero to negative powers other than odd
11949 integers.
11950 * math/libm-test.inc (pow_test): Add more tests.
11951
06c5abbd
AJ
119522012-06-15 Andreas Jaeger <aj@suse.de>
11953
11954 * manual/contrib.texi (Contributors): Update entry of Liubov
11955 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11956 Machado Filho.
11957
a3aeac40
CH
119582012-06-15 Cyril Hrubis <metan@ucw.cz>
11959
11960 * string/string.h: Add __wur to GNU version of strerror_r.
11961
49bdf4c1
L
119622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11963
11964 [BZ #14229]
11965 * string/Makefile (tests): Add tst-strtok_r.
11966 * string/tst-strtok_r.c: New file.
11967 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11968 RAX_LP/RDX_LP on SAVE_PTR.
11969
834f9b8d
RM
119702012-06-14 Roland McGrath <roland@hack.frob.com>
11971
11972 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11973
75fa1921
JM
119742012-06-14 Joseph Myers <joseph@codesourcery.com>
11975
11976 * libm_test.inc (csqrt_test): Allow more spurious underflow
11977 exceptions.
11978 (j0_test): Likewise.
11979 (j1_test): Likewise.
11980 (y0_test): Likewise.
11981 (y1_test): Likewise.
11982
771766df
CD
119832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11984
11985 * po/Makefile (libc.pot): Use UTF-8 charset.
11986
ceb9e56b
PP
119872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11988
11989 [BZ #14210]
11990 Suppress sign-conversion warning from FD_SET.
11991 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11992 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11993 not unsigned long int.
11994 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11995
ddb28975
L
119962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11997
11998 [BZ #14050]
11999 [BZ #14117]
12000 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12001 __extern_always_inline instead of __extern_inline.
12002 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12003 (__signbit): Likewise.
12004 (__signbitl): Support C++ namespace.
12005 (lrintf): New inline function.
12006 (lrint): Likewise.
12007 (llrintf): Likewise.
12008 (llrint): Likewise.
12009 (fmaxf): Likewise.
12010 (fmax): Likewise.
12011 (fminf): Likewise.
12012 (fmin): Likewise.
12013 (rint): Likewise.
12014 (rintf): Likewise.
12015 (ceil): Likewise.
12016 (ceilf): Likewise.
12017 (floor): Likewise.
12018 (floorf): Likewise.
12019 (nearbyint): Likewise.
12020 (nearbyintf): Likewise.
12021
d7b4fb26
TS
120222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12023
12024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12025 non-default versions.
12026
eb55f5c2
RM
120272012-06-11 Roland McGrath <roland@hack.frob.com>
12028
12029 [BZ #14218]
12030 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12031
366af02c
TS
120322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12033
99ff6e5c
TS
12034 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12035 (FE_UPWARD, FE_DOWNWARD): Don't define.
12036 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12037 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12038
366af02c
TS
12039 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12040 reading it.
12041 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12042 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12043
793ea851
KK
120442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12045
12046 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12047 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12048 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12049 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12050
a728a38f
L
120512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 [BZ #14117]
c08010c7
L
12054 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12055 * sysdeps/i386/fpu/Implies: New file.
12056 * sysdeps/x86_64/fpu/Implies: Likewise.
12057 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12058 * sysdeps/x86/fpu/bits/fenv.h: This.
12059
a728a38f
L
12060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12061 __SSE_MATH__.
12062
6e230d11
SP
120632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12064
12065 [BZ #14134]
12066 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12067 character 0xffff that matches the last element of the
12068 conversion table.
12069
1b671feb
AZ
120702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12071
12072 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12073 fmodl commit.
12074
6043738b
AZ
120752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12076
12077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12078 values higher than 25.6283.
12079
34ae0b32
AZ
120802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12081
12082 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12083 subnormal exponent extraction and add some __builtin_expect.
12084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12085 Fix for subnormal mantissa calculation.
12086
1214ec8f
MF
120872012-06-04 Mike Frysinger <vapier@gentoo.org>
12088
12089 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12090 cpu2 is -1 and errno is not ENOSYS.
12091
f3d1f93c
L
120922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12093
12094 [BZ #14117]
0e4a3cd7
L
12095 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12096 * sysdeps/x86/bits/string.h: This.
12097 * sysdeps/x86_64/bits/string.h: Removed.
12098
6704c645
L
12099 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12100 if not compiling for x86-64, but compiling for >= i486.
12101
48495318
L
12102 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12103 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12104
14adcbfc
L
12105 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12106 New macro from Linux kernel 3.4.0.
12107 (FP_XSTATE_MAGIC2): Likewise.
12108 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12109 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12110 (struct _fpx_sw_bytes): New struct.
12111 (struct _xsave_hdr): Likewise.
12112 (struct _ymmh_state): Likewise.
12113 (struct _xstate): Likewise.
12114
68e408ab
L
12115 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12116 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12118 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12120 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12121
f3d1f93c
L
12122 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12123 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12124 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12125 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12126 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12127 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12128
d9dc34cd
TMQMF
121292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12130
12131 [BZ #13743]
12132 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12133 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12134 (sysdep_headers): Include sys/platform/ppc.h.
12135 * sysdeps/powerpc/test-gettimebase.c: Test for
12136 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12137 * manual/Makefile (appendices): Include platform.texi.
12138 * manual/contrib.texi (Contributors): Update @node pointers.
12139 * manual/maint.texi (Maintenance): Likewise.
12140 (Platform): New node.
12141 * manual/platform.texi: New file. Document the new features.
12142
4af3879c
SP
121432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12144 Jakub Jelinek <jakub@redhat.com>
12145
12146 [BZ #14188]
12147 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12148 where __builtin_expect is unavailable.
12149
2fd6ff13
DM
121502012-06-03 David S. Miller <davem@davemloft.net>
12151
12152 * stdlib/longlong.h: Updated from GCC.
12153
173f7220
AS
121542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12155
12156 [BZ #14042]
12157 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12158 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12159 __mcount_internal.
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12161 (GLIBC_2.16): Likewise.
12162
f34a1c6f
L
121632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12164
12165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12166
88a4576f
JM
121672012-06-01 Joseph Myers <joseph@codesourcery.com>
12168
ea32bcdd
JM
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12170 (default-abi): New variable.
12171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12172 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12173 variable.
12174 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12175 Likewise.
12176 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12177 Likewise.
12178 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12179 Likewise.
12180
88a4576f
JM
12181 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12182 definition. Document in comment.
12183
402fe938
DM
121842012-06-01 David S. Miller <davem@davemloft.net>
12185
12186 * stdlib/longlong.h: Updated from GCC.
12187
3553723f
L
121882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12189
12190 [BZ #14117]
3bd872c4
L
12191 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12192 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12193 sys/debugreg.h sys/io.h here.
12194 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12195 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12196 sys/io.h.
12197 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12198 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12199 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12200 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12201 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12202 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12203
3553723f
L
12204 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12205 Define only if __x86_64__ is defined.
12206
4842e4fe
JM
122072012-06-01 Joseph Myers <joseph@codesourcery.com>
12208
c5bfe3d5
JM
12209 [BZ #14048]
12210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12211 Use int64_t for variable i.
12212 * math/libm-test.inc (fmod_test): Add more tests.
12213
4842e4fe
JM
12214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12215 z computation is not scheduled after fetestexcept.
12216 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12217 Use math_force_eval instead of asm to ensure calculation scheduled
12218 before exception test.
12219 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12220 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12221
efb73488
AJ
122222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12223
12224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12225 computation is not scheduled after fetestexcept.
12226
29bcce7c
L
122272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12228
12229 [BZ #14117]
12230 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12231 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12232
73a68f94
AZ
122332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12234
12235 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12236 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12237
67b6df78
L
122382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12239
edf2933a 12240 [BZ #14117]
ebc64a18
L
12241 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12242 <bits/wordsize.h>.
12243 (__WCHAR_MIN): Support __WORDSIZE == 64.
12244 (__WCHAR_MAX): Likewise.
12245
edf2933a
L
12246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12248
57c6cf40
L
12249 [BZ #14183]
12250 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12251 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12252
67b6df78 12253 [BZ #14117]
8eb6281e
L
12254 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12255 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12256
aac639f4
L
12257 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12258 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12259
67b6df78
L
12260 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12261 Defined to 1 if __x86_64__ isn't defined.
12262 (_STAT_VER_LINUX_OLD): New.
12263 (st_atime): Remove duplicate.
12264 (st_mtime): Likewise.
12265 (st_ctime): Likewise.
12266
1c2cfe81
DM
122672012-05-31 David S. Miller <davem@davemloft.net>
12268
12269 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12270 entries.
12271
5be8418c
AS
122722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12273
e7725326
AS
12274 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12275 gen-libm-test.pl.
12276
5be8418c
AS
12277 [BZ #14132]
12278 * elf/dl-reloc.c: Include <_itoa.h>.
12279 (_dl_reloc_bad_type): Remove use of INTUSE.
12280 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12281 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12282 * stdio-common/psiginfo.c (psiginfo): Likewise.
12283 * stdio-common/psignal.c (psignal): Likewise.
12284 * string/strsignal.c (strsignal): Likewise.
12285 * include/signal.h (_sys_siglist): Declare hidden proto.
12286 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12287 INTVARDEF with libc_hidden_data_def.
12288 * stdio-common/itoa-udigits.c: Likewise.
12289 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12290 (_itoa_lower_digits_internal): Remove declaration.
12291 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12292 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12293 (_sys_sigabbrev_internal): Remove aliases.
12294 (_sys_siglist): Define hidden alias.
12295
507352f1
MT
122962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12297
12298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12299 bits/sysctl.h.
12300
42bbb1c3
L
123012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 [BZ #14117]
6bd784b6
L
12304 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12305 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12306
8bca20f0
L
12307 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12308 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12309 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12310 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12311 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12312 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12313
f9e890a9
L
12314 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12315 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12316 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12317
471101a1
L
12318 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12319 with __addr.
12320 (insw): Likewise.
12321 (insl): Likewise.
12322 (outsb): Likewise.
12323 (outsw): Likewise.
12324 (outsl): Likewise.
12325
6451c862
L
12326 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12327 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12328 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12329
a254b8c9
L
12330 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12331 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12333 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12334 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12335 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12336
b8dfdd92
L
12337 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12338 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12339
578cd270
L
12340 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12341 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12342
de662f5f
L
12343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12345 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12346
25653439
L
12347 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12348 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12349 to ...
12350 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12351
6bad24a0
L
12352 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12353 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12354 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12355
42bbb1c3
L
12356 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12357 for x86-64.
12358 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12359
2d10d547
JM
123602012-05-31 Joseph Myers <joseph@codesourcery.com>
12361
12362 * math/math.h (M_El): Use two more decimal places.
12363 (M_LOG2El): Likewise.
12364 (M_LOG10El): Likewise.
12365 (M_LN2l): Likewise.
12366 (M_LN10l): Likewise.
12367 (M_PIl): Likewise.
12368 (M_PI_2l): Likewise.
12369 (M_PI_4l): Likewise.
12370 (M_1_PIl): Likewise.
12371 (M_2_PIl): Likewise.
12372 (M_2_SQRTPIl): Likewise.
12373 (M_SQRT2l): Likewise.
12374 (M_SQRT1_2l): Likewise.
12375
f230c29b
DM
123762012-05-31 David S. Miller <davem@davemloft.net>
12377
12378 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12379 values between float registers.
12380 * sysdeps/sparc/sparc64/memset.S: Likewise.
12381 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12382
fed806c3
MF
123832012-05-31 Mike Frysinger <vapier@gentoo.org>
12384
12385 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12386 -D_FORTIFY_SOURCE=1.
12387 (CPPFLAGS-tst-longjmp_chk.c): Define.
12388 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12389 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12390 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12391 CFLAGS-tst-wchar-h.c.
12392
30917259
MP
123932012-05-31 Marek Polacek <polacek@redhat.com>
12394
12395 [BZ #14132]
12396 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12397 __endmntent_internal): Remove declaration.
12398 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12399 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12400 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12401
1c58d5dc
DM
124022012-05-30 David S. Miller <davem@davemloft.net>
12403
12404 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12405 (___Q_simulate_exceptions): Use real FP ops rather than writing
12406 into the %fsr.
12407 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12408 Likewise.
12409
7dc00e0d
L
124102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12411
12412 [BZ #14117]
0bd53985
L
12413 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12414 * sysdeps/x86/bits/xtitypes.h: This.
12415
3a257e66
L
12416 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12417 * sysdeps/x86/bits/wordsize.h: This.
12418
62f62904
L
12419 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12420 * sysdeps/x86/bits/huge_vall.h: This.
12421
404fe9d9
L
12422 * sysdeps/i386/bits/select.h: Removed.
12423 * sysdeps/x86_64/bits/select.h: Renamed to ...
12424 * sysdeps/x86/bits/select.h: This.
12425
d48d0446
L
12426 * sysdeps/i386/bits/setjmp.h: Removed.
12427 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12428 * sysdeps/x86/bits/setjmp.h: This.
12429
7dc00e0d
L
12430 * sysdeps/i386/bits/mathdef.h: Removed.
12431 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12432 * sysdeps/x86/bits/mathdef.h: This.
12433
03277f8f
AS
124342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12435
12436 [BZ #14132]
12437 * include/sys/socket.h (__connect_internal)
12438 (__libc_sa_len_internal): Remove declaration.
12439 (__connect, __libc_sa_len): Declare hidden_proto.
12440 (SA_LEN): Remove use of INTUSE.
12441 * socket/connect.c: Add libc_hidden_def.
12442 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12443 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12444 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12445 alias.
12446 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12447 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12448 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12449 of adding _internal alias.
12450
13764867
L
124512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12452
12453 [BZ #14117]
6bd97696
L
12454 * sysdeps/i386/bits/link.h: Removed.
12455 * sysdeps/i386/bits/linkmap.h: Likewise.
12456 * sysdeps/x86_64/bits/link.h: Renamed to ...
12457 * sysdeps/x86/bits/link.h: This.
12458 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12459 * sysdeps/x86/bits/linkmap.h: This.
12460
f726f0bb
L
12461 * sysdeps/i386/bits/endian.h: Removed.
12462 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12463 * sysdeps/x86/bits/endian.h: This.
12464
13764867
L
12465 * sysdeps/i386/bits/byteswap.h: Removed.
12466 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12467 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12468 * sysdeps/x86/bits/byteswap.h: This.
12469 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12470 * sysdeps/x86/bits/byteswap-16.h: This.
12471 * sysdeps/i386/Implies: Add x86.
12472 * sysdeps/x86_64/Implies: Likewise.
12473
ae251b0b
DM
124742012-05-30 David S. Miller <davem@davemloft.net>
12475
12476 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12477 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12478 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12479 (FP_TRAPPING_EXCEPTIONS): Define.
12480 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12481 (FP_TRAPPING_EXCEPTIONS): Define.
12482 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12483 subnormals only when inexact has been signalled or underflow
12484 exceptions are enabled.
12485 (_FP_PACK_CANONICAL): Likewise.
12486
d5c90867
L
124872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12488
12489 [BZ #14183]
12490 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12491 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12492
63f1549e
RH
124932012-05-30 Richard Henderson <rth@twiddle.net>
12494
8d8f2279
RH
12495 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12496 with #ifndef NOT_IN_libc.
12497
63f1549e
RH
12498 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12499 marked to avoid plt entry.
12500
0ab0291b
L
125012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12502
12503 [BZ #14112]
12504 * Makeconfig (default-abi): New macro.
12505 (abi-includes): Likewise.
12506 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12507 $(abi-$(default-abi)-lib-soname) for soname if defined.
12508 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12509 abi-variants.
12510 * Makefile (installed-stubs): Likewise.
12511 * include/stubs-biarch.h: Removed.
12512 * scripts/lib-names.awk: Only handle one library at a time.
12513 * scripts/soversions.awk: Remove WORDSIZE support.
12514 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12515 entries.
12516 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12517 Removed.
12518 (syscall-list-default-condition): Likewise.
12519 (syscall-list-default-condition): Likewise.
12520 (syscall-list-includes): Likewise.
12521 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12522 syscall-list-* with abi-*. Handle undefined abi-variants.
12523 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12524 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12525 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12528 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12529 Removed.
12530 (syscall-list-32-options): Likewise.
12531 (syscall-list-32-condition): Likewise.
12532 (syscall-list-64-options): Likewise.
12533 (syscall-list-64-condition): Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12535 macro.
12536 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12537 Renamed to ...
12538 (abi-*): This.
12539 (abi-64-ld-soname): New macro.
12540 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12541 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12542 Renamed to ...
12543 (abi-*): This.
12544 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12545 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12546
4da0431d
JM
125472012-05-30 Joseph Myers <joseph@codesourcery.com>
12548
3a85279c
JM
12549 * sysdeps/unix/sysv/linux/kernel-features.h
12550 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12551 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12552 include <kernel-features.h>.
12553 [!__NR_ftruncate64]: Remove conditional code.
12554 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12555 [__NR_ftruncate64]: Make code unconditional.
12556 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12557 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12558 include <kernel-features.h>.
12559 [!__NR_ftruncate64]: Remove conditional code.
12560 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12561 [__NR_ftruncate64]: Make code unconditional.
12562 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12564 include <kernel-features.h>.
12565 [!__NR_ftruncate64]: Remove conditional code.
12566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12567 [__NR_ftruncate64]: Make code unconditional.
12568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12570 include <kernel-features.h>.
12571 [!__NR_ftruncate64]: Remove conditional code.
12572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12573 [__NR_ftruncate64]: Make code unconditional.
12574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12575
4da0431d
JM
12576 * configure.in (libc_cv_fpie): Weaken to a compile test using
12577 LIBC_TRY_CC_OPTION.
12578 * configure: Regenerated.
12579
11ef492c
AK
125802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12581
12582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12586 Refreshed.
12587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12593 Refreshed.
12594
d66ef399
DM
125952012-05-27 David S. Miller <davem@davemloft.net>
12596
12597 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12598 (___Q_zero): New.
12599 (__Q_simulate_exceptions): Return void. Change to simulate
12600 exceptions by writing into the %fsr.
12601 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12602 (__Qp_handle_exceptions): Likewise.
12603 (numbers): Delete.
12604 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12605 __Qp_handle_exceptions.
12606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12607 __Qp_handle_exceptions.
12608 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12609 as unused and give dummy FP_RND_NEAREST initializer.
12610 (FP_INHIBIT_RESULTS): Define.
12611 (___Q_simulate_exceptions): Update declaration.
12612 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12613 formatting.
12614 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12615 as unused and give dummy FP_RND_NEAREST initializer.
12616 (__Qp_handle_exceptions): Update declaration.
12617 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12618 formatting.
12619
04fb54b5
TS
126202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12621
12622 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12623 the temporary FPU control word.
12624 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12625 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12626 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12627 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12628 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12629 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12630 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12631 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12632 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12633 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12634 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12635
3f99608f
KK
126362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12637
12638 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12639 fields.
12640
65a4de4e
CLT
126412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12642
12643 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12644 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12645 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12646 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12647 Likewise.
12648 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12649 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12650 Likewise.
12651
15749d40
UD
126522012-05-27 Ulrich Drepper <drepper@gmail.com>
12653
12654 * po/h.po: Update from translation team.
12655
25dbcb27
AS
126562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12657
3d3f8e55
AS
12658 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12659
25dbcb27
AS
12660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12661 handling of denormals.
12662 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12663 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12664 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12665 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12668 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12669 Likewise.
12670
7ad47a80 126712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12672
12673 [BZ #14152]
12674 * math/libm-test.inc (fma_test): Don't always expect underflow
12675 exception.
12676
9c6ea9fa
SP
126772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12678
12679 [BZ #12416]
12680 * elf/tst-execstack.c: Include stackinfo.h.
12681 (do_test): Adjust test case to ensure that pthread_getattr_np
12682 behaviour remains the same after marking stack executable.
12683
a8239222
JM
126842012-05-25 Joseph Myers <joseph@codesourcery.com>
12685
12686 * sysdeps/unix/sysv/linux/kernel-features.h
12687 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12688 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12689 kernel-features.h.
12690 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12691 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12692 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12693 kernel-features.h.
12694 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12695 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12696
918b5606
L
126972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12698
12699 * configure.in: Define the default includes to being none.
12700 * configure: Regenerated.
12701
3a097cc7
RM
127022012-05-25 Roland McGrath <roland@hack.frob.com>
12703
8422c9a5
RM
12704 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12705 * sysdeps/x86_64/setjmp.S: Likewise.
12706 * sysdeps/i386/bsd-setjmp.S: Likewise.
12707 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12708 * sysdeps/i386/setjmp.S: Likewise.
12709 * sysdeps/i386/__longjmp.S: Likewise.
12710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12711 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12712
3a097cc7
RM
12713 * include/stap-probe.h: New file.
12714 * configure.in: Handle --enable-systemtap.
12715 * configure: Regenerated.
12716 * config.h.in (USE_STAP_PROBE): New #undef.
12717 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12718 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12719 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12720
21708942
JM
127212012-05-25 Joseph Myers <joseph@codesourcery.com>
12722
12723 [BZ #13717]
12724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12725 to 2.4.0 where earlier.
12726 * sysdeps/unix/sysv/linux/configure: Regenerated.
12727 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12728 <kernel-features.h>.
12729 [__ASSUME_32BITUIDS]: Make code unconditional.
12730 [!__ASSUME_32BITUIDS]: Remove conditional code.
12731 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12732 <kernel-features.h>.
12733 [__ASSUME_32BITUIDS]: Make code unconditional.
12734 [!__ASSUME_32BITUIDS]: Remove conditional code.
12735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12736 [__ASSUME_32BITUIDS]: Make code unconditional.
12737 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12738 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12739 <kernel-features.h>.
12740 [__ASSUME_32BITUIDS]: Make code unconditional.
12741 [!__ASSUME_32BITUIDS]: Remove conditional code.
12742 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12743 <kernel-features.h>.
12744 [__ASSUME_32BITUIDS]: Make code unconditional.
12745 [!__ASSUME_32BITUIDS]: Remove conditional code.
12746 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12747 <kernel-features.h>.
12748 [__ASSUME_32BITUIDS]: Make code unconditional.
12749 [!__ASSUME_32BITUIDS]: Remove conditional code.
12750 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12751 <kernel-features.h>.
12752 [__ASSUME_32BITUIDS]: Make code unconditional.
12753 [!__ASSUME_32BITUIDS]: Remove conditional code.
12754 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12755 <kernel-features.h>.
12756 [__ASSUME_32BITUIDS]: Make code unconditional.
12757 [!__ASSUME_32BITUIDS]: Remove conditional code.
12758 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12759 <kernel-features.h>.
12760 [__ASSUME_32BITUIDS]: Make code unconditional.
12761 [!__ASSUME_32BITUIDS]: Remove conditional code.
12762 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12763 <kernel-features.h>.
12764 [__ASSUME_32BITUIDS]: Make code unconditional.
12765 [!__ASSUME_32BITUIDS]: Remove conditional code.
12766 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12767 <kernel-features.h>.
12768 [__ASSUME_32BITUIDS]: Make code unconditional.
12769 [!__ASSUME_32BITUIDS]: Remove conditional code.
12770 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12771 <kernel-features.h>.
12772 [__ASSUME_32BITUIDS]: Make code unconditional.
12773 [!__ASSUME_32BITUIDS]: Remove conditional code.
12774 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12775 <kernel-features.h>.
12776 [__ASSUME_32BITUIDS]: Make code unconditional.
12777 [!__ASSUME_32BITUIDS]: Remove conditional code.
12778 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12779 <kernel-features.h>.
12780 [__NR_setresgid] (__setresgid): Do not declare.
12781 [__ASSUME_32BITUIDS]: Make code unconditional.
12782 [!__ASSUME_32BITUIDS]: Remove conditional code.
12783 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12784 <kernel-features.h>.
12785 [__NR_setresuid] (__setresuid): Do not declare.
12786 [__ASSUME_32BITUIDS]: Make code unconditional.
12787 [!__ASSUME_32BITUIDS]: Remove conditional code.
12788 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12789 <kernel-features.h>.
12790 [__ASSUME_32BITUIDS]: Make code unconditional.
12791 [!__ASSUME_32BITUIDS]: Remove conditional code.
12792 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12793 <kernel-features.h>.
12794 [__ASSUME_32BITUIDS]: Make code unconditional.
12795 [!__ASSUME_32BITUIDS]: Remove conditional code.
12796 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12797 <kernel-features.h>.
12798 [__ASSUME_32BITUIDS]: Make code unconditional.
12799 [!__ASSUME_32BITUIDS]: Remove conditional code.
12800 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12801 <kernel-features.h>.
12802 [__ASSUME_32BITUIDS]: Make code unconditional.
12803 [!__ASSUME_32BITUIDS]: Remove conditional code.
12804 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12805 <kernel-features.h>.
12806 [__ASSUME_32BITUIDS]: Make code unconditional.
12807 [!__ASSUME_32BITUIDS]: Remove conditional code.
12808 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12809 <kernel-features.h>.
12810 [__ASSUME_32BITUIDS]: Make code unconditional.
12811 [!__ASSUME_32BITUIDS]: Remove conditional code.
12812 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12813 <kernel-features.h>.
12814 [__ASSUME_32BITUIDS]: Make code unconditional.
12815 [!__ASSUME_32BITUIDS]: Remove conditional code.
12816 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12817 <kernel-features.h>.
12818 [__ASSUME_32BITUIDS]: Make code unconditional.
12819 [!__ASSUME_32BITUIDS]: Remove conditional code.
12820 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12821 <kernel-features.h>.
12822 [__ASSUME_32BITUIDS]: Make code unconditional.
12823 [!__ASSUME_32BITUIDS]: Remove conditional code.
12824 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12825 <kernel-features.h>.
12826 [__ASSUME_32BITUIDS]: Make code unconditional.
12827 [!__ASSUME_32BITUIDS]: Remove conditional code.
12828 * sysdeps/unix/sysv/linux/kernel-features.h
12829 (__ASSUME_SETRESUID_SYSCALL): Remove.
12830 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12831 (__ASSUME_32BITUIDS): Likewise.
12832 (__ASSUME_LDT_WORKS): Likewise.
12833 (__ASSUME_O_DIRECTORY): Likewise.
12834 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12835 architecture but not kernel version.
12836 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12837 (__ASSUME_MMAP2_SYSCALL): Likewise.
12838 (__ASSUME_STAT64_SYSCALL): Likewise.
12839 (__ASSUME_IPC64): Likewise.
12840 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12841 <kernel-features.h>.
12842 [__ASSUME_32BITUIDS]: Make code unconditional.
12843 [!__ASSUME_32BITUIDS]: Remove conditional code.
12844 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12845 <kernel-features.h>.
12846 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12847 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12848 132096]: Remove conditional code.
12849 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12850 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12851 <kernel-features.h>.
12852 [__ASSUME_32BITUIDS]: Make code unconditional.
12853 [!__ASSUME_32BITUIDS]: Remove conditional code.
12854 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12855 <kernel-features.h>.
12856 [__ASSUME_32BITUIDS]: Make code unconditional.
12857 [!__ASSUME_32BITUIDS]: Remove conditional code.
12858 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12859 <kernel-features.h>.
12860 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12861 unconditional.
12862 (__setresgid): Do not declare.
12863 [__ASSUME_32BITUIDS]: Make code unconditional.
12864 [!__ASSUME_32BITUIDS]: Remove conditional code.
12865 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12866 <kernel-features.h>.
12867 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12868 unconditional.
12869 (__setresuid): Do not declare.
12870 [__ASSUME_32BITUIDS]: Make code unconditional.
12871 [!__ASSUME_32BITUIDS]: Remove conditional code.
12872 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12873 <kernel-features.h>.
12874 [__ASSUME_32BITUIDS]: Make code unconditional.
12875 [!__ASSUME_32BITUIDS]: Remove conditional code.
12876 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12877 <kernel-features.h>.
12878 [__ASSUME_32BITUIDS]: Make code unconditional.
12879 [!__ASSUME_32BITUIDS]: Remove conditional code.
12880
a386f1cc
RH
128812012-05-25 Richard Henderson <rth@twiddle.net>
12882
12883 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12884 dl_hwcap to ifunc resolver.
12885 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12886 elf_ifunc_invoke.
12887 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12888 dl_hwcap to ifunc resolver.
12889 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12890
b6550497
JM
128912012-05-24 Joseph Myers <joseph@codesourcery.com>
12892
12893 [BZ #14153]
12894 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12895 for |x| <= 2**-26, not 2**-57.
12896 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12897 exception.
12898
b0bc23a1
JL
128992012-05-24 Jeff Law <law@redhat.com>
12900
12901 * stdio-common/Makefile (tests): Add bug25.
12902 * stdio-common/bug25.c: New test.
12903
347c92e9
L
129042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 [BZ #13576]
12907 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12908 multiple of MALLOC_ALIGNMENT in size.
12909 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12910
6bcc8b3f
JM
129112012-05-24 Joseph Myers <joseph@codesourcery.com>
12912
12913 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12914 Require >= 256.
12915 (FILENAME_MAX): Use macro-int-constant.
12916 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12917 (_IOFBF): Use macro-int-constant.
12918 (_IOLBF): Likewise.
12919 (_IONBF): Likewise.
12920 (SEEK_CUR): Likewise.
12921 (SEEK_END): Likewise.
12922 (SEEK_SET): Likewise.
12923 (TMP_MAX): Likewise.
12924 (EOF): Use macro-int-constant. Require < 0.
12925 (NULL): Use macro-constant. Require == 0.
12926 (stdin): Require type to be FILE *.
12927 (stdout): Likewise.
12928 (stderr): Likewise.
12929 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12930 macro-int-constant.
12931 (EXIT_SUCCESS): Likewise.
12932 (NULL): Use macro-constant. Require == 0.
12933 (RAND_MAX): Use macro-int-constant.
12934 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12935 [C99-based standards] (strtof): Require function.
12936 [C99-based standards] (strtold): Likewise.
12937 [C99-based standards] (strtoll): Likewise.
12938 [C99-based standards] (strtoull): Likewise.
12939 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12940 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12941 [ISO || ISO99 || ISO11] (math.h): Likewise.
12942 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12943 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12945
d18ea0c5
AS
129462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12947
12948 [BZ #14132]
56d25bb8
AS
12949 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12950 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12951 * intl/dgettext.c (DCGETTEXT): Likewise.
12952 * intl/gettext.c (DCGETTEXT): Likewise.
12953 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12954 * posix/regex_internal.h (gettext): Likewise.
12955 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12956 Remove declaration.
12957 * include/argz.h (__argz_count_internal)
12958 (__argz_stringify_internal): Remove declaration.
12959 (__argz_count, __argz_stringify): Declare hidden proto.
12960 * intl/dcgettext.c: Remove use of INTDEF.
12961 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12962 * string/argz-stringify.c: Likewise.
12963 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12964 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12965 Declare hidden proto.
d18ea0c5
AS
12966 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12967 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12968 Declare hidden proto.
12969 * include/stdio.h (__asprintf_internal): Don't declare.
12970 (__asprintf): Don't define as macro. Declare hidden proto.
12971 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12972 (__fsetlocking): Declare hidden proto.
12973 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12974 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12975 hidden proto.
12976 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12977 (_IO_setlinebuf): Remove use of INTUSE.
12978 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12979 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12980 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12981 Remove declaration.
12982 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12983 (_IO_do_flush): Remove use of INTUSE.
12984 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12985 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12986 (_IO_adjust_column, _IO_least_wmarker)
12987 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12988 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12989 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12990 (_IO_default_doallocate, _IO_wdefault_doallocate)
12991 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12992 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12993 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12994 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12995 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12996 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12997 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12998 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12999 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13000 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13001 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13002 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13003 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13004 proto.
13005 (_IO_flush_all_internal, _IO_adjust_column_internal)
13006 (_IO_default_uflow_internal, _IO_default_finish_internal)
13007 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13008 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13009 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13010 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13011 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13012 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13013 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13014 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13015 (_IO_file_close_internal, _IO_file_close_it_internal)
13016 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13017 (_IO_file_init_internal, _IO_file_attach_internal)
13018 (_IO_file_fopen_internal, _IO_file_read_internal)
13019 (_IO_file_sync_internal, _IO_file_seek_internal)
13020 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13021 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13022 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13023 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13024 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13025 (_IO_list_all_internal, _IO_link_in_internal)
13026 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13027 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13028 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13029 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13030 (_IO_do_write_internal, _IO_padn_internal)
13031 (_IO_getline_info_internal, _IO_getline_internal)
13032 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13033 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13034 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13035 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13036 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13037 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13038 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13039 with libc_hidden_ver, remove use of INTUSE.
13040 * libio/genops.c: Likewise.
13041 * libio/freopen.c: Likewise.
13042 * libio/freopen64.c: Likewise.
13043 * libio/iofclose.c: Likewise.
13044 * libio/iofdopen.c: Likewise.
13045 * libio/iofflush.c: Likewise.
13046 * libio/iofflush_u.c: Likewise.
13047 * libio/iofgets.c: Likewise.
13048 * libio/iofgets_u.c: Likewise.
13049 * libio/iofopen.c: Likewise.
13050 * libio/iofopncook.c: Likewise.
13051 * libio/iofread.c: Likewise.
13052 * libio/iofread_u.c: Likewise.
13053 * libio/ioftell.c: Likewise.
13054 * libio/iofwrite.c: Likewise.
13055 * libio/iogetline.c: Likewise.
13056 * libio/iogets.c: Likewise.
13057 * libio/iogetwline.c: Likewise.
13058 * libio/iopadn.c: Likewise.
13059 * libio/iopopen.c: Likewise.
13060 * libio/ioseekoff.c: Likewise.
13061 * libio/ioseekpos.c: Likewise.
13062 * libio/iosetbuffer.c: Likewise.
13063 * libio/iosetvbuf.c: Likewise.
13064 * libio/ioungetc.c: Likewise.
13065 * libio/ioungetwc.c: Likewise.
13066 * libio/iovdprintf.c: Likewise.
13067 * libio/iovsprintf.c: Likewise.
13068 * libio/iovsscanf.c: Likewise.
13069 * libio/memstream.c: Likewise.
13070 * libio/obprintf.c: Likewise.
13071 * libio/oldfileops.c: Likewise.
13072 * libio/oldiofclose.c: Likewise.
13073 * libio/oldiofdopen.c: Likewise.
13074 * libio/oldiofopen.c: Likewise.
13075 * libio/oldiopopen.c: Likewise.
13076 * libio/oldstdfiles.c: Likewise.
13077 * libio/putc.c: Likewise.
13078 * libio/setbuf.c: Likewise.
13079 * libio/setlinebuf.c: Likewise.
13080 * libio/stdfiles.c: Likewise.
13081 * libio/strops.c: Likewise.
13082 * libio/vasprintf.c: Likewise.
13083 * libio/vscanf.c: Likewise.
13084 * libio/vsnprintf.c: Likewise.
13085 * libio/vswprintf.c: Likewise.
13086 * libio/wfiledoalloc.c: Likewise.
13087 * libio/wfileops.c: Likewise.
13088 * libio/wgenops.c: Likewise.
13089 * libio/wmemstream.c: Likewise.
13090 * libio/wstrops.c: Likewise.
13091 * libio/__fpurge.c: Likewise.
13092 * libio/__fsetlocking.c: Likewise.
13093 * assert/assert.c: Likewise.
13094 * debug/fgets_chk.c: Likewise.
13095 * debug/fgets_u_chk.c: Likewise.
13096 * debug/fread_chk.c: Likewise.
13097 * debug/fread_u_chk.c: Likewise.
13098 * debug/gets_chk.c: Likewise.
13099 * debug/obprintf_chk.c: Likewise.
13100 * debug/vasprintf_chk.c: Likewise.
13101 * debug/vdprintf_chk.c: Likewise.
13102 * debug/vsnprintf_chk.c: Likewise.
13103 * debug/vsprintf_chk.c: Likewise.
13104 * malloc/mtrace.c: Likewise.
13105 * misc/error.c: Likewise.
13106 * misc/syslog.c: Likewise.
13107 * stdio-common/asprintf.c: Likewise.
13108 * stdio-common/fxprintf.c: Likewise.
13109 * stdio-common/getw.c: Likewise.
13110 * stdio-common/isoc99_fscanf.c: Likewise.
13111 * stdio-common/isoc99_scanf.c: Likewise.
13112 * stdio-common/isoc99_vfscanf.c: Likewise.
13113 * stdio-common/isoc99_vscanf.c: Likewise.
13114 * stdio-common/isoc99_vsscanf.c: Likewise.
13115 * stdio-common/printf-prs.c: Likewise.
13116 * stdio-common/printf_fp.c: Likewise.
13117 * stdio-common/printf_fphex.c: Likewise.
13118 * stdio-common/printf_size.c: Likewise.
13119 * stdio-common/putw.c: Likewise.
13120 * stdio-common/scanf.c: Likewise.
13121 * stdio-common/sprintf.c: Likewise.
13122 * stdio-common/tmpfile.c: Likewise.
13123 * stdio-common/vfprintf.c: Likewise.
13124 * stdio-common/vfscanf.c: Likewise.
13125 * stdlib/strfmon_l.c: Likewise.
13126 * sunrpc/openchild.c: Likewise.
13127 * sunrpc/xdr_stdio.c: Likewise.
13128 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13129 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13130
d6c33fda
RM
131312012-05-24 Roland McGrath <roland@hack.frob.com>
13132
c1487492
RM
13133 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13134
13135 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13136 in the third column, to generate for the shared library an IFUNC
13137 that uses _dl_vdso_vsym.
13138 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13139 * Makeconfig (object-suffixes-noshared): New variable.
13140
13141 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13142 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13143 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13144 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13145
d6c33fda
RM
13146 [BZ #14132]
13147 * include/sys/time.h (__gettimeofday): Remove macro.
13148 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13149 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13150 Remove INTDEF.
13151 (__gettimeofday): Add libc_hidden_def.
13152 (gettimeofday): Add libc_hidden_weak.
13153 * sysdeps/mach/gettimeofday.c: Likewise.
13154 * sysdeps/posix/gettimeofday.c: Likewise.
13155 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13156 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13158 (__gettimeofday_internal): Remove strong_alias.
13159 (__gettimeofday): Add libc_hidden_def.
13160 (gettimeofday): Add libc_hidden_weak.
13161 * sysdeps/unix/syscalls.list (gettimeofday):
13162 Remove __gettimeofday_internal alias.
13163
b5a2bbe6
L
131642012-05-24 Daniel Jacobowitz <drow@false.org>
13165 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 [BZ #12495]
13168 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13169 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13170 (largebin_index_32_big): New.
13171 (largebin_index): Use it for 16-byte alignment.
13172 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13173 correction with front_misalign.
13174
cfba4fda
L
131752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13176
7f907421
L
13177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13179 Likewise.
13180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13181 Likewise.
13182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13183 Likewise.
13184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13185 Likewise.
13186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13187 Likewise.
13188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13189 Likewise.
13190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13191 Likewise.
13192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13193 Likewise.
13194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13197 Likewise.
13198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13199 Likewise.
13200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13201 Likewise.
13202
cfba4fda
L
13203 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13204 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13205
80bad0cc
JM
132062012-05-24 Joseph Myers <joseph@codesourcery.com>
13207
7a25eb06
JM
13208 [BZ #10846]
13209 [BZ #14036]
13210 * math/libm-test.inc (exp_test): Add test from bug 14036.
13211 (pow_test): Add test from bug 10846.
13212
795405f9
JM
13213 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13214 and other flags.
13215 (special_function): Do not include flags in test name.
13216 (parse_args): Likewise.
13217 * sysdeps/i386/fpu/libm-test-ulps: Update.
13218 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13219 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13220 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222
80bad0cc
JM
13223 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13224 exceptions.
13225 * math/libm-test.inc ("Philosophy"): Update comment about
13226 exception testing.
13227 (UNDERFLOW_EXCEPTION): New macro.
13228 (UNDERFLOW_EXCEPTION_OK): Likewise.
13229 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13230 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13231 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13232 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13233 (INVALID_EXCEPTION_OK): Update value.
13234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13235 (OVERFLOW_EXCEPTION_OK): Likewise.
13236 (IGNORE_ZERO_INF_SIGN): Likewise.
13237 (test_exceptions): Handle underflow exceptions.
13238 (acos_test): Update for underflow exception expectations.
13239 (cexp_test): Likewise.
13240 (clog_test): Likewise.
13241 (clog10_test): Likewise.
13242 (csqrt_test): Likewise.
13243 (ctan_test): Likewise.
13244 (ctanh_test): Likewise.
13245 (exp_test): Likewise.
13246 (exp10_test): Likewise.
13247 (exp2_test): Likewise.
13248 (expm1_test): Likewise.
13249 (fma_test): Likewise.
13250 (j0_test): Likewise.
13251 (jn_test): Likewise.
13252 (nexttoward_test): Likewise.
13253 (pow_test): Likewise.
13254 (scalbn_test): Likewise.
13255 (scalbln_test): Likewise.
13256 (tan_test): Likewise.
13257 (y1_test): Likewise.
13258 * sysdeps/i386/fpu/libm-test-ulps: Update.
13259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13260
9e0e3d0b
DM
132612012-05-23 David S. Miller <davem@davemloft.net>
13262
13263 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13264 (__libc_sigaction): Remove unused local variables.
13265
ccd0a08f
L
132662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13269
62bdf9a6
PE
132702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13271
f8591f80
PE
13272 mktime: avoid signed integer overflow
13273 * time/mktime.c (__mktime_internal): Do not mishandle the case
13274 where diff == INT_MIN.
13275
94c7d826
PE
13276 mktime: simplify computation of average
13277 * time/mktime.c (ranged_convert): Use new time_t_avg function
13278 instead of rolling our own (probably-slower) code.
13279
ce73d683
PE
13280 mktime: do not assume signed right shift propagates sign bit
13281 * time/mktime.c (isdst_differ): New static function.
13282 (__mktime_internal): No need to normalize tm_isdst now.
13283 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13284 tm_isdst values.
13285
72a22e59
PE
13286 mktime: merge another wrapv change from gnulib
13287 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13288 from some compilers.
13289
68605433
PE
13290 mktime: remove incorrect attempt at unusual arithmetics
13291 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13292 The code didn't really work on such machines anyway.
13293 (TYPE_MINIMUM): Assume two's complement.
13294 (twos_complement_arithmetic): Verify that long_int and time_t
13295 are two's complement (or unsigned, in the latter case).
13296
03cf7fe3
PE
13297 mktime: check signed shifts on long_int and time_t, too
13298 * time/mktime.c (SHR): Check that shifts work as desired
13299 on the types long_int and time_t too, as SHR is used on
13300 such types.
13301
f04dfbc2
PE
13302 mktime: do not assume 'long' is wide enough
13303 * time/mktime.c (verify): Move decl up.
13304 (long_int): New type.
13305 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13306 to remove assumption in the code that 'long' is wide enough to
13307 store year values. This assumption is not true on x32 and on
13308 some non-glibc platforms.
13309
62bdf9a6
PE
13310 mktime: merge wrapv change from gnulib
13311 * time/mktime.c (WRAPV): New macro.
13312 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13313 (guess_time_tm, __mktime_internal): Do not assume that signed
13314 integer overflow wraps around; modern compilers generate code
13315 where this assumption is no longer valid.
13316
5e292e4f
L
133172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13318
13319 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13320 Replace "jmp L(pseudo_end)" with "ret".
13321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13322 Likewise.
13323
8caf8c87
AJ
133242012-05-23 Andreas Jaeger <aj@suse.de>
13325
13326 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13327 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13328
1a09dc56
AJ
133292012-05-23 Andreas Jaeger <aj@suse.de>
13330 Maximilian Attems <max@stro.at>
13331
13332 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13333 New macros.
13334
1c87aba0
L
133352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13338 code so that pseudo_end is just ret and the stack pointer is
13339 correct also for static library in error case.
13340
40e45bd5
JM
133412012-05-23 Joseph Myers <joseph@codesourcery.com>
13342
c2670533
JM
13343 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13344 move to syscalls.list.
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13349
40e45bd5
JM
13350 * manual/install.texi (Running make install): Do not mention Linux
13351 kernel version for which pt_chown is not needed.
13352 (Linux): Do not mention problems with nscd with 2.0 kernels.
13353 * INSTALL: Regenerated.
13354
be08eda5
AJ
133552012-05-23 Andreas Jaeger <aj@suse.de>
13356
13357 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13358 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13359 macro.
13360 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13362 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13364 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13366 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13367 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13369 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13370 * sysdeps/unix/sysv/linux/bits/in.h
13371 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13372
a6a056bb
RM
133732012-05-22 Roland McGrath <roland@hack.frob.com>
13374
13375 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13376 (PREPARE_VERSION): Just use assert instead, it will be elided
13377 under [NDEBUG] anyway.
13378
c9009328
L
133792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 * sysdeps/unix/sysv/linux/Makefile: Include
13382 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13383 (sysdep_routines): Remove sysctl.
c9009328
L
13384 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13385 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13386 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13387 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13388 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13389
73338355
AJ
133902012-05-22 Andreas Jaeger <aj@suse.de>
13391
13392 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13393 that pseudo_end is just ret and the stack pointer is correct also
13394 for static library in error case.
13395
d44638b0
PP
133962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13397
13398 [BZ #14122]
13399 * nss/nsswitch.c (defconfig_entries): New variable.
13400 (__nss_database_lookup): Don't leak defconfig entries.
13401 (nss_parse_service_list): Don't leak on error paths.
13402 (free_database_entries): New function.
13403 (free_defconfig): New function.
13404 (free_mem): Move common code to free_database_entries.
13405
31a39bd8
L
134062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13407
da0331a8
L
13408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13409 Add arch_prctl.
13410 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13411
31a39bd8
L
13412 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13413 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13415 New macro.
13416 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13417 (INTERNAL_SYSCALL_TYPES): Likewise.
13418 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13419 (LOAD_REGS_TYPES_[1-6]): Likewise.
13420 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13421 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13422
45470df3
AZ
134232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13424
13425 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13426 copysignl for GLIBC_2_0.
13427 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13428 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13430 logbl for GLIBC_2_0.
13431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13432 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13433
98a61bcb
L
134342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13435
a4f6e481
L
13436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13437 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13438
f63d5db6
L
13439 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13440 Use "neg %eax".
13441
98a61bcb
L
13442 * time/mktime.c: Update copyright years.
13443
95770f14
PE
134442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13445
6226efbd
PE
13446 mktime: merge comment-quoting-style change from gnulib
13447 * time/mktime.c: Quote 'like this' in comments.
13448 The GNU coding standards suggest that we no longer quote `like this',
13449 as "`" and "'" are typically rendered asymmetrically nowadays.
13450 The typical gnulib style is to quote 'like this' when quoting
13451 code, and "like this" when quoting English.
13452
b99e4f78
PE
13453 * time/mktime.c (compile-command): Add "-I.".
13454
643e01e6
PE
13455 mktime: merge mktime-internal.h change from gnulib
13456 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13457
2554247d
PE
13458 mktime: merge time_r change from gnulib
13459 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13460
826dd0ab
PE
13461 mktime: merge DEBUG change from gnulib
13462 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13463 case system <time.h> has a #define.
13464
bd83aabe
PE
13465 mktime: merge <sys/types.h> change from gnulib
13466 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13467 since <time.t> is now guaranteed to define time_t.
13468
95770f14
PE
13469 mktime: merge HAVE_CONFIG_H change from gnulib
13470 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13471
5e1a27a9
L
134722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13473
0e44a77e
L
13474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13475 Use "neg %eax".
13476
5e1a27a9
L
13477 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13478 __rlim_t cast.
13479 (struct rusage): Use anonymous union to pad each field to
13480 __syscall_slong_t.
13481
46259bec
DM
134822012-05-21 David S. Miller <davem@davemloft.net>
13483
13484 * Makefules (o-iterator): Remove .s cases.
13485 (compile-command.s): Delete.
13486 (COMPILE.s): Delete.
13487 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13488
59f0c22e
JM
134892012-05-21 Joseph Myers <joseph@codesourcery.com>
13490
13491 * configure.in (libc_cv_predef_stack_protector): Only consider
13492 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13493 * configure: Regenerated.
13494
20c07380
L
134952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13496
bbb3154b
L
13497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13498 New macro. Use R*LP on int and pointer.
13499 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13500 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13501 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13502 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13503
20c07380
L
13504 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13505 [__WORDSIZE_TIME64_COMPAT32] instead of
13506 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13507 (struct utmp): Likewise.
13508 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13509 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13510 Renamed to ...
13511 (__WORDSIZE_TIME64_COMPAT32): This.
13512 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13513 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13514 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13515 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13516 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13517 (__WORDSIZE_TIME64_COMPAT32): New macro.
13518
d8d1017e
AJ
135192012-05-21 Andreas Jaeger <aj@suse.de>
13520
13521 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13522 only if [SHARED]. Add prototype for __wcschr_ia32.
13523
6c7fb145
RM
135242012-05-21 Roland McGrath <roland@hack.frob.com>
13525
13526 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13527 of %rbp unmolested in the jmp_buf while mangling the low bits.
13528 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13529 unmolested high bits of %rbp while demangling the low bits.
13530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13531
66274218
AJ
135322012-05-21 Andreas Jaeger <aj@suse.de>
13533
07c58f8f
AJ
13534 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13535 * sunrpc/svc_simple.c: Use it for registerrpc.
13536 * sunrpc/xcrypt.c: Use it for passwd2des.
13537
66274218
AJ
13538 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13539
61f65140
L
135402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13541
13542 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13543 Don't define if [__SYSCALL_WORDSIZE != 32].
13544 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13545 New macro.
13546
5fefb436
AJ
135472012-05-21 Bruno Haible <bruno@clisp.org>
13548 Andreas Jaeger <aj@suse.de>
13549
13550 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13551 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13552 inptr and inend for must_buffer_ch.
13553 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13554 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13555 * stdio-common/Makefile (tests): Remove bug15.
13556 (bug15-ENV): Remove macro.
13557 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13558 anymore.
13559
d8e272ab
AJ
135602012-05-19 Andreas Jaeger <aj@suse.de>
13561 Roland McGrath <roland@hack.frob.com>
13562
13563 * manual/contrib.texi: Completely rewritten. It contains now an
13564 alphabetical list of contributors and their contributions.
13565
4a56a162
RH
135662012-05-21 Richard Henderson <rth@twiddle.net>
13567
13568 * misc/getauxval.c (__getauxval): Use unsigned long int.
13569 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13570 (getauxval): Use unsigned long int.
13571
d024d23c
L
135722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13573
13574 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13575
cbc00a03
RM
135762012-05-21 Roland McGrath <roland@hack.frob.com>
13577
13578 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13579 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13580 __alignof__ (long double).
13581
478143fa
AZ
135822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13583
13584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13585
c7683a6d
RH
135862012-05-20 Richard Henderson <rth@twiddle.net>
13587
13588 * misc/getauxval.c: New file.
13589 * misc/sys/auxv.h: New file.
13590 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13591 (routines): Add getauxval.
13592 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13593 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13594 * elf/dl-sysdep.c (_dl_auxv): Remove.
13595 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13596 * elf/dl-support.c (_dl_auxv): New variable.
13597 (_dl_aux_init): Initialize it.
13598 * manual/startup.texi (Auxiliary Vector): New node.
13599 * sysdeps/generic/bits/hwcap.h: New file.
13600 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13601 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13602 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13603 * sysdeps/sparc/sysdep.h: ... here. Include it.
13604 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13605 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13607 Update.
c7683a6d
RH
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13611 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13616
a6f1845d
AZ
136172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13618
13619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13620
cbcbe830
DM
136212012-05-19 David S. Miller <davem@davemloft.net>
13622
13623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13624
e0b16cc2
JM
136252012-05-19 Joseph Myers <joseph@codesourcery.com>
13626
13627 [BZ #14123]
13628 * math/s_ccosh.c: Include <float.h>
13629 (__ccosh): Avoid internal overflow calculating sinh and cosh
13630 values before multiplying by sin and cos values.
13631 * math/s_ccoshf.c: Likewise.
13632 * math/s_ccoshl.c: Likewise.
13633 * math/s_csin.c: Likewise.
13634 * math/s_csinf.c: Likewise.
13635 * math/s_csinl.c: Likewise.
13636 * math/s_csinh.c: Likewise.
13637 * math/s_csinhf.c: Likewise.
13638 * math/s_csinhl.c: Likewise.
13639 * math/libm-test.inc (ccos_test): Add more tests.
13640 (ccosh_test): Likewise.
13641 (csin_test): Likewise.
13642 (csinh_test): Likewise.
13643 * sysdeps/i386/fpu/libm-test-ulps: Update.
13644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13645
6ad13e08
L
136462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13647
f66f0ce8
L
13648 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13649 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13650
6ad13e08
L
13651 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13652
b1d072a7
JM
136532012-05-19 Joseph Myers <joseph@codesourcery.com>
13654
13655 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13656 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13657 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13658 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13659 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13660 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13661 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13662 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13663 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13664 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13665 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13666 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13667 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13668 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13669 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13670 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13671 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13672 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13673 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13674 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13675 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13676 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13677 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13678 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13679 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13680 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13681 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13682 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13683 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13684 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13685 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13686
9eae47cb
AJ
136872012-05-18 Andreas Jaeger <aj@suse.de>
13688
13689 * csu/.gitignore: Delete.
13690
bb07f69f
L
136912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13692
13693 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13694 (timex): Use __syscall_slong_t.
13695
e6bdb741
AJ
136962012-05-18 Andreas Jaeger <aj@suse.de>
13697 Carlos O'Donell <carlos_odonell@mentor.com>
13698
13699 * manual/install.texi (Configuring and compiling): Update
13700 description about files modified in the source directory.
d6c33fda 13701 * INSTALL: Regenerated.
e6bdb741 13702
1b74487e
L
137032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13704
13705 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13706 value. Use "or" to set return value to -1.
13707 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13708 negate return value.
13709
a88b64b9
TMQMF
137102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13711
13712 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13713 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13714 failure if the compiler has Graphite support disabled.
13715 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13716 Likewise.
13717 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13718 CFLAGS-memmove.c): Likewise.
13719 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13720 Likewise.
13721
3707636e
L
137222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13723
610b8622
L
13724 * sysdeps/x86_64/x32/_itoa.h: New file.
13725
7cd195df
L
13726 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13727 getdents system call only if kernel and user dirents have the
13728 same d_ino and d_off.
13729
94b07d20
L
13730 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13731 LLONG_MAX != LONG_MAX.
13732 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13733 (_fitoa_word): Likewise.
13734
18298070
L
13735 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13736 years.
13737 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13738 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13739 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13740
553c7ea4
L
13741 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13742 include <bits/wordsize.h>. Check __x86_64__ instead of
13743 __WORDSIZE.
13744 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13745 if __x86_64__ is defined. Use anonymous union on fpstate.
13746
3707636e
L
13747 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13748 anonymous union.
13749
b53ef01a
AS
137502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13751
37fb1dc0
AS
13752 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13753 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13754 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13755 Refer to _rtld_local_ro instead of _rtld_global_ro.
13756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13757 Likewise.
13758 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13759 Likewise.
13760 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13761 Likewise.
13762 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13763 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13764 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13765
b53ef01a
AS
13766 * sysdeps/powerpc/powerpc32/dl-machine.c
13767 (__elf_machine_runtime_setup) [PROF]: Don't reference
13768 _dl_prof_resolve.
13769
7a185db2
AJ
137702012-05-18 Andreas Jaeger <aj@suse.de>
13771
13772 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13773 function only available for GCCs before 3.4 since GCC 3.4
13774 introduced a builtin.
13775 (lrint): Likewise.
13776 (llrintf): Likewise.
13777 (llrint): Likewise.
13778 (fmaxf): Likewise.
13779 (fmax): Likewise.
13780 (fminf): Likewise.
13781 (fmin): Likewise.
13782 (rint): Likewise.
13783 (rintf): Likewise.
13784 (nearbyint): Likewise.
13785 (nearbyintf): Likewise.
13786 (ceil): Likewise.
13787 (ceilf): Likewise.
13788 (floor): Likewise.
13789 (floorf): Likewise.
13790
3e5aef87
L
137912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13792
428bd707
L
13793 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13794 on both fields and cast pointer to __syscall_ulong_t.
13795
3e5aef87
L
13796 * bits/types.h (__fsword_t): New type.
13797 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13798 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13799 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13800 (__FSWORD_T_TYPE): Likewise.
13801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13802 (__FSWORD_T_TYPE): Likewise.
13803 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13804 (__FSWORD_T_TYPE): Likewise.
13805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13806 (__FSWORD_T_TYPE): Likewise.
13807 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13808 __SWORD_TYPE with __fsword_t.
13809 (statfs64): Likewise.
13810
1ba7c3dc
DM
138112012-05-17 David S. Miller <davem@davemloft.net>
13812
13813 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13814
59910343
AJ
138152012-05-17 Andreas Jaeger <aj@suse.de>
13816
13817 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13818 warning.
13819
2e4c1e9e
L
138202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13823
de7f5ce7
AJ
138242012-05-17 Andreas Jaeger <aj@suse.de>
13825
13826 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13827 when it is used.
13828
286abc3d
CM
138292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13830
13831 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13832
477cc68e
L
138332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13834
13835 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13836 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13837
1a0994f5
CD
138382012-05-17 Andreas Jaeger <aj@suse.de>
13839 Carlos O'Donell <carlos_odonell@mentor.com>
13840
13841 [BZ #14059]
13842 * sysdeps/x86_64/multiarch/init-arch.h
13843 (bit_YMM_Usable): Rename to...
13844 (bit_AVX_Usable): ... this.
13845 (bit_FMA4_Usable): New macro.
13846 (bit_XMM_state): New macro.
13847 (bit_YMM_state): New macro.
13848 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13849 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13850 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13851 (CPUID_OSXSAVE): New macro.
13852 (CPUID_AVX): New macro.
13853 (CPUID_FMA4): New macro.
13854 (index_YMM_Usable): Rename to...
13855 (index_AVX_Usable): ... this.
13856 (HAS_AVX): Use HAS_ARCH_FEATURE.
13857 (HAS_FMA4): Likewise.
13858 (HAS_YMM_USABLE): Remove.
13859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13860 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13861 are present.
13862 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13863 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13864 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13865 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13866 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13867
0af797de
CM
138682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13869
13870 * math/libm-test.c: Support platforms without multiple rounding modes.
13871 * math/bug-nextafter.c: Support platforms without FP exceptions.
13872 * math/bug-nexttoward.c: Likewise.
13873 * math/test-fenv.c: Likewise.
13874 * math/test-misc.c: Likewise.
13875 * stdlib/bug-getcontext.c: Likewise.
13876
e39745ff
AJ
138772012-05-17 Andreas Jaeger <aj@suse.de>
13878
13879 * manual/examples/search.c (critter_cmp): Change signature to
13880 avoid warnings.
13881 * manual/string.texi (Collation Functions): Likewise.
13882
48970aba
L
138832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13884
13885 * bits/types.h: Fold copyright years.
13886 * bits/typesizes.h: Likewise.
13887 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13888 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13891 * time/time.h: Likewise.
13892
bedee953
PP
138932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13894
13895 [BZ #208]
13896 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13897 in instead of returning them. Return void.
13898 (__libc_mallinfo): Accumulate over all arenas.
13899 (__malloc_stats): Adjust for change in int_mallinfo interface.
13900
61653dfb
RM
139012012-05-16 Roland McGrath <roland@hack.frob.com>
13902
30b99d79
RM
13903 [BZ #10375]
13904 * configure.in (NM): Add AC_CHECK_TOOL for it.
13905 (libc_extra_cflags): New substituted variable.
13906 Check for -fstack-protector being used implicitly.
13907 * configure: Regenerated.
13908 * config.make.in (config-extra-cflags): New variable,
13909 gets @libc_extra_cflags@.
13910 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13911
61653dfb
RM
13912 [BZ #10375]
13913 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13914 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13915 * configure: Regenerated.
13916 * config.make.in (CPPUNDEFS): New substituted variable.
13917 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13918 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13919 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13920
661768bb
L
139212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13922
13923 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13924 (mq_attr): Use __syscall_slong_t.
13925
d4261567
L
139262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13927
13928 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13929 Check __x86_64__ instead of __WORDSIZE.
13930 (_STAT_VER_LINUX): Likewise.
13931 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13932 __syscall_ulong_t and __syscall_slong_t.
13933 (stat64): Likewise.
13934
cf3ff365
L
139352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13936
13937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13938
76cf3e4d
L
139392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13940
13941 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13942
a637753a
L
139432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13944
13945 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13946 __syscall_ulong_t.
13947
d5e05119
L
13948 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13949 include <bits/wordsize.h>. Check __x86_64__ instead of
13950 __WORDSIZE.
13951 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13952 defined.
13953 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13954
f62ee380
L
13955 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13956 include <bits/wordsize.h>. Check __x86_64__ instead of
13957 __WORDSIZE.
13958 (user_regs_struct): Use "__extension__ unsigned long long"
13959 instead of "unsigned long" if __x86_64__ is defined.
13960 (user): Likewise. Pad after pointer field if __ILP32__ is
13961 defined.
13962
4e124ced
JM
139632012-05-16 Joseph Myers <joseph@codesourcery.com>
13964
6a3951a0
JM
13965 * configure.in (makeinfo): Require version 4.5 or later. Allow
13966 versions 5 to 9.
13967 * configure: Regenerated.
13968 * manual/install.texi (texinfo): Increase version requirement to
13969 4.5 or later.
13970 * INSTALL: Regenerated.
13971
4e124ced
JM
13972 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13973
953ca31a
L
139742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13975
13976 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13977
617aca05
L
13978 * sysdeps/x86_64/x32/ffs.c: New file.
13979
5762f7ae
L
13980 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13981 __syscall_ulong_t.
13982 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13983 defined. Use __syscall_ulong_t.
13984 (shminfo): Use __syscall_ulong_t.
13985 (shm_info): Likewise.
13986
a26b6856
L
13987 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13988 __syscall_ulong_t.
13989
cb2b9ef7
L
13990 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13991 <bits/wordsize.h>.
13992 (msgqnum_t): Use __syscall_ulong_t.
13993 (msglen_t): Likewise.
13994 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13995 __syscall_ulong_t.
13996
34683bb0
L
13997 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13998 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13999
84a68786
L
14000 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14001
48baa5f1
L
14002 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14003 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14004
180be88b
L
14005 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14006 __syscall_slong_t.
14007
5e90c8ad
L
14008 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14009 include <bits/wordsize.h>. Check __x86_64__ instead of
14010 __WORDSIZE.
14011
23dfb58b
L
14012 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14013 "unsigned long long int" if __x86_64__ is defined.
14014 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14015
ce5d54b0
L
14016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14018 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14019
13dc9eac
L
14020 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14021 <stdint.h>.
14022 (GET_PC): Cast to uintptr_t first.
14023 (GET_FRAME): Likewise.
14024 (GET_STACK): Likewise.
14025
a7895d15
L
14026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14027 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14028 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14030 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14031 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14032 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14033 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14034 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14035 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14036 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14037 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14039 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14042 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14043 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14044 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14045 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14049 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14050 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14051 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14054 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14055
656416c9
AS
140562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14057
5bd66283
AS
14058 * Makerules (+depfiles): Also collect depfiles from .oS in
14059 $(extra-objs).
14060 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14061 .oS, $(libnldbl-routines)).
14062
656416c9
AS
14063 * Makerules (native-compile-mkdep-flags): Define.
14064 * sunrpc/Makefile (extra-objs): Add $(addprefix
14065 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14066 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14067 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14068 calling $(make-target-directory).
14069
a46f2169
L
140702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14071
14072 * bits/types.h (__snseconds_t): Removed.
14073 * time/time.h (struct timespec): Replace __snseconds_t with
14074 __syscall_slong_t.
14075 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14076 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14077 Likewise.
14078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14079 (__SNSECONDS_T_TYPE): Likewise.
14080 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14081 (__SNSECONDS_T_TYPE): Likewise.
14082 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14083 (__SNSECONDS_T_TYPE): Likewise.
14084
6af6528b
L
140852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14086
14087 * sysdeps/mach/hurd/bits/typesizes.h
14088 (__SYSCALL_SLONG_TYPE): New macro.
14089 (__SYSCALL_ULONG_TYPE): Likewise.
14090
de986b56
L
140912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14092
14093 * bits/types.h (__syscall_slong_t): New type.
14094 (__syscall_ulong_t): Likewise.
14095
14096 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14097 (__SYSCALL_ULONG_TYPE): Likewise.
14098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14099 (__SYSCALL_SLONG_TYPE): Likewise.
14100 (__SYSCALL_ULONG_TYPE): Likewise.
14101 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14102 (__SYSCALL_SLONG_TYPE): Likewise.
14103 (__SYSCALL_ULONG_TYPE): Likewise.
14104 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14105 (__SYSCALL_SLONG_TYPE): Likewise.
14106 (__SYSCALL_ULONG_TYPE): Likewise.
14107
85736dc7
L
141082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14109
14110 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14111 Add sigaltstack-offsets.sym.
14112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14113 <sigaltstack-offsets.h>.
14114 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14115 longjmp_msg pointer.
14116 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14117 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14118 signal stack.
14119 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14120
cc03b296
JM
141212012-05-15 Joseph Myers <joseph@codesourcery.com>
14122
a9538892
JM
14123 * elf/stackguard-macros.h: Remove file.
14124 * sysdeps/generic/stackguard-macros.h: New file.
14125 * sysdeps/i386/stackguard-macros.h: Likewise.
14126 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14127 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14128 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14129 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14130 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14131 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14132 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14133 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14134 <elf/stackguard-macros.h>.
14135
cc03b296
JM
14136 [BZ #14109]
14137 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14138 __aligned__ in attribute.
14139 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14140 (gregset_t): Likewise.
14141
93171016
L
141422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14143
14144 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14145 * sysdeps/x86_64/64/Implies-after: Here. New file.
14146 * sysdeps/x86_64/x32/Implies-after: New file.
14147
d86813a0
L
141482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14149
14150 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14151 and access return value for _dl_profile_fixup. Use R10_LP to
14152 load frame size.
14153
2953ec75
L
141542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14155
14156 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14157
3b550e9e
L
141582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14159
14160 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14161 * sysdeps/x86_64/x32/sysdep.h: New file.
14162
eda41706
L
141632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14166 * sysdeps/x86_64/setjmp.S: Likewise.
14167
9ea01d93
AZ
141682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14169
14170 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14172 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14173 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14174 remove unused global constant.
14175
02a91938
CM
141762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14177
14178 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14179 include of <not-cancel.h>.
14180
6540185f
RM
141812012-05-15 Roland McGrath <roland@hack.frob.com>
14182
14183 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14184
509072a0
AJ
141852012-05-15 Jeff Law <law@redhat.com>
14186 Andreas Jaeger <aj@suse.de>
14187
14188 [BZ #13594]
14189 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14190 out from...
14191 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14192 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14193 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14194 code changing __hst_map_handle.map.
14195
ba75122d
RM
141962012-05-15 Roland McGrath <roland@hack.frob.com>
14197
14198 * configure.in (sysnames): Look for Implies-before and Implies-after
14199 files.
14200 * configure: Regenerated.
14201
890d8bd8
L
142022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14203
14204 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14205 8-byte data alignment with LP_SIZE alignment.
14206
f6ee6623
L
142072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14208
14209 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14210 into R10_LP.
14211
ea2626f6
L
142122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14215
085f715e
L
142162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14219 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14221 Likewise.
14222 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14223
be8498fc
L
142242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14225
14226 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14227 (stackinfo_sub_sp): Likewise.
14228
70bc83b9
L
142292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14230
14231 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14232 RAX_LP.
14233
9bc0b730
L
142342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14237 into R*_LP.
14238
6d2850e7
L
142392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14240
14241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14242 sizes into R*_LP.
14243
3cb84561
L
142442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14245
14246 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14247
54e2ed81
L
142482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14251 into R11_LP and load __x86_64_shared_cache_size_half into
14252 R8_LP.
14253
8a17f349
L
142542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14257 R8_LP.
14258
777b1eea
AZ
142592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14260
14261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14262 logb for POWER7.
14263 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14264 logbf for POWER7.
14265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14266 logbl for POWER7.
14267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14268 powerpc32/power7/fpu/s_logb.c via #include.
14269 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14270 powerpc32/power7/fpu/s_logbf.c via #include.
14271 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14272 powerpc32/power7/fpu/s_logbl.c via #include.
14273
d20d4ac2
JM
142742012-05-15 Joseph Myers <joseph@codesourcery.com>
14275
14276 * README.libm: Remove file.
14277
6cdef1ab
L
142782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14279
14280 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14281 count for x32. Use R*_LP and omit operand-size suffix.
14282
0b254d8f
L
142832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14284
14285 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14286 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14287 * sysdeps/x86_64/x32/shlib-versions: New file.
14288
ceb809dc
RM
142892012-05-14 Roland McGrath <roland@hack.frob.com>
14290
14291 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14292 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14293 Use _dl_fatal_printf instead.
14294
37f1abd4
JM
142952012-05-14 Joseph Myers <joseph@codesourcery.com>
14296
14297 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14298 set if not set by the user. Do not allow for being unset.
14299 * sysdeps/unix/sysv/linux/configure: Regenerated.
14300
11de3a33
L
143012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14302
14303 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14304 the `q' suffix from lea and replace .quad with ASM_ADDR.
14305
e02f153a
L
143062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14307
14308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14309 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14310 instead of $17.
14311 (PTR_DEMANGLE): Likewise.
14312
520ae0fd
L
143132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14314
14315 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14316 (LP_OP): Likewise.
14317 (ASM_ADDR): Likewise.
14318 (RAX_LP): Likewise.
14319 (RBP_LP): Likewise.
14320 (RBX_LP): Likewise.
14321 (RCX_LP): Likewise.
14322 (RDI_LP): Likewise.
14323 (RSI_LP): Likewise.
14324 (RSP_LP): Likewise.
14325 (R8_LP): Likewise.
14326 (R9_LP): Likewise.
14327 (R10_LP): Likewise.
14328 (R10_LP): Likewise.
14329 (R11_LP): Likewise.
14330 (R12_LP): Likewise.
14331 (R13_LP): Likewise.
14332 (R14_LP): Likewise.
14333 (R15_LP): Likewise.
14334
b985be81
L
143352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 * sysdeps/x86_64/x32/dl-machine.h: New file.
14338
6a4888ff
AJ
143392012-05-14 Andreas Jaeger <aj@suse.de>
14340
14341 * manual/Makefile (subdir): Remove export of subdir.
14342 (all): Remove target.
14343 (.PHONY): Remove all from list.
14344 (mkinstalldirs): Remove.
14345 (.PHONY): Remove installdirs from list.
14346 ($(inst_infodir)/libc.info): Use make-target-directory.
14347 (installdirs): Remove.
14348 (subdir_%): Remove.
14349 (glibc-targets): Remove.
14350 (lib): Remove.
14351 (stubs): Remove.
14352 ($(objpfx)stubs ../po/manual.pot): Remove.
14353 ($(objpfx)stamp%): Remove.
14354 (make-target-directory): Remove.
14355 (subdir_install): Remove.
14356 (routines): Remove.
14357 (aux): Remove.
14358 (sources): Remove.
14359 (objects): Remove.
14360 (headers): Remove.
14361
14362 [BZ #13750]
14363 * manual/.gitignore: Remove, it's not needed anymore.
14364 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14365 all files in it.
14366 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14367 directory.
14368 (texis): Renamed to $(objpfx)texis.
14369 (texis-path): New, contains path to generated files.
14370 (chapters.%): Use texis-path for complete path, add extra argument
14371 libc-texinfo.sh.
14372 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14373 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14374 (summary,texi, stamp-summary): Use complete path of
14375 files. Generate files in build dir.
14376 (dir-add.texi): Build in build dir.
14377 (libm-err.texi,stamp-libm-err): Likewise.
14378 (version.texi, stamp-version): Likewise.
14379 (.%c.texi): Likewise.
14380 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14381 (mostlyclean): Remove target.
14382 (realclean): Remove target.
14383 (generated): Add new variable with contents from mostlyclean and
14384 realclean, remove entries duplicated in common-mostlyclean, add
14385 stamp-libm-err and stamp-version.
14386 (generated-dirs): Add libc directory.
14387 ($(inst_infodir)/libc.info): Install files from build dir.
14388
14389 * manual/install.texi (Configuring and compiling): Adjust since
14390 the info files are not part of the tar ball anymore.
14391
7ac77294
AJ
143922012-05-14 Andreas Jaeger <aj@suse.de>
14393
14394 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14395 variable.
14396
ffb7875d
JM
143972012-05-14 Joseph Myers <joseph@codesourcery.com>
14398
14399 [BZ #13717]
14400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14401 to 2.2.0 where earlier.
14402 * sysdeps/unix/sysv/linux/configure: Regenerated.
14403 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14404 Remove conditional code.
14405 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14406 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14407 Remove conditional code.
14408 [!__NR_lchown]: Likewise.
14409 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14410 [__NR_lchown]: Likewise.
14411 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14412 comment referencing __ASSUME_LCHOWN_SYSCALL.
14413 * sysdeps/unix/sysv/linux/i386/sigaction.c
14414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14416 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14417 Remove conditional code.
14418 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14419 (__protocol_available): Remove #if 0 code.
14420 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14421 conditional code.
14422 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14423 * sysdeps/unix/sysv/linux/kernel-features.h
14424 (__ASSUME_GETCWD_SYSCALL): Don't define.
14425 (__ASSUME_REALTIME_SIGNALS): Likewise.
14426 (__ASSUME_PREAD_SYSCALL): Likewise.
14427 (__ASSUME_PWRITE_SYSCALL): Likewise.
14428 (__ASSUME_POLL_SYSCALL): Likewise.
14429 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14430 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14431 non-SPARC.
14432 (__ASSUME_SIOCGIFNAME): Don't define.
14433 (__ASSUME_MSG_NOSIGNAL): Likewise.
14434 (__ASSUME_SENDFILE): Define unconditionally.
14435 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14436 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14437 conditional code.
14438 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14439 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14440 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14441 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14442 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14443 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14444 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14446 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14449 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14452 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14469 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14470 Remove conditional code.
14471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14472 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14473 Remove conditional code.
14474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14475 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14476 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14477 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14478 Remove conditional code.
14479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14480 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14481 Remove conditional code.
14482 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14483 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14484 Remove conditional code.
14485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14486 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14487 Remove conditional code.
14488 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14489 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14490 Remove conditional code.
14491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14492 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14493 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14495 * sysdeps/unix/sysv/linux/sigaction.c
14496 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14497 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14498 * sysdeps/unix/sysv/linux/sigpending.c
14499 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14500 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14501 * sysdeps/unix/sysv/linux/sigprocmask.c
14502 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14503 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14504 * sysdeps/unix/sysv/linux/sigsuspend.c
14505 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14506 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14508 (__libc_missing_rt_sigs): Remove.
14509 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14510 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14511 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14512 Remove conditional code.
14513 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14514 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14515 return 1.
14516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14517 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14518 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14519 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14520
1bfb7291
AJ
145212012-05-14 Andreas Jaeger <aj@suse.de>
14522
caae5a81
AJ
14523 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14524 it's not used in glibc.
14525 (__coshm1): Likewise.
14526 (__acosh1p): Likewise.
14527 (__sgn): Likewise.
14528
1bfb7291
AJ
14529 * manual/string.texi (Copying and Concatenation): Add missing
14530 variable in concat example.
14531 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14532
c044d724
L
145332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14534
144c5467 14535 [BZ #14103]
c044d724
L
14536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14537 __builtin_clzl with __builtin_clzll.
14538
2523c62b
L
145392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14540
14541 [BZ #14104]
14542 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14543 libc_freeres_ptr.
14544
d7bb4c42
LD
145452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14546
14547 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14548 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14549 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14550 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14551
9dc4e1fb
MF
145522012-05-14 Mike Frysinger <vapier@gentoo.org>
14553
14554 * NEWS: Update ia64 info.
14555
c7df0112
AS
145562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14557
14558 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14559 used as bcopy.
14560
dc70356c
TS
145612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14562
14563 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14564 * sysdeps/unix/syscalls.list (dup3): Likewise.
14565 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14566 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14567
9fb1a21f
L
145682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14569
14570 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14571 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14572
4822a2a5
L
145732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14574
14575 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14576 thread pointer.
14577 (TLS_IE): Use mov/add instead of movq/addq to load thread
14578 pointer.
14579 (TLS_GD_PREFIX): New.
14580 (TLS_GD): Use it.
14581
842b81d6
DM
145822012-05-11 David S. Miller <davem@davemloft.net>
14583
14584 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14585 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14586 (_FPU_SETCW): Likewise.
14587
1cf463cd
L
145882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14589
14590 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14591 is 32-byte aligned.
14592
60cc4a18
AS
145932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14594
14595 [BZ #11837]
14596 * iconvdata/gb18030.c: Update tables.
14597 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14598 characters specially.
14599 (BODY for TO_LOOP): Add encoding of missing ranges.
14600
febb44a4
TS
146012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14602
14603 [BZ #13673]
14604 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14605 * sysdeps/mach/hurd/dup3.c: Likewise.
14606 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14607 * sysdeps/powerpc/memmove.c:: Likewise.
14608
0a10fb9e
L
146092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14610
14611 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14612 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14613
df8a552f
L
146142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14615
14616 * elf/elf.h (R_X86_64_RELATIVE64): New.
14617 (R_X86_64_NUM): Updated.
14618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14619 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14620 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14621 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14622 tst-quad1pie tst-quad2pie
14623 (modules-names): Add tst-quadmod1 tst-quadmod2.
14624 ($(objpfx)tst-quad1): New dependency.
14625 ($(objpfx)tst-quad2): Likewise.
14626 ($(objpfx)tst-quad1pie): Likewise.
14627 ($(objpfx)tst-quad2pie): Likewise.
14628 * sysdeps/x86_64/tst-quad1.c: New file.
14629 * sysdeps/x86_64/tst-quad1pie.c: New file.
14630 * sysdeps/x86_64/tst-quad2.c: Likewise.
14631 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14632 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14633 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14634 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14635 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14636
f34d6f84
ST
146372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14638
f42d41d1
ST
14639 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14640 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14641 * streams/stropts.h (t_scalar_t): Define type.
14642
3c3571fc
ST
14643 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14644 (_PATH_PRESERVE): Set to "/var/lib".
14645 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14646
61f06bd3
ST
14647 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14648 instead of int.
14649
918d4d71
ST
14650 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14651 if __dir_mkfile succeeded.
14652
f34d6f84
ST
14653 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14654 checking for _hurd_dtablesize. Unlock it right after having
14655 finished _hurd_dtable allocation.
14656
10589b4a
TS
146572012-05-10 Thomas Schwinge <thomas@schwinge.name>
14658
674cdbc7
TS
14659 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14660 * sysdeps/mach/hurd/configure: Regenerated.
14661 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14662 special-casing to...
14663 * sysdeps/gnu/configure.in: ... this new file.
14664 * sysdeps/unix/sysv/linux/configure: Regenerated.
14665 * sysdeps/gnu/configure: New generated file.
14666
8e41b99f
TS
14667 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14668 for Linux: use nsec instead of usec, as well as:
14669 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14670 members of type struct timespec.
14671 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14672 New macros.
14673 (struct stat64): Likewise.
14674 (_STATBUF_ST_NSEC): New macro.
14675 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14676
10589b4a
TS
14677 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14678 __strtoul_internal rather than strtoul.
14679
63643c85
PT
146802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14681
14682 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14683 and reject them.
14684
3faebe6a
ST
146852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14686
14687 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14688 which preserves existing values.
14689 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14690
c6474b07
PT
146912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14692
14693 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14694 TIMEOUT values. Return EINVAL for NFDS values either negative or
14695 greater than FD_SETSIZE.
14696
1043890b
ST
146972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14698
14699 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14700 allocated, call __vm_protect to finish enabling the existing space, and
14701 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14702 allocate the remainder.
14703
37ed8b9b
PT
147042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14705
14706 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14707 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14708
db653660
ST
147092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14710
37ed8b9b
PT
14711 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14712 sysdeps/mach/hurd/readlink.c.
b29d4053 14713
db653660
ST
14714 * posix/tst-sysconf.c (posix_options): Only use
14715 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14716 _POSIX_SYNCHRONIZED_IO when they are defined
14717 * sysdeps/mach/hurd/bits/posix_opt.h:
14718 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14719 (_XOPEN_REALTIME): Undefine macro.
14720 (_XOPEN_REALTIME_THREADS): Undefine macro.
14721 (_XOPEN_SHM): Undefine macro.
14722 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14723 macro to -1.
14724 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14725 macro to -1.
14726 (_POSIX_ASYNC_IO): Undefine macro.
14727 (_POSIX_PRIORITIZED_IO): Undefine macro.
14728 (_POSIX_SPIN_LOCKS): Define macro to -1.
14729
ee16e894
ST
14730 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14731 SA_NODEFER, SA_RESETHAND.
14732 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14733 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14734 F_DUPFD_CLOEXEC.
14735
6103ae3b
TS
147362012-05-10 Thomas Schwinge <thomas@schwinge.name>
14737
14738 * elf/Makefile (pldd-modules): Define unconditionally.
14739
80b4e5f3
TS
147402012-05-10 Thomas Schwinge <thomas@schwinge.name>
14741
14742 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14743
edadcbd6
ST
147442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14745
14746 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14747 Return ENOENT when name is empty.
14748 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14749
80694780
TS
147502012-05-10 Thomas Schwinge <thomas@schwinge.name>
14751
1792c087
TS
14752 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14753
80694780
TS
14754 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14755
6b645f0d
ST
147562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14757
80694780
TS
14758 Fix mlock in all cases except non-readable pages.
14759 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14760 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14761
6b645f0d
ST
14762 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14763 (__mkdir): When path is `/', just fail with EEXIST.
14764 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14765
e468f8a3
TS
147662012-05-10 Thomas Schwinge <thomas@schwinge.name>
14767
14768 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14769 <sys/uio.h> (for writev).
14770 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14771 and <sys/param.h> (for MIN).
14772
a4186cff
PT
147732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14774
14775 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14776 REQUESTED_TIME. Properly set the remaining time and return EINTR
14777 if interrupted.
14778
510bbf14
TS
147792012-05-10 Thomas Schwinge <thomas@schwinge.name>
14780
14781 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14782 Depend on against $(link-rpcuserlibs).
14783
5d5722e8
ST
147842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14785
a4186cff
PT
14786 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14787 (__libc_stack_end): Do not use attribute_relro.
14788 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14789 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14790 to libthread-provided value.
a4186cff
PT
14791 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14792 attribute_relro.
5d5722e8 14793
37233df9
TS
147942012-05-10 Thomas Schwinge <thomas@schwinge.name>
14795
be971a2b
TS
14796 [BZ #3748]
14797 * bits/libc-lock.h (__libc_once_get): New macro.
14798 * sysdeps/mach/bits/libc-lock.h: Likewise.
14799 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14800 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14801 instead of using implementation details.
14802
37233df9
TS
14803 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14804 * libio/freopen.c: Likewise.
14805 * libio/freopen64.c: Likewise.
14806 * misc/syslog.c: Likewise.
14807 * nscd/connections.c: Likewise.
14808 * nscd/netgroupcache.c: Likewise.
14809 * sysdeps/posix/getcwd.c: Likewise.
14810
38de94a5
RM
148112012-05-10 Roland McGrath <roland@hack.frob.com>
14812
14813 * math/w_ilogbf.c: Add #include <limits.h>.
14814
67530489
ST
148152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14816
a4186cff 14817 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14818 path instead of returning without unlocking.
14819
67530489
ST
14820 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14821 immediate-write ioctls.
14822 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14823
5aa3a74a
TS
148242012-05-10 Thomas Schwinge <thomas@schwinge.name>
14825
18bad2ae
TS
14826 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14827 __builtin_frame_address instead of making assumptions about the
14828 location of the return address relative to DATA. Force early load of
14829 the return address.
14830 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14831 __builtin_frame_address.
14832
5aa3a74a
TS
14833 dup3 for GNU Hurd.
14834 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14835 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14836 implement dup3 and do some further code clean-ups.
14837 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14838 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14839
ecd0de9a
ST
148402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14841
cd9fa985
ST
14842 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14843
a4186cff
PT
14844 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14845 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14846 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14847 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14848 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14849 d->port.lock.
802ca5a5 14850
a4186cff
PT
14851 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14852 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14853 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14854
bcf55240
TS
148552012-05-10 Thomas Schwinge <thomas@schwinge.name>
14856
6960eb42
TS
14857 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14858 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14859 definitions.
14860
eb43375f
TS
14861 accept4 for GNU Hurd.
14862 * include/sys/socket.h (__libc_accept4): New prototype.
14863 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14864 to implement __libc_accept4.
14865 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14866 __libc_accept4.
14867 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14868
bcf55240
TS
14869 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14870 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14871 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14872 signal-defines.sym.
14873
6178c55b
ST
148742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14875
a4186cff 14876 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14877
6f080c2f
TS
148782012-05-10 Thomas Schwinge <thomas@schwinge.name>
14879
14880 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14881 assertion on O_CLOEXEC flag.
14882 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14883 * hurd/intern-fd.c: Likewise.
14884 * hurd/port2fd.c: Likewise.
14885
bcfe3a54
ST
148862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14887
14888 [BZ #3906]
14889 * bits/in.h (IPV6_PKTINFO): Define new macro.
14890 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14891
89c9aa49
AZ
148922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14893
14894 [BZ #13954]
14895 [BZ #13955]
14896 [BZ #13956]
14897 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14899 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14900 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14902 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14903 * math/libm-test.inc (logb_test) : Additional logb tests.
14904
021db4be
AJ
149052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14906 Andreas Jaeger <aj@suse.de>
14907
14908 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14909 * configure: Regenerated.
14910 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14911 * config.make.in (link-obsolete-rpc): New substituted variable.
14912 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14913 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14914 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14915 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14916 so that libc.a contains the symbols.
14917 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14918 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14919 * sunrpc/auth_none.c: Likewise.
14920 * sunrpc/auth_unix.c: Likewise.
14921 * sunrpc/authdes_prot.c: Likewise.
14922 * sunrpc/authuxprot.c: Likewise.
14923 * sunrpc/clnt_gen.c: Likewise.
14924 * sunrpc/clnt_perr.c: Likewise.
14925 * sunrpc/clnt_raw.c: Likewise.
14926 * sunrpc/clnt_simp.c: Likewise.
14927 * sunrpc/clnt_tcp.c: Likewise.
14928 * sunrpc/clnt_udp.c: Likewise.
14929 * sunrpc/clnt_unix.c: Likewise.
14930 * sunrpc/des_crypt.c: Likewise.
14931 * sunrpc/des_soft.c: Likewise.
14932 * sunrpc/get_myaddr.c: Likewise.
14933 * sunrpc/key_call.c: Likewise.
14934 * sunrpc/key_prot.c: Likewise.
14935 * sunrpc/netname.c: Likewise.
14936 * sunrpc/pm_getmaps.c: Likewise.
14937 * sunrpc/pm_getport.c: Likewise.
14938 * sunrpc/pmap_clnt.c: Likewise.
14939 * sunrpc/pmap_prot.c: Likewise.
14940 * sunrpc/pmap_prot2.c: Likewise.
14941 * sunrpc/pmap_rmt.c: Likewise.
14942 * sunrpc/publickey.c: Likewise.
14943 * sunrpc/rpc_cmsg.c: Likewise.
14944 * sunrpc/rpc_common.c: Likewise.
14945 * sunrpc/rpc_dtable.c: Likewise.
14946 * sunrpc/rpc_prot.c: Likewise.
14947 * sunrpc/rpc_thread.c: Likewise.
14948 * sunrpc/rtime.c: Likewise.
14949 * sunrpc/svc.c: Likewise.
14950 * sunrpc/svc_auth.c: Likewise.
14951 * sunrpc/svc_raw.c: Likewise.
14952 * sunrpc/svc_run.c: Likewise.
14953 * sunrpc/svc_tcp.c: Likewise.
14954 * sunrpc/svc_udp.c: Likewise.
14955 * sunrpc/svc_unix.c: Likewise.
14956 * sunrpc/svcauth_des.c: Likewise.
14957 * sunrpc/xcrypt.c: Likewise.
14958 * sunrpc/xdr.c: Likewise.
14959 * sunrpc/xdr_array.c: Likewise.
14960 * sunrpc/xdr_float.c: Likewise.
14961 * sunrpc/xdr_intXX_t.c: Likewise.
14962 * sunrpc/xdr_mem.c: Likewise.
14963 * sunrpc/xdr_rec.c: Likewise.
14964 * sunrpc/xdr_ref.c: Likewise.
14965 * sunrpc/xdr_sizeof.c: Likewise.
14966 * sunrpc/xdr_stdio.c: Likewise.
14967
b5c086a2
RM
149682012-05-10 Roland McGrath <roland@hack.frob.com>
14969
14970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14971 change. Update copyright years.
14972
6d74dd09
JM
149732012-05-10 Joseph Myers <joseph@codesourcery.com>
14974
14975 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14976
28e72501
MK
149772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14978 Joseph Myers <joseph@codesourcery.com>
14979 Paul Pluzhnikov <ppluzhnikov@google.com>
14980
14981 [BZ #14012]
14982 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14983 requiring rpcgen.
14984 [cross-compiling] (extra-libs): Likewise.
14985 [cross-compiling] (extra-libs-others): Likewise.
14986 [cross-compiling] (librpcsvc-routines): Likewise.
14987 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14988 [cross-compiling] (omit-deps): Likewise.
14989 (sunrpc-CPPFLAGS): New variable.
14990 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14991 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14992 (cross-rpcgen-objs): New variable.
14993 (extra-objs): Append $(cross-rpcgen-objs).
14994 ($(cross-rpcgen-objs)): New rule.
14995 ($(objpfx)cross-rpcgen): Likewise.
14996 (rpcgen-cmd): Define to use $(built-program-file). Expand
14997 comment.
14998 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14999 ($(objpfx)x%.stmp): Likewise.
15000 * sunrpc/proto.h [IS_IN_build] (_): Define.
15001 [IS_IN_build] (_libc_intl_domainname): Likewise.
15002
c8c59454
L
150032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15004
15005 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15006 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15007 and R_X86_64_TPOFF64.
15008
6f27cd16
JM
150092012-05-10 Joseph Myers <joseph@codesourcery.com>
15010
15011 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15012 sysdeps/unix/sysv/syscalls.list.
15013 (stime): Likewise.
15014 (utime): Likewise.
15015 * sysdeps/unix/sysv/syscalls.list: Remove file.
15016
02467e1c
PE
150172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15018
15019 [BZ #3440]
15020 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15021 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15022 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15023 (__LC_IDENTIFICATION): Make these macros useful in #if
15024 expressions, as required by C99.
15025
da392631
AS
150262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15027
15028 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15029 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15030 after this.
15031
8115f29b
L
150322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15033
15034 * stdlib/longlong.h: Updated from GCC.
15035
bdd74070
AJ
150362012-05-09 Andreas Jaeger <aj@suse.de>
15037
edfe0dbe
AJ
15038 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15039 default is first entry.
15040 (run_mode): Set type.
15041 (main): Remove informal message about syslog.
15042 (options): Fix typo.
15043
bcfe3a54
ST
15044 [BZ #14053]
15045 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15046 to asm.
bcfe3a54
ST
15047 (lrint): Likewise.
15048 (llrintf): Likewise.
15049 (llrint): Likewise.
15050 (rint): Likewise.
15051 (rintf): Likewise.
15052 (nearbyint): Likewise.
15053 (nearbyintf): Likewise.
bdd74070 15054
91d8d69e
AJ
150552012-05-09 Andreas Jaeger <aj@suse.de>
15056 Pedro Alves <palves@redhat.com>
15057
15058 * nscd/nscd.c (run_mode): Use enum.
15059 (main): Cleanup coding style issue.
15060
bb90b80b
AJ
150612012-05-09 Alexandre Oliva <aoliva@redhat.com>
15062 Andreas Jaeger <aj@suse.de>
15063
bcfe3a54
ST
15064 * nscd/nscd.c (go_background): Replaced with...
15065 (run_mode): ... this.
bb90b80b 15066 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15067 (options): Add -F --foreground.
15068 (main): Implement it.
15069 (parse_opt): Parse it.
bb90b80b 15070
1a4b75a1
AJ
150712012-05-09 Andreas Jaeger <aj@suse.de>
15072
15073 [BZ #14083]
15074 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15075 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15076 -Wconversion warning.
15077 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15078 Likewise.
15079
b1cc2472
JM
150802012-05-09 Joseph Myers <joseph@codesourcery.com>
15081
15082 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15083 == 0.
15084 (LC_ALL): Use macro-int-constant.
15085 (LC_COLLATE): Likewise.
15086 (LC_CTYPE): Likewise.
15087 (LC_MESSAGES): Likewise.
15088 (LC_MONETARY): Likewise.
15089 (LC_NUMERIC): Likewise.
15090 (LC_TIME): Likewise.
15091 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15092 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15094 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15095 Specify type.
15096 [C99-based standards] (float_t): Expect type.
15097 [C99-based standards] (double_t): Expect type.
15098 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15099 type.
15100 [C99-based standards] (HUGE_VALL): Likewise.
15101 [C99-based standards] (INFINITY): Likewise.
15102 [C99-based standards] (NAN): Likewise.
15103 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15104 [C99-based standards] (FP_NAN): Likewise.
15105 [C99-based standards] (FP_NORMAL): Likewise.
15106 [C99-based standards] (FP_SUBNORMAL): Likewise.
15107 [C99-based standards] (FP_ZERO): Likewise.
15108 [C99-based standards] (FP_FAST_FMA): Use
15109 optional-macro-int-constant. Specify type. Require == 1.
15110 [C99-based standards] (FP_FAST_FMAF): Likewise.
15111 [C99-based standards] (FP_FAST_FMAL): Likewise.
15112 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15113 [C99-based standards] (FP_ILOGBNAN): Likewise.
15114 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15115 Specify type.
15116 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15117 [C99-based standards] (math_errhandling): Specify type.
15118 [ISO99 || ISO11] (signgam): Do not allow.
15119 [non-C99-based standards] (copysignf): Do not allow.
15120 [non-C99-based standards] (exp2f): Likewise.
15121 [non-C99-based standards] (log2f): Likewise.
15122 [non-C99-based standards] (modff): Allow.
15123 [non-C99-based standards] (erff): Do not allow.
15124 [non-C99-based standards] (erfcf): Likewise.
15125 [non-C99-based standards] (gammaf): Likewise.
15126 [non-C99-based standards] (hypotf): Likewise.
15127 [non-C99-based standards] (j0f): Likewise.
15128 [non-C99-based standards] (j1f): Likewise.
15129 [non-C99-based standards] (jnf): Likewise.
15130 [non-C99-based standards] (lgammaf): Likewise.
15131 [non-C99-based standards] (tgammaf): Likewise.
15132 [non-C99-based standards] (y0f): Likewise.
15133 [non-C99-based standards] (y1f): Likewise.
15134 [non-C99-based standards] (ynf): Likewise.
15135 [non-C99-based standards] (isnanf): Likewise.
15136 [non-C99-based standards] (acoshf): Likewise.
15137 [non-C99-based standards] (asinhf): Likewise.
15138 [non-C99-based standards] (atanhf): Likewise.
15139 [non-C99-based standards] (cbrtf): Likewise.
15140 [non-C99-based standards] (expm1f): Likewise.
15141 [non-C99-based standards] (ilogbf): Likewise.
15142 [non-C99-based standards] (log1pf): Likewise.
15143 [non-C99-based standards] (logbf): Likewise.
15144 [non-C99-based standards] (nextafterf): Likewise.
15145 [non-C99-based standards] (remainderf): Likewise.
15146 [non-C99-based standards] (rintf): Likewise.
15147 [non-C99-based standards] (scalbf): Likewise.
15148 [non-C99-based standards] (copysignl): Likewise.
15149 [non-C99-based standards] (exp2l): Likewise.
15150 [non-C99-based standards] (log2l): Likewise.
15151 [non-C99-based standards] (modfl): Allow.
15152 [non-C99-based standards] (erfl): Do not allow.
15153 [non-C99-based standards] (erfcl): Likewise.
15154 [non-C99-based standards] (gammal): Likewise.
15155 [non-C99-based standards] (hypotl): Likewise.
15156 [non-C99-based standards] (j0l): Likewise.
15157 [non-C99-based standards] (j1l): Likewise.
15158 [non-C99-based standards] (jnl): Likewise.
15159 [non-C99-based standards] (lgammal): Likewise.
15160 [non-C99-based standards] (tgammal): Likewise.
15161 [non-C99-based standards] (y0l): Likewise.
15162 [non-C99-based standards] (y1l): Likewise.
15163 [non-C99-based standards] (ynl): Likewise.
15164 [non-C99-based standards] (isnanl): Likewise.
15165 [non-C99-based standards] (acoshl): Likewise.
15166 [non-C99-based standards] (asinhl): Likewise.
15167 [non-C99-based standards] (atanhl): Likewise.
15168 [non-C99-based standards] (cbrtl): Likewise.
15169 [non-C99-based standards] (expm1l): Likewise.
15170 [non-C99-based standards] (ilogbl): Likewise.
15171 [non-C99-based standards] (log1pl): Likewise.
15172 [non-C99-based standards] (logbl): Likewise.
15173 [non-C99-based standards] (nextafterl): Likewise.
15174 [non-C99-based standards] (remainderl): Likewise.
15175 [non-C99-based standards] (rintl): Likewise.
15176 [non-C99-based standards] (scalbl): Likewise.
15177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15178 [non-C99-based standards] (FP_*): Do not allow.
15179 [C99-based standards] (FP_*): Change to
15180 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15181 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15182 allow.
15183 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15184 (SIG_ERR): Likewise.
15185 [X/Open-based standards] (SIG_HOLD): Likewise.
15186 (SIG_IGN): Likewise.
15187 (SIGABRT): Use macro-int-constant. Specify type. Require
15188 positive value.
15189 (SIGFPE): Likewise.
15190 (SIGILL): Likewise.
15191 (SIGINT): Likewise.
15192 (SIGSEGV): Likewise.
15193 (SIGTER): Likewise.
15194 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15195 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15196 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15197 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15198 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15199 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15200 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15201 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15202 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15203 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15204 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15205 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15206 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15207 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15208 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15209 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15210 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15211 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15212 [X/Open-based standards] (SIGTRAP): Likewise.
15213 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15214 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15215 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15216 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15217 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15218 allow.
15219
b9f1922d
IW
152202012-05-08 Ian Wienand <ianw@vmware.com>
15221
15222 [BZ #14080]
15223 * time/tzset.c (__tzset_parse_tz): Update default rules for
15224 daylight time changes in the Energy Policy Act of 2005.
15225
1db86e88
AJ
152262012-05-09 Andreas Jaeger <aj@suse.de>
15227
15228 [BZ #13983]
15229 * elf/ldconfig.c (parse_conf): Change string to make clear that
15230 ldconfig only issued a warning if ld.so.conf does not exist.
15231
dee4a4e3
DM
152322012-05-08 David S. Miller <davem@davemloft.net>
15233
ee0db190
DM
15234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15235 movxtod instead of popping the value on the stack.
15236
dee4a4e3
DM
15237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15238
6a43ec98
CD
152392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15240
15241 * config.h.in: Add HAVE_ARM_PCS_VFP.
15242
05c2c961
RMG
152432012-05-08 Roland Mc Grath <roland@hack.frob.com>
15244
bcfe3a54
ST
15245 [BZ #13979]
15246 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15247 checking but the checks are disabled for any reason.
05c2c961 15248
4b30f61a
L
152492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15250
15251 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15252 and ELF64_R_TYPE with ELFW(R_TYPE).
15253
eee2bc67
JM
152542012-05-08 Joseph Myers <joseph@codesourcery.com>
15255
7ea5391a
JM
15256 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15257 (ulimit): Likewise.
15258
eee2bc67
JM
15259 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15260 (settimeofday): Likewise.
15261
abb66a67
MF
152622012-05-08 Mike Frysinger <vapier@gentoo.org>
15263
15264 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15265 a struct th_u2 inside the union, and move tu_block/tu_code into
15266 a new th_u3 union of tu_block/tu_code inside of that. Move
15267 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15268 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15269 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15270 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15271 (th_stuff): Change to th_u1.tu_stuff.
15272 (th_data): Define.
15273 (th_msg): Change to th_u1.th_u2.tu_data.
15274
7f18b530
DM
152752012-05-07 David S. Miller <davem@davemloft.net>
15276
05760585
DM
15277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15278
7f18b530
DM
15279 [BZ #14074]
15280 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15281 (SETUP_PIC_REG): Use it.
15282 (SETUP_PIC_REG_LEAF): Use it.
15283
495fd99f
JM
152842012-05-07 Joseph Myers <joseph@codesourcery.com>
15285
15286 [BZ #13885]
15287 [BZ #13923]
15288 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15289 USE_AS_EXPM1L.
15290 (EXPL_FINITE): Likewise.
15291 (FLDLOG): Likewise.
15292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15293 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15294 e_expl.S.
15295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15296 USE_AS_EXPM1L.
15297 (EXPL_FINITE): Likewise.
15298 (FLDLOG): Likewise.
15299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15300 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15301 e_expl.S.
15302 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15303 test of -max_value argument for long double.
15304 * sysdeps/i386/fpu/libm-test-ulps: Update.
15305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15306
6693d694
DM
153072012-05-06 David S. Miller <davem@davemloft.net>
15308
15309 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15310 quad soft-float symbols whose references which are compiler
15311 generated.
15312 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15313
6c23e11c
JM
153142012-05-06 Joseph Myers <joseph@codesourcery.com>
15315
d8b82cad
JM
15316 [BZ #13884]
15317 [BZ #13914]
15318 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15319 USE_AS_EXP10L.
15320 (EXPL_FINITE): Likewise.
15321 (FLDLOG): Likewise.
15322 (c0): Likewise.
15323 (c1): Likewise.
15324 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15325 Adjust comments for base varying.
15326 (__expl_finite): Change alias to EXPL_FINITE.
15327 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15328 e_expl.S.
15329 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15330 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15331 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15332 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15333 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15334 USE_AS_EXP10L.
15335 (EXPL_FINITE): Likewise.
15336 (FLDLOG): Likewise.
15337 (c0): Likewise.
15338 (c1): Likewise.
15339 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15340 Adjust comments for base varying.
15341 (__expl_finite): Change alias to EXPL_FINITE.
15342 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15343 tests for bugs.
15344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15345
6c23e11c
JM
15346 [BZ #14064]
15347 * math/libm-test.inc (check_float_internal): Correct ulp
15348 calculation for subnormal expected results.
15349
29ba805c
AJ
153502012-05-06 Andreas Jaeger <aj@suse.de>
15351
15352 * Makeconfig (+math-flags): New, set to -frounding-math.
15353 (+cflags): Add +math-flags so that all of glibc gets compiled with
15354 it.
15355
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15357
7b17aeda
JM
153582012-05-05 Joseph Myers <joseph@codesourcery.com>
15359
5779f134
JM
15360 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15361 Disable one test.
15362
41498f4d
JM
15363 [BZ #13787]
15364 [BZ #13922]
15365 [BZ #14036]
15366 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15367 (__ieee754_expl): Allow for and saturate large arguments.
15368 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15369 (u_threshold): Likewise.
15370 (__exp): Call __ieee754_exp before checking for overflow and
15371 underflow.
15372 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15373 (u_threshold): Likewise.
15374 (__expf): Call __ieee754_expf before checking for overflow and
15375 underflow.
15376 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15377 (u_threshold): Likewise.
15378 (__expl): Call __ieee754_expl before checking for overflow and
15379 underflow.
15380 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15381 (__ieee754_expl): Allow for and saturate large arguments.
15382 * math/libm-test.inc (exp_test): Add another test. Do not allow
15383 missing overflow exception on overflow.
15384 (expm1_test): Do not allow missing overflow exception on overflow.
15385
6698b8bf
JM
15386 * sysdeps/i386/fpu/e_expl.c: Move to ...
15387 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15388 rather than using inline asm.
15389 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15390 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15391 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15392
7b17aeda
JM
15393 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15394 (nice): Likewise.
15395 (poll): Likewise.
15396 (signal): Likewise.
15397 (time): Likewise.
15398 (times): Likewise.
15399
f7c85819
JM
154002012-05-04 Joseph Myers <joseph@codesourcery.com>
15401
15402 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15403 sysdeps/unix/common/syscalls.list.
15404 (fchmod): Likewise.
15405 (fchown): Likewise.
15406 (ftruncate): Likewise.
15407 (getrusage): Likewise.
15408 (gettimeofday): Likewise.
15409 (setpgid): Likewise.
15410 (setregid): Likewise.
15411 (setreuid): Likewise.
15412 (sigaction): Likewise.
15413 (truncate): Likewise.
15414 (vhangup): Likewise.
15415 * sysdeps/unix/common/syscalls.list: Remove file.
15416 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15417 * sysdeps/unix/sysv/linux/Implies: Likewise.
15418
336270d0
L
154192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15420
15421 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15423 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15424 Moved to ...
15425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15426 Here.
15427 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15428 to ...
15429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15430 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15431 to ...
15432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15433 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15434 to ...
15435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15436 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15437 to ...
15438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15439 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15440 to ...
15441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15442 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15443 to ...
15444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15445 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15446 to ...
15447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15448 Here.
15449 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15450 to ...
15451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15452 Here.
15453 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15454 to ...
15455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15456 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15457 Moved to ...
15458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15459 Here.
15460 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15461 to ...
15462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15463
d128e450
JM
154642012-05-04 Joseph Myers <joseph@codesourcery.com>
15465
fa8ee516
JM
15466 * sysdeps/unix/common/bits/dirent.h: Remove file.
15467 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15468
d128e450
JM
15469 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15470 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15471 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15472 * sysdeps/unix/bsd/isatty.c: Likewise.
15473 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15474 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15475 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15476
ff8faaf0 154772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15478
62881be4 15479 [BZ #13563]
31dc8730
AZ
15480 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15481 long double comparison inaccuracies.
15482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15484
6fef930c
AS
154852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15486
15487 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15488 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15489
8f203e6c
JM
154902012-05-04 Joseph Myers <joseph@codesourcery.com>
15491
15492 [BZ #14049]
15493 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15494 nonzero digits before rounding a hex value.
15495 * stdlib/tst-strtod.c (tests): Add another test.
15496
5197d9c2
AK
154972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15498
15499 * sysdeps/s390/fpu/libm-test-ulps: Update.
15500
f0c1dedf
AJ
155012012-05-03 Andreas Jaeger <aj@suse.de>
15502
15503 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15504 does not get optimized out.
15505 (malloc_opt_barrier): New.
15506
a65ef2ae 155072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15508 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15509
2b942cb7 15510 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15511 intermediate file deletion.
2b942cb7 15512 (generated): Add .symlist files.
a65ef2ae 15513
54b71e02
JM
155142012-05-03 Joseph Myers <joseph@codesourcery.com>
15515
15516 [BZ #13775]
15517 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15518 Redirect under this condition.
15519 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15520 [__USE_GNU] (__dprintf_chk): Not under this condition.
15521 [__USE_GNU] (__vdprintf_chk): Likewise.
15522 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15523 under this condition.
15524 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15525 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15526 [__USE_XOPEN2K8] (vdprintf): Likewise.
15527 [__USE_GNU] (__dprintf_chk): Not under this condition.
15528 [__USE_GNU] (__vdprintf_chk): Likewise.
15529 [__USE_GNU] (dprintf): Likewise.
15530 [__USE_GNU] (vdprintf): Likewise.
15531
d3dfcc41
RM
155322012-05-03 Roland McGrath <roland@hack.frob.com>
15533
15534 * elf/Makefile (common-generated): Set this instead of generated for
15535 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15536 $(all-built-dso)-derived lists.
15537
7ac30cc5
AJ
155382012-05-03 Andreas Jaeger <aj@suse.de>
15539
0c51e550
AJ
15540 * sysdeps/i386/fpu/libm-test-ulps: Update.
15541
7ac30cc5
AJ
15542 * FAQ: Removed.
15543 * FAQ.in: Likewise.
15544 * scripts/gen-FAQ.pl: Likewise.
15545 * manual/install.texi (Installation): Point to online location of
15546 FAQ.
15547 * Makefile (files-for-dist): Remove FAQ.
15548 (FAQ): Remove.
15549
d4c2917f
AM
155502012-05-02 Allan McRae <allan@archlinux.org>
15551
15552 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15553 (LDFLAGS-reldepmod5.so): Likewise.
15554 (LDFLAGS-reldep6mod1.so): Likewise.
15555 (LDFLAGS-reldep6mod4.so): Likewise.
15556 (LDFLAGS-reldep8mod3.so): Likewise.
15557 (LDFLAGS-unload4mod1.so): Likewise.
15558 (LDFLAGS-unload4mod2.so): Likewise.
15559 (LDFLAGS-tst-initorder): Likewise.
15560 (LDFLAGS-tst-initordera2.so): Likewise.
15561 (LDFLAGS-tst-initordera3.so): Likewise.
15562 (LDFLAGS-tst-initordera4.so): Likewise.
15563 (LDFLAGS-tst-initorderb2.so): Likewise.
15564 (LDFLAGS-noload): Likewise.
15565 (LDFLAGS-next): Likewise.
15566 (LDFLAGS-order2mod1.so): Likewise.
15567 (LDFLAGS-order2mod2.so): Likewise.
15568 (LDFLAGS-tst-initorder2): Likewise.
15569 (LDFLAGS-tst-initorder2a.so): Likewise.
15570 (LDFLAGS-tst-initorder2b.so): Likewise.
15571 (LDFLAGS-tst-initorder2c.so): Likewise.
15572 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15573
d77f993f
DM
155742012-05-02 David S. Miller <davem@davemloft.net>
15575
15576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15577
171a70b4
PP
155782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15579
15580 [BZ #14055]
15581 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15582
0be196ad
AJ
155832012-05-02 Andreas Jaeger <aj@suse.de>
15584
15585 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15586 since we manipulate rounding mode.
15587 (CPPFLAGS-test-idouble.c): Likewise.
15588 (CPPFLAGS-test-ifloat.c): Likewise.
15589 (CFLAGS-test-ldouble.c): Likewise.
15590 (CFLAGS-test-double.c): Likewise.
15591 (CFLAGS-test-float.c): Likewise.
15592 (CFLAGS-test-misc.c): Likewise.
15593 (CFLAGS-test-test-fenv.c): Likewise.
15594
4f9d04aa
AZ
155952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15596
2b942cb7
RM
15597 [BZ #2550]
15598 [BZ #2570]
15599 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15600 comparisons to determine direction to adjust input.
4f9d04aa 15601
82a79e7d
RM
156022012-05-01 Roland McGrath <roland@hack.frob.com>
15603
f5a01ca9
RM
15604 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15605 output to the target.
15606
90fe4186
RM
15607 * scripts/localplt.awk: New file.
15608 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15609 (check-localplt-CFLAGS): Variable removed.
15610 ($(all-built-dso:=.jmprel)): New static pattern rule.
15611 (generated): Add those targets.
15612 (localplt-built-dso): New variable.
15613 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15614
15615 * elf/check-localplt.c: File removed.
15616
82397ed6
RM
15617 * scripts/check-execstack.awk: New file.
15618 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15619 (check-execstack-CFLAGS): Variable removed.
15620 ($(objpfx)check-execstack.h): Target removed.
15621 ($(objpfx)execstack-default): New target.
15622 (generated): Add that instead of check-execstack.h.
15623 ($(all-built-dso:=.phdr)): New static pattern rule.
15624 (generated): Add those targets.
15625 * elf/check-execstack.c: File removed.
15626
82a79e7d
RM
15627 * scripts/check-textrel.awk: New file.
15628 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15629 (check-textrel-CFLAGS): Variable removed.
15630 (all-built-dso): Use := to define.o
15631 ($(all-built-dso:=.dyn)): New static pattern rule.
15632 (generated): Add those targets.
15633 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15634 * config.make.in (READELF): New substituted variable.
15635 * elf/check-textrel.c: File removed.
15636
62fde54f 156372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15638
615605c9
JM
15639 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15640 allow.
15641 * conform/data/ctype.h-data [C99-based standards] (isblank):
15642 Expect function.
15643 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15644 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15645 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15646 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15647 Specify type. Require positive value.
15648 (EILSEQ): Likewise.
15649 (ERANGE): Likewise.
15650 [ISO || POSIX] (EILSEQ): Do not expect.
15651 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15652 Specify type. Require positive value.
15653 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15654 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15655 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15656 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15657 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15658 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15659 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15660 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15661 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15662 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15663 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15664 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15665 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15666 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15667 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15668 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15669 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15670 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15671 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15672 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15673 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15674 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15675 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15676 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15677 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15678 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15679 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15680 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15681 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15682 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15683 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15684 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15685 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15686 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15687 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15688 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15689 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15690 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15691 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15692 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15693 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15694 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15695 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15696 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15697 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15698 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15699 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15713 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15714 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15715 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15716 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15717 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15718 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15719 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15720 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15721 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15722 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15723 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15724 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15725 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15726 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15727 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15728 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15729 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15730 Require >= 2.
15731 (FLT_ROUNDS): Expect as macro, not constant.
15732 (FLT_MANT_DIG): Use macro-int-constant.
15733 (DBL_MANT_DIG): Likewise.
15734 (LDBL_MANT_DIG): Likewise.
15735 (FLT_DIG): Likewise.
15736 (DBL_DIG): Likewise.
15737 (LDBL_DIG): Likewise.
15738 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15739 (DBL_MIN_EXP): Likewise.
15740 (LDBL_MIN_EXP): Likewise.
15741 (FLT_MAX_EXP): Use macro-int-constant.
15742 (DBL_MAX_EXP): Likewise.
15743 (LDBL_MAX_EXP): Likewise.
15744 (FLT_MAX_10_EXP): Likewise.
15745 (DBL_MAX_10_EXP): Likewise.
15746 (LDBL_MAX_10_EXP): Likewise.
15747 (FLT_MAX): Use macro-constant.
15748 (DBL_MAX): Likewise.
15749 (LDBL_MAX): Likewise.
15750 (FLT_EPSILON): Use macro-constant. Give upper bound.
15751 (DBL_EPSILON): Likewise.
15752 (LDBL_EPSILON): Likewise.
15753 (FLT_MIN): Likewise.
15754 (DBL_MIN): Likewise.
15755 (LDBL_MIN): Likewise.
15756 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15757 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15758 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15759 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15760 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15761 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15762 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15763 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15764 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15765 [ISO11] (FLT_TRUE_MIN): Likewise.
15766 [ISO11] (LDBL_TRUE_MIN): Likewise.
15767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15768 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15769 (SCHAR_MIN): Use macro-int-constant. Specify type.
15770 (SCHAR_MAX): Likewise.
15771 (UCHAR_MAX): Likewise.
15772 (CHAR_MIN): Likewise.
15773 (CHAR_MAX): Likewise.
15774 (MB_LEN_MAX): Use macro-int-constant.
15775 (SHRT_MIN): Use macro-int-constant. Specify type.
15776 (SHRT_MAX): Likewise.
15777 (USHRT_MAX): Likewise.
15778 (INT_MAX): Likewise.
15779 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15780 bound negative.
15781 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15782 bound with "U".
15783 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15784 bound with "L".
15785 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15786 bound negative. Suffix upper bound with "L".
15787 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15788 bound with "UL".
15789 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15790 Specify type.
15791 [C99-based standards] (LLONG_MAX): Likewise.
15792 [C99-based standards] (ULLONG_MAX): Likewise.
15793 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15794 == 0.
15795 [ISO11] (max_align_t): Require type.
15796 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15797
c9140a62
JM
15798 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15799 from $CFLAGS, without defining away __attribute__ calls.
15800 (checknamespace): Use $CFLAGS_namespace.
15801
9af0bf29
JM
15802 * conform/conformtest.pl (@keywords): Only include C99 keywords
15803 for standards based on C99 or C11.
15804
343222a2
JM
15805 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15806 Disable tests.
15807 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15808 UNIX98]: Likewise.
15809
661f8cf0
JM
15810 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15811 usability of symbols in #if.
15812
ee74b9cb
JM
15813 * conform/conformtest.pl: If macro or constant types start
15814 "promoted:", expect the symbol to be of the following type
15815 promoted by the integer promotions.
62fde54f 15816
aafc49b3
JM
15817 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15818 in one place. Also handle "macro-constant".
15819
fefdf574
JM
15820 * conform/conformtest.pl: Only accept expected macro values with
15821 "==". Parse all "macro" lines in one place.
15822 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15823
f2d922fe
JM
15824 * conform/conformtest.pl: Handle braced types on "constant" lines
15825 instead of handling "typed-constant".
15826 * conform/data/signal.h-data: Use "constant" instead of
15827 "typed-constant".
15828
d22956c9
JM
15829 * conform/conformtest.pl: Handle "optional-" at start of lines in
15830 one place rather than duplicating several cases. Handle each
15831 format of "macro" line with initial "optional-".
15832
028e2e38
JM
15833 * conform/conformtest.pl: Only accept expected constant or
15834 optional-constant values with "==". Parse all "constant" lines in
15835 one place. Parse all "optional-constant" lines in one place.
15836 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15837 * conform/data/fmtmsg.h-data: Likewise.
15838 * conform/data/netinet/in.h-data: Likewise.
15839 * conform/data/tar.h-data: Likewise.
15840 * conform/data/limits.h-data: Use "==" form on "constant" and
15841 "optional-constant" lines.
15842
1b8f2850
JM
15843 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15844 Use -std=c99 for XOPEN2K.
15845 (@knownproblems): Remove.
15846 (newtoken): Don't check %isknown.
15847
a05a144b
JM
15848 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15849 Do not expect macro.
15850 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15851 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15852 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15853 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15854 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15855 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15856 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15857 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15858 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15859 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15860 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15861 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15862 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15863 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15864 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15865 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15866 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15867 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15868 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15869 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15870 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15871 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15872 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15873 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15874 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15875 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15876 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15877 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15878 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15879 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15880 [XPG3] (acosh): Likewise.
15881 [XPG3] (asinh): Likewise.
15882 [XPG3] (atanh): Likewise.
15883 [XPG3] (cbrt): Likewise.
15884 [XPG3] (expm1): Likewise.
15885 [XPG3] (ilogb): Likewise.
15886 [XPG3] (log1p): Likewise.
15887 [XPG3] (logb): Likewise.
15888 [XPG3] (nextafter): Likewise.
15889 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15890 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15891 [XPG3] (remainder): Likewise.
15892 [XPG3] (rint): Likewise.
15893 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15894 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15895 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15896 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15897 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15898 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15899 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15900 [UNIX98 || XOPEN2K] (scalb): Expect.
15901 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15902 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15903 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15904 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15905 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15906 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15907 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15908 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15909 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15910 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15911 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15912 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15913 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15914 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15915 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15916 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15917 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15918 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15919 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15920 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15921 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15922 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15923 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15924 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15925 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15926 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15927 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15928 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15940 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15941 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15958 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15959 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15960 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15961 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15962 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15963 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15964 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15965 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15966 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15969 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15970 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15978 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15979 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15980 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16038
73c5ebe3
JM
16039 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16040 _XOPEN_SOURCE_EXTENDED for XPG4.
16041
39c33b6c
JM
16042 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16043
62fde54f
JM
16044 * Makeconfig (localtime): Remove variable.
16045 (inst_localtime-file): Likewise.
16046
0741d64c
AS
160472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16048
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16050 Update.
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16052 Update.
16053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16054 Update.
16055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16056 Update.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16058 Update.
16059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16060 Update.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16062 Update.
16063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16064 Update.
16065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16066 Update.
16067
7cb029ee
JM
160682012-05-01 Joseph Myers <joseph@codesourcery.com>
16069
16070 [BZ #2550]
16071 [BZ #2570]
16072 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16073 comparisons to determine direction to adjust input.
16074 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16075 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16077 Likewise.
16078 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16079 Likewise.
16080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16081 Likewise.
16082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16084 Likewise.
16085 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16086 Likewise.
16087 * math/libm-test.inc (nexttoward_test): Add more tests.
16088
412bd966
AS
160892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16090
16091 [BZ #14040]
16092 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16093 in version GLIBC_2.1, not GLIBC_2.0.
16094 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16095 Likewise.
16096
9568c0c2
JM
160972012-04-30 Joseph Myers <joseph@codesourcery.com>
16098
adfbc8ac
JM
16099 [BZ #13942]
16100 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16101 (1 - x) * (1 + x).
16102 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16103 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16104 * math/libm-test.inc (acos_test): Add more tests.
16105 (asin_test): Likewise.
16106 * sysdeps/i386/fpu/libm-test-ulps: Update.
16107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16108
5ba3cc69
JM
16109 [BZ #14034]
16110 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16111 of square root.
16112 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16113 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16114 * math/libm-test.inc (acos_test_tonearest): New function.
16115 (acos_test_towardzero): Likewise.
16116 (acos_test_downward): Likewise.
16117 (acos_test_upward): Likewise.
16118 (asin_test_tonearest): Likewise.
16119 (asin_test_towardzero): Likewise.
16120 (asin_test_downward): Likewise.
16121 (asin_test_upward): Likewise.
16122 (main): Call the new functions.
16123 * sysdeps/i386/fpu/libm-test-ulps: Update.
16124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16125
9568c0c2
JM
16126 [BZ #13884]
16127 [BZ #13924]
16128 * math/e_exp10.c: Include <float.h>.
16129 (__ieee754_exp10): Handle underflow here rather than multiplying
16130 large negative argument by M_LN10.
16131 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16132 of __ieee754_expf.
16133 * math/e_exp10l.c: Include <float.h>.
16134 (__ieee754_exp10l): Handle underflow here rather than multiplying
16135 large negative argument by M_LN10l.
16136 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16137 spurious overflow exception on underflow.
16138
5ac3ea17
MP
161392012-04-29 Marek Polacek <polacek@redhat.com>
16140
16141 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16142 (__fortify_function): New macro.
16143 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16144 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16145 __extern_always_inline.
16146 * libio/bits/stdio2.h: Likewise.
16147 * libio/bits/stdio.h: Likewise.
16148 * string/string.h: Likewise.
16149 * string/bits/string3.h: Likewise.
16150 * include/stdio.h: Likewise.
16151 * stdlib/bits/stdlib.h: Likewise.
16152 * stdlib/stdlib.h: Likewise.
16153 * rt/bits/mqueue2.h: Likewise.
16154 * rt/mqueue.h: Likewise.
16155 * posix/bits/unistd.h: Likewise.
16156 * posix/unistd.h: Likewise.
16157 * io/bits/poll2.h: Likewise.
16158 * io/bits/fcntl2.h: Likewise.
16159 * io/fcntl.h: Likewise.
16160 * io/sys/poll.h: Likewise.
16161 * misc/bits/syslog.h: Likewise.
16162 * misc/bits/syslog-ldbl.h: Likewise.
16163 * misc/sys/syslog.h: Likewise.
16164 * socket/bits/socket2.h: Likewise.
16165 * socket/sys/socket.h: Likewise.
16166 * debug/tst-chk1.c: Likewise.
16167 * wcsmbs/bits/wchar2.h: Likewise.
16168 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16169 * wcsmbs/wchar.h: Likewise.
16170
ecf0ebfb
AJ
161712012-04-29 Andreas Jaeger <aj@suse.de>
16172
16173 * Makerules (tests): Remove enable-check-abi protection.
16174 (check-abi-warn): Remove.
16175 (check-abi-%): Remove check-abi-warn usage.
16176
16177 * configure.in: Remove check-abi configure option.
16178 * configure: Regenerated.
16179 * config.make.in (enable-check-abi): Remove.
16180
6d5c57fa
AS
161812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16182
24c5d07e 16183 [BZ #14033]
ded5180a
AS
16184 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16185 double functions to double *_finite functions.
16186
7e0d315d
AS
16187 [BZ #13941]
16188 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16189 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16190 LDBL_MIN_EXP.
16191 * stdio-common/Makefile (tests): Add tst-sprintf3.
16192 * stdio-common/tst-sprintf3.c: New file.
16193
6d5c57fa
AS
16194 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16195 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16196
0749ff8b
JM
161972012-04-28 Joseph Myers <joseph@codesourcery.com>
16198
16199 * conform/conformtest.pl: Remove duplicate typed-constant
16200 handling.
16201
8dbd5d7b
DM
162022012-04-28 David S. Miller <davem@davemloft.net>
16203
16204 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16205 (check-abi-%): Remove AWK script prerequisite and explicit
16206 abilist directory.
16207 (check-abi): Rewrite to just diff the symlist with the abilist.
16208 (config-tls, config-abi-config): Delete, no longer used.
16209 (update-abi-%): Remove AWK script and explicit abilist directory.
16210 (update-abi): Rewrite to simply compare and conditionally copy the
16211 symlist and the sysdep abilist file. Remove update-abi-config
16212 checks.
16213 * abilist/ld.abilist: Remove.
16214 * abilist/libBrokenLocale.abilist: Remove.
16215 * abilist/libanl.abilist: Remove.
16216 * abilist/libcrypt.abilist: Remove.
16217 * abilist/libdl.abilist: Remove.
16218 * abilist/librt.abilist: Remove.
16219 * abilist/libthread_db.abilist: Remove.
16220 * abilist/libutil.abilist: Remove.
16221 * scripts/extract-abilist.awk: Remove.
16222 * scripts/merge-abilist.awk: Remove.
16223 * sysdeps/generic/libcidn.abilist: New file.
16224 * sysdeps/generic/libnss_compat.abilist: New file.
16225 * sysdeps/generic/libnss_db.abilist: New file.
16226 * sysdeps/generic/libnss_dns.abilist: New file.
16227 * sysdeps/generic/libnss_files.abilist: New file.
16228 * sysdeps/generic/libnss_hesiod.abilist: New file.
16229 * sysdeps/generic/libnss_nis.abilist: New file.
16230 * sysdeps/generic/libnss_nisplus.abilist: New file.
16231 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16232 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16233 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16234 file.
16235 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16236 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16237 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16238 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16239 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16240 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16241 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16242 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16243 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16244 file.
16245 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16246 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16247 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16248 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16249 file.
16250 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16251 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16252 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16253 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16254 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16255 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16256 file.
16257 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16258 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16259 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16260 file.
16261 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16263 New file.
16264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16265 New file.
16266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16267 New file.
16268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16269 New file.
16270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16271 New file.
16272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16273 New file.
16274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16275 New file.
16276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16277 New file.
16278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16279 New file.
16280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16281 New file.
16282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16283 New file.
16284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16285 New file.
16286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16287 New file.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16289 file.
16290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16291 New file.
16292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16293 New file.
16294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16295 file.
16296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16297 New file.
16298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16299 New file.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16301 file.
16302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16303 New file.
16304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16305 New file.
16306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16307 New file.
16308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16309 New file.
16310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16311 New file.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16313 New file.
16314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16316 file.
16317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16318 New file.
16319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16320 file.
16321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16322 file.
16323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16324 file.
16325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16326 file.
16327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16328 file.
16329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16330 New file.
16331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16332 file.
16333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16334 file.
16335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16336 New file.
16337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16338 file.
16339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16341 file.
16342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16343 New file.
16344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16345 file.
16346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16347 file.
16348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16349 file.
16350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16351 file.
16352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16353 file.
16354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16355 New file.
16356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16357 file.
16358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16359 file.
16360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16361 New file.
16362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16363 file.
16364 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16365 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16366 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16367 file.
16368 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16369 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16370 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16371 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16372 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16373 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16374 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16375 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16376 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16377 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16380 file.
16381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16382 New file.
16383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16384 file.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16386 file.
16387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16388 file.
16389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16390 file.
16391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16392 file.
16393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16394 New file.
16395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16396 New file.
16397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16398 file.
16399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16400 New file.
16401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16402 file.
16403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16405 file.
16406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16407 New file.
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16409 file.
16410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16411 file.
16412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16413 file.
16414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16415 file.
16416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16417 file.
16418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16419 New file.
16420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16421 New file.
16422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16423 file.
16424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16425 New file.
16426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16427 file.
16428
41d73a1b
JM
164292012-04-28 Joseph Myers <joseph@codesourcery.com>
16430
16431 * conform/conformtest.pl: Fix typo in handling typed-constant from
16432 allow-header.
16433
28aeeda4
JM
164342012-04-27 Joseph Myers <joseph@codesourcery.com>
16435
adae8f5e
JM
16436 * README: Cut down references to pre-2.6 Linux kernels and
16437 Linuxthreads. Update lists of configurations in libc and ports
16438 and sort alphabetically. Say "or newer" with Linux kernel version
16439 requirements.
16440
28aeeda4
JM
16441 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16442
a462cb63
RA
164432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16444
16445 [BZ #887]
16446 * math/libm-test.inc (logb_test_downward): New test to expose
16447 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16448 rounding mode.
16449
6ad3493e
JM
164502012-04-27 Joseph Myers <joseph@codesourcery.com>
16451
16452 [BZ #14027]
16453 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16454 to be done.
16455 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16456 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16457
2ce4f015
JM
164582012-04-26 Joseph Myers <joseph@codesourcery.com>
16459
5aeb141a
JM
16460 * sysdeps/unix/i386/brk.S: Remove file.
16461 * sysdeps/unix/i386/dl-brk.S: Likewise.
16462 * sysdeps/unix/i386/pipe.S: Likewise.
16463 * sysdeps/unix/i386/sigreturn.S: Likewise.
16464 * sysdeps/unix/i386/syscall.S: Likewise.
16465 * sysdeps/unix/i386/vfork.S: Likewise.
16466 * sysdeps/unix/i386/wait.S: Likewise.
16467
7143acae
JM
16468 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16469 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16470
2ce4f015
JM
16471 * configure.in (arm*-none*): Do not allow without
16472 --enable-hacker-mode.
16473 (netbsd*): Remove case setting base_os.
16474 (386bsd*): Likewise.
16475 (freebsd*): Likewise.
16476 (bsdi*): Likewise.
16477 (osf*): Likewise.
16478 (sunos*): Likewise.
16479 (ultrix*): Likewise.
16480 (newsos*): Likewise.
16481 (dynix*): Likewise.
16482 (*bsd*): Likewise.
16483 (sysv*): Likewise.
16484 (isc*): Likewise.
16485 (esix*): Likewise.
16486 (sco*): Likewise.
16487 (minix*): Likewise.
16488 (irix4*): Likewise.
16489 (irix6*): Likewise.
16490 (solaris[2-9]*): Likewise.
16491 (none): Likewise.
16492 * configure: Regenerated.
16493
0ac229c8
AZ
164942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16495
16496 [BZ #11521]
16497 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16498 overflow or cancellation in calculating denominator.
16499 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16500 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16501 down expression to avoid unexpected rounding in newer GCCs.
16502 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16503
33f244f4
DM
165042012-04-26 David S. Miller <davem@davemloft.net>
16505
16506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16507 long-double compat symbols.
16508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16521
cfa1f3e8
DM
165222012-04-25 David S. Miller <davem@davemloft.net>
16523
16524 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16525 HWCAP_* values only after the memory barriers have been defined.
16526 (atomic_full_barrier): Define.
16527 (atomic_read_barrier): Define.
16528 (atomic_write_barrier): Define.
16529
6e236b92
SP
165302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16531
16532 * shlib-versions: Add libgcc_s version information.
16533 * sysdeps/generic/libgcc_s.h: Remove.
16534 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16535 libgcc_s.h.
16536 * sysdeps/gnu/unwind-resume.c: Likewise.
16537 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16538
aab39a09
DM
165392012-04-25 David S. Miller <davem@davemloft.net>
16540
16541 * sysdeps/unix/sparc/brk.S: Delete.
16542 * sysdeps/unix/sparc/dl-brk.S: Delete.
16543 * sysdeps/unix/sparc/pipe.S: Delete.
16544 * sysdeps/unix/sparc/sysdep.S: Delete.
16545 * sysdeps/unix/sparc/sysdep.h: Delete.
16546 * sysdeps/unix/sparc/vfork.S: Delete.
16547 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16548 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16549 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16550 ret_ERRVAL, r0, r1, MOVE): Define.
16551 (JUMPTARGET): Remove.
16552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16553 sysdeps/unix/sparc/sysdep.h
16554 (ENTRY, END): Remove.
16555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16556
a3cc4f48
JM
165572012-04-25 Joseph Myers <joseph@codesourcery.com>
16558
2ed8cda2
JM
16559 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16560 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16561 -DIS_IN_build.
16562
35d76d59
JM
16563 * timezone/README: Update upstream location and email address for
16564 tzcode and tzdata.
16565 * timezone/zdump.c: Update from tzcode 2012b.
16566 * timezone/zic.c: Likewise.
16567
a3cc4f48
JM
16568 * configure.in (libc_cv_as_needed): Remove test.
16569 * configure: Regenerated.
16570 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16571 conditional definition.
16572 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16573 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16574 * config.make.in (have-as-needed): Remove variable.
16575
ceab42c3
SP
165762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16577 Paul Pluzhnikov <ppluzhnikov@google.com>
16578
16579 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16580 strings correctly.
16581
3ce2865f
CLT
165822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16583
16584 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16585 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16586 * sysdeps/sh/strlen.S: Likewise.
16587
f37e0d68
JM
165882012-04-24 Joseph Myers <joseph@codesourcery.com>
16589
ae186e9a
JM
16590 * sysdeps/unix/fork.S: Remove file.
16591 * sysdeps/unix/i386/fork.S: Likewise.
16592 * sysdeps/unix/sparc/fork.S: Likewise.
16593
b96914af
JM
16594 * sysdeps/unix/system.c: Remove file.
16595 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16596
f37e0d68
JM
16597 * sysdeps/unix/getegid.S: Remove file.
16598 * sysdeps/unix/geteuid.S: Likewise.
16599
87ef29ca
RM
166002012-04-24 Roland McGrath <roland@hack.frob.com>
16601
83bcd236
RM
16602 * scripts/check-localplt.awk: New file.
16603 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16604 of diff.
16605 * scripts/data/localplt-generic.data: Add a comment.
16606
87ef29ca
RM
16607 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16608 NODE when __dir_mkfile failed.
16609 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16610 Reported by Ludovic Courtès <ludo@gnu.org>.
16611
e5a6e567
AJ
166122012-04-24 Andreas Jaeger <aj@suse.de>
16613
16614 * Makerules (common-clean): Also remove gen-as-const-headers
16615 files.
16616
c1820385
JM
166172012-04-24 Joseph Myers <joseph@codesourcery.com>
16618
16619 * Makerules (native-compile): Do not change working directory for
16620 build. Use $(OUTPUT_OPTION) in command.
16621 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16622
94e02fc4
AZ
166232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16624
16625 [BZ #13886]
16626 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16627 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16628 * math/libm-test.inc (floor_test): Add more tests.
16629 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16630
3a533ca3
JM
166312012-04-24 Joseph Myers <joseph@codesourcery.com>
16632
940ab4b3
JM
16633 * sysdeps/unix/getdents.c: Remove file.
16634 * sysdeps/unix/sysv/getdents.c: Likewise.
16635 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16636
90e037bd
JM
16637 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16638 sysdeps/unix/mman/syscalls.list.
16639 (mmap): Likewise.
16640 (mprotect): Likewise.
16641 (msync): Likewise.
16642 (munmap): Likewise.
16643 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16644 * sysdeps/unix/mman/syscalls.list: Remove.
16645 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16646
3a533ca3
JM
16647 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16648 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16649 * configure: Regenerated.
16650 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16651 $(libgcc_s_suffix).
16652 * config.make.in (libgcc_s_suffix): Remove variable.
16653
1ad743de
JM
166542012-04-23 Joseph Myers <joseph@codesourcery.com>
16655
4ad451e2
JM
16656 * sysdeps/unix/sysv/gethostname.c: Move to ...
16657 * sysdeps/posix/gethostname.c: ... here.
16658
5e37ce39
JM
16659 * sysdeps/unix/execve.S: Remove file.
16660
1ad743de
JM
16661 * sysdeps/unix/_exit.S: Remove file.
16662
4e681b5b
AJ
166632012-04-23 Andreas Jaeger <aj@suse.de>
16664
16665 [BZ #13739]
16666 * manual/Makefile: Remove make dist support, there's no
16667 need for a stand-alone documentation tar ball.
16668 (TEXI2DVI): Define always, it's not in Makeconfig.
16669 (dist): Removed.
16670 (tar-it): Removed.
16671 (edition): Removed.
16672 (glibc-doc-$(edition).tar): Removed
16673 (%.Z): Removed.
16674 (%.gz): Removed.
16675 (%.uu): Removed.
16676 (ETAGS): Remove, it's in Makeconfig.
16677 (move-if-change): Remove, it's in Makeconfig.
16678
38686a03 166792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16680
16681 [BZ #13970]
16682 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16683 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16684 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16685 (strtod_l, strtof_l, strtold_l): Remove __wur.
16686 It is not necessarily an error to ignore strtol's return value.
16687 One can reliably look at the stored endptr to decide whether
16688 the number had valid syntax.
16689
7c0616fa
AJ
166902012-04-21 Andreas Jaeger <aj@suse.de>
16691
803cb6b7 16692 [BZ #13739]
7c0616fa
AJ
16693 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16694
b0fe253f
JM
166952012-04-21 Joseph Myers <joseph@codesourcery.com>
16696
16697 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16698 * sysdeps/unix/sysv/Versions: Remove file.
16699
8280f22d
MT
167002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16701
16702 [BZ #13927]
16703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16704
75ce411f 167052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16706
16707 [BZ #7064]
16708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16709 version from __vm86.
16710
097d59fa
JM
167112012-04-20 Joseph Myers <joseph@codesourcery.com>
16712
a90f3bcb
JM
16713 * sysdeps/unix/common/lxstat.c: Remove file.
16714 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16715
edc7ea78
JM
16716 * sysdeps/unix/sysv/Makefile: Remove file.
16717
cb78c221
JM
16718 * sysdeps/unix/sysv/direct.h: Remove file.
16719
efa6a45f
JM
16720 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16721 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16722 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16723 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16724 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16725 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16726 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16727
9c9f2d0c
JM
16728 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16729
4541c83b
JM
16730 * sysdeps/unix/xmknod.c: Remove file.
16731 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16732
f5d153a0
JM
16733 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16734
aa746595
JM
16735 * sysdeps/unix/sysv/i386/time.S: Remove file.
16736
cce5905e
JM
16737 * sysdeps/unix/fxstat.c: Remove file.
16738 * sysdeps/unix/xstat.c: Likewise.
16739 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16740
37fa3841
JM
16741 * sysdeps/unix/sysv/sigaction.c: Remove file.
16742
ff1962a3
JM
16743 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16744 (sysdep_headers): Remove variable.
16745 [termio.h not in sysdep_headers] (generated): Likewise.
16746 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16747 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16748 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16749 * sysdeps/unix/sysv/tcflow.c: Likewise.
16750 * sysdeps/unix/sysv/tcflush.c: Likewise.
16751 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16752 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16753 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16754 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16755 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16756
e7740d31
JM
16757 * sysdeps/unix/siglist.c: Remove file.
16758
ee06f18b
JM
16759 * sysdeps/unix/getppid.S: Remove file.
16760
097d59fa
JM
16761 * sysdeps/unix/mkdir.c: Remove file.
16762 * sysdeps/unix/rmdir.c: Likewise.
16763
ff3d51ec
AS
167642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16765
16766 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16767 ERR_MAX value.
16768 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16769 errlist-compat value.
16770
50f81fd7
DM
167712012-04-18 David S. Miller <davem@davemloft.net>
16772
16773 * sysdeps/generic/memcopy.h (reg_char): Delete.
16774 * debug/strcat_chk.c: Use char, not reg_char.
16775 * debug/strcpy_chk.c: Likewise.
16776 * debug/strncat_chk.c: Likewise.
16777 * debug/strncpy_chk.c: Likewise.
16778 * string/memchr.c: Likewise.
16779 * string/memrchr.c: Likewise.
16780 * string/rawmemchr.c: Likewise.
16781 * string/strcat.c: Likewise.
16782 * string/strchr.c: Likewise.
16783 * string/strchrnul.c: Likewise.
16784 * string/strcmp.c: Likewise.
16785 * string/strcpy.c: Likewise.
16786 * string/strncat.c: Likewise.
16787 * string/strncmp.c: Likewise.
16788 * string/strncpy.c: Likewise.
16789
8ff41c46
WS
167902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16791
16792 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16793 __builtin_memcopy is called when src and dest ranges are known to not
16794 overlap.
16795
6b652f46
WS
167962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16797
16798 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16799 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16800 fwd_align_merge macro call.
16801 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16802 bwd_align_merge macro call.
16803 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16804
b282631e
WS
168052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16806
16807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16808 bwd_align_merge macros.
16809 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16810 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16811 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16812
95aa737c
DM
168132012-04-18 David S. Miller <davem@davemloft.net>
16814
16815 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16816
7a99a614
AJ
168172012-04-18 Andreas Jaeger <aj@suse.de>
16818
16819 [BZ# 6794]
16820 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16821 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16822 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16823
16824 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16825 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16826 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16827
16828 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16829 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16830 Adjust for changed ldbl-128 files.
16831
16832 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16833 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16835
e5270c23
DM
168362012-04-17 David S. Miller <davem@davemloft.net>
16837
16838 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16839
fb5e92c9
AS
168402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16841
16842 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16843 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16844 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16845 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16846 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16847 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16848
76da7265
AZ
168492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16850
16851 [BZ #6794]
16852 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16853 * math/libm-test.inc: Add ilogb errno and exception tests.
16854 * math/w_ilogb.c: New file: ilogb wrapper.
16855 * math/w_ilogbf.c: New file: ilogbf wrapper.
16856 * math/w_ilogbl.c: New file: ilogbl wrapper.
16857 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16858 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16859 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16860 exception being thrown with 0.0 as argument.
16861 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16862 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16863 exception being thrown with 0.0 as argument.
16864 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16865 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16866 exception being thrown with 0.0 as argument.
16867 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16868 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16869 exception being thrown with 0.0 as argument.
16870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16871 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16872 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16873 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16874 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16875 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16876 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16877 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16878 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16879
0396e69d
PB
168802012-04-17 Petr Baudis <pasky@ucw.cz>
16881
16882 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16883 with altivec.
16884
750b5926
MP
168852012-04-16 Marek Polacek <polacek@redhat.com>
16886
16887 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16888
751728a1
MP
168892012-04-16 Marek Polacek <polacek@redhat.com>
16890
16891 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16892 operands of fdivp instruction.
16893
34a27407
L
168942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16895
16896 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16897 * elf/tst-auditmod3b.c: Likewise.
16898 * elf/tst-auditmod4b.c: Likewise.
16899 * elf/tst-auditmod5b.c: Likewise.
16900 * elf/tst-auditmod6b.c: Likewise.
16901 * elf/tst-auditmod6c.c: Likewise.
16902 * elf/tst-auditmod7b.c: Likewise.
16903 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16904 * sysdeps/x86_64/preconfigure.in: Likewise.
16905 * sysdeps/x86_64/preconfigure: Regenerated.
16906
7e73e17d
L
169072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16908
16909 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16910 __ILP32__.
16911
c7a6ab72
AB
169122012-04-13 Antoine Balestrat <merkil33@gmail.com>
16913
16914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16915 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16916
a9e8e0e0
CL
169172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16918
16919 [BZ #13973]
16920 * locale/iso-639.def: Fix gl language name. Spotted by
16921 Yaron Shahrabani.
16922
ec98af7d
RM
169232012-04-12 Roland McGrath <roland@hack.frob.com>
16924
16925 [BZ #2074]
16926 * libio/libio.h (__io_write_fn): Update comment.
16927
247c3ede
PB
169282012-04-12 Petr Baudis <pasky@ucw.cz>
16929
16930 [BZ #2074]
16931 * stdio.texi (Hook Functions): The user provided writer function
16932 is not allowed to return -1.
16933
55939d6d
DM
169342012-04-11 David S. Miller <davem@davemloft.net>
16935
16936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16937
90020f5a
MF
169382012-04-11 Mike Frysinger <vapier@gentoo.org>
16939
16940 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16941 Add a leading slash to rtkaio.
16942
288f9098
JM
169432012-04-11 Jim Meyering <meyering@redhat.com>
16944
90020f5a
MF
16945 [BZ #11959]
16946 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16947 It is not necessarily an error to ignore fwrite's return
16948 value. One can reliably use ferror to test for errors after
16949 the fact.
288f9098 16950
4be2b570
L
169512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16952
16953 * bits/types.h (__snseconds_t): New type.
16954 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16955
16956 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16958 (__SNSECONDS_T_TYPE): Likewise.
16959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16960 (__SNSECONDS_T_TYPE): Likewise.
16961 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16962 (__SNSECONDS_T_TYPE): Likewise.
16963
288f9098 169642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16965
16966 [BZ #2636]
16967 * manual/time.texi (Processor Time): Return type of times is
16968 elapsed real time since an arbitrary point in the past.
16969 (CPU Time): Move CLK_TCK from here...
16970 (Processor Time): ...to here. Correct description.
16971 * manual/conf.texi (Constants for Sysconf): Correct description of
16972 _SC_CLK_TCK.
16973
d7dd4413
DM
169742012-04-10 David S. Miller <davem@davemloft.net>
16975
16976 [BZ #13967]
16977 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16978 where the is a gap between DT_REL(A) and DT_JMPREL.
16979
b46068fc
L
169802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16981
16982 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16983 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16984 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16985
73d65cc3
SP
169862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16987
16988 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16989 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16990 (dl_main): Handle --inhibit-cache.
16991 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16992 _dl_inhibit_cache.
16993 * elf/dl-load.c (_dl_map_object): Use it.
16994 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16995
bcc8d661
JM
169962012-04-09 Joseph Myers <joseph@codesourcery.com>
16997
8f9a2fae
JM
16998 [BZ #13872]
16999 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17000 (__ieee754_powl): Saturate large exponents rather than testing for
17001 overflow of y*log2(x).
17002 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17003 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17004 exceptions.
17005
bcc8d661
JM
17006 [BZ #11521]
17007 * math/s_ctan.c: Include <float.h>.
17008 (__ctan): Avoid internal overflow or cancellation in calculating
17009 denominator.
17010 * math/s_ctanf.c: Likewise.
17011 * math/s_ctanl.c: Likewise.
17012 * math/s_ctanh.c: Likewise.
17013 * math/s_ctanhf.c: Likewise.
17014 * math/s_ctanhl.c: Likewise.
17015 * math/libm-test.inc (ctan_test): Add more tests.
17016 (ctanh_test): Likewise.
17017 * sysdeps/i386/fpu/libm-test-ulps: Update.
17018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17019
823fbbb4
AJ
170202012-04-09 Andreas Jaeger <aj@suse.de>
17021
03879793
AJ
17022 [BZ #6894]
17023 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17024 is an optional BSD extension.
17025
823fbbb4
AJ
17026 [BZ #10254]
17027 * manual/stdio.texi (Opening Streams): Document additional fopen
17028 parameters.
17029
8de131cb
RM
170302012-04-09 Roland McGrath <roland@hack.frob.com>
17031
17032 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17033 %eax without telling the compiler.
17034
c0ed9d7d
CD
170352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17036
17037 [BZ # 13963]
17038 * manual/install.texi: Use sourceware.org.
17039
c483f6b4
JM
170402012-04-09 Joseph Myers <joseph@codesourcery.com>
17041
d7dd9453
JM
17042 [BZ #13873]
17043 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17044 (__ieee754_pow): Generate overflow and underflow using huge*huge
17045 and tiny*tiny rather than just returning constant infinity or zero
17046 for large exponents.
17047 * math/libm-test.inc (pow_test): Require overflow exceptions for
17048 applicable cases of large exponents.
17049
c483f6b4
JM
17050 [BZ #706]
17051 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17052 (__ieee754_pow): Use iterative multiplication algorithm only for
17053 integer exponents with absolute value below 1024. Check for odd
17054 integer exponents when using algorithm for real exponents.
17055 * math/libm-test.inc (pow_test): Add more tests.
17056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17057
d2de7579
JM
170582012-04-08 Joseph Myers <joseph@codesourcery.com>
17059
17060 [BZ #13705]
17061 * math/libm-test.inc (exp_test): Do not allow overflow exception
17062 on underflow test.
17063
f77f1232
AJ
170642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17065
17066 [BZ #13705]
17067 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17068 instead of __kernel_standard_f.
17069
3884932b
MF
170702012-04-08 Mike Frysinger <vapier@gentoo.org>
17071
17072 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17073 * sysdeps/x86_64/memset_chk.S: Likewise.
17074
54472e9c
AJ
170752012-04-08 Andreas Jaeger <aj@suse.de>
17076
6ab0fbfc
AJ
17077 [BZ #10153]
17078 * manual/startup.texi (Environment Access): Describe return value
17079 for putenv and setenv.
17080
61efba8c
AJ
17081 [BZ #6895]
17082 * manual/filesys.texi (Directory Entries): Add description for
17083 DT_LNK.
17084
95c3f29a
AJ
17085 [BZ #6890]
17086 * manual/filesys.texi (Directory Entries): Clarify that it's file
17087 system not operating system in the description of DT_UNKNOWN.
17088
54472e9c
AJ
17089 [BZ #6578]
17090 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17091
624254b1
SC
170922012-04-08 Stephen Compall <s11@member.fsf.org>
17093
17094 [BZ #6649]
17095 * manual/llio.texi (Opening and Closing Files): Add cross
17096 reference to explain mode argument.
17097
1e4920e0
MF
170982012-04-07 Mike Frysinger <vapier@gentoo.org>
17099
17100 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17101 * sysdeps/x86_64/memset_chk.S: Likewise.
17102
5ed848f3
DM
171032012-04-07 David S. Miller <davem@davemloft.net>
17104
17105 * elf/elf.h (R_SPARC_WDISP10): Define.
17106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17107 R_SPARC_SIZE32.
17108 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17109 R_SPARC_SIZE64 and R_SPARC_H34.
17110
96154cd8
CD
171112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17112
17113 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17114 conditions and remove no longer applicable assertion.
17115
9904dc47
L
171162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17117
17118 * bits/byteswap.h: Include <features.h>.
17119 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17120 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17121
f8887d0a
L
171222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17123
17124 * bits/byteswap.h (__bswap_16): Removed.
17125 Include <bits/byteswap-16.h> to get __bswap_16.
17126 * sysdeps/i386/bits/byteswap.h: Likewise.
17127 * sysdeps/s390/bits/byteswap.h: Likewise.
17128 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17129 * bits/byteswap-16.h: New file.
17130 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17131 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17132 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17133 * string/Makefile (headers): Add bits/byteswap-16.h.
17134
62470f60
PP
171352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17136
17137 [BZ #13895]
17138 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17139 extra indirection.
17140 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17141 * nss/tst-nss-static.c: New.
17142
4dad7bab
RM
171432012-04-06 Robert Millan <rmh@gnu.org>
17144
17145 [BZ #6486]
17146 * manual/llio.texi (File Position Primitive): lseek
17147 refers to WHENCE when it really means OFFSET.
17148
e9142a17
AJ
171492012-04-06 Andreas Jaeger <aj@suse.de>
17150
2c040eff
AJ
17151 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17152 strncmp declarations.
17153
e9142a17
AJ
17154 * abilist/libc.abilist: Add __poll and __ppoll.
17155
ff9f1c5f
DM
171562012-04-05 David S. Miller <davem@davemloft.net>
17157
dcd2ae90
DM
17158 * scripts/check-local-headers.sh: Accept a host triplet in the
17159 path matched by the exclude regexp.
17160
993eb054
DM
17161 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17162 definition.
17163 * sysdeps/powerpc/powerpc32/dl-machine.h
17164 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17165 * sysdeps/s390/s390-32/dl-machine.h
17166 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17167 * sysdeps/sparc/sparc32/dl-machine.h
17168 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17169 * sysdeps/sparc/sparc64/dl-machine.h
17170 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17171
ff9f1c5f
DM
17172 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17173 lazy binding.
48e2e132 17174 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17175 undefined symbol errors.
17176
48e2e132 17177 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17178 DT_NEEDED entries.
17179
e80d6f94
MM
171802012-04-05 Michael Matz <matz@suse.de>
17181
17182 [BZ #13592]
17183 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17184
349fa79f
AJ
171852012-04-05 Andreas Jaeger <aj@suse.de>
17186
17187 [BZ #13908]
17188 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17189 comment.
17190
f402708f
KK
171912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17192
17193 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17194 which ROUND is no valid rounding mode.
17195
2ecccfc9
KK
171962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17197
17198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17199 read again.
17200 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17201
8a53f50f
KK
172022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17203
17204 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17205 an exception using FPU order intentionally.
17206
172072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17208
17209 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17210 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17211 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17212 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17213
d653abb7
SJ
172142012-04-05 Simon Josefsson <simon@josefsson.org>
17215
17216 [BZ #12340]
17217 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17218 EINVAL when BUFLEN is too smal.
17219
c3b1bf7d
TS
172202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17221
17222 [BZ #13553]
17223 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17224 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17225
b1aa60f3
AJ
172262012-04-03 Andreas Jaeger <aj@suse.de>
17227
c3b1bf7d 17228 [BZ #13938]
67f60a26
AJ
17229 * manual/setjmp.texi (System V contexts): Fix sentence.
17230
b1aa60f3
AJ
17231 [BZ #13926]
17232 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17233 New macro for this case.
17234 [!__GNUC__] (__bswap_64): New inline function for this case.
17235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17236 * bits/byteswap.h: Likewise.
17237 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17238 ull, guard with __GLIBC_HAVE_LONG_LONG.
17239
17240 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17241 __GLIBC_HAVE_LONG_LONG.
17242
17243 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17244 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17245
39c59c35
TMQMF
172462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17247
17248 [BZ #13691]
17249 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17250 inptr and inend, rather than using last_ch.
17251
135ffda8
DM
172522012-04-02 David S. Miller <davem@davemloft.net>
17253
17254 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17255 * stdio-common/printf-parse.h (read_int): Change return type to
17256 'int', return -1 on INT_MAX overflow.
17257 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17258 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17259 overflows INT_MAX. Check for overflow of in-format-string precision
17260 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17261 SIZE_MAX not INT_MAX for integer overflow test.
17262 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17263 skip the construct in the format string but do not record anything.
17264 * stdio-common/bug22.c: Adjust to test both width/prevision
17265 INT_MAX overflow as well as total length INT_MAX overflow. Check
17266 explicitly for proper errno values.
17267
228c019e
TS
172682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17269
302cadd3
TS
17270 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17271 CHAR_MAX.
17272 * string/test-strcmp.c [! WIDE]: Likewise.
17273 * time/tst-mktime2.c: Likewise for INT_MAX.
17274 * string/test-string.h: #include <sys/param.h> for MIN.
17275
228c019e
TS
17276 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17277 * sysdeps/i386/init-first.c (init): Likewise.
17278 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17279 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17280 * sysdeps/sh/init-first.c (init): Likewise.
17281
cfa633f5
UD
172822012-04-01 Ulrich Drepper <drepper@gmail.com>
17283
17284 * po/ru.po: Update from translation team.
d1635ef8 17285 * po/vi.po: Likewise.
cfa633f5 17286
6cd0a5ea
SP
172872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17288
17289 * resolv/nss_dns/dns-host.c: Merge copyright years.
17290
4b43400f
LD
172912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17292
17293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17294 Optimize memcpy with prefetch if
17295 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17296 src, dst pointers have unequal 16 byte alignments.
17297
48c41d04
SP
172982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17299
17300 [BZ #13928]
17301 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17302 from a CNAME entry and return the minimum ttl for the query.
17303 (gaih_getanswer_slice): Likewise.
17304
b8dc394d
JL
173052012-03-30 Jeff Law <law@redhat.com>
17306
17307 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17308 due to long keys.
17309 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17310 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17311
2f5a5ed0
JL
17312 * resolv/nss_dns/dns-host.c: Update copyright year.
17313
1d39e359
UD
173142012-03-30 Ulrich Drepper <drepper@gmail.com>
17315
c030f70c 17316 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17317 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17318
1d39e359
UD
17319 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17320 comments for sendmmsg.
17321
173222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17323
17324 [BZ #13691]
17325 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17326 with only 1 character between 0x0041 and 0x01b0.
17327 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17328 * wcsmbs/tst-mbsnrtowcs.c: New file.
17329
20fde227
DM
173302012-03-29 David S. Miller <davem@davemloft.net>
17331
17332 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17333 small copies by hand.
17334
984a4237
JL
173352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17336
17337 [BZ #13761]
17338 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17339 _nss_compat_initgroups_dyn): Fall back to malloc/free
17340 for large group memberships.
17341
18c9d62b
DM
173422012-03-28 David S. Miller <davem@davemloft.net>
17343
88d85d4f
DM
17344 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17345 that branches into memcpy.
17346 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17347 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17349 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17351 bits.
17352 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17353 implementation too.
17354 * sysdeps/sparc/mempcpy.S: New file.
17355
e5aa83e1
DM
17356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17357 the IFUNC routine in the libc case.
17358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17359
88570753
DM
17360 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17361 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17362 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17363 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17364 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17365 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17366 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17367 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17368
249d7567
DM
17369 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17370 loop to 256 bytes instead of 64 bytes and fix test signedness.
17371
18c9d62b
DM
17372 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17373 * sysdeps/sparc/sparc32/Makefile: rather than here...
17374 * sysdeps/sparc/sparc64/Makefile: and here.
17375
05f3d1f6
UD
173762012-03-28 Ulrich Drepper <drepper@gmail.com>
17377
17378 * malloc/mallocbug.c: Avoid warnings about unused variables.
17379
86ae07a8
JL
173802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17381
17382 [BZ #13760]
17383 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17384 in the right place. Discard and retry query if response is
17385 larger than input buffer size.
17386
41bf21a1
JM
173872012-03-28 Joseph Myers <joseph@codesourcery.com>
17388
d6270972
JM
17389 [BZ #369]
17390 [BZ #2678]
17391 [BZ #3866]
17392 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17393 x for large integer exponent.
17394 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17395 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17396 sign of result as needed afterwards.
17397 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17398 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17399 result for underflowing pow the same as for overflow.
17400 (__kernel_standard_l): Handle powl overflow and underflow here
17401 rather than calling __kernel_standard.
17402 * math/libm-test.inc (pow_test): Add more tests.
17403
414fca03 17404 [BZ #3868]
41bf21a1
JM
17405 [BZ #13879]
17406 [BZ #13910]
17407 [BZ #13911]
17408 [BZ #13912]
17409 [BZ #13913]
17410 [BZ #13915]
17411 [BZ #13916]
17412 [BZ #13917]
17413 [BZ #13918]
17414 [BZ #13919]
17415 [BZ #13920]
17416 [BZ #13921]
17417 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17418 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17419 (__kernel_standard_l): New function.
17420 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17421 __kernel_standard.
17422 * math/w_acosl.c (__acosl): Likewise.
17423 * math/w_asinl.c (__asinl): Likewise.
17424 * math/w_atan2l.c (__atan2l): Likewise.
17425 * math/w_atanhl.c (__atanhl): Likewise.
17426 * math/w_coshl.c (__coshl): Likewise.
17427 * math/w_exp10l.c (__exp10l): Likewise.
17428 * math/w_exp2l.c (__exp2l): Likewise.
17429 * math/w_fmodl.c (__fmodl): Likewise.
17430 * math/w_hypotl.c (__hypotl): Likewise.
17431 * math/w_j0l.c (__j0l, __y0l): Likewise.
17432 * math/w_j1l.c (__j1l, __y1l): Likewise.
17433 * math/w_jnl.c (__jnl, __ynl): Likewise.
17434 * math/w_lgammal.c (__lgammal): Likewise.
17435 * math/w_log10l.c (__log10l): Likewise.
17436 * math/w_log2l.c (__log2l): Likewise.
17437 * math/w_logl.c (__logl): Likewise.
17438 * math/w_powl.c (__powl): Likewise.
17439 * math/w_remainderl.c (__remainderl): Likewise.
17440 * math/w_scalbl.c (sysv_scalbl): Likewise.
17441 * math/w_sinhl.c (__sinhl): Likewise.
17442 * math/w_sqrtl.c (__sqrtl): Likewise.
17443 * math/w_tgammal.c (__tgammal): Likewise.
17444 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17445 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17446 * math/libm-test.inc (acos_test): Add more tests.
17447 (acosh_test): Likewise.
17448 (asin_test): Likewise.
17449 (atanh_test): Likewise.
17450 (exp_test): Likewise.
17451 (exp10_test): Likewise.
17452 (exp2_test): Likewise.
17453 (expm1_test): Likewise.
17454 (lgamma_test): Likewise.
17455 (log_test): Likewise.
17456 (log10_test): Likewise.
17457 (log1p_test): Likewise.
17458 (log2_test): Likewise.
17459 (pow_test): Do not allow some spurious overflow exceptions.
17460 (sqrt_test): Add more tests.
17461 (tgamma_test): Likewise.
17462 (y0_test): Likewise.
17463 (y1_test): Likewise.
17464 (yn_test): Likewise.
17465
dd62fda6
AB
174662012-03-27 Anton Blanchard <anton@samba.org>
17467
17468 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17469 MAP_HUGETLB.
17470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17473
1e3cdfda
AJ
174742012-03-27 David S. Miller <davem@davemloft.net>
17475
b855ab85
DM
17476 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17477
1e3cdfda
AJ
17478 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17479 have-as-vis3 check.
17480
174812012-03-27 Andreas Jaeger <aj@suse.de>
17482
17483 * sysdeps/x86_64/elf/configure.in: Moved to ...
17484 * sysdeps/x86_64/configure.in: ... here.
17485 * sysdeps/x86_64/elf/start.S: Moved to ...
17486 * sysdeps/x86_64/start.S: ... here.
17487 * sysdeps/x86_64/elf/configure: Delete.
17488
17489 * sysdeps/x86_64/configure.in: Merge contents from
17490 sysdeps/i386/configure.in (without i686 check).
17491
17492 * sysdeps/i386/elf/Versions: Merge into ...
17493 * sysdeps/i386/Versions: ... this.
17494 * sysdeps/i386/elf/Versions: Delete file.
17495 * sysdeps/i386/elf/start.S: Moved to ...
17496 * sysdeps/i386/start.S: ...here.
17497 * sysdeps/i386/elf/configure.in: Merge into...
17498 * sysdeps/i386/configure.in: ...here.
17499 * sysdeps/i386/elf/configure.in: Delete file.
17500 * sysdeps/i386/elf/configure: Delete file.
17501
17502 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17503 * debug/backtracesyms.c: ... here.
17504 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17505 * debug/backtracesymsfd.c: ... here.
17506 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17507 * sysdeps/generic/ifunc-sel.h: ... here.
17508
17509 * sysdeps/unix/i386/start.c: Delete file.
17510 * sysdeps/unix/sparc/start.c: Delete file.
17511 * sysdeps/unix/start.c: Delete file.
17512
17513 * sysdeps/sh/elf/configure.in: Moved to ...
17514 * sysdeps/sh/configure.in: ... here.
17515 * sysdeps/sh/elf/start.S: Moved to ...
17516 * sysdeps/sh/start.S: ... here.
17517 * sysdeps/sh/elf/configure: Delete file.
17518
17519 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17520 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17521 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17522 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17523 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17524 * sysdeps/powerpc/powerpc64/start.S: here.
17525 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17526 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17527 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17528 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17529 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17530
17531 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17532 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17533 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17534 * sysdeps/powerpc/powerpc32/start.S: ... here.
17535 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17536 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17537 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17538
17539 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17540 * sysdeps/powerpc/ifunc-sel.h: ... here.
17541 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17542 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17543
17544 * sysdeps/sparc/elf/configure.in: Moved to ...
17545 * sysdeps/sparc/configure.in: ... here.
17546 * sysdeps/sparc/elf/configure: Delete file.
17547 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17548 * sysdeps/sparc/sparc32/start.S: ... here.
17549 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17550 * sysdeps/sparc/sparc64/start.S: ... here.
17551 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17552 * sysdeps/sparc/sparc32/Makefile: ... this.
17553 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17554 * sysdeps/sparc/sparc64/Makefile: ... this.
17555
17556 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17557 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17558 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17559 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17560 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17561 * sysdeps/s390/s390-32/setjmp.S: ... here.
17562 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17563 * sysdeps/s390/s390-32/configure.in: ... here.
17564 * sysdeps/s390/s390-32/elf/configure: Delete file.
17565 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17566 * sysdeps/s390/s390-32/start.S: ... here.
17567
17568 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17569 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17570 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17571 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17572 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17573 * sysdeps/s390/s390-64/setjmp.S: ... here.
17574 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17575 * sysdeps/s390/s390-64/configure.in: ... here
17576 * sysdeps/s390/s390-64/elf/configure: Delete file.
17577 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17578 * sysdeps/s390/s390-64/start.S: ... here.
17579 * sysdeps/s390/s390-64/elf/configure: Delete.
17580
17581 * configure.in: Remove support for elf directories in sysdeps.
17582
17583 * configure: Regenerated.
17584 * sysdeps/i386/configure: Regenerated.
17585 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17586 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17587 * sysdeps/s390/s390-32/configure: Regenerated.
17588 * sysdeps/s390/s390-64/configure: Regenerated.
17589 * sysdeps/sh/configure: Regenerated.
17590 * sysdeps/sparc/configure: Regenerated.
17591 * sysdeps/x86_64/configure: Regenerated.
17592
a3f61311
AS
175932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17594
c876e002
AS
17595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17596
a3f61311
AS
17597 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17598 denormal result into account.
17599
ac4c54f0
RM
176002012-03-25 Roland McGrath <roland@hack.frob.com>
17601
17602 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17603 Reported by Allan McRae <allan@archlinux.org>.
17604
6a9b9c02
JL
176052012-03-23 Jeff Law <law@redhat.com>
17606
17607 * nss/getnssent.c (__nss_getent): Fix typo.
17608
4c42a0c1
DM
176092012-03-23 David S. Miller <davem@davemloft.net>
17610
17611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17612
1532c7ac
L
176132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17614
17615 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17616 to pad to uint64_t for each field.
17617 (dl_tls_index): Replace unsigned long with uint64_t.
17618
3ff42526
PP
176192012-03-23 Daniel Jacobowitz <dmj@google.com>
17620 Paul Pluzhnikov <ppluzhnikov@google.com>
17621
17622 [BZ #6528]
17623 * grp/Makefile (otherlibs): Don't set it.
17624 * inet/Makefile (otherlibs): Likewise.
17625 * login/Makefile (otherlibs): Likewise.
17626 * nscd/Makefile (otherlibs): Likewise.
17627 * posix/Makefile (otherlibs): Likewise.
17628 * pwd/Makefile (otherlibs): Likewise.
17629 * rt/Makefile (otherlibs): Likewise.
17630 * sunrpc/Makefile (otherlibs): Likewise.
17631 * nss/Makefile (otherlibs): Likewise.
17632 Add libnss_files to routines and static-only-routines.
17633 ($(objpfx)getent): Remove rule.
17634 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17635 static-only-routines.
17636
7c69cd14
JM
176372012-03-22 Joseph Myers <joseph@codesourcery.com>
17638
17639 [BZ #13892]
17640 * math/s_cexp.c: Include <float.h>.
17641 (__cexp): Handle exp result overflowing not necessarily
17642 overflowing both real and imaginary parts of result.
17643 * math/s_cexpf.c: Likewise.
17644 * math/s_cexpl.c: Likewise.
17645 * math/libm-test.inc (cexp_test): Add more tests.
17646 * sysdeps/i386/fpu/libm-test-ulps: Update.
17647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17648
81b035fe
L
176492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17650
17651 * include/link.h (ELFW): New macro.
17652 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17653 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17654
1da7940c
L
176552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17656
17657 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17658 with uint64_t.
17659
b749dbb9
L
176602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17661
17662 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17663 declaration.
17664 (struct La_x32_retval): Likewise.
17665
2ff87f3f
L
176662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17667
17668 * sysdeps/x86_64/preconfigure.in: New file.
17669 * sysdeps/x86_64/preconfigure: New generated file.
17670
c0df8e69
JM
176712012-03-22 Joseph Myers <joseph@codesourcery.com>
17672
48e44791
JM
17673 [BZ #13824]
17674 * math/e_exp2l.c: Include <float.h>.
17675 (__ieee754_exp2l): Handle overflow and underflow cases
17676 separately. Only pass fractional part of argument to
17677 __ieee754_expl.
17678 * math/libm-test.inc (exp2_test): Add more tests.
17679
c0df8e69
JM
17680 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17681 negating x to take absolute value.
17682 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17683 Likewise.
17684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17686 Likewise.
17687 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17688 computing low part if x was negated.
17689 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17690
c8e43ba7
L
176912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17694 la_x32_gnu_pltexit.
17695 (pltexit): Cast int_retval to ptrdiff_t.
17696 * elf/tst-auditmod3b.c: Likewise.
17697 * elf/tst-auditmod4b.c: Likewise.
17698 * elf/tst-auditmod5b.c: Likewise.
17699 * elf/tst-auditmod6b.c: Likewise.
17700 * elf/tst-auditmod6c.c: Likewise.
17701 * elf/tst-auditmod7b.c: Likewise.
17702
17703 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17704 and x32_gnu_pltexit.
17705
17706 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17707 __ELF_NATIVE_CLASS.
17708 (La_x32_regs): New macro.
17709 (La_x32_retval): Likewise.
17710 (la_x32_gnu_pltenter): New function prototype.
17711 (la_x32_gnu_pltexit): Likewise.
17712
7998fa78
AS
177132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17714
dcb33988
AS
17715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17716 exponent.
17717
233fc563
AS
17718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17719
7998fa78
AS
17720 * configure.in (libc_cv_cc_nofma): Check for option to disable
17721 generation of FMA instructions.
17722 * configure: Regenerate.
17723 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17724 * sysdeps/ieee754/dbl-64/Makefile: New file.
17725 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17726 Remove brandred-fma4.
17727 (CFLAGS-brandred-fma4.c): Remove.
17728 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17729 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17730 define.
17731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17732 define.
17733
8e95c99a
L
177342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17735
17736 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17737 LLONG_MAX != LONG_MAX.
17738 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17739 (_fitoa_word): Likewise.
17740 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17741 LLONG_MAX != LONG_MAX.
17742 * stdio-common/_itowa.h: Include <_itoa.h>.
17743 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17744 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17745 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17746 only if not defined.
17747 (_ITOA_WORD_TYPE): Likewise.
17748 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17749 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17750
6f4db457
DM
177512012-03-21 David S. Miller <davem@davemloft.net>
17752
17753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17754
7785fe5a
L
177552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17756
17757 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17758 of x86_64 when setting libc_cv_slibdir, libdir and
17759 libc_cv_localedir.
17760 * sysdeps/unix/sysv/linux/configure: Regenerated.
17761
4535cd55
JM
177622012-03-21 Joseph Myers <joseph@codesourcery.com>
17763
17764 * manual/lang.texi (Old Varargs): Remove section.
17765 (How Variadic): Update menu.
17766 (va_start): Do not mention varargs.h.
17767
17228132
TS
177682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17769 Joseph Myers <joseph@codesourcery.com>
17770
17771 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17772 link test.
17773 * configure: Regenerated.
17774
8149f976
TS
177752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17776
05f3d1f6
UD
17777 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17778 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17779 conformtest.pl
8149f976 17780
1a4ac776
JM
177812012-03-21 Joseph Myers <joseph@codesourcery.com>
17782
be22ce65
JM
17783 * NOTES: Remove.
17784 * Makefile (files-for-dist): Remove NOTES.
17785 (NOTES): Remove rule.
17786 * README: Don't refer to NOTES.
17787 * manual/creature.texi: Don't include macros.texi.
17788 * manual/intro.texi (creature.texi): Remove comment referring to
17789 NOTES.
17790
40b601fb
JM
17791 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17792 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17793 * configure: Regenerated.
17794 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17795 LIBC_TRY_CC_OPTION.
17796 (libc_cv_as_i686): Likewise.
17797 (libc_cv_cc_avx): Likewise.
17798 (libc_cv_cc_sse2avx): Likewise.
17799 (libc_cv_cc_fma4): Likewise.
17800 (libc_cv_cc_novzeroupper): Likewise.
17801 * sysdeps/i386/configure: Regenerated.
17802
1a4ac776
JM
17803 [BZ #13883]
17804 * sysdeps/i386/fpu/s_cexp.S: Remove.
17805 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17806 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17807 * math/libm-test.inc (cexp_test): Add more tests.
17808 * sysdeps/i386/fpu/libm-test-ulps: Update.
17809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17810
a458e7fe
AM
178112012-03-21 Allan McRae <allan@archlinux.org>
17812
17813 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17814
0cb7efc5
JM
178152012-03-21 Joseph Myers <joseph@codesourcery.com>
17816
17817 [BZ #13871]
17818 * math/w_exp2.c: Do not include <float.h>.
17819 (o_threshold, u_threshold): Remove.
17820 (__exp2): Calculate result before checking finiteness and calling
17821 __kernel_standard.
17822 * math/w_exp2f.c: Likewise.
17823 * math/w_exp2l.c: Likewise.
17824 * math/libm-test.inc (exp2_test): Require overflow exception for
17825 1e6 input.
2460d3aa
JM
17826
17827 [BZ #3866]
17828 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17829 range of signed 64-bit integers before using fistpll. Remove
17830 checks for whether integers fit in mantissa bits.
17831 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17832 the range of signed 32-bit integers before using fistpl. Remove
17833 checks for whether integers fit in mantissa bits.
17834 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17835 (__ieee754_powl): Test for y outside the range of signed 64-bit
17836 integers before using fistpll. Reduce 64-bit values to 63-bit
17837 ones as needed.
17838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17839 divide-by-zero is raised for zero to large negative powers.
17840 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17841 (__ieee754_powl): Test for y outside the range of signed 64-bit
17842 integers before using fistpll. Reduce 64-bit values to 63-bit
17843 ones as needed.
17844 * math/libm-test.inc (pow_test): Add more tests.
17845
eb96ffb0
L
178462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17847
17848 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17849 <stdio-common/_itoa.h>.
17850 * debug/segfault.c: Likewise.
17851 * elf/dl-cache.c: Likewise.
17852 * elf/dl-minimal.c: Likewise.
17853 * elf/dl-misc.c: Likewise.
17854 * elf/dl-sysdep.c: Likewise.
17855 * elf/dl-version.c: Likewise.
17856 * elf/rtld.c: Likewise.
17857 * hurd/hurdsock.c: Likewise.
17858 * hurd/lookup-retry.c: Likewise.
17859 * malloc/malloc.c: Likewise.
17860 * malloc/mtrace.c: Likewise.
17861 * nscd/nscd_getgr_r.c: Likewise.
17862 * nscd/nscd_getpw_r.c: Likewise.
17863 * nscd/nscd_getserv_r.c: Likewise.
17864 * posix/getopt_init.c: Likewise.
17865 * posix/wordexp.c: Likewise.
17866 * stdio-common/_itoa.c: Likewise.
17867 * stdio-common/printf_fphex.c: Likewise.
17868 * stdio-common/vfprintf.c: Likewise.
17869 * string/_strerror.c: Likewise.
17870 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17871 * sysdeps/i386/i686/hp-timing.h: Likewise.
17872 * sysdeps/mach/_strerror.c: Likewise.
17873 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17874 * sysdeps/mach/hurd/sethostid.c: Likewise.
17875 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17876 * sysdeps/mach/xpg-strerror.c: Likewise.
17877 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17879 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17880 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17881 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17882 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17883 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17884 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17885 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17886 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17887 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17888 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17889 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17890 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17891 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17892 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17893 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17894 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17895 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17896 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17897 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17898
17899 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17900
17901 * stdio-common/_itoa.h: Moved to ...
17902 * sysdeps/generic/_itoa.h: Here.
17903
17904 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17905
17906 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17907 instead of "_itoa.h" and "_itowa.h".
17908 * stdio-common/vfprintf.: Likewise.
17909
d1af992d
L
179102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17911
17912 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17913 <bits/wordsize.h>.
17914 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17915 (__signbit): Likwise.
17916 (llrintf): Likwise.
17917 (llrint): Likwise.
17918
114883e0
L
179192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17920
17921 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17922 __WORDSIZE != 64.
17923
c135cc1b
JM
179242012-03-20 Joseph Myers <joseph@codesourcery.com>
17925
17926 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17927 OVERFLOW_EXCEPTION_OK.
17928 * math/libm-test.inc ("Philosophy"): Update comment about
17929 exception testing.
17930 (OVERFLOW_EXCEPTION): Define.
17931 (OVERFLOW_EXCEPTION_OK): Likewise.
17932 (INVALID_EXCEPTION_OK): Renumber.
17933 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17934 (IGNORE_ZERO_INF_SIGN): Likewise.
17935 (test_exceptions): Handle FE_OVERFLOW.
17936 (exp10_test): Expect overflow exceptions.
17937 (exp2_test): Likewise.
17938 (expm1_test): Likewise.
17939 (nextafter_test): Likewise.
17940 (pow_test): Likewise.
17941 (scalbn_test): Likewise.
17942 (scalbln_test): Likewise.
17943
95443d88
L
179442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17945
17946 * sysdeps/x86_64/bits/atomic.h
17947 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17948 64bit integer.
17949 (atomic_exchange_acq): Likewise.
17950 (__arch_exchange_and_add_body): Likewise.
17951 (__arch_add_body): Likewise.
17952 (atomic_add_negative): Likewise.
17953 (atomic_add_zero): Likewise.
17954
490df6c4
L
179552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17956
c2722551 17957 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17958 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17959
5e52b189
L
179602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17961
17962 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17963 Check __x86_64__ instead of __WORDSIZE.
17964
a9879d4c
L
179652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17968
5df98260
DM
179692012-03-19 David S. Miller <davem@davemloft.net>
17970
e1497744
DM
17971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17972
5df98260
DM
17973 * sysdeps/sparc/fpu/fenv_private.h: New file.
17974 * sysdeps/sparc/fpu/math_private.h: Use it.
17975 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17976 Remove.
17977 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17978 (libc_feholdexcept_setroundl): Remove.
17979 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17980 Remove.
17981 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17982 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17983
b4c35121
L
179842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17985
17986 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17987 int64_t instead of long int.
17988 (INSERT_WORDS64): Likwise.
17989
56965fd7
L
179902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17991
17992 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17993 _Unwind_GetCFA return to _Unwind_Ptr first.
17994
83d1aec8
JM
179952012-03-19 Joseph Myers <joseph@codesourcery.com>
17996
1897ad44
JM
17997 [BZ #13629]
17998 * math/s_clog.c: Include <float.h>.
17999 (__clog): Scale large or subnormal inputs.
18000 * math/s_clogf.c: Likewise.
18001 * math/s_clogl.c: Likewise.
18002 * math/s_clog10.c: Include <float.h>.
18003 (M_LOG10_2): Define.
18004 (__clog10): Scale large or subnormal inputs.
18005 * math/s_clog10f.c: Likewise.
18006 * math/s_clog10l.c: Likewise.
18007 * math/libm-test.inc (clog_test): Add more tests.
18008 (clog10_test): Likewise.
18009 * sysdeps/i386/fpu/libm-test-ulps: Update.
18010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18011
7726d6a9
JM
18012 [BZ #11451]
18013 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18014 x and y.
18015 * math/libm-test.inc (atan2_test): Add another test.
18016
83d1aec8
JM
18017 * Makerules (common-objdir-compile): Remove.
18018 * sysdeps/unix/Makefile (config-generated): Do not add
18019 $(unix-generated) to variable.
18020 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18021 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18022 Remove rule.
18023 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18024 Likewise.
18025 [generic bits/local_lim.h] (before-compile): Do not append to
18026 variable.
18027 [generic bits/local_lim.h] (common-generated): Likewise.
18028 [generic sys/param.h] (before-compile): Do not append to variable.
18029 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18030 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18031 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18032 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18033 include.
18034 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18035 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18036 [generic sys/param.h] ($(addprefix
18037 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18038 [generic sys/param.h] (common-generated): Do not append to
18039 variable.
18040 [generic sys/param.h] (sysdep_headers): Likewise.
18041 [generic bits/errno.h] (before-compile): Do not append to
18042 variable.
18043 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18044 rule.
18045 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18046 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18047 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18048 [generic bits/errno.h] (common-generated): Do not append to
18049 variable.
18050 [generic bits/ioctls.h] (before-compile): Do not append to
18051 variable.
18052 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18053 rule.
18054 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18055 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18056 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18057 rule.
18058 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18059 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18060 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18061 [generic bits/ioctls.h] (common-generated): Do not append to
18062 variable.
18063 [generic sys/syscall.h] (syscall.h): Remove variable.
18064 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18065 rule.
18066 [generic sys/syscall.h] (before-compile): Do not append to
18067 variable.
18068 [generic sys/syscall.h] (common-generated): Likewise.
18069 * sysdeps/unix/errnos-tmpl.c: Remove file.
18070 * sysdeps/unix/errnos.awk: Likewise.
18071 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18072 * sysdeps/unix/ioctls.awk: Likewise.
18073 * sysdeps/unix/mk-local_lim.c: Likewise.
18074 * sysdeps/unix/snarf-ioctls: Likewise.
18075
4851a949
RH
180762012-03-19 Richard Henderson <rth@twiddle.net>
18077
bd37f2ee
RH
18078 * sysdeps/i386/fpu/fenv_private.h: New file.
18079 * sysdeps/i386/fpu/math_private.h: Use it.
18080 (math_opt_barrier, math_force_eval): Remove.
18081 (libc_feholdexcept_setround_53bit): Remove.
18082 (libc_feupdateenv_53bit): Remove.
18083 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18084 (math_opt_barrier, math_force_eval): Remove.
18085 (libc_feholdexcept): Remove.
18086 (libc_feholdexcept_setround): Remove.
18087 (libc_fetestexcept, libc_fesetenv): Remove.
18088 (libc_feupdateenv_test): Remove.
18089 (libc_feupdateenv, libc_feholdsetround): Remove.
18090 (libc_feresetround): Remove.
18091
d0adc922
RH
18092 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18093 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18094
0fe0f1f8
RH
18095 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18096 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18097 (libc_feupdateenv_testl): New.
18098 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18099 (libc_feupdateenv_testf): New.
18100 (libc_feupdateenv): Use libc_feupdateenv_test.
18101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18102 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18103
eb92c487
RH
18104 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18105 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18106 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18107 (libc_feresetround_noex): New.
18108 (libc_feresetround_noexf): New.
18109 (libc_feresetround_noexl): New.
18110 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18111 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18112 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18113 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18114 SET_RESTORE_ROUND.
18115 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18117 (__cos): Likewise.
18118 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18119 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18120 SET_RESTORE_ROUND_NOEX.
18121 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18122 SET_RESTORE_ROUND_NOEXF.
18123 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18124 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18125 (libc_feholdsetroundf): New.
18126 (libc_feresetround, libc_feresetroundf): New.
18127
7d2e8012
RH
18128 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18129 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18130 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18131
b4dabbb4
RH
18132 * sysdeps/generic/math_private.h: Include <fenv.h>.
18133 (default_libc_feholdexcept): New.
18134 (default_libc_feholdexcept_setround): New.
18135 (default_libc_fesetenv, default_libc_feupdateenv): New.
18136 (libc_feholdexcept): Only define if undefined.
18137 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18138 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18139 (libc_feholdexcept_setroundl): Likewise.
18140 (libc_feholdexcept_setround_53bit): Likewise.
18141 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18142 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18143 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18144 (libc_feupdateenv_53bit): Likewise.
18145 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18146 (libc_feholdexcept): Convert from macro to inline function.
18147 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18148 (libc_fesetenv, libc_feupdateenv): Likewise.
18149
4851a949
RH
18150 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18151 not previously defined.
18152 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18153 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18154 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18155 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18156 * sysdeps/ieee754/flt-32/math_private.h: New file.
18157 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18158 math_private.h below SET_FLOAT_WORD.
18159 (__isnan, __isinf_ns, __finite): Remove.
18160 (__isnanf, __isinf_nsf, __finitef): Remove.
18161
e79d442e
AS
181622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18163
18164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18165
90b80344
DM
181662012-03-17 David S. Miller <davem@davemloft.net>
18167
18168 [BZ #6471]
18169 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18170 for 2.16.
18171
edc21804
DM
181722012-03-16 David S. Miller <davem@davemloft.net>
18173
77e927af
DM
18174 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18175 warnings.
18176
374976dd
DM
18177 [BZ #6471]
18178 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18179 properly.
18180 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18181 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18182 sysdep_routines when subdir is sysvipc.
18183 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18184 __getshmlba helper.
18185
edc21804
DM
18186 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18187
473c3ef3
L
181882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18189
18190 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18191 [__LP64__].
18192
eb0f39b6
L
181932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18194
18195 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18196 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18197 (__lround): Renamed to ...
18198 (__llround): This. Replace long int with long long int.
18199 Define lround functions as aliases of llround functions.
18200 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18201
6b6cd74b
L
182022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18203
18204 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18205 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18206 adresses to uintptr_t. Replace "long int" and "unsigned long
18207 int" with "greg_t" on va_arg.
18208
f1a77b01
L
182092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18210
18211 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18212 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18213
18214 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18215 Move e_machine check before EI_CLASS check. Handle x32
18216 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18217 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18218 SKIP_EM_IA_64 and include
18219 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18220
18221 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18222 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18223 (add_system_dir): New macro.
18224
18225 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18226 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18227
11b90b9f
JM
182282012-03-16 Joseph Myers <joseph@codesourcery.com>
18229
c36e1d23
JM
18230 [BZ #2551]
18231 [BZ #2552]
18232 [BZ #2553]
18233 [BZ #2554]
18234 [BZ #2562]
18235 [BZ #2563]
18236 [BZ #2565]
18237 [BZ #2566]
18238 [BZ #2576]
18239 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18240 (y0): Likewise.
18241 * math/w_j0f.c (j0f): Likewise.
18242 (y0f): Likewise.
18243 * math/w_j0l.c (__j0l): Likewise.
18244 (__y0l): Likewise.
18245 * math/w_j1.c (j1): Likewise.
18246 (y1): Likewise.
18247 * math/w_j1f.c (j1f): Likewise.
18248 (y1f): Likewise.
18249 * math/w_j1l.c (__j1l): Likewise.
18250 (__y1l): Likewise.
18251 * math/w_jn.c (jn): Likewise.
18252 (yn): Likewise.
18253 * math/w_jnf.c (jnf): Likewise.
18254 (ynf): Likewise.
18255 * math/w_jnl.c (__jnl): Likewise.
18256 (__ynl): Likewise.
18257 * math/libm-test.inc (j0_test): Add more tests.
18258 (j1_test): Likewise.
18259 (jn_test): Likewise. Add trailing semicolon to existing test.
18260 (y0_test): Likewise.
18261 (y1_test): Likewise.
18262 * sysdeps/i386/fpu/libm-test-ulps: Update.
18263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18264
11b90b9f
JM
18265 [BZ #13851]
18266 [BZ #13854]
18267 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18268 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18269 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18270 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18271 (__tanl): Set errno for infinite argument.
18272 * sysdeps/i386/fpu/mptan.c: Remove.
18273 * sysdeps/i386/fpu/s_tan.S: Likewise.
18274 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18275 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18276 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18277 * math/libm-test.inc (tan_test): Add more tests and enable more
18278 tests for double and long double.
18279 * sysdeps/i386/fpu/libm-test-ulps: Update.
18280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18281
6a1bd2a1
JK
182822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18283
18284 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18285 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18286
10a803e0
RM
182872012-03-16 Roland McGrath <roland@hack.frob.com>
18288
18289 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18290 * configure.in: Use it for both main tree and add-ons.
18291 * configure: Regenerated.
18292
f196c7f7
L
182932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18294
18295 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18296
8848d99d
JM
182972012-03-16 Joseph Myers <joseph@codesourcery.com>
18298
96cbe7f4
JM
18299 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18300 in comment.
18301
8848d99d
JM
18302 [BZ #13851]
18303 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18304 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18308 infinite argument.
18309 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18311 != 0 for prec == 2.
18312 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18313 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18314 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18315 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18316 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18317 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18318 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18319 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18320 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18321 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18322 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18323 * math/libm-test.inc (cos_test): Add more tests and enable more
18324 tests for long double.
18325 (sin_test): Likewise.
18326 (sincos_test): Likewise.
18327 * sysdeps/i386/fpu/libm-test-ulps: Update.
18328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18329
dd7f4703
DM
183302012-03-16 David S. Miller <davem@davemloft.net>
18331
18332 * sysdeps/sparc/fpu/math_private.h: New file.
18333
006f1daa
DM
183342012-03-15 David S. Miller <davem@davemloft.net>
18335
c0c83bc8
DM
18336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18337 file.
e6a62e18 18338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18340 file.
e6a62e18
DM
18341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18347 sysdep routines.
18348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18349
88cb87d9
DM
18350 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18351 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18352
006f1daa 18353 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18355 sparc-ifunc.h
006f1daa 18356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18358 Likewise.
18359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18360 Likewise.
006f1daa
DM
18361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18365 Likewise.
006f1daa
DM
18366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18371 Likewise.
18372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18373 Likewise.
006f1daa
DM
18374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18380 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18381 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18383 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18390 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18391 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18396 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18397 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18398
11e0098e
AS
183992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18400
18401 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18402 scaling.
18403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18404
e85b09d0
AJ
184052012-03-15 Andreas Jaeger <aj@suse.de>
18406
18407 [BZ #13852]
18408 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18409 ieee754/flt-32 implementation for sin, cos and sincos.
18410 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18411 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18412 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18413 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18414 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18415 ieee754/flt-32 implementation for tan.
18416
18417 * math/libm-test.inc (cos_test): Enable some large input tests for
18418 float as well
18419 (sin_test): Likewise.
18420 (sincos_test): Likewise.
18421 (tan_test): Add tests for large input.
18422
18423 * sysdeps/i386/fpu/libm-test-ulps: Update.
18424
81c64153
AJ
184252012-03-15 Andreas Jaeger <aj@suse.de>
18426
18427 [BZ #13658]
18428 * math/libm-test.inc (cos_test): Add more test cases.
18429 (sin_test): Likewise.
18430 (sincos_test): Likewise.
18431
7bbfa5c6
AJ
184322012-03-15 Andreas Jaeger <aj@suse.de>
18433
18434 [BZ #13837]
18435 * math/libm-test.inc (cos_test): Add a test case for large input
18436 value.
18437 (sin_test): Likewise.
18438 (sincos_test): Likewise.
18439
184402012-03-15 Andreas Jaeger <aj@suse.de>,
18441 Joseph Myers <joseph@codesourcery.com>
18442
18443 [BZ #13658]
0671f479 18444 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18445 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18446 * sysdeps/i386/fpu/branred.c: Likewise.
18447 * sysdeps/i386/fpu/dosincos.c: Likewise.
18448 * sysdeps/i386/fpu/mpa.c: Likewise.
18449 * sysdeps/i386/fpu/s_cos.S: Likewise.
18450 * sysdeps/i386/fpu/s_sin.S: Likewise.
18451 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18452 * sysdeps/i386/fpu/sincos32.c: Likewise.
18453
18454 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18455 Define.
18456 (libc_feupdateenv_53bit): Define.
18457 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18458 Define.
18459 (libc_feupdateenv_53bit): Define.
18460
18461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18462 53 bit (without extend i386 double precision).
18463
18464 * math/libm-test.inc (sincos_test): Add tests for large input.
18465 (sin): Likewise.
18466 (cos): Likewise.
18467
18468 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18469
9cad04ea
AS
184702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18471
18472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18473
f7062b9a
DM
184742012-03-15 David S. Miller <davem@davemloft.net>
18475
18476 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18477 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18478 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18479 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18492 file.
f7062b9a 18493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18495 file.
f7062b9a 18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18498 file.
f7062b9a 18499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18501 file.
f7062b9a
DM
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18504 fmin/fmax sysdep routines.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18506
7bd951ff
DM
185072012-03-14 David S. Miller <davem@davemloft.net>
18508
559398ab
DM
18509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18520 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18531 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18532 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18538 routines.
18539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18540 file.
559398ab 18541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18543 file.
559398ab 18544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18546 file.
559398ab 18547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18549 file.
559398ab 18550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18552 file.
559398ab 18553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18555 file.
18556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18557 file.
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18559 file.
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18561 file.
18562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18563 New file.
18564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18565 file.
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18567 file.
559398ab 18568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18570 file.
559398ab 18571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18573 file.
559398ab 18574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18576 file.
559398ab 18577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18579 VIS3 routines.
559398ab
DM
18580
18581 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18582 New file.
18583
5a1c1e32
DM
18584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18585
eae47a36
DM
18586 * sysdeps/sparc/configure.in: New file.
18587 * sysdeps/sparc/configure: Generate.
18588 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18589 * configure: Regenerate.
18590 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18591 * config.make.in (have-as-vis3): New.
18592 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18593 available use -Av9d instead of -Av9a.
18594 * sysdeps/sparc/sparc64/Makefile: Likewise.
18595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18597 New file.
18598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18599 file.
18600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18601 New file.
18602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18603 file.
eae47a36
DM
18604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18609
c0c83bc8
DM
18610 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18611 fzeros/fnegs to load 0x80000000 into a float register instead of
18612 using the stack.
7bd951ff
DM
18613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18614
bd951ccb
JM
186152012-03-14 Joseph Myers <joseph@codesourcery.com>
18616
18617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18618 bits/syscall.h.
18619 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18620 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18621 ($(inst_includedir)/bits/syscall.h): Remove rule.
18622 ($(objpfx)bits/syscall.d): Include instead of
18623 $(objpfx)syscall-list.d.
18624 (generated): Change syscall-list.h and syscall-list.d to
18625 bits/syscall.h and bits/syscall.d.
18626
bb4e6db2
RM
186272012-03-14 Roland McGrath <roland@hack.frob.com>
18628
18629 [BZ #13846]
18630 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18631
aa4a2ae1
JM
186322012-03-14 Joseph Myers <joseph@codesourcery.com>
18633
e456826d
JM
18634 [BZ #13841]
18635 * math/s_csqrt.c: Include <float.h>.
18636 (__csqrt): Scale large or subnormal inputs.
18637 * math/s_csqrtf.c: Likewise.
18638 * math/s_csqrtl.c: Likewise.
18639 * math/libm-test.inc (csqrt_test): Add more tests.
18640 * sysdeps/i386/fpu/libm-test-ulps: Update.
18641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642
aa4a2ae1
JM
18643 [BZ #13840]
18644 * math/libm-test.inc (hypot_test): Add more tests.
18645
7c10fd35
DM
186462012-03-13 David S. Miller <davem@davemloft.net>
18647
18648 [BZ #13840]
18649 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18650 double-precision for the calculation instead of scaling.
18651
f453b98b
JM
186522012-03-13 Joseph Myers <joseph@codesourcery.com>
18653
18654 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18655 manipulate bits before adding and subtracting TWO52[sx].
18656 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18658 Likewise.
18659 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18660
09a3453f
DM
186612012-03-13 David S. Miller <davem@davemloft.net>
18662
8e59da90
DM
18663 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18664 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18666 rtld-global-offsets.h
18667 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18668
2a8ab7f2
DM
18669 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18670 large parameters.
18671
10f62770
DM
18672 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18673
5f0bdb18
DM
18674 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18675 'err' in the ifdef scope in which it is actually used.
18676
09a3453f
DM
18677 * nss/nss_db/db-init.c: Include string.h
18678
b4b2eb5e
DM
186792012-03-12 David S. Miller <davem@davemloft.net>
18680
98bb2f1c
DM
18681 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18682 masking out of the most significant byte of random value used.
18683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18684 Fix coding style in previous change.
18685
b4b2eb5e
DM
18686 * sysdeps/unix/sysv/linux/kernel-features.h
18687 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18688 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18689 expression.
18690 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18691 later.
18692
6e226b09
DM
186932012-03-11 David S. Miller <davem@davemloft.net>
18694
a1bcbd40
DM
18695 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18696 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18697 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18698 for 'resultvar' otherwise things get truncated on 64-bit.
18699
cb9d6174
DM
18700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18701 Fix masking out of the most significant byte of random value used.
18702
6e226b09
DM
18703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18704
058c132d
AS
187052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18706
18707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18708
2d2cd515
DM
187092012-03-09 David S. Miller <davem@davemloft.net>
18710
18711 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18712 variables with appropriate CPP guards.
18713 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18714 frame pointer, not the stack pointer. Correct layout comments. Fix test
18715 on resulting framesize and the management of the outregs buffer for pltexit.
18716 Preserve floating point return values across _dl_call_pltexit call.
18717 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18718 framesize and the management of the outregs buffer for pltexit.
18719 Preserve floating point return values across _dl_call_pltexit
18720 call.
18721 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18722 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18723 (print_exit): Fix format string for return register value.
18724
9a07f9d0
JM
187252012-03-10 Joseph Myers <joseph@codesourcery.com>
18726
18727 * sunrpc/Makefile (others): Add rpcgen.
18728 ($(objpfx)rpcgen): Remove special build rule and dependency on
18729 libc.
18730 * sunrpc/rpcgen.c: New file.
18731
547b5e30
PE
187322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18733
c524201a
PE
18734 [BZ #13673]
18735 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18736 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18737 * sysdeps/i386/crti.S: Likewise.
18738 * sysdeps/i386/crtn.S: Likewise.
18739 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18740 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18741 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18742 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18743 * sysdeps/sh/crti.S: Likewise.
18744 * sysdeps/sh/crtn.S: Likewise.
18745 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18746
7b6235f2
PE
18747 [BZ #13673]
18748 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18749 with URL.
18750 * locale/programs/locfile-kw.gperf: Likewise.
18751 * locale/programs/charmap-kw.h: Regenerated.
18752 * locale/programs/locfile-kw.h: Likewise.
18753
547b5e30
PE
18754 [BZ #13673]
18755 * intl/plural.y: Replace FSF snail mail address with URL.
18756 * intl/plural.c: Regenerated.
18757
5f0a5dae
RH
187582012-03-09 Richard Henderson <rth@twiddle.net>
18759
18760 * include/math_private.h: Remove file.
18761 * math/math_private.h: Move file ...
18762 * sysdeps/generic/math_private.h: ... here.
18763
b8c03620
RH
18764 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18765 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18766 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18767
4e234f5d 18768 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18769 and <math_private.h>.
18770 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18771 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18772 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18773 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18774 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18794 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18796 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18799 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18800 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18801 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18802 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18803 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18804 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18813 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18815 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18816 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18817 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18827 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18829 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18832 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18856 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18858 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18859 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18860 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18861 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18863 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18864 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18865 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18867 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18868 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18869 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18870 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18871 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18872 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18873 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18874 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18875 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18876 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18877 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18878 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18880 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18881 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18882 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18883 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18884 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18886 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18887 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18888 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18889 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18890 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18892 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18894 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18896 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18898 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18900 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18901 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18903 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18904 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18905 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18906 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18907 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18909 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18911 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18912 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18913 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18914 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18915 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18916 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18917 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18918 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18919 * sysdeps/ieee754/k_standard.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18947 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18949 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18951 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18952 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18953 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18954 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18955 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18957 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18960 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18961 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18962 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18963 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18964 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18965 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18969 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18970 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18971 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18972 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18973 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18974 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18975 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18976 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18977 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18978 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18979 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18980 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18981 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18982 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18983 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18984 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18985 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18986 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18988 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18989 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18990 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18992 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18993 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18995 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18997 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19035 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19039 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19040 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19042 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19047 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19050 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19052 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19068 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19069 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19070 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19080 * sysdeps/ieee754/s_lib_version.c: Likewise.
19081 * sysdeps/ieee754/s_matherr.c: Likewise.
19082 * sysdeps/ieee754/s_signgam.c: Likewise.
19083 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19085 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19086 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19087 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19088 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19089 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19090 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19091 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19092 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19093 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19094 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19095 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19096 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19097 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19098 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19099 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19100 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19101 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19102 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19103 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19104
1991fa03
JM
191052012-03-09 Joseph Myers <joseph@codesourcery.com>
19106
19107 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19108 * sunrpc/rpc_main.c: Likewise.
19109 * sunrpc/rpc_svcout.c: Likewise.
19110
60d6f5a6
DM
191112012-03-09 David S. Miller <davem@davemloft.net>
19112
19113 * include/math_private.h: New file.
19114
4962050e
JM
191152012-03-09 Joseph Myers <joseph@codesourcery.com>
19116
02a6f887
JM
19117 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19118 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19119 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19120 from <bits/socket_type.h>.
19121 (enum __socket_type): Don't define here.
19122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19124 bits/socket_type.h.
19125
c6e013c1
JM
19126 [BZ #13566]
19127 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19128 checking __USE_GNU.
19129
4962050e
JM
19130 * Makerules ($(inst_includedir)/%.h): New rule.
19131 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19132 (install-others): Remove variable setting.
19133 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19134
38842f45
RH
191352012-03-08 Richard Henderson <rth@twiddle.net>
19136
67bb6da6
RH
19137 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19138 from macro to inline function; merge with the
19139 !__LIBC_INTERNAL_MATH_INLINES version.
19140 (__ieee754_sqrtf): Likewise.
19141
15194b4b
RH
19142 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19143 to inline function.
19144 (__rintf, __floor, __floorf): Likewise.
19145
64e21ede
RH
19146 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19147 macro to inline function.
19148 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19149
38842f45
RH
19150 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19151 not <math/math_private.h>.
19152
c64bf5fe
DM
191532012-03-08 David S. Miller <davem@davemloft.net>
19154
19155 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19156 copyright year.
19157 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19158
82d86f28
TS
191592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19160
19161 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19162 normalization.
19163 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19164 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19165
aea5d727
UD
191662012-03-08 Ulrich Drepper <drepper@gmail.com>
19167
19168 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19169 be defined individually, they must be defined as a block. Define
19170 S for printing a string instead of hidint the different by using a
19171 macro for adding the 'l'.
19172 * stdio-common/tst-fphex-wide.c: Adjust.
19173
70bca0a3
MP
191742012-03-07 Marek Polacek <polacek@redhat.com>
19175
19176 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19177
65b81130
MP
191782012-03-08 Marek Polacek <polacek@redhat.com>
19179
19180 [BZ #13806]
19181 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19182 * stdio-common/tst-fphex.c: Define a few macros to make the
19183 test reusable. Use them.
19184 * stdio-common/tst-fphex-wide.c: New file.
19185
07037eeb
JM
191862012-03-08 Joseph Myers <joseph@codesourcery.com>
19187
a7a93d50
JM
19188 [BZ #6911]
19189 * manual/macros.texi (gnusystems): New macro.
19190 (nongnusystems): Likewise.
19191 (gnulinuxhurdsystems): Likewise.
19192 (gnuhurdsystems): Likewise..
19193 (gnulinuxsystems): Likewise.
19194 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19195 variants of the GNU system, not "GNU system".
19196 * manual/conf.texi: Likewise.
19197 * manual/errno.texi: Likewise. Update example of errno macro
19198 expansion.
19199 * manual/filesys.texi: Likewise.
19200 (getumask): Document as specific to GNU/Hurd.
19201 * manual/install.texi: Likewise. Reword some references to
19202 GNU/Linux.
19203 * manual/intro.texi: Likewise.
19204 * manual/io.texi: Likewise.
19205 (File Name Portability): Detail which constraints are inapplicable
19206 to all GNU systems and which are only inapplicable to GNU/Hurd.
19207 * manual/job.texi: Likewise.
19208 * manual/llio.texi: Likewise.
19209 (O_NOCTTY): Document as present on GNU/Linux.
19210 * manual/maint.texi: Likewise.
19211 * manual/memory.texi: Likewise.
19212 * manual/pattern.texi: Likewise.
19213 * manual/pipe.texi: Likewise.
19214 * manual/process.texi: Likewise.
19215 * manual/resource.texi: Likewise.
19216 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19217 child on GNU/Hurd.
19218 * manual/setjmp.texi: Likewise.
19219 * manual/signal.texi: Likewise.
19220 * manual/startup.texi: Likewise.
19221 * manual/stdio.texi: Likewise.
19222 * manual/terminal.texi: Likewise.
19223 (ONLCR): Document as POSIX.
19224 (OXTABS): Document availability on GNU/Linux as XTABS.
19225 (ONOEOT): Document availability separately from other bits.
19226 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19227 * manual/time.texi: Likewise.
19228 * manual/users.texi: Likewise.
19229 * INSTALL: Regenerated.
19230 * sysdeps/gnu/errlist.c: Regenerated.
19231
07037eeb
JM
19232 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19233 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19234 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19235 puts.
19236 * configure: Regenerated.
19237
d1d3431a
JM
192382012-03-07 Joseph Myers <joseph@codesourcery.com>
19239
af6a1e37
JM
19240 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19241 default includes instead of AC_HEADER_CHECK.
19242 * sysdeps/i386/configure: Regenerated.
19243
d1d3431a
JM
19244 [BZ #10716]
19245 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19246 * math/s_cacoshf.c (__cacoshf): Likewise.
19247 * math/s_cacoshl.c (__cacoshl): Likewise.
19248 * math/s_casinh.c (__casinh): Set signs of result from argument.
19249 * math/s_casinhf.c (__casinhf): Likewise.
19250 * math/s_casinhl.c (__casinhl): Likewise.
19251 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19252 (casinh_test): Add more tests.
19253 * sysdeps/i386/fpu/libm-test-ulps: Update.
19254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19255
482ff4da
UD
192562012-03-07 Ulrich Drepper <drepper@gmail.com>
19257
872fda05
UD
19258 * po/zh_TW.po: Update from translation team.
19259
a4300c7a
UD
19260 * login/Makefile (distribute): Remove variable.
19261 * catgets/Makefile: Likewise.
19262 * mach/Makefile: Likewise.
19263 * malloc/Makefile: Likewise.
19264 * misc/Makefile: Likewise.
19265 * iconv/Makefile: Likewise.
19266 * nscd/Makefile: Likewise.
19267 * hurd/Makefile: Likewise.
19268 * manual/Makefile: Likewise.
19269 * locale/Makefile: Likewise.
19270 * intl/Makefile: Likewise.
19271 * conform/Makefile: Likewise.
19272 * nss/Makefile: Likewise.
19273 * time/Makefile: Likewise.
19274 * soft-fp/Makefile: Likewise.
19275 * dirent/Makefile: Likewise.
19276 * gmon/Makefile: Likewise.
19277 * po/Makefile: Likewise.
19278 * rt/Makefile: Likewise.
19279 * socket/Makefile: Likewise.
19280 * math/Makefile: Likewise.
19281 * signal/Makefile: Likewise.
19282 * debug/Makefile: Likewise.
19283 * elf/Makefile: Likewise.
19284 * timezone/Makefile: Likewise.
19285 * stdlib/Makefile: Likewise.
19286 * iconvdata/Makefile: Likewise.
19287 * sunrpc/Makefile: Likewise.
19288 * io/Makefile: Likewise.
19289 * argp/Makefile: Likewise.
19290 * inet/Makefile: Likewise.
19291 * hesiod/Makefile: Likewise.
19292 * grp/Makefile: Likewise.
19293 * csu/Makefile: Likewise.
19294 * wctype/Makefile: Likewise.
19295 * crypt/Makefile: Likewise.
19296 * libio/Makefile: Likewise.
19297 * string/Makefile: Likewise.
19298 * nis/Makefile: Likewise.
19299 * resolv/Makefile: Likewise.
19300 * stdio-common/Makefile: Likewise.
19301 * wcsmbs/Makefile: Likewise.
19302 * dlfcn/Makefile: Likewise.
19303 * posix/Makefile: Likewise.
19304
3b7c4e74 19305 [BZ #6959]
482ff4da
UD
19306 * timezone/Makefile: Don't install timezone files, just the programs
19307 and scripts.
19308
f72ed77d
UD
193092012-03-06 Ulrich Drepper <drepper@gmail.com>
19310
a000466f
UD
19311 * nss/databases.def: Add missing gshadow entry.
19312
f72ed77d
UD
19313 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19314
a53b7a4e
MP
193152012-03-06 Marek Polacek <polacek@redhat.com>
19316
19317 [BZ #13726]
19318 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19319 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19320 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19321 * stdio-common/tst-long-dbl-fphex.c: New file.
19322
e9258400
DM
193232012-03-06 David S. Miller <davem@davemloft.net>
19324
19325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19326 (set_obp_int): New function.
19327 (get_obp_int): New function.
19328 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19329 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19330 Avoid unused variable warnings on 'val' and use builtin_expect.
19331 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19332 __builtin_expect.
e9258400
DM
19333 (INLINE_CLONE_SYSCALL): Likewise.
19334
3bd2c723
DM
193352012-03-05 David S. Miller <davem@davemloft.net>
19336
19337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19338
bbb78d03
AS
193392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19340
884c5db4
AS
19341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19342
bbb78d03
AS
19343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19344 only for |x| >= 40.
19345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19346
1c9f702a 193472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19348
19349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19350 Replace gettimeofday with __vdso_gettimeofday.
19351
7be16f82
RM
19352 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19353 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19354 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19355
19356 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19357 time with __vdso_time.
19358
ed58a00f
JM
193592012-03-05 Joseph Myers <joseph@codesourcery.com>
19360
19361 * manual/lang.texi (size_t): Note types to which size_t may be
19362 equivalent with the GNU C Library, but do not describe when
19363 differences between them are significant.
19364
30ee4ced
AJ
193652012-03-05 Andreas Jaeger <aj@suse.de>
19366
19367 * sysdeps/i386/fpu/libm-test-ulps: Update.
19368
b7cd39e8
JM
193692012-03-05 Joseph Myers <joseph@codesourcery.com>
19370
19371 [BZ #3976]
19372 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19373 (__ieee754_pow): Save and restore rounding mode and use
19374 round-to-nearest for main computations.
19375 * math/libm-test.inc (pow_test_tonearest): New function.
19376 (pow_test_towardzero): Likewise.
19377 (pow_test_downward): Likewise.
19378 (pow_test_upward): Likewise.
19379 (main): Call the new functions.
19380 * sysdeps/i386/fpu/libm-test-ulps: Update.
19381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19382
19383 [BZ #3976]
19384 * math/libm-test.inc (cosh_test_tonearest): New function.
19385 (cosh_test_towardzero): Likewise.
19386 (cosh_test_downward): Likewise.
19387 (cosh_test_upward): Likewise.
19388 (sinh_test_tonearest): Likewise.
19389 (sinh_test_towardzero): Likewise.
19390 (sinh_test_downward): Likewise.
19391 (sinh_test_upward): Likewise.
19392 (main): Call the new functions.
19393 * sysdeps/i386/fpu/libm-test-ulps: Update.
19394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19395
6c6a98c9
TV
193962012-03-05 Tom de Vries <tom@codesourcery.com>
19397
19398 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19399 default stack guard is set in last bytes.
19400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19401
21bb2d2e 194022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19403
21bb2d2e 19404 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19405
21bb2d2e
AJ
19406 [BZ #13656]
19407 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19408 possibly allocate from heap instead of stack.
19409 * stdio-common/bug-vfprintf-nargs.c: New file.
19410 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19411
c6922934
AS
194122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19413
19414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19415
bc957d53
MP
194162012-03-03 Marek Polacek <polacek@redhat.com>
19417
19418 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19419 * math/math_private.h: Likewise.
19420 * stdlib/tst-strtod.c: Likewise.
19421 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19422 * sysdeps/x86_64/bits/atomic.h: Likewise.
19423
6358490d
DM
194242012-03-02 David S. Miller <davem@davemloft.net>
19425
19426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19430 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19431 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19432 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19433 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19434
01ae168d
RM
194352012-03-02 Roland McGrath <roland@hack.frob.com>
19436
d9a17c07
RM
19437 [BZ #13792]
19438 * manual/examples/README: New file, says the example source files
19439 can be used under GPL>=2.
19440 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19441 line containing just "*/".
19442 * manual/examples/add.c: Add copyright header (GPL>=2).
19443 * manual/examples/argp-ex1.c: Likewise.
19444 * manual/examples/argp-ex2.c: Likewise.
19445 * manual/examples/argp-ex3.c: Likewise.
19446 * manual/examples/argp-ex4.c: Likewise.
19447 * manual/examples/atexit.c: Likewise.
19448 * manual/examples/db.c: Likewise.
19449 * manual/examples/dir.c: Likewise.
19450 * manual/examples/dir2.c: Likewise.
19451 * manual/examples/execinfo.c: Likewise.
19452 * manual/examples/filecli.c: Likewise.
19453 * manual/examples/filesrv.c: Likewise.
19454 * manual/examples/fmtmsgexpl.c: Likewise.
19455 * manual/examples/genpass.c: Likewise.
19456 * manual/examples/inetcli.c: Likewise.
19457 * manual/examples/inetsrv.c: Likewise.
19458 * manual/examples/isockad.c: Likewise.
19459 * manual/examples/longopt.c: Likewise.
19460 * manual/examples/memopen.c: Likewise.
19461 * manual/examples/memstrm.c: Likewise.
19462 * manual/examples/mkfsock.c: Likewise.
19463 * manual/examples/mkisock.c: Likewise.
19464 * manual/examples/mygetpass.c: Likewise.
19465 * manual/examples/pipe.c: Likewise.
19466 * manual/examples/popen.c: Likewise.
19467 * manual/examples/rprintf.c: Likewise.
19468 * manual/examples/search.c: Likewise.
19469 * manual/examples/select.c: Likewise.
19470 * manual/examples/setjmp.c: Likewise.
19471 * manual/examples/sigh1.c: Likewise.
19472 * manual/examples/sigusr.c: Likewise.
19473 * manual/examples/stpcpy.c: Likewise.
19474 * manual/examples/strdupa.c: Likewise.
19475 * manual/examples/strftim.c: Likewise.
19476 * manual/examples/strncat.c: Likewise.
19477 * manual/examples/subopt.c: Likewise.
19478 * manual/examples/swapcontext.c: Likewise.
19479 * manual/examples/termios.c: Likewise.
19480 * manual/examples/testopt.c: Likewise.
19481 * manual/examples/testpass.c: Likewise.
19482 * manual/examples/timeval_subtract.c: Likewise.
19483
01ae168d
RM
19484 [BZ #13792]
19485 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19486 function to ...
19487 * manual/timeval_subtract.c.texi: ... here, new file.
19488
49efa33d
DM
194892012-03-02 David S. Miller <davem@davemloft.net>
19490
19491 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19492
28afd92d
JM
194932012-03-02 Joseph Myers <joseph@codesourcery.com>
19494
804360ed
JM
19495 [BZ #3976]
19496 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19497 (__sin): Save and restore rounding mode and use round-to-nearest
19498 for all computations.
19499 (__cos): Save and restore rounding mode and use round-to-nearest
19500 for all computations.
19501 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19502 <fenv.h>.
19503 (tan): Save and restore rounding mode and use round-to-nearest for
19504 all computations.
19505 * math/libm-test.inc (cos_test_tonearest): New function.
19506 (cos_test_towardzero): Likewise.
19507 (cos_test_downward): Likewise.
19508 (cos_test_upward): Likewise.
19509 (sin_test_tonearest): Likewise.
19510 (sin_test_towardzero): Likewise.
19511 (sin_test_downward): Likewise.
19512 (sin_test_upward): Likewise.
19513 (tan_test_tonearest): Likewise.
19514 (tan_test_towardzero): Likewise.
19515 (tan_test_downward): Likewise.
19516 (tan_test_upward): Likewise.
19517 (main): Call the new functions.
19518 * sysdeps/i386/fpu/libm-test-ulps: Update.
19519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19520
a6d06d7b
JM
19521 [BZ #10135]
19522 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19523 small n, then large n, before computing and testing k+n.
19524 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19526 Likewise.
19527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19528 Likewise.
19529 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19530 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19531 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19532 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19533 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19534 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19535 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19536 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19537 * math/libm-test.inc (scalbn_test): Add more tests.
19538 (scalbln_test): Likewise.
19539
07e12bb3
JM
19540 * manual/filesys.texi (mode_t): Describe constraints on size and
19541 signedness, not exact equivalence to a particular type.
19542 (ino_t): Likewise.
19543 (ino64_t): Likewise.
19544 (dev_t): Likewise.
19545 (nlink_t): Likewise.
19546 (blkcnt_t): Likewise.
19547 (blkcnt64_t): Likewise.
19548 * manual/llio.texi (off_t): Likewise.
19549
28afd92d
JM
19550 [BZ #3976]
19551 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19552 (__ieee754_exp): Save and restore rounding mode and use
19553 round-to-nearest for all computations.
19554 * math/libm-test.inc (exp_test_tonearest): New function.
19555 (exp_test_towardzero): Likewise.
19556 (exp_test_downward): Likewise.
19557 (exp_test_upward): Likewise.
19558 (main): Call the new functions.
19559 * sysdeps/i386/fpu/libm-test-ulps: Update.
19560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19561
b1eeb65d
CD
195622012-03-01 Chris Demetriou <cgd@google.com>
19563
19564 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19565 have predictable order.
19566
53362a4b
DM
195672012-03-01 David S. Miller <davem@davemloft.net>
19568
3c969083
DM
19569 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19570
759707de
DM
19571 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19572 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19573 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19574 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19575
dfdb8ff2
DM
19576 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19577 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19578 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19580 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19581 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19582 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19583 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19584 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19585
ead89f96
DM
19586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19587
7f66bd07
DM
19588 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19589 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19591
53362a4b
DM
19592 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19593 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19594 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19595 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19596 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19597 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19599 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19600 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19601 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19602 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19603 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19605 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19606 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19608 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19609 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19610 * sysdeps/sparc/elf/configure: Regenerated.
19611
7b1902cb
JM
196122012-03-01 Joseph Myers <joseph@codesourcery.com>
19613
bec039bc
JM
19614 * configure.in (AS, LD): Require binutils 2.20 or later.
19615 * configure: Regenerated.
19616 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19617 as required minimum version.
19618 * INSTALL: Regenerated.
19619
7b1902cb
JM
19620 [BZ #2541]
19621 [BZ #4108]
19622 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19623 before squaring exponent.
19624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19625 bottom long double and 27 bits of top long double before squaring
19626 exponent.
19627 * math/libm-test.inc (erfc_test): Add more tests.
19628 * sysdeps/i386/fpu/libm-test-ulps: Update.
19629 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19631
f775c276
KT
196322012-03-01 Kai Tietz <ktietz@redhat.com>
19633
19634 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19635 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19636 containing bit-fields.
19637 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19638 * soft-fp/single.h (_FP_UNION_S): Likewise.
19639 * soft-fp/double.h (_FP_UNION_D): Likewise.
19640
5b8a4d4a
JM
196412012-02-29 Joseph Myers <joseph@codesourcery.com>
19642
0bab47b6
JM
19643 [BZ #13786]
19644 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19645 not include ../strcmp.S.
19646 [USE_AS_STRNCASECMP_L]: Likewise.
19647 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19648 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19649 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19650 (__strncasecmp_l_ia32): Define as alias to
19651 __strncasecmp_l_nonascii.
19652
0fcad3e2
JM
19653 [BZ #5794]
19654 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19655 * sysdeps/i386/fpu/libm-test-ulps: Update.
19656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657
5b8a4d4a
JM
19658 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19660
8fdceb2e
JL
196612012-02-29 Jeff Law <law@redhat.com>
19662
19663 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19664 out of bounds read.
19665
1f393a11
MP
196662012-02-29 Marek Polacek <polacek@redhat.com>
19667
19668 [BZ #13706]
19669 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19670 * elf/Makefile: Add rules to run tst-unused-dep.out.
19671
8847f037
DM
196722012-02-28 David S. Miller <davem@davemloft.net>
19673
19674 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19675 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19676 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19677 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19678 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19679 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19680
169d7f11
JM
196812012-02-29 Joseph Myers <joseph@codesourcery.com>
19682
19683 * math/libm-test.inc (llround_test): Move one test from
19684 lround_test. Use TEST_f_L in moved test.
19685 (lround_test): Move misplaced test to llround_test. Add testcase
19686 from bug 2561.
19687
39adf059
UD
196882012-02-28 Ulrich Drepper <drepper@gmail.com>
19689
19690 * sysdeps/x86_64/fpu/e_expf.S: New file.
19691 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19692
71b5d1c5
SB
196932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19694
19695 [BZ #13637]
19696 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19697 of remain_len that may cause incomplete multi-byte character and
19698 false match.
19699 * posix/bug-regex33.c: New file.
19700 * posix/Makefile (tests): Add bug-regex33.
19701
1f77f049
JM
197022012-02-28 Joseph Myers <joseph@codesourcery.com>
19703
19704 * manual/macros.texi: New file.
19705 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19706 * manual/libc.texinfo: Include macros.texi.
19707 * manual/creatute.texi: Likewise.
19708 * manual/install.texi: Likewise.
19709 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19710 @glibcadj{} in references to the GNU C Library.
19711 * manual/charset.texi: Likewise.
19712 * manual/conf.texi: Likewise.
19713 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19714 when not using those macros.
19715 * manual/creature.texi: Likewise.
19716 * manual/crypt.texi: Likewise.
19717 * manual/errno.texi: Likewise.
19718 * manual/filesys.texi: Likewise.
19719 * manual/header.texi: Likewise.
19720 * manual/install.texi: Likewise.
19721 * manual/intro.texi: Likewise.
19722 * manual/io.texi: Likewise.
19723 * manual/job.texi: Likewise.
19724 * manual/lang.texi: Likewise.
19725 * manual/libc.texiinfo: Likewise.
19726 * manual/llio.texi: Likewise.
19727 * manual/locale.texi: Likewise.
19728 * manual/maint.texi: Likewise.
19729 * manual/math.texi: Likewise.
19730 * manual/memory.texi: Likewise.
19731 * manual/message.texi: Likewise.
19732 * manual/nss.texi: Likewise.
19733 * manual/pattern.texi: Likewise.
19734 * manual/process.texi: Likewise.
19735 * manual/resource.texi: Likewise.
19736 * manual/search.texi: Likewise.
19737 * manual/setjmp.texi: Likewise.
19738 * manual/signal.texi: Likewise.
19739 * manual/socket.texi: Likewise.
19740 * manual/startup.texi: Likewise.
19741 * manual/stdio.texi: Likewise.
19742 * manual/string.texi: Likewise.
19743 * manual/sysinfo.texi: Likewise.
19744 * manual/syslog.texi: Likewise.
19745 * manual/terminal.texi: Likewise.
19746 * manual/time.texi: Likewise.
19747 * manual/users.texi: Likewise.
19748 * INSTALL: Regenerated.
19749 * NOTES: Regenerated.
d40c5d54 19750 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19751
450bf206
AS
197522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19753
19754 * include/dirent.h: Include <dirstream.h> before
19755 <dirent/dirent.h>.
19756
741a235b
DM
197572012-02-28 David S. Miller <davem@davemloft.net>
19758
19759 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19760 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19761 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19762 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19763
d6b5aa58
DM
197642012-02-27 David S. Miller <davem@davemloft.net>
19765
1aff59a3
DM
19766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19768 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19769 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19770
d6b5aa58
DM
19771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19772 frame pointer instead of stack pointer relative arg slot.
19773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19774 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19775 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19776
433f48bf
CD
197772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19778
19779 [BZ #3992]
19780 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19781
d674b76d
DM
197822012-02-27 David S. Miller <davem@davemloft.net>
19783
19784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19790 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19791 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19792
0e7727f7
JM
197932012-02-27 Joseph Myers <joseph@codesourcery.com>
19794
19795 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19796 later. Allow versions 5-9.
43be4ca2 19797 * configure: Regenerated.
0e7727f7
JM
19798 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19799 required minimum version and 4.6 as recommended version. Do not
19800 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19801 * INSTALL: Regenerated.
0e7727f7 19802
a78bc654
DM
198032012-02-27 David S. Miller <davem@davemloft.net>
19804
428d5830
DM
19805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19809 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19810 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19811 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19812 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19813
a78bc654
DM
19814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19815 manipulate bits before adding and subtracting TWO112[sx].
19816 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19817
4579f81c
RM
198182012-02-27 Roland McGrath <roland@hack.frob.com>
19819
36c8acb4
RM
19820 [BZ #13775]
19821 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19822 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19823 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19824 being in POSIX, because they are in 1003.1-2008.
19825
84ad622b
RM
19826 * rt/tst-aio.c: Include <fcntl.h>.
19827 * rt/tst-aio7.c: Likewise.
19828 * rt/tst-aio64.c: Likewise.
19829
4579f81c
RM
19830 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19831
abd923db
JM
198322012-02-27 Joseph Myers <joseph@codesourcery.com>
19833
19834 * manual/install.texi (--with-headers): Describe headers as
19835 interface headers, not private headers.
19836 (Specific advice for GNU/Linux systems): Describe use of headers
19837 from "make headers_install", not private headers from older
19838 kernels.
43be4ca2 19839 * INSTALL: Regenerated.
abd923db
JM
19840 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19841 Change to 2.6.19.
19842 * sysdeps/unix/sysv/linux/configure: Regenerated.
19843
6664049b
JM
19844 * manual/llio.texi (fclean): Remove documentation.
19845
bb8b6697
JM
19846 * manual/Makefile (libc-texi-generated): New variable. Include
19847 version.texi.
19848 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19849 $(libc-texi-generated), not duplicated list of files.
19850 (version.texi, stamp-version): New rules.
19851 (realclean): Remove $(libc-texi-generated), not individual files
19852 from that list. Do not remove dir-add.texinfo.
19853 * manual/libc.texinfo: Comment out uses of edition numbers and
19854 references to printed manual. Remove last-updated dates.
19855 (EDITION): Comment out.
19856 (ISBN): Likewise.
19857 (VERSION, UPDATED): Remove.
19858 (version.texi): Include.
19859
12e5c3b9
AS
198602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19861
19862 * sysdeps/posix/spawni.c: Include <signal.h>.
19863 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19864 * sysdeps/pthread/aio_fsync.c: Likewise.
19865
4efeffc1 198662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19867
ba63ba08
UD
19868 * conform/Makefile (tests): Run only when not cross-compiling and
19869 when fast-check is not defined.
19870
d94a4670
UD
19871 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19872 * conform/data/limits.h-data: Fixes for POSIX2008.
19873 * conform/run-conformtest.sh: Run all tests.
19874 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19875 headers.
19876 * include/bits/dlfcn.h: Likewise.
19877 * include/langinfo.h: Likewise.
19878 * include/monetary.h: Likewise.
19879 * include/sys/poll.h: Likewise.
19880
19881 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19882 for __USE_GNU.
19883 * posix/spawn.h: Define __need_sigset_t.
19884 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19885 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19886 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19887 to get sigevent_t only.
19888 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19889 only for __USE_GNU.
19890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19891 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19892 process_vm_writev only for __USE_GNU.
19893 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19894
19895 * conform/Makefile: For now ignore errors from run-conformtest.
19896 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19897 POSIX to avoid namespace pollution. Don't prepend headers.
19898 * conform/data/aio.h-data: Fixes for POSIX testing.
19899 * conform/data/fcntl.h-data: Likewise.
19900 * conform/data/glob.h-data: Likewise.
19901 * conform/data/grp.h-data: Likewise.
19902 * conform/data/pthread.h-data: Likewise.
19903 * conform/data/pwd.h-data: Likewise.
19904 * conform/data/signal.h-data: Likewise.
19905 * conform/data/spawn.h-data: Likewise.
19906 * conform/data/stdio.h-data: Likewise.
19907 * conform/data/stdlib.h-data: Likewise.
19908 * conform/data/stropts.h-data: Likewise.
19909 * conform/data/sys/mman.h-data: Likewise.
19910 * conform/data/sys/stat.h-data: Likewise.
19911 * conform/data/sys/types.h-data: Likewise.
19912 * conform/data/sys/wait.h-data: Likewise.
19913 * conform/data/time.h-data: Likewise.
19914 * conform/data/unistd.h-data: Likewise.
19915 * conform/data/utime.h-data: Likewise.
19916
19917 * io/sys/stat.h: fchmod was always in POSIX.
19918 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19919 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19920 * rt/aio.h: Define __need_timespec before including <time.h>.
19921 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19922 struct. Add forward declaration of pthread_attr_t and use it in
19923 sigevent.
19924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19926 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19927 always remove CLK_TCK definition.
19928
c20105c3
AS
199292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19930
19931 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19932
7a270350
UD
199332012-02-25 Ulrich Drepper <drepper@gmail.com>
19934
31341567
UD
19935 * conform/run-conformtest.sh: New file.
19936 * conform/Makefile: Run run-conformtest for tests.
19937 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19938 support.
19939
19940 * conform/data/uchar.h-data: New file.
19941 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19942 * conform/data/arpa/inet.h-data: Likewise.
19943 * conform/data/assert.h-data: Likewise.
19944 * conform/data/complex.h-data: Likewise.
19945 * conform/data/cpio.h-data: Likewise.
19946 * conform/data/ctype.h-data: Likewise.
19947 * conform/data/dirent.h-data: Likewise.
19948 * conform/data/dlfcn.h-data: Likewise.
19949 * conform/data/errno.h-data: Likewise.
19950 * conform/data/fcntl.h-data: Likewise.
19951 * conform/data/float.h-data: Likewise.
19952 * conform/data/fmtmsg.h-data: Likewise.
19953 * conform/data/fnmatch.h-data: Likewise.
19954 * conform/data/ftw.h-data: Likewise.
19955 * conform/data/glob.h-data: Likewise.
19956 * conform/data/grp.h-data: Likewise.
19957 * conform/data/iconv.h-data: Likewise.
19958 * conform/data/inttypes.h-data: Likewise.
19959 * conform/data/langinfo.h-data: Likewise.
19960 * conform/data/libgen.h-data: Likewise.
19961 * conform/data/limits.h-data: Likewise.
19962 * conform/data/locale.h-data: Likewise.
19963 * conform/data/math.h-data: Likewise.
19964 * conform/data/monetary.h-data: Likewise.
19965 * conform/data/mqueue.h-data: Likewise.
19966 * conform/data/ndbm.h-data: Likewise.
19967 * conform/data/net/if.h-data: Likewise.
19968 * conform/data/netdb.h-data: Likewise.
19969 * conform/data/netinet/in.h-data: Likewise.
19970 * conform/data/nl_types.h-data: Likewise.
19971 * conform/data/poll.h-data: Likewise.
19972 * conform/data/pthread.h-data: Likewise.
19973 * conform/data/pwd.h-data: Likewise.
19974 * conform/data/regex.h-data: Likewise.
19975 * conform/data/sched.h-data: Likewise.
19976 * conform/data/search.h-data: Likewise.
19977 * conform/data/semaphore.h-data: Likewise.
19978 * conform/data/setjmp.h-data: Likewise.
19979 * conform/data/signal.h-data: Likewise.
19980 * conform/data/spawn.h-data: Likewise.
19981 * conform/data/stdarg.h-data: Likewise.
19982 * conform/data/stdio.h-data: Likewise.
19983 * conform/data/stdlib.h-data: Likewise.
19984 * conform/data/string.h-data: Likewise.
19985 * conform/data/strings.h-data: Likewise.
19986 * conform/data/stropts.h-data: Likewise.
19987 * conform/data/sys/ipc.h-data: Likewise.
19988 * conform/data/sys/mman.h-data: Likewise.
19989 * conform/data/sys/msg.h-data: Likewise.
19990 * conform/data/sys/resource.h-data: Likewise.
19991 * conform/data/sys/select.h-data: Likewise.
19992 * conform/data/sys/sem.h-data: Likewise.
19993 * conform/data/sys/shm.h-data: Likewise.
19994 * conform/data/sys/socket.h-data: Likewise.
19995 * conform/data/sys/stat.h-data: Likewise.
19996 * conform/data/sys/statvfs.h-data: Likewise.
19997 * conform/data/sys/time.h-data: Likewise.
19998 * conform/data/sys/timeb.h-data: Likewise.
19999 * conform/data/sys/times.h-data: Likewise.
20000 * conform/data/sys/types.h-data: Likewise.
20001 * conform/data/sys/uio.h-data: Likewise.
20002 * conform/data/sys/un.h-data: Likewise.
20003 * conform/data/sys/utsname.h-data: Likewise.
20004 * conform/data/sys/wait.h-data: Likewise.
20005 * conform/data/syslog.h-data: Likewise.
20006 * conform/data/tar.h-data: Likewise.
20007 * conform/data/termios.h-data: Likewise.
20008 * conform/data/utime.h-data: Likewise.
20009 * conform/data/utmpx.h-data: Likewise.
20010 * conform/data/varargs.h-data: Likewise.
20011 * conform/data/wchar.h-data: Likewise.
20012 * conform/data/wctype.h-data: Likewise.
20013 * conform/data/wordexp.h-data: Likewise.
20014
20015 * include/stropts.h: New file.
20016 * include/uchar.h: New file.
20017 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20018 * include/assert.h: Likewise.
20019 * include/ctype.h: Likewise.
20020 * include/dirent.h: Likewise.
20021 * include/dlfcn.h: Likewise.
20022 * include/fcntl.h: Likewise.
20023 * include/fnmatch.h: Likewise.
20024 * include/glob.h: Likewise.
20025 * include/grp.h: Likewise.
20026 * include/libio.h: Likewise.
20027 * include/locale.h: Likewise.
20028 * include/math.h: Likewise.
20029 * include/net/if.h: Likewise.
20030 * include/netdb.h: Likewise.
20031 * include/netinet/in.h: Likewise.
20032 * include/pthread.h: Likewise.
20033 * include/pwd.h: Likewise.
20034 * include/regex.h: Likewise.
20035 * include/sched.h: Likewise.
20036 * include/search.h: Likewise.
20037 * include/setjmp.h: Likewise.
20038 * include/signal.h: Likewise.
20039 * include/stdio.h: Likewise.
20040 * include/stdlib.h: Likewise.
20041 * include/string.h: Likewise.
20042 * include/sys/cdefs.h: Likewise.
20043 * include/sys/mman.h: Likewise.
20044 * include/sys/msg.h: Likewise.
20045 * include/sys/resource.h: Likewise.
20046 * include/sys/select.h: Likewise.
20047 * include/sys/socket.h: Likewise.
20048 * include/sys/stat.h: Likewise.
20049 * include/sys/statvfs.h: Likewise.
20050 * include/sys/time.h: Likewise.
20051 * include/sys/times.h: Likewise.
20052 * include/sys/uio.h: Likewise.
20053 * include/sys/utsname.h: Likewise.
20054 * include/sys/wait.h: Likewise.
20055 * include/termios.h: Likewise.
20056 * include/time.h: Likewise.
20057 * include/ulimit.h: Likewise.
20058 * include/unistd.h: Likewise.
20059 * include/utime.h: Likewise.
20060 * include/wchar.h: Likewise.
20061 * include/wctype.h: Likewise.
20062 * include/wordexp.h: Likewise.
20063
20064 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20065
7a270350
UD
20066 * time/time.h: TIME_UTC must be a macro.
20067 Make timespec_get available for ISO C11 only as well.
20068
7724defc
UD
200692012-02-24 Ulrich Drepper <drepper@gmail.com>
20070
20071 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20072 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20073
6b1d1d46
JM
200742012-02-24 Joseph Myers <joseph@codesourcery.com>
20075
20076 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20077
0f8bbd69
JM
200782012-02-24 Joseph Myers <joseph@codesourcery.com>
20079
20080 * manual/texinfo.tex: Update to version 2012-01-19.16.
20081
66ab80bc
JM
200822012-02-24 Joseph Myers <joseph@codesourcery.com>
20083
20084 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20085
74981cc5
RM
200862012-02-24 Roland McGrath <roland@hack.frob.com>
20087
ee968201
RM
20088 [BZ #13738]
20089 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20090 * manual/fdl-1.3.texi: New file.
20091 * manual/fdl-1.1.texi: File removed.
20092
74981cc5
RM
20093 [BZ #13738]
20094 * manual/libc.texinfo (FDL_VERSION): New @set.
20095 Use it for mention of FDL in cover text.
20096 (Documentation License): Use it in @include file name.
20097
7bb764bc
JM
200982012-02-22 Joseph Myers <joseph@codesourcery.com>
20099 Roland McGrath <roland@hack.frob.com>
20100
20101 [BZ #5461]
20102 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20103 not LONG_LONG_MAX and LONG_LONG_MIN.
20104 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20105 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20106 name.
20107 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20108
6cbeae47
JM
201092012-02-22 Joseph Myers <joseph@codesourcery.com>
20110
20111 [BZ #2547]
20112 [BZ #11365]
20113 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20114 manipulate bits before adding and subtracting TWO23[sx].
20115 * math/libm-test.inc (nearbyint_test): Add more tests.
20116
fe45ce09
JM
201172012-02-22 Joseph Myers <joseph@codesourcery.com>
20118
20119 [BZ #2548]
20120 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20121 bits before adding and subtracting TWO23[sx].
20122 * math/libm-test.inc (rint_test): Add more tests.
20123 (rint_test_tonearest): Likewise.
20124 (rint_test_towardzero): Likewise.
20125 (rint_test_downward): Likewise.
20126 (rint_test_upward: Likewise.
20127
ff3b3d82
JM
201282012-02-22 Joseph Myers <joseph@codesourcery.com>
20129
20130 [BZ #10110]
20131 * include/stdc-predef.h: New file. Extracted from features.h.
20132 * include/features.h: Include stdc-predef.h.
20133 * Makefile (headers): Add stdc-predef.h.
20134 * CONFORMANCE (Compiler limitations): Update.
20135
ef0aab35
JM
201362012-02-22 Joseph Myers <joseph@codesourcery.com>
20137
20138 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20139
58639409
DM
201402012-02-21 David S. Miller <davem@davemloft.net>
20141
20142 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20143 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20144
c0e70b25
DM
201452012-02-20 David S. Miller <davem@davemloft.net>
20146
20147 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20148 using a normal save/restore sequence, rather than allocating a
20149 dummy stack frame just to store a frame pointer and restore.
20150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20151
fb06851d
JM
201522012-02-21 Joseph Myers <joseph@codesourcery.com>
20153
20154 * manual/install.texi: Fix stray word in line-wrapped comment.
20155
7a8b71c3
DM
201562012-02-20 David S. Miller <davem@davemloft.net>
20157
d510c123
DM
20158 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20159 both binutils and gcc support GOTDATA.
20160
0722d7c2
DM
20161 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20162 "rd %pc" in the PIC register setup sequences.
20163
3d2b3019
DM
20164 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20165 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20166 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20167 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20168 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20170 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20171 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20173 (SYSCALL_ERROR_HANDLER): Likewise.
20174 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20175 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20177 (SYSCALL_ERROR_HANDLER): Likewise.
20178
c80098a9
DM
20179 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20180 (HAVE_GCC_GOTDATA): New.
20181 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20182 relocation support in both binutils and gcc.
20183 * sysdeps/sparc/elf/configure: Regenerate.
20184
3a2545a0
DM
20185 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20186 * sysdeps/sparc/sparc32/elf/configure: Delete.
20187 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20188 * sysdeps/sparc/sparc64/elf/configure: Delete.
20189 * sysdeps/sparc/elf/configure.in: New file.
20190 * sysdeps/sparc/elf/configure: Generate.
20191
7a8b71c3
DM
20192 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20193 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20194 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20195 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20196 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20197
f1e86fca
JM
201982012-02-21 Joseph Myers <joseph@codesourcery.com>
20199
20200 * manual/install.texi: Do not mention specific glibc version
20201 numbers.
20202 * manual/libc.texinfo (VERSION, UPDATED): Update.
20203 (@copying): Use @copyright{} and range of years.
20204
0e7dfaef
JM
202052012-02-21 Joseph Myers <joseph@codesourcery.com>
20206
20207 [BZ #13695]
20208 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20209 [crti.S not in sysdirs] (generated): Do not append.
20210 [crti.S not in sysdirs] (omit-deps): Likewise.
20211 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20212 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20213 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20214 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20215 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20216 Likewise.
20217 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20218 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20219 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20220 * csu/defs.awk: Remove file.
20221 * sysdeps/generic/initfini.c: Likewise.
20222 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20223 variable.
20224 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20225 Likewise.
20226
599af3ca
JM
202272012-02-20 Joseph Myers <joseph@codesourcery.com>
20228
20229 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20230 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20231 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20234 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20235 <bits/epoll.h>.
20236 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20237 (__EPOLL_PACKED): Define to empty if not defined by
20238 <bits/epoll.h>.
20239 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20241 bits/epoll.h.
20242
0e499750
JM
202432012-02-20 Joseph Myers <joseph@codesourcery.com>
20244
20245 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20246 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20247 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20248 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20249 <bits/timerfd.h>.
20250 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20252 bits/timerfd.h.
20253
5ad91f6e
JM
202542012-02-20 Joseph Myers <joseph@codesourcery.com>
20255
20256 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20257 in C locale.
20258 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20259 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20260 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20262
06b99b02
AJ
202632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20264
20265 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20266 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20267
7638c0fd
AS
202682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20269
20270 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20271 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20272 defined.
20273 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20274 Likewise.
20275 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20276 entry for 2.16.
20277
92221550
AJ
202782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20279
20280 * math/w_acos.c: Use non-signaling floating-point comparisons.
20281 * math/w_acosf.c: Likewise.
20282 * math/w_acosh.c: Likewise.
20283 * math/w_acoshf.c: Likewise.
20284 * math/w_acoshl.c: Likewise.
20285 * math/w_acosl.c: Likewise.
20286 * math/w_asin.c: Likewise.
20287 * math/w_asinf.c: Likewise.
20288 * math/w_asinl.c: Likewise.
20289 * math/w_atanh.c: Likewise.
20290 * math/w_atanhf.c: Likewise.
20291 * math/w_atanhl.c: Likewise.
20292 * math/w_exp2.c: Likewise.
20293 * math/w_exp2f.c: Likewise.
20294 * math/w_exp2l.c: Likewise.
20295 * math/w_j0.c: Likewise.
20296 * math/w_j0f.c: Likewise.
20297 * math/w_j0l.c: Likewise.
20298 * math/w_j1.c: Likewise.
20299 * math/w_j1f.c: Likewise.
20300 * math/w_j1l.c: Likewise.
20301 * math/w_jn.c: Likewise.
20302 * math/w_jnf.c: Likewise.
20303 * math/w_log.c: Likewise.
20304 * math/w_log10.c: Likewise.
20305 * math/w_log10f.c: Likewise.
20306 * math/w_log10l.c: Likewise.
20307 * math/w_log2.c: Likewise.
20308 * math/w_log2f.c: Likewise.
20309 * math/w_log2l.c: Likewise.
20310 * math/w_logf.c: Likewise.
20311 * math/w_logl.c: Likewise.
20312 * math/w_sqrt.c: Likewise.
20313 * math/w_sqrtf.c: Likewise.
20314 * math/w_sqrtl.c: Likewise.
20315 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20317 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20318 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20319 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20320
ebaf36eb
JM
203212012-02-19 Joseph Myers <joseph@codesourcery.com>
20322
20323 [BZ #9739]
20324 * manual/string.texi (strnlen): Use correct parameter name in
20325 equivalent expression.
20326
71c254a6
JM
203272012-02-19 Joseph Myers <joseph@codesourcery.com>
20328
20329 [BZ #11174]
20330 * manual/users.texi (seteuid): Consistently use neweuid for
20331 argument name.
20332
16d2c631
JM
203332012-02-19 Joseph Myers <joseph@codesourcery.com>
20334
20335 [BZ #13704]
20336 * manual/nss.texi (Services in the NSS configuration): Correct
20337 list of services in example configuration file.
20338
cd837b09
NB
203392012-02-19 Nick Bowler <nbowler@draconx.ca>
20340
20341 [BZ #11322]
20342 * manual/arith.texi: Remove statements about negative zero
20343 behaving identically to zero.
20344
02c4bbad
JM
203452012-02-18 Joseph Myers <joseph@codesourcery.com>
20346
20347 [BZ #5993]
20348 * manual/install.texi: Do not document upgrading from libc5.
20349
366842e7
JM
203502012-02-18 Joseph Myers <joseph@codesourcery.com>
20351
20352 [BZ #4596]
20353 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20354
dd54084d
DM
203552012-02-18 David S. Miller <davem@davemloft.net>
20356
20357 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20358 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20359 %o7 across the call.
20360 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20361 instead.
20362 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20363 SETUP_PIC_REG_LEAF.
20364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20365 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20366 * sysdeps/sparc/crtn.S: Likewise.
20367
2bcc53a3
UD
203682012-02-17 Ulrich Drepper <drepper@gmail.com>
20369
20370 * aout/Makefile: Remove.
20371
09c093b5
RK
203722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20373
20374 [BZ #13058]
20375 * manual/examples/argp-ex1.c (main): Format definition in GNU
20376 style.
20377 * manual/examples/argp-ex2.c (main): Likewise.
20378 * manual/examples/argp-ex3.c (main): Likewise.
20379 * manual/examples/argp-ex4.c (main): Likewise.
20380 * manual/examples/longopt.c (main): Use new-style prototype
20381 definition.
20382 * manual/examples/strncat.c (main): Specify return type and use
20383 (void) for arguments.
20384 * manual/examples/subopt.c (main): Use char **argv argument.
20385
2ee633a2
JM
203862012-02-17 Joseph Myers <joseph@codesourcery.com>
20387
20388 [BZ #5077]
20389 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20390 rounding modes.
20391
0520adde
FB
203922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20393
20394 [BZ #6907]
20395 * manual/string.texi (strchr): Change when strchrnul is
20396 recommended.
20397
3f4081cd
DGM
203982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20399
20400 [BZ #174]
20401 * manual/locale.texi (setlocale): Document LOCPATH.
20402
d1b10e78
JM
204032012-02-17 Joseph Myers <joseph@codesourcery.com>
20404
20405 [BZ #10210]
20406 * manual/process.texi (execle): Move @dots{} before last argument.
20407
79c6869c
PB
204082012-02-17 Paul Bolle <pebolle@tiscali.nl>
20409
20410 [BZ #12047]
20411 * manual/charset.texi (Generic Charset Conversion): Fix typo
20412 (LC_TYPE -> LC_CTYPE).
20413
cc6e48bc
NB
204142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20415
20416 [BZ #5805]
20417 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20418 (scalbnf): Likewise.
20419 (scalbnl): Likewise.
20420 (scalbln): Likewise.
20421 (scalblnf): Likewise.
20422 (scalblnl): Likewise.
20423 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20424 (vwarnx): Likewise.
20425 (verr): Likewise.
20426 (verrx): Likewise.
20427 * manual/filesys.texi (telldir): Use braces around return type.
20428 * manual/llio.texi (mmap): Add space after comma.
20429 (mmap64): Likewise.
20430 * manual/math.texi (jn): Use @var{} on parameter names.
20431 (jnf): Likewise.
20432 (jnl): Likewise.
20433 (yn): Likewise.
20434 (ynf): Likewise.
20435 (ynl): Likewise.
20436 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20437 line.
20438 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20439 "...".
20440 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20441 (sched_get_priority_max): Likewise.
20442 * manual/signal.texi (sigvec): Add space after comma.
20443 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20444 names.
20445 (if_indextoname): Likewise.
20446 (if_freenameindex): Likewise.
20447 (sendto): Use ',' instead of '.' in prototype.
20448 * manual/startup.texi (syscall): Use @dots{} instead of literal
20449 "...".
20450 * manual/stdio.texi (__fpending): Separate initial words of
20451 paragraph from @deftypefun line.
20452 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20453 "...".
20454 (vsyslog): Use @var{} on parameter names.
20455 * manual/terminal.texi (stty): Use @var{} on parameter names.
20456 * manual/users.texi (getutmp): Use @var{} on parameter names.
20457 (getutmpx): Likewise.
20458
5b23062f
JM
204592012-02-17 Joseph Myers <joseph@codesourcery.com>
20460
20461 [BZ #6884]
20462 * manual/stdio.texi (fopen): Fix typos in description of
20463 ",ccs=STRING".
20464
8dee4833
AJ
204652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20466
20467 [BZ #4026]
20468 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20469 get clock_id definition.
20470
9078ce93
TS
204712012-02-17 Thomas Schwinge <thomas@schwinge.name>
20472
20473 [BZ #4822]
20474 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20475 (madvise): Cast every argument to void on its own.
20476
3835c55f
JM
204772012-02-17 Joseph Myers <joseph@codesourcery.com>
20478
20479 [BZ #9902]
20480 * manual/startup.texi (Exit Status): Fix typo.
20481
35c47e37
JM
204822012-02-17 Joseph Myers <joseph@codesourcery.com>
20483
20484 [BZ #10140]
20485 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20486 * manual/examples/argp-ex2.c: Likewise.
20487 * manual/examples/argp-ex3.c: Likewise.
20488
e3b69ca7
RH
204892012-02-16 Richard Henderson <rth@redhat.com>
20490
20491 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20492 * sysdeps/s390/s390-32/initfini.c: Remove.
20493 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20494 * sysdeps/s390/s390-64/initfini.c: Remove.
20495
df83af67
KK
204962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20497
20498 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20499 compiler output for sysdeps/generic/initfini.c.
20500 * sysdeps/sh/elf/initfini.c: Remove file.
20501
f63f3380
DM
205022012-02-16 David S. Miller <davem@davemloft.net>
20503
fb59b3a4
DM
20504 [BZ #11494]
20505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20506
f63f3380
DM
20507 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20508 * sysdeps/sparc/crti.S: New file.
20509 * sysdeps/sparc/crtn.S: New file.
20510 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20511 * sysdeps/sparc/sparc64/Makefile: Likewise.
20512
df6a4a4a
MF
205132012-02-15 Mike Frysinger <vapier@gentoo.org>
20514
6dd8f3dc 20515 [BZ #3335]
df6a4a4a
MF
20516 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20517
1cac7236
RM
205182012-02-15 Roland McGrath <roland@hack.frob.com>
20519
d2c736f8
RM
20520 [BZ #4822]
20521 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20522
1cac7236
RM
20523 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20524 (write, read, close): Likewise.
20525 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20526
8e475601
JM
205272012-02-15 Joseph Myers <joseph@codesourcery.com>
20528
20529 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20530 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20531 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20532 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20533 <bits/signalfd.h>.
20534 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20536 bits/signalfd.h.
20537
ed656b40
MP
205382012-02-14 Marek Polacek <polacek@redhat.com>
20539
20540 * sysdeps/x86_64/crti.S: New file.
20541 * sysdeps/x86_64/crtn.S: New file.
20542 * sysdeps/x86_64/elf/initfini.c: Remove file.
20543
2a979d3a
JM
205442012-02-13 Joseph Myers <joseph@codesourcery.com>
20545
20546 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20547 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20548 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20549 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20550 <bits/inotify.h>.
20551 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20553 bits/inotify.h.
20554
2a418ac3
JM
205552012-02-13 Joseph Myers <joseph@codesourcery.com>
20556
20557 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20558 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20559 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20560 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20561 <bits/eventfd.h>.
20562 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20564 bits/eventfd.h.
20565
fb779be7
TS
205662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20567
e19e83c5
RM
20568 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20569 __feraiseexcept instead of feraiseexcept.
7c35ffed 20570
fb779be7
TS
20571 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20572 nanosleep invocations.
20573 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20574 strings, and add error checking for a nanosleep invocations.
20575
59ba27a6
PE
205762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20577
20578 Replace FSF snail mail address with URLs, as per GNU coding standards.
20579 Most of the snail mail addresses were wrong anyway, and omitting
20580 them makes the source code easier to maintain. Almost all of the
20581 changes are to license notices and to locale LC_IDENTIFICATION
20582 addresses, except for this one:
20583 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20584 not its snail mail address.
20585
57b957eb
RH
205862012-02-09 Richard Henderson <rth@twiddle.net>
20587
af850b1c
RH
20588 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20589 of kernel-features.h.
20590
57b957eb
RH
20591 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20592
6b73181a
MP
205932012-02-08 Marek Polacek <polacek@redhat.com>
20594
20595 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20596 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20597 * sysdeps/gnu/_G_config.h: Likewise.
20598 * sysdeps/generic/_G_config.h: Likewise.
20599
26ecc33a
AS
206002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20601
6c6dbc63
AS
20602 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20603 tests.
20604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20605
e216c012
AS
20606 * sysdeps/powerpc/powerpc32/crti.S: New file.
20607 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20608 * sysdeps/powerpc/powerpc64/crti.S: New file.
20609 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20610
26ecc33a
AS
20611 * Makeconfig (have-initfini): Don't set.
20612 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20613 * configure.in (nopic_initfini): Don't substitute.
20614 * config.h.in (HAVE_INITFINI): Don't #undef.
20615 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20616 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20617
3add8e13
JM
206182012-02-08 Joseph Myers <joseph@codesourcery.com>
20619
20620 Support crti.S and crtn.S provided directly by architectures.
20621 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20622 [crti.S in sysdirs] (omit-deps): Likewise.
20623 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20624 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20625 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20626 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20627 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20628 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20629 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20630 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20631 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20632 compiler output for sysdeps/generic/initfini.c.
20633 * sysdeps/i386/elf/Makefile: Remove file.
20634 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20635
a22f12b4
MP
206362012-02-07 Marek Polacek <polacek@redhat.com>
20637
20638 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20639 * sysdeps/gnu/_G_config.h: Likewise.
20640 * sysdeps/mach/hurd/_G_config.h: Likewise.
20641
148cf100
MP
206422012-02-07 Marek Polacek <polacek@redhat.com>
20643
20644 * math/Makefile (tests): Add tst-CMPLX2.
20645 * math/tst-CMPLX2.c: New file.
20646
cfdc0dd7
AS
206472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20648
84ba42c4
AS
20649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20650
cfdc0dd7
AS
20651 * math/libm-test.inc (jn_test): Add missing L suffix.
20652
622c86f4
MP
206532012-02-06 Marek Polacek <polacek@redhat.com>
20654
20655 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20656 * sysdeps/i386/fpu/e_powf.S: Likewise.
20657 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20658 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20659 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20660 * sysdeps/i386/fpu/e_pow.S: Likewise.
20661 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20662 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20663 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20664 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20665 * sysdeps/i386/fpu/e_log2.S: Likewise.
20666 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20667 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20668 * sysdeps/i386/fpu/e_powl.S: Likewise.
20669 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20670 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20671 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20672 * sysdeps/i386/fpu/e_logl.S: Likewise.
20673 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20674 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20675 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20676 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20677 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20678 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20679 * sysdeps/i386/fpu/e_log.S: Likewise.
20680 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20682 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20683 * sysdeps/i386/fpu/e_logf.S: Likewise.
20684 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20685 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20686 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20687 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20688 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20689 * sysdeps/i386/fpu/e_log10.S: Likewise.
20690 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20691 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20692 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20693 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20694 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20695 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20696 * sysdeps/i386/asm-syntax.h: Likewise.
20697 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20699 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20700 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20701 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20703 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20704 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20705 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20706 * sysdeps/powerpc/sysdep.h: Likewise.
20707 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20708 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20709
d4a54ac6
JM
207102012-02-06 Joseph Myers <joseph@codesourcery.com>
20711
20712 [BZ #411]
20713 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20714
314054ea
JM
207152012-02-06 Joseph Myers <joseph@codesourcery.com>
20716
20717 * sysdeps/i386/sysdep.h: Include <features.h>.
20718 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20719 version.
20720
d8e0ca50
JM
207212012-02-05 Joseph Myers <joseph@codesourcery.com>
20722
20723 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20724 Define.
20725 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20726 LOAD_PIC_REG_STR.
20727
b1da7dd9
JM
207282012-02-03 Joseph Myers <joseph@codesourcery.com>
20729
20730 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20731 (SETUP_PIC_REG): Use GET_PC_THUNK.
20732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20733 macro.
20734
9a1d9254
JM
207352012-02-03 Joseph Myers <joseph@codesourcery.com>
20736
20737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20738 for non-PIC compilation.
20739 (SETUP_PIC_REG): Add .p2align directive.
20740 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20741 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20742 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20743 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20744 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20745 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20746 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20747 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20748 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20749 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20750 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20751 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20752 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20753 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20754 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20755 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20756 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20757 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20758 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20759 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20760 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20761 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20762 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20763 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20765 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20766 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20768 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20769 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20770 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20771 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20772 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20773 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20774 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20775 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20776 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20777 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20778 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20779 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20780 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20781
65dc3b75
JM
207822012-02-03 Joseph Myers <joseph@codesourcery.com>
20783
20784 * math/tst-CMPLX.c: Include <stdio.h>.
20785
d55bf177
JM
207862012-01-31 Joseph Myers <joseph@codesourcery.com>
20787
20788 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20789 float.
20790 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20791 * sysdeps/sparc/bits/mathdef.h: Likewise.
20792
69db4f8f
MP
207932012-01-31 Marek Polacek <polacek@redhat.com>
20794
20795 * libio/libio.h: Don't define _PARAMS.
20796 * locale/programs/config.h: Don't define PARAMS.
20797 * stdlib/strtol_l.c: Likewise.
20798 (__strtol_l): Remove PARAMS from the prototype.
20799
41b81892
UD
208002012-01-31 Ulrich Drepper <drepper@gmail.com>
20801
3b49edc0
UD
20802 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20803 names. Just use the correct names. Remove unnecessary wrapper
20804 functions.
20805 * malloc/arena.c: Likewise.
20806 * malloc/hooks.c: Likewise.
20807
41b81892
UD
20808 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20809 ARENA_TEST says not to. Simplify test for creation of a new arena.
20810 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20811
27a25b6e
UD
208122012-01-30 Ulrich Drepper <drepper@gmail.com>
20813
20814 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20815 into tail calls.
20816 (update_get_addr): New function.
20817 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20818 GET_ADDR_MODULE parameter.
20819
c8a89e7d
JM
208202012-01-30 Joseph Myers <joseph@codesourcery.com>
20821
20822 * crypt/cert.c: Remove __STDC__ conditionals.
20823 * crypt/crypt-entry.c: Likewise.
20824 * crypt/crypt_util.c: Likewise.
20825 * libio/filedoalloc.c: Likewise.
20826 * libio/fileops.c: Likewise.
20827 * libio/genops.c: Likewise.
20828 * libio/iofclose.c: Likewise.
20829 * libio/iofdopen.c: Likewise.
20830 * libio/iofopen.c: Likewise.
20831 * libio/iofopen64.c: Likewise.
20832 * libio/iogetdelim.c: Likewise.
20833 * libio/iopopen.c: Likewise.
20834 * libio/obprintf.c: Likewise.
20835 * libio/oldfileops.c: Likewise.
20836 * libio/oldiofclose.c: Likewise.
20837 * libio/oldiofdopen.c: Likewise.
20838 * libio/oldiofopen.c: Likewise.
20839 * libio/oldiopopen.c: Likewise.
20840 * libio/wfiledoalloc.c: Likewise.
20841 * libio/wgenops.c: Likewise.
20842 * locale/programs/xmalloc.c: Likewise.
20843 * misc/syslog.c: Likewise.
20844 * stdio-common/xbug.c: Likewise.
20845 * string/memchr.c: Likewise.
20846 * string/memcmp.c: Likewise.
20847 * string/memrchr.c: Likewise.
20848 * string/rawmemchr.c: Likewise.
20849 * sysdeps/posix/getcwd.c: Likewise.
20850 * time/strftime_l.c: Likewise.
20851
3b100462
JM
208522012-01-30 Joseph Myers <joseph@codesourcery.com>
20853
20854 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20855 * config.make.in (config-cflags-sse2avx): Define.
20856 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20857 Fix typo.
20858
607998af
CM
208592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20860
20861 * scripts/config.guess: Update from upstream config git repository.
20862 * scripts/config.sub: Likewise.
20863
3601428f
CM
208642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20865
3ac8b282
CM
20866 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20867 (EM_NUM): Update.
20868 (R_TILEPRO_*, R_TILEGX_*): New macros.
20869
e034841e
CM
20870 * scripts/firstversions.awk: Fix bug in version range handling.
20871
540d7568
CM
20872 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20873
3601428f
CM
20874 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20875
463de862
CM
20876 * include/sys/epoll.h: New file.
20877 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20878 libc_hidden_def.
20879
73139a76
UD
208802012-01-28 Ulrich Drepper <drepper@gmail.com>
20881
96bc5b45
UD
20882 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20883 Avoid unnecessary __WORDSIZE == 64 test.
20884 (fmaxf): Use VEX format if possible.
20885 (fmax): Likewise.
20886 (fminf): Likewise.
20887 (fmin): Likewise.
20888
56f6f6a2
UD
20889 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20890 * math/math_private.h: Remove libc_fegetround* and
20891 libc_fesetround*.
20892 * sysdeps/i386/configure.in: Check for -msse2avx.
20893 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20894 also if SSE2AVX is defined.
20895 Remove libc_fegetround* and libc_fesetround*.
20896 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20897 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20898 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20899 of HAS_YMM_USABLE.
20900 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20901 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20903 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20905
73139a76
UD
20906 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20907
d73f93a4
AZ
209082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20909
20910 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20911 size is not set.
20912 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20913
6ee65ed6
UD
209142012-01-27 Ulrich Drepper <drepper@gmail.com>
20915
20916 [BZ #13618]
20917 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20918 relocation.
20919 * Makeconfig (libm): Define.
20920 * elf/Makefile: Add rules to build and run tst-relsort1.
20921 * elf/tst-relsort1.c: New file.
20922 * elf/tst-relsort1mod1.c: New file.
20923 * elf/tst-relsort1mod2.c: New file.
20924
8db21882
JM
209252012-01-27 Joseph Myers <joseph@codesourcery.com>
20926
20927 * math/s_ldexp.c: Remove __STDC__ conditionals.
20928 * math/s_ldexpf.c: Likewise.
20929 * math/s_ldexpl.c: Likewise.
20930 * math/s_nextafter.c: Likewise.
20931 * math/s_nexttowardf.c: Likewise.
20932 * math/s_significand.c: Likewise.
20933 * math/s_significandf.c: Likewise.
20934 * math/s_significandl.c: Likewise.
20935 * math/w_jnl.c: Likewise.
20936 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20937 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20938 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20939 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20940 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20948 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20949 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20958 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20959 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20960 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20961 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20962 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20963 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20964 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20965 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20966 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20967 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20968 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20969 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20970 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20972 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20973 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20974 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20975 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20976 * sysdeps/ieee754/k_standard.c: Likewise.
20977 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20978 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20979 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20980 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20981 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20982 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20983 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20984 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20985 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20986 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20987 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20988 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20989 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20990 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20991 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20992 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20993 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20994 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20995 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20996 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20997 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20999 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21000 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21002 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21003 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21047 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21048 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21049 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21050 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21051 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21052 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21053 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21054 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21055 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21056 * sysdeps/ieee754/s_matherr.c: Likewise.
21057 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21058 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21059 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21060 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21061
965a54a4
JM
210622012-01-26 Joseph Myers <joseph@codesourcery.com>
21063
21064 * crypt/md5.h: Remove __STDC__ conditionals.
21065 * libio/libioP.h: Likewise.
21066 * locale/programs/config.h: Likewise.
21067 * sysdeps/generic/sysdep.h: Likewise.
21068 * sysdeps/i386/asm-syntax.h: Likewise.
21069 * sysdeps/s390/asm-syntax.h: Likewise.
21070 * sysdeps/unix/sysdep.h: Likewise.
21071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21073
7071ad79
JM
210742012-01-26 Joseph Myers <joseph@codesourcery.com>
21075
21076 * libio/libio.h: Remove __STDC__ conditionals.
21077 * malloc/obstack.h: Likewise.
21078 * math/complex.h: Likewise.
21079 * math/math.h: Likewise.
21080 * sysdeps/generic/_G_config.h: Likewise.
21081 * sysdeps/gnu/_G_config.h: Likewise.
21082 * sysdeps/mach/hurd/_G_config.h: Likewise.
21083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21084 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21085 * sysdeps/sparc/bits/mathdef.h: Likewise.
21086
afc5ed09
UD
210872012-01-26 Ulrich Drepper <drepper@gmail.com>
21088
21089 [BZ #13583]
21090 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21091 Clean up HAS_* macros.
afc5ed09 21092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21093 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21094 possible.
21095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21096 HAS_AVX.
21097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21098 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21099 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21100 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21102
bdb6de1d
JM
211032012-01-25 Joseph Myers <joseph@codesourcery.com>
21104
21105 * elf/tst-unique3.cc (gets): Remove declaration.
21106 * elf/tst-unique3lib.cc (gets): Likewise.
21107 * elf/tst-unique3lib2.cc (gets): Likewise.
21108 * elf/tst-unique4.cc (gets): Likewise.
21109
b15549e6
UD
211102012-01-24 Ulrich Drepper <drepper@gmail.com>
21111
21112 * include/stdio.h: Add C++ protection. Add gets declarations and
21113 definitions.
21114 * debug/tst-chk1.c: Don't declare gets here.
21115 * stdio-common/tst-gets.c: Likewise.
21116
a037381f
JM
211172012-01-24 Joseph Myers <joseph@codesourcery.com>
21118
21119 * posix/glob: Remove directory.
21120
f1d4aa75
JM
211212012-01-24 Joseph Myers <joseph@codesourcery.com>
21122
21123 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21124
81c0c964
PT
211252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21126
21127 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21128 of the non-standard EPFNOSUPPORT.
21129
0ea698ae
ST
211302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21131
21132 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21133 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21134 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21135
d220b117
UD
211362012-01-21 Ulrich Drepper <drepper@gmail.com>
21137
21138 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21139
3e1aa84e
UD
211402012-01-20 Ulrich Drepper <drepper@gmail.com>
21141
21142 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21143 transient errors.
21144 * nscd/grpcache.c (cache_addgr): Likewise.
21145 * nscd/hstcache.c (cache_addhst): Likewise.
21146 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21147 * nscd/pwdcache.c (cache_addpw): Likewise.
21148 * nscd/servicescache.c (cache_addserv): Likewise.
21149
400aa020
UD
211502012-01-16 Ulrich Drepper <drepper@gmail.com>
21151
d77e7869
UD
21152 * malloc/malloc.c: Various cleanups.
21153 * malloc/hooks.c: Likewise.
21154
400aa020
UD
21155 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21156 * stdlib/bug-fmtmsg1.c: New file.
21157
21158 * stdlib/fmtmsg.c (init): Add missing unlock.
21159 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21160
e0a309cf
MP
211612012-01-12 Marek Polacek <polacek@redhat.com>
21162
21163 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21164 and _GNU_SOURCE.
21165
929d11c7
WS
211662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21167
21168 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21169 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21170 macro to ensure uniqueness of label name.
21171 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21172 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21173
41d0e869
UD
211742012-01-11 Ulrich Drepper <drepper@gmail.com>
21175
0cc5ed3b
UD
21176 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21177
41d0e869
UD
21178 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21179 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21180 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21182
a47a831a
UD
211832012-01-10 Ulrich Drepper <drepper@gmail.com>
21184
daa891c0
UD
21185 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21186
21187 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21188 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21189 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21190
e58ef0f2
UD
21191 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21192
a47a831a 21193 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21194 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21195 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21197
21198 * math/bits/math-finite.h: Add ldexp support.
21199
a0bfc9c7
MP
212002012-01-10 Marek Polacek <polacek@redhat.com>
21201
21202 * locale/programs/localedef.h (show_archive_content): Add noreturn
21203 attribute.
21204
d6e97a1d
UD
212052012-01-09 Ulrich Drepper <drepper@gmail.com>
21206
21207 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21208
d5835c26
UD
212092012-01-08 Ulrich Drepper <drepper@gmail.com>
21210
e5f484c6
UD
21211 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21212
d5835c26
UD
21213 * io/Makefile (headers): Add bits/poll2.h.
21214
d1f741e9
WS
212152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21216
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21218 typo #include statement.
21219
ec09c1c4
UD
212202012-01-08 Ulrich Drepper <drepper@gmail.com>
21221
21222 * include/sys/cdefs.h: Define __attribute_alloc_size.
21223 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21224 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21225 * elf/pldd.c: Likewise.
21226 * iconv/iconv_charmap.c: Likewise.
21227 * iconv/iconvconfig.c: Likewise.
21228 * iconv/strtab.c: Likewise.
21229 * locale/programs/locale.c: Likewise.
21230 * locale/programs/localedef.h: Likewise.
21231 * locale/programs/simple-hash.c: Likewise.
21232 * nscd/nscd.h: Likewise.
21233 * nss/makedb.c: Likewise.
21234 * sysdeps/generic/ldconfig.h: Likewise.
21235 * locale/programs/localedef.c: Remove xmalloc prototype.
21236 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21237
20b38e03
PP
212382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21239
21240 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21241 appropriate.
21242
a0da5fe1
UD
212432012-01-08 Ulrich Drepper <drepper@gmail.com>
21244
1d5a644a 21245 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21246 * math/tst-CMPLX.c: New file.
1d5a644a 21247
8784a6db
UD
21248 * math/complex.h (CMPLXL): Fix typo.
21249
d9a216c0
UD
21250 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21251 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21252 GLIBC_2.16.
21253 * debug/tst-chk1.c: Add poll and ppoll tests.
21254 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21255 * include/sys/poll.h: Add hidden proto for ppoll.
21256 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21257 * sysdeps/mach/hurd/ppoll.c: Likewise.
21258 * io/ppoll.c: Likewise.
21259 * debug/poll_chk.c: New file.
21260 * debug/ppoll_chk.c: New file.
21261 * include/bits/poll2.h: New file.
21262 * io/bits/poll2.h: New file.
21263
ac097f5c
UD
21264 [BZ #1350]
21265 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21266
2119dcfa
UD
21267 * configure.in: static is always set to yes. Remove.
21268 * config.make.in: Don't set build-static.
21269 * Makeconfig: Remove use of build-static.
21270 * dlfcn/Makefile: Likewise.
21271 * elf/Makefile: Likewise.
21272 * math/Makefile: Likewise.
21273 * misc/Makefile: Likewise.
21274 * nptl/Makefile: Likewise.
21275 * sysdeps/mach/hurd/Makefile: Likewise.
21276
121766a9
UD
21277 * configure.in: PWD_P is not used anymore.
21278 * config.make.in: Remove PWD_P entry.
21279
51a1d39c 21280 * configure.in: Remove last remnants of RANLIB.
8720d066 21281 No need to check for signed size_t anymore.
215f4bdc
UD
21282 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21283 and IA-64.
3857022a 21284 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21285 * aclocal.m4: Likewise.
21286
d3ed7225
UD
21287 * wcsmbs/mbrtoc16.c: Implement using towc function.
21288 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21289 * wcsmbs/wcsmbsload.c: Likewise.
21290 * iconv/gconv_simple.c: Likewise.
21291 * iconv/gconv_int.h: Likewise.
21292 * iconv/gconv_builtin.h: Likewise.
21293 * iconv/iconv_prog.c: Remove CHAR16 handling.
21294
21295 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21296
21297 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21298
a0da5fe1
UD
21299 * configure.in: Remove --with-elf and --enable-bounded options.
21300 Dont set base_machine for ia64. More non-ELF conditions removed.
21301 Remove testing and setting of leading underscore information.
21302 * config.make.in (build-bounded): Set to no.
21303 * config.h.in: Remove NO_UNDERSCORES entry.
21304 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21305 them.
21306 * csu/start.c: Remove !NO_UNDERSCORE code.
21307 * locale/localeinfo.h: Likewise.
21308 * sysdeps/generic/machine-gmon.h: Likewise.
21309 * sysdeps/generic/sysdep.h: Likewise.
21310 * sysdeps/i386/sysdep.h: Likewise.
21311 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21312 * sysdeps/mach/sysdep.h: Likewise.
21313 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21315 * sysdeps/sh/sysdep.h: Likewise.
21316 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21317 * sysdeps/unix/i386/sysdep.S: Likewise.
21318 * sysdeps/unix/sparc/start.c: Likewise.
21319 * sysdeps/unix/sparc/sysdep.S: Likewise.
21320 * sysdeps/unix/sparc/sysdep.h: Likewise.
21321 * sysdeps/unix/start.c: Likewise.
21322 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21323 * sysdeps/x86_64/sysdep.h: Likewise.
21324
df78418a
UD
213252012-01-07 Ulrich Drepper <drepper@gmail.com>
21326
a784e502
UD
21327 [BZ #13553]
21328 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21329 for non-gcc.
21330 * argp/argp-fmtstream.h: Use const instead __const.
21331 * argp/argp.h: Likewise.
21332 * assert/assert.h: Likewise.
21333 * bits/fenv.h: Likewise.
21334 * bits/sched.h: Likewise.
21335 * bits/sigset.h: Likewise.
21336 * bits/sigthread.h: Likewise.
21337 * catgets/nl_types.h: Likewise.
21338 * conform/data/pthread.h-data: Likewise.
21339 * crypt/crypt-private.h: Likewise.
21340 * crypt/crypt.h: Likewise.
21341 * crypt/crypt_util.c: Likewise.
21342 * ctype/ctype.h: Likewise.
21343 * debug/execinfo.h: Likewise.
21344 * debug/mbsnrtowcs_chk.c: Likewise.
21345 * debug/mbsrtowcs_chk.c: Likewise.
21346 * debug/wcsnrtombs_chk.c: Likewise.
21347 * debug/wcsrtombs_chk.c: Likewise.
21348 * debug/wcstombs_chk.c: Likewise.
21349 * dirent/dirent.h: Likewise.
21350 * dlfcn/dlfcn.h: Likewise.
21351 * elf/neededtest4.c: Likewise.
21352 * grp/grp.h: Likewise.
21353 * gshadow/gshadow.h: Likewise.
21354 * iconv/gconv.h: Likewise.
21355 * iconv/gconv_int.h: Likewise.
21356 * iconv/gconv_simple.c: Likewise.
21357 * iconv/iconv.h: Likewise.
21358 * iconv/loop.c: Likewise.
21359 * iconv/skeleton.c: Likewise.
21360 * include/aio.h: Likewise.
21361 * include/aliases.h: Likewise.
21362 * include/argz.h: Likewise.
21363 * include/arpa/inet.h: Likewise.
21364 * include/assert.h: Likewise.
21365 * include/dirent.h: Likewise.
21366 * include/dlfcn.h: Likewise.
21367 * include/execinfo.h: Likewise.
21368 * include/fcntl.h: Likewise.
21369 * include/fenv.h: Likewise.
21370 * include/glob.h: Likewise.
21371 * include/grp.h: Likewise.
21372 * include/libintl.h: Likewise.
21373 * include/mntent.h: Likewise.
21374 * include/netdb.h: Likewise.
21375 * include/pwd.h: Likewise.
21376 * include/rpc/netdb.h: Likewise.
21377 * include/sched.h: Likewise.
21378 * include/search.h: Likewise.
21379 * include/shadow.h: Likewise.
21380 * include/signal.h: Likewise.
21381 * include/stdio.h: Likewise.
21382 * include/stdlib.h: Likewise.
21383 * include/string.h: Likewise.
21384 * include/sys/socket.h: Likewise.
21385 * include/sys/stat.h: Likewise.
21386 * include/sys/statfs.h: Likewise.
21387 * include/sys/statvfs.h: Likewise.
21388 * include/sys/syslog.h: Likewise.
21389 * include/sys/time.h: Likewise.
21390 * include/sys/uio.h: Likewise.
21391 * include/time.h: Likewise.
21392 * include/unistd.h: Likewise.
21393 * include/utmp.h: Likewise.
21394 * include/wchar.h: Likewise.
21395 * include/wctype.h: Likewise.
21396 * inet/aliases.h: Likewise.
21397 * inet/arpa/inet.h: Likewise.
21398 * inet/netinet/ether.h: Likewise.
21399 * inet/netinet/in.h: Likewise.
21400 * intl/libintl.h: Likewise.
21401 * io/bits/fcntl2.h: Likewise.
21402 * io/fcntl.h: Likewise.
21403 * io/ftw.h: Likewise.
21404 * io/sys/poll.h: Likewise.
21405 * io/sys/stat.h: Likewise.
21406 * io/sys/statfs.h: Likewise.
21407 * io/sys/statvfs.h: Likewise.
21408 * io/utime.h: Likewise.
21409 * libio/bits/stdio.h: Likewise.
21410 * libio/bits/stdio2.h: Likewise.
21411 * libio/libio.h: Likewise.
21412 * libio/libioP.h: Likewise.
21413 * libio/stdio.h: Likewise.
21414 * locale/lc-ctype.c: Likewise.
21415 * locale/locale.h: Likewise.
21416 * login/utmp.h: Likewise.
21417 * malloc/arena.c: Likewise.
21418 * malloc/malloc.c: Likewise.
21419 * malloc/malloc.h: Likewise.
21420 * malloc/mcheck.c: Likewise.
21421 * malloc/mtrace.c: Likewise.
21422 * math/bits/mathcalls.h: Likewise.
21423 * math/fenv.h: Likewise.
21424 * math/math_private.h: Likewise.
21425 * misc/bits/error.h: Likewise.
21426 * misc/bits/syslog.h: Likewise.
21427 * misc/err.h: Likewise.
21428 * misc/error.h: Likewise.
21429 * misc/fstab.h: Likewise.
21430 * misc/mntent.h: Likewise.
21431 * misc/regexp.h: Likewise.
21432 * misc/search.h: Likewise.
21433 * misc/sgtty.h: Likewise.
21434 * misc/sys/mman.h: Likewise.
21435 * misc/sys/syslog.h: Likewise.
21436 * misc/sys/uio.h: Likewise.
21437 * misc/sys/xattr.h: Likewise.
21438 * misc/ttyent.h: Likewise.
21439 * nis/rpcsvc/ypclnt.h: Likewise.
21440 * nss/nss.h: Likewise.
21441 * posix/bits/unistd.h: Likewise.
21442 * posix/fnmatch.h: Likewise.
21443 * posix/glob.h: Likewise.
21444 * posix/sched.h: Likewise.
21445 * posix/spawn.h: Likewise.
21446 * posix/sys/wait.h: Likewise.
21447 * posix/unistd.h: Likewise.
21448 * posix/wordexp.h: Likewise.
21449 * pwd/pwd.h: Likewise.
21450 * resolv/netdb.h: Likewise.
21451 * resource/sys/resource.h: Likewise.
21452 * rt/aio.h: Likewise.
21453 * rt/bits/mqueue2.h: Likewise.
21454 * rt/mqueue.h: Likewise.
21455 * shadow/shadow.h: Likewise.
21456 * signal/signal.h: Likewise.
21457 * socket/send.c: Likewise.
21458 * socket/sendto.c: Likewise.
21459 * socket/sys/socket.h: Likewise.
21460 * stdio-common/printf.h: Likewise.
21461 * stdlib/bits/stdlib.h: Likewise.
21462 * stdlib/fmtmsg.h: Likewise.
21463 * stdlib/monetary.h: Likewise.
21464 * stdlib/stdlib.h: Likewise.
21465 * stdlib/ucontext.h: Likewise.
21466 * streams/stropts.h: Likewise.
21467 * string/argz.h: Likewise.
21468 * string/bits/string2.h: Likewise.
21469 * string/string.h: Likewise.
21470 * string/strings.h: Likewise.
21471 * sunrpc/rpc/auth.h: Likewise.
21472 * sunrpc/rpc/auth_des.h: Likewise.
21473 * sunrpc/rpc/clnt.h: Likewise.
21474 * sunrpc/rpc/netdb.h: Likewise.
21475 * sunrpc/rpc/pmap_clnt.h: Likewise.
21476 * sunrpc/rpc/xdr.h: Likewise.
21477 * sysdeps/generic/inttypes.h: Likewise.
21478 * sysdeps/generic/net/if.h: Likewise.
21479 * sysdeps/generic/sys/swap.h: Likewise.
21480 * sysdeps/gnu/net/if.h: Likewise.
21481 * sysdeps/gnu/utmpx.h: Likewise.
21482 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21483 * sysdeps/i386/i486/bits/string.h: Likewise.
21484 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21485 * sysdeps/s390/bits/string.h: Likewise.
21486 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21487 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21488 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21489 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21490 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21491 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21492 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21493 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21494 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21495 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21496 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21497 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21498 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21499 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21500 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21501 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21502 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21504 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21506 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21507 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21508 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21509 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21510 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21511 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21512 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21513 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21514 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21515 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21516 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21517 * sysvipc/sys/ipc.h: Likewise.
21518 * sysvipc/sys/msg.h: Likewise.
21519 * sysvipc/sys/sem.h: Likewise.
21520 * sysvipc/sys/shm.h: Likewise.
21521 * termios/termios.h: Likewise.
21522 * time/sys/time.h: Likewise.
21523 * time/time.h: Likewise.
21524 * wcsmbs/bits/wchar2.h: Likewise.
21525 * wcsmbs/uchar.h: Likewise.
21526 * wcsmbs/wchar.h: Likewise.
21527 * wctype/wctype.h: Likewise.
21528
0269750c
UD
21529 [BZ #13551]
21530 * Makeconfig: Remove all but ELF support including AIX support.
21531 * Makerules: Likewise.
21532 * config.h.in: Likewise.
21533 * config.make.in: Likewise.
21534 * configure: Likewise.
21535 * configure.in: Likewise.
21536 * csu/Makefile: Likewise.
21537 * csu/version.c: Likewise.
21538 * debug/Makefile: Likewise.
21539 * dlfcn/Makefile: Likewise.
21540 * elf/Makefile: Likewise.
21541 * extra-lib.mk: Likewise.
21542 * iconv/Makefile: Likewise.
21543 * include/libc-symbols.h: Likewise.
21544 * include/shlib-compat.h: Likewise.
21545 * resolv/Makefile: Likewise.
21546 * resolv/res_libc.c: Likewise.
21547 * rt/Makefile: Likewise.
21548 * sysdeps/i386/asm-syntax.h: Likewise.
21549 * sysdeps/i386/sysdep.h: Likewise.
21550 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21551 * sysdeps/mach/sysdep.h: Likewise.
21552 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21553 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21554 * sysdeps/s390/asm-syntax.h: Likewise.
21555 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21557 * sysdeps/sh/sysdep.h: Likewise.
21558 * sysdeps/unix/sparc/sysdep.h: Likewise.
21559 * sysdeps/wordsize-32/divdi3.c: Likewise.
21560 * sysdeps/x86_64/sysdep.h: Likewise.
21561
00bbd29b
UD
21562 * argp/Versions: Remove _argp_unlock_xxx.
21563
21564 [BZ #13559]
21565 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21566 * abilist/libBrokenLocale.abilist: Likewise.
21567 * abilist/libanl.abilist: Likewise.
21568 * abilist/libc.abilist: Likewise.
21569 * abilist/libcrypt.abilist: Likewise.
21570 * abilist/libdl.abilist: Likewise.
21571 * abilist/libm.abilist: Likewise.
21572 * abilist/libnsl.abilist: Likewise.
21573 * abilist/libpthread.abilist: Likewise.
21574 * abilist/libresolv.abilist: Likewise.
21575 * abilist/librt.abilist: Likewise.
21576 * abilist/libthread_db.abilist: Likewise.
21577 * abilist/libutil.abilist: Likewise.
21578 * abilist/libnss_db.abilist: New file.
21579
21580 * scripts/abilist.awk: Add support for indirect functions.
21581
a2693a0e
UD
21582 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21583
3f05895f
UD
21584 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21585
ecb6fb48
UD
21586 * shlib-versions: Remove entries for ports architectures.
21587
664f8cb9
UD
21588 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21589 files in ports.
21590 * elf/stackguard-macros.h: Remove support for IA-64.
21591 * elf/tst-auditmod1.c: Likewise.
21592 * sysdeps/generic/ldsodefs.h: Likewise.
21593
7ae81d88
UD
21594 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21595 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21596 configure files.
21597
bdeba135
UD
21598 [BZ #13552]
21599 * configure.in: Remove --enable-omitfp support.
21600 * FAQ.in: Adjust.
21601 * config.make.in: Likewise.
21602 * Makeconfig: Likewise.
21603 * manual/install.texi: Likewise.
21604
d75a0a62
UD
21605 In case anyone cares, the IA-64 architecture could move to ports.
21606 * sysdeps/ia64/*: Removed.
21607 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21608 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21609
dcc9756b
UD
21610 [BZ #13555]
21611 * configure.in: Remove entries for unsupported architectures.
21612
d3761ebc 21613 [BZ #13533]
9954432e
UD
21614 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21615 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21616 routines.
21617 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21618 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21619 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21620 fall back to using wcrtomb.
21621 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21622 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21623 renaming.
21624 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21625 * wcsmbs/tst-c16c32-1.c: New file.
21626
21627 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21628 local variable.
21629
c3a87236
UD
21630 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21631
28926a1b
UD
21632 * elf/tst-unique3.cc: Add explicit declaration of gets.
21633 * elf/tst-unique3lib.cc: Likewise.
21634 * elf/tst-unique3lib2.cc: Likewise.
21635 * elf/tst-unique4.cc: Likewise.
21636
df78418a
UD
21637 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21638
8ecd6b2a
JM
216392012-01-06 Joseph Myers <joseph@codesourcery.com>
21640
21641 [BZ #13566]
21642 * assert/assert.h (static_assert): Don't define for C++.
21643 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21644 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21645
9f115170
UD
216462012-01-03 Ulrich Drepper <drepper@gmail.com>
21647
5e0d0300
UD
21648 * iconv/loop.c (single loop): Fix assertion in storing of
21649 remaining bytes.
21650
9f115170
UD
21651 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21652
81fb02b0
UD
216532012-01-01 Ulrich Drepper <drepper@gmail.com>
21654
21655 * posix/getconf.c: Update copyright year.
21656 * nss/getent.c: Likewise.
a316c1f6 21657 * nss/makedb.c: Likewise.
81fb02b0
UD
21658 * iconv/iconvconfig.c: Likewise.
21659 * iconv/iconv_prog.c: Likewise.
21660 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21661 * elf/pldd.c: Likewise.
21662 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21663 * catgets/gencat.c: Likewise.
21664 * csu/version.c: Likewise.
21665 * elf/ldd.bash.in: Likewise.
21666 * elf/sprof.c (print_version): Likewise.
21667 * locale/programs/locale.c: Likewise.
21668 * locale/programs/localedef.c: Likewise.
a316c1f6 21669 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21670 * nscd/nscd.c (print_version): Likewise.
21671 * debug/xtrace.sh: Likewise.
21672 * malloc/memusage.sh: Likewise.
21673 * malloc/mtrace.pl: Likewise.
21674 * debug/catchsegv.sh: Likewise.
21675
2ba92745
JJ
216762011-12-30 Jakub Jelinek <jakub@redhat.com>
21677
21678 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21679 pure attribute.
21680
dadebdae
UD
216812011-12-24 Ulrich Drepper <drepper@gmail.com>
21682
d3761ebc 21683 [BZ #13533]
db6af3eb
UD
21684 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21685 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21686 transformations.
21687 * iconv/gconv_int.h: Likewise.
21688 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21689 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21690 from libc for GLIBC_2.16.
21691 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21692 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21693 * wcsmbs/uchar.h: Really define mbstate_t.
21694 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21695 * wcsmbs/c16rtomb.c: New file.
21696 * wcsmbs/mbrtoc16.c: New file.
21697 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21698 for C/POSIX locale.
21699 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21700 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21701
dadebdae
UD
21702 * wcsmbs/wchar.h: Add missing __restrict.
21703
67371b56
UD
217042011-12-23 Ulrich Drepper <drepper@gmail.com>
21705
74033a25
UD
21706 [BZ #13532]
21707 * time/Makefile (routines): Add timespec_get.
21708 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21709 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21710 timespec for ISO C11.
21711 * time/timespec_get.c: New file.
21712 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21713 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21714
380d7e87
UD
21715 [BZ #13531]
21716 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21717 * stdlib/stdlib.h: Declare aligned_alloc.
21718 * Versions.def: Add GLIBC_2.16 for libc.
21719 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21720
4e9e7a35
UD
21721 [BZ 13527]
21722 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21723 ISO C11.
21724
380d7e87 21725 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21726 code.
21727
03a71829
UD
21728 [BZ #13528]
21729 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21730
839e283e
UD
21731 [BZ #13529]
21732 * assert/assert.h (static_assert): Define.
21733
ce5294e2 21734 * version.h: Update for 2.16 development version.
90fa7312 21735
8d44e150 21736 [BZ #13526]
d7809905
UD
21737 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21738 _ISOC11_SOURCE.
21739
c0da14cd
UD
21740 * version.h (RELEASE): Bump for 2.15 release.
21741 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21742
530a3249
MP
21743 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21744 Patch by Marek Polacek <mpolacek@redhat.com>.
21745
67371b56
UD
21746 * bits/byteswap.h: Protect long long constants with __extension__.
21747 * sysdeps/i386/bits/byteswap.h: Likewise.
21748 * sysdeps/ia64/bits/byteswap.h: Likewise.
21749 * sysdeps/s390/bits/byteswap.h: Likewise.
21750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21751
15db4de1
LD
217522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21753
21754 [BZ #13540]
bbe315ea
LD
21755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21756 destination buffer.
15db4de1
LD
21757 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21758
2b2596b1
MP
217592011-12-23 Marek Polacek <polacek@redhat.com>
21760
21761 * elf/dl-addr.c (determine_info): Add inline keyword.
21762 * elf/tst-auditmod4b.c (check_avx): Likewise.
21763 * elf/tst-auditmod6b.c (check_avx): Likewise.
21764 * elf/tst-auditmod6c.c (check_avx): Likewise.
21765 * elf/tst-auditmod7b.c (check_avx): Likewise.
21766
70c6c246
UD
217672011-12-23 Ulrich Drepper <drepper@gmail.com>
21768
21769 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21770 !__SSE_MATH__.
21771
c044cf14
LD
217722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21773
15db4de1 21774 [BZ #13540]
c044cf14
LD
21775 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21776 processing for last bytes.
21777
6b13d9d9
BH
217782011-08-06 Bruno Haible <bruno@clisp.org>
21779
d455f537
BH
21780 [BZ #13061]
21781 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21782 U+0385, not to U+1FEE.
21783
6b13d9d9
BH
21784 [BZ #13062]
21785 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21786 entry for U+00A5 U+0301.
21787
db910efd
UD
217882011-12-22 Ulrich Drepper <drepper@gmail.com>
21789
27deeafc
UD
21790 [BZ #13166]
21791 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21792 buffer for the output is too small.
21793
aed9d171
UD
21794 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21795 optimization.
21796
db910efd
UD
21797 [BZ #13185]
21798 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21799 SSE flags if possible.
21800
2bd779ae
LD
218012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21802
e7f9dac3 21803 [BZ #13540]
2bd779ae
LD
21804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21805 processing for last bytes.
21806
154bfc16
JM
218072011-12-22 Joseph Myers <joseph@codesourcery.com>
21808
21809 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21810 (syscall-list-default-options, syscall-list-default-condition)
21811 (syscall-list-includes): Define.
21812 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21813 list of ABIs and options and #if conditions for each ABI. Do not
21814 handle common syscalls between ABIs specially.
21815 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21816 Remove.
21817 (syscall-list-variants, syscall-list-32bit-options)
21818 (syscall-list-32bit-condition, syscall-list-64bit-options)
21819 (syscall-list-64bit-condition): Define.
21820 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21821 (syscall-list-variants, syscall-list-32bit-options)
21822 (syscall-list-32bit-condition, syscall-list-64bit-options)
21823 (syscall-list-64bit-condition): Define.
21824 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21825 Remove.
21826 (syscall-list-variants, syscall-list-32bit-options)
21827 (syscall-list-32bit-condition, syscall-list-64bit-options)
21828 (syscall-list-64bit-condition): Define.
21829 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21830 Remove.
21831 (syscall-list-variants, syscall-list-32bit-options)
21832 (syscall-list-32bit-condition, syscall-list-64bit-options)
21833 (syscall-list-64bit-condition): Define.
21834
21eaf3a5
UD
218352011-12-22 Ulrich Drepper <drepper@gmail.com>
21836
16c6f992
UD
21837 * locale/iso-639.def: Add brx entry.
21838
41043168
UD
21839 [BZ #13328]
21840 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21841 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21842
21eaf3a5
UD
21843 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21844 __feraiseexcept_renamed.
21845
e3a851a2
UD
218462011-12-21 Ulrich Drepper <drepper@gmail.com>
21847
4920765e
UD
21848 [BZ #13538]
21849 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21850 EPOLLET with unsigned values.
21851 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21853
e3a851a2
UD
21854 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21855 to large cancellation.
21856 * math/s_cacoshf.c: Likewise.
21857 * math/s_cacoshl.c: Likewise.
21858
b27e24b8
RK
218592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21860
21861 [BZ #13305]
aebefeee 21862 [BZ #12786]
b27e24b8
RK
21863 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21864 * math/s_cacoshf.c: Likewise.
21865 * math/s_cacoshl.c: Likewise.
21866
ee190f67
UD
218672011-12-21 Ulrich Drepper <drepper@gmail.com>
21868
21869 [BZ #13439]
21870 * iconv/gconv.h: Define __GCONV_SWAP.
21871 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21872 * iconvdata/utf-16.c: Likewise.
21873 * iconvdata/utf-32.c: Likewise.
21874
707f25df
AS
218752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21876
21877 [BZ #13524]
21878 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21879 numerator after shifting it by one limb.
21880
d2daaa1e
RÁE
218812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21882
21883 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21884 under [__USE_EXTERN_INLINES].
21885
a4647e72
UD
218862011-12-17 Ulrich Drepper <drepper@gmail.com>
21887
21888 [BZ #13446]
21889 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21890
f0b264f1
AZ
218912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21892
21893 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21894 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21895 optimized code.
21896 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21897 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21898 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21899 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21900 for strncasecmp/strncasecmp_l compilation.
21901 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21902 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21903
8ef4f244
MP
219042011-12-08 Marek Polacek <mpolacek@redhat.com>
21905
21906 [BZ #13484]
21907 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21908 of __asm__.
21909
97ac2654
UD
219102011-12-17 Ulrich Drepper <drepper@gmail.com>
21911
21912 [BZ #13506]
21913 * time/tzfile.c (__tzfile_read): Check values from file header.
21914
91d2a845
WS
219152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21916
21917 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21918 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21919 * powerpc/powerpc32/dl-start.S: Likewise.
21920 * powerpc/powerpc32/elf/start.S: Likewise.
21921 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21922 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21923 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21924 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21925 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21926 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21927 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21928 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21929 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21930 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21931 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21932 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21933 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21934 * powerpc/powerpc32/memset.S: Likewise.
21935 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21936 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21937 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21938 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21939 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21940 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21941 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21942 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21943 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21944 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21945 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21946 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21947 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21948
a1267ba1
AZ
219492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21950
21951 * math/libm-test.inc: Added more nearbyint tests.
21952 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21954 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21956
ad8ac1bd
RL
219572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21958
21959 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21960 FD_CLOEXEC.
21961
1d3e4b61
UD
219622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21963
21964 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21965 Add wcscpy-ssse3 wcscpy-c.
21966 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21967 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21968 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21969 * sysdeps/x86_64/wcschr.S: New file.
21970 * sysdeps/x86_64/wcsrchr.S: New file.
21971 * string/test-strcmp.c: Remove checking of wcscmp function for
21972 wrong alignments.
21973 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21974 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21975 wcsrchr-sse2 wcsrchr-c.
21976 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21977 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21978 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21979 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21980 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21981 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21982 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21983 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21984 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21985 * wcsmbc/wcschr.c (WCSCHR): New macro.
21986
5b330a2d
UD
219872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21988
21989 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21990 * wcsmbs/test-wcsrchr.c: New file.
21991 * string/test-strrchr.c: Add wcsrchr support.
21992 (WIDE): New macro.
21993 * wcsmbs/test-wcscpy.c: New file.
21994 * string/test-strcpy.c: Add wcscpy support.
21995 (WIDE): New macro.
26428b7c 21996
f039c043
UD
219972011-12-10 Ulrich Drepper <drepper@gmail.com>
21998
21999 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22000 the inner loop.
22001
850fb039
AS
220022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22003
22004 [BZ #13472]
22005 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22006
4efbd5cb
UD
220072011-12-04 Ulrich Drepper <drepper@gmail.com>
22008
52ff5dd0 22009 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22010 Minor optimizations.
52ff5dd0 22011
4efbd5cb
UD
22012 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22013 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22014 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22015
8a426e12
UD
220162011-12-03 Ulrich Drepper <drepper@gmail.com>
22017
aff2453d
UD
22018 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22019 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22020 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22021 for gcc to avoid warnings.
22022 * inet/Makefile (tests): Add tst-checks.
22023 * inet/tst-checks.c: New file.
22024
22025 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22026 warning.
22027
22028 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22029 __wmemcmp_sse2.
22030
22031 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22032 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22033
8a426e12
UD
22034 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22035
9bea3473
UD
220362011-12-02 Ulrich Drepper <drepper@gmail.com>
22037
3a965496
UD
22038 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22039 problem.
22040
9bea3473
UD
22041 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22042
f101631b
UD
220432011-11-29 Joseph Myers <joseph@codesourcery.com>
22044
22045 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22046 conditional on GCC version.
22047 (__arch_compare_and_exchange_val_8_acq)
22048 (__arch_compare_and_exchange_val_16_acq)
22049 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22050 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22051 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22052
a98275aa
UD
220532011-12-02 Joseph Myers <joseph@codesourcery.com>
22054
22055 * sysdeps/sh/backtrace.c: New file.
22056
d4cc29a2
AS
220572011-12-02 Andreas Schwab <schwab@redhat.com>
22058
22059 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22060 parenthesis.
22061
6257af2d
AS
220622011-12-01 Andreas Schwab <schwab@redhat.com>
22063
22064 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22065 falling back to utime.
22066
b5f44c1a
AS
220672011-11-30 Andreas Schwab <schwab@redhat.com>
22068
22069 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22070 expectations for float.
22071
f3a6cc0a
AS
220722011-11-29 Andreas Schwab <schwab@redhat.com>
22073
22074 * locale/weight.h (findidx): Add parameter len.
22075 * locale/weightwc.h (findidx): Likewise.
22076 * posix/fnmatch_loop.c (FCT): Adjust caller.
22077 * posix/regcomp.c (build_equiv_class): Likewise.
22078 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22079 * posix/regexec.c (check_node_accept_bytes): Likewise.
22080 * string/strcoll_l.c (STRCOLL): Likewise.
22081 * string/strxfrm_l.c (STRXFRM): Likewise.
22082
9d65ea3a
UD
220832011-11-17 Ulrich Drepper <drepper@gmail.com>
22084
22085 * Makefile.in: Remove CVSOPT handling.
22086 * configure.in: Remove use of AC_REVISION.
22087 * iconvdata/Makefile (distribute): No need to filter out CVS.
22088 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22089 handling.
22090
5583a086
AS
220912011-11-16 Andreas Schwab <schwab@redhat.com>
22092
22093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22094 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22095 [USE_AS_STRNCASECMP_L]: Likewise.
22096 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22097 NO_TLS_DIRECT_SEG_REFS.
22098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22099 Fix argument offsets for non-PIC.
22100 [USE_AS_STRNCASECMP_L]: Likewise.
22101 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22102 NO_TLS_DIRECT_SEG_REFS.
22103
d62a8200
UD
221042011-11-15 Ulrich Drepper <drepper@gmail.com>
22105
9d65ea3a 22106 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22107 O_CLOEXEC.
22108 * locale/loadlocale.c (_nl_load_locale): Likewise.
22109
09f93bd3
AS
221102011-11-15 Andreas Schwab <schwab@redhat.com>
22111
446514f9
AS
22112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22113 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22115 (SYSCALL_GETTIME): Set errno on error.
22116
09f93bd3
AS
22117 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22118 count references to noai6ai_cached.
22119
312be3f9
UD
221202011-11-15 Ulrich Drepper <drepper@gmail.com>
22121
22122 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22123
22124 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22125 FD_CLOEXEC for /proc/self/maps.
22126
22127 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22128 FD_CLOEXEC for /proc/meminfo.
22129
22130 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22131 gai.conf.
22132
22133 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22134 FD_CLOEXEC for given file.
22135
22136 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22137
22138 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22139 FD_CLOEXEC for /etc/hosts.
22140 (_gethtent): Likewise.
22141
22142 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22143
22144 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22145 cancellation and set FD_CLOEXEC for /etc/netgroup.
22146
22147 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22148 reading /etc/publickey.
22149
22150 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22151 allow cancellation when reading /etc/group.
22152
22153 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22154 cancellation.
22155 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22156
22157 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22158 when using data file.
22159
22160 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22161
22162 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22163 (write_nis_obj): Use "c" and "e" in fopen.
22164
22165 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22166
22167 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22168
22169 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22170
22171 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22172
22173 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22174 locale.alias.
22175
22176 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22177
22178 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22179
22180 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22181
22182 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22183 file parsing and set FD_CLOEXEC.
22184
82af0fa8
UD
221852011-11-14 Ulrich Drepper <drepper@gmail.com>
22186
22187 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22188
a5fb313c
AS
221892011-11-14 Andreas Schwab <schwab@redhat.com>
22190
22191 * malloc/arena.c (arena_get2): Don't call reused_arena when
22192 _int_new_arena failed.
22193
6abf3465
UD
221942011-11-14 Ulrich Drepper <drepper@gmail.com>
22195
22196 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22197 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22198 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22199 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22200 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22201 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22202 to compile strcasecmp and strncasecmp.
22203 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22204 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22205
22206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22207
76e3966e
UD
222082011-11-13 Ulrich Drepper <drepper@gmail.com>
22209
22210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22211 locale-defines.sym to gen-as-const-headers.
22212 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22213 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22214 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22215 to compile strcasecmp and strncasecmp.
22216 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22217 strcasecmp_l and strncasecmp_l.
22218 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22219 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22220 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22221 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22222 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22223 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22224 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22225 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22226 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22227 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22228 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22229
ab26144e
UD
222302011-11-12 Ulrich Drepper <drepper@gmail.com>
22231
7edb22ef
UD
22232 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22233 result of SYSDEP_GETTIME_CPU to retval.
22234 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22235 parameter list to macro. Remove trailing semicolon. Adjust users.
22236
9694fc44
UD
22237 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22238 variable.
22239
8ad89ef8
UD
22240 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22241 mantissa words.
22242 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22243
0c822ef9
UD
22244 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22245 from unused variable.
22246
874e0564
UD
22247 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22248 DWARF definitions.
22249 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22250 for assembling.
22251
3a2edc79
UD
22252 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22253 over namespaces.
22254
f3c2577f
UD
22255 * sunrpc/rpc_prot.c (rejected): Fix case value.
22256
294ce126
UD
22257 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22258 unsigned long long int to avoid warnings in shift.
22259
5e2b63c6
UD
22260 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22261 of use of trans.
22262 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22263 variable tmp.
22264
e7f4b08e
UD
22265 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22266 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22267 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22268
ab26144e
UD
22269 * nis/nis_table.c (nis_list): Use variable of correct type for
22270 result of __follow_path call.
22271
8a6d5255
AZ
222722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22273
22274 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22275 of math functions ceil, trunc, floor, round, and sqrt, when
22276 avaliable on the platform.
22277 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22278 name clash.
22279 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22280 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22281 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22282
aaddc98c
MP
222832011-10-30 Marek Polacek <mpolacek@redhat.com>
22284
22285 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22286 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22287
95b7042b
RM
222882011-11-11 Roland McGrath <roland@hack.frob.com>
22289
22290 * include/unistd.h: Fix __readlink return type.
22291 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22292
57769839
UD
222932011-11-11 Ulrich Drepper <drepper@gmail.com>
22294
22295 * stdlib/ucontext.h: Undo last change for makecontext.
22296
edc5984d
AS
222972011-11-11 Andreas Schwab <schwab@redhat.com>
22298
98591e58
AS
22299 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22300
edc5984d
AS
22301 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22302 * setjmp/setjmp.h: Mark functions as non-leaf.
22303 * setjmp/bits/setjmp2.h: Likewise.
22304 * stdlib/ucontext.h: Likewise.
22305
77cdc054
AS
223062011-11-10 Andreas Schwab <schwab@redhat.com>
22307
22308 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22309 (reused_arena): Don't check arena limit.
22310 (arena_get2): Atomically check arena limit.
22311
fe72eebd
UD
223122011-11-08 Ulrich Drepper <drepper@gmail.com>
22313
5f078c32
UD
22314 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22315 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22316
fe72eebd
UD
22317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22318 instructions.
22319
ae1bc2fa
AS
223202011-11-07 Andreas Schwab <schwab@redhat.com>
22321
7583a88d
AS
22322 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22323 handler when locking.
22324
ae1bc2fa
AS
22325 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22326 Fix size of allocated buffer.
22327
10fb0bfa
AS
223282011-11-04 Andreas Schwab <schwab@redhat.com>
22329
998832a4
AS
22330 [BZ #10103]
22331 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22332 declarations for long double functions.
22333 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22334
10fb0bfa
AS
22335 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22336
3d7ba52b
AS
223372011-11-03 Andreas Schwab <schwab@redhat.com>
22338
a9ae54a1
AS
22339 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22340 installed.
22341
3d7ba52b
AS
22342 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22343 is disabled.
22344
bc8db248
ST
223452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22346
22347 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22348
45b96dd6
AS
223492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22350
647776f6
AS
22351 * include/alloca.h (stackinfo_alloca_round): Define.
22352 (extend_alloca): Use it.
22353 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22354 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22355 here.
22356
d91a8b93
AS
22357 * scripts/check-local-headers.sh: Ignore libaudit.h.
22358
45b96dd6
AS
22359 * nscd/Makefile (extra-objs): Make recursively expanded.
22360
432d41ce
UD
223612011-11-01 Ulrich Drepper <drepper@gmail.com>
22362
34372fc6
UD
22363 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22365
fadb59f8
UD
22366 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22367 * posix/tst-rfc3484-2.c: Likewise.
22368 * posix/tst-rfc3484-3.c: Likewise.
22369
78239589
UD
22370 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22371 process_vm_writev.
22372 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22373 process_vm_writev.
22374 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22375 process_vm_writev from libc using GLIBC_2.15 version.
22376
432d41ce
UD
22377 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22378
02f9c6cf
PP
223792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22380
22381 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22382 stack usage.
22383
3a2c0242
UD
223842011-10-31 Ulrich Drepper <drepper@gmail.com>
22385
f4ec4833
UD
22386 [BZ #13367]
22387 * nss/getent.c (initgroups_keys): Show error message in case no group
22388 names are given.
22389
3a2c0242
UD
22390 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22391 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22392 __bump_nl_timestamp.
22393 * nscd/connections (nscd_init): When host database is served open
22394 netlink socket and request notification about configuration changes.
22395 (main_loop_poll): Track netlink file descriptor and bump timestamp
22396 in case data becomes available.
22397 (main_loop_epoll): Likewise.
22398 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22399 (database_pers_head): Add extra_data fileds.
22400 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22401 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22402 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22403 Adjust caller.
22404 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22405 in6ai data, call __free_in6ai.
22406 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22407 Add -DHAVE_NETLINK.
22408 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22409 interface information. Reuse previous data if netlink timestamp
22410 is not changed.
22411 (__bump_nl_timestamp): New function.
22412 (__free_in6ai): New function.
22413
636064eb
UD
224142011-10-30 Ulrich Drepper <drepper@gmail.com>
22415
22416 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22417 close_not_cancel_no_status here.
22418 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22419
9beb2334
UD
224202011-10-29 Ulrich Drepper <drepper@gmail.com>
22421
6ef76f3b
UD
22422 [BZ #13276]
22423 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22424 return value.
22425
0ffc4f3e 22426 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22427 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22428 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22429
cb95113e
UD
224302011-07-03 Andreas Jaeger <aj@suse.de>
22431
22432 [BZ #10709]
22433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22434 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22435 * math/libm-test.inc (sin_test): Add test case.
22436
a1b560ff
UD
224372011-10-29 Ulrich Drepper <drepper@gmail.com>
22438
c9aaface
UD
22439 [BZ #13337]
22440 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22441 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22442
d272e7f1
UD
22443 * elf/chroot_canon.c (chroot_canon): Cleanups.
22444
1bc33071
UD
22445 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22446
1760874d
TJ
22447 [BZ #13335]
22448 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22449 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22450
51d91b18
UD
22451 * string/test-strchr.c: Make usable for strchrnul testing.
22452 * string/test-strchrnul.c: New file.
22453 * string/Makefile (strop-tests): Add strchrnul.
22454
a1b560ff 22455 * po/it.po: Update from translation team.
b611fb81 22456 * po/es.po: Likewise.
a1b560ff 22457
a5b81e1f
UD
224582011-10-28 Ulrich Drepper <drepper@gmail.com>
22459
fd52bc6d
UD
22460 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22461 the three constants needed as parameters. Drop the others.
22462 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22463 __m128i_strloadu_tolower.
52e4b9eb
UD
22464 Create and initialize variable zero and use it in all the places
22465 where _mm_setzero_si128 was used.
fd52bc6d 22466
a5b81e1f
UD
22467 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22468 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22469 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22471 anymore.
22472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22473 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22474 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22475 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22476 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22477 __mpranred, __mptan.
22478 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22479 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22480 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22481 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22482 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22483 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22484 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22485 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22486 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22487
b4343346
AS
224882011-10-28 Andreas Schwab <schwab@redhat.com>
22489
0c92d8a8
AS
22490 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22491 redefine if SHARED.
22492 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22493
b4343346
AS
22494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22495 wide char related routines to wcsmbs subdir.
22496
3871f58f
AS
224972011-10-27 Andreas Schwab <schwab@redhat.com>
22498
22499 [BZ #13344]
22500 * misc/sys/cdefs.h (__THROWNL): Define.
22501 * posix/unistd.h: Use __THREADNL instead of __THREAD
22502 for memory synchronization functions.
22503
94d44d9f
RM
225042011-10-26 Roland McGrath <roland@hack.frob.com>
22505
21b64b15 22506 [BZ #13349]
94d44d9f
RM
22507 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22508 doesn't exist.
22509 * manual/stdio.texi (Obstack Streams): Node removed.
22510
f6ce9294
AS
225112011-10-26 Andreas Schwab <schwab@redhat.com>
22512
80479147
AS
22513 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22514 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22515 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22516
f6ce9294
AS
22517 * math/math_private.h (math_force_eval): Allow non-addressable
22518 arguments.
22519 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22520
618280a1
UD
225212011-10-25 Ulrich Drepper <drepper@gmail.com>
22522
e0016b11
UD
22523 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22524 file is not needed.
22525
22526 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22528 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22529 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22530 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22531 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22532 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22533 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22534 Add AVX variants.
22535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22539 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22540 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22541 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22542 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22543 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22544 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22545 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22546 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22547 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22548 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22549 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22550 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22551 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22552 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22553 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22554
22555 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22556 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22557
618280a1
UD
22558 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22559 place. Use VEX encoding when compiling for AVX.
22560
37822576
AS
225612011-10-25 Andreas Schwab <schwab@redhat.com>
22562
1f1e1947
AS
22563 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22564 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22565
37822576
AS
22566 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22567
31ea014d
UD
225682011-10-25 Ulrich Drepper <drepper@gmail.com>
22569
d7826aa1 22570 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22571 useless if() expression.
d7826aa1
UD
22572 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22585 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22586 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22590 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22591
31ea014d
UD
22592 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22593
16437fec
AS
225942011-10-25 Andreas Schwab <schwab@redhat.com>
22595
22596 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22597 condition.
22598 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22599
31d3cc00
UD
226002011-10-25 Ulrich Drepper <drepper@gmail.com>
22601
22602 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22603 .text section. Avoid duplicate constants.
22604 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22614 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22616 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22619 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22621 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22627 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22628 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22629 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22630 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22631 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22632 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22633 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22635 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22636 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22637 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22638 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22639 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22640 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22641 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22642 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22643 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22644 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22645 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22646 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22647 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22648 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22649
58985aa9
UD
226502011-10-24 Ulrich Drepper <drepper@gmail.com>
22651
202c9deb
UD
22652 * sysdeps/x86_64/dla.h: Move to ...
22653 * sysdeps/x86_64/fpu/dla.h: ...here.
22654 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22655 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22656
af968f62
UD
22657 * config.make.in: Add have-mfma4 entry.
22658 * configure.in: Substitute libc_cv_cc_fma4.
22659 * math/Makefile (dbl-only-routines): Add sincostab.
22660 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22661 Use __sincostab not sincos.
22662 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22663 name is a macro.
22664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22668 using __copysign.
22669 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22670 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22671 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22672 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22673 and __inv.
22674 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22675 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22676 __copysign.
22677 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22678 define aliases when function name is a macro.
22679 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22680 sysdeps/ieee754/dbl-64/sincos.tbl.
22681 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22682 fma4-enabled routines.
22683 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22687 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22689 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22690 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22691 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22692 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22693 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22694 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22695 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22696 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22697 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22698 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22699 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22700 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22701 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22702 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22703 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22704 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22705 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22706 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22707 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22708 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22710 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22711 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22712 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22713
58985aa9
UD
22714 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22715 rename.
22716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22724
a201fbcf
AS
227252011-10-24 Andreas Schwab <schwab@redhat.com>
22726
22727 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22728
fc2ee42a
LD
227292011-10-23 Ulrich Drepper <drepper@gmail.com>
22730
bb3129bd
UD
22731 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22732
0275fff8
UD
22733 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22734 prediction.
22735 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22736
2fa2ae85
UD
22737 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22738 Remove unused variable magic_bits.
22739 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22740
fc2ee42a
LD
22741 * string/strnlen.c: Define and use STRNLEN macro.
22742 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22743 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22745 * wcsmbs/wcslen.c: Define and use WCSLEN.
22746 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22747 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22748 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22749 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22750 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22751 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22752 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22753
ce7dd29f
LD
227542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22755
22756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22757 strnlen-sse2-no-bsf.
22758 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22759 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22760 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22761 Add strnlen support.
22762 (USE_AS_STRNLEN): New macro.
22763 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22764 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22765 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22766 * sysdeps/x86_64/wcslen.S: New file.
22767
979c70a3
MZ
227682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22769
22770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22771 XMM-moves are used for copying on small sizes.
22772
2d09f82f
LD
227732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22774
22775 * wcsmbs/Makefile (strop-tests): Add wcschr.
22776 * wcsmbs/test-wcschr.c: New file.
22777 * string/test-strchr.c: Update.
22778 Add wcschr support.
22779 (WIDE): New macro.
22780
619fccca
LD
227812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22782
2d09f82f 22783 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22784 * wcsmbs/test-wcslen.c: New file.
22785 * string/test-strlen.c: Update.
22786 Add wcslen support.
22787 (WIDE): New macro.
22788
09f699ea
UD
227892011-10-23 Ulrich Drepper <drepper@gmail.com>
22790
22791 * po/it.po: Update from translation team.
22792
95584d3b
LD
227932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22794
22795 * sysdeps/x86_64/wcscmp.S: Update.
22796 Fix wrong comparison semantics.
22797 wcscmp shall use signed comparison not unsigned.
22798 Don't use substraction to avoid overflow bug.
22799 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22800 * wcsmbc/wcscmp.c: Likewise.
22801 * string/test-strcmp.c: Likewise.
22802 Add new tests to check cases with negative values.
22803
c8b3296b
UD
228042011-10-23 Ulrich Drepper <drepper@gmail.com>
22805
22806 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22807 * sysdeps/x86_64/dla.h: ...here. New file.
22808 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22816 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22817
246ad57a
AS
228182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22819
22820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22821 __ynl_finite aliases.
22822
a1a87169
UD
228232011-10-22 Ulrich Drepper <drepper@gmail.com>
22824
0d355eb7
UD
22825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22826
a1a87169
UD
22827 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22828 define DLA_FMA.
22829 [DLA_FMA] (EMULV): Use DLA_FMA.
22830 [DLA_FMA] (MUL12): Use EMULV.
22831 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22832 that are not needed.
22833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22840
ee2aafe0
AS
228412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22842
22843 * math/s_nan.c: Undef __nan.
22844 * math/s_nanf.c: Undef __nanf.
22845 * math/s_nanl.c: Undef __nanl.
22846 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22847 "math_private.h".
22848
bc62c2fb
UD
228492011-10-22 Ulrich Drepper <drepper@gmail.com>
22850
77425c63
UD
22851 * math/s_catan.c: Add branch predictions.
22852 * math/s_catanf.c: Likewise.
22853 * math/s_catanh.c: Likewise.
22854 * math/s_catanhf.c: Likewise.
22855 * math/s_catanhl.c: Likewise.
22856 * math/s_catanl.c: Likewise.
22857 * math/s_cexp.c: Likewise.
22858 * math/s_cexpf.c: Likewise.
22859 * math/s_cexpl.c: Likewise.
22860 * math/s_clog.c: Likewise.
22861 * math/s_clog10.c: Likewise.
22862 * math/s_clog10f.c: Likewise.
22863 * math/s_clog10l.c: Likewise.
22864 * math/s_clogf.c: Likewise.
22865 * math/s_clogl.c: Likewise.
22866 * math/s_csqrt.c: Likewise.
22867 * math/s_csqrtf.c: Likewise.
22868 * math/s_csqrtl.c: Likewise.
22869 * math/s_ctanf.c: Likewise.
22870 * math/s_ctanh.c: Likewise.
22871 * math/s_ctanhf.c: Likewise.
22872 * math/s_ctanhl.c: Likewise.
22873 * math/s_ctanl.c: Likewise.
22874
bc62c2fb
UD
22875 * math/math_private.h: Define __nan, __nanf, __nanl.
22876 * math/s_cacosh.c: Include <math_private.h>.
22877 * math/s_cacoshl.c: Likewise.
22878 * math/s_casinh.c: Likewise.
22879 * math/s_casinhf.c: Likewise.
22880 * math/s_casinhl.c: Likewise.
22881 * math/s_ccos.c: Rely entire on ccosh.
22882 * math/s_ccosf.c: Rely entire on ccoshf.
22883 * math/s_ccosl.c: Rely entirely on ccoshl.
22884 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22885 Remove tests for FE_INVALID.
22886 * math/s_ccoshf.c: Likewise.
22887 * math/s_ccoshl.c: Likewise.
22888 * math/s_csin.c: Likewise.
22889 * math/s_csinf.c: Likewise.
22890 * math/s_csinh.c Likewise.
22891 * math/s_csinhf.c: Likewise.
22892 * math/s_csinhl.c: Likewise.
22893 * math/s_csinl.c: Likewise.
22894 * math/s_ctan.c: Likewise.
22895 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22896 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22897 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22898
8ec250a4
UD
228992011-10-21 Ulrich Drepper <drepper@gmail.com>
22900
c196fed8
UD
22901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22902 compilation problems.
22903
8ec250a4
UD
22904 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22905 __builtin_expect.
22906
8d4f46c6
UD
229072011-10-20 Ulrich Drepper <drepper@gmail.com>
22908
ed72b654
UD
22909 * sysdeps/i386/configure.in: Test for -mfma4 option.
22910 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22911 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22912 COMMON_CPUID_INDEX_80000001.
22913 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22914 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22915 use it if FMA3 is not supported.
22916 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22917
8d4f46c6
UD
22918 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22919 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22920
d45c60c2
AS
229212011-10-20 Andreas Schwab <schwab@redhat.com>
22922
22923 [BZ #12892]
22924 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22925 it would create a cycle with a link time dependency.
22926
d9a4d2ab
UD
229272011-10-19 Ulrich Drepper <drepper@gmail.com>
22928
855d1560
UD
22929 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22930 instruction.
22931 * string/Makefile (strop-tests): Add rawmemchr.
22932 * string/test-rawmemchr.c: New file.
22933
d9a4d2ab
UD
22934 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22935 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22936 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22937 when compiling str{,n}casecmp and when AVX is available. Hook up
22938 new optimized code in initializers.
22939
8f3b1ffe
AS
229402011-10-19 Andreas Schwab <schwab@redhat.com>
22941
22942 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22943 __feraiseexcept instead of feraiseexcept.
22944
d38f1dba
UD
229452011-10-18 Ulrich Drepper <drepper@gmail.com>
22946
d9a8d0ab
UD
22947 * math/math_private.h: Define defaults for libc_fetestexcept and
22948 libc_feupdateenv.
22949 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22950 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22951 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22952 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22953 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22954 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22955 libc_fetestexcept and libc_feupdateenv.
22956
4855e3dd
UD
22957 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22958 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22959 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22960 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22961 libc_feholdexcept_setround.
22962
581d30e3
UD
22963 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22964 Add s_nearbyint-c and s_nearbyintf-c.
22965 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22966 nearbyintf inlines.
22967 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22968 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22969 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22970 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22971
d38f1dba
UD
22972 * math/math_private.h: Define defaults for libc_fegetround,
22973 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22974 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22975 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22976 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22977 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22978 standard functions.
22979 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22980 Remove comments and hacks for old compiler versions.
22981 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22982 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22983 libc_feholdexceptl.
22984
caa6c9d8
AS
229852011-10-18 Andreas Schwab <schwab@redhat.com>
22986
22987 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22988 (__feraiseexcept_renamed): Add __NTH.
22989 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22990 namespace violations.
22991
97c066e6
UD
229922011-10-17 Ulrich Drepper <drepper@gmail.com>
22993
99ce7b04
UD
22994 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22995
1004d182
UD
22996 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22997
228a984d
UD
22998 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22999 recently added interfaces.
23000 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23001
c8553a6a
UD
23002 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23003 about macro parameter expansion.
23004
ed22dcf6
UD
23005 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23006 __NO_MATH_INLINES is defined. Cleanups.
23007
23008 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23009 and __floorf is target has SSE4.1.
23010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23011 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23012 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23013 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23014
b171c137
UD
23015 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23016 name.
23017 (floorf): Likewise.
23018
97c066e6
UD
23019 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23020
629f62ef
AS
230212011-10-17 Andreas Schwab <schwab@redhat.com>
23022
49a43d80
AS
23023 * misc/sys/cdefs.h: Fix last change.
23024
629f62ef
AS
23025 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23026 database lookup.
23027
e453f6cd
UD
230282011-10-16 Ulrich Drepper <drepper@gmail.com>
23029
aa78043a
UD
23030 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23031
ad0f5cad
UD
23032 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23033 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23034 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23035 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23036 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23037 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23038 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23039 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23040 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23041 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23042 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23043 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23044 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23045 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23046 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23047 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23048 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23049 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23050 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23051 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23052 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23053 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23054
23055 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23056 ceil, ceilf, floor, floorf.
23057
23058 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23059 Perform IRELATIVE relocations last.
23060
e453f6cd
UD
23061 * elf/do-rel.h: Add another parameter nrelative, replacing the
23062 local variable with the same name. Change name of the function
23063 to end in Rel or Rela (uppercase).
23064 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23065 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23066 elf_dynamic_do_##reloc function.
23067
fd5bdc09
UD
230682011-10-15 Ulrich Drepper <drepper@gmail.com>
23069
79b195b5
UD
23070 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23071 is sufficient, at least on modern CPUs.
23072
d4a28569
UD
23073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23074
b61099b5
UD
23075 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23076 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23077
bcf01e6d
UD
23078 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23079 __expl_finite.
23080 * math/bits/math-finite.h: Add entries for exp.
23081 * math/e_expl.c: Add __*_finite alias.
23082 * sysdeps/i386/fpu/e_exp.S: Likewise.
23083 * sysdeps/i386/fpu/e_expf.S: Likewise.
23084 * sysdeps/i386/fpu/e_expl.c: Likewise.
23085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23086 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23087 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23088 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23089 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23090 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23091 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23092
ba1a0d59
UD
23093 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23094 is sufficient, at least on modern CPUs.
23095
fd5bdc09
UD
23096 * ctype/ctype-info.c (__ctype_init): Define.
23097 * include/ctype.h (__ctype_init): Declare.
23098 (__ctype_b_loc): The variable is always initialized.
23099 (__ctype_toupper_loc): Likewise.
23100 (__ctype_tolower_loc): Likewise.
23101 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23102 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23103
7872cfb0
AS
231042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23105
b468825a
AS
23106 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23107
7872cfb0
AS
23108 * configure.in: Also look in $cxxmachine/include for C++ system
23109 headers.
23110
be13f7bf
LD
231112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23112
23113 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23114 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23115 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23116 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23117 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23118 (USE_AS_WMEMCMP): New macro.
23119 Fixing indents.
23120 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23121 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23122 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23123 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23125 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23126 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23127 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23128 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23129 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23131 (USE_AS_WMEMCMP): New macro.
23132 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23133 * sysdeps/string/test-memcmp.c: Update.
23134 Fix simple_wmemcmp.
23135 Add new tests.
23136 * wcsmbs/wmemcmp.c: Update.
23137 (WMEMCMP): New macro.
23138 Fix overflow bug.
23139
556a2007
AJ
231402011-10-12 Andreas Jaeger <aj@suse.de>
23141
23142 [BZ #13268]
23143 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23144
538faaa7
UD
231452011-10-15 Ulrich Drepper <drepper@gmail.com>
23146
ab6737ff
UD
23147 * libio/iofwide.c (do_length): Avoid warning.
23148
538faaa7
UD
23149 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23150
396a21b1
UD
231512011-10-14 Ulrich Drepper <drepper@gmail.com>
23152
cdf2901f
UD
23153 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23154
38ad40ce
UD
23155 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23156 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23157 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23158 * sysdeps/i386/i686/fpu/e_log.S: New file.
23159 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23160 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23161
396a21b1
UD
23162 * ctype/ctype.h: Add support for inlined isXXX functions when
23163 compiling C++ code.
23164
6b1f68c9
AS
231652011-10-14 Andreas Schwab <schwab@redhat.com>
23166
349290c0
AS
23167 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23168
6b1f68c9
AS
23169 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23170
f2282d42
RM
231712011-10-13 Roland McGrath <roland@hack.frob.com>
23172
23173 [BZ #13291]
23174 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23175
5298ffa8
AS
231762011-10-13 Andreas Schwab <schwab@redhat.com>
23177
714fad23
AS
23178 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23179 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23180 feraiseexcept.
23181
81dcc7fb
AS
23182 * sysdeps/x86_64/memrchr.S: Check for zero size.
23183
5298ffa8
AS
23184 * string/stratcliff.c: Add memrchr tests.
23185
951fbcec
LD
231862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23187
23188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23189 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23190 rawmemchr-sse2 rawmemchr-sse2-bsf.
23191 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23192 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23193 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23194 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23195 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23196 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23197 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23198 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23199 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23200 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23201 * string/memrchr.c (MEMRCHR): New macro.
23202
0ac5ae23
UD
232032011-10-12 Ulrich Drepper <drepper@gmail.com>
23204
23205 Add integration with gcc's -ffinite-math-only and optimize wrapper
23206 functions in libm.
23207 * Versions.def: Define GLIBC_2.15 version for libm.
23208 * math/Makefile (headers): Add bits/math-finite.h.
23209 * math/bits/math-finite.h: New file.
23210 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23211 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23212 * math/e_acoshl.c: Add __*_finite alias.
23213 * math/e_acosl.c: Likewise.
23214 * math/e_asinl.c: Likewise.
23215 * math/e_atan2l.c: Likewise.
23216 * math/e_atanhl.c: Likewise.
23217 * math/e_coshl.c: Likewise.
23218 * math/e_exp10.c: Likewise.
23219 * math/e_exp10f.c: Likewise.
23220 * math/e_exp10l.c: Likewise.
23221 * math/e_exp2l.c: Likewise.
23222 * math/e_fmodl.c: Likewise.
23223 * math/e_gammal_r.c: Likewise.
23224 * math/e_hypotl.c: Likewise.
23225 * math/e_j0l.c: Likewise.
23226 * math/e_j1l.c: Likewise.
23227 * math/e_jnl.c: Likewise.
23228 * math/e_lgammal_r.c: Likewise.
23229 * math/e_log10l.c: Likewise.
23230 * math/e_log2l.c: Likewise.
23231 * math/e_logl.c: Likewise.
23232 * math/e_powl.c: Likewise.
23233 * math/e_sinhl.c: Likewise.
23234 * math/e_sqrtl.c: Likewise.
23235 * math/e_scalb.c: Completely rewritten and optimized.
23236 * math/e_scalbf.c: Likewise.
23237 * math/e_scalbl.c: Likewise.
23238 * math/w_acos.c: Likewise.
23239 * math/w_acosf.c: Likewise.
23240 * math/w_acosl.c: Likewise.
23241 * math/w_acosh.c: Likewise.
23242 * math/w_acoshf.c: Likewise.
23243 * math/w_acoshl.c: Likewise.
23244 * math/w_asin.c: Likewise.
23245 * math/w_asinf.c: Likewise.
23246 * math/w_asinl.c: Likewise.
23247 * math/w_atan2.c: Likewise.
23248 * math/w_atan2f.c: Likewise.
23249 * math/w_atan2l.c: Likewise.
23250 * math/w_atanh.c: Likewise.
23251 * math/w_atanhf.c: Likewise.
23252 * math/w_atanhl.c: Likewise.
23253 * math/w_exp10.c: Likewise.
23254 * math/w_exp10f.c: Likewise.
23255 * math/w_exp10l.c: Likewise.
23256 * math/w_fmod.c: Likewise.
23257 * math/w_fmodf.c: Likewise.
23258 * math/w_fmodl.c: Likewise.
23259 * math/w_j0.c: Likewise.
23260 * math/w_j0f.c: Likewise.
23261 * math/w_j0l.c: Likewise.
23262 * math/w_j1.c: Likewise.
23263 * math/w_j1f.c: Likewise.
23264 * math/w_j1l.c: Likewise.
23265 * math/w_jn.c: Likewise.
23266 * math/w_jnf.c: Likewise.
23267 * math/w_log.c: Likewise.
23268 * math/w_logf.c: Likewise.
23269 * math/w_logl.c: Likewise.
23270 * math/w_log10.c: Likewise.
23271 * math/w_log10f.c: Likewise.
23272 * math/w_log10l.c: Likewise.
23273 * math/w_log2.c: Likewise.
23274 * math/w_log2f.c: Likewise.
23275 * math/w_log2l.c: Likewise.
23276 * math/w_pow.c: Likewise.
23277 * math/w_powf.c: Likewise.
23278 * math/w_powl.c: Likewise.
23279 * math/w_remainder.c: Likewise.
23280 * math/w_remainderf.c: Likewise.
23281 * math/w_remainderl.c: Likewise.
23282 * math/w_scalb.c: Likewise.
23283 * math/w_scalbf.c: Likewise.
23284 * math/w_scalbl.c: Likewise.
23285 * math/w_sqrt.c: Likewise.
23286 * math/w_sqrtf.c: Likewise.
23287 * math/w_sqrtl.c: Likewise.
23288 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23289 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23290 used.
23291 * math/math_private.h: Declare __kernel_standard_f.
23292 * math/w_cosh.c: Remove cruft and optimize a bit.
23293 * math/w_coshf.c: Likewise.
23294 * math/w_coshl.c: Likewise.
23295 * math/w_exp2.c: Likewise.
23296 * math/w_exp2f.c: Likewise.
23297 * math/w_exp2l.c: Likewise.
23298 * math/w_hypot.c: Likewise.
23299 * math/w_hypotf.c: Likewise.
23300 * math/w_hypotl.c: Likewise.
23301 * math/w_lgamma.c: Likewise.
23302 * math/w_lgamma_r.c: Likewise.
23303 * math/w_lgammaf.c: Likewise.
23304 * math/w_lgammaf_r.c: Likewise.
23305 * math/w_lgammal.c: Likewise.
23306 * math/w_lgammal_r.c: Likewise.
23307 * math/w_sinh.c: Likewise.
23308 * math/w_sinhf.c: Likewise.
23309 * math/w_sinhl.c: Likewise.
23310 * math/w_tgamma.c: Likewise.
23311 * math/w_tgammaf.c: Likewise.
23312 * math/w_tgammal.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23314 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23315 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23316 Minor optimizations. Pretty printing. Remove cruft.
23317 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23318 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23319 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23320 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23321 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23322 * sysdeps/i386/fpu/e_asin.S: Likewise.
23323 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23324 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23325 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23326 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23327 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23328 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23329 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23330 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23331 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23332 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23333 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23334 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23335 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23336 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23337 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23338 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23339 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23340 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23341 * sysdeps/i386/fpu/e_log.S: Likewise.
23342 * sysdeps/i386/fpu/e_log10.S: Likewise.
23343 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23344 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23345 * sysdeps/i386/fpu/e_log2.S: Likewise.
23346 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23347 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23348 * sysdeps/i386/fpu/e_logf.S: Likewise.
23349 * sysdeps/i386/fpu/e_logl.S: Likewise.
23350 * sysdeps/i386/fpu/e_pow.S: Likewise.
23351 * sysdeps/i386/fpu/e_powf.S: Likewise.
23352 * sysdeps/i386/fpu/e_powl.S: Likewise.
23353 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23354 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23355 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23356 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23357 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23359 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23360 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23361 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23369 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23370 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23371 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23372 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23373 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23383 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23384 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23385 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23386 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23387 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23388 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23389 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23390 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23391 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23394 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23395 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23396 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23397 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23398 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23399 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23400 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23401 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23402 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23403 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23427 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23431 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23432 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23434 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23450 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23453 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23454 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23455 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23459 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23460 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23461 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23462 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23463 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23464 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23465 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23466 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23467 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23468 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23470 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23471 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23472 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23473 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23474 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23475 (__isnanf): Likewise.
23476 (__isinf_ns): Likewise.
23477 (__isinf_nsf): Likewise.
23478 (__finite): Likewise.
23479 (__finitef): Likewise.
23480 (__ieee754_sqrt): Define as macro.
23481 (__ieee754_sqrtf): Define as macro.
23482 (__ieee754_sqrtl): Define as macro.
23483 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23484 inlined copy.
23485 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23486 __FINITE_MATH_ONLY__ consistent.
23487 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23488
12cc2fcd
AS
234892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23490
a843a204
AS
23491 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23492 of rawmemchr.
23493
12cc2fcd
AS
23494 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23495
c853acd5
UD
234962011-10-09 Ulrich Drepper <drepper@gmail.com>
23497
23498 * po/ja.po: Update from translation team.
23499
c658d255
RM
235002011-10-08 Roland McGrath <roland@hack.frob.com>
23501
110946e4
RM
23502 * locale/programs/locarchive.c (prepare_address_space): New function.
23503 (create_archive, enlarge_archive, open_archive): Use it.
23504
50604220
RM
23505 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23506 inside [SHARED], where it is used.
23507
c658d255
RM
23508 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23509
23510 * nss/getent.c (netgroup_keys): Remove unused variable.
23511 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23512
6a621eb7
UD
235132011-10-08 Ulrich Drepper <drepper@gmail.com>
23514
7edb55ce
UD
23515 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23516 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23518 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23519 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23520 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23521 * math/Makefile (libm-calls): Add s_isinf_ns.
23522 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23523 * math/multc3.c: Likewise.
23524 * math/s_casin.c: Likewise.
23525 * math/s_casinf.c: Likewise.
23526 * math/s_casinl.c: Likewise.
23527 * math/s_ccos.c: Likewise.
23528 * math/s_ccosf.c: Likewise.
23529 * math/s_ccosl.c: Likewise.
23530 * math/s_ctan.c: Likewise.
23531 * math/s_ctanf.c: Likewise.
23532 * math/s_ctanh.c: Likewise.
23533 * math/s_ctanhf.c: Likewise.
23534 * math/s_ctanhl.c: Likewise.
23535 * math/s_ctanl.c: Likewise.
23536 * math/w_fmod.c: Likewise.
23537 * math/w_fmodf.c: Likewise.
23538 * math/w_fmodl.c: Likewise.
23539 * math/w_remainder.c: Likewise.
23540 * math/w_remainderf.c: Likewise.
23541 * math/w_remainderl.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23543 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23544 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23546 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23547 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23548 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23549 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23550
187da0ae
UD
23551 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23552 of the number.
23553 * stdio-common/printf_fphex.c: Likewise.
23554 * stdio-common/printf_size.c: Likewise.
23555
9277c064
UD
23556 * math/e_exp10.c: Include math_private.h using <...> not "...".
23557 * math/e_exp10f.c: Likewise.
23558 * math/e_exp10l.c: Likewise.
23559 * math/e_exp2l.c: Likewise.
23560 * math/e_j0l.c: Likewise.
23561 * math/e_j1l.c: Likewise.
23562 * math/e_jnl.c: Likewise.
23563 * math/e_lgammal_r.c: Likewise.
23564 * math/e_rem_pio2l.c: Likewise.
23565 * math/e_scalb.c: Likewise.
23566 * math/e_scalbf.c: Likewise.
23567 * math/e_scalbl.c: Likewise.
23568 * math/k_cosl.c: Likewise.
23569 * math/k_sinl.c: Likewise.
23570 * math/k_tanl.c: Likewise.
23571 * math/s_cacoshf.c: Likewise.
23572 * math/s_catan.c: Likewise.
23573 * math/s_catanf.c: Likewise.
23574 * math/s_catanh.c: Likewise.
23575 * math/s_catanhf.c: Likewise.
23576 * math/s_catanhl.c: Likewise.
23577 * math/s_catanl.c: Likewise.
23578 * math/s_ccosh.c: Likewise.
23579 * math/s_ccoshf.c: Likewise.
23580 * math/s_ccoshl.c: Likewise.
23581 * math/s_cexp.c: Likewise.
23582 * math/s_cexpf.c: Likewise.
23583 * math/s_cexpl.c: Likewise.
23584 * math/s_clog.c: Likewise.
23585 * math/s_clog10.c: Likewise.
23586 * math/s_clog10f.c: Likewise.
23587 * math/s_clog10l.c: Likewise.
23588 * math/s_clogf.c: Likewise.
23589 * math/s_clogl.c: Likewise.
23590 * math/s_csin.c: Likewise.
23591 * math/s_csinf.c: Likewise.
23592 * math/s_csinh.c: Likewise.
23593 * math/s_csinhf.c: Likewise.
23594 * math/s_csinhl.c: Likewise.
23595 * math/s_csinl.c: Likewise.
23596 * math/s_csqrt.c: Likewise.
23597 * math/s_csqrtf.c: Likewise.
23598 * math/s_csqrtl.c: Likewise.
23599 * math/s_ctan.c: Likewise.
23600 * math/s_ctanf.c: Likewise.
23601 * math/s_ctanh.c: Likewise.
23602 * math/s_ctanhf.c: Likewise.
23603 * math/s_ctanhl.c: Likewise.
23604 * math/s_ctanl.c: Likewise.
23605 * math/s_ldexp.c: Likewise.
23606 * math/s_ldexpf.c: Likewise.
23607 * math/s_ldexpl.c: Likewise.
23608 * math/s_significand.c: Likewise.
23609 * math/s_significandf.c: Likewise.
23610 * math/s_significandl.c: Likewise.
23611 * math/w_acos.c: Likewise.
23612 * math/w_acosf.c: Likewise.
23613 * math/w_acosh.c: Likewise.
23614 * math/w_acoshf.c: Likewise.
23615 * math/w_acoshl.c: Likewise.
23616 * math/w_acosl.c: Likewise.
23617 * math/w_asin.c: Likewise.
23618 * math/w_asinf.c: Likewise.
23619 * math/w_asinl.c: Likewise.
23620 * math/w_atan2.c: Likewise.
23621 * math/w_atan2f.c: Likewise.
23622 * math/w_atan2l.c: Likewise.
23623 * math/w_atanh.c: Likewise.
23624 * math/w_atanhf.c: Likewise.
23625 * math/w_atanhl.c: Likewise.
23626 * math/w_cosh.c: Likewise.
23627 * math/w_coshf.c: Likewise.
23628 * math/w_coshl.c: Likewise.
23629 * math/w_dremf.c: Likewise.
23630 * math/w_exp10.c: Likewise.
23631 * math/w_exp10f.c: Likewise.
23632 * math/w_exp10l.c: Likewise.
23633 * math/w_exp2.c: Likewise.
23634 * math/w_exp2f.c: Likewise.
23635 * math/w_fmod.c: Likewise.
23636 * math/w_fmodf.c: Likewise.
23637 * math/w_fmodl.c: Likewise.
23638 * math/w_hypot.c: Likewise.
23639 * math/w_hypotf.c: Likewise.
23640 * math/w_hypotl.c: Likewise.
23641 * math/w_j0.c: Likewise.
23642 * math/w_j0f.c: Likewise.
23643 * math/w_j0l.c: Likewise.
23644 * math/w_j1.c: Likewise.
23645 * math/w_j1f.c: Likewise.
23646 * math/w_j1l.c: Likewise.
23647 * math/w_jn.c: Likewise.
23648 * math/w_jnf.c: Likewise.
23649 * math/w_jnl.c: Likewise.
23650 * math/w_lgamma.c: Likewise.
23651 * math/w_lgamma_r.c: Likewise.
23652 * math/w_lgammaf.c: Likewise.
23653 * math/w_lgammaf_r.c: Likewise.
23654 * math/w_lgammal.c: Likewise.
23655 * math/w_lgammal_r.c: Likewise.
23656 * math/w_log.c: Likewise.
23657 * math/w_log10.c: Likewise.
23658 * math/w_log10f.c: Likewise.
23659 * math/w_log10l.c: Likewise.
23660 * math/w_log2.c: Likewise.
23661 * math/w_log2f.c: Likewise.
23662 * math/w_log2l.c: Likewise.
23663 * math/w_logf.c: Likewise.
23664 * math/w_logl.c: Likewise.
23665 * math/w_pow.c: Likewise.
23666 * math/w_powf.c: Likewise.
23667 * math/w_powl.c: Likewise.
23668 * math/w_remainder.c: Likewise.
23669 * math/w_remainderf.c: Likewise.
23670 * math/w_remainderl.c: Likewise.
23671 * math/w_scalb.c: Likewise.
23672 * math/w_scalbf.c: Likewise.
23673 * math/w_scalbl.c: Likewise.
23674 * math/w_sinh.c: Likewise.
23675 * math/w_sinhf.c: Likewise.
23676 * math/w_sinhl.c: Likewise.
23677 * math/w_sqrt.c: Likewise.
23678 * math/w_sqrtf.c: Likewise.
23679 * math/w_sqrtl.c: Likewise.
23680 * math/w_tgamma.c: Likewise.
23681 * math/w_tgammaf.c: Likewise.
23682 * math/w_tgammal.c: Likewise.
23683
6a621eb7
UD
23684 * po/ja.po: Update from translation team.
23685
bf582445
AJ
236862011-09-29 Andreas Jaeger <aj@suse.de>
23687
f9efbf3a
AJ
23688 [BZ #13179]
23689 * sunrpc/netname.c (netname2host): Fix logic.
23690
bf582445
AJ
23691 [BZ #6779]
23692 [BZ #6783]
23693 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23694 correctly.
23695 * math/w_remainder.c (__remainder): Likewise.
23696 * math/w_remainderf.c (__remainderf): Likewise.
23697 * math/libm-test.inc (remainder_test): Add test cases.
23698
48693bea
AK
236992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23700
23701 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23702 sdiv_qrnnd.
23703
42622229
LD
237042011-10-07 Ulrich Drepper <drepper@gmail.com>
23705
23706 * string/test-memcmp.c: Avoid unncessary #defines.
23707 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23708
093ecf92
LD
237092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23710
23711 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23712 Use new sse2 version for core i3 - i7 as it's faster
23713 than sse42 version.
23714 (bit_Prefer_PMINUB_for_stringop): New.
23715 * sysdeps/x86_64/rawmemchr.S: Update.
23716 Replace with faster SSE2 version.
23717 * sysdeps/x86_64/memrchr.S: New file.
23718 * sysdeps/x86_64/memchr.S: Update.
23719 Replace with faster SSE2 version.
23720
fde56e5c
MP
237212011-09-12 Marek Polacek <mpolacek@redhat.com>
23722
23723 * elf/dl-load.c (lose): Add cast to avoid warning.
23724
21fd49a9
UD
237252011-10-07 Ulrich Drepper <drepper@gmail.com>
23726
5a06e643
UD
23727 * po/ca.po: Update from translation team.
23728
684ae515
UD
23729 * inet/getnetgrent_r.c: Hook up nscd.
23730 * nscd/Makefile (routines): Add nscd_netgroup.
23731 (nscd-modules): Add netgroupcache.
23732 (CFLAGS-netgroupcache.c): Define.
23733 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23734 (cache_search): Add const to second parameter.
23735 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23736 INNETGR.
23737 (dbs): Add netgrdb entry.
23738 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23739 (verify_persistent_db): Handle netgrdb.
23740 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23741 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23742 GETFDNETGR.
23743 (netgroup_response_header): Define.
23744 (innetgroup_response_header): Define.
23745 (datahead): Add netgroup_response_header and innetgroup_response_header
23746 elements.
23747 * nscd/nscd.conf: Add entries for netgroup cache.
23748 * nscd/nscd.h (dbtype): Add netgrdb.
23749 (_PATH_NSCD_NETGROUP_DB): Define.
23750 (netgroup_iov_disabled): Declare.
23751 (xmalloc, xcalloc, xrealloc): Move declarations here.
23752 (cache_search): Adjust prototype.
23753 Add netgroup-related prototypes.
23754 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23755 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23756 (__nscd_innetgr): Declare.
23757 * nscd/selinux.c (perms): Use access_vector_t as element type and
23758 add netgroup-related initializers.
23759 * nscd/netgroupcache.c: New file.
23760 * nscd/nscd_netgroup.c: New file.
23761 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23762 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23763 For four parameters use innetgr.
23764 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23765 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23766 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23767 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23768
21fd49a9
UD
23769 * nscd/connections.c (register_traced_file): Don't register file
23770 for disabled databases.
23771
054c0457
UD
237722011-10-06 Ulrich Drepper <drepper@gmail.com>
23773
32b63198
UD
23774 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23775
054c0457
UD
23776 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23777 from tree and freeing node.
23778
64031225
JO
237792011-09-25 Jiri Olsa <jolsa@redhat.com>
23780
23781 * nss/nsswitch.c (__nss_database_lookup): Handle
23782 nss_parse_service_list out of memory case.
23783
0490345c
JO
237842011-09-15 Jiri Olsa <jolsa@redhat.com>
23785
23786 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23787 out of memory case.
23788
3a62d00d
AS
237892011-10-04 Andreas Schwab <schwab@redhat.com>
23790
23791 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23792 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23793 pass it down.
23794 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23795 elf_machine_rela, elf_machine_lazy_rel.
23796 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23797 (ELF_DYNAMIC_DO_REL): Likewise.
23798 (ELF_DYNAMIC_DO_RELA): Likewise.
23799 (ELF_DYNAMIC_RELOCATE): Likewise.
23800 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23801 to ELF_DYNAMIC_DO_REL.
23802 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23803 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23804 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23805 elf_machine_rela.
23806 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23807 skip_ifunc, don't call ifunc function if non-zero.
23808 (elf_machine_rela): Likewise.
23809 (elf_machine_lazy_rel): Likewise.
23810 (elf_machine_lazy_rela): Likewise.
23811 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23812 (elf_machine_lazy_rel): Likewise.
23813 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23814 Likewise.
23815 (elf_machine_lazy_rel): Likewise.
23816 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23817 Likewise.
23818 (elf_machine_lazy_rel): Likewise.
23819 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23820 (elf_machine_lazy_rel): Likewise.
23821 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23822 (elf_machine_lazy_rel): Likewise.
23823 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23824 (elf_machine_lazy_rel): Likewise.
23825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23826 (elf_machine_lazy_rel): Likewise.
23827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23828 (elf_machine_lazy_rel): Likewise.
23829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23830 (elf_machine_lazy_rel): Likewise.
23831
68577918
UD
238322011-09-28 Ulrich Drepper <drepper@gmail.com>
23833
23834 * nss/nss_files/files-init.c (_nss_files_init): Use static
23835 initialization for all the *_traced_file variables.
23836
68822d74
AS
238372011-09-28 Andreas Schwab <schwab@redhat.com>
23838
23839 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23840
2056100b
RM
238412011-09-27 Roland McGrath <roland@hack.frob.com>
23842
23843 [BZ #13226]
23844 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23845
32c76b63
AS
238462011-09-27 Andreas Schwab <schwab@redhat.com>
23847
23848 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23849 Reread the line before reparsing it.
23850
bf972c9d
AS
238512011-09-26 Andreas Schwab <schwab@redhat.com>
23852
23853 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23854
e057a1b5
JM
238552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23856 Maxim Kuvyrkov <maxim@codesourcery.com>
23857 Joseph Myers <joseph@codesourcery.com>
23858
23859 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23860 if needed for __stack_chk_guard.
23861
bc7e1c36
RM
238622011-09-19 Roland McGrath <roland@hack.frob.com>
23863
ecb1482f
RM
23864 * sysdeps/posix/spawni.c (script_execute): Always define it.
23865 It will be optimized away if unused.
23866 (maybe_script_execute): New function.
23867 (__spawni): Call it.
23868
bc7e1c36
RM
23869 * Makerules: Don't include tls.make.
23870 (config-tls): Always set to thread.
23871 * tls.make.c: File removed.
23872
1c3b002b
MF
238732011-09-19 Mike Frysinger <vapier@gentoo.org>
23874
23875 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23876 * config.make.in (CPPFLAGS-config): New substituted variable.
23877
2840865d
UD
238782011-09-15 Ulrich Drepper <drepper@gmail.com>
23879
88738eb6
UD
23880 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23881
cbf645a6 23882 [BZ #13192]
2840865d
UD
23883 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23884 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23885
b402e91a
RM
238862011-09-15 Roland McGrath <roland@hack.frob.com>
23887
23888 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23889 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23890 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23891 (CALL_FAIL): Likewise.
23892 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23893 (CALL_FAIL): Macro removed.
23894 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23895
4c1a1f71
UD
238962011-09-15 Ulrich Drepper <drepper@gmail.com>
23897
23898 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23899 for __FINITE_MATH_ONLY__ == 1.
23900
edc121be
AS
239012011-09-15 Andreas Schwab <schwab@redhat.com>
23902
23903 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23904 __ieee754_sqrt instead of sqrt.
23905 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23906 __ieee754_sqrtf instead of sqrtf.
23907 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23908 __floorf instead of floorf.
23909 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23910 __floorf, __truncf instead of floorf, truncf.
23911
cd205654
UD
239122011-09-14 Ulrich Drepper <drepper@gmail.com>
23913
ee4d0315
UD
23914 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23915
cd205654
UD
23916 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23917 __extern_always_inline.
23918 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23919 32-bit.
23920
48b67d71
AS
239212011-09-14 Andreas Schwab <schwab@redhat.com>
23922
23923 * elf/rtld.c (dl_main): Also relocate in dependency order when
23924 doing symbol dependency testing.
23925
1ae12c75
AS
239262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23927
23928 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23929 Always define `refsym'.
23930
995a80df
AS
239312011-09-13 Andreas Schwab <schwab@redhat.com>
23932
e529793b
AS
23933 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23934 (__FD_ELT): Renamed from __FDELT.
23935 * misc/bits/select2.h (__FD_ELT): Likewise.
23936 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23937 __FD_MASK instead of __FDELT, __FDMASK.
23938 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23939 Likewise.
23940 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23941 Likewise.
23942
52d4fef8
AS
23943 * elf/Makefile (gen-ldd): Fix pattern.
23944
995a80df
AS
23945 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23946 (init_tls): Likewise.
23947
8682f8b0
UD
239482011-09-12 Ulrich Drepper <drepper@gmail.com>
23949
23950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23951
de82006d
AS
239522011-09-12 Andreas Schwab <schwab@redhat.com>
23953
a7c8e6a1
AS
23954 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23955 `struct cmsghdr *' instead of `void *'.
23956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23957 Likewise.
23958
0f31fe77
AS
239592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23960
23961 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23962 if non-absolute.
23963 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23964 ldd_rewrite_script.
0f31fe77 23965
32b4c839
UD
239662011-09-11 Ulrich Drepper <drepper@gmail.com>
23967
83cd1420
UD
23968 * configure.in: Remove --with-tls option.
23969 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23970 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23971 out in case it is missing.
23972 * sysdeps/ia64/elf/configure.in: Likewise.
23973 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23974 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23975 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23976 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23977 * sysdeps/sh/elf/configure.in: Likewise.
23978 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23979 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23980 * sysdeps/x86_64/elf/configure.in: Likewise.
23981 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23982 * sysdeps/mach/hurd/tls.h: Likewise.
23983
633f745d
UD
23984 [BZ #13067]
23985 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23986
f318beb8
UD
23987 [BZ #13090]
23988 * configure.in: Fix use of AC_INIT.
23989
32b4c839
UD
23990 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23991
3ce1f295
UD
239922011-09-10 Ulrich Drepper <drepper@gmail.com>
23993
bb016596
UD
23994 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23995 __set_errno.
8e58439c
UD
23996 * malloc/hooks.c: Likewise.
23997
aebae053 23998 [BZ #11929]
02d46fc4
UD
23999 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24000 variables statically.
24001 (narenas): Initialize.
24002 (list_lock): Initialize.
bb016596
UD
24003 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24004 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24005 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24006 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24007 Add initializers to main_arena and mp_.
24008 (malloc_state): Remove pagesize member. Change all users to use
24009 GLRO(dl_pagesize).
24010
24011 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24012 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24013 is always initialized.
24014
22a89187
UD
24015 * malloc/malloc.c: Removed unused configurations and dead code.
24016 * malloc/arena.c: Likewise.
24017 * malloc/hooks.c: Likewise.
02d46fc4 24018 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24019
d063d164
UD
24020 * include/tls.h: Removed. USE___THREAD must always be defined.
24021 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24022 * elf/dl-libc.c: Likewise.
24023 * elf/dl-tsd.c: Likewise.
24024 * include/errno.h: Likewise.
24025 * include/netdb.h: Likewise.
24026 * include/resolv.h: Likewise.
24027 * inet/herrno-loc.c: Likewise.
24028 * inet/herrno.c: Likewise.
24029 * malloc/arena.c: Likewise.
24030 * malloc/hooks.c: Likewise.
24031 * malloc/malloc.c: Likewise.
24032 * resolv/res-state.c: Likewise.
24033 * resolv/res_libc.c: Likewise.
24034 * sysdeps/i386/dl-machine.h: Likewise.
24035 * sysdeps/ia64/dl-machine.h: Likewise.
24036 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24037 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24038 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24039 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24040 * sysdeps/sh/dl-machine.h: Likewise.
24041 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24042 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24043 * sysdeps/unix/i386/sysdep.S: Likewise.
24044 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24045 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24046 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24047 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24049 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24050 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24053 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24054 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24055 * sysdeps/x86_64/dl-machine.h: Likewise.
24056 * tls.make.c: Likewise.
24057
3ce1f295
UD
24058 * configure.in: Remove --with-__thread option. Make tests for
24059 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24060 tls_model attribute fail if no support is available. Remove
24061 USE_IN_LIBIO.
24062 * Makeconfig: Adjust for dropped configure option. All features are
24063 now mandatory.
24064 * Makerules: Likewise.
24065 * Versions.def: Likewise.
24066 * argp/argp-fmtstream.c: Likewise.
24067 * argp/argp-fmtstream.h: Likewise.
24068 * argp/argp-help.c: Likewise.
24069 * assert/assert.c: Likewise.
24070 * config.h.in: Likewise.
24071 * config.make.in: Likewise.
24072 * configure: Likewise.
24073 * configure.in: Likewise.
24074 * csu/Versions: Likewise.
24075 * csu/init.c: Likewise.
24076 * elf/tst-audit2.c: Likewise.
24077 * elf/tst-tls10.c: Likewise.
24078 * elf/tst-tls10.h: Likewise.
24079 * elf/tst-tls11.c: Likewise.
24080 * elf/tst-tls12.c: Likewise.
24081 * elf/tst-tls14.c: Likewise.
24082 * elf/tst-tlsmod11.c: Likewise.
24083 * elf/tst-tlsmod12.c: Likewise.
24084 * elf/tst-tlsmod13.c: Likewise.
24085 * elf/tst-tlsmod13a.c: Likewise.
24086 * elf/tst-tlsmod14a.c: Likewise.
24087 * elf/tst-tlsmod15b.c: Likewise.
24088 * elf/tst-tlsmod16a.c: Likewise.
24089 * elf/tst-tlsmod16b.c: Likewise.
24090 * elf/tst-tlsmod7.c: Likewise.
24091 * elf/tst-tlsmod8.c: Likewise.
24092 * elf/tst-tlsmod9.c: Likewise.
24093 * gmon/gmon.c: Likewise.
24094 * grp/fgetgrent_r.c: Likewise.
24095 * grp/putgrent.c: Likewise.
24096 * hurd/fopenport.c: Likewise.
24097 * include/libc-symbols.h: Likewise.
24098 * include/tls.h: Likewise.
24099 * intl/gettextP.h: Likewise.
24100 * intl/loadinfo.h: Likewise.
24101 * locale/global-locale.c: Likewise.
24102 * locale/localeinfo.h: Likewise.
24103 * mach/devstream.c: Likewise.
24104 * malloc/arena.c: Likewise.
24105 * malloc/set-freeres.c: Likewise.
24106 * misc/err.c: Likewise.
24107 * misc/getttyent.c: Likewise.
24108 * misc/mntent_r.c: Likewise.
24109 * posix/getopt.c: Likewise.
24110 * posix/wordexp.c: Likewise.
24111 * pwd/fgetpwent_r.c: Likewise.
24112 * resolv/Versions: Likewise.
24113 * resolv/res_hconf.c: Likewise.
24114 * shadow/fgetspent_r.c: Likewise.
24115 * shadow/putspent.c: Likewise.
24116 * stdio-common/printf_fphex.c: Likewise.
24117 * stdio-common/tmpfile.c: Likewise.
24118 * stdlib/abort.c: Likewise.
24119 * stdlib/fmtmsg.c: Likewise.
24120 * sunrpc/auth_unix.c: Likewise.
24121 * sunrpc/clnt_perr.c: Likewise.
24122 * sunrpc/clnt_tcp.c: Likewise.
24123 * sunrpc/clnt_udp.c: Likewise.
24124 * sunrpc/clnt_unix.c: Likewise.
24125 * sunrpc/openchild.c: Likewise.
24126 * sunrpc/svc_simple.c: Likewise.
24127 * sunrpc/svc_tcp.c: Likewise.
24128 * sunrpc/svc_udp.c: Likewise.
24129 * sunrpc/svc_unix.c: Likewise.
24130 * sunrpc/xdr.c: Likewise.
24131 * sunrpc/xdr_array.c: Likewise.
24132 * sunrpc/xdr_rec.c: Likewise.
24133 * sunrpc/xdr_ref.c: Likewise.
24134 * sunrpc/xdr_stdio.c: Likewise.
24135
1248c1c4
PB
241362011-09-09 Ulrich Drepper <drepper@gmail.com>
24137
24138 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24139
241402011-07-03 Andreas Jaeger <aj@suse.de>
24141
24142 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24143 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24144 regenerate with gen-libm-tests.pl.
24145
241462010-05-12 Petr Baudis <pasky@suse.cz>
24147
24148 [BZ #11589]
24149 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24150 around j0() zero points by switching to j1().
24151 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24155
f22e1074
UD
241562011-09-09 Ulrich Drepper <drepper@gmail.com>
24157
f19009c1
UD
24158 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24159 instead of 0.
24160 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24161 instead of 0.
f19009c1
UD
24162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24163 Patch in part by Pavel Roskin <proski@gnu.org>.
24164
3f8cc204
UD
24165 [BZ #13138]
24166 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24167 realloc.
24168 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24169 Free memory block if necessary.
24170
f22e1074
UD
24171 [BZ #12847]
24172 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24173 be NULL. Don't lock in this case.
24174
0a2349f9
RM
241752011-09-09 Roland McGrath <roland@hack.frob.com>
24176
24177 * elf/elf.h (ELFOSABI_GNU): New macro.
24178 (ELFOSABI_LINUX): Define to that.
24179
f3cdd467
DZ
241802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24181
24182 * string/strncat.c (strncat): Undef the symbol in case it has been
24183 defined in bits/string.h.
24184
74718d13
UD
241852011-09-09 Ulrich Drepper <drepper@gmail.com>
24186
633e9e0f
UD
24187 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24188
0a2349f9 24189 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24190 link map.
24191
f9924780
AJ
241922011-08-17 Andreas Jaeger <aj@suse.de>
24193
24194 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24195
7f5517aa
PP
241962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24197 Ian Lance Taylor <iant@google.com>
24198
24199 * math/libm-test.inc (lround_test): New testcase.
24200 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24201
762011fe
UD
242022011-09-08 Ulrich Drepper <drepper@gmail.com>
24203
92963737
UD
24204 * Makefile: Remove support for automatic cvs check-ins.
24205 * Makerules: Likewise.
24206 * config.make.in: Likewise.
24207 * configure.in: Likewise.
24208 * intl/Makefile: Likewise.
24209 * locale/Makefile: Likewise.
24210 * po/Makefile: Likewise.
24211 * posix/Makefile: Likewise.
24212 * sysdeps/gnu/Makefile: Likewise.
24213 * sysdeps/mach/hurd/Makefile: Likewise.
24214 * sysdeps/sparc/sparc32/Makefile: Likewise.
24215
b0727fd8
JS
24216 [BZ #13118]
24217 * posix/Makefile (bug-regex32-ENV): Define.
24218 Patch by John Stanley <jpsinthemix@verizon.net>.
24219
a0f33f99
UD
24220 * misc/Makefile (headers): Add bits/select2.h.
24221 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24222 * misc/bits/select2.h: New file.
24223 * include/bits/select2.h: New file.
24224 * debug/Makefile (routines): Add fdelt_chk.
24225 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24226 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24227 FD_ISSET.
24228 * debug/fdelt_chk.c: New file.
24229
762011fe
UD
24230 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24231 * wcsmbs/test-wmemcmp.c: Likewise.
24232 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24233 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24234
242352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24236
24237 * string/Makefile (strop-tests): Add memcmp.
24238 * string/test-wmemcmp.c: New file.
24239 * string/test-memcmp.c: Add wmemcmp support.
24240
7f513ec8
RM
242412011-09-08 Roland McGrath <roland@hack.frob.com>
24242
0442afb4
RM
24243 [BZ #13153]
24244 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24245 2011-07-19 change.
24246
7f513ec8
RM
24247 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24248 garbage value in a __mach_port_mod_refs call in the cases of the
24249 task-self and thread-self ports.
24250
a12b2239
ST
242512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24252
24253 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24254
610f9ab4
AS
242552011-09-08 Andreas Schwab <schwab@redhat.com>
24256
7f513ec8 24257 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24258
48882a1a
LD
242592011-09-07 Ulrich Drepper <drepper@gmail.com>
24260
b49865be
UD
24261 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24262
fdc86bc9
UD
24263 * elf/dl-libc.c (dlerror_run): Pass back error code from
24264 dl_catch_error.
24265
c966526a
UD
24266 [BZ #13123]
24267 * elf/dl-load.c (lose): Free l_origin if it is valid.
24268
48882a1a
LD
24269 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24270 names.
24271 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24272 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24273 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24274 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24275 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24276 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24277
77a2a8b4
AZ
242782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24279
24280 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24281 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24282 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24284 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24285 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24286 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24287 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24288 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24289 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24290
24f579d8
AM
242912011-08-15 Alan Modra <amodra@gmail.com>
24292
24293 [BZ #13092]
24294 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24295 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24296 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24297 ppc_mcount to static-only-routines.
24298 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24299 __mcount_internal.
24300 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24301 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24302
3d4837df
UD
243032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24304
24305 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24306 for finite and infinity parameters.
24307
22700377
WS
243082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24309
24310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24311 and add nop instructions for throughput optimization.
24312 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24313
5025581e
WS
243142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24315
24316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24317 aligned copy for power7 with vector-scalar instructions.
24318 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24319
08a300c9
L
243202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24323 AVX check.
24324
59178ef9
AS
243252011-09-07 Andreas Schwab <schwab@redhat.com>
24326
24327 [BZ #13144]
24328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24329 last change.
24330
e38ba7ab
UD
243312011-09-07 Ulrich Drepper <drepper@gmail.com>
24332
24333 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24334 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24335 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24336 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24337 clock_gettime.
24338
d53a73ac
UD
243392011-09-06 Ulrich Drepper <drepper@gmail.com>
24340
fc8bffcc
UD
24341 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24342 Forgot to demangle the pointer.
24343
ceaa0c5d
UD
24344 * sysdeps/i386/sysdep.h: Define atom_text_section.
24345 * sysdeps/x86_64/sysdep.h: Likewise.
24346 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24347 section with atom_text_section.
24348 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24349 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24350 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24351 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24352 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24353
a77d3c17
UD
24354 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24355 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24356 already be defined. Change to take two parameters and don't assign
24357 result to variable. Adjust all users.
24358 Define INTERNAL_GETTIME if not already defined.
24359 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24360 call.
24361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24362 HAVE_CLOCK_GETTIME_VSYSCALL.
24363 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24364
d53a73ac
UD
24365 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24366 gettimeofday vsyscall, just use time.
24367
a8f84144
AS
243682011-09-06 Andreas Schwab <schwab@redhat.com>
24369
24370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24371 <errno.h>.
24372
ef606249
UD
243732011-09-06 Ulrich Drepper <drepper@gmail.com>
24374
24375 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24376 syscall on x86-64.
24377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24378 syscall.
24379 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24380 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24381 syscall if possible.
24382
6585cb60
UD
243832011-09-05 Ulrich Drepper <drepper@gmail.com>
24384
24385 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24386 e_ident. Don't pass to find_mapsXX.
24387 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24388
a5f524e4
LD
243892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24390
24391 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24392 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24393 * sysdeps/x86_64/multiarch/strchr.S: Update.
24394 Check bit_slow_BSF bit.
24395 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24396 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24397 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24398
554881ef
UD
243992011-09-05 Ulrich Drepper <drepper@gmail.com>
24400
d96de963
UD
24401 [BZ #13134]
24402 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24403 before glibc 2.15.
24404 (tryshell): Define.
24405 (__spawni): Change last parameter to be flag. Test
24406 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24407 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24408 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24409 * posix/spawni.c: Likewise.
24410 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24411 * posix/spawnp.c: Likewise. Change normal version to use
24412 SPAWN_XFLAGS_USE_PATH.
24413 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24414 SPAWN_XFLAGS_TRY_SHELL.
24415
d48e5868
UD
24416 [BZ #13150]
24417 * posix/glob.h: Remove gcc 1.x support.
24418
554881ef
UD
24419 [BZ #13068]
24420 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24421
693fb948
LD
244222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24423
24424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24425 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24426 strrchr-sse2-bsf
24427 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24428 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24429 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24430 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24431 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24432 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24433
1b48c537
UD
244342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24435
49d42c37
UD
24436 * sysdeps/x86_64/wcscmp.S: New file.
24437
1b48c537
UD
24438 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24439 wcscmp-c wcscmp-sse2
24440 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24441 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24442 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24443 * wcsmbs/wcscmp.c: Allow renaming.
24444
15c95c5d
DM
244452011-09-05 David S. Miller <davem@davemloft.net>
24446
24447 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24448 stack slot, rather than the struct return pointer slot.
24449 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24450 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24452 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24453
2f0ad8f3
UD
244542011-09-05 Ulrich Drepper <drepper@gmail.com>
24455
d88ae418
UD
24456 * po/ja.po: Update from translation team.
24457
2f0ad8f3
UD
24458 [BZ #13144]
24459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24460 kernel in 64-bit binaries.
24461
5f4318d1
DM
244622011-09-01 David S. Miller <davem@davemloft.net>
24463
24464 * elf/elf.h (HWCAP_SPARC_*): Move to..
24465 * sysdeps/sparc/sysdep.h: this new file and add new values.
24466 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24467 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24468 _DL_HWCAP_COUNT to 24.
24469 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24470 entries.
24471 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24472 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24473 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24475 instead of magic constants.
24476 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24477
3ba57516
DM
244782011-08-31 David S. Miller <davem@davemloft.net>
24479
24480 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24481 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24482 Reimplement to do errno handling inline.
24483 (SYSCALL_ERROR_HANDLER): New macro.
24484 (__SYSCALL_STRING): Do not do errno handling in asm.
24485 (__CLONE_SYSCALL_STRING): Delete.
24486 (__INTERNAL_SYSCALL_STRING): Delete.
24487 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24488 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24489 (PSEUDO): Reimplement to do errno handling inline.
24490 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24491 (SYSCALL_ERROR_HANDLER): New macro.
24492 (__SYSCALL_STRING): Do not do errno handling in asm.
24493 (__CLONE_SYSCALL_STRING): Delete.
24494 (__INTERNAL_SYSCALL_STRING): Delete.
24495 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24496 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24497 i386.
24498 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24499 (inline_syscall*): Add 'err' argument.
24500 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24501 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24502 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24503 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24504
24505 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24506 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24507
2bc17433
AS
245082011-08-30 Andreas Schwab <schwab@redhat.com>
24509
24510 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24511
fbeb5f4d
JO
245122011-08-29 Jiri Olsa <jolsa@redhat.com>
24513
24514 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24515 directive.
24516
ad69cc26
DM
245172011-08-24 David S. Miller <davem@davemloft.net>
24518
24519 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24520
39dd69df
AS
245212011-08-24 Andreas Schwab <schwab@redhat.com>
24522
24523 * elf/Makefile: Add rules to build and run unload8 test.
24524 * elf/unload8.c: New file.
24525 * elf/unload8mod1.c: New file.
24526 * elf/unload8mod1x.c: New file.
24527 * elf/unload8mod2.c: New file.
24528 * elf/unload8mod3.c: New file.
24529
24530 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24531 it wasn't used.
24532
2c0b250a
DM
245332011-08-23 David S. Miller <davem@davemloft.net>
24534
24535 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24536 subtract stack bias.
24537 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24538 %sp not %fp in calculations.
24539 (_JMPBUF_UNWINDS_ADJ): Likewise.
24540
22044b48
DM
24541 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24542 (aio_suspend): Call it to force an exception region around the
24543 AIO_MISC_WAIT() invocation.
24544
2cae4995
AS
245452011-08-23 Andreas Schwab <schwab@redhat.com>
24546
24547 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24548 backslash.
24549
873a772e
AJ
245502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24551
24552 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24553 protection macro.
24554 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24555 and <dl-machine.h>.
24556 (Elf64_FuncDesc): Remove.
24557
25ad0df1
DM
245582011-08-22 David S. Miller <davem@davemloft.net>
24559
24560 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24561 sigaltstack check, add missing cfi directives.
24562 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24563 missing cfi directives, and sigaltstack handling.
24564
e888bcbe
AS
245652011-08-16 Andreas Schwab <schwab@redhat.com>
24566
24567 [BZ #11724]
24568 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24569 object is seen twice.
24570 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24571
24572 * elf/Makefile (distribute): Add tst-initorder2.c.
24573 (tests): Add tst-initorder2.
24574 (modules-names): Add tst-initorder2a tst-initorder2b
24575 tst-initorder2c tst-initorder2d. Add rules to build them.
24576 ($(objpfx)tst-initorder2.out): New rule.
24577 * elf/tst-initorder2.c: New file.
24578 * elf/tst-initorder2.exp: New file.
24579
87162f46
AS
245802011-08-22 Andreas Schwab <schwab@redhat.com>
24581
70538b7f
AS
24582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24583
f55ffe58
AS
24584 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24585 dependencies back to end of function.
24586
87162f46
AS
24587 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24588 $(elfobjdir)/ld.so.
24589
91b392a4
UD
245902011-08-21 Ulrich Drepper <drepper@gmail.com>
24591
24592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24593 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24595 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24596 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24597 of __vdso_gettimeofday.
24598 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24599 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24600 attribute_hidden.
24601 (_libc_vdso_platform_setup): Remove initialization of
24602 __vdso_gettimeofday and __vdso_time.
24603
5c43483f
UD
246042011-08-20 Ulrich Drepper <drepper@gmail.com>
24605
775a77e7
UD
24606 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24607 and fgetc_unlocked.
24608 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24609 getc_unlocked.
89f447ed 24610
49c74ba9
UD
24611 * elf/dl-open.c (add_to_global): Report additions to the global scope
24612 for LD_DEBUG=scopes.
24613 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24614 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24615
5c43483f
UD
24616 [BZ #13114]
24617 * stdio-common/Makefile (tests): Add bug24.
24618 * stdio-common/bug24.c: New file.
24619
a101b025
AJ
246202011-08-19 Andreas Jaeger <aj@suse.de>
24621
24622 [BZ #13114]
24623 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24624 non-existant file when using close-on-exec mode.
24625
c88f1766
UD
246262011-08-20 Ulrich Drepper <drepper@gmail.com>
24627
0276a718
UD
24628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24629 the very first instruction.
24630
c88f1766
UD
24631 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24632 the CFI state in the end.
24633 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24634 inclusion of dl-trampoline.h.
24635 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24636
51ccffa0
AS
246372011-08-19 Andreas Schwab <schwab@redhat.com>
24638
94d7165f
AS
24639 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24640 expectations for long double.
24641
51ccffa0
AS
24642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24643 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24644
fd708658 246452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24646
24647 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24648 artificual limit depends upon the system page size.
24649
44f0a71e
UD
246502011-08-17 Ulrich Drepper <drepper@gmail.com>
24651
24652 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24653 * resolv/Makefile: Define CFLAGS-libresolv.
24654
8de79a24
AS
246552011-08-17 Andreas Schwab <schwab@redhat.com>
24656
24657 * nss/makedb.c (compute_tables): Make variables used in nested
24658 function static.
24659
27724598
UD
246602011-08-17 Ulrich Drepper <drepper@gmail.com>
24661
c5305d88
UD
24662 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24663 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24664 if buffer was too small.
24665
27724598
UD
24666 * elf/pldd.c (main): Attach to all threads in the process.
24667 Rewrite /proc handling to use *at functions.
24668
076fe015
UD
246692011-08-16 Ulrich Drepper <drepper@gmail.com>
24670
174baab3
UD
24671 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24672 specifies first scope to show.
24673 (dl_open_worker): Update callers. Move printing scope of new
24674 object to before the relocation.
44f0a71e 24675 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24676 * sysdeps/generic/ldsodefs.h: Update declaration.
24677
076fe015
UD
24678 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24679 string for the scope number.
24680
a60df2c3
UD
246812011-08-14 Ulrich Drepper <drepper@gmail.com>
24682
24683 * nscd/servicescache.c (cache_addserv): Make sure written is always
24684 initialized.
24685
5e4287d1
RM
246862011-08-14 Roland McGrath <roland@hack.frob.com>
24687
85ae0589
RM
24688 * sysdeps/i386/i486/bits/atomic.h
24689 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24690 statement expression, so as to suppress "set but not used" warning.
24691 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24692
69f63097
RM
24693 * string/strncat.c (STRNCAT): Use prototype definition.
24694
675456ef
RM
24695 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24696 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24697 -Iprograms here.
24698 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24699 (localedef-modules): Add localedef.
24700 (locale-modules): Add locale.
24701
5e4287d1
RM
24702 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24703 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24704 to avoid a warning.
24705
9c96ff23
DM
247062011-08-14 David S. Miller <davem@davemloft.net>
24707
24708 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24709 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24710
f9ddf089
UD
247112011-08-13 Ulrich Drepper <drepper@gmail.com>
24712
44f0a71e 24713 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24714 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24715 * elf/rtld.c (dl_main): Set l_name of vDSO.
24716 Call _dl_show_scope when DL_DEBUG_SCOPES.
24717 (process_dl_debug): Recognize scopes flag and also set it for all.
24718 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24719 Declare _dl_show_scope.
24720
1dc27704
UD
24721 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24722 (do_dlopen): Pass caller_dlopen to dl_open.
24723 (__libc_dlopen_mode): Initialize caller_dlopen.
24724
f9ddf089
UD
24725 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24726 of libc. Make tolower call locale-independent. Optimize a bit by
24727 using isdigit instead of isalnum.
24728 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24729
9ac533d3
UD
247302011-08-12 Ulrich Drepper <drepper@gmail.com>
24731
24732 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24733 was a dependency or dynamically loaded.
24734
89edf2e9
UD
247352011-08-11 Ulrich Drepper <drepper@gmail.com>
24736
8e999d29
UD
24737 * intl/l10nflist.c: Allow architecture-specific pop function.
24738 * sysdeps/x86_64/l10nflist.c: New file.
24739
89edf2e9
UD
24740 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24741 classification.
24742
14d96785
AS
247432011-08-10 Andreas Schwab <schwab@redhat.com>
24744
24745 * include/dirent.h: Add libc_hidden_proto for scandirat and
24746 scandirat64. Don't declare __scandirat64.
24747 * dirent/scandirat.c: Add libc_hidden_def.
24748 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24749 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24750
6761ac04
DM
247512011-08-10 David S. Miller <davem@davemloft.net>
24752
24753 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24754 enum.
24755 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24757 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24758
c55fbd1e
UD
247592011-08-09 Ulrich Drepper <drepper@gmail.com>
24760
24761 * Versions.def [libc]: Add GLIBC_2.15.
24762 * dirent/Makefile (routines): Add scandirat and scandirat64.
24763 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24764 GLIBC_2.15.
24765 * dirent/dirent.h: Declare scandirat and scandirat64.
24766 * dirent/scandirat.c: New file.
24767 * dirent/scandirat64.c: New file.
24768 * sysdeps/wordsize-64/scandirat.c: New file.
24769 * sysdeps/wordsize-64/scandirat64.c: New file.
24770 * dirent/opendir.c: Define opendirat.
24771 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24772 using scandirat.
24773 * dirent/scandir64.c: Adjust for scandir.c change.
24774 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24775 __scandirat64, and __scandir_cancel_handler.
24776 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24777 additional parameter and use openat instead of open (outside of ld.so).
24778 Add new __opendir as wrapper around __opendirat.
24779 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24780 here without requiring old scandirat implementation.
24781
879165f2
UD
247822011-08-08 Ulrich Drepper <drepper@gmail.com>
24783
24784 * dirent/scandir.c (cancel_handler): Renamed to
24785 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24786 defined. Adjust users.
24787 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24789
cb7e923b
UD
247902011-08-04 Ulrich Drepper <drepper@gmail.com>
24791
16292edd
UD
24792 * string/test-string.h (IMPL): Use __STRING to expand name and then
24793 stringify it.
24794
cb7e923b
UD
24795 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24796 of cleanups.
24797
cff82933
LD
247982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24799
24800 * string/Makefile: Update.
24801 (strop-tests): Append strncat.
24802 * string/test-wcscmp.c: New file.
24803 New comprehensive test for wcscmp.
24804 * string/test-strcmp.c: Update.
24805 (WIDE): New define.
24806
9be9bfcc
AS
248072011-07-22 Andreas Schwab <schwab@redhat.com>
24808
24809 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24810 line.
24811
2e96f1c7
AS
248122011-07-26 Andreas Schwab <schwab@redhat.com>
24813
24814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24815 encoding to ACE if AI_IDN.
24816
85188888
JJ
248172011-08-01 Jakub Jelinek <jakub@redhat.com>
24818
24819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24820 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24821
5fa16e9b
LD
248222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24823
24824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24825 Fix overflow bug in strncat.
24826 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24827
24828 * string/test-strncat.c: Update.
24829 Add new tests for checking overflow bugs.
24830
248312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24832
24833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24834 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24835 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24836 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24837 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24838 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24839 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24840 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24841 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24842
24843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24844 (USE_AS_STRCAT): Define.
24845 Add strcat and strncat support.
24846 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24847
8c1a459f
AS
248482011-07-25 Andreas Schwab <schwab@redhat.com>
24849
24850 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24851 __n bigger than INT_MAX+1.
24852 (__strncmp_g): Likewise.
24853
bba33c28
UD
248542011-07-23 Ulrich Drepper <drepper@gmail.com>
24855
798be72d
UD
24856 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24857 * libio/stido.h: Likewise.
24858
8accd4dc
UD
24859 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24860 (AF_NFC): Define.
24861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24862 (AF_NFC): Define.
24863
cbff0d96
UD
24864 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24865 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24866 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24867 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24868 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24869
9191c04a
UD
24870 [BZ #13021]
24871 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24872 installed.
24873
bba33c28
UD
24874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24875 typo.
24876 (_dl_x86_64_save_sse): Likewise.
24877
90f139dd
UD
248782011-07-22 Ulrich Drepper <drepper@gmail.com>
24879
1aae088a
UD
24880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24881 OSXSAVE.
24882 (_dl_x86_64_save_sse): Likewise.
24883
8e2045f5
UD
24884 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24885
90f139dd
UD
24886 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24887
1d002f25
AS
248882011-07-21 Andreas Schwab <schwab@redhat.com>
24889
24890 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24891 change.
24892 (_dl_x86_64_save_sse): Use correct AVX check.
24893
21137f89
UD
248942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24895
24896 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24897 bug in strncpy/strncat.
24898 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24899
a65c0b7a
UD
249002011-07-21 Ulrich Drepper <drepper@gmail.com>
24901
24902 * string/tester.c (test_strcat): Add tests for different alignments
24903 of source and destination.
24904 (test_strncat): Likewise.
24905
6986b98a
UD
249062011-07-20 Ulrich Drepper <drepper@gmail.com>
24907
90bb2039
UD
24908 [BZ #12852]
24909 * posix/glob.c (glob): Check passed in values before using them in
24910 expressions to avoid some overflows.
24911 (glob_in_dir): Likewise.
24912
5644ef54
UD
24913 [BZ #13007]
24914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24915 check for AVX enablement so that we don't crash with old kernels and
24916 new hardware.
24917 * elf/tst-audit4.c: Add same checks here.
24918 * elf/tst-audit6.c: Likewise.
24919
24920 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24921
bfc9dc9b
AS
249222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24923
24924 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24925
702e64bb
UD
249262011-07-20 Ulrich Drepper <drepper@gmail.com>
24927
24928 * po/cs.po: Update from translation team.
24929 * po/bg.po: Likewise.
24930
295e904f
MP
249312011-07-12 Marek Polacek <mpolacek@redhat.com>
24932
24933 * misc/sys/cdefs.h: Add support for const attribute.
24934 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24935 to gnu_dev_{major,minor,makedev} functions.
24936
3ff94596
MP
249372011-07-20 Marek Polacek <mpolacek@redhat.com>
24938
24939 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24940
28b59fca
AS
249412011-07-20 Andreas Schwab <schwab@redhat.com>
24942
24943 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24944 strlen results.
24945
19df733e
AK
249462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24947
24948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24949 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24950 register in order to avoid conflicts with the soft frame pointer
24951 being held in r11 when necessary.
24952 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24953 (INTERNAL_VSYSCALL_NCS): Likewise.
24954
c8835729
MP
249552011-07-14 Marek Polacek <mpolacek@redhat.com>
24956
24957 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24958 * elf/dl-fini.c (_dl_fini): Adjust caller.
24959 * elf/dl-close.c (_dl_close_worker): Likewise.
24960 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24961
b902330c
MP
249622011-07-15 Marek Polacek <mpolacek@redhat.com>
24963
8991e135
MP
24964 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24965 "aux_cache->nlibs < 0".
24966
b902330c
MP
24967 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24968 in the reload-count case.
24969
99710781
LD
249702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24971
24972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24973 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24974 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24975 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24976 * sysdeps/x86_64/multiarch/strcat.S: New file.
24977 * sysdeps/x86_64/multiarch/strncat.S: New file.
24978 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24979 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24980 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24981 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24982 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24983 (USE_AS_STRCAT): Define.
24984 Add strcat and strncat support.
24985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24987 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24988 * string/strncat.c: Update.
24989 (USE_AS_STRNCAT): Define.
24990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24991 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24992 and i7.
24993 * sysdeps/x86_64/multiarch/init-arch.h
24994 (bit_Prefer_PMINUB_for_stringop): New.
24995 (index_Prefer_PMINUB_for_stringop): Likewise.
24996 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24997 bit_Prefer_PMINUB_for_stringop.
24998
7dc6bd90
UD
249992011-07-19 Ulrich Drepper <drepper@gmail.com>
25000
25001 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25002 buffer64.
25003 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25004 of casting of buffer.
25005 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25006 buffer32 and buffer64.
25007 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25008 writes instead of casting of buffer.
25009 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25010 buffer32.
25011 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25012 casting of buffer.
25013
e0e72284
AS
250142011-07-19 Andreas Schwab <schwab@redhat.com>
25015
25016 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25017
feb1eb0b
UD
250182011-07-19 Ulrich Drepper <drepper@gmail.com>
25019
25020 * nscd/nscd.c (termination_handler): Don't do anything for a database
25021 if it has not yet been initialized.
25022
298711ff
UD
250232011-07-18 Ulrich Drepper <drepper@gmail.com>
25024
25025 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25026
250272011-07-15 Marek Polacek <mpolacek@redhat.com>
25028
25029 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25030
f9d68389
UD
250312011-07-18 Ulrich Drepper <drepper@gmail.com>
25032
25033 * po/nl.po: Update from translation team.
25034 * po/sv.po: Likewise.
25035
db290cf5
RM
250362011-07-16 Roland McGrath <roland@hack.frob.com>
25037
25038 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25039 now disallowed by GCC.
5c550700 25040
fd5e21c7
RM
25041 * configure.in (use-default-link): Default to yes if a test -shared
25042 link meets our qualifications.
25043 * configure: Regenerated.
25044
5c550700
RM
25045 * config.make.in (output-format): New variable.
25046 * configure.in: Check for ld --print-output-format support.
25047 * configure: Regenerated.
25048 * Makerules ($(common-objpfx)format.lds)
25049 [$(output-format) != unknown]: Just use $(output-format),
25050 instead of the linker-script munging.
25051
9fa2c032
RM
250522011-07-14 Roland McGrath <roland@hack.frob.com>
25053
a6928d51
RM
25054 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25055 of $(common-objpfx)shlib.lds.
25056 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25057
661607b3
RM
25058 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25059 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25060
9fa2c032
RM
25061 * configure.in (-z relro check): Adjust test code to add a large
25062 writable data section after it.
25063 * configure: Regenerated.
25064
defe9061
RM
250652011-07-11 Roland McGrath <roland@hack.frob.com>
25066
25067 * configure.in (-z relro check): Fix test code to make the variable
25068 truly const.
25069 * configure: Regenerated.
25070
319b9ad4
UD
250712011-07-11 Ulrich Drepper <drepper@gmail.com>
25072
25073 * nscd/nscd.h (struct traced_file): Define.
25074 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25075 elements. Add traced_files.
25076 (inotify_fd): Declare.
25077 (register_traced_file): Declare.
25078 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25079 (inotify_fd): Export.
25080 (resolv_conf_descr): Remove.
25081 (nscd_init): Move inotify descriptor creation to main.
25082 Don't register files for notification here.
25083 (register_traced_file): New function.
25084 (invalidate_cache): Don't use reset_res to determine whether to call
25085 res_init, go through the list of registered files.
25086 (main_loop_poll): The inotify descriptors are now stored in the
25087 structures for the traced files.
25088 (main_loop_epoll): Likewise
25089 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25090 to __nss_disable_nscd.
25091 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25092 for a database anymore. Check the records for all the registered
25093 files instead.
25094 * nss/Makefile (libnss_files-routines): Add files-init.
25095 (libnss_db-routines): Add db-init.
25096 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25097 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25098 * nss/nss_db/db-init.c: New file.
25099 * nss/nss_files/files-init.c: New file.
25100 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25101 __nss_lookup_function.
25102 (__nss_lookup_function): Call nss_load_library.
25103 (nss_load_all_libraries): New function.
25104 (__nss_disable_nscd): Take parameter with callback function for files
25105 to register. Set is_nscd. Load all the DSOs for the NSS modules
25106 used for the cached services.
25107 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25108 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25109 options for features to all the files in nscd.
25110
25111 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25112
23bee3e8
RM
251132011-07-10 Roland McGrath <roland@hack.frob.com>
25114
25115 * csu/elf-init.c (__libc_csu_init): Comment typo.
25116
46a5b7f0
UD
251172011-07-09 Ulrich Drepper <drepper@gmail.com>
25118
25119 * po/pl.po: Update from translation team.
25120 * po/ja.po: Likewise.
25121 * po/ru.po: Likewise.
25122 * po/ko.po: Likewise.
25123 * po/fr.po: Likewise.
25124
d30cf5bb
RM
251252011-07-09 Roland McGrath <roland@hack.frob.com>
25126
113ddea4
RM
25127 * configure.in (.ctors/.dtors header and trailer check):
25128 Use an empirical test on a built program.
25129 * configure: Regenerated.
25130
574920b4
RM
25131 * configure.in (-z relro check): Use an empirical test on a built DSO.
25132 Detect, but do not require, on ia64.
25133 * configure: Regenerated.
25134
d30cf5bb
RM
25135 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25136 Update tests that use readelf to use $READELF instead.
25137 * configure: Regenerated.
25138
8538fdb3
UD
251392011-07-08 Ulrich Drepper <drepper@gmail.com>
25140
25141 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25142 if the result is not used.
25143
04d08991
AJ
251442011-07-05 Andreas Jaeger <aj@suse.de>
25145
25146 [BZ#9696]
25147 * stdlib/tst-strtod.c: Add testcase.
25148
de283087
AD
251492011-07-07 Ulrich Drepper <drepper@gmail.com>
25150
4e5f31c8 25151 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25152 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25153 The latter has a higher limit. Take additional parameter to pass to
25154 the new function.
25155 (__pathconf): Pass file to __statfs_link_max.
25156 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25157 __statfs_link_max.
25158 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25159 __statfs_link_max.
25160
de283087
AD
25161 [BZ #12868]
25162 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25163 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25164 Handle Lustre.
25165 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25166 (__statfs_filesize_max): Likewise.
25167 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25168
c75fa153
AJ
251692011-07-05 Andreas Jaeger <aj@suse.de>
25170
25171 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25172
1a544854
UD
251732011-07-06 Marek Polacek <mpolacek@redhat.com>
25174
25175 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25176 `status' variable.
25177 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25178 Likewise.
25179
6f0eec67
UD
251802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25181
25182 * Makefile (strop-tests): Add strncat.
25183 * string/test-strncat.c: New file.
25184
aae30307
UD
251852011-06-30 Marek Polacek <mpolacek@redhat.com>
25186
25187 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25188
c0cfb5eb
UD
251892011-06-21 Andreas Jaeger <aj@suse.de>
25190
25191 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25192 Copy rule from iconvdata/Makefile.
25193
01636b21
UD
251942011-07-06 Ulrich Drepper <drepper@gmail.com>
25195
25196 [BZ #12922]
25197 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25198 but no long options are defined, just return 'W'.
25199
9895c8bc
UD
252002011-06-22 Marek Polacek <mpolacek@redhat.com>
25201
25202 [BZ #9696]
25203 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25204
5d4cf042
UD
252052011-07-06 Ulrich Drepper <drepper@gmail.com>
25206
25207 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25208 netgroups to read.
960e5535 25209 (innetgr): Likewise.
5d4cf042 25210
751eb97e
RM
252112011-07-05 Roland McGrath <roland@hack.frob.com>
25212
25213 * config.make.in (install_root): Default to $(DESTDIR).
25214
f15f1e45
UD
252152011-07-05 Ulrich Drepper <drepper@gmail.com>
25216
25217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25218
4e34ac6a
RM
252192011-07-02 Roland McGrath <roland@hack.frob.com>
25220
5e9b6af4
RM
25221 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25222
84f9ea0f
RM
25223 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25224 containing directory rather than embedding absolute directory names.
25225
ea5ee9f7
RM
25226 * scripts/check-local-headers.sh: Rewritten using awk.
25227 Match by word, not by line. Print error messages for matches.
25228 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25229
1b74661a
RM
25230 * Makerules [shlib-lds-flags empty]:
25231 ($(common-objpfx)libc_pic.opts): New target.
25232 ($(common-objpfx)libc_pic.os.clean): New target.
25233 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25234
25235 * config.make.in (OBJCOPY): New variable.
25236 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25237 * configure: Regenerated.
25238
f781ef40
RM
25239 * config.make.in (use-default-link): New variable.
25240 * configure.in (use_default_link): Grok --with-default-link to set it.
25241 * configure: Regenerated.
25242 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25243 (shlib-lds, shlib-lds-flags): Define to empty.
25244
2d4fa81e
RM
25245 * Makerules (shlib-lds): New variable.
25246 (shlib-lds-flags): New variable.
25247 (build-shlib, build-moduile, build-module-asneeded): Use it.
25248 ($(common-objpfx)libc.so): Use $(shlib-lds).
25249 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25250 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25251
31fffa6b
RM
25252 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25253 DT_FLAGS/DT_FLAGS_1 with zero flags.
25254
4e34ac6a
RM
25255 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25256 linker script munging.
25257
fcfc776b
UD
252582011-07-02 Ulrich Drepper <drepper@gmail.com>
25259
25260 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25261 as 128-bit value.
25262 * crypt/sha512.c (sha512_process_block): Perform total addition using
25263 128-bit if possible.
25264 (__sha512_finish_ctx): Likewise.
25265 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25266 as 64-bit value.
25267 * crypt/sha256.c (SWAP64): Define.
25268 (sha256_process_block): Perform total addition using 64-bit if
25269 possible.
25270 (__sha256_finish_ctx): Likewise.
25271
99231d9a
UD
252722011-07-01 Ulrich Drepper <drepper@gmail.com>
25273
25274 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25276 * nscd/hstcache.c (cache_addhst): Likewise.
25277 * nscd/grpcache.c (cache_addgr): Likewise.
25278 * nscd/aicache.c (addhstaiX): Likewise
25279 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25280
445b4a53
TK
252812011-07-01 Thorsten Kukuk <kukuk@suse.de>
25282
25283 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25284 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25285 * nscd/hstcache.c (cache_addhst): Likewise.
25286 * nscd/grpcache.c (cache_addgr): Likewise.
25287 * nscd/aicache.c (addhstaiX): Likewise
25288
6d4d8e8e
AS
252892011-07-01 Andreas Schwab <schwab@redhat.com>
25290
25291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25292 domain only when needed.
25293
89f654c5
AS
252942011-06-30 Andreas Schwab <schwab@redhat.com>
25295
25296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25297 is always restored.
25298
cf3b23ff
UD
252992011-06-29 Ulrich Drepper <drepper@gmail.com>
25300
25301 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25302 are re-adding the entry.
25303 * nscd/servicescache.c (cache_addserv): Likewise.
25304
751626f9
AJ
253052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25306
25307 * sysdeps/generic/dl-irel.h: fix protection against multiple
25308 inclusions.
25309 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25310
9113ea1f
UD
253112011-06-28 Ulrich Drepper <drepper@gmail.com>
25312
5c0b8d90
UD
25313 [BZ #12935]
25314 * malloc/memusage.sh: Fix quoting in message.
25315 * debug/xtrace.sh: Likewise.
25316
9113ea1f
UD
25317 * configure.in: Remove support for --experimental-malloc option, make
25318 it the default.
25319 * config.make.in: Likewise.
25320 * malloc/Makefile: Likewise.
25321
a4172181
AS
253222011-06-27 Andreas Schwab <schwab@redhat.com>
25323
25324 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25325 two-byte characters.
25326
78a7eee7
RM
253272011-06-27 Roland McGrath <roland@hack.frob.com>
25328
62bede13
RM
25329 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25330 AC_CACHE_CHECK invocation.
25331 * configure: Regenerated.
25332
78a7eee7
RM
25333 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25334
5ce33a62
UD
253352011-06-27 Ulrich Drepper <drepper@gmail.com>
25336
034807a9
UD
25337 [BZ #12350]
25338 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25339 bit from old_res_options.
25340
4902da17
UD
25341 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25342
5ce33a62
UD
25343 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25344 value type for setfct.
25345
c2344f56
L
253462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25347
25348 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25349 __gettimeofday instead of gettimeofday.
25350
68468076
UD
253512011-06-26 Ulrich Drepper <drepper@gmail.com>
25352
25353 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25354
acb0d739
L
253552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25356
25357 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25358
25359 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25360 info.
25361
8912479f
L
253622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25363
25364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25365 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25366 strcpy-sse2-unaligned strncpy-sse2-unaligned
25367 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25368 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25369 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25370 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25371 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25373 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25374 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25375 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25376 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25377 (STRCPY): Support SSE2 and SSSE3 versions.
25378
d5495a11
UD
253792011-06-24 Ulrich Drepper <drepper@gmail.com>
25380
25381 [BZ #12874]
25382 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25383 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25384 kernels which artificially limit size of requests.
25385
0b1cbaae
L
253862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25387
25388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25389 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25390 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25391 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25392 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25393 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25394 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25395 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25397 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25398 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25399 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25400 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25401 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25402 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25404 Enable unaligned load optimization for Intel Core i3, i5 and i7
25405 processors.
25406 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25407 Define.
25408 (index_Fast_Unaligned_Load): Define.
25409 (HAS_FAST_UNALIGNED_LOAD): Define.
25410
07f494a0
MP
254112011-06-23 Marek Polacek <mpolacek@redhat.com>
25412
25413 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25414
fa3fc0fe
UD
254152011-06-22 Ulrich Drepper <drepper@gmail.com>
25416
25417 [BZ #12907]
25418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25419 until it is clear that the information is realy needed.
25420 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25421
e12df166
AS
254222011-06-22 Andreas Schwab <schwab@redhat.com>
25423
25424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25425
852eb34d
UD
254262011-06-22 Ulrich Drepper <drepper@gmail.com>
25427
84e2a551
UD
25428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25429 /sys/devices/system/cpu/online if it is usable.
25430
852eb34d
UD
25431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25432 reading the information from the /proc filesystem to once a second.
25433
6e502e19
UD
254342011-06-21 Andreas Jaeger <aj@suse.de>
25435
25436 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25437 NULL after inclusion of kernel headers.
25438
75d39ff2
UD
254392011-06-21 Ulrich Drepper <drepper@gmail.com>
25440
51f9aa6a
UD
25441 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25442 calls to internal_setent.
25443
c0244a9d
UD
25444 [BZ #12885]
25445 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25446 addresses using gethostbyname4_r ignore IPv4 addresses.
25447
c5e3c2ae
UD
25448 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25449 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25450
75d39ff2
UD
25451 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25452
42675c6f
DM
254532011-06-20 David S. Miller <davem@davemloft.net>
25454
25455 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25456 inclusions.
25457 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25458
25459 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25460 (elf_irel): Use it.
25461 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25462 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25463 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25464 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25465 * sysdeps/x86_64/dl-irel.h: Likewise.
25466
25467 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25468 * elf/dl-sym.c: Likewise.
25469
57912a71
UD
254702011-06-15 Ulrich Drepper <drepper@gmail.com>
25471
25472 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25473 need to dereference resplen2.
25474
ee22793d
AS
254752011-06-14 Andreas Schwab <schwab@redhat.com>
25476
25477 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25478
a9e836b0
UD
254792011-06-15 Ulrich Drepper <drepper@gmail.com>
25480
77fb9117
UD
25481 * Makeconfig: Define vardbdir and inst_vardbdir.
25482 * nss/Makefile: Add rules to install db-Makefile.
25483
40c1b22c
UD
25484 * nss/nss_db/db-XXX.c: Cleanup.
25485
9f2da732
UD
25486 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25487 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25488 GLIBC_PRIVATE.
25489 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25490 * nss/makedb.c: Implement -g option to specify that value strings
25491 are generated and should not be added to table iterated over for
25492 get*ent calls.
25493 * nss/nss_db/db-initgroups.c: New file.
25494
82e9a1f7
UD
25495 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25496 interface.
25497
c41af17e
UD
25498 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25499 (internal_getgrouplist): Adjust to name change.
25500 Update use_initgroups_entry if this is not the first call.
25501 * nss/databases.def: Add initgroups entry.
25502
a9e836b0
UD
25503 * nss/makedb.c (compute_tables): Check result of multiple hash table
25504 sizes to minimize maximum chain length.
25505
2666d441
UD
255062011-06-14 Ulrich Drepper <drepper@gmail.com>
25507
25508 * Versions.def: Add entry for libnss_db.
25509 * shlib-versions: Likewise.
25510 * nss/Makefile: Add rules to build libnss_db.
25511 * nss/Versions: Add libnss_db information. Organize libnss_files
25512 entries better.
25513 * nss/db-Makefile: Add gshadow support. Change rules for the new
25514 makedb progra. Some minor improvements to generate smaller files.
25515 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25516 here from...
25517 * nss/makedb.c: ...here.
25518 Improve database format to be smaller and require less memory at
25519 runtime.
25520 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25521 db anymore.
25522 * nss/nss_db/db-netgrp.c: Likewise.
25523 * nss/nss_db/db-open.c: Likewise.
25524 * nss/nss_files/flies-XXX.x: Adjust comments.
25525 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25526 * nss/nss_files/files-grp.c: Likewise.
25527 * nss/nss_files/files-hosts.c: Likewise.
25528 * nss/nss_files/files-network.c: Likewise.
25529 * nss/nss_files/files-proto.c: Likewise.
25530 * nss/nss_files/files-pwd.c: Likewise.
25531 * nss/nss_files/files-rpc.c: Likewise.
25532 * nss/nss_files/files-service.c: Likewise.
25533 * nss/nss_files/files-sgrp.c: Likewise.
25534 * nss/nss_files/files-spwd.c: Likewise.
25535 * nss/nss_db/db-alias.c: Removed.
25536 * nss/nss_db/dummy-db.h: Removed.
25537
9ee76b5a
UD
255382011-06-02 Ulrich Drepper <drepper@gmail.com>
25539
25540 * nss/makedb.c: Rewritten to not use database library.
25541 * nss/Makefile: Update to build new makedb program.
25542
c71ca1f8
AJ
255432011-06-14 Andreas Jaeger <aj@suse.de>
25544
25545 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25546 memset declaration.
25547
3154bfb8
UD
255482011-06-10 Andreas Schwab <schwab@redhat.com>
25549
25550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25551 tmpbuf.
25552
b350afab
RM
255532011-06-10 Roland McGrath <roland@hack.frob.com>
25554
decd4e50
RM
25555 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25556 * elf/Makefile ($(objpfx)ld.so): Likewise.
25557
5615eaf2
RM
25558 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25559 Don't list ld.so twice in dependencies.
25560
25561 * posix/bug-regex31.c: Include <stdlib.h>.
25562
25563 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25564
25565 * nis/nss_compat/compat-spwd.c
25566 (getspent_next_nss_netgr): Remove unused variable.
25567 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25568
25569 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25570 nonmembers" output to use the right array.
25571
25572 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25573
25574 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25575
25576 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25577 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25578 * catgets/gencat.c (read_input_file): Likewise.
25579 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25580
25581 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25582 variable definition inside #if's controlling its use.
25583
25584 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25585
25586 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25587
25588 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25589
25590 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25591 unreachable code.
25592
25593 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25594
b68e08db
RM
25595 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25596 * configure: Regenerated.
25597
b350afab
RM
25598 * Makerules: Revert last change.
25599 * elf/Makefile: Likewise.
25600
28368601
RM
256012011-06-09 Roland McGrath <roland@hack.frob.com>
25602
25603 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25604 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25605 (reloc-link): Likewise.
25606
11988f8f
UD
256072011-06-09 Ulrich Drepper <drepper@gmail.com>
25608
25609 * elf/Makefile: Add rules to build pldd.
25610 * elf/pldd.c: New file.
25611 * elf/pldd-xx.c: New file.
25612
e80fab37
UD
256132011-06-07 Ulrich Drepper <drepper@gmail.com>
25614
25615 * version.h: Update for 2.15 development version.
25616
9b849836
DM
256172011-06-07 David S. Miller <davem@davemloft.net>
25618
25619 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25620 ifuncs.
25621 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25622 elf_machine_lazy_rel): Likewise.
25623 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25625 elf_machine_lazy_rel): Likewise.
25626 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25627 dl_hwcap via passed in argument.
25628 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25629 Likewise.
25630
5a31b283
AK
256312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25632
25633 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25634
069e52f8
RM
256352011-06-06 Roland McGrath <roland@hack.frob.com>
25636
25637 [BZ #12849]
25638 * manual/fdl-1.1.texi: New file, verbatim from:
25639 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25640 * manual/lgpl-2.1.texi: New file, verbatim from:
25641 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25642 * manual/Makefile (licenses): New variable, list those new file names.
25643 (texis): Use it.
25644 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25645
25646 * manual/fdl.texi: File removed.
25647 * manual/lesser.texi: File removed.
25648 * manual/libc.texinfo (Copying, Documentation License):
25649 Use new @include file names, put @appendix directive before @include.
25650
f16846a5
JJ
256512011-06-04 Jakub Jelinek <jakub@redhat.com>
25652
25653 [BZ #12841]
25654 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25655 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25656 (mq_open): Add __NTH.
25657
3d29045b
L
256582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25659
25660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25661 Assume Intel Core i3/i5/i7 processor if AVX is available.
25662
8c297311
UD
256632011-05-31 Ulrich Drepper <drepper@gmail.com>
25664
25665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25666 typo.
25667
c8fc0c91
UD
256682011-05-31 Andreas Schwab <schwab@redhat.com>
25669
25670 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25671 memory. Use alloca_account. Fix memory leak when retrying.
25672
5b27a807
UD
256732011-05-31 Ulrich Drepper <drepper@gmail.com>
25674
356f8bc6
UD
25675 * version.h (RELEASE): Bump for 2.14 release.
25676 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25677
5b27a807
UD
25678 * config.make.in (RANLIB): Remove entry.
25679
01f16ab0
UD
256802011-05-30 Ulrich Drepper <drepper@gmail.com>
25681
41fce8bd
UD
25682 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25683 (libc.pot): Work around missing support for .ksh extension in xgettext.
25684
4769ae77
UD
25685 [BZ #12684]
25686 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25687 if both request failed.
25688 (send_dg): In case of server errors clear resplen or *resplen2.
25689
6b1e7d19
UD
25690 [BZ #12454]
25691 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25692 when there are multiple maps.
25693 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25694 (_dl_fini): Remove test here.
25695
01f16ab0
UD
25696 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25697
b1ebd700
UD
256982011-05-29 Ulrich Drepper <drepper@gmail.com>
25699
7ae22829
UD
25700 [BZ #12350]
25701 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25702 bit from old_res_options.
25703 (gaih_inet): Likewise.
25704
553149f6 25705 [BZ #11099]
18a84741 25706 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25707 as signed.
25708
652ffab1
UD
25709 * resolv/res_init.c (res_setoptions): Make the code more compact.
25710
16985fd0
UD
25711 [BZ #11558]
25712 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25713 set RES_USEVC.
25714
0464f746
UD
25715 [BZ #11634]
25716 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25717
7d17596c
UD
25718 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25719
cf6bbbd7
UD
25720 [BZ #11781]
25721 * malloc/malloc.h: Declare malloc hook variables as volatile.
25722
13f1ab36
UD
25723 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25724 in last patch.
25725
b1ebd700
UD
25726 [BZ #11799]
25727 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25728 raise in the comment.
80e2212d
UD
25729 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25730 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25731 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25732
ce67228d
UD
257332011-05-28 Ulrich Drepper <drepper@gmail.com>
25734
8887a920
UD
25735 [BZ #12811]
25736 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25737 grow the buffers more if it already has to be sufficient.
25738 (build_wcs_upper_buffer): Likewise.
25739 * posix/regexec.c (check_matching): Likewise.
25740 (clean_state_log_if_needed): Likewise.
25741 (extend_buffers): Don't enlarge buffers beyond size of the input
25742 buffer.
25743 Patches mostly by Emil Wojak <emil@wojak.eu>.
25744 * posix/bug-regex32.c: New file.
25745 * posix/Makefile (tests): Add bug-regex32.
25746
4f031072
UD
25747 * locale/findlocale.c (_nl_find_locale): Return right away if
25748 _nl_explode_name failed.
25749 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25750
d0478f0c
UD
25751 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25752
de81b246
UD
25753 * debug/xtrace.sh: Unify messages.
25754 * malloc/memusage.sh: Likewise.
25755
c738465a
UD
25756 [BZ #12813]
25757 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25758 time symbol from vDSO. Substitute with vsyscall if not available.
25759 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25760 __vdso_time.
25761
f1f929d7
UD
25762 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25763 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25764 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25765 Add sendmmsg and internal_sendmmsg.
25766 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25767 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25768 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25769
ce67228d
UD
25770 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25771 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25772 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25773
e57420c6
UD
257742011-05-27 Ulrich Drepper <drepper@gmail.com>
25775
a8509ca5
UD
25776 [BZ #12813]
25777 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25778 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25779 available.
25780 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25781 __vdso_getcpu.
25782
e57420c6
UD
25783 [BZ #12814]
25784 * iconvdata/Makefile (tests): Add bug-iconv9.
25785 * iconvdata/bug-iconv9.c: New file.
25786
4d07db15
AS
257872011-05-27 Andreas Schwab <schwab@redhat.com>
25788
25789 [BZ #12814]
25790 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25791
ea486f69
JJ
257922011-05-25 Jakub Jelinek <jakub@redhat.com>
25793
25794 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25795 (struct user_regs_struct): Change intcs field back to cs.
25796
6f038433
UD
257972011-05-25 Ulrich Drepper <drepper@gmail.com>
25798
25799 * po/ja.po: Update from translation team.
25800
67f86a25
UD
258012011-05-23 Ulrich Drepper <drepper@gmail.com>
25802
25803 [BZ #12795]
25804 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25805 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25806
def7fbd6
AS
258072011-05-20 Andreas Schwab <schwab@redhat.com>
25808
25809 * stdlib/longlong.h: Update from GCC.
25810
f50ef8f1
AS
258112011-05-23 Andreas Schwab <schwab@redhat.com>
25812
25813 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25814 parameter name.
25815 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25816 Add parameter name.
25817 (__sysconf): Pass it down.
25818
de7ce8f1
UD
258192011-05-22 Ulrich Drepper <drepper@gmail.com>
25820
f2962a71
UD
25821 [BZ #12671]
25822 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25823 some situations.
25824 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25825 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25826 add in in __libc_use_alloca calls. Adjust callers.
25827 (glob): Use malloc in some situations.
25828
de7ce8f1
UD
25829 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25830 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25831 pltexit.
25832
aec84f53
UD
258332011-05-21 Ulrich Drepper <drepper@gmail.com>
25834
05bb4a68
UD
25835 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25836 and CLOCK_BOOTTIME_ALARM.
25837
7ea72f99
UD
25838 [BZ #12782]
25839 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25840 is returned.
25841
7e4afad5
UD
25842 * string/_strerror.c (__strerror_r): Print negative errors as signed
25843 numbers.
25844
8e211fec
UD
25845 [BZ #12777]
25846 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25847 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25848 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25849
f7d82dc9
UD
25850 * configure.in: Fix typo in redirection and correct removal of test
25851 files in two cases.
25852
cc9e536d
UD
25853 [BZ #12788]
25854 * locale/setlocale.c (new_composite_name): Fix test to check for
25855 identical name of all categories.
25856
aec84f53
UD
25857 [BZ #12792]
25858 * libio/filedoalloc.c (local_isatty): New function.
25859 (_IO_file_doallocate): Use local_isatty.
25860 * stdio-common/perror.c (perror): In case a new stream is used
25861 forward the stream error.
25862 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25863 error flag.
25864
78e64fdc
RT
258652011-05-20 Ulrich Drepper <drepper@gmail.com>
25866
34a9094f
UD
25867 [BZ #11869]
25868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25869 alloca.
25870 * include/alloca.h (extend_alloca_account): Define.
25871
78e64fdc
RT
25872 [BZ #11857]
25873 * posix/regex.h: Fix comments with documentation of user-accessible
25874 fields after compilation and describe correct free'ing of pattern
25875 after re_compile_pattern.
25876 Patch by Reuben Thomas <rrt@sc3d.org>.
25877
457bddfc
RA
258782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25879
25880 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25881 and -mno-altivec to prevent the compiler from using Altivec and/or
25882 VSX instructions when the corresponding registers are not available.
25883
a4527b51
AS
258842011-05-19 Andreas Schwab <schwab@redhat.com>
25885
25886 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25887
ed690b2f
UD
258882011-05-19 Ulrich Drepper <drepper@gmail.com>
25889
25890 * libio/freopen.c (freopen): Use __dup2, not dup2.
25891 * libio/freopen64.c (freopen64): Likewise.
25892
8db73634
L
258932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25894
25895 [BZ #12775]
25896 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25897 * math/Makefile (tests): Add test-powl.
25898 (CFLAGS-test-powl.c): Define.
25899 * math/test-powl.c: New file.
25900
0a197a9d
L
259012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25902
25903 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25904
ee30c380
UD
259052011-05-17 Ulrich Drepper <drepper@gmail.com>
25906
25907 [BZ #11837]
25908 * iconvdata/gb18030.c: Update to GB18020-2005.
25909
6ce75379
UD
259102011-05-16 Ulrich Drepper <drepper@gmail.com>
25911
a4b89fd8
AR
25912 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25913 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25914 Patch by Aharon Robbins <arnold@skeeve.com>.
25915
ea389b12
UD
25916 [BZ #11892]
25917 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25918 on the stack.
25919
68a3f91f
UD
25920 [BZ #11895]
25921 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25922 through underflows.
25923
15cc7dd1
UD
25924 [BZ #12766]
25925 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25926 point to strings before performing equality test for error_one_per_line
25927 mode.
25928
f3799213
UD
25929 [BZ #11697]
25930 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25931
d79a9c94
UD
25932 [BZ #11820]
25933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25934 (struct user_fpregs_struct): Avoid __uint*_t types.
25935
56e5eb46
UD
25936 [BZ #6420]
25937 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25938 symbol info. Use it instead of calling _dl_addr locally.
25939 (lock_and_info): New function.
25940 (tr_freehook): Call lock_and_info and pass symbol info as additional
25941 parameter to tr_where.
25942 (tr_mallochook): Likewise.
25943 (tr_reallochook): Likewise.
25944 (tr_memalignhook): Likewise.
25945
6ce75379
UD
25946 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25947 used and couldn't be at all thread-safe.
25948
f8a3b5bf
UD
259492011-05-15 Ulrich Drepper <drepper@gmail.com>
25950
94b7cc37
UD
25951 * libio/freopen.c (freopen): Don't close old file descriptor
25952 before the new one is opened. Instead dup the new file descriptor
25953 to the old one after the new stream is created.
25954 * libio/freopen64.c (freopen64): Likewise.
25955 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25956 * libio/fileops.c (_IO_new_file_close_it): Handle new
25957 _IO_FLAGS2_NOCLOSE flag.
25958 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25959 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25960 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25961 _IO_FLAGS2_NOCLOSE flag.
25962 * include/unistd.h: Add hidden_proto for dup3.
25963 Define __have_dup3.
25964 * io/dup3.c: Define hidden symbol.
25965 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25966
bd25564e
UD
25967 [BZ #7101]
25968 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25969 when an incomplete long option is used.
25970 * posix/tst-getopt_long1.c: New file.
25971 * posix/Makefile (tests): Add tst-getopt_long1.
25972
c84cfef4
UD
25973 [BZ #10138]
25974 * scripts/config.guess: Update from autoconf-2.68.
25975 * scripts/config.sub: Likewise.
25976
3b85df27
UD
25977 [BZ #10157]
25978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25979 tests into ...
25980 (has_cpuclock): ...this. New function.
25981 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25982 macro here based on has_cpuclock code.
25983
15a856b1
UD
25984 [BZ #10149]
25985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25986 First byte (not low byte) is now always NUL.
25987 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25988
05f399e6
UD
25989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25990 Use non-cancelable interfaces.
25991
10a52685 25992 [BZ #9809]
94ecc67d
UD
25993 * locale/iso-639.def: Add entry for Sorani.
25994
f8a3b5bf
UD
25995 [BZ #11901]
25996 * include/stdlib.h: Move include protection to the right place.
25997 Define abort_msg_s. Declare __abort_msg with it.
25998 * stdlib/abort.c (__abort_msg): Adjust type.
25999 * assert/assert.c (__assert_fail_base): New function. Majority
26000 of code from __assert_fail. Allocate memory for __abort_msg with
26001 mmap.
26002 (__assert_fail): Now call __assert_fail_base.
26003 * assert/assert-perr.c: Remove bulk of implementation. Use
26004 __assert_fail_base.
26005 * include/assert.hL Declare __assert_fail_base.
26006 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26007 mmap.
26008 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26009
1af4e298
UD
260102011-05-14 Ulrich Drepper <drepper@gmail.com>
26011
f8a3b5bf 26012 [BZ #11952]
d26dfc60
MG
26013 [BZ #12453]
26014 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26015 until all modules are registered in the DTV.
26016 * elf/Makefile: Add rules to build and run tst-tls19.
26017 * elf/tst-tls19.c: New file.
26018 * elf/tst-tls19mod1.c: New file.
26019 * elf/tst-tls19mod2.c: New file.
26020 * elf/tst-tls19mod3.c: New file.
26021 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26022
2fc54d6f
UD
26023 [BZ #12083]
26024 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26025 correctly.
26026
98d76b46
UD
26027 [BZ #12601]
26028 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26029 two-byte sequence errors.
26030 * iconvdata/Makefile (tests): Add bug-iconv8.
26031 * iconvdata/bug-iconv8.c: New file.
26032
da3c19ef
UD
26033 [BZ #12626]
26034 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26035 buf2 definition.
26036
ca408c15
UD
26037 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26038
d6f67f7d
UD
26039 [BZ #12432]
26040 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26041 (dummy_getcfa): New function.
26042 (init): Get _Unwind_GetCFA address, use dummy if not found.
26043 (backtrace_helper): In recursion check, also check whether CFA changes.
26044 (__backtrace): Completely initialize arg.
26045
1af4e298 26046 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26047 storing incomplete byte sequence in state object. Avoid testing for
26048 guaranteed too small input if we know there is enough data available.
1af4e298 26049
da62f81b
AS
260502011-05-11 Andreas Schwab <schwab@redhat.com>
26051
26052 * Makeconfig (+link-pie): Indent.
26053 * Rules (binaries-pie): Define if $(have-fpie) and
26054 $(build-shared).
26055 (binaries-shared): Also filter out $(binaries-pie).
26056 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26057 * nscd/Makefile (others-pie): Add nscd.
26058 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26059 ($(objpfx)nscd): Remove command override.
26060 * login/Makefile (others-pie): Add pt_chown.
26061 ($(objpfx)pt_chown): Remove command override.
26062 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26063 remove command overrides.
26064
fcabc0f8
UD
260652011-05-13 Ulrich Drepper <drepper@gmail.com>
26066
20030ae6
UD
26067 * libio/tst_putwc.c: Fix error messages.
26068
fcabc0f8
UD
26069 [BZ #12724]
26070 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26071 currently writing and seek to current position when not.
26072 * libio/Makefile (tests): Add bug-fclose1.
26073 * libio/bug-fclose1.c: New file.
26074
320a5dc0
PB
260752011-05-12 Ulrich Drepper <drepper@gmail.com>
26076
26077 [BZ #12511]
26078 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26079 don't set DF_1_NODELETE here.
26080 (do_lookup_x): When entering new entry test for copy relocation
26081 and if necessary set DF_1_NODELETE flag.
26082 * elf/tst-unique4.cc: New file.
26083 * elf/tst-unique4.h: New file.
26084 * elf/tst-unique4lib.cc: New file.
26085 * elf/Makefile: Add rules to build and run tst-unique4.
26086 Patch by Piotr Bury <pbury@goahead.com>.
26087
22836f52
UD
260882011-05-11 Ulrich Drepper <drepper@gmail.com>
26089
f574184a
UD
26090 [BZ #12052]
26091 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26092
e1fb097f
UD
26093 [BZ #12625]
26094 * misc/mntent_r.c (addmntent): Flush the stream after the output
26095
22836f52
UD
26096 [BZ #12393]
26097 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26098 (is_trusted_path_normalize): Skip initial colon. Append slash
26099 to empty buffer. Duplicate is_trusted_path code but allow
26100 constructed patch to be prefix.
26101 (is_dst): Allow $ORIGIN followed by /.
26102 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26103 Correct testing of result of is_trusted_path_normalize
26104 (decompose_rpath): Fix warning.
26105
7b3b0b2a
UD
261062011-05-10 Ulrich Drepper <drepper@gmail.com>
26107
26108 [BZ #11257]
26109 * grp/initgroups.c (internal_getgrouplist): When we found the service
26110 list through the initgroups entry in nsswitch.conf do not always
26111 continue on a successful lookup. Don't always use the
eac80ce2 26112 __nss_group_database value if it is set.
7b3b0b2a
UD
26113 * nss/nsswitch.conf (initgroups): Change action for successful db
26114 lookup to continue for compatibility.
26115
2a81eaa5
UD
261162011-05-09 Ulrich Drepper <drepper@gmail.com>
26117
be97a69e
UD
26118 [BZ #11532]
26119 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26120 and CP774 modules.
26121 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26122 and CP774 modules.
26123 * iconvdata/tst-tables.sh: Likewise.
26124 * iconvdata/cp770.c: New file.
26125 * iconvdata/cp771.c: New file.
26126 * iconvdata/cp772.c: New file.
26127 * iconvdata/cp773.c: New file.
26128 * iconvdata/cp774.c: New file.
26129 * iconvdata/testdata/CP770: New file.
26130 * iconvdata/testdata/CP770..UTF8: New file.
26131 * iconvdata/testdata/CP771: New file.
26132 * iconvdata/testdata/CP771..UTF8: New file.
26133 * iconvdata/testdata/CP772: New file.
26134 * iconvdata/testdata/CP772..UTF8: New file.
26135 * iconvdata/testdata/CP773: New file.
26136 * iconvdata/testdata/CP773..UTF8: New file.
26137 * iconvdata/testdata/CP774: New file.
26138 * iconvdata/testdata/CP774..UTF8: New file.
26139
26140 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26141 END CHARMAP line.
26142 * iconvdata/gen-8bit-gap.sh: Likewise.
26143 * iconvdata/gen-8bit.sh: Likewise.
26144
c1e9e399
UD
26145 * locale/iso-639.def: Add ary entry.
26146
24c55fb3 26147 [BZ #11258]
96b4b1b0
UD
26148 * locale/C-translit.h.in: Add U20A1 transliteration.
26149
bdc2f971
KB
26150 [BZ #12178]
26151 * locale/iso-639.def: Add wae entry.
26152 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26153
2952b117
UD
26154 [BZ #12545]
26155 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26156 for n.
26157
2a81eaa5
UD
26158 [BZ #12711]
26159 * locale/C-translit.h.in: Add entry for U20B9.
26160 Patch by pravin.d.s@gmail.com.
26161
28377d1b
UD
261622011-05-08 Ulrich Drepper <drepper@gmail.com>
26163
7fb90fb8
UD
26164 [BZ #12713]
26165 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26166 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26167 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26168 in rtld. Use *stat64.
7fb90fb8 26169 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26170 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26171 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26172 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26173 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26174 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26175 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26176 __fstatat64 macros.
7fb90fb8
UD
26177 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26178 * dirent/rewinddir.c: Add libc_hidden_def.
26179 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26180 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26181
28377d1b
UD
26182 * include/dirent.h (__alloc_dir): Add flags parameter.
26183 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26184 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26185 __alloc_dir.
26186 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26187 from fdopendir if O_CLOEXEC is already set.
26188
66bdbaa4
AM
261892011-03-15 Alan Modra <amodra@gmail.com>
26190
26191 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26192 l_tls_firstbyte_offset non-zero. Save padding offset in
26193 l_tls_firstbyte_offset for later use.
26194 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26195 freeing static tls block.
26196
95721191
JN
261972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26198
26199 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26200 where #ifdef was intended. The intent is to prevent ARG_MAX from
26201 being defined by the kernel headers.
26202
f87dfb1f
UD
262032011-05-07 Ulrich Drepper <drepper@gmail.com>
26204
26205 [BZ #12734]
26206 * resolv/resolv.h: Define RES_NOTLDQUERY.
26207 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26208 no-tld-query and set RES_NOTLDQUERY.
26209 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26210 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26211 modern BIND to search name as TLD unless forbidden.
26212
47c3cd7a
UD
262132011-05-07 Petr Baudis <pasky@suse.cz>
26214 Ulrich Drepper <drepper@gmail.com>
26215
26216 [BZ #12393]
26217 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26218 (is_trusted_path): ...to here.
c1e9ea35 26219 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26220 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26221 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26222
8a35c912
PP
262232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26224
26225 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26226 __BEGIN/__END_DECLS.
26227
acd41f47
UD
262282011-05-06 Ulrich Drepper <drepper@gmail.com>
26229
26230 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26231 NSS_STATUS_NOTFOUND if no record was found.
26232
597df647
AS
262332011-05-05 Andreas Schwab <schwab@redhat.com>
26234
26235 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26236 (headers-not-in-tirpc): Remove rpc/netdb.h
26237 * resolv/netdb.h: Revert last change.
26238
b9af1301
PP
262392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26240
26241 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26242 circular dependency between libgcc.a and libc.a.
26243
4e34d5f5
AS
262442011-05-05 Andreas Schwab <schwab@redhat.com>
26245
26246 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26247 * nis/Makefile: Don't install rpcsvc/*.
26248 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26249 instead of <rpc/types.h>.
26250 (MAXHOSTNAMELEN): Define.
26251
00ee369c
AS
262522011-05-03 Andreas Schwab <schwab@redhat.com>
26253
26254 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26255
0b592a30
MB
262562011-04-28 Maciej Babinski <mbabinski@google.com>
26257
26258 [BZ #12714]
26259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26260 gethostbyname4_r when IPv6 results are possible.
26261
6e04cbbe
UD
262622011-05-02 Ulrich Drepper <drepper@gmail.com>
26263
26264 [BZ #12723]
26265 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26266 _PC_PIPE_BUF handling.
26267
e4ecafe0
BH
262682011-04-30 Bruno Haible <bruno@clisp.org>
26269
26270 [BZ #12717]
26271 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26272 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26273 to 'int'.
26274 * inet/getnameinfo.c (getnameinfo): Likewise.
26275
125ee683
UD
262762011-04-29 Ulrich Drepper <drepper@gmail.com>
26277
26278 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26279 to groups setting in database lookup.
26280 * nss/nsswitch.conf: Add initgroups entry.
26281
b722481a
EB
262822011-04-22 Ulrich Drepper <drepper@gmail.com>
26283
26284 [BZ #12685]
26285 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26286 mode string.
26287 Patch by Eric Blake <eblake@redhat.com>.
26288
4df46dbd
L
262892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26290
26291 * sunrpc/Makefile (need-export-routines): Add svc_run.
26292 (routines): Remove svc_run.
26293 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26294 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26295 * sunrpc/svc_run.c (svc_run): Likewise.
26296 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26297
e84142d2
UD
262982011-04-21 Ulrich Drepper <drepper@gmail.com>
26299
26300 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26301 problem in reallocation in last patch.
26302
877175d8
UD
263032011-04-20 Ulrich Drepper <drepper@gmail.com>
26304
26305 * sunrpc/Makefile: Move inclusion of Rules.
26306
ab8eed78
UD
263072011-04-19 Ulrich Drepper <drepper@gmail.com>
26308
26309 * nss/nss_files/files-initgroups.c: New file.
26310 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26311 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26312 _nss_files_initgroups_dyn.
26313
e3d8f584
RS
263142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26315
26316 * elf/elf.h (R_ARM_IRELATIVE): Define.
26317
af190f45
UD
263182011-04-19 Ulrich Drepper <drepper@gmail.com>
26319
26320 * po/ru.po: Update from translation team.
26321
53cf59ef
UD
263222011-04-17 Ulrich Drepper <drepper@gmail.com>
26323
26324 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26325 dependencies.
26326
4c559bcd
MF
263272011-02-06 Mike Frysinger <vapier@gentoo.org>
26328
26329 [BZ #12653]
26330 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26331 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26333 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26334 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26335
4420675c
AS
263362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26337
26338 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26339 differing bytes.
26340 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26341 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26342 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26343
75ea32ab
UD
263442011-04-17 Ulrich Drepper <drepper@gmail.com>
26345
26346 [BZ #12420]
26347 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26348 storing it.
26349 * stdlib/bug-getcontext.c: New file.
26350 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26351
27390476
AK
263522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26353
26354 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26355 instructions into .machine "z9-109".
26356 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26357 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26358
10442705
AK
263592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26360
26361 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26362 between environment variables and auxiliary vector.
26363
7b57bfe5
UD
263642011-04-16 Ulrich Drepper <drepper@gmail.com>
26365
26366 * Makefile: Add rules to build linkobj/libc.so.
26367 * include/libc-symbols.h: Define libc_hidden_nolink.
26368 * include/rpc/auth.h: Mark functions which are to be hidden.
26369 * include/rpc/auth_des.h: Likewise.
26370 * include/rpc/auth_unix.h: Likewise.
26371 * include/rpc/clnt.h: Likewise.
26372 * include/rpc/des_crypt.h: Likewise.
26373 * include/rpc/key_prot.h: Likewise.
26374 * include/rpc/pmap_clnt.h: Likewise.
26375 * include/rpc/pmap_prot.h: Likewise.
26376 * include/rpc/pmap_rmt.h: Likewise.
26377 * include/rpc/rpc_msg.h: Likewise.
26378 * include/rpc/svc.h: Likewise.
26379 * include/rpc/svc_auth.h: Likewise.
26380 * include/rpc/xdr.h: Likewise.
26381 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26382 * nss/Makefile: Likewise.
26383 * sunrpc/Makefile: Don't install headers. Build library with normal
26384 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26385 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26386 for the compat linking library. Remove use of INTDEF/INTUSE.
26387 * sunrpc/auth_none.c: Likewise.
26388 * sunrpc/auth_unix.c: Likewise.
26389 * sunrpc/authdes_prot.c: Likewise.
26390 * sunrpc/authuxprot.c: Likewise.
26391 * sunrpc/clnt_gen.c: Likewise.
26392 * sunrpc/clnt_perr.c: Likewise.
26393 * sunrpc/clnt_raw.c: Likewise.
26394 * sunrpc/clnt_simp.c: Likewise.
26395 * sunrpc/clnt_tcp.c: Likewise.
26396 * sunrpc/clnt_udp.c: Likewise.
26397 * sunrpc/clnt_unix.c: Likewise.
26398 * sunrpc/des_crypt.c: Likewise.
26399 * sunrpc/des_soft.c: Likewise.
26400 * sunrpc/get_myaddr.c: Likewise.
26401 * sunrpc/key_call.c: Likewise.
26402 * sunrpc/key_prot.c: Likewise.
26403 * sunrpc/netname.c: Likewise.
26404 * sunrpc/pm_getmaps.c: Likewise.
26405 * sunrpc/pm_getport.c: Likewise.
26406 * sunrpc/pmap_clnt.c: Likewise.
26407 * sunrpc/pmap_prot.c: Likewise.
26408 * sunrpc/pmap_prot2.c: Likewise.
26409 * sunrpc/pmap_rmt.c: Likewise.
26410 * sunrpc/publickey.c: Likewise.
26411 * sunrpc/rpc_cmsg.c: Likewise.
26412 * sunrpc/rpc_common.c: Likewise.
26413 * sunrpc/rpc_dtable.c: Likewise.
26414 * sunrpc/rpc_prot.c: Likewise.
26415 * sunrpc/rpc_thread.c: Likewise.
26416 * sunrpc/rtime.c: Likewise.
26417 * sunrpc/svc.c: Likewise.
26418 * sunrpc/svc_auth.c: Likewise.
26419 * sunrpc/svc_authux.c: Likewise.
26420 * sunrpc/svc_raw.c: Likewise.
26421 * sunrpc/svc_run.c: Likewise.
26422 * sunrpc/svc_simple.c: Likewise.
26423 * sunrpc/svc_tcp.c: Likewise.
26424 * sunrpc/svc_udp.c: Likewise.
26425 * sunrpc/svc_unix.c: Likewise.
26426 * sunrpc/svcauth_des.c: Likewise.
26427 * sunrpc/xcrypt.c: Likewise.
26428 * sunrpc/xdr.c: Likewise.
26429 * sunrpc/xdr_array.c: Likewise.
26430 * sunrpc/xdr_float.c: Likewise.
26431 * sunrpc/xdr_intXX_t.c: Likewise.
26432 * sunrpc/xdr_mem.c: Likewise.
26433 * sunrpc/xdr_rec.c: Likewise.
26434 * sunrpc/xdr_ref.c: Likewise.
26435 * sunrpc/xdr_sizeof.c: Likewise.
26436 * sunrpc/xdr_stdio.c: Likewise.
26437
e6c61494
UD
264382011-04-10 Ulrich Drepper <drepper@gmail.com>
26439
26440 [BZ #12650]
26441 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26442 * sysdeps/ia64/dl-tls.h: Likewise.
26443 * sysdeps/powerpc/dl-tls.h: Likewise.
26444 * sysdeps/s390/dl-tls.h: Likewise.
26445 * sysdeps/sh/dl-tls.h: Likewise.
26446 * sysdeps/sparc/dl-tls.h: Likewise.
26447 * sysdeps/x86_64/dl-tls.h: Likewise.
26448 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26449
34fe483e
AS
264502011-03-14 Andreas Schwab <schwab@redhat.com>
26451
26452 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26453 rpath element also skip the following colon.
26454 (expand_dynamic_string_token): Add is_path parameter and pass
26455 down to DL_DST_REQUIRED and _dl_dst_substitute.
26456 (decompose_rpath): Call expand_dynamic_string_token with
26457 non-zero is_path. Ignore empty rpaths.
26458 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26459 with zero is_path.
26460
f12a32e6
AS
264612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26462
26463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26464 Make cancelable.
26465
38a7d692
UD
264662011-04-09 Ulrich Drepper <drepper@gmail.com>
26467
26468 [BZ #12655]
26469 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26470 Patch by Filipe David Manana <fdmanana@apache.org>.
26471
e451d22b
AS
264722011-04-07 Andreas Schwab <schwab@redhat.com>
26473
26474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26475 Maintain aligned stack.
26476 (CHECK_RSP): Remove unused macro.
26477
dedc7c7b
UD
264782011-04-03 Ulrich Drepper <drepper@gmail.com>
26479
26480 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26481 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26482
94521213
UD
264832011-04-02 Ulrich Drepper <drepper@gmail.com>
26484
26485 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26486
8cb700c0 26487 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26488
0354e355
L
264892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26490
26491 [BZ #12518]
26492 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26493 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26494 * sysdeps/x86_64/memmove.c: New file.
26495 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26496 (memcpy): Renamed to ...
26497 (__new_memcpy): This.
26498 (memcpy): Provide GLIBC_2_14 memcpy.
26499 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26500 (memcpy): Provide GLIBC_2_2_5 memcpy.
26501
8593482f
UD
265022011-04-01 Ulrich Drepper <drepper@gmail.com>
26503
26504 [BZ #12631]
26505 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26506
81a5726b
AS
265072011-03-30 Andreas Schwab <schwab@redhat.com>
26508
26509 * misc/syncfs.c: New file.
26510 * misc/Makefile (routines): Add syncfs.
26511 * posix/unistd.h: Declare syncfs.
26512 * sysdeps/unix/syscalls.list: Add syncfs.
26513
00e5419f
AS
265142011-04-01 Andreas Schwab <schwab@redhat.com>
26515
26516 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26517 open_by_handle_at.
26518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26519 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26521 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26523 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26524 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26525
748876bf
UD
265262011-04-01 Ulrich Drepper <drepper@gmail.com>
26527
658e451d
UD
26528 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26529 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26530 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26534 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26535
748876bf
UD
26536 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26537 sync_file_range.c with -fexceptions.
26538 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26539 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26540 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26541 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26542 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26543 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26544 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26545 sync_file_range as cancellation point
26546 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26547 now a wrapper around __call_sync_file_range with cancellation handling.
26548 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26549 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26550 function name to __call_sync_file_range.
26551 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26552 Add call_sync_file_range.
748876bf 26553
6e63d5e1
AS
265542011-04-01 Andreas Schwab <schwab@redhat.com>
26555
26556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26557 bits/timex.h.
6e63d5e1 26558
46998f74
UD
265592011-04-01 Ulrich Drepper <drepper@gmail.com>
26560
4c1423ed
UD
26561 * iconv/iconv.h: Fix typo in comment.
26562 * io/fcntl.h: Likewise.
26563 * libio/stdio.h: Likewise.
26564 * posix/spawn.h: Likewise.
26565 * posix/unistd.h: Likewise.
26566 * stdlib/stdlib.h: Likewise.
26567 * time/time.h: Likewise.
26568 * wcsmbs/wchar.h: Likewise.
26569
158648c0
UD
26570 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26571 open_by_handle): Add.
26572 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26573 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26574 Augment a few comments.
26575 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26580 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26581 open_by_handle.
26582
46998f74
UD
26583 * io/fcntl.h (AT_EMPTY_PATH): Define.
26584
83fe108b
UD
265852011-03-30 Ulrich Drepper <drepper@gmail.com>
26586
26587 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26588 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26589 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26590 to...
26591 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26592 * Versions.def: Add GLIBC_2.14.
26593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26594 Export.
83fe108b 26595
bb242059
UD
265962011-03-22 Ulrich Drepper <drepper@gmail.com>
26597
26598 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26599 round counter.
26600 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26601
c97a1282
L
266022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26603
26604 [BZ #12597]
26605 * string/test-strncmp.c (do_page_test): New function.
26606 (check2): Likewise.
26607 (test_main): Call check2.
26608 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26609
2a115601
UD
266102011-03-20 Ulrich Drepper <drepper@gmail.com>
26611
26612 [BZ #12587]
26613 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26614 Handle cache information in CPU leaf 4.
26615 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26616
8126d904
UD
266172011-03-18 Ulrich Drepper <drepper@gmail.com>
26618
042c49c6 26619 [BZ #12583]
8126d904
UD
26620 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26621 character representation.
26622 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26623
ccfe366e
RA
266242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26625
26626 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26627 END(__isnan) to END(__isnanf) to match function entry point/label
26628 EALIGN(__isnanf,...).
26629
c6e13027
JJ
266302011-03-10 Jakub Jelinek <jakub@redhat.com>
26631
26632 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26633
33f85a3f
UD
266342011-03-10 Ulrich Drepper <drepper@gmail.com>
26635
028478fa
UD
26636 [BZ #12510]
26637 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26638 copy from the symbol referenced in the relocation to initialize the
26639 used variable.
26640 Patch by Piotr Bury <pbury@goahead.com>.
26641 * elf/Makefile: Add rules to build and tst-unique3.
26642 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26643 * elf/tst-unique3.cc: New file.
26644 * elf/tst-unique3.h: New file.
26645 * elf/tst-unique3lib.cc: New file.
26646 * elf/tst-unique3lib2.cc: New file.
26647
33f85a3f
UD
26648 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26649
03592fc7
MF
266502011-03-10 Mike Frysinger <vapier@gentoo.org>
26651
26652 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26653 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26654 to _start.
03592fc7 26655
6a5ee102
UD
266562011-03-06 Ulrich Drepper <drepper@gmail.com>
26657
26658 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26659 to-be-loaded object along a path to loader is ld.so.
26660
7e4ba49c
HJ
266612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26662 Ulrich Drepper <drepper@gmail.com>
26663
26664 * sysdeps/x86_64/memset.S: After aligning destination, code
26665 branches to different locations depending on the value of
26666 misalignment, when multiarch is enabled. Fix this.
26667
266682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26669
26670 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26671 Set _x86_64_preferred_memory_instruction for AMD processsors.
26672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26673 Set bit_Prefer_SSE_for_memop for AMD processors.
26674
13a804de
UD
266752011-03-04 Ulrich Drepper <drepper@gmail.com>
26676
26677 * libio/fmemopen.c (fmemopen): Optimize a bit.
26678
9d25c392
AS
266792011-03-03 Andreas Schwab <schwab@redhat.com>
26680
26681 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26682
a5543c6a
RM
266832011-03-03 Roland McGrath <roland@redhat.com>
26684
26685 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26686
012d35f7
DM
266872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26688
7e4ba49c 26689 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26690 __bzero_ultra1 instead of __memset_ultra1.
26691
4bff6e01
AS
266922011-02-23 Andreas Schwab <schwab@redhat.com>
26693 Ulrich Drepper <drepper@gmail.com>
26694
26695 [BZ #12509]
26696 * include/link.h (struct link_map): Add l_orig_initfini.
26697 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26698 returning unsuccessfully.
26699 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26700 close of a file loaded at startup, restore the original l_initfini
26701 list.
26702 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26703 list, store the pointer.
26704 * elf/Makefile ($(objpfx)noload-mem): New rule.
26705 (noload-ENV): Define.
26706 (tests): Add $(objpfx)noload-mem.
26707 * elf/noload.c: Include <memcheck.h>.
26708 (main): Call mtrace. Close all opened handles.
26709
f2092faf
AS
267102011-02-17 Andreas Schwab <schwab@redhat.com>
26711
26712 [BZ #12454]
26713 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26714 dependencies are missing.
26715
6c8a2e88
ST
267162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26717
f2092faf 26718 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26719 Hurd needs munmap.
26720 * sysdeps/mach/hurd/ifreq.h: New file.
26721
84a42118
PB
267222011-01-27 Petr Baudis <pasky@suse.cz>
26723 Ulrich Drepper <drepper@gmail.com>
26724
071f805e 26725 [BZ 12445]#
84a42118
PB
26726 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26727 to extend_alloca().
26728 * stdio-common/bug23.c: New file.
26729 * stdio-common/Makefile (tests): Add bug23.
26730
e23fe25b
AS
267312010-09-28 Andreas Schwab <schwab@redhat.com>
26732 Ulrich Drepper <drepper@gmail.com>
26733
26734 [BZ #12489]
26735 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26736 before performing relro protection. At old place add assertion
26737 to make sure nothing changed.
26738
d3f02e10
NS
267392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26740 Glauber de Oliveira Costa <glommer@gmail.com>
26741
26742 * elf/elf.h: Add new ARM TLS relocs.
26743
d55fd7a5
RA
267442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26745
26746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26747 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26748 cast from r3.
26749 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26750 'tests' variable.
26751 * sysdeps/wordsize-64/tst-writev.c: New file.
26752
2206397e
RA
267532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26754
26755 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26756 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26757 insns in _dl_start to prevent a TOC reference before relocs are
26758 resolved.
26759
e9433893
UD
267602011-02-15 Ulrich Drepper <drepper@gmail.com>
26761
26762 [BZ #12469]
26763 * Makeconfig: Remove RANLIB definition.
26764 * Makerules: Don't use RANLIB.
26765 * aclocal.m4: Remove ranlib test.
26766 * configure.in: No need to check for ranlib.
26767 * elf/rtld-Rules: Don't use RANLIB.
26768
f75286c6
ST
267692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26770
8e31c82d
ST
26771 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26772 protection macro.
26773 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26774 inclusion protection macro.
26775
f75286c6
ST
26776 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26777 SIGRTMIN and SIGRTMAX and print information in that case only when
26778 SIGRTMIN is defined.
26779
c1d0e639
JJ
267802011-02-11 Jakub Jelinek <jakub@redhat.com>
26781
26782 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26783 arginfo fn returning -1.
26784
26785 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26786 and thousands string is zero terminated.
26787
edf9294e
AS
267882011-02-03 Andreas Schwab <schwab@redhat.com>
26789
26790 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26791 sysdeps/unix/sysv/linux/bits/socket.h.
26792
2b7e92df
ST
267932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26794
edf9294e
AS
26795 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26796 (__CPU_COUNT): Remove old macros.
26797 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26798 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26799 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26800 (__sched_cpualloc, __sched_cpufree): Add declarations.
26801
a4c7ea7b
UD
268022011-02-05 Ulrich Drepper <drepper@gmail.com>
26803
26804 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26805 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26806 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26807 (readdhstai): Return value of addhstaiX call.
26808 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26809 (addgrbyX): Return value returned by cache_addgr.
26810 (readdgrbyname): Return value returned by addgrbyX.
26811 (readdgrbygid): Likewise.
26812 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26813 (addpwbyX): Return value returned by cache_addpw.
26814 (readdpwbyname): Return value returned by addhstbyX.
26815 (readdpwbyuid): Likewise.
26816 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26817 (addservbyX): Return value returned by cache_addserv.
26818 (readdservbyname): Return value returned by addservbyX:
26819 (readdservbyport): Likewise.
26820 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26821 (addhstbyX): Return value returned by cache_addhst.
26822 (readdhstbyname): Return value returned by addhstbyX.
26823 (readdhstbyaddr): Likewise.
26824 (readdhstbynamev6): Likewise.
26825 (readdhstbyaddrv6): Likewise.
26826 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26827 (readdinitgroups): Return value returned by addinitgroupsX.
26828 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26829 (prune_cache): Keep track of timeout value of re-added entries.
26830 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26831 * nscd/nscd.h: Adjust prototypes of readd* functions.
26832
a0bf67cc
RM
268332011-02-04 Roland McGrath <roland@redhat.com>
26834
26835 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26836 (nis_stats): Likewise.
26837 * nis/nis_modify.c (nis_modify): Likewise.
26838 * nis/nis_remove.c (nis_remove): Likewise.
26839 * nis/nis_add.c (nis_add): Likewise.
26840
26841 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26842
26843 * posix/fnmatch_loop.c: Add some consts.
26844
26845 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26846
435b95eb
L
268472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26848
26849 [BZ #12460]
26850 * config.make.in (config-cflags-novzeroupper): Define.
26851 * configure.in: Substitute libc_cv_cc_novzeroupper.
26852 * elf/Makefile (AVX-CFLAGS): Define.
26853 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26854 (CFLAGS-tst-auditmod4a.c): Likewise.
26855 (CFLAGS-tst-auditmod4b.c): Likewise.
26856 (CFLAGS-tst-auditmod6b.c): Likewise.
26857 (CFLAGS-tst-auditmod6c.c): Likewise.
26858 (CFLAGS-tst-auditmod7b.c): Likewise.
26859 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26860
8517b15e
UD
268612011-02-02 Ulrich Drepper <drepper@gmail.com>
26862
26863 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26864 function to the callback.
26865 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26866
10a656fe
AS
268672011-02-02 Andreas Schwab <schwab@redhat.com>
26868
26869 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26870 of errno.
26871
968dad0a
UD
268722011-01-19 Ulrich Drepper <drepper@gmail.com>
26873
9f94d2ea 26874 [BZ #11724]
968dad0a
UD
26875 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26876 of constructors.
26877 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26878 of destructors.
26879 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26880
26881 [BZ #11724]
26882 * elf/Makefile: Add rules to build and run new test.
26883 * elf/tst-initorder.c: New file.
26884 * elf/tst-initorder.exp: New file.
26885 * elf/tst-initordera1.c: New file.
26886 * elf/tst-initordera2.c: New file.
26887 * elf/tst-initordera3.c: New file.
26888 * elf/tst-initordera4.c: New file.
26889 * elf/tst-initorderb1.c: New file.
26890 * elf/tst-initorderb2.c: New file.
26891 * elf/tst-order-a1.c: New file.
26892 * elf/tst-order-a2.c: New file.
26893 * elf/tst-order-a3.c: New file.
26894 * elf/tst-order-a4.c: New file.
26895 * elf/tst-order-b1.c: New file.
26896 * elf/tst-order-b2.c: New file.
26897 * elf/tst-order-main.c: New file.
26898 New test case by George Gensure <werkt0@gmail.com>.
26899
86e92359
UD
269002010-10-01 Andreas Schwab <schwab@redhat.com>
26901
26902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26903 decoding ACE if AI_CANONIDN.
26904
5d5732b0
UD
269052011-01-18 Ulrich Drepper <drepper@gmail.com>
26906
26907 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26908
a77e8cbc
UD
269092011-01-17 Ulrich Drepper <drepper@gmail.com>
26910
6392473f
UD
26911 * version.h (RELEASE): Bump for 2.13 release.
26912 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26913
620a0529
UD
26914 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26915
18ba70a5
UD
26916 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26917 MADV_NOHUGEPAGE.
32465c3e
UD
26918 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26919 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26920 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26921 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26922 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26923 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26924
c0dafcf1
UD
26925 * posix/getconf.c: Update copyright year.
26926 * catgets/gencat.c: Likewise.
26927 * csu/version.c: Likewise.
26928 * debug/catchsegv.sh: Likewise.
26929 * debug/xtrace.sh: Likewise.
26930 * elf/ldconfig.c: Likewise.
26931 * elf/ldd.bash.in: Likewise.
26932 * elf/sprof.c (print_version): Likewise.
26933 * iconv/iconv_prog.c: Likewise.
26934 * iconv/iconvconfig.c: Likewise.
26935 * locale/programs/locale.c: Likewise.
26936 * locale/programs/localedef.c: Likewise.
26937 * malloc/memusage.sh: Likewise.
26938 * malloc/mtrace.pl: Likewise.
26939 * nscd/nscd.c (print_version): Likewise.
26940 * nss/getent.c: Likewise.
26941
a77e8cbc
UD
26942 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26943 PF_CAIF, and PF_ALG.
26944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26945
77e8bddf
AS
269462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26947
1f20b93a
AS
26948 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26949 (modules-names): Use them.
26950 (ifunc-test-modules, ifunc-pie-tests): Define.
26951 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26952 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26953 (test-extras): Likewise.
26954 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26955 $(compile-command.c).
26956 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26957 (all-built-dso): Define.
26958 (check-textrel.out, check-execstack.out): Depend on it.
26959
77e8bddf
AS
26960 * configure.in: Don't override --enable-multi-arch.
26961
bc425b33
UD
269622011-01-15 Ulrich Drepper <drepper@gmail.com>
26963
26964 [BZ #6812]
26965 * nscd/hstcache.c (tryagain): Define.
26966 (cache_addhst): Return tryagain not notfound for temporary errors.
26967 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26968 failed.
26969
794c3ad3
UD
269702011-01-14 Ulrich Drepper <drepper@gmail.com>
26971
70181fdd
UD
26972 [BZ #10563]
26973 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26974 to make the syscall.
26975 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26976
794c3ad3
UD
26977 [BZ #12378]
26978 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26979 and fall back to matching as normal character if the string ends before
26980 the matching ']' is found. This is what POSIX requires.
26981 * posix/testfnm.c: Adjust test result.
26982 * posix/globtest.sh: Adjust test result. Add new test.
26983 * posix/tst-fnmatch.input: Likewise.
26984 * posix/tst-fnmatch2.c: Add new test.
26985
68dc9497
AS
269862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26987
26988 * elf/Makefile (check-execstack): Revert last change. Depend on
26989 check-execstack.h.
26990 (check-execstack.h): New target.
26991 (generated): Add check-execstack.h.
26992 * elf/check-execstack.c: Include "check-execstack.h".
26993 (main): Revert last change.
26994 (handle_file): Return zero if GNU_STACK is absent and
26995 DEFAULT_STACK_PERMS doesn't include PF_X.
26996
451f001b
UD
269972011-01-13 Ulrich Drepper <drepper@gmail.com>
26998
cfa28e56
UD
26999 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27000 in child fails because the descriptor is already closed.
8cf8ce17
UD
27001 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27002 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27004
1086d70d
UD
27005 [BZ #12397]
27006 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27007 syscall.
27008
451f001b
UD
27009 [BZ #10484]
27010 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27011 temporary buffer used to handle multi lookups locally.
a85b5cb4 27012 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27013
08769175
UD
270142011-01-12 Ulrich Drepper <drepper@gmail.com>
27015
27016 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27017 loader is ld.so.
27018
5e49c52e
UD
270192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27020
27021 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27022 alignment for SSE2.
27023
60522a5f
UD
270242011-01-12 Ulrich Drepper <drepper@gmail.com>
27025
27026 [BZ #12394]
27027 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27028 characters. When rounding increased number of integer digits recompute
27029 number of groups.
27030 * stdio-common/tst-grouping.c: New file.
27031 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27032
f257bbd7
UD
270332011-01-09 Ulrich Drepper <drepper@gmail.com>
27034
27035 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27036 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27037
27038 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27039 void.
27040 * bits/select.h: Likewise.
27041
fa9c15cb
UD
270422011-01-08 Ulrich Drepper <drepper@gmail.com>
27043
27044 * po/ja.po: Update from translation team.
27045
16c2895f
DM
270462011-01-04 David S. Miller <davem@sunset.davemloft.net>
27047
27048 [BZ #11155]
27049 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27050 implementation just like for lxstat, fxstatat, et al.
27051
2543fef2
JM
270522010-12-27 Jim Meyering <meyering@redhat.com>
27053
27054 [BZ #12348]
27055 * posix/regexec.c (build_trtable): Return failure indication upon
27056 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27057
98727dbe
UD
270582010-12-25 Ulrich Drepper <drepper@gmail.com>
27059
5bd6dc5c
UD
27060 [BZ #12201]
27061 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27062 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27063 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27064 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27065
97983464
UD
27066 [BZ #12207]
27067 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27068
98727dbe
UD
27069 [BZ #12204]
27070 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27071 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27072
4a531bb0
L
270732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27074
27075 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27076 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27077 script has SORT_BY_INIT_PRIORITY.
27078 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27079 NO_CTORS_DTORS_SECTIONS is defined.
27080 * elf/soinit.c: Likewise.
27081 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27082 NO_CTORS_DTORS_SECTIONS is defined.
27083 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27084 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27085 * sysdeps/sh/init-first.c: Likewise.
27086 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27087
07eb4b71
UD
270882010-12-24 Ulrich Drepper <drepper@gmail.com>
27089
27090 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27091 always use the slow path.
27092
30950a5f
RA
270932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27094
27095 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27096 similar rule which adds the sysdep directories to the header search in
27097 order to pick up the correct platform stackinfo.h.
27098 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27099 perform test if it is, otherwise return successfully without testing.
27100 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27101 DEFAULT_STACK_PERMS define in stackinfo.h.
27102 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27103 defined in stackinfo.h.
27104 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27105 DEFAULT_STACK_PERMS defined in stackinfo.h.
27106 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27107 * sysdeps/ia64/stackinfo.h: Likewise.
27108 * sysdeps/s390/stackinfo.h: Likewise.
27109 * sysdeps/sh/stackinfo.h: Likewise.
27110 * sysdeps/sparc/stackinfo.h: Likewise.
27111 * sysdeps/x86_64/stackinfo.h: Likewise.
27112 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27113 PF_X for powerpc64. Retain PF_X for powerpc32.
27114
db753e2c
UD
271152010-12-19 Ulrich Drepper <drepper@gmail.com>
27116
14b697f7
UD
27117 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27118 accurately.
db753e2c
UD
27119 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27120 GETDENTS_64BIT_ALIGNED.
27121
28300719
UD
271222010-12-14 Ulrich Drepper <dreper@gmail.com>
27123
14b697f7 27124 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27125
4f197237
AS
271262010-12-10 Andreas Schwab <schwab@redhat.com>
27127
dbb0472f
AS
27128 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27129 _GNU_SOURCE.
27130
4f197237
AS
27131 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27132 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27133 Remove __restrict.
27134 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27135 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27136
fb88ac72
UD
271372010-12-09 Ulrich Drepper <drepper@gmail.com>
27138
27139 [BZ #11655]
27140 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27141 are initialized.
27142
42acbb92
JJ
271432010-12-09 Jakub Jelinek <jakub@redhat.com>
27144
27145 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27146
c038d98d
UD
271472010-12-03 Ulrich Drepper <drepper@gmail.com>
27148
27149 * po/it.po: Update from translation team.
27150
3a4a2499
L
271512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27152
27153 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27154 unused codes.
27155
1e24cf6e
UD
271562010-11-30 Ulrich Drepper <drepper@gmail.com>
27157
27158 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27159
a7690819
AS
271602010-11-24 Andreas Schwab <schwab@redhat.com>
27161
27162 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27163 specially.
27164 (gaih_getanswer_slice): Likewise.
27165
3bf8d1b1
JJ
271662010-10-20 Jakub Jelinek <jakub@redhat.com>
27167
27168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27169
6db52fbb
PB
271702010-05-31 Petr Baudis <pasky@suse.cz>
27171
27172 [BZ #11149]
27173 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27174 silently even in the chroot mode.
27175
eaca7569
UD
271762010-11-22 Ulrich Drepper <drepper@gmail.com>
27177
27178 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27179 last patch a bit. Pretty printing
27180
3056dcdb
UD
271812010-05-31 Petr Baudis <pasky@suse.cz>
27182
27183 [BZ #10085]
27184 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27185 initialization of skip_initgroups_dyn.
27186
cf7c9078
UD
271872010-11-19 Ulrich Drepper <drepper@gmail.com>
27188
27189 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27190 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27191
a1fb5e3e
UD
271922010-11-16 Ulrich Drepper <drepper@gmail.com>
27193
27194 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27195
3540d66b
AS
271962010-11-11 Andreas Schwab <schwab@redhat.com>
27197
27198 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27199 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27200 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27201 ($(objpfx)tst-fnmatch-mem): New rule.
27202 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27203 * posix/tst-fnmatch.c (main): Call mtrace.
27204
13b69574
L
272052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27206
27207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27208 Support Intel processor model 6 and model 0x2c.
27209
da93d214
LM
272102010-11-10 Luis Machado <luisgpm@br.ibm.com>
27211
27212 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27213 signed comparison.
27214
8ca52c6e
L
272152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27216
27217 [BZ #12205]
27218 * string/test-strncasecmp.c (check_result): New function.
27219 (do_one_test): Use it.
27220 (check1): New function.
27221 (test_main): Use it.
27222 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27223 Support strcasecmp and strncasecmp.
27224
69da074d
UD
272252010-11-08 Ulrich Drepper <drepper@gmail.com>
27226
27227 [BZ #12194]
27228 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27229 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27230
ff02d528
L
272312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27232
27233 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27234 IFUNC support.
27235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27236 memset-x86-64.
27237 * sysdeps/x86_64/multiarch/bzero.S: New file.
27238 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27239 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27240 * sysdeps/x86_64/multiarch/memset.S: New file.
27241 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27243 Set bit_Prefer_SSE_for_memop for Intel processors.
27244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27245 Define.
27246 (index_Prefer_SSE_for_memop): Define.
27247 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27248
344d0b54
LM
272492010-11-04 Luis Machado <luisgpm@br.ibm.com>
27250
27251 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27252 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27253
c0dde15b
UD
272542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27255
27256 [BZ #12191]
27257 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27258 (__x86_64_raw_data_cache_size_half): Likewise.
27259 (__x86_64_raw_shared_cache_size): Likewise.
27260 (__x86_64_raw_shared_cache_size_half): Likewise.
27261
27262 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27263 (__x86_64_raw_data_cache_size_half): Likewise.
27264 (__x86_64_raw_shared_cache_size): Likewise.
27265 (__x86_64_raw_shared_cache_size_half): Likewise.
27266 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27267 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27268 and __x86_64_raw_shared_cache_size_half. Round
27269 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27270 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27271 to multiple of 256 bytes.
27272
0e516e0e
MS
272732010-11-03 Ulrich Drepper <drepper@gmail.com>
27274
27275 [BZ #12167]
27276 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27277 of inacessible symlinks. Verify result of symlink before returning it.
27278 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27279 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27280
0e012e87
ER
272812010-10-28 Erich Ritz <erichritz@gmail.com>
27282
27283 * math/math.h (isinf): Fix typo in comment.
27284
de0ff7bc
UD
272852010-11-01 Ulrich Drepper <drepper@gmail.com>
27286
27287 * po/da.po: Update from translation team.
27288
fa41c84d
UD
272892010-10-26 Ulrich Drepper <drepper@gmail.com>
27290
27291 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27292 is added to the list.
27293
f0967738
AK
272942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27295 Ulrich Drepper <drepper@gmail.com>
27296
27297 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27298 the global list here. Move code to...
27299 (_dl_add_to_namespace_list): ...here. New function.
27300 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27301 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27302 * elf/dl-load.c (lose): Don't remove the element from the list.
27303 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27304 (_dl_map_object): Likewise.
27305
273062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27307
27308 [BZ #12159]
27309 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27310 into all bytes of SSE register.
27311 Patch by Richard Li <richardpku@gmail.com>.
27312
f0967738 273132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27314
27315 [BZ #12140]
27316 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27317 perturbing.
27318
d0b9e94f
MB
273192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27320
27321 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27322 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27323 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27324 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27326 submachine.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27328
8e9f92e9
AS
273292010-10-22 Andreas Schwab <schwab@redhat.com>
27330
27331 * include/dlfcn.h (__RTLD_SECURE): Define.
27332 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27333 mode & __RTLD_SECURE instead.
27334 (open_path): Rename preloaded parameter to secure.
27335 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27336 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27337 * elf/dl-deps.c (openaux): Likewise.
27338 * elf/rtld.c (struct map_args): Remove is_preloaded.
27339 (map_doit): Don't use it.
27340 (dl_main): Likewise.
27341 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27342 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27343
bc96fbda
AS
273442010-09-09 Andreas Schwab <schwab@redhat.com>
27345
27346 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27347 (sysd-rules-targets): Remove duplicates.
27348 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27349 rtld-%.$o dependency.
27350
22cd1c9b
AS
273512010-10-18 Andreas Schwab <schwab@redhat.com>
27352
27353 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27354 _dl_map_object do it.
27355
18edac48
UD
273562010-10-19 Ulrich Drepper <drepper@gmail.com>
27357
27358 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27359 fast fma builtins, define the macros in the C99 standard.
27360 (FP_FAST_FMAF): Likewise.
27361 (FP_FAST_FMAL): Likewise.
27362 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27363
27364 * bits/mathdef.h: Update copyright year.
27365 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27366
d2050124
MM
273672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27368
27369 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27370 builtins, define the macros in the C99 standard.
27371 (FP_FAST_FMAF): Likewise.
27372 (FP_FAST_FMAL): Likewise.
27373 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27374 multiply/add.
27375 (FP_FAST_FMAF): Likewise.
27376
475facd1
JJ
273772010-10-15 Jakub Jelinek <jakub@redhat.com>
27378
27379 [BZ #3268]
27380 * math/libm-test.inc (fma_test): Some new testcases.
27381 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27382 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27383 y and infinite z. Do multiplication by C already in long double.
27384 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27386 y and infinite z. Do bitwise or of inexact bit into u.d.
27387 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27388 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27389 * sysdeps/i386/fpu/s_fma.S: Removed.
27390 * sysdeps/i386/fpu/s_fmal.S: Removed.
27391
7c08a05c
JJ
273922010-10-16 Jakub Jelinek <jakub@redhat.com>
27393
27394 [BZ #3268]
27395 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27397 computation is not scheduled after fetestexcept. Fix value
27398 of minimum denormal long double.
27399
f3f7372d
JJ
274002010-10-14 Jakub Jelinek <jakub@redhat.com>
27401
27402 [BZ #3268]
27403 * math/libm-test.inc (fma_test): Add some more tests.
27404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27405 correctly.
27406
14d43591
AS
274072010-10-15 Andreas Schwab <schwab@redhat.com>
27408
27409 * scripts/data/localplt-s390-linux-gnu.data: New file.
27410 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27411
5e908464
JJ
274122010-10-13 Jakub Jelinek <jakub@redhat.com>
27413
27414 [BZ #3268]
27415 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27416 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27417 instead of dbl-64.
27418 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27419 inlines.
27420 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27422 if one of x and y is very large and the other is subnormal.
27423 * sysdeps/s390/fpu/s_fmaf.c: New file.
27424 * sysdeps/s390/fpu/s_fma.c: New file.
27425 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27426 * sysdeps/powerpc/fpu/s_fma.S: New file.
27427 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27428 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27429 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27430
274312010-10-12 Jakub Jelinek <jakub@redhat.com>
27432
27433 [BZ #3268]
27434 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27435 fma tests.
27436 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27437 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27438 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27439 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27440 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27441 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27442 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27443
b833d51f
UD
274442010-10-12 Ulrich Drepper <drepper@redhat.com>
27445
27446 [BZ #12078]
27447 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27448 * posix/bug-regex31.input: Add test case.
27449
1751705d
UD
274502010-10-11 Ulrich Drepper <drepper@gmail.com>
27451
e9b9cbf5
UD
27452 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27453 * posix/bug-regex31.input: New file.
27454
27455 [BZ #12078]
27456 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27457 (parse_sub_exp): Fix last change, use postorder.
27458
ef06edbe
UD
27459 * posix/bug-regex31.c: New file.
27460 * posix/Makefile: Add rules to build and run bug-regex31.
27461
a129c80d
UD
27462 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27463
27464 [BZ #12078]
27465 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27466
b76b818e
UD
27467 [BZ #12108]
27468 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27469 to have entries in sys_siglist.
27470
1751705d
UD
27471 [BZ #12093]
27472 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27473 be NULL.
27474
9ff8d36f
JJ
274752010-10-07 Jakub Jelinek <jakub@redhat.com>
27476
27477 [BZ #3268]
27478 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27479 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27480 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27481 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27482 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27483 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27484 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27485 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27486 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27487 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27488 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27489 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27490 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27491 * math/ftestexcept.c (fetestexcept): Likewise.
27492 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27493 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27494 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27495 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27496 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27497 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27498 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27499
af325969
UD
275002010-10-11 Ulrich Drepper <drepper@gmail.com>
27501
c579b202 27502 [BZ #12107]
af325969
UD
27503 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27504 newline.
27505
67a67b95
UD
275062010-10-06 Ulrich Drepper <drepper@gmail.com>
27507
27508 * string/bug-strstr1.c: New file.
27509 * string/Makefile: Add rules to build and run bug-strstr1.
27510
5fb308bc
EB
275112010-10-05 Eric Blake <eblake@redhat.com>
27512
27513 [BZ #12092]
27514 * string/str-two-way.h (two_way_long_needle): Always clear memory
27515 when skipping input due to the shift table.
27516
45db99c7
UD
275172010-10-03 Ulrich Drepper <drepper@gmail.com>
27518
3b111893
UD
27519 [BZ #12005]
27520 * malloc/mcheck.c: Handle large requests.
27521
45db99c7
UD
27522 [BZ #12077]
27523 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27524 for strncmp and strncasecmp.
27525 * string/stratcliff.c: Add tests for strcmp and strncmp.
27526 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27527
cf7a1eb8
NI
275282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27529
27530 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27531 __set_fpscr.
27532
6484ba5e
AJ
275332010-09-30 Andreas Jaeger <aj@suse.de>
27534
27535 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27536 (CGROUP_SUPER_MAGIC): Define.
27537 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27538 Handle btrfs and cgroup file systems.
27539 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27540 Likewise.
27541
91c42559
LM
275422010-09-27 Luis Machado <luisgpm@br.ibm.com>
27543
27544 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27545 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27546
87a97932
AK
275472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27548
27549 [BZ #12067]
27550 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27551 trying to locate the ELF header.
27552
c21cc9bc
AS
275532010-09-27 Andreas Schwab <schwab@redhat.com>
27554
27555 [BZ #11611]
27556 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27557 Mask out sign-bit copies when constructing f_fsid.
27558
315970f6
PB
275592010-09-24 Petr Baudis <pasky@suse.cz>
27560
27561 * debug/stack_chk_fail_local.c: Add missing licence exception.
27562 * debug/warning-nop.c: Likewise.
27563
1ac7a2c7
JM
275642010-09-15 Joseph Myers <joseph@codesourcery.com>
27565
27566 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27567 implementing getdents64 using getdents syscall, set d_type if
27568 __ASSUME_GETDENTS32_D_TYPE.
27569
56801c50
AS
275702010-09-16 Andreas Schwab <schwab@redhat.com>
27571
27572 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27573 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27574
dda51327
UD
275752010-09-21 Ulrich Drepper <drepper@redhat.com>
27576
27577 [BZ #12037]
27578 * posix/unistd.h: Undo change of feature selection for ftruncate from
27579 2010-01-11.
27580
8ffcee4a
UD
275812010-09-20 Ulrich Drepper <drepper@redhat.com>
27582
a545ecd9 27583 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27584 detection.
27585
e24f0a8b
AS
275862010-09-20 Andreas Schwab <schwab@redhat.com>
27587
27588 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27589 fanotify_mark.
27590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27591
7291c56f
AS
275922010-09-14 Andreas Schwab <schwab@redhat.com>
27593
27594 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27595 variables after CHECK_SP call.
27596 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27597
bc5fb037
AS
275982010-09-13 Andreas Schwab <schwab@redhat.com>
27599 Ulrich Drepper <drepper@redhat.com>
27600
27601 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27602 re-relocationg ld.so.
27603 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27604 _dl_init_paths call.
27605 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27606 here anymore.
27607
e66e7419
UD
276082010-09-14 Ulrich Drepper <drepper@redhat.com>
27609
27610 * resolv/res_init.c (__res_vinit): Count the default server we added.
27611
c044aa75
CLT
276122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27613 Ulrich Drepper <drepper@redhat.com>
27614
27615 [BZ #11968]
27616 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27617 (____longjmp_chk): Use %ebx for saving value across system call.
27618 Add unwind info.
27619
32cf4069
AS
276202010-09-06 Andreas Schwab <schwab@redhat.com>
27621
27622 * manual/Makefile: Don't mix pattern rules with normal rules.
27623
817328ee
AS
276242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27625
27626 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27627 operation.
27628 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27629 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27630 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27631 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27632 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27633 Likewise.
27634
29fddf61
UD
276352010-09-04 Ulrich Drepper <drepper@redhat.com>
27636
27637 [BZ #11979]
27638 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27639 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27640
0959ffc9
UD
276412010-09-02 Ulrich Drepper <drepper@redhat.com>
27642
27643 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27644 * sysdeps/x86_64/addmul_1.S: Likewise.
27645 * sysdeps/x86_64/lshift.S: Likewise.
27646 * sysdeps/x86_64/mul_1.S: Likewise.
27647 * sysdeps/x86_64/rshift.S: Likewise.
27648 * sysdeps/x86_64/sub_n.S: Likewise.
27649 * sysdeps/x86_64/submul_1.S: Likewise.
27650
ece29840
ST
276512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27652
0959ffc9
UD
27653 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27654 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27655 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27656 * bits/sched.h [__need_schedparam]
ece29840 27657 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27658 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27659 (__defined_schedparam): Define to 1.
ece29840
ST
27660 (__sched_param): New structure, identical to sched_param.
27661 (__need_schedparam): Undefine.
27662
e53a31fe
MF
276632010-08-31 Mike Frysinger <vapier@gentoo.org>
27664
fdc0c10d
MF
27665 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27666 (epoll_create1): Declare.
27667
e53a31fe
MF
27668 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27669
a726d796
AS
276702010-08-31 Andreas Schwab <schwab@redhat.com>
27671
27672 [BZ #7066]
27673 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27674 shifting retval into place.
27675
2f3e3dc7
UD
276762010-09-01 Ulrich Drepper <drepper@redhat.com>
27677
f2933da9
UD
27678 * nis/rpcsvc/nis.h: Update copyright notice.
27679 * nis/rpcsvc/nis.x: Likewise.
27680 * nis/rpcsvc/nis_callback.h: Likewise.
27681 * nis/rpcsvc/nis_callback.x: Likewise.
27682 * nis/rpcsvc/nis_object.x: Likewise.
27683 * nis/rpcsvc/nis_tags.h: Likewise.
27684 * nis/rpcsvc/yp.h: Likewise.
27685 * nis/rpcsvc/yp.x: Likewise.
27686 * nis/rpcsvc/ypupd.h: Likewise.
27687 * nis/yp_xdr.c: Likewise.
27688 * nis/ypupdate_xdr.c: Likewise.
27689
2f3e3dc7
UD
27690 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27691 mainly the body of pmap_getport. Add parameters to specify timeouts.
27692 (pmap_getport): Use __libc_rpc_getport.
27693 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27694 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27695 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27696
f3dcc2f9
AS
276972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27698
27699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27700 fanotify_mark.
27701
6d34eb5b
RM
277022010-08-27 Roland McGrath <roland@redhat.com>
27703
27704 * sysdeps/i386/i686/multiarch/Makefile
27705 (CFLAGS-varshift.c): New variable.
27706
9ea3de11
UD
277072010-08-27 Ulrich Drepper <drepper@redhat.com>
27708
c96d23fc
UD
27709 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27710 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27711
9ea3de11
UD
27712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27713
27714 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27715
623aac7f
L
277162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27717
27718 * sysdeps/x86_64/strlen.S: Unroll the loop.
27719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27720 strlen-sse2 strlen-sse2-bsf.
27721 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27722 __strlen_no_bsf if bit_Slow_BSF is set.
27723 (__strlen_sse42): Removed.
27724 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27725 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27726
8b2b7715
RM
277272010-08-25 Roland McGrath <roland@redhat.com>
27728
27729 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27730 * sysdeps/x86_64/multiarch/varshift.c: New file.
27731 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27732 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27733 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27734 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27735
e73015f2
L
277362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27739 strlen-sse2 strlen-sse2-bsf.
27740 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27741 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27742 (__strlen_sse2): Removed.
27743 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27744 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27745 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27746 bit_Slow_BSF for Atom.
27747 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27748 (index_Slow_BSF): Define.
27749 (HAS_SLOW_BSF): Define.
27750
df24a73e
UD
277512010-08-25 Ulrich Drepper <drepper@redhat.com>
27752
27753 [BZ #10851]
27754 * resolv/res_init.c (__res_vinit): When no server address at all
27755 is given default to loopback.
27756
f2ac4868
RM
277572010-08-24 Roland McGrath <roland@redhat.com>
27758
09055553
RM
27759 * configure.in: Remove config-name.h generation.
27760 * configure: Regenerated.
27761 * config-name.in: File removed.
27762 * scripts/config-uname.sh: New file.
27763 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27764 ($(objdir)config-name.h): New target.
27765
f2ac4868
RM
27766 * sunrpc/rpc_parse.h: Avoid nested comment.
27767
73f27d5e
RH
277682010-08-24 Richard Henderson <rth@redhat.com>
27769 Ulrich Drepper <drepper@redhat.com>
27770 H.J. Lu <hongjiu.lu@intel.com>
27771
27772 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27774 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27775 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27776 _mm_alignr_epi8 with _mm_loadu_si128.
27777 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27778 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27779 (__m128i_shift_right): Removed.
27780 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27781 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27782 * sysdeps/x86_64/multiarch/varshift.h: New file.
27783 * sysdeps/x86_64/multiarch/varshift.S: New file.
27784
84b9230c
MF
277852010-08-21 Mike Frysinger <vapier@gentoo.org>
27786
27787 * configure.in: Move assembler checks to before sysdep dir checking.
27788
9bbd0ddc
PB
277892010-08-20 Petr Baudis <pasky@suse.cz>
27790
27791 * LICENSES: Sync the sunrpc license.
27792
9da4bb31
UD
277932010-08-19 Ulrich Drepper <drepper@redhat.com>
27794
a7ab6ec8
UD
27795 * sunrpc/auth_des.c: Update copyright notice once again.
27796 * sunrpc/auth_none.c: Likewise.
27797 * sunrpc/auth_unix.c: Likewise.
27798 * sunrpc/authdes_prot.c: Likewise.
27799 * sunrpc/authuxprot.c: Likewise.
27800 * sunrpc/bindrsvprt.c: Likewise.
27801 * sunrpc/clnt_gen.c: Likewise.
27802 * sunrpc/clnt_perr.c: Likewise.
27803 * sunrpc/clnt_raw.c: Likewise.
27804 * sunrpc/clnt_simp.c: Likewise.
27805 * sunrpc/clnt_tcp.c: Likewise.
27806 * sunrpc/clnt_udp.c: Likewise.
27807 * sunrpc/clnt_unix.c: Likewise.
27808 * sunrpc/des_crypt.c: Likewise.
27809 * sunrpc/des_soft.c: Likewise.
27810 * sunrpc/get_myaddr.c: Likewise.
27811 * sunrpc/getrpcport.c: Likewise.
27812 * sunrpc/key_call.c: Likewise.
27813 * sunrpc/key_prot.c: Likewise.
27814 * sunrpc/openchild.c: Likewise.
27815 * sunrpc/pm_getmaps.c: Likewise.
27816 * sunrpc/pm_getport.c: Likewise.
27817 * sunrpc/pmap_clnt.c: Likewise.
27818 * sunrpc/pmap_prot.c: Likewise.
27819 * sunrpc/pmap_prot2.c: Likewise.
27820 * sunrpc/pmap_rmt.c: Likewise.
27821 * sunrpc/rpc/auth.h: Likewise.
27822 * sunrpc/rpc/auth_unix.h: Likewise.
27823 * sunrpc/rpc/clnt.h: Likewise.
27824 * sunrpc/rpc/des_crypt.h: Likewise.
27825 * sunrpc/rpc/key_prot.h: Likewise.
27826 * sunrpc/rpc/netdb.h: Likewise.
27827 * sunrpc/rpc/pmap_clnt.h: Likewise.
27828 * sunrpc/rpc/pmap_prot.h: Likewise.
27829 * sunrpc/rpc/pmap_rmt.h: Likewise.
27830 * sunrpc/rpc/rpc.h: Likewise.
27831 * sunrpc/rpc/rpc_des.h: Likewise.
27832 * sunrpc/rpc/rpc_msg.h: Likewise.
27833 * sunrpc/rpc/svc.h: Likewise.
27834 * sunrpc/rpc/svc_auth.h: Likewise.
27835 * sunrpc/rpc/types.h: Likewise.
27836 * sunrpc/rpc/xdr.h: Likewise.
27837 * sunrpc/rpc_clntout.c: Likewise.
27838 * sunrpc/rpc_cmsg.c: Likewise.
27839 * sunrpc/rpc_common.c: Likewise.
27840 * sunrpc/rpc_cout.c: Likewise.
27841 * sunrpc/rpc_dtable.c: Likewise.
27842 * sunrpc/rpc_hout.c: Likewise.
27843 * sunrpc/rpc_main.c: Likewise.
27844 * sunrpc/rpc_parse.c: Likewise.
27845 * sunrpc/rpc_parse.h: Likewise.
27846 * sunrpc/rpc_prot.c: Likewise.
27847 * sunrpc/rpc_sample.c: Likewise.
27848 * sunrpc/rpc_scan.c: Likewise.
27849 * sunrpc/rpc_scan.h: Likewise.
27850 * sunrpc/rpc_svcout.c: Likewise.
27851 * sunrpc/rpc_tblout.c: Likewise.
27852 * sunrpc/rpc_util.c: Likewise.
27853 * sunrpc/rpc_util.h: Likewise.
27854 * sunrpc/rpcinfo.c: Likewise.
27855 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27856 * sunrpc/rpcsvc/key_prot.x: Likewise.
27857 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27858 * sunrpc/rpcsvc/mount.x: Likewise.
27859 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27860 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27861 * sunrpc/rpcsvc/rex.x: Likewise.
27862 * sunrpc/rpcsvc/rstat.x: Likewise.
27863 * sunrpc/rpcsvc/rusers.x: Likewise.
27864 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27865 * sunrpc/rpcsvc/spray.x: Likewise.
27866 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27867 * sunrpc/rtime.c: Likewise.
27868 * sunrpc/svc.c: Likewise.
27869 * sunrpc/svc_auth.c: Likewise.
27870 * sunrpc/svc_authux.c: Likewise.
27871 * sunrpc/svc_raw.c: Likewise.
27872 * sunrpc/svc_run.c: Likewise.
27873 * sunrpc/svc_simple.c: Likewise.
27874 * sunrpc/svc_tcp.c: Likewise.
27875 * sunrpc/svc_udp.c: Likewise.
27876 * sunrpc/svc_unix.c: Likewise.
27877 * sunrpc/svcauth_des.c: Likewise.
27878 * sunrpc/xcrypt.c: Likewise.
27879 * sunrpc/xdr.c: Likewise.
27880 * sunrpc/xdr_array.c: Likewise.
27881 * sunrpc/xdr_float.c: Likewise.
27882 * sunrpc/xdr_mem.c: Likewise.
27883 * sunrpc/xdr_rec.c: Likewise.
27884 * sunrpc/xdr_ref.c: Likewise.
27885 * sunrpc/xdr_sizeof.c: Likewise.
27886 * sunrpc/xdr_stdio.c: Likewise.
27887
9da4bb31
UD
27888 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27889 handling.
27890
bdaa77bc
AS
278912010-08-19 Andreas Schwab <schwab@redhat.com>
27892
27893 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27894
fe2f79db
LM
278952010-08-19 Luis Machado <luisgpm@br.ibm.com>
27896
27897 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27898 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27899 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27900 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27901 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27902 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27903 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27904 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27905 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27906 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27907 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27908 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27909 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27910 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27911
b9b42ee0
AB
279122010-07-26 Anton Blanchard <anton@samba.org>
27913
27914 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27915 * malloc/arena.c (heap_trim): Likewise.
27916
1c06ba31
UD
279172010-08-16 Ulrich Drepper <drepper@redhat.com>
27918
27919 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27920 here. Not...
27921 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27922 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27923
f8392f40
L
279242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27925
27926 * sysdeps/i386/elf/Makefile: New file.
27927
3162f12e
AS
279282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27929
27930 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27931 from fanotify_init.
27932 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27933 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27934
28c90b2c
UD
279352010-08-15 Ulrich Drepper <drepper@redhat.com>
27936
27937 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27938 of strncasecmp_l.
1feccb6c 27939 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27940
ca6bb004
UD
279412010-08-14 Ulrich Drepper <drepper@redhat.com>
27942
e9f82e0d
UD
27943 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27944 strncase_l-nonascii.
27945 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27946 Add strncase_l-ssse3.
27947 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27948 * sysdeps/x86_64/strcmp.S: Likewise.
27949 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27950 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27951 * sysdeps/x86_64/strncase.S: New file.
27952 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27953 * sysdeps/x86_64/strncase_l.S: New file.
27954 * string/Makefile (strop-tests): Add strncasecmp.
27955 * string/test-strncasecmp.c: New file.
27956
27957 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27958 warning.
27959
ca6bb004
UD
27960 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27961 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27962
052fa7b3
AS
279632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27964
27965 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27966
962dba78
UD
279672010-08-12 Ulrich Drepper <drepper@redhat.com>
27968
27969 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27970 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27971 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27972
bebff237
AM
279732010-05-01 Alan Modra <amodra@gmail.com>
27974
27975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27976 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27977 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27978 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27979 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27980 tidying. Don't tail-call __sigjmp_save for static lib.
27981 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27982 save location.
27983 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27984 (CALL_MCOUNT): Add eh info, and nop after bl.
27985 (TAIL_CALL_SYSCALL_ERROR): New macro.
27986 (PSEUDO_RET): Use it.
27987 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27988 Correct save location of integer regs and cr.
27989 (_dl_profile_resolve): Correct cr save location. Delete nops
27990 after bl when SHARED. Reduce cfi size a little by better
27991 placement of cfi directives.
27992 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27993 make a stack frame. Instead use parm save area as a temp.
27994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27995 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27997 Don't make a stack frame for parent, use parm save area.
27998 Increase child stack frame to 112 bytes. Don't save unused reg,
27999 and adjust reg usage. Set up cfi on error recovery and
28000 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28002 (__makecontext): Add dummy nop after jump to exit.
28003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28004 Use correct parm save area and cr save, reduce stack frame.
28005 Correct cfi for possible PSEUDO_RET frame setup.
28006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28007 Branch to local label emitted by PSEUDO_RET rather than
28008 __syscall_error.
28009
02637374
AS
280102010-08-12 Andreas Schwab <schwab@redhat.com>
28011
28012 [BZ #11904]
28013 * locale/programs/locale.c (print_assignment): New function.
28014 (show_locale_vars): Use it.
28015
c3e2f19b
UD
280162010-08-11 Ulrich Drepper <drepper@redhat.com>
28017
3cdaa6ad
UD
28018 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28019 field.
28020 (struct statfs64): Likewise.
28021 (_STATFS_F_FLAGS): Define.
28022 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28023 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28024 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28025 (ST_VALID): Define locally.
28026 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28027 __statvfs_getflags, use the provided value.
28028 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28029 __ASSUME_STATFS_F_FLAGS.
28030
754f7da3
UD
28031 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28032
10b3bedc
UD
28033 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28034 Add sys/fanotify.h.
28035 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28036 fanotify_mask for GLIBC_2.13.
28037 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28038 fanotify_init and fanotify_mark.
28039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28040 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28041
c08fb0d7
UD
28042 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28043 Add prlimit.
28044 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28045 prlimit64 for GLIBC_2.13.
28046 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28047 prlimit64.
28048 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28049 syscall.
28050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28051 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28052 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28053 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28055 add prlimit alias.
28056 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28057
15bac72b
UD
28058 [BZ #11903]
28059 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28060 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28061
c3e2f19b
UD
28062 * nss/Makefile: Add rules to build and run tst-nss-test1.
28063 * shlib-versions: Add entry for libnss_test1.
28064 * nss/nss_test1.c: New file.
28065 * nss/tst-nss-test1.c: New file.
28066
28067 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28068 (__nss_configure_lookup): Set appropriate entry in
28069 __nss_configure_lookup to true.
28070 * nss/nsswitch.h: Define enum with indeces of databases in
28071 databases and __nss_database_custom arrays. Declare
28072 __nss_database_custom.
28073 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28074 to avoid using nscd when custom rules are installed.
28075 * nss/getXXbyYY_r.c: Likewise.
28076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28077
28078 * nss/nss_files/files-parse.c: Whitespace fixes.
28079
f15ce4d8
UD
280802010-08-09 Ulrich Drepper <drepper@redhat.com>
28081
28082 [BZ #11883]
28083 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28084 * posix/fnmatch_loop.c: Likewise.
28085
d22e4cc9
AK
280862010-07-17 Andi Kleen <ak@linux.intel.com>
28087
28088 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28089 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28090 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28091 * Versions.def [GLIBC_2.13]: Add.
28092
805bc17d
UD
280932010-08-06 Ulrich Drepper <drepper@redhat.com>
28094
28095 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28096 Also fail if tpwd after pwuid call is NULL.
28097
5a42321d
ST
280982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28099
28100 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28101 when converting to ms.
28102
fd3ebeda
ST
281032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28104
28105 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28106 EOPNOTSUPP errors with ENOTTY.
28107 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28108 EOPNOTSUPP errors with ENOTTY.
28109
73507d3a
UD
281102010-07-31 Ulrich Drepper <drepper@redhat.com>
28111
28112 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28113 Add strcasecmp_l-ssse3.
28114 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28115 strcasecmp.
28116 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28117 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28118 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28119
fe36dd02
UD
281202010-07-30 Ulrich Drepper <drepper@redhat.com>
28121
66f6765a
UD
28122 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28123
42e08a54
UD
28124 * string/Makefile (strop-tests): Add strcasecmp.
28125 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28126 strcasecmp_l-nonascii.
28127 (gen-as-const-headers): Add locale-defines.sym.
28128 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28129 * sysdeps/x86_64/strcasecmp.S: New file.
28130 * sysdeps/x86_64/strcasecmp_l.S: New file.
28131 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28132 * sysdeps/x86_64/locale-defines.sym: New file.
28133 * string/test-strcasecmp.c: New file.
28134
fe36dd02
UD
28135 * string/test-strcasestr.c: Test both ends of the range of characters.
28136 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28137
48cbc0d6
RM
281382010-07-29 Roland McGrath <roland@redhat.com>
28139
76e6d6bc 28140 [BZ #11856]
48cbc0d6
RM
28141 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28142
880113d9
UD
281432010-07-27 Ulrich Drepper <drepper@redhat.com>
28144
28145 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28146 for ld.so.
28147
deb9cabb
AS
281482010-07-27 Andreas Schwab <schwab@redhat.com>
28149
28150 * manual/memory.texi (Malloc Tunable Parameters): Document
28151 M_PERTURB.
28152
1c7570ff
RM
281532010-07-26 Roland McGrath <roland@redhat.com>
28154
28155 [BZ #11840]
28156 * configure.in (-fgnu89-inline check): Set and substitute
28157 gnu89_inline, not libc_cv_gnu89_inline.
28158 * configure: Regenerated.
28159 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28160
24fb0f88
UD
281612010-07-26 Ulrich Drepper <drepper@redhat.com>
28162
28163 * string/test-strnlen.c: New file.
28164 * string/Makefile (strop-tests): Add strnlen.
28165 * string/tester.c (test_strnlen): Add a few more test cases.
28166 * string/tst-strlen.c: Better error reporting.
28167
28168 * sysdeps/x86_64/strnlen.S: New file.
28169
8e96b93a
UD
281702010-07-24 Ulrich Drepper <drepper@redhat.com>
28171
28172 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28173 lower-latency instructions.
28174
dbc676d4
UD
281752010-07-23 Ulrich Drepper <drepper@redhat.com>
28176
28177 * string/test-strcasestr.c: New file.
28178 * string/test-strstr.c: New file.
28179 * string/Makefile (strop-tests): Add strstr and strcasestr.
28180 * string/str-two-way.h: Don't undefine MAX.
28181 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28182
f6a31e0e
AS
281832010-07-21 Andreas Schwab <schwab@redhat.com>
28184
28185 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28186 strcasestr-nonascii.
28187 (CFLAGS-strcasestr-nonascii.c): Define.
28188 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28189 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28190 Remove unused attribute.
28191
5dbc3b6c
RM
281922010-07-20 Roland McGrath <roland@redhat.com>
28193
28194 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28195 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28196 ld.so.cache was broken. With it, there is no way to disable dsocaps
28197 like LD_HWCAP_MASK can disable hwcaps.
28198
23d101d8
EPM
281992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28200
28201 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28202
cc9f2e47
UD
282032010-07-16 Ulrich Drepper <drepper@redhat.com>
28204
28205 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28206 call in strcasestr.
28207 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28208 __strcasestr_sse42_nonascii.
28209 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28210 strcasestr-nonascii.c.
28211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28212
77c1b069
LM
282132010-06-15 Luis Machado <luisgpm@br.ibm.com>
28214
28215 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28216 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28217 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28218 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28219
440566c3
UD
282202010-07-09 Ulrich Drepper <drepper@redhat.com>
28221
28222 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28223 fcntl.
28224
5be9d05d
AS
282252010-07-06 Andreas Schwab <schwab@redhat.com>
28226
c30b7ee2 28227 [BZ #11577]
5be9d05d
AS
28228 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28229 dl_signal_cerror.
28230
8a492a67
UD
282312010-07-06 Ulrich Drepper <drepper@redhat.com>
28232
28233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28234 _PC_PIPE_BUF using F_GETPIPE_SZ.
28235
713df3d5
RM
282362010-07-05 Roland McGrath <roland@redhat.com>
28237
28238 * manual/arith.texi (Rounding Functions): Fix rint description
28239 implicit in round description.
28240
702e8f14
UD
282412010-07-02 Ulrich Drepper <drepper@redhat.com>
28242
28243 * elf/Makefile: Fix linking for a few tests to make recent linker
28244 happy.
28245
52ed8be9
AS
282462010-06-30 Andreas Schwab <schwab@redhat.com>
28247
28248 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28249 $(common-objpfx)libc_nonshared.a.
28250
f47c9a11
LM
282512010-06-21 Luis Machado <luisgpm@br.ibm.com>
28252
28253 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28254 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28255 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28256 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28257 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28258 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28259 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28260 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28275 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28276 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28277 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28278 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28279 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28280 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28281 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28282 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28283 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28284 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28285 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28286 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28301
6fb8cbcb
L
283022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28303
28304 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28305 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28306 * string/memmove.c (memmove): Renamed to ...
28307 (MEMMOVE): ...this. Default to memmove.
28308 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28309 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28310 (END_CHK): Define.
28311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28312 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28313 mempcpy-ssse3-back memmove-ssse3-back.
28314 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28315 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28316 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28317 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28318 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28319 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28320 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28321 * sysdeps/x86_64/multiarch/memmove.c: New file.
28322 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28323 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28324 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28325 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28326 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28328 Define.
28329 (index_Fast_Copy_Backward): Define.
28330 (HAS_ARCH_FEATURE): Define.
28331 (HAS_FAST_REP_STRING): Define.
28332 (HAS_FAST_COPY_BACKWARD): Define.
28333
4e733bac 283342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28335
28336 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28337 Restore proper fallback handling.
28338
63c4ed22
UD
283392010-06-19 Ulrich Drepper <drepper@redhat.com>
28340
ac2b484c
UD
28341 [BZ #11701]
28342 * posix/group_member.c (__group_member): Correct checking loop.
28343
63c4ed22
UD
28344 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28345 OOM in getpwuid_r correctly. Return error number when the caller
28346 should return, otherwise -1.
28347 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28348 call returning > 0 value.
28349 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28350
765ade4b
AS
283512010-06-07 Andreas Schwab <schwab@redhat.com>
28352
28353 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28354 libc_nonshared.a from targets in modules-names.
28355
80da2e09
KS
283562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28357
28358 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28359 requires it.
28360
158db122
LM
283612010-06-10 Luis Machado <luisgpm@br.ibm.com>
28362
28363 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28364 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28367
caa78cf8
AS
283682010-06-02 Andreas Schwab <schwab@redhat.com>
28369
28370 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28371
b2ef2c01
UD
283722010-06-14 Ulrich Drepper <drepper@redhat.com>
28373
28374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28375 and F_GETPIPE_SZ.
28376 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28377 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28380 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28381 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28382
fbd643b6
RM
283832010-06-14 Roland McGrath <roland@redhat.com>
28384
28385 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28386
f32f2869
JJ
283872010-06-07 Jakub Jelinek <jakub@redhat.com>
28388
28389 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28390 __REDIRECT followed by __THROW.
28391 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28392 * posix/getopt.h (getopt): Likewise.
28393
2a50c078
EPM
283942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28395
28396 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28397 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28398 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28399 in AT_FLAGS.
28400 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28401 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28402
eb5ad2eb
LM
284032010-05-28 Luis Machado <luisgpm@br.ibm.com>
28404
28405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28406
3c88fe1e
L
284072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28408
28409 [BZ #11640]
28410 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28411 Properly check family and model.
28412
d2f73151
TY
284132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28414
28415 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28416
ebd2e13d
LM
284172010-05-24 Luis Machado <luisgpm@br.ibm.com>
28418
28419 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28420
b32b8b45
UD
284212010-05-21 Ulrich Drepper <drepper@redhat.com>
28422
28423 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28424 symbol reference.
28425
9acbe24d
AS
284262010-05-19 Andreas Schwab <schwab@redhat.com>
28427
28428 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28429 symbol reference.
28430
f0ccf6ea
AS
284312010-05-21 Andreas Schwab <schwab@redhat.com>
28432
3d04ff3a
AS
28433 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28434 and internal_recvmmsg.
28435 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28436 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28437 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28438 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28439
f0ccf6ea
AS
28440 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28441 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28442 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28443
5b08ac57
AS
284442010-05-20 Andreas Schwab <schwab@redhat.com>
28445
28446 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28447
4828935d
LM
284482010-05-17 Luis Machado <luisgpm@br.ibm.com>
28449
28450 POWER7 optimizations.
28451 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28452 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28453
373d545e
UD
284542010-05-19 Ulrich Drepper <drepper@redhat.com>
28455
28456 * version.h: Update for 2.13 development version.
28457
21a2b1ae
AS
284582010-05-12 Andrew Stubbs <ams@codesourcery.com>
28459
28460 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28461 exceptions. Return 0.
28462
3f7dcb2b
RM
284632010-05-07 Roland McGrath <roland@redhat.com>
28464
28465 * elf/ldconfig.c (main): Add a const.
28466
5f24d53a 284672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28468
a160f8d8
UD
28469 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28470 (args_options): Add no-idn option.
28471 (ahosts_keys_int): Add idn_flags to ai_flags.
28472 (parse_option): Handle 'i' option to clear idn_flags.
28473
5f24d53a
UD
28474 * malloc/malloc.c (_int_free): Possible race in the most recently
28475 added check. Only act on the data if no current modification
28476 happened.
265bb1ce
UD
28477
28478See ChangeLog.17 for earlier changes.