]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d8cd06db
JM
12013-05-08 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #2546]
4 [BZ #2560]
5 [BZ #5159]
6 [BZ #15426]
7 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8 input to result for tgamma overflow.
9 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10 (gamma_coeff): New variable.
11 (NCOEFF): New macro.
12 (gamma_positive): New function.
13 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14 underflow here. Use gamma_positive instead of exp (lgamma) for
15 other arguments.
16 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17 (gamma_coeff): New variable.
18 (NCOEFF): New macro.
19 (gammaf_positive): New function.
20 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21 underflow here. Use gamma_positive instead of exp (lgamma) for
22 other arguments.
23 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24 (gamma_coeff): New variable.
25 (NCOEFF): New macro.
26 (gammal_positive): New function.
27 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28 underflow here. Use gamma_positive instead of exp (lgamma) for
29 other arguments.
30 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31 (gamma_coeff): New variable.
32 (NCOEFF): New macro.
33 (gammal_positive): New function.
34 (__ieee754_gammal_r): Handle positive infinity, overflow and
35 underflow here. Handle NaN the same as positive infinity. Remove
36 check x < 0xffffffff for negative integers. Use gamma_positive
37 instead of exp (lgamma) for other arguments.
38 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
39 (gamma_coeff): New variable.
40 (NCOEFF): New macro.
41 (gammal_positive): New function.
42 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
45 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
48 * sysdeps/generic/math_private.h (__gamma_productf): New
49 prototype.
50 (__gamma_product): Likewise.
51 (__gamma_productl): Likewise.
52 * math/Makefile (libm-calls): Add gamma_product.
53 * math/libm-test.inc (tgamma_test): Add more tests.
54 * sysdeps/i386/fpu/libm-test-ulps: Update.
55 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56
bb7cf681
OB
572013-05-08 Ondřej Bílka <neleai@seznam.cz>
58
59 * benchtests/bench-skeleton.c (main): Preheat CPU.
60
ba853947
AJ
612013-05-07 Aurelien Jarno <aurelien@aurel32.net>
62
63 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64
8347c74c
RM
652013-05-07 Roland McGrath <roland@hack.frob.com>
66
67 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68 and _dl_skip_args_internal.
69
e8dd4791
CD
702013-05-07 Carlos O'Donell <carlos@redhat.com>
71
72 * manual/message.texi (Message Translation): Talk about users.
73 Message to key mapping impacts design.
74
c7405830
RM
752013-05-06 Roland McGrath <roland@hack.frob.com>
76
a9173057
RM
77 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
78
976e2f03
RM
79 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
80
9723ffc5
RM
81 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
82 * sysdeps/wordsize-64/glob64.c: ... here.
83
962e6658
RM
84 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
85 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
86 New macros.
87
ee586a6d
RM
88 * debug/getlogin_r_chk.c: Moved to ...
89 * login/getlogin_r_chk.c: ... here.
90 * debug/Makefile (routines): Move getlogin_r_chk to ...
91 * login/Makefile (routines): ... here.
92 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
93 * login/Versions (libc: GLIBC_2.4): ... here.
94
355f9165
RM
95 * io/poll.c (__poll): Renamed from poll.
96 Add libc_hidden_def.
97 (poll): Define as weak alias.
98
bd9ffde6
RM
99 * debug/ptsname_r_chk.c: Moved to ...
100 * login/ptsname_r_chk.c: ... here.
101 * debug/Makefile (routines): Move ptsname_r_chk to ...
102 * login/Makefile (routines): ... here.
103 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
104 * login/Versions (libc: GLIBC_2.4): ... here.
105
8fb16a04
RM
106 * posix/getlogin.c: Moved to ...
107 * login/getlogin.c: ... here.
108 * posix/getlogin_r.c: Moved to ...
109 * login/getlogin_r.c: ... here.
110 * posix/getlogin_r.c: Moved to ...
111 * login/getlogin_r.c: ... here.
112 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
113 * login/Makefile (routines): ... here.
114 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
115 * login/Versions (libc: GLIBC_2.0): ... here.
116
b99b892f
RM
117 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
118 (setrlimit): Define as weak alias.
119
c7405830
RM
120 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
121 Call __ names for open, ftruncate, and close.
122 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
123 (truncate): Define as weak alias.
124
5bf96de5
JM
1252013-05-06 Joseph Myers <joseph@codesourcery.com>
126
9ea3513c
JM
127 * math/gen-libm-test.pl (parse_args): Initialize x before each
128 test of frexp, modf and remquo.
129
5bf96de5
JM
130 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
131 test signgam value.
132
16e616a7
AZ
1332013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
134
135 [BZ #15418]
136 [BZ #15419]
137 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
138 internal tests.
139 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
140
d5e82754
RM
1412013-05-06 Roland McGrath <roland@hack.frob.com>
142
143 * elf/dl-writev.h: New file.
144 * elf/dl-misc.c: Include it.
145 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
146 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
147
a7548d41
JM
1482013-05-04 Joseph Myers <joseph@codesourcery.com>
149
b7dab1e4
JM
150 * math/libm-test.inc (noXFails): Remove variable.
151 (noXPasses): Likewise.
152 (BUILD_COMPLEX_INT): Remove macro.
153 (print_screen): Remove xfail argument.
154 (print_screen_max_error): Likewise.
155 (update_stats): Likewise.
156 (print_max_error): Likewise. Update calls to other affected
157 functions.
158 (print_complex_max_error): Likewise.
159 (test_single_exception): Update calls to print_screen.
160 (test_single_errno): Likewise.
161 (check_float_internal): Remove xfail argument. Update calls to
162 other affected functions.
163 (check_float): Likewise.
164 (check_complex): Likewise.
165 (check_int): Likewise.
166 (check_long): Likewise.
167 (check_bool): Likewise.
168 (check_longlong): Likewise.
169 (main): Don't print noXFails and noXPasses.
170 * math/gen-libm-test.pl (top level): Don't mention expected
171 failure handling in comment.
172 (new_test): Don't handle expected failures.
173 (parse_args): Don't mention expected failure handling in comment.
174 (generate_testfile): Don't handle expected failures.
175 (parse_ulps): Likewise.
176 (print_ulps_file): Likewise.
177 (get_failure): Remove function.
178 (output_test): Don't handle expected failures.
179 * make/README.libm-test: Don't mention expected failure handling.
180
a7548d41
JM
181 * math/libm-test.inc (plus_zero): Make const. Add initializer.
182 (minus_zero): Likewise.
183 (plus_infty): Likewise.
184 (minus_infty): Likewise.
185 (qnan_value): Likewise.
186 (max_value): Likewise.
187 (min_value): Likewise.
188 (min_subnorm_value): Likewise.
189 (initialize): Do not initialize those variables dynamically.
190
60bfd54c
RM
1912013-05-03 Roland McGrath <roland@hack.frob.com>
192
cc0e6ed8
RM
193 * io/open.c (__open_2): Moved to ...
194 * io/open_2.c: ... this new file.
195 * io/open64.c (__open64_2): Moved to ...
196 * io/open64_2.c: ... this new file.
197 * io/openat.c (__openat_2): Moved to ...
198 * io/openat_2.c: ... this new file.
199 * io/openat64.c (__openat64_2): Moved to ...
200 * io/openat64_2.c: ... this new file.
201 * io/Makefile (routines): Add them.
202 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
203 * sysdeps/unix/sysv/linux/open_2.c: File removed.
204 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
205 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
206 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
207 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
208 (__openat64): Add hidden_ver.
209 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
210 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
211
60bfd54c
RM
212 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
213 Separately conditionalize setting of GLRO(dl_sysinfo) so
214 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
215 as well, but the actual setting is only under [NEED_DL_SYSINFO].
216
83e7640f
AZ
2172013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
220 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
221 definition.
222 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
223 * sysdeps/unix/sysv/linux/powerpc/init-first.c
224 (_libc_vdso_platform_setup): Add __vdso_time initialization.
225 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
226 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
227
d5dc2af3
JM
2282013-05-03 Joseph Myers <joseph@codesourcery.com>
229
c31a5b1e
JM
230 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
231 test signgam value.
232
d5dc2af3
JM
233 * math/libm-test.inc (hypot_test): Do not use
234 IGNORE_ZERO_INF_SIGN.
235
164fd39d
AJ
2362013-05-03 Andreas Jaeger <aj@suse.de>
237
238 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
239 Linux 3.9.
240 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
241 (PF_MAX): Adjust for VSOCK change.
242
8237f48c
AZ
2432013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
244
245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
246
9df02941
CD
2472013-05-02 Carlos O'Donell <carlos@redhat.com>
248
249 [BZ #15264]
250 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
251 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
252 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
253
d422395e
DM
2542013-05-02 David S. Miller <davem@davemloft.net>
255
256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
257
a07c5731
OB
2582013-05-01 Ondřej Bílka <neleai@seznam.cz>
259
260 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
261
1324e37f
RM
2622013-05-01 Roland McGrath <roland@hack.frob.com>
263
264 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
265
0695940b
RS
2662013-05-01 Richard Smith <richard@metafoo.co.uk>
267
bb5f27ad 268 [BZ #14952]
0695940b
RS
269 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
270 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
271 Use __attribute__ ((__gnu_inline__)).
272 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
273 Don't use __attribute__ ((__gnu_inline__)).
274
10de07f5
JM
2752013-05-01 Joseph Myers <joseph@codesourcery.com>
276
277 [BZ #15423]
278 * math/s_catan.c (__catan): Handle small real or imaginary part of
279 input specially to avoid spurious underflow.
280 * math/s_catanf.c (__catanf): Likewise.
281 * math/s_catanh.c (__catanh): Likewise.
282 * math/s_catanhf.c (__catanhf): Likewise.
283 * math/s_catanhl.c (__catanhl): Likewise.
284 * math/s_catanl.c (__catanl): Likewise.
285 * math/libm-test.inc (catan_test): Add more tests.
286 (catanh_test): Likewise.
287 * sysdeps/i386/fpu/libm-test-ulps: Update.
288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
289
cb4d5414
AZ
2902013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
291
292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
293
caf84319
JM
2942013-04-30 Joseph Myers <joseph@codesourcery.com>
295
296 [BZ #15416]
297 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
298 accurately for denominator in atan2.
299 * math/s_catanf.c (__catanf): Likewise.
300 * math/s_catanh.c (__catanh): Likewise.
301 * math/s_catanhf.c (__catanhf): Likewise.
302 * math/s_catanhl.c (__catanhl): Likewise.
303 * math/s_catanl.c (__catanl): Likewise.
304 * math/libm-test.inc (catan_test): Add more tests.
305 (catanh_test): Likewise.
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308
d569c6ee
SP
3092013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
310
6dbe713d
SP
311 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
312
f0ee064b
SP
313 * benchtests/Makefile (bench): Remove slow benchmarks.
314 * benchtests/atan-inputs: Add slow benchmark inputs.
315 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
316 (BENCH_FUNC): Accept variant offset.
317 (VARIANT): Define.
318 * benchtests/bench-skeleton.c (main): Run benchmark for each
319 variant.
320 * benchtests/cos-inputs: Add slow benchmark inputs.
321 * benchtests/exp-inputs: Likewise.
322 * benchtests/pow-inputs: Likewise.
323 * benchtests/sin-inputs: Likewise.
324 * benchtests/slowatan-inputs: Remove.
325 * benchtests/slowatan.c: Remove.
326 * benchtests/slowcos-inputs: Remove.
327 * benchtests/slowcos.c: Remove.
328 * benchtests/slowexp-inputs: Remove.
329 * benchtests/slowexp.c: Remove.
330 * benchtests/slowpow-inputs: Remove.
331 * benchtests/slowpow.c: Remove.
332 * benchtests/slowsin-inputs: Remove.
333 * benchtests/slowsin.c: Remove.
334 * benchtests/slowtan-inputs: Remove.
335 * benchtests/slowtan.c: Remove.
336 * benchtests/tan-inputs: Add slow benchmark inputs.
337 * scripts/bench.pl: Parse comments and directives.
338
d569c6ee
SP
339 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
340 in CPPFLAGS.
341 ($(objpfx)bench-%.c): Remove *-ITER.
342 * benchtests/bench-modf.c: Remove definition of ITER.
343 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
344 (main): Loop for DURATION seconds instead of fixed number of
345 iterations.
346 * scripts/bench.pl: Don't expect iterations in parameters.
347
a6a242fe
RM
3482013-04-29 Roland McGrath <roland@hack.frob.com>
349
350 * io/fchdir.c (__fchdir): Renamed from fchdir.
351 (fchdir): Define as weak alias.
352
f2da7793
JM
3532013-04-29 Joseph Myers <joseph@codesourcery.com>
354
355 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
356 (ERRNO_EDOM): Likewise.
357 (ERRNO_ERANGE): Likewise.
358 (noErrnoTests): New variable.
359 (init_max_error): Set errno to 0.
360 (test_single_errno): New function.
361 (test_errno): Likewise.
362 (check_float_internal): Call test_errno. Set errno to 0.
363 (check_complex): Refer to errno tests in comment.
364 (check_int): Call test_errno. Set errno to 0.
365 (check_long): Likewise.
366 (check_bool): Likewise.
367 (check_longlong): Likewise.
368 (cos_test): Use ERRNO_* flags for errno tests instead of
369 check_int.
370 (expm1_test): Likewise.
371 (fmod_test): Likewise.
372 (ilogb_test): Likewise.
373 (lgamma_test): Likewise.
374 (pow_test): Likewise.
375 (remainder_test): Likewise.
376 (sin_test): Likewise.
377 (tan_test): Likewise.
378 (yn_test): Likewise.
379 (initialize): Set errno to 0.
380 (main): Print number of errno tests.
381 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
382
b1a36ceb
AJ
3832013-04-29 Andreas Jaeger <aj@suse.de>
384
c3ed8088
AJ
385 [BZ #15084]
386 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
387 and RES_USEVC.
388
f1a24198
AJ
389 [BZ #15085]
390 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
391 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
392 unimplemented.
393
9ce3b2cb
AJ
394 [BZ #15380]
395 * stdlib/random.c (__initstate): Return NULL if
396 __initstate fails.
397
f1a24198 398 [BZ #15086]
b1a36ceb
AJ
399 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
400 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
401 RES_SNGLKUPREOP.
402
7e7b6f36
AZ
4032013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
404
405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
406
4d14f449
JM
4072013-04-29 Joseph Myers <joseph@codesourcery.com>
408
409 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
410 of individual tests.
411 (casin_test): Likewise.
412 (casinh_test): Likewise.
413
5b4217d7
JM
4142013-04-27 Joseph Myers <joseph@codesourcery.com>
415
416 [BZ #15409]
417 * math/s_catan.c (__catan): Handle arguments with large real or
418 imaginary part separately without squaring.
419 * math/s_catanf.c (__catanf): Likewise.
420 * math/s_catanh.c (__catanh): Likewise.
421 * math/s_catanhf.c (__catanhf): Likewise.
422 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
423 and redefine.
424 (__catanhl): Handle arguments with large real or imaginary part
425 separately without squaring.
426 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
427 and redefine.
428 (__catanl): Handle arguments with large real or imaginary part
429 separately without squaring.
430 * math/libm-test.inc (catan_test): Add more tests.
431 (catanh_test): Likewise.
432 * sysdeps/i386/fpu/libm-test-ulps: Update.
433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
434
4220c3ef
AJ
4352013-04-27 Andreas Jaeger <aj@suse.de>
436
437 [BZ #15007]
438 * stdlib/stdlib.h: Update guards for qecvt.
439 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
440 <stdlib.h>.
441
4721b2d1
AM
4422013-04-27 Allan McRae <allan@archlinux.org>
443
444 * sysdeps/i386/fpu/libm-test-ulps: Update.
445
f0302940
JM
4462013-04-26 Joseph Myers <joseph@codesourcery.com>
447
9457fd95
JM
448 [BZ #15406]
449 * math/s_catan.c: Include <float.h>.
450 (__catan): Ensure underflow exception occurs for underflowed
451 result.
452 * math/s_catanf.c: Include <float.h>.
453 (__catanf): Ensure underflow exception occurs for underflowed
454 result.
455 * math/s_catanh.c: Include <float.h>.
456 (__catanh): Ensure underflow exception occurs for underflowed
457 result.
458 * math/s_catanhf.c: Include <float.h>.
459 (__catanhf): Ensure underflow exception occurs for underflowed
460 result.
461 * math/s_catanhl.c: Include <float.h>.
462 (__catanhl): Ensure underflow exception occurs for underflowed
463 result.
464 * math/s_catanl.c: Include <float.h>.
465 (__catanl): Ensure underflow exception occurs for underflowed
466 result.
467 * math/libm-test.inc (catan_test): Add more tests.
468 (catanh_test): Likewise.
469
f0302940
JM
470 [BZ #15405]
471 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
472 underflowed result.
473 * math/s_ccoshf.c (__ccoshf): Likewise.
474 * math/s_ccoshl.c (__ccoshl): Likewise.
475 * math/s_csin.c (__csin): Likewise.
476 * math/s_csinf.c (__csinf): Likewise.
477 * math/s_csinh.c (__csinh): Likewise.
478 * math/s_csinhf.c (__csinhf): Likewise.
479 * math/s_csinhl.c (__csinhl): Likewise.
480 * math/s_csinl.c (__csinl): Likewise.
481 * math/libm-test.inc (ccos_test): Add more tests.
482 (ccosh_test): Likewise.
483 (csin_test): Likewise.
484 (csinh_test): Likewise.
485
aa630f59
AZ
4862013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
487
488 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
489 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
490 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
491 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
492 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
493 powerpc/power5+/fpu folders.
494 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
495
496
1b835983
MT
4972013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
498
499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
500
73709b26
JM
5012013-04-25 Joseph Myers <joseph@codesourcery.com>
502
503 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
504 additions to variable.
505 [$(config-machine) = x86_64] (modules-names): Likewise.
506 ($(objpfx)tst-audit3): Remove dependency.
507 ($(objpfx)tst-audit3.out): Likewise.
508 ($(objpfx)tst-audit4): Likewise.
509 ($(objpfx)tst-audit4.out): Likewise.
510 ($(objpfx)tst-audit5): Likewise.
511 ($(objpfx)tst-audit5.out): Likewise.
512 ($(objpfx)tst-audit6): Likewise.
513 ($(objpfx)tst-audit6.out): Likewise.
514 ($(objpfx)tst-audit7): Likewise.
515 ($(objpfx)tst-audit7.out): Likewise.
516 (tst-audit3-ENV): Remove variable.
517 (tst-audit4-ENV): Likewise.
518 (tst-audit5-ENV): Likewise.
519 (tst-audit6-ENV): Likewise.
520 (tst-audit7-ENV): Likewise.
521 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
522 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
523 addition to variable.
524 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
525 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
526 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
527 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
528 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
529 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
530 tst-audit3, tst-audit4 and tst-audit5.
531 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
532 tst-audit6 and tst-audit7.
533 [$(subdir) = elf] (modules-names): Add audit modules for those
534 tests.
535 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
536 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
537 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
538 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
539 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
540 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
541 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
542 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
543 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
544 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
545 [$(subdir) = elf] (tst-audit3-ENV): New variable.
546 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
547 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
548 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
549 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
550 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
551 Likewise.
552 [$(subdir) = elf && $(config-cflags-avx) = yes]
553 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
554 [$(subdir) = elf && $(config-cflags-avx) = yes]
555 (CFLAGS-tst-auditmod4a.c): Likewise.
556 [$(subdir) = elf && $(config-cflags-avx) = yes]
557 (CFLAGS-tst-auditmod4b.c): Likewise.
558 [$(subdir) = elf && $(config-cflags-avx) = yes]
559 (CFLAGS-tst-auditmod6b.c): Likewise.
560 [$(subdir) = elf && $(config-cflags-avx) = yes]
561 (CFLAGS-tst-auditmod6c.c): Likewise.
562 [$(subdir) = elf && $(config-cflags-avx) = yes]
563 (CFLAGS-tst-auditmod7b.c): Likewise.
564 * elf/tst-audit3.c: Move to ...
565 * sysdeps/x86_64/tst-audit3.c: ... here.
566 * elf/tst-audit4.c: Move to ...
567 * sysdeps/x86_64/tst-audit4.c: ... here.
568 * elf/tst-audit5.c: Move to ...
569 * sysdeps/x86_64/tst-audit5.c: ... here.
570 * elf/tst-audit6.c: Move to ...
571 * sysdeps/x86_64/tst-audit6.c: ... here.
572 * elf/tst-audit7.c: Move to ...
573 * sysdeps/x86_64/tst-audit7.c: ... here.
574 * elf/tst-auditmod3a.c: Move to ...
575 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
576 * elf/tst-auditmod3b.c: Move to ...
577 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
578 * elf/tst-auditmod4a.c: Move to ...
579 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
580 * elf/tst-auditmod4b.c: Move to ...
581 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
582 * elf/tst-auditmod5a.c: Move to ...
583 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
584 * elf/tst-auditmod5b.c: Move to ...
585 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
586 * elf/tst-auditmod6a.c: Move to ...
587 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
588 * elf/tst-auditmod6b.c: Move to ...
589 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
590 * elf/tst-auditmod6c.c: Move to ...
591 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
592 * elf/tst-auditmod7a.c: Move to ...
593 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
594 * elf/tst-auditmod7b.c: Move to ...
595 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
596
1ef74943
PP
5972013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
598
599 [BZ #15366]
600 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
601 define unconditionally.
602 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
603 define unconditionally.
604 (INT8_C, INT16_C, etc.): Likewise.
605
93fd48c5
MR
6062013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
607
ae9552cf
MR
608 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
609 __ehdr_start with hidden visibility.
610
93fd48c5
MR
611 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
612
418601aa
CD
6132013-04-24 Carlos O'Donell <carlos@redhat.com>
614
615 * math/libm-test.inc (cos_test): Use accurate hex constants.
616 (sincost_test): Likewise.
617
2f38fbfe
JM
6182013-04-24 Joseph Myers <joseph@codesourcery.com>
619
5e221800
JM
620 * math/libm-test.inc (catan_test): Add more tests.
621 (catanh_test): Likewise.
622
77f143fd
JM
623 * math/s_catanf.c (__catanf): Use suffixed floating-point
624 constants.
625 * math/s_catanhf.c (__catanhf): Likewise.
626 * math/s_catanhl.c (__catanhl): Likewise.
627 * math/s_catanl.c (__catanl): Likewise.
628
2f38fbfe
JM
629 [BZ #15394]
630 * math/s_catan.c (__catan): Calculate imaginary part of result
631 with log1p not log unless computing log of number close to 0.
632 * math/s_catanf.c (__catanf): Likewise.
633 * math/s_catanl.c (__catanl): Likewise.
634 * math/s_catanh.c (__catanh): Calculate real part of result with
635 log1p not log unless computing log of number close to 0.
636 * math/s_catanhf.c (__catanhf): Likewise.
637 * math/s_catanhl.c (__catanhl): Likewise.
638 * math/libm-test.inc (catan_test): Add more tests.
639 (catanh_test): Likewise.
640 * sysdeps/i386/fpu/libm-test-ulps: Update.
641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642
45d69176
SP
6432013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
644
645 * benchtests/Makefile: Mention files in which fast and slow
646 paths of math functions are implemented.
647
87f51853
RM
6482013-04-23 Roland McGrath <roland@hack.frob.com>
649
650 * sysdeps/posix/timespec_get.c: New file.
651
3c026539
AZ
6522013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
653
654 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
655 POWER.
656 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
657 for POWER.
658 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
659 powerpc/power5/fpu folders.
660 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
661 * benchtests/Makefile: Add modf testcase.
662 * benchtests/bench-modf.c: New file: Benchmark test for mo
663
ff491d14
SP
6642013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
665
666 [BZ #14888]
667 * time/Makefile (tests): Add tst-strptime-whitespace.
668 * time/strptime_l.c (get_number): Use ISSPACE.
669 (__strptime_internal): Likewise.
670 * time/tst-strptime-whitespace.c: New test case.
671
7ed3f4e8
AS
6722013-04-23 Andreas Schwab <schwab@linux-m68k.org>
673
674 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
675 member.
676 (_nss_files_init): Set it here.
677
5c95f7b6
HC
6782013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
679
680 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
681 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
682 unsigned.
683
d34c9158
JBG
6842013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
685
686 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
687
2169712d
SP
6882013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
689
690 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
691 size just once.
692
29c5de99
DM
6932013-04-21 David S. Miller <davem@davemloft.net>
694
695 * po/ru.po: Update Russion translation from translation project.
696
ccdad15d
AC
6972013-04-17 Adam Conrad <adconrad@0c3.net>
698
699 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
700 and setfsgid.
701
0f122b8d
CD
7022013-04-17 Carlos O'Donell <carlos@redhat.com>
703
5c5b07da 704 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 705 * configure: Regenerate.
5c5b07da 706 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
707 Add example to error message.
708 * sysdeps/i386/configure: Regenerate.
709
037714dd
SP
7102013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
711
712 * benchtests/Makefile (bench): Add cos, tan, slowcos and
713 slowtan.
714 * benchtests/cos-inputs: New file.
715 * benchtests/slowcos-inputs: New file.
716 * benchtests/slowcos.c: New file.
717 * benchtests/slowtan-inputs: New file.
718 * benchtests/slowtan.c: New file.
719 * benchtests/tan-inputs: New file.
720
e913141d
RM
7212013-04-16 Roland McGrath <roland@hack.frob.com>
722
723 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
724 considered kosher.
725
a2964074
SP
7262013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
727
4856bcd2
SP
728 * benchtests/Makefile: Include cppflags-iterator.mk to add
729 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
730
a2964074
SP
731 * Makefile.in (bench-clean): New target.
732 * benchtests/Makefile (bench-clean): Likewise.
733
9fbf9aca
DH
7342013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
735
736 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
737
207d1e2a
TS
7382013-04-15 Thomas Schwinge <thomas@codesourcery.com>
739
740 * stdio-common/tstdiomisc.c: Fix coding-style violation.
741
306dfba9
AS
7422013-04-15 Andreas Schwab <schwab@suse.de>
743
744 * nscd/grpcache.c (cache_addgr): Properly check for short write.
745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
746 * nscd/pwdcache.c (cache_addpw): Likewise.
747 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
748 more than recsize.
749
206a6699
SP
7502013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
751
752 * benchtests/Makefile (bench): Write all output to
753 bench-out.tmp together.
754
0582f6b3
AS
7552013-04-15 Andreas Schwab <schwab@suse.de>
756
757 * nscd/nscd.c (main): Don't fork again after closing files.
758
acb4325f
SP
7592013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
760
5cb26d0a
SP
761 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
762
acb4325f
SP
763 * benchtests/Rules (bench-deps): Collect dependencies into a
764 single variable. Add Makefile to dependencies.
765 ($(objpfx)bench-%.c): Depend on bench-deps.
766
47792506
RM
7672013-04-12 Roland McGrath <roland@hack.frob.com>
768 Xavier Roche <roche+kml2@exalead.com>
769
770 [BZ #15361]
771 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
772 just that it's a file descriptor.
773 * manual/llio.texi (Synchronizing AIO Operations): Update description
774 for EBADF error from aio_fsync.
775
8fc1bee5
SP
7762013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
777
778 * Rules (bench): Move target definition...
779 * benchtests/Makefile: ... here.
780
aba5e333
CD
7812013-04-11 Carlos O'Donell <carlos@redhat.com>
782
783 * math/libm-test.inc (cos_test): Fix PI/2 test.
784 (sincos_test): Likewise.
785 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
786 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
787
273cdee8
AS
7882013-04-11 Andreas Schwab <schwab@suse.de>
789
6ecec3b6
AS
790 [BZ #13988]
791 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
792 accept exponent character only when digits were seen.
793 * stdio-common/Makefile (tests): Add bug26.
794 * stdio-common/bug26.c: New file.
795
273cdee8
AS
796 [BZ #14293]
797 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
798 non-freeable.
799
8da491f5
SP
8002013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
801
01dc6df9
SP
802 * Makeconfig (rtld-prefix): Define built linker prefix.
803 * Rules (run-bench): Use it.
804 * math/Makefile (run-regen-ulps): Likewise.
805
8da491f5
SP
806 * Rules (bench): Remove eval.
807
abe7f530
SP
8082013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
809 Roland McGrath <roland@hack.frob.com>
810 Ondrej Bilka <neleai@seznam.cz>
811
812 [BZ #15346]
813 * time/getdate.c: Include ctype.h and alloca.h.
814 (__getdate_r): Trim leading and trailing spaces of input.
815 * time/tst-getdate.c (tests): Add tests with leading and
816 trailing spaces.
817
61c23e62
RM
8182013-04-08 Roland McGrath <roland@hack.frob.com>
819
820 [BZ #14280]
821 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
822 when computing value.
823
7208a313
CD
8242013-04-06 Carlos O'Donell <carlos@redhat.com>
825
085b2d41
CD
826 * math/README.libm-test (How can I generate "libm-test-ulps"?):
827 Use testrun.sh to run libm tests.
828
7208a313
CD
829 [BZ #15309]
830 * elf/dl-open.c (dl_open_worker): memset all of seen array.
831
872c0acd
MM
8322013-04-06 Marko Myllynen <myllynen@redhat.com>
833
834 [BZ #15264]
835 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
836
26510bdd
CD
8372013-04-06 Carlos O'Donell <carlos@redhat.com>
838
839 * Makefile.in (regen-ulps): New target.
840 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
841 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
842 [ifneq (no,$(PERL)] (regen-ulps): New target.
843 [ifeq (no,$(PERL)] (regen-ulps): New target.
844 * math/libm-test.inc (ulps_file_name): Define.
845 (output_dir): New variable.
846 (options): Add "output-dir" option.
847 (parse_opt): Handle 'o' case.
848 (main): If output_dir is non-NULL use it as a prefix
849 otherwise use "".
850 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
851
a01f19c8
CD
8522013-04-06 Carlos O'Donell <carlos@redhat.com>
853
854 [BZ #10060, #10062]
855 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
856 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
857 fail configure if __sync_val_compare_and_swap is not inlined.
858 * sysdeps/i386/configure: Regenerate.
859 * configure.in: Build for i686 when configured for i386.
860 * configure: Regenerate.
861 * README: Remove i386 reference.
862
b7a329a5
CD
8632013-04-06 Carlos O'Donell <carlos@redhat.com>
864
865 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
867
bf0f50df
TS
8682013-04-05 Thomas Schwinge <thomas@codesourcery.com>
869
ee091edf
TS
870 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
871 (lmsnanval): New variables.
872 (F): Add conversion tests.
873 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
874 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
875
a8b792d6
TS
876 * stdio-common/tstdiomisc.c (F): Properly collect individual
877 tests' results.
878
a1cbf437
TS
879 [BZ #14686, #15336]
880 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
881 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
882 Instead, use input NaN values or generate a qNaN by arithmetic
883 operation. Also fix bugs to comply with the standard.
884 * math/libm-test.inc (remainder_test): Add more tests.
885
8b43a0c9
TS
886 [BZ #15335, #15342]
887 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
889 input NaN values or generate a qNaN by arithmetic operation.
890
d91da4ce
TS
891 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
892 unreachable code.
893
bf0f50df
TS
894 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
895 definitions.
896
05e166c8
JM
8972013-04-03 Joseph Myers <joseph@codesourcery.com>
898
899 [BZ #14478]
900 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
901 underflowed result.
902 * math/s_cexpf.c (__cexpf): Likewise.
903 * math/s_cexpl.c (__cexpl): Likewise.
904 * math/libm-test.inc (cexp_test): Add more tests.
905
1cef1b19
AS
9062013-04-03 Andreas Schwab <schwab@suse.de>
907
908 [BZ #15330]
909 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
910 order arrays from heap if bigger than alloca cutoff.
911
74d87055
TS
9122013-04-03 Thomas Schwinge <thomas@codesourcery.com>
913
914 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
915 (SNAN_TESTS_double): Refer to GCC PR56831.
916 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
917 GCC PR56828.
918
d755bba4
SP
9192013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
920
90d5d5bb
SP
921 * Rules (bench): Move bench.out after the run is complete.
922
73e0cd5d
SP
923 * Rules (bench): Echo currently running benchmark.
924
64aabd4b
SP
925 * benchtests/Makefile (bench): Add atan and slowatan.
926 * benchtests/atan-inputs: New file.
927 * benchtests/slowatan-inputs: New file.
928 * benchtests/slowatan.c: New file.
929
c871eccd
SP
930 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
932 its value.
933
d755bba4
SP
934 [BZ #15305]
935 * sysdeps/unix/sysv/linux/kernel-features.h
936 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
937 __ASSUME_XFS_RESTRICTED_CHOWN.
938 * sysdeps/unix/sysv/linux/pathconf.c
939 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
940 Save and restore errno.
941
52ce4860
JM
9422013-04-02 Joseph Myers <joseph@codesourcery.com>
943
944 [BZ #15327]
945 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
946 arguments using __kernel_casinh.
947 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
948 arguments using __kernel_casinhf.
949 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
950 arguments using __kernel_casinhl.
951 * math/libm-test.inc (cacosh_test): Add more tests.
952 * sysdeps/i386/fpu/libm-test-ulps: Update.
953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
954
81f311c2
SP
9552013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
956
e7906a47
SP
957 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
958 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
959
92e3664b
SP
960 * bench/Makefile (bench): Add sin and slowsin.
961 * benchtests/sin-inputs: New file.
962 * benchtests/slowsin-inputs: New file.
963 * benchtests/slowsin.c: New file.
964
81f311c2
SP
965 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
966 (bench): Add slowexp and slowpow.
967 (exp-ITER): Increase iterations.
968 (pow-ITER): Likewise.
969 * benchtests/exp-inputs: Change input.
970 * benchtests/pow-inputs: Likewise.
971 * benchtests/slowexp-inputs: New file.
972 * benchtests/slowexp.c: New file.
973 * benchtests/slowpow-inputs: New file.
974 * benchtests/slowpow.c: New file.
975
ab0f1aa9
AZ
9762013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
977
978 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
979 instructions.
980 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
981 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
982 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
983 * benchtests/Makefile: Add rint benchtest.
984 * benchtests/rint-inputs: Input for rint benchtest.
985
57267616
TS
9862013-04-02 Thomas Schwinge <thomas@codesourcery.com>
987
988 * Versions.def (libm): Add GLIBC_2.18.
989 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
990 hidden libm prototypes.
991 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
992 * math/Makefile (libm-calls): Add s_issignaling.
993 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
994 __issignalingf, __issignalingl. Adjust all libm.abilist files.
995 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
996 declaration.
997 * math/math.h [__USE_GNU] (issignaling): New macro.
998 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
999 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1000 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1001 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1002 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1003 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1004 * manual/arith.texi (issignaling): New section.
1005 * manual/libm-err-tab.pl (@all_functions): Update comment.
1006 * math/gen-libm-test.pl (parse_args): Apply special handling for
1007 issignaling.
1008 * math/libm-test.inc (print_float, issignaling_test): New
1009 functions.
1010 (check_float_internal): Add issignaling checks.
1011 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1012 default definition.
1013 * sysdeps/powerpc/math-tests.h: New file.
1014 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1015 tests.
1016 * math/test-snan.c (TEST_FUNC): Likewise.
1017
6142896d
DM
10182013-03-30 David S. Miller <davem@davemloft.net>
1019
1020 * po/de.po: Update from translation team.
1021
ccc8cadf
JM
10222013-03-30 Joseph Myers <joseph@codesourcery.com>
1023
1024 [BZ #10357]
1025 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1026 imaginary part less than 1.0 and real part less than 0.5
1027 specially.
1028 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1029 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1030 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1031 (cacos_test): Add more tests.
1032 (casin_test): Likewise.
1033 (casinh_test): Likewise.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1036
0f6a8d4b
SP
10372013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1038
0d1029de
SP
1039 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1040 ONE with its value.
1041
c2d94018
SP
1042 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1043 (__pow_mp): Replace ONE and MONE with their values.
1044 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1045 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1046 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1047 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1048 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1049 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1050
27ec37f1
SP
1051 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1052
a64d7e0e
SP
1053 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1054 (__pow_mp): Replace ZERO and MZERO with their values.
1055 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1056 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1057 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1058 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1059 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1060 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1061 (__sqr): Likewise.
1062
d26dd3eb
SP
1063 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1064
0f6a8d4b
SP
1065 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1066
e57b0c61
RM
10672013-03-28 Roland McGrath <roland@hack.frob.com>
1068
1069 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1070 Declare with __attribute__ ((weak)).
1071 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1072 Call __call_tls_dtors only if it's not NULL.
1073
356b3480
RM
10742013-03-28 Roland McGrath <roland@hack.frob.com>
1075
288f7d79
RM
1076 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1077 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1078 magic __ehdr_start linker symbol if it's defined.
1079 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1080 them up here if it was already done.
1081
dc0a0263
RM
1082 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1083 (_dl_aux_init): Use const in cast when setting it.
1084 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1085 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1086 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1087
3d3436ae
RM
1088 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1089 Declare them here.
1090 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1091 * csu/libc-tls.c: Nor here.
1092 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1093
356b3480
RM
1094 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1095 (__libc_message): Never call vsyslog.
1096
b0f1246a
AM
10972013-03-28 Alan Modra <amodra@gmail.com>
1098
1099 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1100 Define as empty.
1101 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1102 Likewise.
1103
fbbe2b9a
AZ
11042013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1105
1106 [BZ #15214]
1107 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1108 underflow.
1109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1110
1728ab37
SP
11112013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1112
7a86be6e
SP
1113 [BZ #15304]
1114 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1115 Don't add gid passed as argument.
1116
1728ab37
SP
1117 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1118
3a7182a1
JM
11192013-03-27 Joseph Myers <joseph@codesourcery.com>
1120
1121 [BZ #15307]
1122 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1123 imaginary part between 1.0 and 1.5 and real part less than 0.5
1124 specially.
1125 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1126 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1127 * math/libm-test.inc (cacos_test): Add more tests.
1128 (casin_test): Likewise.
1129 (casinh_test): Likewise.
1130 * sysdeps/i386/fpu/libm-test-ulps: Update.
1131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1132
6f2e90e7
SP
11332013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1134
5739f705
SP
1135 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1136 constants.
1137 (norm): Likewise.
1138 (denorm): Likewise.
1139 (__dbl_mp): Likewise.
1140 (add_magnitudes): Likewise.
1141 (sub_magnitudes): Likewise.
1142 (__add): Likewise.
1143 (__sub): Likewise.
1144 (__mul): Likewise.
1145 (__sqr): Likewise.
1146 (__inv): Likewise.
1147 (__dvd): Likewise.
1148
e375e83d
SP
1149 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1150 commented code.
1151 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1152 (__dubcos): Likewise.
1153 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1154 (__ieee754_acos): Likewise.
1155 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1156 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1157 (__exp1): Likewise.
1158 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1159 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1160 (log1): Likewise.
1161 (my_log2): Likewise.
1162 (checkint): Likewise.
1163 * sysdeps/ieee754/dbl-64/e_remainder.c
1164 (__ieee754_remainder): Likewise.
1165 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1167 (bsloww): Likewise.
1168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1169
6f2e90e7
SP
1170 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1171 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1172 MANTISSA_STORE_T to store computations on mantissa. Use
1173 macros for rounding and division.
1174 (denorm): Likewise.
1175 (__dbl_mp): Likewise.
1176 (add_magnitudes): Likewise.
1177 (sub_magnitudes): Likewise.
1178 (__mul): Likewise.
1179 (__sqr): Likewise.
1180 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1181 powers of two in terms of TWOPOW macro.
1182 (mp_no): Make type of mantissa as MANTISSA_T.
1183 [!RADIXI]: Define RADIXI.
1184 [!TWO52]: Define TWO52.
1185 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1186
fce14d4e
AZ
11872013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188
1189 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1190 llroundl symbol when building for PPC32.
1191
9ad027fb
MW
11922013-03-24 Mark H Weaver <mhw@netris.org>
1193
1194 * manual/arith.texi (Normalization Functions): Fix prototypes for
1195 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1196
e42a38dd
AZ
11972013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1198
1199 [BZ #13889]
1200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1201 high value to check if expl overflow.
1202 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1203 to check for underflow and overflow.
1204 * math/libm-test.inc: Add exp test.
1205
2e0fb521
DL
12062013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1207
1208 [BZ #11120]
1209 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1210 with NOT_IN_libc.
1211
b5784d95
AZ
12122013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1213
1214 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1215 symbol.
1216
5aa4a1a1
TS
12172013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1218
bdef0be7
TS
1219 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1220 wrap blocks consisting of several statements.
1221
5aa4a1a1
TS
1222 * sysdeps/generic/math-tests.h: New file.
1223 * sysdeps/i386/fpu/math-tests.h: Likewise.
1224 * math/test-snan.c: Include it.
1225 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1226
98c48fe5
JM
12272013-03-21 Joseph Myers <joseph@codesourcery.com>
1228
1229 [BZ #15285]
1230 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1231 (__ieee754_j0l): Do not improve calculations using cos of twice
1232 input for inputs above LDBL_MAX / 2.0L.
1233 (__ieee754_y0l): Likewise.
1234 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1235 (__ieee754_j1l): Do not improve calculations using cos of twice
1236 input for inputs above LDBL_MAX / 2.0L.
1237 (__ieee754_y1l): Likewise.
1238 * math/libm-test.inc (j0_test): Add another test.
1239 (j1_test): Likewise.
1240 (y0_test): Likewise.
1241 (y1_test): Likewise.
1242 * sysdeps/i386/fpu/libm-test-ulps: Update.
1243
3775a8bc
SP
12442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1245
1246 * Rules ($(objpfx)bench-%.c): Include code from a C source
1247 file.
1248
0a1b2ae6
JM
12492013-03-21 Joseph Myers <joseph@codesourcery.com>
1250
1251 [BZ #15287]
1252 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1253 imaginary part 1.0 and real part less than 0.5 specially.
1254 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1255 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1256 * math/libm-test.inc (cacos_test): Add more tests.
1257 (casin_test): Likewise.
1258 (casinh_test): Likewise.
1259 * sysdeps/i386/fpu/libm-test-ulps: Update.
1260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1261
b33d4ce4
SP
12622013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1263
1264 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1265 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1266
bef0b507
JM
12672013-03-20 Joseph Myers <joseph@codesourcery.com>
1268
1269 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1270 * config.make.in (config-cflags-sse4): Remove variable.
1271 (config-cflags-avx): Likewise.
1272 (config-cflags-sse2avx): Likewise.
1273 (config-cflags-novzeroupper): Likewise.
1274 (config-asflags-i686): Likewise.
1275 (have-mfma4): Likewise.
1276 (have-as-vis3): Likewise.
1277 (MIG): Likewise.
1278 * configure.in (MIG): Do not AC_SUBST.
1279 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1280 (libc_cv_cc_sse4): Do not AC_SUBST.
1281 (libc_cv_cc_avx): Likewise.
1282 (libc_cv_cc_sse2avx): Likewise.
1283 (libc_cv_cc_novzeroupper): Likewise.
1284 (libc_cv_cc_fma4): Likewise.
1285 (libc_cv_as_i686): Likewise.
1286 (libc_cv_sparc_as_vis3): Likewise.
1287 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1288 LIBC_CONFIG_VAR.
1289 (config-asflags-i686): Likewise.
1290 (config-cflags-avx): Likewise.
1291 (config-cflags-sse2avx): Likewise.
1292 (have-mfma4): Likewise.
1293 (config-cflags-novzeroupper): Likewise.
1294 * sysdeps/mach/configure.in (MIG): Likewise.
1295 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1296 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1297 LIBC_CONFIG_VAR.
1298 (config-cflags-avx): Likewise.
1299 (config-cflags-sse2avx): Likewise.
1300 (have-mfma4): Likewise.
1301 (config-cflags-novzeroupper): Likewise.
1302 * configure: Regenerated.
1303 * sysdeps/i386/configure: Likewise.
1304 * sysdeps/mach/configure: Likewise.
1305 * sysdeps/sparc/configure: Likewise.
1306 * sysdeps/x86_64/configure: Likewise.
1307
912cc4b3
RM
13082013-03-20 Roland McGrath <roland@hack.frob.com>
1309
1310 [BZ #14812]
1311 * locale/programs/localedef.c (options): Put N_ translation marker
1312 on argument names, not just descriptions.
1313
04eed2b0
MS
13142013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1315
1316 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1317
a065ceff
OB
13182013-03-20 Ondřej Bílka <neleai@seznam.cz>
1319
9bb2a810 1320 [BZ #14176]
a065ceff
OB
1321 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1322
a600e5ce
RM
13232013-03-19 Roland McGrath <roland@hack.frob.com>
1324
1325 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1326 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1327 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1328 [!BEFORE_ABORT] (before_abort): New function.
1329 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1330 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1331 (writev_for_fatal): New function.
1332 (WRITEV_FOR_FATAL): New macro; call that.
1333 (backtrace_and_maps): New function.
1334 (BEFORE_ABORT): New macro; call that.
1335 (struct str_list): Type removed.
1336 (__libc_message, __libc_fatal): Functions removed.
1337 Include <sysdeps/posix/libc_fatal.c> instead.
1338
6b18bea6
JM
13392013-03-19 Joseph Myers <joseph@codesourcery.com>
1340
1341 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1342 constants.
1343 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1344 double constants.
1345
aaa8cb4b
AS
13462013-03-19 Andreas Schwab <schwab@suse.de>
1347
44673770
AS
1348 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1349 * sysdeps/gnu/configure: Regenerate.
1350
aaa8cb4b
AS
1351 * configure.in: Substitute libc_cv_rtlddir.
1352 * configure: Regenerate.
1353 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1354 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1355 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1356 * elf/Makefile (install-others, CFLAGS-interp.c)
1357 (ldso_install, common-ldd-rewrite): Likewise.
1358 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1359 $(inst_slibdir)/$(rtld-installed-name).
1360 * scripts/rellns-sh: Add -p option.
1361 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1362 for source.
1363
d3cfc668
SP
13642013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1365
1366 * manual/nptl.texi: Renamed to ...
1367 * manual/threads.texi: ... this.
1368 * manual/Makefile (chapters): Update.
1369
0e2b9cdd
RM
13702013-03-18 Roland McGrath <roland@hack.frob.com>
1371
1372 [BZ #14812]
1373 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1374 on argument names, not just descriptions.
0e2b9cdd
RM
1375 * malloc/memusagestat.c (options): Likewise.
1376 * nss/getent.c (options): Likewise.
63270c24
RM
1377
13782013-03-18 Benno Schulenberg <bensberg@justemail.net>
1379
1380 [BZ #14812]
1381 * iconv/iconv_prog.c (options): Put N_ translation marker
1382 on argument names, not just descriptions.
1383 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1384
b2e1393c
OB
13852013-03-18 Ondrej Bilka <neleai@seznam.cz>
1386
1387 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1388 implementation which is faster on all x86_64 architectures.
1389 Tested on AMD, Intel Nehalem, SNB, IVB.
1390 * sysdeps/x86_64/strnlen.S: Likewise.
1391
1392 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1393 Remove all multiarch strlen and strnlen versions.
1394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1395 Remove strlen and strnlen related parts.
1396
1397 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1398 Inline strlen part.
1399 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1400
1401 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1402 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1403 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1404 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1405 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1406 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1407
ec4ff04d
CD
14082013-03-17 Carlos O'Donell <carlos@redhat.com>
1409
1410 * manual/memory.texi (Malloc Tunable Parameters):
1411 Sort parameters alphabetically. Add comments for missing entries.
1412
cd18e90a
DM
14132013-03-17 David S. Miller <davem@davemloft.net>
1414
1415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1416
2a185d32
JM
14172013-03-16 Joseph Myers <joseph@codesourcery.com>
1418
d2f9799e
JM
1419 [BZ #15283]
1420 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1421 for arguments at most half maximum finite value.
1422 * math/libm-test.inc (j0_test): Add more tests.
1423 (j1_test): Likewise.
1424 (y0_test): Likewise.
1425 (y1_test): Likewise.
1426 * sysdeps/i386/fpu/libm-test-ulps: Update.
1427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1428
2a185d32
JM
1429 [BZ #14155]
1430 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1431 1 / x and functions P and Q for arguments above 0x1p256L.
1432 (__ieee754_y0l): Likewise.
1433 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1434 (__ieee754_y1l): Likewise.
1435 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1436 (j1_test): Likewise.
1437 (y0_test): Likewise.
1438 (y1_test): Likewise.
1439
6cbec759
TS
14402013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1441
1442 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1443 variable.
1444
bc16e260
RM
14452013-03-15 Roland McGrath <roland@hack.frob.com>
1446
aefc9b8c
RM
1447 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1448 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1449 zero since it's initialized to EXEC_PAGESIZE.
1450
bc16e260
RM
1451 * sysdeps/unix/sysv/linux/ldsodefs.h
1452 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1453 * sysdeps/generic/ldsodefs.h: ... here.
1454
a57da955
TS
14552013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1456
af00a34d
TS
1457 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1458
495ded2c
TS
1459 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1460 math/test-snan.c.
1461 * math/test-snan.c: Renamed from
1462 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1463 * math/Makefile (tests): Add test-snan.
1464 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1465 test-powerpc-snan.
1466
777b0332
TS
1467 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1468 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1469 functions.
1470 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1471 __builtin_nan family of functions.
1472 * math/libm-test.inc (initialize): Initialize qnan_value with
1473 __builtin_nan family of functions.
1474 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1475 Remove variables.
1476 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1477 Remove functions.
1478 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1479 storage class. Initialize qNaN_var and sNaN_var with
1480 __builtin_nan and __builtin_nans families of functions,
1481 respectively.
1482
64d063b8
TS
1483 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1484 (sqrt_test): Remove duplicate test with qNaN input.
1485 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1486 (round_test, signbit_test, significand_test): Note missing +/-Inf
1487 as well as qNaN tests.
1488
67e971f1
TS
1489 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1490 qNaN_var. Fix a few strings, too.
1491 * math/libm-test.inc (nan_value): Rename to qnan_value.
1492 * math/gen-libm-test.pl (%beautify): Adjust to that.
1493 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1494 * math/test-misc.c (main): Likewise.
1495 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1496 to __qnan_bytes, and __qnan_union, respectively.
1497 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1498 Likewise.
1499 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1500 and lqnanval, respectively.
1501 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1502 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1503 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1504 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1505
64487e12
TS
1506 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1507 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1508 doubles.
1509
e015e27b
TS
1510 * math/test-misc.c (main): Fix copy'n'pastos.
1511 * misc/tst-efgcvt.c (special): Likewise.
1512
a57da955
TS
1513 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1514 Remove declarations.
1515
1e380345
SP
15162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1517
1518 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1519 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1520 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1521 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1522
ef26eece
AZ
15232013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524
1525 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1526 macro to return vdso values correctly in IFUNC implementations.
1527 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1528 Optimization by using IFUNC.
1529
8cfdb7e0
SP
15302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1531 Richard Henderson <rth@redhat.com>
1532 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1533
1534 * Makefile.in (bench): New target.
1535 * NEWS: Mention the benchmark framework.
1536 * Rules (bench): Likewise.
1537 (binaries-bench): Generate binaries for functions to
1538 benchmark.
1539 * benchtests/Makefile: New makefile for benchmark tests.
1540 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1541 programs.
1542 * benchtests/exp-inputs: New input file for EXP function.
1543 * benchtests/pow-inputs: New input file for POW function.
1544 * scripts/bench.pl: New script to generate source files for
1545 benchmark programs.
1546
bcda9880
SP
15472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1548
d22ca8cd
SP
1549 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1550 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1551 computations on mantissa. Use macros for rounding and
1552 division.
1553 (denorm): Likewise.
1554 (__dbl_mp): Likewise.
1555 (add_magnitudes): Likewise.
1556 (sub_magnitudes): Likewise.
1557 (__mul): Likewise.
1558 (__sqr): Likewise.
1559 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1560 powers of two in terms of TWOPOW macro.
1561 (mp_no): Make type of mantissa as MANTISSA_T.
1562 [!RADIXI]: Define RADIXI.
1563 [!TWO52]: Define TWO52.
1564 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1565
bcda9880
SP
1566 * manual/nptl.texi (cindex): Modify threads to pthreads.
1567
06d5adfb
JM
15682013-03-15 Joseph Myers <joseph@codesourcery.com>
1569
1570 * sysdeps/x86_64/preconfigure: Regenerated.
1571
41c7328e
JM
15722013-03-14 Joseph Myers <joseph@codesourcery.com>
1573
1574 [BZ #14155]
1575 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1576 0x1p28 and above.
1577 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1578 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1579 0x1p28 and above.
1580 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1581 * math/libm-test.inc (j0_test): Do not allow one spurious
1582 underflow exception.
1583 (y1_test): Likewise.
1584
e25cfa60
SP
15852013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1586
0409959c
SP
1587 * manual/Makefile (chapters): Add nptl.
1588 * manual/debug.texi (Debugging Support): Add link to Threads
1589 chapter.
1590 * manual/nptl.texi: New file.
1591
e25cfa60
SP
1592 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1593
58a1335e
PB
15942013-03-14 Petr Baudis <pasky@ucw.cz>
1595
1596 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1597 for non-NULL pointer before the memory validity test. Pointed
1598 out by Holger Brunck <holger.brunck@keymile.com>.
1599
9dc7c64f
AS
16002013-03-13 Andreas Schwab <schwab@suse.de>
1601
1602 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1603 instead of .os.
1604
54206aa6
JM
16052013-03-13 Joseph Myers <joseph@codesourcery.com>
1606
1607 * timezone/zic.c: Update from tzcode 2013b.
1608
e98cdb38
CD
16092013-03-12 Carlos O'Donell <carlos@redhat.com>
1610
1611 * manual/install.texi (Configuring and compiling):
1612 Mention i686 and i586.
1613 * INSTALL: Regenerate.
1614
9967e003
RM
16152013-03-12 Roland McGrath <roland@hack.frob.com>
1616
1617 * sysdeps/init_array/elf-init.c: New file.
1618 * csu/elf-init.c
1619 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1620 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1621
1622 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1623 __gmon_start__ as global, but as static with a .preinit_array pointer.
1624 * sysdeps/init_array/gmon-start.c: New file. Use that.
1625 * sysdeps/init_array/crti.S: New file, empty except for comments.
1626 * sysdeps/init_array/crtn.S: Likewise.
1627
e6b5a293 16282013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1629
1630 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1631 definining bcopy.
80f844c9
OB
1632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1633 Remove Prefer_SSE_for_memop.
1634 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1635 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1636 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1638 memset-x86-64.
80f844c9 1639 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1640 Remove bzero, memset ifunc support.
80f844c9
OB
1641 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1642 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1643 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1644 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1645
fb6b0fcb
AS
16462013-03-11 Andreas Schwab <schwab@suse.de>
1647
1648 [BZ #15234]
1649 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1650 by SHLIB_COMPAT.
1651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1652 (GLIBC_2.16): Remove pthread_atfork.
1653
3e6bd4b1
PP
16542013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1655
1656 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1657 (ptestcases.h): Likewise.
1658
222d7f00
RM
16592013-03-08 Roland McGrath <roland@hack.frob.com>
1660
1661 * Makeconfig ($(common-objpfx)config.status): Depend on
1662 sysdeps/*/preconfigure{,.in} too.
1663
1ba4f030
JM
16642013-03-08 Joseph Myers <joseph@codesourcery.com>
1665
a222d91a
JM
1666 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1667 (__free_hook): Use void * instead of __malloc_ptr_t.
1668 (__malloc_hook): Likewise.
1669 (__realloc_hook): Likewise.
1670 (__memalign_hook): Likewise.
1671 (__after_morecore_hook): Likewise.
1672 * malloc/arena.c (save_malloc_hook): Likewise.
1673 (save_free_hook): Likewise.
1674 * malloc/hooks.c (malloc_hook_ini): Likewise.
1675 (realloc_hook_ini): Likewise.
1676 (memalign_hook_ini): Likewise.
1677 * malloc/malloc.c (malloc_hook_ini): Likewise.
1678 (realloc_hook_ini): Likewise.
1679 (memalign_hook_ini): Likewise.
1680 (__free_hook): Likewise.
1681 (__malloc_hook): Likewise.
1682 (__realloc_hook): Likewise.
1683 (__memalign_hook): Likewise.
1684 (__libc_malloc): Likewise.
1685 (__libc_free): Likewise.
1686 (__libc_realloc): Likewise.
1687 (__libc_memalign): Likewise.
1688 (__libc_valloc): Likewise.
1689 (__libc_pvalloc): Likewise.
1690 (__libc_calloc): Likewise.
1691 (__posix_memalign): Likewise.
1692 * malloc/morecore.c (__sbrk): Likewise.
1693 (__default_morecore): Likewise.
1694
5cc45e10
JM
1695 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1696
dd54b864
JM
1697 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1698 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1699 __malloc_ptrdiff_t.
1700
1ba4f030
JM
1701 * malloc/malloc.h (__malloc_size_t): Remove macro.
1702 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1703 __malloc_size_t.
1704 (old_memalign_hook): Likewise.
1705 (old_realloc_hook): Likewise.
1706 (struct hdr): Likewise.
1707 (flood): Likewise.
1708 (mallochook): Likewise.
1709 (memalignhook): Likewise.
1710 (reallochook): Likewise.
1711 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1712 (tr_old_realloc_hook): Likewise.
1713 (tr_old_memalign_hook): Likewise.
1714 (tr_mallochook): Likewise.
1715 (tr_reallochook): Likewise.
1716 (tr_memalignhook): Likewise.
1717
edf66e57
AZ
17182013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1719
1720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1721 default_ldbl_pack and using as default implementation.
1722 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1723 implementation.
1724 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1725 redundant definition.
1726 (ldbl_insert_mantissa): Likewise.
1727 (ldbl_canonicalize): Likewise.
1728 (ldbl_nearbyint): Likewise.
1729 (ldbl_pack): Rename to ldbl_pack_ppc.
1730 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1731 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1732 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1733
6d9145d8
SP
17342013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1735
1736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1737 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1738 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1739 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1741 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1742 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1743 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1744
4dd4e157
AJ
17452013-03-07 Andreas Jaeger <aj@suse.de>
1746
1747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1748 bits/mman-linux.h.
1749
adbb8027
SP
17502013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1751
ce544b5b
SP
1752 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1753 Include mpa.h and declare __MPEXP.
1754 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1755 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1756 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1758 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1759 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1760 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1761
4cc149fd
SP
1762 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1763 (__slowpow): Use long double EXPL and LOGL functions to
1764 compute POW.
1765 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1766 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1767 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1768 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1769 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1770 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1771
e6ebd4a7
SP
1772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1773 intermediate variable to calculate exponent.
1774 (__sqr): Likewise.
1775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1776 Likewise.
1777 (__sqr): Likewise.
1778
82a9811d
SP
1779 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1780 [!NO__SQR]: Define __sqr.
1781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1782 and NO__SQR. Remove all code except __mul and __sqr. Include
1783 sysdeps/ieee754/dbl-64/mpa.c.
1784 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1785
adbb8027
SP
1786 [BZ #12723]
1787 * posix/Makefile (tests): Add tst-pathconf.
1788 * posix/tst-pathconf.c: New test case.
1789 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1790 _PC_PIPE_BUF.
1791 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1792
39120df9
PF
17932013-03-06 Patsy Franklin <pfrankli@redhat.com>
1794
1795 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1796
67525cb8
AJ
17972013-03-06 Andreas Jaeger <aj@suse.de>
1798
664a9ce4
AJ
1799 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1800 definition via __MAP_ANONYMOUS.
1801
8e39047d
AJ
1802 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1803 it's not part of Linux headers.
1804
67525cb8
AJ
1805 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1806 (MAP_HUGE_MASK): Define.
1807
1808 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1809 Define.
1810 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1811 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1812 Define.
1813 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1814 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1815 Define.
1816 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1817 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1818 Define.
1819 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1820
1821 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1822 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1823 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1824 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1825 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1826 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1827
1828 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1829 Handle f2fs.
1830
1831 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1832 Handle f2fs and efivarfs.
1833
1834 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1835 f2fs.
1836
1837 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1838 (EFIVARFS_MAGIC): Add.
1839 (F2FS_LINK_MAX): Add.
1840
e1b42695
PP
18412013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1842
1843 * stdio-common/vfprintf.c: Replace __builtin_expect with
1844 __glibc_unlikely.
1845
2d67d91a
JM
18462013-03-06 Joseph Myers <joseph@codesourcery.com>
1847
1848 [BZ #13550]
1849 * sysdeps/generic/bp-sym.h: Remove file.
1850 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1851 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1852 <bp-sym.h> and <bp-asm.h>.
1853 (__longjmp): Don't use BP_SYM.
1854 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1855 and <bp-asm.h>.
1856 (memcpy): Don't use BP_SYM.
1857 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1858 <bp-sym.h> and <bp-asm.h>.
1859 (memcpy): Don't use BP_SYM.
1860 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1861 <bp-asm.h>.
1862 (memcpy): Don't use BP_SYM.
1863 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1864 <bp-asm.h>.
1865 (memset): Don't use BP_SYM.
1866 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1867 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1868 (__bzero): Don't use BP_SYM.
1869 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1870 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1871 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1872 <bp-sym.h> and <bp-asm.h>.
1873 (memcmp): Don't use BP_SYM. Remove comment about bounded
1874 pointers.
1875 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1876 <bp-sym.h> and <bp-asm.h>.
1877 (memcpy): Don't use BP_SYM.
1878 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1879 <bp-sym.h> and <bp-asm.h>.
1880 (memset): Don't use BP_SYM.
1881 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1882 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1883 (__bzero): Don't use BP_SYM.
1884 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1885 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1886 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1887 <bp-sym.h> and <bp-asm.h>.
1888 (strncmp): Don't use BP_SYM. Remove comment about bounded
1889 pointers.
1890 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1891 <bp-sym.h> and <bp-asm.h>.
1892 (memcpy): Don't use BP_SYM.
1893 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1894 <bp-sym.h> and <bp-asm.h>.
1895 (memset): Don't use BP_SYM.
1896 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1897 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1898 (__bzero): Don't use BP_SYM.
1899 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1900 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1902 <bp-sym.h> and <bp-asm.h>.
1903 (__memchr): Don't use BP_SYM.
1904 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1905 <bp-sym.h> and <bp-asm.h>.
1906 (memcmp): Don't use BP_SYM. Remove comment about bounded
1907 pointers.
1908 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1909 <bp-sym.h> and <bp-asm.h>.
1910 (memcpy): Don't use BP_SYM.
1911 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1912 <bp-sym.h> and <bp-asm.h>.
1913 (__mempcpy): Don't use BP_SYM.
1914 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1915 <bp-sym.h> and <bp-asm.h>.
1916 (__memrchr): Don't use BP_SYM.
1917 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1918 <bp-sym.h> and <bp-asm.h>.
1919 (memset): Don't use BP_SYM.
1920 (__bzero): Likewise.
1921 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1922 <bp-sym.h> and <bp-asm.h>.
1923 (__rawmemchr): Don't use BP_SYM.
1924 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1925 <bp-sym.h> and <bp-asm.h>.
1926 (__STRCMP): Don't use BP_SYM.
1927 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1928 <bp-sym.h> and <bp-asm.h>.
1929 (strchr): Don't use BP_SYM.
1930 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1931 <bp-sym.h> and <bp-asm.h>.
1932 (__strchrnul): Don't use BP_SYM.
1933 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1934 <bp-sym.h> and <bp-asm.h>.
1935 (strlen): Don't use BP_SYM.
1936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1937 <bp-sym.h> and <bp-asm.h>.
1938 (strncmp): Don't use BP_SYM. Remove comment about bounded
1939 pointers.
1940 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1941 <bp-sym.h> and <bp-asm.h>.
1942 (__strnlen): Don't use BP_SYM.
1943 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1944 <bp-sym.h> and <bp-asm.h>.
1945 (__GI__setjmp): Don't use BP_SYM.
1946 (_setjmp): Likewise.
1947 (__sigsetjmp): Likewise.
1948 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1949 (L(start_addresses)): Don't use BP_SYM.
1950 (_start): Likewise.
1951 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1952 <bp-asm.h>.
1953 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1954 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1955 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1956 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1957 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1958 <bp-asm.h>.
1959 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1960 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1961 about bounded pointers.
1962 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1963 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1964 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1965 <bp-asm.h>.
1966 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1967 about bounded pointers. Remove GKM FIXME comments.
1968 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1969 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1970 <bp-asm.h>.
1971 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1972 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1973 Remove GKM FIXME comments.
1974 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1975 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1976 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1977 <bp-asm.h>.
1978 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1979 about bounded pointers. Remove GKM FIXME comment.
1980 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1981 and <bp-asm.h>.
1982 (strncmp): Don't use BP_SYM. Remove comment about bounded
1983 pointers.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1985 <bp-sym.h> and <bp-asm.h>.
1986 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1988 <bp-sym.h> and <bp-asm.h>.
1989 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1990 comment.
1991
cdcf361f
PP
19922013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1993
1994 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1995 call free(NULL).
1996
3c4a2b15
DM
19972013-03-05 David S. Miller <davem@davemloft.net>
1998
1999 * po/es.po: Update from translation team.
2000
cdcf361f 20012013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2002
2003 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2004 <bits/mman-linux.h>.
2005 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2006 is fine.
2007 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2008 <bits/mman-linux.h> to end of file.
2009 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2010 is fine.
2011 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2012 <bits/mman-linux.h> to end of file.
2013 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2014 is fine.
2015 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2016 <bits/mman-linux.h> to end of file.
2017
2018 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2019 (MCL_CURRENT, MCL_FUTURE): Define here.
2020
5f67c04f
AK
20212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2022
8a4473cc 2023 [BZ #15232]
5f67c04f
AK
2024 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2025 attribute_hidden.
2026 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2027
c3e94a95
AK
20282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2029
2030 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2031 fourth parameter needed for rt_sigprocmask syscall.
2032 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2033 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2034 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2035 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2036 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2037 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2038
cfb6382a
JM
20392013-03-04 Joseph Myers <joseph@codesourcery.com>
2040
2041 [BZ #13550]
2042 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2043 comment about bounded pointers.
2044 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2045 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2046
539d8e01
AJ
20472013-03-04 Andreas Jaeger <aj@suse.de>
2048
2049 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2050 common definitions.
2051
2052 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2053 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2054 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2056 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2058
2e167a70 20592013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2060
2061 [BZ #15055]
2062 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2063 __ieee754_sqrl instead of __sqrl.
2064
68508633
JM
20652013-03-01 Joseph Myers <joseph@codesourcery.com>
2066
2067 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2068 * sysdeps/powerpc/fpu_control.h: ... here.
2069 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2070 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2071 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2072 * sysdeps/powerpc/bits/mathinline.h: ... here.
2073
7775448e
RM
20742013-03-01 Roland McGrath <roland@hack.frob.com>
2075
2076 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2077 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2078 to just [NEED_DL_SYSINFO_DSO].
2079 * elf/dl-support.c: Likewise.
2080 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2081 * elf/rtld.c (dl_main): Likewise.
2082 * elf/setup-vdso.h (setup_vdso): Likewise.
2083 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2084 * sysdeps/unix/sysv/linux/dl-sysdep.c
2085 (_dl_discover_osversion): Likewise.
2086
4e9b5995
CD
20872013-03-01 Carlos O'Donell <carlos@redhat.com>
2088
2089 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2090 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2091
e23872c8
SP
20922013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2093
e5c74c63
SP
2094 * NEWS: Mention libm performance improvements and non-x86 PI
2095 futex support.
2096
e23872c8
SP
2097 * csu/libc-start.c (__pthread_initialize_minimal): Change
2098 function arguments.
2099 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2100
b5510883
JM
21012013-02-28 Joseph Myers <joseph@codesourcery.com>
2102
2103 [BZ #13550]
2104 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2105 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2106 <bp-sym.h> and <bp-asm.h>.
2107 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2108 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2109 and <bp-asm.h>.
2110 (memcpy): Don't use BP_SYM.
2111 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2112 <bp-asm.h>.
2113 (__mpn_add_n): Don't use BP_SYM.
2114 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2115 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2116 and <bp-asm.h>.
2117 (__mpn_addmul_1): Don't use BP_SYM.
2118 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2119 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2120 <bp-sym.h>.
2121 (_setjmp): Don't use BP_SYM.
2122 (__novmx_setjmp): Likewise.
2123 (__GI__setjmp): Likewise.
2124 (__vmx_setjmp): Likewise.
2125 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2126 <bp-sym.h>.
2127 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2128 (__bzero): Don't use BP_SYM.
2129 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2130 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2131 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2132 <bp-sym.h> and <bp-asm.h>.
2133 (memcpy): Don't use BP_SYM.
2134 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2135 <bp-sym.h> and <bp-asm.h>.
2136 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2137 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2138 <bp-sym.h> and <bp-asm.h>.
2139 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2140 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2141 <bp-asm.h>.
2142 (__mpn_lshift): Don't use BP_SYM.
2143 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2144 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2145 <bp-asm.h>.
2146 (memset): Don't use BP_SYM.
2147 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2148 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2149 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2150 <bp-asm.h>.
2151 (__mpn_mul_1): Don't use BP_SYM.
2152 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2153 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2154 <bp-sym.h> and <bp-asm.h>.
2155 (memcmp): Don't use BP_SYM.
2156 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2157 <bp-sym.h> and <bp-asm.h>.
2158 (memcpy): Don't use BP_SYM.
2159 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2160 <bp-sym.h> and <bp-asm.h>.
2161 (memset): Don't use BP_SYM.
2162 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2163 <bp-sym.h> and <bp-asm.h>.
2164 (strncmp): Don't use BP_SYM.
2165 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2166 <bp-sym.h> and <bp-asm.h>.
2167 (memcpy): Don't use BP_SYM.
2168 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2169 <bp-sym.h> and <bp-asm.h>.
2170 (memset): Don't use BP_SYM.
2171 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2172 <bp-sym.h> and <bp-asm.h>.
2173 (__memchr): Don't use BP_SYM.
2174 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2175 <bp-sym.h> and <bp-asm.h>.
2176 (memcmp): Don't use BP_SYM.
2177 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2178 <bp-sym.h> and <bp-asm.h>.
2179 (memcpy): Don't use BP_SYM.
2180 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2181 <bp-sym.h> and <bp-asm.h>.
2182 (__mempcpy): Don't use BP_SYM.
2183 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2184 <bp-sym.h> and <bp-asm.h>.
2185 (__memrchr): Don't use BP_SYM.
2186 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2187 <bp-sym.h> and <bp-asm.h>.
2188 (memset): Don't use BP_SYM.
2189 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2190 <bp-sym.h> and <bp-asm.h>.
2191 (__rawmemchr): Don't use BP_SYM.
2192 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2193 <bp-sym.h> and <bp-asm.h>.
2194 (__STRCMP): Don't use BP_SYM.
2195 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2196 <bp-sym.h> and <bp-asm.h>.
2197 (strchr): Don't use BP_SYM.
2198 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2199 <bp-sym.h> and <bp-asm.h>.
2200 (__strchrnul): Don't use BP_SYM.
2201 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2202 <bp-sym.h> and <bp-asm.h>.
2203 (strlen): Don't use BP_SYM.
2204 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2205 <bp-sym.h> and <bp-asm.h>.
2206 (strncmp): Don't use BP_SYM.
2207 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2208 <bp-sym.h> and <bp-asm.h>.
2209 (__strnlen): Don't use BP_SYM.
2210 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2211 <bp-asm.h>.
2212 (__mpn_rshift): Don't use BP_SYM.
2213 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2214 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2215 <bp-sym.h> and <bp-asm.h>.
2216 (__sigsetjmp): Don't use BP_SYM.
2217 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2218 (L(start_addresses)): Don't use BP_SYM.
2219 (_start): Likewise.
2220 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2221 <bp-asm.h>.
2222 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2223 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2224 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2225 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2226 <bp-asm.h>.
2227 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2228 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2229 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2230 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2231 <bp-asm.h>.
2232 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2233 comments.
2234 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2235 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2236 <bp-asm.h>.
2237 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2238 FIXME comments.
2239 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2240 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2241 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2242 <bp-asm.h>.
2243 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2244 comment.
2245 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2246 and <bp-asm.h>.
2247 (strncmp): Don't use BP_SYM,
2248 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2249 <bp-asm.h>.
2250 (__mpn_sub_n): Don't use BP_SYM.
2251 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2252 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2253 and <bp-asm.h>.
2254 (__mpn_submul_1): Don't use BP_SYM.
2255 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2257 <bp-sym.h> and <bp-asm.h>.
2258 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2260 <bp-sym.h> and <bp-asm.h>.
2261 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2262 comment.
2263
8d19fe64
SP
22642013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2265
2266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2267 Use ZK to minimize writes to Z.
2268 (sub_magnitudes): Simplify code a bit.
2269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2270 Use ZK to minimize writes to Z.
2271 (sub_magnitudes): Simplify code a bit.
2272
85bd816a
RM
22732013-02-27 Roland McGrath <roland@hack.frob.com>
2274
2275 * csu/gmon-start.c: Add special exception to license text.
2276
b5977bf2
RH
22772013-02-27 Richard Henderson <rth@redhat.com>
2278
2279 * scripts/config.guess: Update from config.git.
2280 * scripts/config.sub: Likewise.
2281
11d6e2f2
SP
22822013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2283
09c14ed2
SP
2284 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2285
a688864e
SP
2286 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2287
6295157a
SP
2288 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2289
b8de2202
SP
2290 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2291
11d6e2f2
SP
2292 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2293
7e80ddb8
RM
22942013-02-26 Roland McGrath <roland@hack.frob.com>
2295
2296 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2297 [$(build-shared = yes].
7e80ddb8 2298
7da6d9ed
SP
22992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2300
45f05884
SP
2301 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2302 (__mul): Reduce iterations for calculating mantissa.
2303
2236d359
SP
2304 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2305 MPTWO.
2306 (__mpranred): Likewise.
2307
7da6d9ed
SP
2308 [BZ #15160]
2309 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2310 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2311
b7688c42
PE
23122013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2313
2314 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2315 Define __attribute__.
2316
53a5c423
SP
23172013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2318
2319 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2320 unused.
2321 * posix/regex_internal.h (__attribute): Remove.
2322 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2323 (re_string_context_at): Likewise.
2324 (bitset_not): Use __attribute__ and mark function as possibly
2325 unused.
2326 (bitset_merge): Likewise.
2327 (bitset_mask): Likewise.
2328 (re_string_char_size_at): Likewise.
2329 (re_string_wchar_at): Likewise.
2330 (re_string_elem_size_at): Likewise.
2331
60f5a8b5
SP
23322013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2333
2a983a2e
SP
2334 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2335 code.
2336 (cc32): Likewise.
2337
e69804d1
SP
2338 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2339 (__acr): Likewise.
2340 (__cpy): Likewise.
2341 (norm): Likewise.
2342 (denorm): Likewise.
2343 (__dbl_mp): Likewise.
2344 (add_magnitudes): Likewise.
2345 (sub_magnitudes): Likewise.
2346 (__mul): Likewise.
2347 (__inv): Likewise.
2348
2f22a1e8
SP
2349 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2350 style.
2351
8930ddc7
SP
2352 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2353 style.
2354
dc60cb11
SP
2355 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2356 code.
2357
60f5a8b5
SP
2358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2359 up changes with default code.
2360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2361 Likewise.
2362
b4d1fd33
AM
23632013-02-24 Allan McRae <allan@archlinux.org>
2364
faf6f8bc
AM
2365 * manual/socket.texi (The Internet Namespace): Order menu items
2366 to match that in the file.
2367
b4d1fd33
AM
2368 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2369 node listing of the info page menu.
2370
2366713d
JM
23712013-02-21 Joseph Myers <joseph@codesourcery.com>
2372
2373 [BZ #13550]
2374 * sysdeps/i386/bp-asm.h: Remove file.
2375 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2376 (PARMS): Do not use macros from bp-asm.h.
2377 (S1): Likewise.
2378 (S2): Likewise.
2379 (SIZE): Likewise.
2380 (__mpn_add_n): Do not use BP_SYM
2381 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2382 "bp-asm.h".
2383 (PARMS): Do not use macros from bp-asm.h.
2384 (S1): Likewise.
2385 (SIZE): Likewise.
2386 (__mpn_addmul_1): Do not use BP_SYM
2387 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2388 "bp-asm.h".
2389 (PARMS): Do not use macros from bp-asm.h.
2390 (SIGMSK): Likewise.
2391 (_setjmp): Likewise. Do not use BP_SYM.
2392 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2393 "bp-asm.h".
2394 (PARMS): Do not use macros from bp-asm.h.
2395 (SIGMSK): Likewise.
2396 (setjmp): Likewise. Do not use BP_SYM.
2397 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2398 "bp-asm.h".
2399 (PARMS): Do not use macros from bp-asm.h.
2400 (__frexp): Do not use BP_SYM.
2401 (frexp): Likewise.
2402 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2403 "bp-asm.h".
2404 (PARMS): Do not use macros from bp-asm.h.
2405 (__frexpf): Do not use BP_SYM.
2406 (frexpf): Likewise.
2407 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2408 "bp-asm.h".
2409 (PARMS): Do not use macros from bp-asm.h.
2410 (__frexpl): Do not use BP_SYM.
2411 (frexpl): Likewise.
2412 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2413 "bp-asm.h".
2414 (PARMS): Do not use macros from bp-asm.h.
2415 (__remquo): Do not use BP_SYM.
2416 (remquo): Likewise.
2417 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2418 "bp-asm.h".
2419 (PARMS): Do not use macros from bp-asm.h.
2420 (__remquof): Do not use BP_SYM.
2421 (remquof): Likewise.
2422 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2423 "bp-asm.h".
2424 (PARMS): Do not use macros from bp-asm.h.
2425 (__remquol): Do not use BP_SYM.
2426 (remquol): Likewise.
2427 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2428 "bp-asm.h".
2429 (PARMS): Do not use macros from bp-asm.h.
2430 (DEST): Likewise.
2431 (SRC): Likewise.
2432 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2433 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2434 "bp-asm.h".
2435 (PARMS): Do not use macros from bp-asm.h.
2436 (strlen): Do not use BP_SYM.
2437 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2438 "bp-asm.h".
2439 (PARMS): Do not use macros from bp-asm.h.
2440 (S1): Likewise.
2441 (S2): Likewise.
2442 (SIZE): Likewise.
2443 (__mpn_add_n): Do not use BP_SYM.
2444 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2445 "bp-asm.h".
2446 (PARMS): Do not use macros from bp-asm.h.
2447 (S1): Likewise.
2448 (SIZE): Likewise.
2449 (__mpn_addmul_1): Do not use BP_SYM.
2450 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2451 weak_alias.
2452 (bzero): Likewise.
2453 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2454 "bp-asm.h".
2455 (PARMS): Do not use macros from bp-asm.h.
2456 (S): Likewise.
2457 (SIZE): Likewise.
2458 (__mpn_lshift): Do not use BP_SYM.
2459 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2460 "bp-asm.h".
2461 (PARMS): Do not use macros from bp-asm.h.
2462 (DEST): Likewise.
2463 (SRC): Likewise.
2464 (LEN): Likewise.
2465 (memcpy): Likewise. Do not use BP_SYM.
2466 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2467 libc_hidden_def and weak_alias.
2468 (mempcpy): Do not use BP_SYM in weak_alias.
2469 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2470 "bp-asm.h".
2471 (PARMS): Do not use macros from bp-asm.h.
2472 (DEST): Likewise.
2473 (LEN): Likewise.
2474 [!BZERO_P] (CHR): Likewise.
2475 (memset): Likewise. Do not use BP_SYM.
2476 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2477 "bp-asm.h".
2478 (PARMS): Do not use macros from bp-asm.h.
2479 (S1): Likewise.
2480 (SIZE): Likewise.
2481 (__mpn_mul_1): Do not use BP_SYM.
2482 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2483 "bp-asm.h".
2484 (PARMS): Do not use macros from bp-asm.h.
2485 (S): Likewise.
2486 (SIZE): Likewise.
2487 (__mpn_rshift): Do not use BP_SYM.
2488 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2489 "bp-asm.h".
2490 (PARMS): Do not use macros from bp-asm.h.
2491 (STR): Likewise.
2492 (CHR): Likewise.
2493 (strchr): Likewise. Do not use BP_SYM.
2494 (index): Do not use BP_SYM in weak_alias.
2495 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2496 "bp-asm.h".
2497 (PARMS): Do not use macros from bp-asm.h.
2498 (DEST): Likewise.
2499 (SRC): Likewise.
2500 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2501 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2502 "bp-asm.h".
2503 (PARMS): Do not use macros from bp-asm.h.
2504 (strlen): Do not use BP_SYM.
2505 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2506 "bp-asm.h".
2507 (PARMS): Do not use macros from bp-asm.h.
2508 (S1): Likewise.
2509 (S2): Likewise.
2510 (SIZE): Likewise.
2511 (__mpn_sub_n): Do not use BP_SYM.
2512 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2513 "bp-asm.h".
2514 (PARMS): Do not use macros from bp-asm.h.
2515 (S1): Likewise.
2516 (SIZE): Likewise.
2517 (__mpn_submul_1): Do not use BP_SYM.
2518 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2519 "bp-asm.h".
2520 (PARMS): Do not use macros from bp-asm.h.
2521 (S1): Likewise.
2522 (S2): Likewise.
2523 (SIZE): Likewise.
2524 (__mpn_add_n): Do not use BP_SYM.
2525 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2526 weak_alias.
2527 (bzero): Likewise.
2528 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2529 "bp-asm.h".
2530 (PARMS): Do not use macros from bp-asm.h.
2531 (BLK2): Likewise.
2532 (LEN): Likewise.
2533 (memcmp): Do not use BP_SYM.
2534 (bcmp): Do not use BP_SYM in weak_alias.
2535 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2536 "bp-asm.h".
2537 (PARMS): Do not use macros from bp-asm.h.
2538 (DEST): Likewise.
2539 (SRC): Likewise.
2540 (LEN): Likewise.
2541 (memcpy): Likewise. Do not use BP_SYM.
2542 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2543 "bp-asm.h".
2544 (PARMS): Do not use macros from bp-asm.h.
2545 (DEST): Likewise.
2546 (SRC): Likewise.
2547 (LEN): Likewise.
2548 (memmove): Likewise. Do not use BP_SYM.
2549 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2550 "bp-asm.h".
2551 (PARMS): Do not use macros from bp-asm.h.
2552 (DEST): Likewise.
2553 (SRC): Likewise.
2554 (LEN): Likewise.
2555 (__mempcpy): Likewise. Do not use BP_SYM.
2556 (mempcpy): Do not use BP_SYM in weak_alias.
2557 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2558 "bp-asm.h".
2559 (PARMS): Do not use macros from bp-asm.h.
2560 (DEST): Likewise.
2561 (LEN): Likewise.
2562 [!BZERO_P] (CHR): Likewise.
2563 (memset): Likewise. Do not use BP_SYM.
2564 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2565 "bp-asm.h".
2566 (PARMS): Do not use macros from bp-asm.h.
2567 (STR2): Likewise.
2568 (strcmp): Do not use BP_SYM.
2569 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2570 "bp-asm.h".
2571 (PARMS): Do not use macros from bp-asm.h.
2572 (STR): Likewise.
2573 (DELIM): Likewise.
2574 [USE_AS_STRTOK_R] (SAVE): Likewise.
2575 (FUNCTION): Likewise. Do not use BP_SYM.
2576 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2577 aliases.
2578 (strtok_r): Likewise.
2579 (__GI___strtok_r): Likewise.
2580 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2581 (PARMS): Do not use macros from bp-asm.h.
2582 (S): Likewise.
2583 (SIZE): Likewise.
2584 (__mpn_lshift): Do not use BP_SYM.
2585 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2586 (PARMS): Do not use macros from bp-asm.h.
2587 (STR): Likewise.
2588 (CHR): Likewise.
2589 (__memchr): Do not use BP_SYM.
2590 (memchr): Do not use BP_SYM in weak_alias.
2591 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2592 (PARMS): Do not use macros from bp-asm.h.
2593 (BLK2): Likewise.
2594 (LEN): Likewise.
2595 (memcmp): Do not use BP_SYM.
2596 (bcmp): Do not use BP_SYM in weak_alias.
2597 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2598 (PARMS): Do not use macros from bp-asm.h.
2599 (S1): Likewise.
2600 (SIZE): Likewise.
2601 (__mpn_mul_1): Do not use BP_SYM.
2602 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2603 "bp-asm.h".
2604 (PARMS): Do not use macros from bp-asm.h.
2605 (STR): Likewise.
2606 (CHR): Likewise.
2607 (__rawmemchr): Do not use BP_SYM.
2608 (rawmemchr): Do not use BP_SYM in weak_alias.
2609 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2610 (PARMS): Do not use macros from bp-asm.h.
2611 (S): Likewise.
2612 (SIZE): Likewise.
2613 (__mpn_rshift): Do not use BP_SYM.
2614 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2615 (PARMS): Do not use macros from bp-asm.h.
2616 (SIGMSK): Likewise.
2617 (__sigsetjmp): Likewise. Do not use BP_SYM.
2618 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2619 (_start): Do not use BP_SYM.
2620 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2621 (PARMS): Do not use macros from bp-asm.h.
2622 (DEST): Likewise.
2623 (SRC): Likewise.
2624 (__stpcpy): Likewise. Do not use BP_SYM.
2625 (stpcpy): Do not use BP_SYM in weak_alias.
2626 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2627 "bp-asm.h".
2628 (PARMS): Do not use macros from bp-asm.h.
2629 (DEST): Likewise.
2630 (SRC): Likewise.
2631 (LEN): Likewise.
2632 (__stpncpy): Likewise. Do not use BP_SYM.
2633 (stpncpy): Do not use BP_SYM in weak_alias.
2634 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2635 (PARMS): Do not use macros from bp-asm.h.
2636 (STR): Likewise.
2637 (CHR): Likewise.
2638 (strchr): Likewise. Do not use BP_SYM.
2639 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2640 "bp-asm.h".
2641 (PARMS): Do not use macros from bp-asm.h.
2642 (STR): Likewise.
2643 (CHR): Likewise.
2644 (__strchrnul): Likewise. Do not use BP_SYM.
2645 (strchrnul): Do not use BP_SYM in weak_alias.
2646 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2647 "bp-asm.h".
2648 (PARMS): Do not use macros from bp-asm.h.
2649 (STOP): Likewise.
2650 (strcspn): Do not use BP_SYM.
2651 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2652 "bp-asm.h".
2653 (PARMS): Do not use macros from bp-asm.h.
2654 (STR): Likewise.
2655 (STOP): Likewise.
2656 (strpbrk): Likewise. Do not use BP_SYM.
2657 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2658 "bp-asm.h".
2659 (PARMS): Do not use macros from bp-asm.h.
2660 (STR): Likewise.
2661 (CHR): Likewise.
2662 (strrchr): Likewise. Do not use BP_SYM.
2663 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2664 (PARMS): Do not use macros from bp-asm.h.
2665 (SKIP): Likewise.
2666 (strspn): Do not use BP_SYM.
2667 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2668 (PARMS): Do not use macros from bp-asm.h.
2669 (STR): Likewise.
2670 (DELIM): Likewise.
2671 (SAVE): Likewise.
2672 (FUNCTION): Likewise. Do not use BP_SYM.
2673 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2674 aliases.
2675 (strtok_r): Likewise.
2676 (__GI___strtok_r): Likewise.
2677 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2678 (PARMS): Do not use macros from bp-asm.h.
2679 (S1): Likewise.
2680 (S2): Likewise.
2681 (SIZE): Likewise.
2682 (__mpn_sub_n): Do not use BP_SYM.
2683 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2684 "bp-asm.h".
2685 (PARMS): Do not use macros from bp-asm.h.
2686 (S1): Likewise.
2687 (SIZE): Likewise.
2688 (__mpn_submul_1): Do not use BP_SYM.
2689 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2690 <bp-sym.h>.
2691 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2692 and <bp-asm.h>.
2693 (PARMS): Do not use macros from bp-asm.h.
2694 (FLAGS): Likewise.
2695 (PTID): Likewise.
2696 (TLS): Likewise.
2697 (CTID): Likewise.
2698 (__clone): Do not use BP_SYM.
2699 (clone): Do not use BP_SYM in weak_alias.
2700 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2701 and <bp-asm.h>.
2702 (PARMS): Do not use macros from bp-asm.h.
2703 (LEN): Likewise.
2704 (__mmap64): Do not use BP_SYM.
2705 (mmap64): Do not use BP_SYM in weak_alias.
2706 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2707 <bp-sym.h> and <bp-asm.h>.
2708 (PARMS): Do not use macros from bp-asm.h.
2709 (__posix_fadvise64_l64): Do not use BP_SYM.
2710 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2711 (PARMS): Do not use macros from bp-asm.h.
2712 (NSOPS): Likewise.
2713 (semtimedop): Do not use BP_SYM.
2714 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2715 and <bp-asm.h>.
2716
582a3cff
AM
27172013-02-21 Allan McRae <allan@archlinux.org>
2718
2719 * manual/message.texi (Charset conversion in gettext):
2720 Move @end statement to beginning of line.
2721
bab8a695
SP
27222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2723
80945231
SP
2724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2725 static.
2726 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2727 Likewise.
2728
bab8a695
SP
2729 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2730 (denorm): Likewise.
2731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2733
e21d7aa7
AK
27342013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2735
2736 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2737 tail-call to the resolved function if pltexit isn't needed.
2738
4c7a4263
SP
27392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2740
2741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2742 or Y being zero as being unlikely.
2743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2744 Likewise.
2745
41f49342
CD
27462013-02-20 Carlos O'Donell <carlos@redhat.com>
2747
2748 * manual/nss.texi (System Databases and Name Service Switch):
2749 Remove frobnicate @pxref.
2750
50022a93
TS
27512013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2752
2753 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2754 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2755
08cbd996
PM
27562013-02-20 Petr Machata <pmachata@redhat.com>
2757
2758 * elf/elf.h (R_ARM_TARGET1): New macro.
2759 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2760 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2761 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2762 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2763 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2764 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2765 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2766 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2767 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2768 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2769 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2770 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2771 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2772 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2773 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2774 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2775 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2776 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2777 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2778 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2779 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2780 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2781 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2782 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2783 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2784 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2785 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2786 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2787 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2788 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2789 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2790 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2791 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2792 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2793 (R_ARM_THM_GOT_BREL12): Likewise.
2794 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2795 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2796 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2797 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2798 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2799 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2800 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2801 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2802 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2803
c7b275d6
TS
28042013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2805
2806 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2807 __attribute_used__ to __attribute__ ((unused)).
2808
20cd7fb3
SP
28092013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2810
2811 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2812 powerpc mpa.c.
2813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2814 comment formatting.
2815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2816
92945b52
JM
28172013-02-19 Joseph Myers <joseph@codesourcery.com>
2818
2819 [BZ #13550]
2820 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2821 Remove macro.
2822 (ENTER): Remove both macro definitions.
2823 (LEAVE): Likewise.
2824 (CHECK_BOUNDS_LOW): Likewise.
2825 (CHECK_BOUNDS_HIGH): Likewise.
2826 (CHECK_BOUNDS_BOTH): Likewise.
2827 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2828 (RETURN_BOUNDED_POINTER): Likewise.
2829 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2830 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2831 (POP_ERRNO_LOCATION_RETURN): Likewise.
2832 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2833 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2834 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2835 macros.
2836 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2837 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2838 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2839 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2840 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2841 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2842 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2843 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2844 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2845 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2846 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2847 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2848 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2849 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2850 removed macros.
2851 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2852 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2853 macros.
2854 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2855 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2856 * sysdeps/i386/i586/memset.S (memset): Likewise.
2857 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2858 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2859 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2860 macros.
2861 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2862 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2863 Change uses of L(2) to L(out).
2864 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2865 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2866 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2867 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2868 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2869 removed macros.
2870 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2871 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2872 macros.
2873 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2874 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2875 (RETURN): Do not use macro LEAVE.
2876 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2877 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2878 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2879 * sysdeps/i386/i686/memset.S (memset): Likewise.
2880 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2881 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2882 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2883 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2884 Likewise.
2885 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2886 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2887 L(1_2) and L(1_3) into L(1).
2888 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2889 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2890 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2891 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2892 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2893 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2894 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2895 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2896 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2897 macros.
2898 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2899 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2900 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2901 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2902 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2903 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2904 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2905 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2906 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2907 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2908 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2909 * sysdeps/i386/strspn.S (strspn): Likewise.
2910 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2911 conditional code.
2912 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2913 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2914 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2915 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2916 L(1_3) into L(1_1).
2917 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2918 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2919 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2920 macros.
2921 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2922
2389741a
JJ
29232013-02-19 Jakub Jelinek <jakub@redhat.com>
2924
2925 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2926 macro.
2927
2016b3cd
SP
29282013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2929
e4f22324
SP
2930 * math/atest-exp.c (exp_mpn): Remove ROUND.
2931 * math/atest-exp2.c (exp_mpn): Likewise.
2932 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2933
2016b3cd
SP
2934 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2935 * stdlib/tst-tls-atexit-lib.c: Likewise.
2936 * stdlib/tst-tls-atexit.c: Likewise.
2937
4be9b544
MF
29382013-02-18 Mike Frysinger <vapier@gentoo.org>
2939
2940 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2941 and __attribute_alloc_size__.
2942
2f62b9ee
MF
29432013-02-18 Mike Frysinger <vapier@gentoo.org>
2944
2945 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2946 __attribute_alloc_size__.
2947 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2948 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2949
6ff444c4
MF
29502013-02-18 Mike Frysinger <vapier@gentoo.org>
2951
2952 * include/programs/xmalloc.h: New file.
2953 * catgets/gencat.c: Include it.
2954 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2955 * elf/pldd.c: Likewise.
2956 * iconv/iconv_charmap.c: Likewise.
2957 * iconv/iconvconfig.c: Likewise.
2958 * iconv/strtab.c: Likewise.
2959 * locale/programs/locale.c: Likewise.
2960 * locale/programs/localedef.h: Likewise.
2961 * locale/programs/simple-hash.c: Likewise.
2962 * nscd/nscd.h: Likewise.
2963 * nss/makedb.c: Likewise.
2964 * sysdeps/generic/ldconfig.h: Likewise.
2965
be179c8a
SP
29662013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2967
ba384f6e
SP
2968 * Versions.def: Add GLIBC_2.18.
2969 * include/link.h (struct link_map): New member l_tls_dtor_count.
2970 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2971 (__call_tls_dtors): Likewise.
2972 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2973 __cxa_thread_atexit_impl.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2975 Likewise.
2976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2977 Likewise.
2978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2979 Likewise.
2980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2981 Likewise.
2982 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2984 Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2986 Likewise.
2987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2989 Likewise.
2990 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2991 (tests): Add test case tst-tls-atexit.
2992 (modules-names): Add shared library for tst-tls-atexit.
2993 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2994 (GLIBC_PRIVATE): Add __call_tls_dtors.
2995 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2996 for libstdc++.
2997 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2998 * stdlib/tst-tls-atexit.c: New test case.
2999 * stdlib/tst-tls-atexit-lib.c: New test case.
3000
ffaa74cf 3001 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3002
be179c8a
SP
3003 * elf/Versions (ld): Add _dl_find_dso_for_object.
3004 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3005 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3006 (dl_open_worker): Use _dl_find_dso_for_object.
3007 * elf/dl-sym.c (do_sym): Likewise.
3008 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3009
f78b5caa
AK
30102013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3011
3012 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3013 Syntactic changes only.
3014 (_dl_runtime_profile): Do a tail-call to the resolved function.
3015
29691210
JM
30162013-02-17 Joseph Myers <joseph@codesourcery.com>
3017
3018 [BZ #13550]
3019 * sysdeps/x86_64/bp-asm.h: Remove file.
3020 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3021 <bp-sym.h> and <bp-asm.h>.
3022 (__clone): Do not use BP_SYM.
3023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3024 <bp-sym.h> and <bp-asm.h>.
3025 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3026 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3027 "bp-asm.h".
3028 (_setjmp): Do not use BP_SYM.
3029 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3030 "bp-asm.h".
3031 (setjmp): Do not use BP_SYM.
3032 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3033 libc_hidden_def.
3034 (mempcpy): Do not use BP_SYM in weak_alias.
3035 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3036 "bp-asm.h".
3037 (strchr): Do not use BP_SYM.
3038 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3039 "bp-asm.h".
3040 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3041 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3042 (_start): Do not use BP_SYM.
3043 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3044 "bp-asm.h".
3045 (strcat): Do not use BP_SYM.
3046 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3047 "bp-asm.h".
3048 (STRCMP): Do not use BP_SYM.
3049 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3050 "bp-asm.h".
3051 (STRCPY): Do not use BP_SYM.
3052 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3053 "bp-asm.h".
3054 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3055 "bp-asm.h".
3056 (FUNCTION): Do not use BP_SYM.
3057 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3058 weak_alias.
3059 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3060
f238fd19
AJ
30612013-02-17 Andreas Jaeger <aj@suse.de>
3062
3063 * time/Versions: Sort entries.
3064 * string/Versions: Likewise.
3065 * resolv/Versions: Likewise.
3066 * posix/Versions: Likewise.
3067 * iconv/Versions: Likewise.
3068 * elf/Versions: Likewise.
3069 * wcsmbs/Versions: Likewise.
3070
bd07f23c 30712013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3072
22af19f9
SP
3073 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3074 loop termination condition.
3075
4709fe76
SP
3076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3077 variable to calculate EZ.
3078 (__sqr): Likewise.
2d0e0f29
SP
3079
3080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3081 the lower precision input.
3082
daaa7713
JM
30832013-02-15 Joseph Myers <joseph@codesourcery.com>
3084
3085 [BZ #13550]
3086 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3087 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3088 (run-via-rtld-prefix): Do not handle %-bp tests.
3089 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3090 (all-object-suffixes): Remove .ob.
3091 (bppfx): Remove variable.
3092 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3093 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3094 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3095 [$(build-bounded) = yes] (libtype.ob): Likewise.
3096 * Makerules (elide-routines.ob): Remove variable.
3097 (do-tests-clean): Do not handle *-bp.out.
3098 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3099 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3100 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3101 (tests): Do not include $(tests-bp.out).
3102 (xtests): Do not include $(xtests-bp.out).
3103 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3104 [$(build-bounded) = yes] ($(addprefix
3105 $(objpfx),$(binaries-bounded))): Remove rule.
3106 ($(objpfx)%-bp.out): Remove rule.
3107 * config.make.in (build-bounded): Remove variable.
3108 * crypt/Makefile [$(build-bounded) = yes]
3109 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3110 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3111 append to variable.
3112 [$(build-bounded) = yes] (install-lib): Likewise.
3113 [$(build-bounded) = yes] (generated): Likewise.
3114 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3115 Remove rule.
3116 * intl/Makefile [$(build-bounded) = yes]
3117 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3118 * math/Makefile [$(build-bounded) = yes]
3119 ($(tests:%=$(objpfx)%-bp): Likewise.
3120 * misc/Makefile [$(build-bounded) = yes]
3121 ($(objpfx)tst-tsearch-bp): Likewise.
3122 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3123 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3124 Remove dependency.
3125 * string/Makefile (o-objects.ob): Remove variable.
3126 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3127 (CFLAGS-.ob): Remove variable.
3128 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3129 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3130 both definitions of variable.
3131 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3132 (ASFLAGS-.ob): Remove variable.
3133
e97ed6dd
JM
31342013-02-14 Joseph Myers <joseph@codesourcery.com>
3135
2bdd4ca6
JM
3136 [BZ #13550]
3137 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3138 Remove __BOUNDED_POINTERS__ from condition.
3139 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3140 * string/bits/string2.h [!__NO_STRING_INLINES &&
3141 !__BOUNDED_POINTERS__]: Likewise.
3142 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3143 Likewise.
3144 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3145 Remove conditional code.
3146 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3147 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3148 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3149 condition.
3150
e97ed6dd
JM
3151 [BZ #13550]
3152 * csu/libc-start.c: Do not include <bp-sym.h>.
3153 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3154 * elf/dl-open.c: Do not include <bp-sym.h>.
3155 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3156 * math/fegetenv.c: Do not include <bp-sym.h>.
3157 (fegetenv): Do not use BP_SYM in versioned symbols.
3158 * nptl/sysdeps/pthread/bits/libc-lockP.h
3159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3160 <bp-sym.h>.
3161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3162 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3164 (__pthread_mutex_destroy): Likewise.
3165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3166 (__pthread_mutex_lock): Likewise.
3167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3168 (__pthread_mutex_trylock): Likewise.
3169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3170 (__pthread_mutex_unlock): Likewise.
3171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3172 (__pthread_mutexattr_init): Likewise.
3173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3174 (__pthread_mutexattr_destroy): Likewise.
3175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3176 (__pthread_mutexattr_settype): Likewise.
3177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3178 (__pthread_rwlock_init): Likewise.
3179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3180 (__pthread_rwlock_destroy): Likewise.
3181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3182 (__pthread_rwlock_rdlock): Likewise.
3183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3184 (__pthread_rwlock_tryrdlock): Likewise.
3185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3186 (__pthread_rwlock_wrlock): Likewise.
3187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3188 (__pthread_rwlock_trywrlock): Likewise.
3189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3190 (__pthread_rwlock_unlock): Likewise.
3191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3192 (__pthread_key_create): Likewise.
3193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3194 (__pthread_setspecific): Likewise.
3195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3196 (__pthread_getspecific): Likewise.
3197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3198 Likewise.
3199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3200 (_pthread_cleanup_push_defer): Likewise.
3201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3202 (_pthread_cleanup_pop_restore): Likewise.
3203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3204 (pthread_setcancelstate): Likewise.
3205 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3206 <bp-sym.h>.
3207 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3208 (memchr): Do not use BP_SYM in weak_alias.
3209 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3210 (fegetenv): Do not use BP_SYM in versioned symbols.
3211 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3212 (fesetenv): Do not use BP_SYM in versioned symbols.
3213 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3214 (feupdateenv): Do not use BP_SYM in versioned symbols.
3215 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3216 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3217 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3218 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3219 (open64): Do not use BP_SYM in weak_alias.
3220 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3221 (fegetenv): Do not use BP_SYM in versioned symbols.
3222 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3223 (fesetenv): Do not use BP_SYM in versioned symbols.
3224 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3225 (feupdateenv): Do not use BP_SYM in versioned symbols.
3226 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3227 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3228 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3229 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3230 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3231 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3232 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3233 <bp-sym.h>.
3234 (__libc_start_main): Do not use BP_SYM.
3235
d6752ccd
SP
32362013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3237
cb57ce60
SP
3238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3239 redundant return line.
3240 (norm): Likewise.
3241 (denorm): Likewise.
3242 (dbl_mp): Likewise.
3243 (sub_magnitudes): Likewise.
3244 (__add): Likewise.
3245 (__sub): Likewise.
3246 (__mul): Likewise.
3247 (__inv): Likewise.
3248 (__dvd): Likewise.
3249 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3250 (norm): Likewise.
3251 (denorm): Likewise.
3252 (dbl_mp): Likewise.
3253 (sub_magnitudes): Likewise.
3254 (__add): Likewise.
3255 (__sub): Likewise.
3256 (__mul): Likewise.
3257 (__inv): Likewise.
3258 (__dvd): Likewise.
3259
f414520d
SP
3260 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3261 instead of __mul.
3262 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3263 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3264 (cc32): Likewise.
3265
d6752ccd
SP
3266 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3267 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3269 of __mul for squares.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3271 function
3272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3273 Likewise.
3274 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3275 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3276
70d9946a
JM
32772013-02-13 Joseph Myers <joseph@codesourcery.com>
3278
3279 [BZ #13550]
3280 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3281 code.
3282 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3283 prototype or function definition. Rename ubp_* variables and
3284 parameters. Remove argv definitions conditional on
3285 [__BOUNDED_POINTERS__].
3286 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3287 * elf/dl-runtime.c (_dl_fixup): Likewise.
3288 * include/set-hooks.h (RUN_HOOK): Likewise.
3289 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3290 definition.
3291 * string/strcpy.c (strcpy): Do not use __unbounded.
3292 * sysdeps/generic/frame.h (struct layout): Likewise.
3293 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3294 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3295 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3296 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3297 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3298 (__backtrace): Likewise.
3299 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3300 use __ptrvalue.
3301 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3302 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3303 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3304 Likewise.
3305 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3306 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3307 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3308 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3309 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3310 Do not use __unbounded.
3311 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3312 Rename __unboundedrlimits parameter to rlimits in prototype.
3313 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3314 Do not use __unbounded.
3315 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3316 not use __ptrvalue.
3317 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3318 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3319 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3320 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3321 __ptrvalue or __unbounded.
3322 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3323 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3324 use __unbounded.
3325 (__new_msgctl): Do not use __ptrvalue.
3326 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3327 __unbounded.
3328 (__libc_msgrcv): Do not use __ptrvalue.
3329 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3330 startup_info): Do not use __unbounded.
3331 (__libc_start_main): Likewise. Rename ubp_* variables and
3332 parameters. Remove argv definitions conditional on
3333 [__BOUNDED_POINTERS__].
3334 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3335 __ptrvalue.
3336 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3337 use __unbounded.
3338 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3339 or __ptrvalue.
3340 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3341 use __unbounded.
3342 (__new_shmctl): Do not use __ptrvalue.
3343 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3344 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3345 Likewise.
3346 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3347 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3348 (__libc_sigaction): Likewise.
3349 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3350 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3351 Likewise.
3352 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3353
cc7834d6
OB
33542013-02-13 Ondřej Bílka <neleai@seznam.cz>
3355
ffb1ec7b 3356 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3357
3358 * string/mempcpy.c: Implement by calling memcpy.
3359
bdf02814
SP
33602013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3361
c2af38aa
SP
3362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3363
4e92d59e
SP
3364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3365 evaluation.
3366
909279a5
SP
3367 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3368 values in the mantissa.
3369
bdf02814
SP
3370 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3371 minimize writes to Z.
3372 (sub_magnitudes): Simplify code a bit.
3373
cd525923
RM
33742013-02-12 Roland McGrath <roland@hack.frob.com>
3375
3376 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3377 from the message. The linker prefixes all warnings with that already.
3378
7e2f0d2d
AS
33792013-02-12 Andreas Schwab <schwab@suse.de>
3380
a445af0b
AS
3381 [BZ #15078]
3382 * posix/regexec.c (extend_buffers): Add parameter min_len.
3383 (check_matching): Pass minimum needed length.
3384 (clean_state_log_if_needed): Likewise.
3385 (get_subexp): Likewise.
3386 * posix/Makefile (tests): Add bug-regex34.
3387 (bug-regex34-ENV): Define.
3388 * posix/bug-regex34.c: New file.
3389
7e2f0d2d
AS
3390 [BZ #11561]
3391 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3392 elements compare against the byte sequence of it, not its name.
3393 * posix/Makefile (tests): Add bug-regex35.
3394 (bug-regex35-ENV): Define.
3395 * posix/bug-regex35.c: New file.
3396
a175b684
TV
33972013-02-11 Tom de Vries <tom@codesourcery.com>
3398
3399 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3400 comment.
3401 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3402 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3403 (CHECK_EOL): Add undef.
3404
310998fe 34052013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3406
3407 * bits/stdlib-bsearch.h: New file.
3408 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3409 * stdlib/stdlib.h: Likewise.
41eda41d 3410
8ded91fb
RM
34112013-02-11 Roland McGrath <roland@hack.frob.com>
3412
3413 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3414 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3415 declaration.
3416 * manual/search.texi (Array Search Function): Add missing const in
3417 lfind prototype.
3418 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3419 declaration to use rlim_t.
3420 (Basic Scheduling Functions): Remove erroneous const from
3421 sched_getparam prototype. Remove erroneous * from
3422 sched_get_priority_max and sched_get_priority_min prototypes.
3423 (Resource Usage): Fix summary @comment on vtimes to refer to
3424 sys/vtimes.h rather than vtimes.h.
3425 Add missing *s in vtimes prototype.
3426 (Limits on Resources): Fix ulimit prototype to return long int.
3427 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3428 prototypes to use long int rather than double.
3429 (BSD Random): Fix initstate and setstate to use char *, not void *.
3430 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3431 prototype to make second argument 'struct aiocb64 *const[]'.
3432 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3433 (Status of AIO Operations): Remove erroneous const in aio_return and
3434 aio_return64 prototypes.
3435 (Synchronizing I/O): Fix sync prototype to return void.
3436 * manual/startup.texi (Suboptions): Remove an erroneous const in
3437 getsubopt prototype.
3438 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3439 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3440 use size_t rather than int.
3441 (Scanning All Users): Likewise for getpwent_r.
3442 (Setting Groups): Add missing const to setgroups prototype.
3443 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3444 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3445 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3446 'const void *' rather than 'const char *'.
3447 (Host Address Functions): Likewise for inet_ntop.
3448 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3449 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3450 ssize_t for return value.
3451 (Sending Data): Likewise for send, sendto, sendmsg.
3452 (Socket Option Functions): Add a missing const in setsockopt prototype.
3453 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3454 use wchar_t for the argument.
3455 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3456 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3457 take no arguments.
3458 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3459 double/float/long double for second argument.
3460 Fix return types of significand, significandf, significandl.
3461 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3462 argument in fchmod prototype.
3463 (File Owner): Use uid_t and gid_t in fchown prototype.
3464 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3465 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3466 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3467 use 'const struct dirent **' as argument types to CMP function pointer
3468 argument.
3469 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3470 (File Times): Fix summary magic @comment for struct utimbuf and utime
3471 to refer to utime.h, not time.h.
3472 * manual/string.texi (Argz Functions): Add missing const in
3473 argz_extract and argz_next prototypes.
3474 (Finding Tokens in a String): Likewise for basename.
3475 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3476 (Copying and Concatenation): Fix typo in wmemmove prototype.
3477 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3478 (Signal Stack): Remove erroneous const in sigstack prototype.
3479 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3480 prototype.
3481 (Simple Calendar Time): Likewise for stime.
3482 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3483 prototype.
3484 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3485 say sys/sysctl.h instead.
3486 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3487 and vsyslog prototypes.
3488
fe77fe6d
TV
34892013-02-11 Tom de Vries <tom@codesourcery.com>
3490
3491 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3492 Remove.
3493
3a09b620
RM
34942013-02-11 Roland McGrath <roland@hack.frob.com>
3495
3496 * misc/sys/mman.h: Fix typo in mremap comment.
3497
550a0b89
RM
34982013-02-08 Roland McGrath <roland@hack.frob.com>
3499
3500 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3501 the '\0' terminator.
3502
a2da1673
JM
35032013-02-08 Joseph Myers <joseph@codesourcery.com>
3504
3505 [BZ #13550]
3506 * debug/segfault.c: Don't include <bp-checks.h>.
3507 * sysdeps/generic/bp-checks.h: Remove file.
3508 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3509 (__GETDENTS): Don't use CHECK_N.
3510 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3511 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3512 (__getgroups): Don't use CHECK_N.
3513 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3514 (setgroups): Don't use CHECK_N.
3515 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3516 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3517 (__libc_msgrcv): Don't use CHECK_N.
3518 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3519 (__libc_msgsnd): Don't use CHECK_N.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3521 <bp-checks.h>.
3522 (__libc_pread): Don't use CHECK_N.
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3524 include <bp-checks.h>.
3525 (__libc_pread64): Don't use CHECK_N.
3526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3527 include <bp-checks.h>.
3528 (__libc_pwrite): Don't use CHECK_N.
3529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3530 include <bp-checks.h>.
3531 (__libc_pwrite64): Don't use CHECK_N.
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3533 <bp-checks.h>.
3534 (__libc_pread): Don't use CHECK_N.
3535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3536 include <bp-checks.h>.
3537 (__libc_pread64): Don't use CHECK_N.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3539 include <bp-checks.h>.
3540 (__libc_pwrite): Don't use CHECK_N.
3541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3542 include <bp-checks.h>.
3543 (__libc_pwrite64): Don't use CHECK_N.
3544 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3545 (do_pread): Don't use CHECK_N.
3546 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3547 (do_pread64): Don't use CHECK_N.
3548 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3549 (do_pwrite): Don't use CHECK_N.
3550 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3551 (do_pwrite64): Don't use CHECK_N.
3552 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3553 (__libc_readv): Don't use CHECK_N.
3554 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3555 (semop): Don't use CHECK_N.
3556 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3557 <bp-checks.h>.
3558 (semtimedop): Don't use CHECK_N.
3559 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3560 (__libc_pread): Don't use CHECK_N.
3561 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3562 <bp-checks.h>.
3563 (__libc_pread64): Don't use CHECK_N.
3564 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3565 <bp-checks.h>.
3566 (__libc_pwrite): Don't use CHECK_N.
3567 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3568 <bp-checks.h>.
3569 (__libc_pwrite64): Don't use CHECK_N.
3570 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3571 <bp-checks.h>.
3572 (__libc_msgrcv): Don't use CHECK_N.
3573 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3574 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3575 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3576 (__libc_writev): Don't use CHECK_N.
3577
b84660a8
RM
35782013-02-08 Roland McGrath <roland@hack.frob.com>
3579
7f3e75f8
RM
3580 * string/strcpy.c: Removed unused variable.
3581
b84660a8
RM
3582 * Makeconfig (+sysdep-includes): Define with := rather than =.
3583 Use an existing include/ subdir of each sysdeps dir before it.
3584
471514d3
CD
35852013-02-08 Carlos O'Donell <carlos@redhat.com>
3586
3587 * nscd/connection.c (register_traced_file): Comment function.
3588 [HAVE_INOTIFY] (union __inev): Define.
3589 [HAVE_INOTIFY] (inotify_check_files): New function.
3590 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3591 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3592 clear_db_cache.
3593 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3594
b2d3c3be
CD
35952013-02-08 Carlos O'Donell <carlos@redhat.com>
3596
3597 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3598 loaded if not already and that a failure is permanent.
3599
b39949d2
CD
36002013-02-08 Carlos O'Donell <carlos@redhat.com>
3601
ddacd1db 3602 [BZ #15006]
b39949d2
CD
3603 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3604 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3605
b2c9eff4
JM
36062013-02-08 Joseph Myers <joseph@codesourcery.com>
3607
f3aae3f3
JM
3608 [BZ #13550]
3609 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3610 (CHECK_1_NULL_OK): Likewise.
3611 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3612 (__fxstat): Do not use CHECK_1.
3613 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3614 <bp-checks.h>.
3615 (___fxstat64): Do not use CHECK_1.
3616 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3617 <bp-checks.h>.
3618 (__fxstatat): Do not use CHECK_1.
3619 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3620 <bp-checks.h>.
3621 (__fxstatat64): Do not use CHECK_1.
3622 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3623 <bp-checks.h>.
3624 (__fxstat): Do not use CHECK_1.
3625 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3626 <bp-checks.h>.
3627 (__fxstatat): Do not use CHECK_1.
3628 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3629 <bp-checks.h>.
3630 (__getresgid): Do not use CHECK_1.
3631 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3632 <bp-checks.h>.
3633 (__getresuid): Do not use CHECK_1.
3634 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3635 <bp-checks.h>.
3636 (__lxstat): Do not use CHECK_1.
3637 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3638 <bp-checks.h>.
3639 (__old_msgctl): Do not use CHECK_1.
3640 (__new_msgctl): Likewise.
3641 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3642 <bp-checks.h>.
3643 (__new_setrlimit): Do not use CHECK_1.
3644 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3645 <bp-checks.h>.
3646 (__old_shmctl): Do not use CHECK_1.
3647 (__new_shmctl): Likewise.
3648 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3649 <bp-checks.h>.
3650 (__xstat): Do not use CHECK_1.
3651 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3652 (__lxstat): Do not use CHECK_1.
3653 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3654 <bp-checks.h>.
3655 (___lxstat64): Do not use CHECK_1.
3656 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3657 (__old_msgctl): Do not use CHECK_1.
3658 (__new_msgctl): Likewise.
3659 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3660 <bp-checks.h>.
3661 (__gettimeofday): Do not use CHECK_1.
3662 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3663 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3664 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3665 <bp-checks.h>.
3666 (__gettimeofday): Do not use CHECK_1.
3667 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3668 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3669 (__new_shmctl): Do not use CHECK_1.
3670 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3671 <bp-checks.h>.
3672 (do_sigtimedwait): Do not use CHECK_1.
3673 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3674 <bp-checks.h>.
3675 (do_sigwaitinfo): Do not use CHECK_1.
3676 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3677 <bp-checks.h>.
3678 (msgctl): Do not use CHECK_1.
3679 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3680 <bp-checks.h>.
3681 (shmctl): Do not use CHECK_1.
3682 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3683 (ustat): Do not use CHECK_1.
3684 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3685 <bp-checks.h>.
3686 (__fxstat): Do not use CHECK_1.
3687 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3688 <bp-checks.h>.
3689 (__fxstatat): Do not use CHECK_1.
3690 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3691 <bp-checks.h>.
3692 (__lxstat): Do not use CHECK_1.
3693 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3694 <bp-checks.h>.
3695 (__xstat): Do not use CHECK_1.
3696 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3697 (__xstat): Do not use CHECK_1.
3698 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3699 (___xstat64): Do not use CHECK_1.
3700
b2c9eff4
JM
3701 [BZ #13550]
3702 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3703 definitions.
3704 (CHECK_BOUNDS_HIGH): Likewise.
3705 * string/strcpy.c: Do not include <bp-checks.h>.
3706 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3707
f1d70dad
RM
37082013-02-07 Roland McGrath <roland@hack.frob.com>
3709
3710 * nscd/nscd-client.h (__nscd_drop_map_ref):
3711 Add __attribute__ ((unused)).
3712 * nis/nss-nisplus.h (niserr2nss): Likewise.
3713
3714 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3715 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3716
3717 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3718 Remove inline keyword.
3719 * include/rounding-mode.h (round_away): Likewise.
3720 * libio/wfileops.c (adjust_wide_data): Likewise.
3721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3722 (__m128i_strloadu_tolower): Likewise.
3723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3724 (__m128i_strloadu_tolower): Likewise.
3725 * time/mktime.c (ydhms_diff): Likewise.
3726 * locale/elem-hash.h (elem_hash): Likewise.
3727 * locale/setlocale.c (setdata): Likewise.
3728 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3729 (re_string_wchar_at): Likewise.
3730 (bitset_not, bitset_merge, bitset_mask): Likewise.
3731 [!(__GNUC__ > 3)] (inline): Remove macro.
3732 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3733 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3734 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3735 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3736 * string/memcmp.c (memcmp_bytes): Likewise.
3737 * locale/programs/locarchive.c (compute_hashval): Likewise.
3738 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3739 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3740 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3741 * nss/getent.c (print_rpc, print_protocols): Likewise.
3742 (print_passwd, print_group, print_aliases): Likewise.
3743 * nis/nss-nisplus.h (niserr2nss): Likewise.
3744 * nscd/connections.c (restart_p): Likewise.
3745 Change return type to bool.
3746
eab55bfb
RM
37472013-02-05 Roland McGrath <roland@hack.frob.com>
3748
7bd642f5
RM
3749 * Makeconfig (all-Depend-files): Add existing
3750 $(sorted-subdirs:=/Depend) files.
3751 (all-subdirs): Remove nss.
3752 * sysdeps/unix/inet/Subdirs: Add it here instead.
3753 * hesiod/Depend: New file.
3754
573c29b2
RM
3755 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3756 instead of calling alloca.
3757
b2e25af0
RM
3758 * io/lseek.c (__lseek): Rename to __libc_lseek.
3759 Define __lseek as an alias.
3760
eab55bfb
RM
3761 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3762
9a0d1941
CD
37632013-02-04 Carlos O'Donell <carlos@redhat.com>
3764
3765 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3766 else clause and remove check for non-standard endianness.
3767
b83bbec4
DM
37682013-02-04 David S. Miller <davem@davemloft.net>
3769
3770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3771
6277fdab
JM
37722013-02-04 Joseph Myers <joseph@codesourcery.com>
3773
3774 [BZ #13550]
3775 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3776 (__ubp_memchr): Remove prototype.
3777 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3778 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3779 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3780 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3781 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3782 Remove alias.
3783 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3784 (__ubp_memchr): Likewise.
3785 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3786 (__ubp_memchr): Likewise.
3787 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3788 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3789 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3790 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3791 CHECK_STRING.
3792 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3793 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3794 (__getcwd): Do not use CHECK_STRING.
3795 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3796 <bp-checks.h>.
3797 (__real_chown): Do not use CHECK_STRING.
3798 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3799 <bp-checks.h>.
3800 (fchownat): Do not use CHECK_STRING.
3801 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3802 CHECK_STRING.
3803 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3804 <bp-checks.h>.
3805 (__lchown): Do not use CHECK_STRING.
3806 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3807 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3808 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3809 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3811 include <bp-checks.h>.
3812 (truncate64): Do not use CHECK_STRING.
3813 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3814 <bp-checks.h>.
3815 (__real_chown): Do not use CHECK_STRING.
3816 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3817 <bp-checks.h>.
3818 (__lchown): Do not use CHECK_STRING.
3819 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3820 <bp-checks.h>.
3821 (__chown): Do not use CHECK_STRING.
3822 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3823 <bp-checks.h>.
3824 (truncate64): Do not use CHECK_STRING.
3825 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3826 Likewise.
3827 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3828 (__xmknod): Do not use CHECK_STRING.
3829 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3830 <bp-checks.h>.
3831 (__xmknodat): Do not use CHECK_STRING.
3832 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3833 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3834
903ae060
AS
38352013-02-04 Andreas Schwab <schwab@suse.de>
3836
3837 [BZ #14142]
3838 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3839 * include/netdb.h: Likewise for h_errno.
3840 * elf/tst-stackguard1.c: Include <tls.h>.
3841
542f9466
JK
38422013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3843
3844 * elf/link.h (struct link_map): Extend the l_addr comment.
3845 * include/link.h (struct link_map): Likewise.
3846
e782a927
JM
38472013-02-01 Joseph Myers <joseph@codesourcery.com>
3848
3849 [BZ #13550]
3850 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3851 (BOUNDED_1): Remove macro.
3852 * debug/backtrace.c: Don't include <bp-checks.h>.
3853 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3854 (__backtrace): Likewise.
3855 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3856 <bp-checks.h>.
3857 (__backtrace): Don't use BOUNDED_1.
3858 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3859 <bp-checks.h>.
3860 (__backtrace): Don't use BOUNDED_1.
3861 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3862 (__backtrace): Don't use BOUNDED_1.
3863 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3864 (shmat): Don't use BOUNDED_N.
3865
8cf28c5e
JM
38662013-01-31 Joseph Myers <joseph@codesourcery.com>
3867
3a7ac8a0
JM
3868 [BZ #13550]
3869 * sysdeps/generic/bp-start.h: Remove file.
3870 * csu/libc-start.c: Don't include <bp-start.h>.
3871 (LIBC_START_MAIN): Set up __environ directly instead of using
3872 INIT_ARGV_and_ENVIRON.
3873 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3874 <bp-start.h>.
3875
f3499f95
JM
3876 [BZ #13550]
3877 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3878 definitions.
3879 (CHECK_FCNTL): Likewise.
3880 (CHECK_N_PAGES): Likewise.
3881
32a45bea
JM
3882 [BZ #13550]
3883 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3884 definitions.
3885 (CHECK_SIGSET_NULL_OK): Likewise.
3886 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3887 <bp-checks.h>.
3888 (sigpending): Don't use CHECK_SIGSET.
3889 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3890 <bp-checks.h>.
3891 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3892 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3893 <bp-checks.h>.
3894 (do_sigsuspend): Don't use CHECK_SIGSET.
3895 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3896 use CHECK_SIGSET.
3897 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3898 (do_sigwait): Don't use CHECK_SIGSET.
3899 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3900 use CHECK_SIGSET.
3901 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3902 include <bp-checks.h>.
3903 (sigpending): Don't use CHECK_SIGSET.
3904 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3905 include <bp-checks.h>.
3906 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3907 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3908 <bp-checks.h>.
3909 (sigpending): Don't use CHECK_SIGSET.
3910 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3911 <bp-checks.h>.
3912 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3913
2e8a5c8c
JM
3914 [BZ #13550]
3915 * sysdeps/generic/bp-semctl.h: Remove file.
3916 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3917 <bp-checks.h> and <bp-semctl.h>.
3918 (__old_semctl): Don't use CHECK_SEMCTL.
3919 (__new_semctl): Likewise.
3920 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3921 and <bp-semctl.h>.
3922 (__old_semctl): Don't use CHECK_SEMCTL.
3923 (__new_semctl): Likewise.
3924 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3925 <bp-checks.h> and <bp-semctl.h>.
3926 (__old_semctl): Don't use CHECK_SEMCTL.
3927 (__new_semctl): Likewise.
3928 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3929 <bp-checks.h> and <bp-semctl.h>.
3930 (semctl): Don't use CHECK_SEMCTL.
3931
c2d54929
JM
3932 [BZ #13550]
3933 * Makerules (elide-bp-thunks): Remove variable.
3934 (elide-routines.oS): Don't use $(elide-bp-thunks).
3935 (elide-routines.os): Likewise.
3936 (elide-routines.o): Likewise.
3937 (elide-routines.op): Likewise.
3938 (elide-routines.og): Likewise.
3939 (objects): Don't use $(bp-thunks).
3940 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3941 include.
3942 (common-generated): Do not add s-proto-bp.d.
3943 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3944 (int): Likewise.
3945 (typ): Likewise.
3946 Do not generate makefile rules for bounded-pointer thunks.
3947 * sysdeps/generic/bp-thunks.h: Remove file.
3948 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3949 * sysdeps/unix/s-proto-bp.S: Likewise.
3950
8cf28c5e
JM
3951 [BZ #15062]
3952 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3953 parts of result separately when argument is not close to line from
3954 -i to i and one part of argument is small.
3955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3957 * math/libm-test.inc (cacos_test): Add more tests.
3958 (casin_test): Likewise.
3959 (casinh_test): Likewise.
3960 * sysdeps/i386/fpu/libm-test-ulps: Update.
3961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3962
c4e33b8d
DM
39632013-01-31 David S. Miller <davem@davemloft.net>
3964
3965 * po/de.po: Update from translation team.
3966
3b60b421
MK
39672013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3968
3969 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3970
bb931195
TS
39712013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3972
b5a5da23
TS
3973 * configure.in (_AC_PROG_CC_C89): New definition.
3974 * configure: Regenerate.
3975
bb931195
TS
3976 * configure.in (AC_PROG_CPP): New definition.
3977 * configure: Regenerate.
3978
8c53a12c
JM
39792013-01-23 Joseph Myers <joseph@codesourcery.com>
3980
3981 * debug/tst-backtrace.h: New file.
3982 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3983 (ret): Remove variable.
3984 (x): Likewise.
3985 (FAIL): Remove macro.
3986 (NO_INLINE): Likewise.
3987 (fn1): Use match function instead of strstr.
3988 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3989 (ret): Remove variable.
3990 (x): Likewise.
3991 (FAIL): Remove macro.
3992 (NO_INLINE): Likewise.
3993 (fn): Use match function instead of strstr.
3994 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3995 (ret): Remove variable.
3996 (x): Likewise.
3997 (FAIL): Remove macro.
3998 (NO_INLINE): Likewise.
3999 (handle_signal): Use match function instead of strstr.
4000 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4001 (ret): Remove variable.
4002 (x): Likewise.
4003 (FAIL): Remove macro.
4004 (NO_INLINE): Likewise.
4005 (handle_signal): Use match function instead of strstr.
4006
4858fa2a
RM
40072013-01-23 Roland McGrath <roland@hack.frob.com>
4008
4009 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4010
bae8e7f5
DM
40112013-01-23 David S. Miller <davem@davemloft.net>
4012
4013 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4014 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4015 argument of CAS if possible.
4016 * sysdeps/sparc/sparc64/bits/atomic.h
4017 (__arch_compare_and_exchange_val_32_acq): Likewise.
4018 (__arch_compare_and_exchange_val_64_acq): Likewise.
4019
9cbbc4ae
PT
40202013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4021
4022 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4023 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4024 Include <limits.h>.
67b3f58c 4025 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4026
5655a0b5
AC
40272013-01-23 Adam Conrad <adconrad@0c3.net>
4028
4029 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4030 (LDFLAGS-tst-array5): Likewise.
4031
052aff95
JM
40322013-01-23 Joseph Myers <joseph@codesourcery.com>
4033
4034 [BZ #15036]
4035 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4036 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4037 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4038 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4039
7c1e01aa
DM
40402013-01-21 David S. Miller <davem@davemloft.net>
4041
4042 * sysdeps/sparc/backtrace.c: New file.
4043 * sysdeps/sparc/sparc32/backtrace.h: New file.
4044 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4045 * sysdeps/sparc/sparc64/backtrace.h: New file.
4046 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4047 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4048 -funwind-tables.
4049
ab087e0a
AS
40502013-01-21 Andreas Schwab <schwab@suse.de>
4051
4052 [BZ #15020]
4053 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4054 closed its stdout.
4055
ed689c2f
AS
40562013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4057
4058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4059 "mpa2.h".
4060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4061
31d470ac
JM
40622013-01-18 Joseph Myers <joseph@codesourcery.com>
4063 Mark Mitchell <mark@codesourcery.com>
4064 Tom de Vries <tom@codesourcery.com>
4065 Paul Pluzhnikov <ppluzhnikov@google.com>
4066
4067 * debug/tst-backtrace2.c: New file.
4068 * debug/tst-backtrace3.c: Likewise.
4069 * debug/tst-backtrace4.c: Likewise.
4070 * debug/tst-backtrace5.c: Likewise.
4071 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4072 (CFLAGS-tst-backtrace3.c): Likewise.
4073 (CFLAGS-tst-backtrace4.c): Likewise.
4074 (CFLAGS-tst-backtrace5.c): Likewise.
4075 (LDFLAGS-tst-backtrace2): Likewise.
4076 (LDFLAGS-tst-backtrace3): Likewise.
4077 (LDFLAGS-tst-backtrace4): Likewise.
4078 (LDFLAGS-tst-backtrace5): Likewise.
4079 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4080 tst-backtrace4 and tst-backtrace5.
4081
90567f30 40822013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4083 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4084
4085 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4086 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4087 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4088 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4090 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4091 "+r" and remove output regs list as redundant. Add explicit inline
4092 asm to specify register of return val to work around compiler codegen
4093 bug. Remove (int) cast on return value. Add return type parameter to
4094 use in macro so that this macro does not truncate return value for
4095 64-bit values.
4096 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4097 pass to INTERNAL_VSYSCALL_NCS.
4098 (INLINE_VSYSCALL): Add 'long int' as return type to
4099 INTERNAL_VSYSCALL_NCS macro invocation.
4100 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4101 INTERNAL_VSYSCALL_NCS macro invocation.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4103
d3b9ea61
SP
41042013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4105
0b57daeb
SP
4106 [BZ #14496]
4107 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4108 Fix application of SIMD FP exception mask.
4109
caa99d06
SP
4110 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4111 mp_no from a power of two.
4112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4113 __mpexp_twomm1. Use __pow_mp.
4114
d3b9ea61
SP
4115 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4116 multiplication.
4117
1dbaee3c
DM
41182013-01-17 David S. Miller <davem@davemloft.net>
4119
4120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4121
728d7b43
JM
41222013-01-17 Joseph Myers <joseph@codesourcery.com>
4123
4124 [BZ #15023]
4125 * include/complex.h: Condition contents on [!_COMPLEX_H].
4126 (__kernel_casinhf): New prototype.
4127 (__kernel_casinh): Likewise.
4128 (__kernel_casinhl): Likewise.
4129 * math/Makefile (libm_calls): Add k_casinh.
4130 * math/k_casinh.c: New file.
4131 * math/k_casinhf.c: Likewise.
4132 * math/k_casinhl.c: Likewise.
4133 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4134 finite nonzero arguments.
4135 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4136 finite nonzero arguments.
4137 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4138 finite nonzero arguments.
4139 * math/s_casinh.c: Do not include <float.h>.
4140 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4141 * math/s_casinhf.c: Do not include <float.h>.
4142 (__casinhf): Move code for finite nonzero arguments to
4143 k_casinhf.c.
4144 * math/s_casinhl.c: Do not include <float.h>.
4145 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4146 redefine.
4147 (__casinhl): Move code for finite nonzero arguments to
4148 k_casinhl.c.
4149 * math/libm-test.inc (cacos_test): Add more tests.
4150 * sysdeps/i386/fpu/libm-test-ulps: Update.
4151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4152
2a26ef3a
PT
41532013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4154
4155 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4156 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4157 [!HAVE_MREMAP]: Remove [defined linux] case.
4158 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4159
a897655d
SP
41602013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4161
4162 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4163
881ebe89 41642013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4165
4166 * elf/elf.h (R_386_SIZE32): New relocation.
4167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4168 R_386_SIZE32.
4169 (elf_machine_rela): Likewise.
4170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4171 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4172
59981e9b
JM
41732013-01-17 Joseph Myers <joseph@codesourcery.com>
4174
4175 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4176 (FP_FAST_FMA): Do not define.
4177 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4178 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4179 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4180 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4181 !_SOFT_FLOAT]: Likewise.
4182 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4183 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4184 value.
4185 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4186 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4187 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4188 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4189 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4190 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4191 file.
4192
cfa8054f
AS
41932013-01-16 Andreas Schwab <schwab@suse.de>
4194
4195 [BZ #14327]
4196 * include/stdlib.h (__mktemp): Add declaration.
4197 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4198 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4199
dd930cc5
SP
42002013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4201
881ebe89
SP
4202 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4203 definitions.
4204 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4205 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4206 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4207 definitions here.
4208 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4209 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4210 definitions.
4211 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4212 and ONE.
4213 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4214 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4215 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4216 definitions.
4217 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4218 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4219 definitions.
4220 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4221
dd930cc5
SP
4222 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4223
c19a9f89
DM
42242013-01-15 David S. Miller <davem@davemloft.net>
4225
1aa61767
DM
4226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4227 trunc{,f} to libm-sysdep_routes.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4230 file.
4231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4233 file.
4234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4235 file.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4240 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4242 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4243 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4244
c42d5e98
DM
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4246 nearbyint{,f} to libm-sysdep_routes.
4247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4249 New file.
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4251 file.
4252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4253 New file.
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4255 file.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4258 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4259 file.
4260 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4261 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4262 file.
4263 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4264 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4265 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4266
c19a9f89
DM
4267 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4268 libc_feholdexcept and libc_fesetenv.
4269
357679d2
MF
42702013-01-15 Mike Frysinger <vapier@gentoo.org>
4271
4272 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4273
65a82e3d
DM
42742013-01-14 David S. Miller <davem@davemloft.net>
4275
8b954ab9
DM
4276 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4277 (SPARC_ASM_VIS2_IFUNC): Likewise.
4278 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4280 use of 'siam' instruction.
4281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4282 Likewise.
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4284 Likewise.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4286 Likewise.
4287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4292 file.
4293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4294 file.
4295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4296 file.
4297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4298 file.
4299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4304 new VIS2 routines.
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4308 Likewise.
4309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4314 routines to libm-sysdep_routines.
4315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4316
65a82e3d
DM
4317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4318 fdim/fdimf to libm-sysdep_routines.
4319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4320 file.
4321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4323 file.
4324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4327 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4328 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4329 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4330 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4331
e34ab705
SP
43322013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4333
2a91b573
SP
4334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4335 to optimize copies.
4336
1066a534
SP
4337 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4340
e34ab705
SP
4341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4342 local variable MPTWO.
4343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4344 Likewise.
4345
aba5e596
MF
43462013-01-13 Mike Frysinger <vapier@gentoo.org>
4347
4348 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4349 GLOB_NOESCAPE.
4350
e557e9e5
MF
43512013-01-13 Mike Frysinger <vapier@gentoo.org>
4352
4353 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4354
0428cec9
MF
43552013-01-13 Mike Frysinger <vapier@gentoo.org>
4356
4357 * manual/pattern.texi (glob_t): Document gl_flags.
4358 (glob64_t): Likewise.
4359
8794a964
DM
43602013-01-11 David S. Miller <davem@davemloft.net>
4361
66438c3f
RM
4362 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4363 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4364 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4365 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4366 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4367 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4368 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4369 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4370 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4371 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4372 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4373 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4374 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4375
4ae4244d
DM
4376 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4377 sparc V9 rather than using V8 code.
4378 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4379 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4380
8794a964
DM
4381 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4382 Move to...
4383 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4384 Here.
4385
6270516e
RM
43862013-01-11 Roland McGrath <roland@hack.frob.com>
4387
4388 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4389 not in the main loop.
4390 * configure: Regenerated.
4391
6a57d931
JM
43922013-01-11 Joseph Myers <joseph@codesourcery.com>
4393
4394 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4395 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4396 to just #else.
4397 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4398 [!__GLIBC_HAVE_LONG_LONG] case.
4399 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4400 condition to just #else.
4401 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4402 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4403 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4404 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4405 unconditional.
4406 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4407 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4408 #elif condition to just #else.
4409 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4410 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4411 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4412 #elif condition to just #else.
4413
0e8529e9
SE
44142013-01-11 Steve Ellcey <sellcey@mips.com>
4415
4416 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4417 (EF_MIPS_ARCH_64): Fix value.
4418 (EF_MIPS_ARCH_32R2): New.
4419 (EF_MIPS_ARCH_64R2): New.
4420
740b3dbe
L
44212013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 * Makeconfig (+link-pie-before-libc): New.
4424 (+link-pie-after-libc): Likewise.
4425 (+link-pie-tests): Likewise.
4426 (+link-pie): Rewritten.
4427 (link-before-libc): Remove $(config-LDFLAGS).
4428 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4429 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4430 (config-LDFLAGS): Renamed to ...
4431 (rtld-LDFLAGS): This.
4432 (rtld-tests-LDFLAGS): New macro.
4433 (link-libc-rpath-link): Likewise.
4434 (link-libc-tests-rpath-link): Likewise.
4435 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4436 (link-libc): Prepand $(link-libc-rpath-link).
4437 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4438 (test-program-prefix): New macro.
4439 (test-via-rtld-prefix): Likewise.
4440 (test-program-cmd): Likewise.
4441 (host-test-program-cmd): Likewise.
4442 * Makefile ($(common-objpfx)testrun.sh): Replace
4443 $(run-program-prefix) with $(test-program-prefix).
4444 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4445 $(rtld-LDFLAGS).
4446 ($(common-objpfx)shlib.lds): Likewise.
4447 (build-module-helper): Likewise.
4448 ($(common-objpfx)format.lds): Likewise.
4449 * Rules (binaries-pie-tests): New.
4450 (binaries-pie-notests): Likewise.
4451 (binaries-pie): Rewritten.
4452 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4453 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4454 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4455 (make-test-out): Replace $(host-built-program-cmd) with
4456 $(host-test-program-cmd).
4457 * config.make.in (build-hardcoded-path-in-tests): New variable.
4458 * configure.in (--enable-hardcoded-path-in-tests): New configure
4459 option.
4460 (hardcoded_path_in_tests): New AC_SUBST.
4461 * configure: Regenerated.
4462 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4463 $(built-program-cmd) with $(test-program-cmd).
4464 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4465 (test_program_cmd): This.
4466 * elf/Makefile ($(objpfx)order.out): Run test with
4467 $(test-program-prefix).
4468 ($(objpfx)order2.out): Likewise.
4469 ($(objpfx)tst-initorder.out): Likewise.
4470 ($(objpfx)tst-initorder2.out): Likewise.
4471 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4472 $(test-program-cmd).
4473 ($(objpfx)tst-array1-static.out): Likewise.
4474 ($(objpfx)tst-array2.out): Likewise.
4475 ($(objpfx)tst-array3.out): Likewise.
4476 ($(objpfx)tst-array4.out): Likewise.
4477 ($(objpfx)tst-array5.out): Likewise.
4478 ($(objpfx)tst-array5-static.out): Likewise.
4479 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4480 $(test-program-cmd).
4481 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4482 $(run-program-prefix) with $(test-program-prefix).
4483 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4484 (test_program_prefix): This.
4485 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4486 $(run-program-prefix) with $(test-program-prefix).
4487 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4488 (test_program_prefix): This.
4489 * iconvdata/tst-tables.sh: Likewise.
4490 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4491 $(run-program-prefix) with $(test-program-prefix).
4492 ($(objpfx)tst-translit.out): Likewise.
4493 ($(objpfx)tst-gettext2.out): Likewise.
4494 ($(objpfx)tst-gettext4.out): Likewise.
4495 ($(objpfx)tst-gettext6.out): Likewise.
4496 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4497 (test_program_prefix): This.
4498 * intl/tst-gettext2.sh: Likewise.
4499 * intl/tst-gettext4.sh Likewise.
4500 * intl/tst-gettext6.sh: Likewise.
4501 * intl/tst-translit.sh: Likewise.
4502 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4503 with $(test-program-cmd).
4504 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4505 $(run-program-prefix) with $(test-program-prefix).
4506 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4507 (test_program_prefix): This.
4508 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4509 $(run-program-prefix) with $(test-program-prefix).
4510 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4511 (test_program_prefix): This.
4512 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4513 * posix/Makefile ($(objpfx)globtest.out): Replace
4514 $(run-via-rtld-prefix) and $(test-wrapper) with
4515 $(test-program-prefix) and $(test-via-rtld-prefix).
4516 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4517 $(test-program-prefix).
4518 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4519 $(host-test-program-cmd).
4520 (tst-spawn-ARGS): Likewise.
4521 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4522 $(test-program-prefix).
4523 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4524 (test_via_rtld_prefix): This.
4525 (test_wrapper): Renamed to ...
4526 (test_program_prefix): This.
4527 (run_program_prefix): Replaced by test_program_prefix.
4528 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4529 (test_program_prefix): This.
4530 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4531 with $(host-test-program-cmd).
4532 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4533 $(run-program-prefix) with $(test-program-prefix).
4534 ($(objpfx)tst-printf.out): Likewise.
4535 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4536 $(test-program-cmd).
4537 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4538 (test_program_prefix): This.
4539 * stdio-common/tst-unbputc.sh: Likewise.
4540 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4541 $(run-program-prefix) with $(test-program-prefix).
4542 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4543 (test_program_prefix): This.
4544 * string/Makefile ($(objpfx)tst-svc.out): Replace
4545 $(built-program-cmd) with $(test-program-cmd).
4546
c6fe55cf
AJ
45472013-01-11 Andreas Jaeger <aj@suse.de>
4548
4549 [BZ #15003]
4550 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4551 value. Sync with Linux 3.7.
4552
9e6919c8
DM
45532013-01-10 David S. Miller <davem@davemloft.net>
4554
4555 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4556 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4557 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4558
1c9f1a02
RM
45592013-01-10 Roland McGrath <roland@hack.frob.com>
4560
4561 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4562 never set.
4563 * configure: Regenerated.
4564
b9de2dde
DM
45652013-01-10 David S. Miller <davem@davemloft.net>
4566
4567 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4568 sparc V9 rather than using V8 code.
4569 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4570 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4571
e7f68ef4
RM
45722013-01-10 Roland McGrath <roland@hack.frob.com>
4573
4574 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4575 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4576 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4577 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4578 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4579 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4580 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4581 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4582 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4583 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4584 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4585 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4586 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4587 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4588 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4589 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4590 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4591 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4592 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4593 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4594 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4595 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4596 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4597 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4598 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4599 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4600 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4601
5a47cc9c
DM
46022013-01-10 David S. Miller <davem@davemloft.net>
4603
4604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4605
4cf8f209
L
46062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4607
4608 * posix/Makefile (tests-static): New variable.
4609 (tests): Add $(tests-static).
4610 (tst-exec-static-ARGS): New variable.
4611 (tst-spawn-static-ARGS): Likewise.
4612 * posix/tst-exec-static.c: New file.
4613 * posix/tst-spawn-static.c: Likewise.
4614 * posix/tst-exec.c: Support run directly.
4615 * posix/tst-spawn.c: Likewise.
4616
fed0faa1
JM
46172013-01-10 Joseph Myers <joseph@codesourcery.com>
4618
828beb13
JM
4619 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4620 long.
4621 * math/bits/mathcalls.h (llrint): Likewise.
4622 (llround): Likewise.
4623 * stdlib/stdlib.h (struct drand48_data): Likewise.
4624 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4625 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4627 Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4629 Likewise.
4630 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4631 (elf_greg_t): Likewise.
4632 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4633 (__jmp_buf): Likewise.
4634 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4635 definitions.
4636 (llrint): Likewise, for all definitions.
4637 (llrintl): Likewise.
4638
fed0faa1
JM
4639 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4640 Remove [__GNUC__] condition.
4641 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4642 condition to just [__USE_ISOC99].
4643 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4644
1a20cb20
L
46452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4646
4647 [BZ #14200]
4648 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4649 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4650 defined.
4651 (_POSIX_V6_ILP32_OFF32): Likewise.
4652 (_XBS5_ILP32_OFF32): Likewise.
4653 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4654 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4655
751b85f7
SP
46562013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4657
7490eb81
SP
4658 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4659
751b85f7
SP
4660 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4661 doubles __mpexp_twomm1. Adjust usage.
4662 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4663 Remove.
4664
988197f0
AS
46652013-01-10 Andreas Schwab <schwab@suse.de>
4666
4667 [BZ #14964]
4668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4669 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4670
e83d7298
DM
46712013-01-09 David S. Miller <davem@davemloft.net>
4672
034ed64b 4673 [BZ #15003]
e83d7298
DM
4674 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4675 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4676 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4677 TCP_FASTOPEN): Define.
4678 (tcp_repair_opt): New structure.
4679 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4680 enum values.
4681 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4682 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4683 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4684 (tcp_cookie_transactions): New structure.
4685
d5e0b9bd
AB
46862013-01-09 Anton Blanchard <anton@samba.org>
4687
4688 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4689 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4690 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4691 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4692
0c07e3ea
JM
46932013-01-09 Joseph Myers <joseph@codesourcery.com>
4694
4695 * include/features.h (__USE_ANSI): Remove.
4696
232f7002
RM
46972013-01-09 Roland McGrath <roland@hack.frob.com>
4698
ad98e30c
RM
4699 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4700
232f7002
RM
4701 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4702
950c99ca
SP
47032013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4704
b5792741
SP
4705 * sysdeps/s390/fpu/libm-test-ulps: Update.
4706
47cf2278
SP
4707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4708
950c99ca
SP
4709 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4710 (__acr): Likewise.
4711 (__cpy): Likewise.
4712 (norm): Likewise.
4713 (denorm): Likewise.
4714 (__mp_dbl): Likewise.
4715 (__dbl_mp): Likewise.
4716 (add_magnitudes): Likewise.
4717 (sub_magnitudes): Likewise.
4718 (__add): Likewise.
4719 (__sub): Likewise.
4720 (__mul): Likewise.
4721 (__inv): Likewise.
4722 (__dvd): Likewise.
4723 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4724 (__acr): Likewise.
4725 (__cpy): Likewise.
4726 (norm): Likewise.
4727 (denorm): Likewise.
4728 (__mp_dbl): Likewise.
4729 (__dbl_mp): Likewise.
4730 (add_magnitudes): Likewise.
4731 (sub_magnitudes): Likewise.
4732 (__add): Likewise.
4733 (__sub): Likewise.
4734 (__mul): Likewise.
4735 (__inv): Likewise.
4736 (__dvd): Likewise.
4737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4738 (__acr): Likewise.
4739 (__cpy): Likewise.
4740 (norm): Likewise.
4741 (denorm): Likewise.
4742 (__mp_dbl): Likewise.
4743 (__dbl_mp): Likewise.
4744 (add_magnitudes): Likewise.
4745 (sub_magnitudes): Likewise.
4746 (__add): Likewise.
4747 (__sub): Likewise.
4748 (__mul): Likewise.
4749 (__inv): Likewise.
4750 (__dvd): Likewise.
4751
eede9df9
JM
47522013-01-08 Joseph Myers <joseph@codesourcery.com>
4753
4754 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4755 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4756 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4757 2 && __USE_EXTERN_INLINES]: Likewise.
4758
c40ea3d9
AJ
47592013-01-08 Andreas Jaeger <aj@suse.de>
4760
4761 [BZ# 14985]
4762 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4763 Remove.
4764 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4765 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4766
2ccdea26
AB
47672013-01-07 Anton Blanchard <anton@samba.org>
4768
4769 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4770 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4771 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4772 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4773 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4774 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4775 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4776 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4778 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4779 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4780 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4781 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4784 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4785 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4786 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4787 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4789 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4790 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4792 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4793 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4794 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4795 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4796 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4798 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4799 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4801 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4802 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4803 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4804 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4806 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4807 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4808 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4809 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4810 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4811 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4812
a9708fed
JM
48132013-01-07 Joseph Myers <joseph@codesourcery.com>
4814
375607b9
JM
4815 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4816 (__MALLOC_PMT): Likewise.
4817 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4818 [__GNUC__], only on [_LIBC].
4819 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4820 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4821 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4822 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4823 forward declaration.
4824 (realloc_hook_ini): Likewise.
4825 (memalign_hook_ini): Likewise.
4826 (__libc_memalign): Do not use __MALLOC_PMT in variable
4827 declaration.
4828 (__libc_valloc): Likewise.
4829 (__libc_pvalloc): Likewise.
4830 (__libc_calloc): Likewise.
4831 (__posix_memalign): Likewise.
4832
a9708fed
JM
4833 [BZ #14996]
4834 * math/s_casinh.c: Include <float.h>.
4835 (__casinh): Do not do computation with squaring and square root
4836 for large arguments.
4837 * math/s_casinhf.c: Include <float.h>.
4838 (__casinhf): Do not do computation with squaring and square root
4839 for large arguments.
4840 * math/s_casinhl.c: Include <float.h>.
4841 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4842 (__casinhl): Do not do computation with squaring and square root
4843 for large arguments.
4844 * math/libm-test.inc (casin_test): Add more tests.
4845 (casinh_test): Likewise.
4846 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4848
afec409a
L
48492013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4850
4851 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4852 (__x86_64_raw_data_cache_size): Likewise.
4853 (__x86_64_data_cache_size_half): Likewise.
4854 (__x86_64_raw_data_cache_size_half): Likewise.
4855 (__x86_64_shared_cache_size): Likewise.
4856 (__x86_64_raw_shared_cache_size): Likewise.
4857 (__x86_64_shared_cache_size_half): Likewise.
4858 (__x86_64_raw_shared_cache_size_half): Likewise.
4859 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4860 to ...
4861 (__x86_data_cache_size): This.
4862 (__x86_64_raw_data_cache_size): Renamed to ...
4863 (__x86_raw_data_cache_size): This.
4864 (__x86_64_data_cache_size_half): Renamed to ...
4865 (__x86_data_cache_size_half): This.
4866 (__x86_64_raw_data_cache_size_half): Renamed to ...
4867 (__x86_raw_data_cache_size_half): This.
4868 (__x86_64_shared_cache_size): Renamed to ...
4869 (__x86_shared_cache_size): This.
4870 (__x86_64_raw_shared_cache_size): Renamed to ...
4871 (__x86_raw_shared_cache_size): This.
4872 (__x86_64_shared_cache_size_half): Renamed to ...
4873 (__x86_shared_cache_size_half): This.
4874 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4875 (__x86_raw_shared_cache_size_half): This.
4876 * sysdeps/x86_64/memcpy.S: Updated.
4877 * sysdeps/x86_64/memset.S: Likewise.
4878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4881
0b3986d0
DM
48822013-01-04 David S. Miller <davem@davemloft.net>
4883
4884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4885
e47686e9
AS
48862013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4887
d643bac1
AS
4888 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4889 1 to avoid redefinition warning.
4890 (__USE_GNU): Don't define.
4891 (init_signaling_nan): Protoize.
4892
e47686e9
AS
4893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4894
b18decba
SP
48952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4896
fffb407f
SP
4897 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4899 (__cpymn): Likewise.
4900 (norm): Remove commented code.
4901 (denorm): Likewise.
4902 (__mp_dbl): Likewise.
4903 (__inv): Likewise.
4904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4905 (__cpymn): Likewise.
4906 (norm): Remove commented code.
4907 (denorm): Likewise.
4908 (__mp_dbl): Likewise.
4909 (__inv): Likewise.
4910
b18decba
SP
4911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4912 mp_no value for 1.0 and 2.0.
4913 (norm): Use RADIXI instead of radixi.d.
4914 (denorm): Likewise.
4915 (__mul): Use 0.0 instead of zero.d.
4916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4917 mp_no value for 1.0 and 2.0.
4918 (norm): Use RADIXI instead of radixi.d.
4919 (denorm): Likewise.
4920 (__mul): Use 0.0 instead of zero.d.
4921
cdc1c96f
JM
49222013-01-04 Joseph Myers <joseph@codesourcery.com>
4923
4924 [BZ #14994]
4925 * math/s_casinh.c (__casinh): Reduce finite argument to first
4926 quadrant then set signs of results at the end.
4927 * math/s_casinhf.c (__casinhf): Likewise.
4928 * math/s_casinhl.c (__casinhl): Likewise.
4929 * math/libm-test.inc (casin_test): Add more tests.
4930 (casinh_test): Likewise.
4931 * sysdeps/i386/fpu/libm-test-ulps: Update.
4932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4933
302913e1
SP
49342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4935
6420d207
SP
4936 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4937
a9e48ab4
SP
4938 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4939
b7837264
SP
4940 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4941 declarations.
4942 (denorm): Likewise.
4943 (__mp_dbl): Likewise.
4944 (__inv): Likewise.
4945
f8af25d2
SP
4946 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4947 and adjust the header comment.
4948
302913e1
SP
4949 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4950 variable name from declaration.
4951
5d7dd1ca
L
49522013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4953
4954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4955 Initialize COMMON_CPUID_INDEX_7 element.
4956 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4957 (CPUID_RTM): Likewise.
4958 (HAS_RTM): Likewise.
4959 (COMMON_CPUID_INDEX_7): New enum.
4960
2f5f40f4
AS
49612013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4962
4963 [BZ #14981]
4964 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4965 size is zero, record memory as freed.
4966
4056f4a0
AJ
49672013-01-03 Andreas Jaeger <aj@suse.de>
4968
4969 * po/ia.po: Add new Interlingua translation.
4970
ab15736f 49712012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4972
4973 * locale/programs/localedef.c: Fix description of '--posix' flag.
4974
568035b7
JM
49752013-01-02 Joseph Myers <joseph@codesourcery.com>
4976
e6898b8d
JM
4977 * NEWS: Update dates in second copyright notice.
4978 * README: Update copyright dates in example.
4979 * manual/libc.texinfo: Update copyright dates.
4980 * scripts/test-installation.pl: Update copyright date in --version
4981 output.
4982
0e2f9562
JM
4983 * hurd/ctty-input.c: Fix copyright notice formatting.
4984 * hurd/ctty-output.c: Likewise.
4985 * hurd/dtable.c: Likewise.
4986 * hurd/hurd-raise.c: Likewise.
4987 * hurd/hurdprio.c: Likewise.
4988 * hurd/msgportdemux.c: Likewise.
4989 * misc/sys/file.h: Likewise.
4990 * misc/sys/ioctl.h: Likewise.
4991 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4992 * sysdeps/mach/hurd/chdir.c: Likewise.
4993 * sysdeps/mach/hurd/fchdir.c: Likewise.
4994 * sysdeps/mach/hurd/rename.c: Likewise.
4995 * sysdeps/mach/hurd/rmdir.c: Likewise.
4996 * sysdeps/mach/hurd/seekdir.c: Likewise.
4997 * sysdeps/mach/hurd/setsid.c: Likewise.
4998 * sysdeps/posix/wait3.c: Likewise.
4999
568035b7
JM
5000 * All files with FSF copyright notices: Update copyright dates
5001 using scripts/update-copyrights.
5002 * intl/plural.c: Regenerated.
5003 * locale/programs/charmap-kw.h: Likewise.
5004 * locale/programs/locfile-kw.h: Likewise.
5005
da08f647
SP
50062013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5007
0f5477af
SP
5008 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5009 four values.
5010
44e0d4c2
SP
5011 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5012 calculation loop and add branch prediction.
5013
4d55b4e5
SP
5014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5015 check access beyond bounds of m1np.
5016
da08f647
SP
5017 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5018 MPTWO.
5019 (__inv): Remove local variable MPTWO to use the global
5020 constant.
5021 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5023 variable MPTWO.
5024 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5025 MP3HALFS static const.
5026
8e051029
DM
50272013-01-01 David S. Miller <davem@davemloft.net>
5028
5029 * po/ca.po: Update from translation team.
5030
f4cf5f2d
JM
50312013-01-01 Joseph Myers <joseph@codesourcery.com>
5032
5033 * scripts/update-copyrights: New file.
5034 * Makeconfig: Reformat copyright notice.
5035 * ctype/ctype.h: Likewise.
5036 * debug/swprintf_chk.c: Likewise.
5037 * elf/dl-cache.c: Likewise.
5038 * elf/dl-debug.c: Likewise.
5039 * elf/dl-object.c: Likewise.
5040 * grp/initgroups.c: Likewise.
5041 * hurd/Makefile: Likewise.
5042 * hurd/hurd/signal.h: Likewise.
5043 * hurd/hurdfault.c: Likewise.
5044 * hurd/hurdioctl.c: Likewise.
5045 * hurd/hurdlookup.c: Likewise.
5046 * hurd/intr-msg.c: Likewise.
5047 * iconv/gconv_open.c: Likewise.
5048 * libio/swprintf.c: Likewise.
5049 * locale/lc-ctype.c: Likewise.
5050 * locale/nl_langinfo.c: Likewise.
5051 * mach/Machrules: Likewise.
5052 * mach/Makefile: Likewise.
5053 * malloc/obstack.h: Likewise.
5054 * manual/Makefile: Likewise.
5055 * manual/tsort.awk: Likewise.
5056 * misc/bits/stab.def: Likewise.
5057 * nis/nis_print_group_entry.c: Likewise.
5058 * nis/nis_table.c: Likewise.
5059 * nis/nss_compat/compat-pwd.c: Likewise.
5060 * nis/nss_compat/compat-spwd.c: Likewise.
5061 * po/Makefile: Likewise.
5062 * posix/fnmatch.c: Likewise.
5063 * posix/regex.h: Likewise.
5064 * resolv/Makefile: Likewise.
5065 * resolv/nss_dns/dns-network.c: Likewise.
5066 * resolv/res_hconf.c: Likewise.
5067 * scripts/gen-sorted.awk: Likewise.
5068 * soft-fp/soft-fp.h: Likewise.
5069 * stdio-common/printf.h: Likewise.
5070 * stdlib/monetary.h: Likewise.
5071 * stdlib/random.c: Likewise.
5072 * stdlib/random_r.c: Likewise.
5073 * sysdeps/generic/Makefile: Likewise.
5074 * sysdeps/gnu/Makefile: Likewise.
5075 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5077 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5078 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5079 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5082 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5083 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5084 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5085 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5086 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5087 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5088 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5089 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5090 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5091 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5092 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5094 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5095 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5096 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5097 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5098 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5099 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5100 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5101 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5102 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5103 * sysdeps/mach/hurd/errnos.awk: Likewise.
5104 * sysdeps/mach/hurd/fork.c: Likewise.
5105 * sysdeps/mach/hurd/getcwd.c: Likewise.
5106 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5107 * sysdeps/mach/hurd/mmap.c: Likewise.
5108 * sysdeps/mach/hurd/utimes.c: Likewise.
5109 * sysdeps/mach/hurd/xmknod.c: Likewise.
5110 * sysdeps/posix/profil.c: Likewise.
5111 * sysdeps/posix/readdir_r.c: Likewise.
5112 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5113 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5115 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5117 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5118 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5119 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5121 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5122 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5123 * sysdeps/pthread/lio_listio.c: Likewise.
5124 * sysdeps/sparc/dl-procinfo.h: Likewise.
5125 * sysdeps/unix/i386/sysdep.S: Likewise.
5126 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5127 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5128 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5129 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5131 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5132 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5133 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5134 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5135 * sysdeps/wordsize-32/divdi3.c: Likewise.
5136 * time/sys/time.h: Likewise.
5137 * wcsmbs/Makefile: Likewise.
5138
0549fbba
DM
51392013-01-01 David S. Miller <davem@davemloft.net>
5140
a141f1a7
DM
5141 * po/fr.po: Update from translation team.
5142
0549fbba
DM
5143 * catgets/gencat.c: Update copyright year.
5144 * csu/version.c: Likewise.
5145 * debug/catchsegv.sh: Likewise.
5146 * debug/pcprofiledump.c: Likewise.
5147 * debug/xtrace.sh: Likewise.
5148 * elf/ldconfig.c: Likewise.
5149 * elf/ldd.bash.in: Likewise.
5150 * elf/pldd.c: Likewise.
5151 * elf/sotruss.ksh: Likewise.
5152 * elf/sprof.c: Likewise.
5153 * iconv/iconv_prog.c: Likewise.
5154 * iconv/iconvconfig.c: Likewise.
5155 * locale/programs/locale.c: Likewise.
5156 * locale/programs/localedef.c: Likewise.
5157 * login/programs/pt_chown.c: Likewise.
5158 * malloc/memusage.sh: Likewise.
5159 * malloc/memusagestat.c: Likewise.
5160 * malloc/mtrace.pl: Likewise.
5161 * nscd/nscd.c: Likewise.
5162 * nss/getent.c: Likewise.
5163 * nss/makedb.c: Likewise.
5164 * posix/getconf.c: Likewise.
5165
18ea052c
SP
51662012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5167
5168 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5169 numbers.
5170
9c89fca6
MF
51712012-12-30 Mike Frysinger <vapier@gentoo.org>
5172
5173 * math/bits/mathcalls.h (modf): Use __nonnull.
5174
085ec079
SP
51752012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5176
5177 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5178 (split): Use macro CN instead of the bare value.
5179 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5180 could be used.
5181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5182 instead of the bare value.
5183 (power1): Likewise.
5184
6d9f97e1
SP
51852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5186
d63f73be
SP
5187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5188 __ATAN_TWOM.
5189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5190
6d9f97e1
SP
5191 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5192 their values.
5193 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5194 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5195 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5196 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5197
4c4febf5
AJ
51982012-12-28 Andreas Jaeger <aj@suse.de>
5199
af5843ef
AJ
5200 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5201 values are from Linux 3.7.
5202
4c4febf5
AJ
5203 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5204 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5205
99136f82
SP
52062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
2f216c3c 5208 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5209 TRUE case.
5210
99136f82
SP
5211 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5212 (norm): Likewise.
5213 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5214 variables with preprocessor constants.
5215 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5216 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5217 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5218
7fffbdff
BH
52192012-12-27 Bruno Haible <bruno@clisp.org>
5220
5221 [BZ #14317]
5222 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5223 only if needed.
5224
b76eb5f0
SP
52252012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5226
31a7fe5c
SP
5227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5228 and use variable directly.
5229 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5230
b76eb5f0
SP
5231 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5232 MPONE.
5233 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5234 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5235 variable MPONE.
5236 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5238 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5239 include directive. Remove local variable MPONE.
5240 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5241 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5243
2c8bfe7d
DM
52442012-12-25 David S. Miller <davem@davemloft.net>
5245
5246 * version.h (RELEASE): Set to "development".
5247 (VERSION): Set to "2.17.90".
5248 * NEWS: Add 2.18 section.
5249
147d03b0
DM
52502012-12-21 David S. Miller <davem@davemloft.net>
5251
5252 * po/hr.po: Update from translation team.
5253
a8ebb2b9
AK
52542012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5255
5256 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5257
95b4f1b6
SE
52582012-12-19 Steve Ellcey <sellcey@mips.com>
5259
b2d94007 5260 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5261
cedb2a90
MS
52622012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5263
5264 * manual/contrib.texi (Contributors): Spelling correction.
5265
bbf527d6
DM
52662012-12-15 David S. Miller <davem@davemloft.net>
5267
5268 * po/ru.po: Update from translation team.
5269
bc38c906
DM
52702012-12-13 David S. Miller <davem@davemloft.net>
5271
85429b1a
DM
5272 * NEWS: Mention IFUNC testsuite enhancements.
5273
d283e353
DM
5274 * po/pl.po: Update from translation team.
5275 * po/bg.po: Likewise.
5276
bc38c906
DM
5277 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5278 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5279
a181b0d7
DM
52802012-12-11 David S. Miller <davem@davemloft.net>
5281
4641d57e
DM
5282 * po/sv.po: Update from translation team.
5283
f7bc6495
DM
5284 * po/vi.po: Update from translation team.
5285
6fc9048f
DM
5286 * po/cs.po: Update from translation team.
5287
a181b0d7
DM
5288 * po/de.po: Update from translation team.
5289 * po/eo.po: Likewise.
5290 * po/nl.po: Likewise.
5291
f70bfe80
SP
52922012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5293
3c8b4190
SP
5294 [BZ #14246]
5295 * manual/argp.texi (Argp Helper Functions): Move node to follow
5296 Argp Parsing State.
5297
f70bfe80
SP
5298 [BZ #14872]
5299 * manual/conf.texi (Limits on File System Capacity): Mention if
5300 terminating null is included in the max size.
5301
188f0adf
AJ
53022012-12-10 Andreas Jaeger <aj@suse.de>
5303
5304 * po/cs.po: Update from translation team.
5305
56e7d3ad
SP
53062012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5307
5308 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5309 void pointer and cast to uintptr_t.
5310 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5311 path.
5312 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5313 * sysdeps/s390/s390-64/memset.S: Likewise.
5314
76f2d2ea 53152012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5316
5317 [BZ #14833]
5318 * menual/message.texi (Message Translation): Fix typos.
5319 (Helper programs for gettext): Likewise.
5320
67cbf9a2
AS
53212012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5322
5323 [BZ #14898]
5324 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5325 Change to -1.
5326
682d0e9a
DM
53272012-12-07 David S. Miller <davem@davemloft.net>
5328
5329 * po/libc.pot: Update.
5330
573cd484
RH
53312012-12-07 Richard Henderson <rth@redhat.com>
5332
7e9da188 5333 [BZ #10114]
573cd484
RH
5334 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5335 normal/normal case to before the switch.
5336 (_FP_DIV): Likewise.
5337
e933a943
MF
53382012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5339 Mike Frysinger <vapier@gentoo.org>
5340
5341 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5342 check for __NR_fadvise64_64.
5343
82123268
CM
53442012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5345
5346 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5347 0, not just to plain "0" as a statement.
5348 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5349 with cw.
5350
d9814526
JM
53512012-12-06 Joseph Myers <joseph@codesourcery.com>
5352
5353 * NEWS: Use sourceware.org in Bugzilla URL.
5354
7728c574
SP
53552012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5356
f16946dd
SP
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5358 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5359
5704bbcb
SP
5360 * stdio-common/tst-put-error.c (do_test): Add newline to the
5361 padded test to ensure flush.
5362
17aa0516
JL
53632012-12-05 Jeff Law <law@redhat.com>
5364
5365 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5366
363313b5
JM
53672012-12-05 Joseph Myers <joseph@codesourcery.com>
5368
effbd42a
JM
5369 * README: Don't refer to ports add-on as distributed separately.
5370 Mention AArch64 in list of systems supported in the ports add-on.
5371
87600365
JM
5372 * LICENSES: Add more non-FSF copyright and license notices.
5373
a0d7066a
JM
5374 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5375 ((unused)).
5376
66ca5a5b
JM
5377 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5378
363313b5
JM
5379 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5380 10000 as width of padded output.
5381
b37984ad
JM
53822012-12-04 Joseph Myers <joseph@codesourcery.com>
5383
9003570a
JM
5384 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5385
b37984ad
JM
5386 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5387 variable LX with __attribute__ ((unused)).
5388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5389 Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5391 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5392 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5393 with __attribute__ ((unused)).
5394
c8df52ec
DM
53952012-12-04 David S. Miller <davem@abraco.davemloft.net>
5396
5397 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5398
b3b099af
JM
53992012-12-04 Joseph Myers <joseph@codesourcery.com>
5400
c33aa6e3
JM
5401 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5402 (CFLAGS-nldbl-acos.c): New variable.
5403 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5404 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5405 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5406 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5407 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5408 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5409 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5410 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5411 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5412 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5413 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5414 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5415 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5416 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5417 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5418 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5419 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5420 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5421 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5422 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5423 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5424 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5425 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5426 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5427 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5428 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5429 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5430 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5431 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5432 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5433 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5434 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5435 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5436 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5437 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5438 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5439 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5440 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5441 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5442 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5443 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5444 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5445 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5446 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5447 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5448 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5449 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5450 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5451 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5452 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5453 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5454 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5455 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5456 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5457 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5458 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5459 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5460 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5461 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5462 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5463 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5464 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5465 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5466 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5467 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5468 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5469 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5470 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5471 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5472 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5473 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5474 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5475 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5476 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5477 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5478 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5479 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5480 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5481 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5482 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5483 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5484 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5485 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5486 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5487 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5488 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5489 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5490 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5491 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5492 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5493 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5494 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5495 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5496 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5497 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5498 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5499 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5500
20f0018d
JM
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5502 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5503
b3b099af
JM
5504 [BZ #14914]
5505 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5506 whole low double instead of just low 47 bits when splitting values
5507 into two parts.
5508
029264d1
AM
55092012-12-03 Allan McRae <allan@archlinux.org>
5510
5511 * manual/stdio.texi (Predefined Printf Handlers): Remove
5512 @hsep and @vsep usage.
5513
c9d6789e
MF
55142012-12-03 Mike Frysinger <vapier@gentoo.org>
5515
5516 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5517 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5518
4b7634a5
JL
55192012-12-03 Jeff Law <law@redhat.com>
5520
5521 * time/sys/time.h (settimeofday): Do not mark TV argument
5522 as __nonnull.
5523
eb6cbd24
MF
55242012-12-01 Mike Frysinger <vapier@gentoo.org>
5525
5526 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5527 when currently writing and seek to current position when not.
5528 * libio/Makefile (tests): Remove bug-fclose1.
5529 * libio/bug-fclose1.c: Delete.
5530
f638872a
JM
55312012-12-01 Joseph Myers <joseph@codesourcery.com>
5532
5533 * manual/arith.texi (feenableexcept): Fix typo.
5534 (fedisableexcept): Likewise.
5535
48085d14
RM
55362012-11-30 Roland McGrath <roland@hack.frob.com>
5537
5538 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5539 second, differently-typed declaration, rather than a cast.
5540
1a538b9f
SP
55412012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5542
5543 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5544 * include/rpc/svc.h: ... here.
5545
d07f2ff1 55462012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5547
5548 [BZ #13013]
5549 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5550 depending n and resplen2 to catch cases where answer
5551 equals answerp2.
5552
c93ec1f0
CD
55532012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5554
5555 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5556 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5557
37db69de
MF
55582012-11-29 Mike Frysinger <vapier@gentoo.org>
5559
5560 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5561
e10c4e4f
RM
55622012-11-29 Roland McGrath <roland@hack.frob.com>
5563
5564 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5565
2af1b328
JL
55662012-11-28 Jeff Law <law@redhat.com>
5567
5568 [BZ #13761]
5569 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5570 dataset_temporary. Track alloca usage into alloca_used.
5571 If dataset is large allocate and release it via malloc/free.
5572
111db5b1
FW
55732012-06-04 Florian Weimer <fweimer@redhat.com>
5574
f06cc227 5575 [BZ #14197]
111db5b1
FW
5576 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5577
dd694abd
DM
55782012-11-28 David S. Miller <davem@davemloft.net>
5579
5580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5581
9984dd01
JM
55822012-11-28 Joseph Myers <joseph@codesourcery.com>
5583
5584 [BZ #14803]
5585 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5586 of pi/2 rounded to nearest to 64 bits.
5587 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5588 nearest to 64 bits.
5589 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5590 bits.
5591
14bc93a9
JL
55922012-11-28 Jeff Law <law@redhat.com>
5593 Martin Osvald <mosvald@redhat.com>
5594
5595 [BZ #14889]
5596 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5597 * sunrpc/svc.c: Include time.h.
5598 (__svc_accept_failed): New function.
5599 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5600 any reason other than EINTR, call __svc_accept_failed.
5601 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5602 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5603
e3c6aa3a
AS
56042012-11-28 Andreas Schwab <schwab@suse.de>
5605
5606 * scripts/abilist.awk: Also handle indirect functions in .opd
5607 section.
5608
1bead169
JM
56092012-11-28 Joseph Myers <joseph@codesourcery.com>
5610
5611 [BZ #13881]
5612 * sysdeps/x86/fpu/powl_helper.c: New file.
5613 * sysdeps/x86/fpu/Makefile: Likewise.
5614 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5615 (p3): New object.
5616 (__ieee754_powl): Use __powl_helper for finite arguments except
5617 integer exponents below 8.
5618 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5619 (p3): New object.
5620 (__ieee754_powl): Use __powl_helper for finite arguments except
5621 integer exponents below 8.
5622 * math/libm-test.inc (pow_test): Add more tests and enable some
5623 previously disabled tests.
5624 * sysdeps/i386/fpu/libm-test-ulps: Update.
5625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5626
0817d63d
SP
56272012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5628 Carlos O'Donell <carlos_odonell@mentor.com>
5629
5630 * nss/makedb.c (is_prime): Assert that input is odd and greater
5631 than 4. Note that fact in a comment too.
5632 (next_prime): Add 4 to input.
5633
de2fd463
SP
56342012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5635
5636 [BZ #11741]
5637 * libio/Makefile (tests): Add test case tst-fwrite-error.
5638 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5639 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5640 * libio/tst-fwrite-error.c: New test case.
5641
c515fb51
L
56422012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5643
5644 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5645 before casting to void *.
5646 * include/libc-internal.h (__pointer_type): New macro.
5647 (__integer_if_pointer_type_sub): Likewise.
5648 (__integer_if_pointer_type): Likewise.
5649 (cast_to_integer): Likewise.
5650 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5651 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5652 before casting to atomic64_t.
5653 (atomic_exchange_acq): Likewise.
5654 (__arch_exchange_and_add_body): Likewise.
5655 (__arch_add_body): Likewise.
5656 (atomic_add_negative): Likewise.
5657 (atomic_add_zero): Likewise.
5658
4cf77aa9
JM
56592012-11-26 Joseph Myers <joseph@codesourcery.com>
5660
5661 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5662 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5663 (add_fdes): Likewise.
5664 (linear_search_fdes): Likewise.
5665 (binary_search_unencoded_fdes): Likewise.
5666
d260b3b4
AS
56672012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5668
5669 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5670
67060746
AC
56712012-11-24 Adam Conrad <adconrad@0c3.net>
5672
5673 * configure.in: Autodetect C++ header directories.
5674 * configure: Regenerated.
5675
800938a1
MF
56762012-11-23 Mike Frysinger <vapier@gentoo.org>
5677
5678 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5679
4e6e34e6
AS
56802012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5681
5682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5683
7c7feb47
JM
56842012-11-22 Joseph Myers <joseph@codesourcery.com>
5685
7184dcdf
JM
5686 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5687 LDBL_MANT_DIG == 106]: Disable some tests.
5688 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5689 Likewise.
5690 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5691 Likewise.
5692
0a42601f
JM
5693 [BZ #14871]
5694 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5695 input for small inputs. Return +/- pi/2 for large inputs.
5696 * math/libm-test.inc (atan_test): Add more tests.
5697
79c9b9fe
JM
5698 * sysdeps/generic/unwind-dw2-fde-glibc.c
5699 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5700 __attribute__ ((unused)).
5701
c60d3bf2
JM
5702 [BZ #14645]
5703 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5704 x * y if x and y are nonzero and z is zero.
5705
ef1e0867
JM
5706 [BZ #14811]
5707 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5708 nonzero exponents with absolute value below 0x1p-117 to +/-
5709 0x1p-117.
5710
1468ded3
JM
5711 [BZ #14869]
5712 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5713 up arguments below 2**-450, not just those below 2**-500.
5714 * math/libm-test.inc (hypot_test): Add another test.
5715
8e27e3cc
JM
5716 [BZ #14868]
5717 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5718 Return a+b for ratio over 2**120, not 2**60.
5719 * math/libm-test.inc (hypot_test): Add another test.
5720
c9c0279b
JM
5721 * math/libm-test.inc (clog_test): Use
5722 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5723 (clog10_test): Likewise.
5724
7c7feb47
JM
5725 [BZ #6778]
5726 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5727
fff1530e
AS
57282012-11-22 Andreas Schwab <schwab@suse.de>
5729
5730 * sysdeps/i386/fpu/libm-test-ulps: Update.
5731
94558d30
PT
57322012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5733
5734 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5735 printf output with newline.
5736
7e1be741
L
57372012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5738
6bfea974
L
5739 [BZ #14865]
5740 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5741 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5742 -z nodlopen, -z initfirst and -z execstack support.
5743 * configure: Regenerated.
5744
7e1be741
L
5745 * elf/elf.h (DF_1_NODIRECT): New macro.
5746 (DF_1_IGNMULDEF): Likewise.
5747 (DF_1_NOKSYMS): Likewise.
5748 (DF_1_NOHDR): Likewise.
5749 (DF_1_EDITED): Likewise.
5750 (DF_1_NORELOC): Likewise.
5751 (DF_1_SYMINTPOSE): Likewise.
5752 (DF_1_GLOBAUDIT): Likewise.
5753 (DF_1_SINGLETON): Likewise.
5754 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5755 DT_1_SUPPORTED_MASK bits.
5756 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5757
105ce2ce
CD
57582012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5759
5760 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5761
123be9de
TS
57622012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5763
d072f3f7
TS
5764 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5765 macro.
5766
123be9de
TS
5767 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5768 (sendmmsg): Move declarations...
5769 * socket/sys/socket.h: ... here.
5770 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5771 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5772 include it from...
5773 * socket/recvmmsg.c: ... this new file.
5774 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5775 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5776 definition of __sendmmsg hidden.
5777 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5778 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5779 Move ENOSYS stub into and include it from...
5780 * socket/sendmmsg.c: ... this new file.
5781 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5782 (sysdep_routines): Move recvmmsg and sendmmsg...
5783 * socket/Makefile (routines): ... here.
5784 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5785 (GLIBC_PRIVATE): Add __sendmmsg.
5786 * include/sys/socket.h (__sendmmsg): Add declarations.
5787 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5788 sendmmsg.
5789
cf9a5d18
JM
57902012-11-20 Joseph Myers <joseph@codesourcery.com>
5791
5792 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5793 variable I1 with __attribute__ ((unused)).
5794 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5795
ecd4caf9
JM
57962012-11-19 Joseph Myers <joseph@codesourcery.com>
5797
be14d48f
JM
5798 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5799 DUMMY variables with __attribute__ ((unused)).
5800
ecd4caf9
JM
5801 * bits/byteswap.h: Include <bits/types.h>.
5802 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5803
986cab95
PT
58042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5805
5806 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5807 string_t. Do not manually set errno.
5808 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5809 length with __strnlen. Make sure to both set errno and return it on
5810 failure.
5811
6d33cc9d
DM
58122012-11-19 David S. Miller <davem@davemloft.net>
5813
5814 With help from Joseph Myers.
5815 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5816 very large arguments properly.
5817 * math/libm-test.inc (atan_test): New tests.
5818 (atan2_test): New tests.
5819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5821
ee663277
JM
58222012-11-19 Joseph Myers <joseph@codesourcery.com>
5823
877f2d8e
JM
5824 [BZ #14856]
5825 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5826 Define to 3.
5827
116fc08a
JM
5828 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5829 [POSIX] (EADDRNOTAVAIL): Likewise.
5830 [POSIX] (EAFNOSUPPORT): Likewise.
5831 [POSIX] (EALREADY): Likewise.
5832 [POSIX] (ECONNABORTED): Likewise.
5833 [POSIX] (ECONNREFUSED): Likewise.
5834 [POSIX] (ECONNRESET): Likewise.
5835 [POSIX] (EDESTADDRREQ): Likewise.
5836 [POSIX] (EDQUOT): Likewise.
5837 [POSIX] (EHOSTUNREACH): Likewise.
5838 [POSIX] (EIDRM): Likewise.
5839 [POSIX] (EISCONN): Likewise.
5840 [POSIX] (ELOOP): Likewise.
5841 [POSIX] (EMULTIHOP): Likewise.
5842 [POSIX] (ENETDOWN): Likewise.
5843 [POSIX] (ENETUNREACH): Likewise.
5844 [POSIX] (ENOBUFS): Likewise.
5845 [POSIX] (ENODATA): Likewise.
5846 [POSIX] (ENOLINK): Likewise.
5847 [POSIX] (ENOMSG): Likewise.
5848 [POSIX] (ENOPROTOOPT): Likewise.
5849 [POSIX] (ENOSR): Likewise.
5850 [POSIX] (ENOSTR): Likewise.
5851 [POSIX] (ENOTCONN): Likewise.
5852 [POSIX] (ENOTSOCK): Likewise.
5853 [POSIX] (EOPNOTSUPP): Likewise.
5854 [POSIX] (EOVERFLOW): Likewise.
5855 [POSIX] (EPROTO): Likewise.
5856 [POSIX] (EPROTONOSUPPORT): Likewise.
5857 [POSIX] (EPROTOTYPE): Likewise.
5858 [POSIX] (ESTALE): Likewise.
5859 [POSIX] (ETIME): Likewise.
5860 [POSIX] (ETXTBSY): Likewise.
5861 [POSIX] (EWOULDBLOCK): Likewise.
5862 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5863 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5864 [POSIX] (SEEK_CUR): Likewise.
5865 [POSIX] (SEEK_END): Likewise.
5866 [POSIX || UNIX98] (mode_t): Do not require.
5867 [POSIX] (off_t): Likewise.
5868 [POSIX] (pid_t): Likewise.
5869 [POSIX] (sys/stat.h): Do not allow header.
5870 [POSIX] (unistd.h): Likewise.
5871 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5872 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5873 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5874 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5875 require.
5876 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5877 sigevent): Specify elements.
5878 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5879 entry.
5880 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5881 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5882
a483863f
JM
5883 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5884 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5885 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5886 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5887 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5888 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5889 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5890 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5891 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5892 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5893 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5894 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5895 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5896 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5897 Likewise.
5898 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5899 Likewise.
5900 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5901 Likewise.
5902 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5903 Likewise.
5904 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5905 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5906 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5907 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5908 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5909 Specify lower bound on value.
5910 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5911 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5912 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5913 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5914 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5915 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5916 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5917 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5918 value.
5919 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5920 as optional.
5921 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5922 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5923 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5924 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5925 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5926 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5927 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5928 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5929 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5930 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5931 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5932 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5933 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5934 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5935 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5936 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5937 entry.
5938 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5939 optional.
5940 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5941 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5942 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5943 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5944 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5945 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5946 Likewise.
5947 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5948 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5949 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5950 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5951 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5952 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5953 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5954 as optional.
5955 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5956 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5957 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5958 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5959 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5960 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5961 specify as optional.
5962 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5963 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5964 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5965 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5966 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5967 [XPG3] (NL_LANGMAX): Likewise.
5968 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5969 [POSIX || XPG3] (NL_NMAX): Likewise.
5970 [POSIX || XPG3] (NL_SETMAX): Likewise.
5971 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5972 [XPG3] (NZERO): Likewise.
5973 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5974 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5975 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5976 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5977 (REG_ERANGE): Expect.
5978 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5979 optional-constant.
5980 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5981 Use (void) in prototype.
5982 [POSIX] (*_t): Allow.
5983 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5984 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5985 (WRDE_BADVAL): Expect.
5986
5ba924e3
JM
5987 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5988 expect.
5989 [XPG3 || XPG4] (O_RSYNC): Likewise.
5990 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5991 Likewise.
5992 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5993 [XPG3 || XPG4] (sigqueue): Likewise.
5994 [XPG3 || XPG4] (sigtimedwait): Likewise.
5995 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5996 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5997 [XPG3 || XPG4] (vsnprintf): Likewise.
5998 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5999 Likewise.
6000 [XPG3 || XPG4] (blksize_t): Likewise.
6001 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6002 Likewise.
6003 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6004 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6005 [XPG3 || XPG4] (struct itimerspec): Likewise.
6006 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6007 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6008 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6009 [XPG3 || XPG4] (clockid_t): Likewise.
6010 [XPG3 || XPG4] (timer_t): Likewise.
6011 [XPG3 || XPG4] (clock_getres): Likewise.
6012 [XPG3 || XPG4] (clock_gettime): Likewise.
6013 [XPG3 || XPG4] (clock_settime): Likewise.
6014 [XPG3 || XPG4] (nanosleep): Likewise.
6015 [XPG3 || XPG4] (timer_create): Likewise.
6016 [XPG3 || XPG4] (timer_delete): Likewise.
6017 [XPG3 || XPG4] (timer_gettime): Likewise.
6018 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6019 [XPG3 || XPG4] (timer_settime): Likewise.
6020 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6021 [XPG3 || XPG4] (getlogin_r): Likewise.
6022 [XPG3 || XPG4] (pread): Likewise.
6023 [XPG3 || XPG4] (pthread_atfork): Likewise.
6024 [XPG3 || XPG4] (pwrite): Likewise.
6025
ee663277
JM
6026 [BZ #14835]
6027 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6028 <bits/siginfo.h>.
6029
942caa16
PT
60302012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6031
e19af380
PT
6032 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6033 finalizing MALLSTREAM.
6034
942caa16
PT
6035 * sysdeps/mach/hurd/syncfs.c: New file.
6036
cfde9b46
SP
60372012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6038
6039 [BZ #14719]
6040 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6041 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6042 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6043 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6044 (_nss_dns_gethostbyname4_r): Likewise.
6045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6046 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6047
f6da27e5
PH
60482012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6049
6050 [BZ #13763]
6051 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6052
6665d4a2
SM
60532012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6054
1f51ee92
SM
6055 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6056 * elf/cache.c (print_entry): Print ",AArch64" for
6057 FLAG_AARCH64_LIB64
6058
6665d4a2
SM
6059 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6060 * elf/cache.c (print_entry): Print ",hard-float" for
6061 FLAG_ARM_LIBHF.
6062
05b227bd
DM
60632012-11-18 David S. Miller <davem@davemloft.net>
6064
6065 With help from Joseph Myers.
6066 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6067 cutoff to 2**-13.
6068 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6069 cutoff to 2**-25.
6070 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6071 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6072 small.
6073 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6074 * math/libm-test.inc (y0_test): New tests.
6075 (y1_test): New tests.
6076 * sysdeps/i386/fpu/libm-test-ulps: Update.
6077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6079
786b0b67
AS
60802012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6081
6082 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6083 64-bit targets.
6084 * configure: Regenerated.
6085
8e18b86d
DM
60862012-11-17 David S. Miller <davem@davemloft.net>
6087
6088 [BZ #14811]
6089 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6090 nonzero exponents with absolute value below 0x1p-128 to +/-
6091 0x1p-128.
6092
531f1ae0
JM
60932012-11-17 Joseph Myers <joseph@codesourcery.com>
6094
12df29e2
JM
6095 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6096
150dc1a0
JM
6097 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6098
531f1ae0
JM
6099 * posix/getconf-speclist.c: New file.
6100 * posix/posix-envs.def: Likewise.
6101 * posix/confstr.c (START_ENV_GROUP): New macro.
6102 (END_ENV_GROUP): Likewise.
6103 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6104 (KNOWN_PRESENT_ENV_STRING): Likewise.
6105 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6106 (UNKNOWN_ENVIRONMENT): Likewise.
6107 (confstr): Include posix-envs.def instead of handling
6108 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6109 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6110 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6111 (END_ENV_GROUP): Likewise.
6112 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6113 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6114 (UNKNOWN_ENVIRONMENT): Likewise.
6115 (__sysconf): Include posix-envs.def instead of handling associated
6116 cases directly here.
6117 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6118 preprocessing getconf-speclist.c rather than running getconf or
6119 generating empty file.
6120
a93f9cbc
PT
61212012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6122
6123 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6124
d64d9f87
AL
61252012-11-16 Andrej Lajovic <natrij@gmail.com>
6126
6127 [BZ #14672]
6128 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6129
447885eb
DM
61302012-11-16 David S. Miller <davem@davemloft.net>
6131
6132 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6133 smaller than LDBL_EPSILON/2.0L, just return xm1.
6134
bcbf9830
L
61352012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6136
6137 * elf/tst-array1.c (init): Set constructor priority to 1000.
6138 (fini): Set destructor priority to 1000.
6139 * elf/tst-array2dep.c: Likewise.
6140
2b766585
SP
61412012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6142
6143 [BZ #11741]
6144 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6145 (_IO_new_file_xsputn): Also return EOF if none of the input
6146 data was written when overflow failed.
6147 * libio/iopadn.c (_IO_padn): Likewise.
6148 * libio/iowpadn.c (_IO_wpadn): Likewise.
6149 * stdio-common/tst-put-error.c: Add copyright notice.
6150 (do_test): Add case for printing padded string.
6151 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6152 _IO_padn returned error.
6153 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6154 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6155 return EOF.
6156
b1848fde
SP
61572012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6158
6159 * libio/libioP.h: Add comment note that the references to C++
6160 bits are now obsolete.
6161
2fd89785
MS
61622012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6163
6164 * math/libm-test.inc (check_complex): Use asprintf.
6165
e3ea5409
JM
61662012-11-14 Joseph Myers <joseph@codesourcery.com>
6167
6168 * debug/pcprofiledump.c (print_version): Update copyright year.
6169 * malloc/memusagestat.c (print_version): Likewise.
6170
2e64d265
L
61712012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6172
6173 [BZ #14831]
6174 * elf/Makefile (tests): Add tst-audit8.
6175 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6176 ($(objpfx)tst-audit8.out): New target.
6177 (tst-audit8-ENV): New variable.
6178 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6179 audit if l_reloc_result is NULL.
6180 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6181 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6182 * elf/tst-audit8.c: New file.
6183
c485e4d2
MS
61842012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6185
6186 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6187 * misc/Makefile (CFLAGS-select.c): Define.
6188 * posix/Makefile (CFLAGS-pause.c): Define.
6189
3a0d900a
DM
61902012-11-13 David S. Miller <davem@davemloft.net>
6191
6192 * crypt/Makefile: Move test targets after toplevel Rules
6193 inclusion. Grab any necessary sysdep routines when linking.
6194 * crypt/md5.c (md5_process_block): Remove define, we will always
6195 name it __md5_process_block.
6196 (md5_finish_ctx): Update md5_process_block call.
6197 (md5_stream): Likewise.
6198 (md5_process_bytes): Likewise.
6199 (md5_process_block): Rename to __md5_process_block and move to ...
6200 * crypt/md5-block.c: ... here.
6201 * crypt/sha256.c (sha256_process_block): Move to ...
6202 * crypt/sha256-block.c: ... here.
6203 * crypt/sha512.c (sha512_process_block): Move to ...
6204 * crypt/sha512-block.c: ... here.
6205 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6206 path.
6207 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6208 * sysdeps/sparc/sparc64/multiarch/Makefile
6209 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6210 crypt subdir.
6211 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6212 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6213 multiarch changes.
6214 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6215 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6216 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6217 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6218 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6219 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6220 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6221 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6222 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6223 file.
6224 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6225 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6226 file.
6227 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6228
8ca89318
JM
62292012-11-13 Joseph Myers <joseph@codesourcery.com>
6230
e27d476a
JM
6231 * timezone/tzselect.ksh: Update from tzcode git revision
6232 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6233 * timezone/zdump.c: Likewise.
6234 * timezone/zic.c: Likewise.
6235 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6236 in TZVERSION setting, not $(PKGVERSION).
6237 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6238 REPORT_BUGS_TO settings.
6239
8ca89318
JM
6240 [BZ #14838]
6241 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6242 macro.
6243
47594329
MS
62442012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6245
6246 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6247 detection to immediately after _FP_ROUND().
6248 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6249 bits are 0.
6250
640ac3f1
DM
62512012-11-11 David S. Miller <davem@davemloft.net>
6252
6253 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6254 inttypes.h
6255 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6256 __close rather than their public counterparts.
6257
3d2577bb
JM
62582012-11-10 Joseph Myers <joseph@codesourcery.com>
6259
6260 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6261 file.
6262 [UNIX98] (sem_timedwait): Do not expect.
6263 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6264 [XPG4 || UNIX98] (sockatmark): Do not expect.
6265 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6266 (clock_getcpuclockid): Do not expect.
6267 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6268 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6269 Do not expect.
6270 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6271 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6272 [UNIX98] (vwscanf): Likewise.
6273 [UNIX98] (vswscanf): Likewise.
6274
fb1ae1ee
JM
62752012-11-09 Joseph Myers <joseph@codesourcery.com>
6276
9ec6f8bd
JM
6277 * timezone/version.h: Remove file.
6278 * timezone/README: Do not refer to version.h.
6279 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6280 $(objpfx)version.h.
6281 ($(objpfx)zdump.o): Likewise.
c3f81911 6282 ($(objpfx)version.h): New target.
9ec6f8bd 6283
0aa8f8a1
JM
6284 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6285 2012i.
6286 * timezone/README: Don't mention modification to tzselect.ksh.
6287 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6288 work on unmodified tzselect.ksh. Substitute version numbers in
6289 tzselect.ksh.
6290
4e87147f
JM
6291 * Makefile (format-me): Remove.
6292 (INSTALL): Adjust indentation. Use commands directly instead of
6293 using $(format-me).
6294
8b748aed
JM
6295 * aclocal.m4 (ACX_PKGVERSION): New macro.
6296 (ACX_BUGURL): Likewise.
6297 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6298 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6299 (REPORT_BUGS_TO): Likewise.
6300 * configure: Regenerated.
6301 * config.h.in (PKGVERSION): New macro.
6302 (REPORT_BUGS_TO): Likewise.
6303 * config.make.in (PKGVERSION): New variable.
6304 (PKGVERSION_TEXI): Likewise.
6305 (REPORT_BUGS_TO): Likewise.
6306 (REPORT_BUGS_TEXI): Likewise.
6307 * Makefile (format-me): Use -I$(common-objpfx)manual.
6308 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6309 ($(common-objpfx)manual/%): New target.
6310 (manual/%): Remove target.
6311 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6312 (print_version): Use PKGVERSION.
6313 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6314 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6315 and REPORT_BUGS_TO.
6316 ($(objpfx)xtrace): Likewise.
6317 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6318 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6319 (print_version): Use PKGVERSION.
6320 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6321 (do_version): Use PKGVERSION.
6322 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6323 REPORT_BUGS_TO.
6324 (common-ldd-rewrite): Likewise.
6325 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6326 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6327 (print_version): Use PKGVERSION.
6328 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6329 * elf/pldd.c (argp_program_bug_address): Remove variable.
6330 (more_help): New function.
6331 (argp): Use more_help.
6332 (print_version): Use PKGVERSION.
6333 * elf/sln.c (main): Use PKGVERSION.
6334 (usage): Use REPORT_BUGS_TO.
6335 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6336 (top level): Use PKGVERSION.
6337 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6338 (print_version): Use PKGVERSION.
6339 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6340 (print_version): Use PKGVERSION.
6341 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6342 (print_version): Use PKGVERSION.
6343 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6344 (print_version): Use PKGVERSION.
6345 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6346 (print_version): Use PKGVERSION.
6347 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6348 (print_version): Use PKGVERSION.
6349 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6350 and BUGURL.
6351 ($(objpfx)memusage): Likewise.
6352 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6353 (do_version): Use PKGVERSION.
6354 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6355 (print_version): Use PKGVERSION.
6356 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6357 ($PKGVERSION): New variable.
6358 ($REPORT_BUGS_TO): Likewise.
6359 (usage): Use $REPORT_BUGS_TO.
6360 (top level): Use $PKGVERSION.
6361 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6362 ($(objpfx)pkgvers.texi): New rule.
6363 ($(objpfx)stamp-pkgvers): Likewise.
6364 * manual/install.texi: Include pkgvers.texi.
6365 (--with-pkgversion): Document new configure option.
6366 (--with-bugurl): Likewise.
6367 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6368 than necessarily for this particular distribution. Use
6369 REPORT_BUGS_TO for where to report bugs.
6370 * INSTALL: Regenerated.
6371 * manual/libc.texinfo: Include pkgvers.texi.
6372 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6373 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6374 (print_version): Use PKGVERSION.
6375 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6376 (print_version): Use PKGVERSION.
6377 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6378 (print_version): Use PKGVERSION.
6379 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6380 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6381 macro.
6382 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6383 (print_version): Use PKGVERSION.
6384 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6385 (print_version): Use PKGVERSION.
6386 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6387 and PKGVERSION.
6388
92e4b6a9
JM
6389 * timezone/checktab.awk: Update from tzcode 2012i.
6390 * timezone/ialloc.c: Likewise.
6391 * timezone/private.h: Likewise.
6392 * timezone/scheck.c: Likewise.
6393 * timezone/tzfile.h: Likewise.
6394 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6395 (TZVERSION): Hardcode tzcode version number.
6396 * timezone/zdump.c: Update from tzcode 2012i.
6397 * timezone/zic.c: Likewise.
6398 * timezone/version.h: New file.
6399 * timezone/README: Describe version.h. Update upstream location.
6400
9bde902c
JM
6401 [BZ #14824]
6402 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6403 (mktemp): Enable declaration.
6404 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6408 Likewise.
6409 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6410 Likewise.
6411 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6412 Likewise.
6413 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6414 Likewise.
6415 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6416 Likewise.
6417 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6418 Likewise.
6419
fb1ae1ee
JM
6420 [BZ #14821]
6421 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6422 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6423 for copies of such integer values.
6424 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6425 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6426
2c1adbcb
AJ
64272012-11-09 Andreas Jaeger <aj@suse.de>
6428
6429 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6430 definitions and declarations that are provided by
6431 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6432
d0f8457e
AK
64332012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6434
3a235abb 6435 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6436 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6437 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6438 definition.
6439
57241e26
MS
64402012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6441
6442 * elf/elf.h: Update comment before AArch64 relocations.
6443
60e8270d
DM
64442012-11-07 David S. Miller <davem@davemloft.net>
6445
6446 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6447 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6448 (__start_context): Declare.
6449 (__makecontext_ret): Delete.
6450 (__makecontext): Hook up __start_context instead of
6451 __makecontext_ret.
6452 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6453 (sysdep_routines): Add __start_context when in stdlib.
6454
0fbb0fbc
JM
64552012-11-07 Joseph Myers <joseph@codesourcery.com>
6456
6457 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6458 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6459 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6460 hardcoded "nm".
6461 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6462 (READELF): New variable. Use it instead of hardcoded "readelf".
6463
eb48db7e
L
64642012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6465
6466 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6467 * sysdeps/x86/Makefile: Here.
6468 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6469 * sysdeps/x86/tst-xmmymm.sh: This.
6470
05bcf62a
JM
64712012-11-07 Joseph Myers <joseph@codesourcery.com>
6472
c4b6cf53
JM
6473 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6474 expectations.
6475 [UNIX98] (pthread_barrier_t): Do not expect.
6476 [UNIX98] (pthread_barrierattr_t): Likewise.
6477 [UNIX98] (pthread_spinlock_t): Likewise.
6478 [UNIX98] (pthread_barrier_destroy): Likewise.
6479 [UNIX98] (pthread_barrier_init): Likewise.
6480 [UNIX98] (pthread_barrier_wait): Likewise.
6481 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6482 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6483 [UNIX98] (pthread_barrierattr_init): Likewise.
6484 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6485 [UNIX98] (pthread_getcpuclockid): Likewise.
6486 [UNIX98] (pthread_mutex_timedlock): Likewise.
6487 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6488 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6489 [UNIX98] (pthread_sigmask): Likewise.
6490 [UNIX98] (pthread_spin_destroy): Likewise.
6491 [UNIX98] (pthread_spin_init): Likewise.
6492 [UNIX98] (pthread_spin_lock): Likewise.
6493 [UNIX98] (pthread_spin_trylock): Likewise.
6494 [UNIX98] (pthread_spin_unlock): Likewise.
6495 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6496 Do not expect.
6497 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6499 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6500 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6501 [XPG3 || XPG4] (pthread_key_t): Likewise.
6502 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6503 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6504 [XPG3 || XPG4] (pthread_once_t): Likewise.
6505 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6506 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6508 [XPG3 || XPG4] (pthread_t): Likewise.
6509
cbe6e120
JM
6510 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6511 not expect.
6512 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6513
1b126443
JM
6514 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6515 Change function return type to int.
6516
b961a573
JM
6517 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6518 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6519 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6520 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6521 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6522 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6523 [!POSIX] (posix_madvise): Likewise.
6524 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6525 && !UNIX98].
6526 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6527 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6528 (mode_t): Likewise.
6529 (posix_mem_offset): Likewise.
6530 (posix_typed_mem_get_info): Likewise.
6531 (posix_typed_mem_open): Likewise.
6532
9e188909
JM
6533 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6534 Change condition to [XOPEN2K8].
6535
05bcf62a
JM
6536 * conform/conformtest.pl: Preprocess allow-header data with -x c
6537 instead of from stdin.
6538 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6539 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6540 [C99-based standards] (cerfc): Likewise.
6541 [C99-based standards] (cexp2): Likewise.
6542 [C99-based standards] (cexpm1): Likewise.
6543 [C99-based standards] (clog10): Likewise.
6544 [C99-based standards] (clog1p): Likewise.
6545 [C99-based standards] (clog2): Likewise.
6546 [C99-based standards] (clgamma): Likewise.
6547 [C99-based standards] (ctgamma): Likewise.
6548 [C99-based standards] (cerff): Likewise.
6549 [C99-based standards] (cerfcf): Likewise.
6550 [C99-based standards] (cexp2f): Likewise.
6551 [C99-based standards] (cexpm1f): Likewise.
6552 [C99-based standards] (clog10f): Likewise.
6553 [C99-based standards] (clog1pf): Likewise.
6554 [C99-based standards] (clog2f): Likewise.
6555 [C99-based standards] (clgammaf): Likewise.
6556 [C99-based standards] (ctgammaf): Likewise.
6557 [C99-based standards] (cerfl): Likewise.
6558 [C99-based standards] (cerfcl): Likewise.
6559 [C99-based standards] (cexp2l): Likewise.
6560 [C99-based standards] (cexpm1l): Likewise.
6561 [C99-based standards] (clog10l): Likewise.
6562 [C99-based standards] (clog1pl): Likewise.
6563 [C99-based standards] (clog2l): Likewise.
6564 [C99-based standards] (clgammal): Likewise.
6565 [C99-based standards] (ctgammal): Likewise.
6566 * conform/data/inttypes.h-data [C99-based standards]: Include
6567 stdint.h-data. Remove all expectations for stdint.h contents.
6568 [C99-based standards] (PRI*): Do not allow.
6569 [C99-based standards] (SCN*): Likewise.
6570 [C99-based standards] (*_t): Likewise.
6571 [C99-based-standards] (PRId8): Expect macro.
6572 [C99-based-standards] (PRIi8): Likewise.
6573 [C99-based-standards] (PRIo8): Likewise.
6574 [C99-based-standards] (PRIu8): Likewise.
6575 [C99-based-standards] (PRIx8): Likewise.
6576 [C99-based-standards] (PRIX8): Likewise.
6577 [C99-based-standards] (SCNd8): Likewise.
6578 [C99-based-standards] (SCNi8): Likewise.
6579 [C99-based-standards] (SCNo8): Likewise.
6580 [C99-based-standards] (SCNu8): Likewise.
6581 [C99-based-standards] (SCNx8): Likewise.
6582 [C99-based-standards] (PRIdLEAST8): Likewise.
6583 [C99-based-standards] (PRIiLEAST8): Likewise.
6584 [C99-based-standards] (PRIoLEAST8): Likewise.
6585 [C99-based-standards] (PRIuLEAST8): Likewise.
6586 [C99-based-standards] (PRIxLEAST8): Likewise.
6587 [C99-based-standards] (PRIXLEAST8): Likewise.
6588 [C99-based-standards] (SCNdLEAST8): Likewise.
6589 [C99-based-standards] (SCNiLEAST8): Likewise.
6590 [C99-based-standards] (SCNoLEAST8): Likewise.
6591 [C99-based-standards] (SCNuLEAST8): Likewise.
6592 [C99-based-standards] (SCNxLEAST8): Likewise.
6593 [C99-based-standards] (PRIdFAST8): Likewise.
6594 [C99-based-standards] (PRIiFAST8): Likewise.
6595 [C99-based-standards] (PRIoFAST8): Likewise.
6596 [C99-based-standards] (PRIuFAST8): Likewise.
6597 [C99-based-standards] (PRIxFAST8): Likewise.
6598 [C99-based-standards] (PRIXFAST8): Likewise.
6599 [C99-based-standards] (SCNdFAST8): Likewise.
6600 [C99-based-standards] (SCNiFAST8): Likewise.
6601 [C99-based-standards] (SCNoFAST8): Likewise.
6602 [C99-based-standards] (SCNuFAST8): Likewise.
6603 [C99-based-standards] (SCNxFAST8): Likewise.
6604 [C99-based-standards] (PRId16): Likewise.
6605 [C99-based-standards] (PRIi16): Likewise.
6606 [C99-based-standards] (PRIo16): Likewise.
6607 [C99-based-standards] (PRIu16): Likewise.
6608 [C99-based-standards] (PRIx16): Likewise.
6609 [C99-based-standards] (PRIX16): Likewise.
6610 [C99-based-standards] (SCNd16): Likewise.
6611 [C99-based-standards] (SCNi16): Likewise.
6612 [C99-based-standards] (SCNo16): Likewise.
6613 [C99-based-standards] (SCNu16): Likewise.
6614 [C99-based-standards] (SCNx16): Likewise.
6615 [C99-based-standards] (PRIdLEAST16): Likewise.
6616 [C99-based-standards] (PRIiLEAST16): Likewise.
6617 [C99-based-standards] (PRIoLEAST16): Likewise.
6618 [C99-based-standards] (PRIuLEAST16): Likewise.
6619 [C99-based-standards] (PRIxLEAST16): Likewise.
6620 [C99-based-standards] (PRIXLEAST16): Likewise.
6621 [C99-based-standards] (SCNdLEAST16): Likewise.
6622 [C99-based-standards] (SCNiLEAST16): Likewise.
6623 [C99-based-standards] (SCNoLEAST16): Likewise.
6624 [C99-based-standards] (SCNuLEAST16): Likewise.
6625 [C99-based-standards] (SCNxLEAST16): Likewise.
6626 [C99-based-standards] (PRIdFAST16): Likewise.
6627 [C99-based-standards] (PRIiFAST16): Likewise.
6628 [C99-based-standards] (PRIoFAST16): Likewise.
6629 [C99-based-standards] (PRIuFAST16): Likewise.
6630 [C99-based-standards] (PRIxFAST16): Likewise.
6631 [C99-based-standards] (PRIXFAST16): Likewise.
6632 [C99-based-standards] (SCNdFAST16): Likewise.
6633 [C99-based-standards] (SCNiFAST16): Likewise.
6634 [C99-based-standards] (SCNoFAST16): Likewise.
6635 [C99-based-standards] (SCNuFAST16): Likewise.
6636 [C99-based-standards] (SCNxFAST16): Likewise.
6637 [C99-based-standards] (PRId32): Likewise.
6638 [C99-based-standards] (PRIi32): Likewise.
6639 [C99-based-standards] (PRIo32): Likewise.
6640 [C99-based-standards] (PRIu32): Likewise.
6641 [C99-based-standards] (PRIx32): Likewise.
6642 [C99-based-standards] (PRIX32): Likewise.
6643 [C99-based-standards] (SCNd32): Likewise.
6644 [C99-based-standards] (SCNi32): Likewise.
6645 [C99-based-standards] (SCNo32): Likewise.
6646 [C99-based-standards] (SCNu32): Likewise.
6647 [C99-based-standards] (SCNx32): Likewise.
6648 [C99-based-standards] (PRIdLEAST32): Likewise.
6649 [C99-based-standards] (PRIiLEAST32): Likewise.
6650 [C99-based-standards] (PRIoLEAST32): Likewise.
6651 [C99-based-standards] (PRIuLEAST32): Likewise.
6652 [C99-based-standards] (PRIxLEAST32): Likewise.
6653 [C99-based-standards] (PRIXLEAST32): Likewise.
6654 [C99-based-standards] (SCNdLEAST32): Likewise.
6655 [C99-based-standards] (SCNiLEAST32): Likewise.
6656 [C99-based-standards] (SCNoLEAST32): Likewise.
6657 [C99-based-standards] (SCNuLEAST32): Likewise.
6658 [C99-based-standards] (SCNxLEAST32): Likewise.
6659 [C99-based-standards] (PRIdFAST32): Likewise.
6660 [C99-based-standards] (PRIiFAST32): Likewise.
6661 [C99-based-standards] (PRIoFAST32): Likewise.
6662 [C99-based-standards] (PRIuFAST32): Likewise.
6663 [C99-based-standards] (PRIxFAST32): Likewise.
6664 [C99-based-standards] (PRIXFAST32): Likewise.
6665 [C99-based-standards] (SCNdFAST32): Likewise.
6666 [C99-based-standards] (SCNiFAST32): Likewise.
6667 [C99-based-standards] (SCNoFAST32): Likewise.
6668 [C99-based-standards] (SCNuFAST32): Likewise.
6669 [C99-based-standards] (SCNxFAST32): Likewise.
6670 [C99-based-standards] (PRId64): Likewise.
6671 [C99-based-standards] (PRIi64): Likewise.
6672 [C99-based-standards] (PRIo64): Likewise.
6673 [C99-based-standards] (PRIu64): Likewise.
6674 [C99-based-standards] (PRIx64): Likewise.
6675 [C99-based-standards] (PRIX64): Likewise.
6676 [C99-based-standards] (SCNd64): Likewise.
6677 [C99-based-standards] (SCNi64): Likewise.
6678 [C99-based-standards] (SCNo64): Likewise.
6679 [C99-based-standards] (SCNu64): Likewise.
6680 [C99-based-standards] (SCNx64): Likewise.
6681 [C99-based-standards] (PRIdLEAST64): Likewise.
6682 [C99-based-standards] (PRIiLEAST64): Likewise.
6683 [C99-based-standards] (PRIoLEAST64): Likewise.
6684 [C99-based-standards] (PRIuLEAST64): Likewise.
6685 [C99-based-standards] (PRIxLEAST64): Likewise.
6686 [C99-based-standards] (PRIXLEAST64): Likewise.
6687 [C99-based-standards] (SCNdLEAST64): Likewise.
6688 [C99-based-standards] (SCNiLEAST64): Likewise.
6689 [C99-based-standards] (SCNoLEAST64): Likewise.
6690 [C99-based-standards] (SCNuLEAST64): Likewise.
6691 [C99-based-standards] (SCNxLEAST64): Likewise.
6692 [C99-based-standards] (PRIdFAST64): Likewise.
6693 [C99-based-standards] (PRIiFAST64): Likewise.
6694 [C99-based-standards] (PRIoFAST64): Likewise.
6695 [C99-based-standards] (PRIuFAST64): Likewise.
6696 [C99-based-standards] (PRIxFAST64): Likewise.
6697 [C99-based-standards] (PRIXFAST64): Likewise.
6698 [C99-based-standards] (SCNdFAST64): Likewise.
6699 [C99-based-standards] (SCNiFAST64): Likewise.
6700 [C99-based-standards] (SCNoFAST64): Likewise.
6701 [C99-based-standards] (SCNuFAST64): Likewise.
6702 [C99-based-standards] (SCNxFAST64): Likewise.
6703 [C99-based-standards] (PRIdMAX): Likewise.
6704 [C99-based-standards] (PRIiMAX): Likewise.
6705 [C99-based-standards] (PRIoMAX): Likewise.
6706 [C99-based-standards] (PRIuMAX): Likewise.
6707 [C99-based-standards] (PRIxMAX): Likewise.
6708 [C99-based-standards] (PRIXMAX): Likewise.
6709 [C99-based-standards] (SCNdMAX): Likewise.
6710 [C99-based-standards] (SCNiMAX): Likewise.
6711 [C99-based-standards] (SCNoMAX): Likewise.
6712 [C99-based-standards] (SCNuMAX): Likewise.
6713 [C99-based-standards] (SCNxMAX): Likewise.
6714 [C99-based-standards] (PRIdPTR): Likewise.
6715 [C99-based-standards] (PRIiPTR): Likewise.
6716 [C99-based-standards] (PRIoPTR): Likewise.
6717 [C99-based-standards] (PRIuPTR): Likewise.
6718 [C99-based-standards] (PRIxPTR): Likewise.
6719 [C99-based-standards] (PRIXPTR): Likewise.
6720 [C99-based-standards] (SCNdPTR): Likewise.
6721 [C99-based-standards] (SCNiPTR): Likewise.
6722 [C99-based-standards] (SCNoPTR): Likewise.
6723 [C99-based-standards] (SCNuPTR): Likewise.
6724 [C99-based-standards] (SCNxPTR): Likewise.
6725 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6726 allow.
6727 * conform/data/stdint.h-data: Update comments to clarify
6728 requirements.
6729 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6730 type.
6731 [C99-based standards] (INT8_MAX): Likewise.
6732 [C99-based standards] (INT16_MIN): Likewise.
6733 [C99-based standards] (INT16_MAX): Likewise.
6734 [C99-based standards] (INT32_MIN): Likewise.
6735 [C99-based standards] (INT32_MAX): Likewise.
6736 [C99-based standards] (INT64_MIN): Likewise.
6737 [C99-based standards] (INT64_MAX): Likewise.
6738 [C99-based standards] (UINT8_MAX): Likewise.
6739 [C99-based standards] (UINT16_MAX): Likewise.
6740 [C99-based standards] (UINT32_MAX): Likewise.
6741 [C99-based standards] (UINT64_MAX): Likewise.
6742 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6743 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6744 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6745 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6746 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6747 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6748 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6749 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6750 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6751 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6752 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6753 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6754 [C99-based standards] (INT_FAST8_MIN): Likewise.
6755 [C99-based standards] (INT_FAST8_MAX): Likewise.
6756 [C99-based standards] (INT_FAST16_MIN): Likewise.
6757 [C99-based standards] (INT_FAST16_MAX): Likewise.
6758 [C99-based standards] (INT_FAST32_MIN): Likewise.
6759 [C99-based standards] (INT_FAST32_MAX): Likewise.
6760 [C99-based standards] (INT_FAST64_MIN): Likewise.
6761 [C99-based standards] (INT_FAST64_MAX): Likewise.
6762 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6763 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6764 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6765 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6766 [C99-based standards] (INTPTR_MIN): Likewise.
6767 [C99-based standards] (INTPTR_MAX): Likewise.
6768 [C99-based standards] (UINTPTR_MAX): Likewise.
6769 [C99-based standards] (INTMAX_MIN): Likewise.
6770 [C99-based standards] (INTMAX_MAX): Likewise.
6771 [C99-based standards] (UINTMAX_MAX): Likewise.
6772 [C99-based standards] (PTRDIFF_MIN): Likewise.
6773 [C99-based standards] (PTRDIFF_MAX): Likewise.
6774 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6775 [C99-based standards] (SIZE_MAX): Likewise.
6776 [C99-based standards] (WCHAR_MAX): Likewise.
6777 [C99-based standards] (WINT_MAX): Likewise.
6778 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6779 constraint on value.
6780 [C99-based standards] (WCHAR_MIN): Likewise.
6781 [C99-based standards] (WINT_MIN): Likewise.
6782 [C99-based standards] (*_t): Allow.
6783 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6784 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6785 Include math.h-data and complex.h-data. Remove all expectations
6786 of math.h and complex.h contents.
6787 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6788 at end of line.
6789 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6790 (struct tm): Expect tag.
6791 [C99-based-standards] (wcstof): Expect function.
6792 [C99-based-standards] (wcstold): Likewise.
6793 [C99-based-standards] (wcstoll): Likewise.
6794 [C99-based-standards] (wcstoull): Likewise.
6795 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6796 macro-int-constant. Specify type.
6797 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6798 constraint on value.
6799 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6800 Specify type.
6801 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6802 Specify value.
6803 [ISO C standards]: Do not allow headers.
6804 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6805 wcs[abcdefghijklmnopqrstuvwxyz]*.
6806 [ISO C standards] (*_t): Do not allow.
6807 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6808 Expect function.
6809 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6810 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6811 Specify type.
6812 [ISO C standards]: Do not allow headers.
6813 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6814 is[abcdefghijklmnopqrstuvwxyz]*.
6815 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6816 to[abcdefghijklmnopqrstuvwxyz]*.
6817 [ISO C standards] (*_t): Do not allow.
6818 * conform/data/stdalign.h-data: New file.
6819 * conform/data/stdbool.h-data: Likewise.
6820 * conform/data/stdnoreturn.h-data: Likewise.
6821
7514feb8
RM
68222012-11-07 Roland McGrath <roland@hack.frob.com>
6823
6824 [BZ #14815]
6825 * manual/filesys.texi (Directory Entries): Typo fix.
6826 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6827
19b2ecfc
MS
68282012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6829
6830 * elf/elf.h (EM_AARCH64): New macro.
6831 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6832 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6833 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6834 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6835 (R_AARCH64_TLSDESC): Likewise.
6836 (NT_ARM_TLS): Likewise.
6837 (NT_ARM_HW_BREAK): Likewise.
6838 (NT_ARM_HW_WATCH): Likewise.
6839
60e235ee
JM
68402012-11-07 Joseph Myers <joseph@codesourcery.com>
6841
6842 [BZ #14811]
6843 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6844 (__ieee754_powl): Saturate nonzero exponents with absolute value
6845 below 0x1p-79 to +/- 0x1p-79.
6846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6847 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6848 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6849 nonzero exponents with absolute value below 0x1p-32 to +/-
6850 0x1p-32.
6851 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6852 (__ieee754_powl): Saturate nonzero exponents with absolute value
6853 below 0x1p-79 to +/- 0x1p-79.
6854 * math/libm-test.inc (pow_test): Add more tests.
6855
0ab234b7
AK
68562012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6857
6858 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6859 _dl_s390_cap_flags with kernel. Increase string length.
6860 (_dl_s390_platforms): Add z196 and zEC12.
6861
45832f74
JM
68622012-11-07 Joseph Myers <joseph@codesourcery.com>
6863
6864 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6865 Change XOPEN21K to XOPEN2K.
6866
19218757
MK
68672012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6868
6869 * string/memmove.c: Use memcpy when possible.
6870
c5f45721
AJ
68712012-11-06 Andreas Jaeger <aj@suse.de>
6872
6873 * po/eo.po: Update from translation team.
6874
82477c28
JM
68752012-11-06 Joseph Myers <joseph@codesourcery.com>
6876
6877 [BZ #14793]
6878 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6879 exponent and small x and y exponents, scale x or y up. Increase
6880 by 2 the exponent used in scaling up.
6881 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6883 * math/libm-test.inc (fma_test): Add more tests.
6884 (fma_test_towardzero): Likewise.
6885 (fma_test_downward): Likewise.
6886 (fma_test_upward): Likewise.
6887
99252c8c
JM
68882012-11-05 Joseph Myers <joseph@codesourcery.com>
6889
acfa885f
JM
6890 [BZ #14805]
6891 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6892 fenv_t *.
6893
99252c8c
JM
6894 [BZ #14801]
6895 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6896 namespace for names of struct fields.
6897 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6898 fenv_t fields.
6899 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6900 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6901
d6d98dea
ST
69022012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6903
6904 [BZ #3665]
6905 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6906
e10bb107
TS
69072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6908
6909 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6910 PTR_DEMANGLE.
6911
6912 [BZ #5246]
6913 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6914 PTR_DEMANGLE.
6915
a0c2940d
JM
69162012-11-04 Joseph Myers <joseph@codesourcery.com>
6917
6918 [BZ #14797]
6919 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6920 definitely overflow as x * y not x * y + z.
6921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6923 * math/libm-test.inc (fma_test): Add more tests.
6924 (fma_test_towardzero): Likewise.
6925 (fma_test_downward): Likewise.
6926 (fma_test_upward): Likewise.
6927
b830319d
TS
69282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6929
6930 [BZ #157]
6931
6932 * include/stub-tag.h: Remove file.
6933 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6934 '#include' of it.
6935 * manual/maint.texi (Porting): Don't reference it.
6936 * Makerules ($(objpfx)stubs): Likewise.
6937 * dirent/closedir.c: Don't include <stub-tag.h>.
6938 * dirent/dirfd.c: Likewise.
6939 * dirent/fdopendir.c: Likewise.
6940 * dirent/getdents.c: Likewise.
6941 * dirent/getdents64.c: Likewise.
6942 * dirent/opendir.c: Likewise.
6943 * dirent/readdir.c: Likewise.
6944 * dirent/readdir64.c: Likewise.
6945 * dirent/readdir64_r.c: Likewise.
6946 * dirent/readdir_r.c: Likewise.
6947 * dirent/rewinddir.c: Likewise.
6948 * dirent/seekdir.c: Likewise.
6949 * dirent/telldir.c: Likewise.
6950 * gmon/profil.c: Likewise.
6951 * grp/setgroups.c: Likewise.
6952 * inet/if_index.c: Likewise.
6953 * io/access.c: Likewise.
6954 * io/chdir.c: Likewise.
6955 * io/chmod.c: Likewise.
6956 * io/chown.c: Likewise.
6957 * io/close.c: Likewise.
6958 * io/dup.c: Likewise.
6959 * io/dup2.c: Likewise.
6960 * io/dup3.c: Likewise.
6961 * io/euidaccess.c: Likewise.
6962 * io/faccessat.c: Likewise.
6963 * io/fchdir.c: Likewise.
6964 * io/fchmod.c: Likewise.
6965 * io/fchmodat.c: Likewise.
6966 * io/fchown.c: Likewise.
6967 * io/fchownat.c: Likewise.
6968 * io/fcntl.c: Likewise.
6969 * io/flock.c: Likewise.
6970 * io/fstatfs.c: Likewise.
6971 * io/fstatfs64.c: Likewise.
6972 * io/fstatvfs.c: Likewise.
6973 * io/fstatvfs64.c: Likewise.
6974 * io/futimens.c: Likewise.
6975 * io/fxstat.c: Likewise.
6976 * io/fxstat64.c: Likewise.
6977 * io/fxstatat.c: Likewise.
6978 * io/fxstatat64.c: Likewise.
6979 * io/getcwd.c: Likewise.
6980 * io/isatty.c: Likewise.
6981 * io/lchmod.c: Likewise.
6982 * io/lchown.c: Likewise.
6983 * io/link.c: Likewise.
6984 * io/linkat.c: Likewise.
6985 * io/lseek.c: Likewise.
6986 * io/lseek64.c: Likewise.
6987 * io/lxstat64.c: Likewise.
6988 * io/mkdir.c: Likewise.
6989 * io/mkdirat.c: Likewise.
6990 * io/mkfifo.c: Likewise.
6991 * io/mkfifoat.c: Likewise.
6992 * io/open.c: Likewise.
6993 * io/open64.c: Likewise.
6994 * io/openat.c: Likewise.
6995 * io/openat64.c: Likewise.
6996 * io/pipe.c: Likewise.
6997 * io/pipe2.c: Likewise.
6998 * io/poll.c: Likewise.
6999 * io/posix_fadvise.c: Likewise.
7000 * io/posix_fadvise64.c: Likewise.
7001 * io/posix_fallocate.c: Likewise.
7002 * io/posix_fallocate64.c: Likewise.
7003 * io/read.c: Likewise.
7004 * io/readlink.c: Likewise.
7005 * io/readlinkat.c: Likewise.
7006 * io/rmdir.c: Likewise.
7007 * io/sendfile.c: Likewise.
7008 * io/sendfile64.c: Likewise.
7009 * io/statfs.c: Likewise.
7010 * io/statfs64.c: Likewise.
7011 * io/statvfs.c: Likewise.
7012 * io/statvfs64.c: Likewise.
7013 * io/symlink.c: Likewise.
7014 * io/symlinkat.c: Likewise.
7015 * io/ttyname.c: Likewise.
7016 * io/ttyname_r.c: Likewise.
7017 * io/umask.c: Likewise.
7018 * io/unlink.c: Likewise.
7019 * io/unlinkat.c: Likewise.
7020 * io/utime.c: Likewise.
7021 * io/utimensat.c: Likewise.
7022 * io/write.c: Likewise.
7023 * io/xmknod.c: Likewise.
7024 * io/xmknodat.c: Likewise.
7025 * io/xstat.c: Likewise.
7026 * io/xstat64.c: Likewise.
7027 * login/getpt.c: Likewise.
7028 * login/grantpt.c: Likewise.
7029 * login/unlockpt.c: Likewise.
7030 * math/e_acoshl.c: Likewise.
7031 * math/e_acosl.c: Likewise.
7032 * math/e_asinl.c: Likewise.
7033 * math/e_atan2l.c: Likewise.
7034 * math/e_atanhl.c: Likewise.
7035 * math/e_coshl.c: Likewise.
7036 * math/e_expl.c: Likewise.
7037 * math/e_fmodl.c: Likewise.
7038 * math/e_gammal_r.c: Likewise.
7039 * math/e_hypotl.c: Likewise.
7040 * math/e_j0l.c: Likewise.
7041 * math/e_j1l.c: Likewise.
7042 * math/e_jnl.c: Likewise.
7043 * math/e_lgammal_r.c: Likewise.
7044 * math/e_log10l.c: Likewise.
7045 * math/e_log2l.c: Likewise.
7046 * math/e_logl.c: Likewise.
7047 * math/e_powl.c: Likewise.
7048 * math/e_rem_pio2l.c: Likewise.
7049 * math/e_sinhl.c: Likewise.
7050 * math/e_sqrtl.c: Likewise.
7051 * math/fclrexcpt.c: Likewise.
7052 * math/fedisblxcpt.c: Likewise.
7053 * math/feenablxcpt.c: Likewise.
7054 * math/fegetenv.c: Likewise.
7055 * math/fegetexcept.c: Likewise.
7056 * math/fegetround.c: Likewise.
7057 * math/feholdexcpt.c: Likewise.
7058 * math/fesetenv.c: Likewise.
7059 * math/fesetround.c: Likewise.
7060 * math/feupdateenv.c: Likewise.
7061 * math/fgetexcptflg.c: Likewise.
7062 * math/fraiseexcpt.c: Likewise.
7063 * math/fsetexcptflg.c: Likewise.
7064 * math/ftestexcept.c: Likewise.
7065 * math/k_cosl.c: Likewise.
7066 * math/k_rem_pio2l.c: Likewise.
7067 * math/k_sinl.c: Likewise.
7068 * math/k_tanl.c: Likewise.
7069 * math/s_asinhl.c: Likewise.
7070 * math/s_atanl.c: Likewise.
7071 * math/s_cbrtl.c: Likewise.
7072 * math/s_erfl.c: Likewise.
7073 * math/s_expm1l.c: Likewise.
7074 * math/s_log1pl.c: Likewise.
7075 * math/s_tanhl.c: Likewise.
7076 * misc/acct.c: Likewise.
7077 * misc/brk.c: Likewise.
7078 * misc/chflags.c: Likewise.
7079 * misc/chroot.c: Likewise.
7080 * misc/fchflags.c: Likewise.
7081 * misc/fgetxattr.c: Likewise.
7082 * misc/flistxattr.c: Likewise.
7083 * misc/fremovexattr.c: Likewise.
7084 * misc/fsetxattr.c: Likewise.
7085 * misc/fsync.c: Likewise.
7086 * misc/ftruncate.c: Likewise.
7087 * misc/futimes.c: Likewise.
7088 * misc/futimesat.c: Likewise.
7089 * misc/getdomain.c: Likewise.
7090 * misc/getdtsz.c: Likewise.
7091 * misc/gethostid.c: Likewise.
7092 * misc/gethostname.c: Likewise.
7093 * misc/getloadavg.c: Likewise.
7094 * misc/getpagesize.c: Likewise.
7095 * misc/getsysstats.c: Likewise.
7096 * misc/getxattr.c: Likewise.
7097 * misc/gtty.c: Likewise.
7098 * misc/ioctl.c: Likewise.
7099 * misc/lgetxattr.c: Likewise.
7100 * misc/listxattr.c: Likewise.
7101 * misc/llistxattr.c: Likewise.
7102 * misc/lremovexattr.c: Likewise.
7103 * misc/lsetxattr.c: Likewise.
7104 * misc/lutimes.c: Likewise.
7105 * misc/madvise.c: Likewise.
7106 * misc/mincore.c: Likewise.
7107 * misc/mlock.c: Likewise.
7108 * misc/mlockall.c: Likewise.
7109 * misc/mmap.c: Likewise.
7110 * misc/mprotect.c: Likewise.
7111 * misc/msync.c: Likewise.
7112 * misc/munlock.c: Likewise.
7113 * misc/munlockall.c: Likewise.
7114 * misc/munmap.c: Likewise.
7115 * misc/preadv.c: Likewise.
7116 * misc/preadv64.c: Likewise.
7117 * misc/ptrace.c: Likewise.
7118 * misc/pwritev.c: Likewise.
7119 * misc/pwritev64.c: Likewise.
7120 * misc/readv.c: Likewise.
7121 * misc/reboot.c: Likewise.
7122 * misc/remap_file_pages.c: Likewise.
7123 * misc/removexattr.c: Likewise.
7124 * misc/revoke.c: Likewise.
7125 * misc/select.c: Likewise.
7126 * misc/setdomain.c: Likewise.
7127 * misc/setegid.c: Likewise.
7128 * misc/seteuid.c: Likewise.
7129 * misc/sethostid.c: Likewise.
7130 * misc/sethostname.c: Likewise.
7131 * misc/setregid.c: Likewise.
7132 * misc/setreuid.c: Likewise.
7133 * misc/setxattr.c: Likewise.
7134 * misc/sstk.c: Likewise.
7135 * misc/stty.c: Likewise.
7136 * misc/swapoff.c: Likewise.
7137 * misc/swapon.c: Likewise.
7138 * misc/sync.c: Likewise.
7139 * misc/syncfs.c: Likewise.
7140 * misc/syscall.c: Likewise.
7141 * misc/truncate.c: Likewise.
7142 * misc/ualarm.c: Likewise.
7143 * misc/usleep.c: Likewise.
7144 * misc/ustat.c: Likewise.
7145 * misc/utimes.c: Likewise.
7146 * misc/vhangup.c: Likewise.
7147 * misc/writev.c: Likewise.
7148 * posix/_exit.c: Likewise.
7149 * posix/alarm.c: Likewise.
7150 * posix/execve.c: Likewise.
7151 * posix/fexecve.c: Likewise.
7152 * posix/fork.c: Likewise.
7153 * posix/fpathconf.c: Likewise.
7154 * posix/getaddrinfo.c: Likewise.
7155 * posix/getegid.c: Likewise.
7156 * posix/geteuid.c: Likewise.
7157 * posix/getgid.c: Likewise.
7158 * posix/getgroups.c: Likewise.
7159 * posix/getlogin.c: Likewise.
7160 * posix/getlogin_r.c: Likewise.
7161 * posix/getpgid.c: Likewise.
7162 * posix/getpid.c: Likewise.
7163 * posix/getppid.c: Likewise.
7164 * posix/getresgid.c: Likewise.
7165 * posix/getresuid.c: Likewise.
7166 * posix/getsid.c: Likewise.
7167 * posix/getuid.c: Likewise.
7168 * posix/glob64.c: Likewise.
7169 * posix/nanosleep.c: Likewise.
7170 * posix/pathconf.c: Likewise.
7171 * posix/pause.c: Likewise.
7172 * posix/posix_madvise.c: Likewise.
7173 * posix/pread.c: Likewise.
7174 * posix/pread64.c: Likewise.
7175 * posix/pwrite.c: Likewise.
7176 * posix/pwrite64.c: Likewise.
7177 * posix/sched_getaffinity.c: Likewise.
7178 * posix/sched_getp.c: Likewise.
7179 * posix/sched_gets.c: Likewise.
7180 * posix/sched_primax.c: Likewise.
7181 * posix/sched_primin.c: Likewise.
7182 * posix/sched_rr_gi.c: Likewise.
7183 * posix/sched_setaffinity.c: Likewise.
7184 * posix/sched_setp.c: Likewise.
7185 * posix/sched_sets.c: Likewise.
7186 * posix/sched_yield.c: Likewise.
7187 * posix/setgid.c: Likewise.
7188 * posix/setlogin.c: Likewise.
7189 * posix/setpgid.c: Likewise.
7190 * posix/setresgid.c: Likewise.
7191 * posix/setresuid.c: Likewise.
7192 * posix/setsid.c: Likewise.
7193 * posix/setuid.c: Likewise.
7194 * posix/sleep.c: Likewise.
7195 * posix/spawni.c: Likewise.
7196 * posix/sysconf.c: Likewise.
7197 * posix/times.c: Likewise.
7198 * posix/wait.c: Likewise.
7199 * posix/wait3.c: Likewise.
7200 * posix/wait4.c: Likewise.
7201 * posix/waitpid.c: Likewise.
7202 * resolv/gai_sigqueue.c: Likewise.
7203 * resource/getpriority.c: Likewise.
7204 * resource/getrlimit.c: Likewise.
7205 * resource/getrusage.c: Likewise.
7206 * resource/nice.c: Likewise.
7207 * resource/setpriority.c: Likewise.
7208 * resource/setrlimit.c: Likewise.
7209 * resource/ulimit.c: Likewise.
7210 * rt/aio_cancel.c: Likewise.
7211 * rt/aio_fsync.c: Likewise.
7212 * rt/aio_read.c: Likewise.
7213 * rt/aio_sigqueue.c: Likewise.
7214 * rt/aio_suspend.c: Likewise.
7215 * rt/aio_write.c: Likewise.
7216 * rt/clock_getres.c: Likewise.
7217 * rt/clock_gettime.c: Likewise.
7218 * rt/clock_nanosleep.c: Likewise.
7219 * rt/clock_settime.c: Likewise.
7220 * rt/lio_listio.c: Likewise.
7221 * rt/mq_close.c: Likewise.
7222 * rt/mq_getattr.c: Likewise.
7223 * rt/mq_notify.c: Likewise.
7224 * rt/mq_open.c: Likewise.
7225 * rt/mq_receive.c: Likewise.
7226 * rt/mq_send.c: Likewise.
7227 * rt/mq_setattr.c: Likewise.
7228 * rt/mq_timedreceive.c: Likewise.
7229 * rt/mq_timedsend.c: Likewise.
7230 * rt/mq_unlink.c: Likewise.
7231 * rt/shm_open.c: Likewise.
7232 * rt/shm_unlink.c: Likewise.
7233 * rt/timer_create.c: Likewise.
7234 * rt/timer_delete.c: Likewise.
7235 * rt/timer_getoverr.c: Likewise.
7236 * rt/timer_gettime.c: Likewise.
7237 * rt/timer_settime.c: Likewise.
7238 * setjmp/__longjmp.c: Likewise.
7239 * setjmp/setjmp.c: Likewise.
7240 * signal/kill.c: Likewise.
7241 * signal/killpg.c: Likewise.
7242 * signal/raise.c: Likewise.
7243 * signal/sigaction.c: Likewise.
7244 * signal/sigaltstack.c: Likewise.
7245 * signal/sigblock.c: Likewise.
7246 * signal/sigignore.c: Likewise.
7247 * signal/sigintr.c: Likewise.
7248 * signal/signal.c: Likewise.
7249 * signal/sigpause.c: Likewise.
7250 * signal/sigpending.c: Likewise.
7251 * signal/sigqueue.c: Likewise.
7252 * signal/sigreturn.c: Likewise.
7253 * signal/sigset.c: Likewise.
7254 * signal/sigsetmask.c: Likewise.
7255 * signal/sigstack.c: Likewise.
7256 * signal/sigsuspend.c: Likewise.
7257 * signal/sigtimedwait.c: Likewise.
7258 * signal/sigvec.c: Likewise.
7259 * signal/sigwait.c: Likewise.
7260 * signal/sigwaitinfo.c: Likewise.
7261 * signal/sysv_signal.c: Likewise.
7262 * socket/accept.c: Likewise.
7263 * socket/accept4.c: Likewise.
7264 * socket/bind.c: Likewise.
7265 * socket/connect.c: Likewise.
7266 * socket/getpeername.c: Likewise.
7267 * socket/getsockname.c: Likewise.
7268 * socket/getsockopt.c: Likewise.
7269 * socket/isfdtype.c: Likewise.
7270 * socket/listen.c: Likewise.
7271 * socket/recv.c: Likewise.
7272 * socket/recvfrom.c: Likewise.
7273 * socket/recvmsg.c: Likewise.
7274 * socket/send.c: Likewise.
7275 * socket/sendmsg.c: Likewise.
7276 * socket/sendto.c: Likewise.
7277 * socket/setsockopt.c: Likewise.
7278 * socket/shutdown.c: Likewise.
7279 * socket/sockatmark.c: Likewise.
7280 * socket/socket.c: Likewise.
7281 * socket/socketpair.c: Likewise.
7282 * stdio-common/ctermid.c: Likewise.
7283 * stdio-common/cuserid.c: Likewise.
7284 * stdio-common/remove.c: Likewise.
7285 * stdio-common/rename.c: Likewise.
7286 * stdio-common/renameat.c: Likewise.
7287 * stdio-common/tempname.c: Likewise.
7288 * stdlib/getcontext.c: Likewise.
7289 * stdlib/makecontext.c: Likewise.
7290 * stdlib/setcontext.c: Likewise.
7291 * stdlib/swapcontext.c: Likewise.
7292 * stdlib/system.c: Likewise.
7293 * streams/fattach.c: Likewise.
7294 * streams/fdetach.c: Likewise.
7295 * streams/getmsg.c: Likewise.
7296 * streams/getpmsg.c: Likewise.
7297 * streams/putmsg.c: Likewise.
7298 * streams/putpmsg.c: Likewise.
7299 * sysdeps/unix/bsd/getpt.c: Likewise.
7300 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7301 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7302 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7304 Likewise.
7305 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7306 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7307 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7308 * sysvipc/msgctl.c: Likewise.
7309 * sysvipc/msgget.c: Likewise.
7310 * sysvipc/msgrcv.c: Likewise.
7311 * sysvipc/msgsnd.c: Likewise.
7312 * sysvipc/semctl.c: Likewise.
7313 * sysvipc/semget.c: Likewise.
7314 * sysvipc/semop.c: Likewise.
7315 * sysvipc/semtimedop.c: Likewise.
7316 * sysvipc/shmat.c: Likewise.
7317 * sysvipc/shmctl.c: Likewise.
7318 * sysvipc/shmdt.c: Likewise.
7319 * sysvipc/shmget.c: Likewise.
7320 * termios/tcdrain.c: Likewise.
7321 * termios/tcflow.c: Likewise.
7322 * termios/tcflush.c: Likewise.
7323 * termios/tcgetattr.c: Likewise.
7324 * termios/tcgetpgrp.c: Likewise.
7325 * termios/tcsendbrk.c: Likewise.
7326 * termios/tcsetattr.c: Likewise.
7327 * termios/tcsetpgrp.c: Likewise.
7328 * time/adjtime.c: Likewise.
7329 * time/clock.c: Likewise.
7330 * time/getitimer.c: Likewise.
7331 * time/gettimeofday.c: Likewise.
7332 * time/setitimer.c: Likewise.
7333 * time/settimeofday.c: Likewise.
7334 * time/stime.c: Likewise.
7335 * time/time.c: Likewise.
7336
73372012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7338
a20492cf
PT
7339 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7340 /usr/old/bin.
7341
72e182e3
PT
7342 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7343 instead of spaces.
7344 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7345
fbeafede
JM
73462012-11-03 Joseph Myers <joseph@codesourcery.com>
7347
5b5b04d6
JM
7348 [BZ #14796]
7349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7350 FE_TONEAREST before applying Dekker multiplication and Knuth
7351 addition. Clear inexact exceptions and check for exact zero
7352 results afterwards.
7353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7354 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7355 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7356 * math/libm-test.inc (fma_test): Add more tests.
7357 (fma_test_towardzero): Likewise.
7358 (fma_test_downward): Likewise.
7359 (fma_test_upward): Likewise.
7360 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7361 function.
7362 (libc_fesetround): New macro.
7363 (libc_fesetroundf): Likewise.
7364 (libc_fesetroundl): Likewise.
7365 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7366 function.
7367 (libc_fesetround_387): Likewise.
7368 (libc_fesetroundf): New macro.
7369 (libc_fesetround): Likewise.
7370 (libc_fesetroundl): Likewise.
7371 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7372 function.
7373 (libc_fesetroundf): New macro.
7374 (libc_fesetround): Likewise.
7375 (libc_fesetroundl): Likewise.
7376 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7377 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7378 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7379 libm_hidden_ver.
7380 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7381 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7382 libm_hidden_def.
7383 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7384 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7385 libm_hidden_ver.
7386 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7387 libm_hidden_def.
7388
fbeafede
JM
7389 [BZ #3439]
7390 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7391 integer constant usable in #if and use that to give value to enum
7392 constant.
7393 (FE_DIVBYZERO): Likewise.
7394 (FE_UNDERFLOW): Likewise.
7395 (FE_OVERFLOW): Likewise.
7396 (FE_INVALID): Likewise.
7397 (FE_INVALID_SNAN): Likewise.
7398 (FE_INVALID_ISI): Likewise.
7399 (FE_INVALID_IDI): Likewise.
7400 (FE_INVALID_ZDZ): Likewise.
7401 (FE_INVALID_IMZ): Likewise.
7402 (FE_INVALID_COMPARE): Likewise.
7403 (FE_INVALID_SOFTWARE): Likewise.
7404 (FE_INVALID_SQRT): Likewise.
7405 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7406 (FE_TONEAREST): Likewise.
7407 (FE_TOWARDZERO): Likewise.
7408 (FE_UPWARD): Likewise.
7409 (FE_DOWNWARD): Likewise.
7410 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7411 (FE_DIVBYZERO): Likewise.
7412 (FE_OVERFLOW): Likewise.
7413 (FE_UNDERFLOW): Likewise.
7414 (FE_INEXACT): Likewise.
7415 (FE_TONEAREST): Likewise.
7416 (FE_DOWNWARD): Likewise.
7417 (FE_UPWARD): Likewise.
7418 (FE_TOWARDZERO): Likewise.
7419 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7420 (FE_UNDERFLOW): Likewise.
7421 (FE_OVERFLOW): Likewise.
7422 (FE_DIVBYZERO): Likewise.
7423 (FE_INVALID): Likewise.
7424 (FE_TONEAREST): Likewise.
7425 (FE_TOWARDZERO): Likewise.
7426 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7427 (FE_OVERFLOW): Likewise.
7428 (FE_UNDERFLOW): Likewise.
7429 (FE_DIVBYZERO): Likewise.
7430 (FE_INEXACT): Likewise.
7431 (FE_TONEAREST): Likewise.
7432 (FE_TOWARDZERO): Likewise.
7433 (FE_UPWARD): Likewise.
7434 (FE_DOWNWARD): Likewise.
7435 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7436 (FE_DIVBYZERO): Likewise.
7437 (FE_OVERFLOW): Likewise.
7438 (FE_UNDERFLOW): Likewise.
7439 (FE_INEXACT): Likewise.
7440 (FE_TONEAREST): Likewise.
7441 (FE_DOWNWARD): Likewise.
7442 (FE_UPWARD): Likewise.
7443 (FE_TOWARDZERO): Likewise.
7444
105ca950
CM
74452012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7446
7447 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7448
a542b389
AS
74492012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7450
7451 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7452 commands. Quote $PWD.
7453 (blacklist_exports): Don't use remove_newlines. Replace "declare
7454 -x" by "export".
7455 (remove_newlines): Remove.
7456
f62c8abc
L
74572012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7458
7459 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7460 * stdlib/stdlib.h (atof): Moved to ...
7461 * include/bits/stdlib-float.h: Here. New file.
7462 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7463 * stdlib/bits/stdlib-float.h: New file.
7464 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7465 -mno-sse -mno-mmx.
7466 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7467 <xmmintrin.h>.
7468
0155d5b2
JM
74692012-11-02 Joseph Myers <joseph@codesourcery.com>
7470
a68d0680
JM
7471 * conform/conformtest.pl (@headers): Add fenv.h.
7472 * conform/data/fenv.h-data: New file.
7473 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7474 include of <math/fenv.h>.
7475
caf7f573
JM
7476 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7477 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7478 && !UNIX98]. Enables tests for XOPEN2K8.
7479 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7480 POSIX2008]: Likewise.
7481
6c073ad6
JM
7482 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7483 (struct rusage): Do not expect type or its members.
7484
0155d5b2
JM
7485 [BZ #3439]
7486 * math/math.h (FP_NAN): Define macro to integer constant usable in
7487 #if and use that to give value to enum constant.
7488 (FP_INFINITE): Likewise.
7489 (FP_ZERO): Likewise.
7490 (FP_SUBNORMAL): Likewise.
7491 (FP_NORMAL): Likewise.
7492
b5dcacb4
AS
74932012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7494
7495 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7496 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7497 arguments.
7498
f7934be8
RM
74992012-11-02 Roland McGrath <roland@hack.frob.com>
7500
7501 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7502 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7503 autoconf-time if not.
7504 * configure.in: Remove AC_PREREQ.
7505
d7d08bde
TMQMF
75062012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7507
7508 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7509 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7510 of the internal implementation.
7511
dcdae19a
JM
75122012-11-02 Joseph Myers <joseph@codesourcery.com>
7513
7514 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7515 except include of <misc/sys/syslog.h>.
7516
d6cffd3e
AS
75172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7518
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7520 function returns with a NULL context exit with zero.
7521
b3563932
TMQMF
75222012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7523
7524 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7525
b288a93d
L
75262012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7527
7528 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7529 (run_program_cmd): This.
7530 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7531 (tst_langinfo): New variable. Use it.
7532
a2421a68
SAS
75332012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7534
7535 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7536 floating point opcodes.
7537
6f796e1b
TS
75382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7539
7402596b
TS
7540 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7541 variable.
7542
d0d4f868
TS
7543 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7544
6f796e1b
TS
7545 * sysdeps/mach/hurd/powerpc: Remove directory.
7546 * sysdeps/mach/powerpc: Likewise.
7547
4da224a2
AS
75482012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7549
7550 * scripts/check-local-headers.sh: Ignore c++ headers.
7551
341dd673
TS
75522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7553
7554 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7555 __libc_cleanup_region_start argument.
7556
473611b2
JM
75572012-11-01 Joseph Myers <joseph@codesourcery.com>
7558
7559 [BZ #14784]
7560 [BZ #14785]
7561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7562 x * y using scaling, not as x * y + z.
7563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7564 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7565 * math/libm-test.inc (fma_test): Add more tests.
7566 (fma_test_towardzero): Likewise.
7567 (fma_test_downward): Likewise.
7568 (fma_test_upward): Likewise.
7569
4078da3d
TS
75702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7571
7572 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7573
903252aa
JM
75742012-10-31 Joseph Myers <joseph@codesourcery.com>
7575
7576 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7577 New variable.
7578
cbc818d0
TS
75792012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7580
7581 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7582
5a03cb1e
AS
75832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7584
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7586 Fix sort order.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7588 Likewise.
7589
90aff2ff
TMQMF
75902012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7591
7592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7593 Fix the order of the list for glibc 2.17.
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7595 Likewise.
7596
1818fcb7
AS
75972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7598
7599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7600
ef82f4da
JM
76012012-10-31 Joseph Myers <joseph@codesourcery.com>
7602
16a0e2ec
JM
7603 [BZ #14610]
7604 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7605 for low part of x being zero before using __atanl (y).
7606 * math/libm-test.inc (atan2_test): Add another test.
7607
0eb69512
JM
7608 * manual/install.texi (Configuring and compiling): Document
7609 general use of test-wrapper and test-wrapper-env.
7610 * INSTALL: Regenerated.
7611
ef82f4da
JM
7612 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7613 (__fma): Do not extract and scale down low bits on after-rounding
7614 systems when result rounded to normal precision would have normal
7615 exponent.
7616 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7617 (__fmal): Do not extract and scale down low bits on after-rounding
7618 systems when result rounded to normal precision would have normal
7619 exponent.
7620 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7621 (__fmal): Do not extract and scale down low bits on after-rounding
7622 systems when result rounded to normal precision would have normal
7623 exponent.
7624 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7625 macro.
7626 (fma_test): Add more tests.
7627 (fma_test_towardzero): Likewise.
7628 (fma_test_downward): Likewise.
7629 (fma_test_upward): Likewise.
7630
954ef0d9
L
76312012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7632
7633 * sysdeps/i386/tininess.h: Renamed to ...
7634 * sysdeps/x86/tininess.h: This.
7635 * sysdeps/x86_64/tininess.h: Removed.
7636
df61ffb2
JM
76372012-10-30 Joseph Myers <joseph@codesourcery.com>
7638
7639 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7640 input. Use $(build-program-cmd).
7641 ($(objpfx)tst-array1-static.out): Likewise.
7642 ($(objpfx)tst-array2.out): Likewise.
7643 ($(objpfx)tst-array3.out): Likewise.
7644 ($(objpfx)tst-array4.out): Likewise.
7645 ($(objpfx)tst-array5.out): Likewise.
7646 ($(objpfx)tst-array5-static.out): Likewise.
7647
01767843
CM
76482012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7649
47cc1490
CM
7650 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7651 if defined.
7652
01767843
CM
7653 * nss/nsswitch.h (nss_interface_function): Provide new
7654 macro for use with NSS functions.
7655 * grp/initgroups.c: Use new macro.
7656 * nss/getXXbyYY.c: Likewise.
7657 * nss/getXXbyYY_r.c: Likewise.
7658 * nss/getXXent.c: Likewise.
7659 * nss/getXXent_r.c: Likewise.
7660 * sysdeps/posix/getaddrinfo.c: Likewise.
7661
8321aa97
AJ
76622012-10-30 Andreas Jaeger <aj@suse.de>
7663
7664 * po/ru.po: Update Russion translation from translation project.
7665
2a27fd6d
JM
76662012-10-30 Joseph Myers <joseph@codesourcery.com>
7667
8627a232
JM
7668 [BZ #14152]
7669 [BZ #14783]
7670 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7671 result and shift together with sticky bit instead of replicating
7672 round-to-nearest rounding.
7673 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7675 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7676 missing underflow exceptions.
7677 (fma_test_towardzero): Add more tests.
7678 (fma_test_downward): Likewise.
7679 (fma_test_upward): Likewise.
7680
2a27fd6d
JM
7681 [BZ #14047]
7682 * sysdeps/generic/tininess.h: New file.
7683 * sysdeps/i386/tininess.h: Likewise.
7684 * sysdeps/sh/tininess.h: Likewise.
7685 * sysdeps/x86_64/tininess.h: Likewise.
7686 * stdlib/tst-strtod-underflow.c: Likewise.
7687 * stdlib/tst-tininess.c: Likewise.
7688 * stdlib/strtod_l.c: Include <tininess.h>.
7689 (round_and_return): Do not set errno for exact underflow cases.
7690 Force an underflow exception when setting errno for underflow.
7691 Determine underflow based on rounding to normal precision if
7692 TININESS_AFTER_ROUNDING.
7693 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7694 ERANGE for exact underflow cases.
7695 * stdlib/Makefile (tests): Add tst-tininess and
7696 tst-strtod-underflow.
7697 ($(objpfx)tst-tininess): Use $(link-libm).
7698 ($(objpfx)tst-strtod-underflow): Likewise.
7699
e7170363
AJ
77002012-10-30 Andreas Jaeger <aj@suse.de>
7701
e5088dc6
AJ
7702 [BZ#14767]
7703 * elf/Makefile (tests): Remove conditional for have-initfini-array
7704 since this is now always required and the variable does not exist
7705 anymore.
7706 (tests-static): Likewise.
7707 (modules-names): Likewise.
7708
e7170363 7709 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7710
7711 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7712 merged with constructor/destructor.
7713 (init_array): Likewise.
7714 * elf/tst-array2dep.c (fini_array): Likewise.
7715 (init_array): Likewise.
7716
60457d8a
MF
77172012-10-29 Mike Frysinger <vapier@gentoo.org>
7718
7719 * manual/message.texi: Delete @cartouche tags.
7720
8bece752
PT
77212012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7722
94ce799f
PT
7723 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7724 EOPNOTSUPP.
7725 * sysdeps/mach/hurd/fsync.c: Likewise.
7726
8bece752
PT
7727 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7728 [_POSIX_REALTIME_SIGNALS]: Change condition to
7729 [_POSIX_REALTIME_SIGNALS > 0].
7730
86ebe6b1
AJ
77312012-10-27 Andreas Jaeger <aj@suse.de>
7732
7733 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7734 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7735 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7736 [__WORDSIZE != 64]: Likewise.
7737
54399c08
L
77382012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7739
7740 * iconvdata/tst-table.sh: Remove ${SHELL}.
7741 * iconvdata/tst-tables.sh: Likewise.
7742
e2211bed
DM
77432012-10-25 David S. Miller <davem@davemloft.net>
7744
7745 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7746 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7747 of strtoull.
7748
f303f97c
DM
7749 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7750 ifunc-impl-list.c
7751 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7752 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7753 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7754 file.
7755
1e9d84cd
RM
77562012-10-25 Roland McGrath <roland@hack.frob.com>
7757
7758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7759 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7760 __getdirentries.
7761
df381762
JM
77622012-10-25 Joseph Myers <joseph@codesourcery.com>
7763 Jim Blandy <jimb@codesourcery.com>
7764
7765 * scripts/cross-test-ssh.sh: New file.
7766 * manual/install.texi (Configuring and compiling): Document use of
7767 cross-test-ssh.sh.
7768 * INSTALL: Regenerated.
7769
bff64913
PT
77702012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7771
7772 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7773 EOPNOTSUPP.
7774
25fe8932
JM
77752012-10-25 Joseph Myers <joseph@codesourcery.com>
7776
7777 * Makeconfig (run-program-prefix): Fix comment.
7778
cc1290d0
JM
77792012-10-24 Joseph Myers <joseph@codesourcery.com>
7780 Jim Blandy <jimb@codesourcery.com>
7781
7782 * Makeconfig (test-wrapper): New variable,
7783 (test-wrapper-env): Likewise.
7784 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7785 (run-built-tests): Define to yes.
7786 (run-program-prefix): Use $(test-wrapper).
7787 (built-program-cmd): Likewise.
7788 * Rules (make-test-out): Use $(test-wrapper-env) and
7789 $(host-built-program-cmd).
7790 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7791 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7792 tst-pathopt.sh.
7793 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7794 $(test-wrapper-env) to tst-rtld-load-self.sh.
7795 ($(objpfx)order2.out): Use $(test-wrapper).
7796 ($(objpfx)tst-initorder.out): Likewise.
7797 ($(objpfx)tst-initorder2.out): Likewise.
7798 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7799 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7800 (test_wrapper_env): New variable. Use it to run ld.so.
7801 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7802 Use it to run ld.so.
7803 (test_wrapper_env): Likewise.
7804 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7805 $(test-wrapper) to run-iconv-test.sh.
7806 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7807 (ICONV): Use $test_wrapper.
7808 * posix/Makefile ($(objpfx)globtest.out): Pass
7809 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7810 globtest.sh, not $(run-program-prefix).
7811 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7812 (test_wrapper): Likewise.
7813 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7814 set together with run_via_rtld_prefix.
7815 (run_program_prefix): Define in terms of test_wrapper and
7816 run_via_rtld_prefix.
7817
6e6249d0
RM
78182012-10-24 Roland McGrath <roland@hack.frob.com>
7819
7820 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7821 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7822 Targets removed.
7823
7824 [BZ #14743]
7825 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7826 Declare __clock_getres, __clock_gettime, __clock_settime,
7827 __clock_nanosleep, and __clock_getcpuclockid.
7828 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7829 Remove librt_hidden_def (clock_gettime).
7830 * sysdeps/unix/clock_gettime.c: Likewise.
7831 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7832 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7833 * rt/clock_getres.c: Define __clock_getres as an alias.
7834 * sysdeps/posix/clock_getres.c: Likewise.
7835 * rt/clock_settime.c: Define __clock_settime as an alias.
7836 * sysdeps/unix/clock_settime.c: Likewise.
7837 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7838 * sysdeps/unix/clock_nanosleep.c: Likewise.
7839 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7840 * rt/clock-compat.c: New file.
7841 * rt/Makefile (librt-routines): Add clock-compat and move
7842 $(clock-routines) to ...
7843 (routines): ... here, new variable.
7844 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7845 Don't add get_clockfreq here.
7846 * rt/Versions (libc: GLIBC_2.17): New version set.
7847 Add clock_* symbols here.
7848 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7849 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7850 (GLIBC_2.17): Add clock_* symbols.
7851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7855 Likewise.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7857 Likewise.
7858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7862 * NEWS: Mention the move.
7863
7864 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7865 Use __open, __read, __close rather than their public counterparts.
7866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7867 (__get_clockfreq_via_cpuinfo): Likewise.
7868 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7869 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7870
7871 * config.h.in (HAVE_IFUNC): New #undef.
7872 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7873 was successful.
7874 * configure: Regenerated.
7875
0cae3f4b
MF
78762012-10-24 Mike Frysinger <vapier@gentoo.org>
7877
7878 * configure.in: Move READELF check to start of file.
7879 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7880 libc_cv_asm_gnu_indirect_function in the process.
7881 * configure: Regenerated.
7882
8175a253
MF
78832012-10-24 Mike Frysinger <vapier@gentoo.org>
7884
7885 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7886 send the output to /dev/null.
7887 (libc_cv_cc_with_libunwind): Likewise.
7888 (libc_cv_as_noexecstack): Likewise.
7889 * configure: Regenerate.
7890
0708a7d1
JM
78912012-10-24 Joseph Myers <joseph@codesourcery.com>
7892
10b40d85
JM
7893 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7894
0708a7d1
JM
7895 * posix/globtest.sh (TMPDIR): Do not set.
7896 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7897 (testout): Likewise.
7898
9fddec1a
AJ
78992012-10-24 Andreas Jaeger <aj@suse.de>
7900
3a8db22f
AJ
7901 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7902 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7903 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7904 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7905 posix_fadvise64, posix_fallocate64.
7906
9fddec1a
AJ
7907 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7908 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7909 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7910 Likewise.
7911 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7912 Likewise.
7913 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7914
7915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7916 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7917 <bits/fcntl-linux.h>.
7918 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7919
7920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7921 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7922 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7923 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7924 [__WORDSIZE != 64]: Likewise.
7925
ebfd1bbd
JM
79262012-10-23 Joseph Myers <joseph@codesourcery.com>
7927
03ac099f
JM
7928 * Makeconfig (run-built-tests): New variable.
7929 * Rules [$(cross-compiling) = yes]: Change condition to
7930 [$(run-built-tests) = no].
7931 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7932 to [$(run-built-tests) = yes].
7933 * elf/Makefile [$(cross-compiling) = no]: Likewise
7934 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7935 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7936 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7937 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7938 * io/Makefile [$(cross-compiling) = no]: Likewise.
7939 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7940 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7941 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7942 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7943 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7944 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7945 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7946 * string/Makefile [$(cross-compiling) = no]: Likewise.
7947
ebfd1bbd
JM
7948 * posix/Makefile ($(objpfx)globtest.out): Pass
7949 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7950 $(rtld-installed-name).
7951 * posix/globtest.sh (elf_objpfx): Remove variable.
7952 (rtld_installed_name): Likewise.
7953 (library_path): Likewise.
7954 (run_program_prefix): New variable. Use for running globtest
7955 binary.
7956
166bca24
JB
79572012-10-23 Jim Blandy <jimb@codesourcery.com>
7958 Joseph Myers <joseph@codesourcery.com>
7959
7960 * Makeconfig (host-built-program-cmd): New variable.
7961 * elf/Makefile (tst-stackguard1-ARGS): Use
7962 $(host-built-program-cmd).
7963 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7964 (tst-spawn-ARGS): Likewise.
7965 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7966
88866099
JM
79672012-10-23 Joseph Myers <joseph@codesourcery.com>
7968 Jim Blandy <jimb@codesourcery.com>
7969
7970 * Makeconfig (run-via-rtld-prefix): New variable.
7971 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7972 (built-program-cmd): Likewise.
7973
b4b4c296
AJ
79742012-10-22 Andreas Jaeger <aj@suse.de>
7975
7976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7977 __O_RSYNC if it exists, otherwise to O_SYNC.
7978
6fb54a22
JB
79792012-10-22 Jim Blandy <jimb@codesourcery.com>
7980 Joseph Myers <joseph@codesourcery.com>
7981
7982 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7983 /dev/null.
7984 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7985 from /dev/null
7986 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7987 /dev/null.
7988
481b90b9
AJ
79892012-10-22 Andreas Jaeger <aj@suse.de>
7990
2a0e2669
AJ
7991 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7992 Define always.
7993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7994
76e38f9a
AJ
7995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7996 bits/fcntl-linux.h.
7997
7cd37b43
AJ
7998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7999 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8000
481b90b9
AJ
8001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8002 to __O_LARGEFILE.
8003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8004 to __O_LARGEFILE.
8005
aba75984
JB
80062012-10-21 Jim Blandy <jimb@codesourcery.com>
8007 Joseph Myers <joseph@codesourcery.com>
8008
8009 * config.make.in (NM): New variable.
8010
88d4247f
AJ
80112012-10-21 Andreas Jaeger <aj@suse.de>
8012
8013 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8014 definitions and declarations that are provided by
8015 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8016
f2eed205
L
80172012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8018
8019 [BZ #14683]
8020 * elf/Makefile (tests-static): Add tst-leaks1-static.
8021 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8022 ($(objpfx)tst-leaks1-static): New rule.
8023 ($(objpfx)tst-leaks1-static-mem): Likewise.
8024 (tst-leaks1-static-ENV): New macro.
8025 * elf/dl-open.c (dl_open_worker): Check the main application
8026 only if SHARED is defined.
8027 * elf/tst-leaks1-static.c: New file.
8028
335e6931
AJ
80292012-10-20 Andreas Jaeger <aj@suse.de>
8030
8031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8032 generic values for Linux.
8033 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8034 and declarations that are provided by <bits/fcntl-linux.h> and
8035 include <bits/fcntl-linux.h>.
8036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8038
ac5c94d3
RM
80392012-10-20 Roland McGrath <roland@hack.frob.com>
8040
8041 * io/fcntl.h: Move include of <bits/types.h> to the top and
8042 include it unconditionally.
8043
de54b33a
L
80442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8045
228cfb01
L
8046 * wcsmbs/Makefile (tests-ifunc): New variable.
8047 (tests): Add $(tests-ifunc).
8048 * wcsmbs/test-wcschr-ifunc.c: New file.
8049 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8050 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8051 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8052 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8053 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8054
69f07e5f
L
8055 * string/Makefile (tests-ifunc): New variable.
8056 (tests): Add $(tests-ifunc).
8057 * string/test-memccpy.c (TEST_NAME): New macro.
8058 * string/test-memchr.c (TEST_NAME): Likewise.
8059 * string/test-memcmp.c (TEST_NAME): Likewise.
8060 * string/test-memcpy.c (TEST_NAME): Likewise.
8061 * string/test-memmem.c (TEST_NAME): Likewise.
8062 * string/test-memmove.c (TEST_NAME): Likewise.
8063 * string/test-memset.c (TEST_NAME): Likewise.
8064 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8065 * string/test-stpcpy.c (TEST_NAME): Likewise.
8066 * string/test-stpncpy.c (TEST_NAME): Likewise.
8067 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8068 * string/test-strcasestr.c (TEST_NAME): Likewise.
8069 * string/test-strcat.c (TEST_NAME): Likewise.
8070 * string/test-strchr.c (TEST_NAME): Likewise.
8071 * string/test-strcmp.c(TEST_NAME): Likewise.
8072 * string/test-strcpy.c (TEST_NAME): Likewise.
8073 * string/test-strcspn.c (TEST_NAME): Likewise.
8074 * string/test-strlen.c (TEST_NAME): Likewise.
8075 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8076 * string/test-strncmp.c (TEST_NAME): Likewise.
8077 * string/test-strncpy.c (TEST_NAME): Likewise.
8078 * string/test-strnlen.c (TEST_NAME): Likewise.
8079 * string/test-strpbrk.c (TEST_NAME): Likewise.
8080 * string/test-strrchr.c (TEST_NAME): Likewise.
8081 * string/test-strspn.c (TEST_NAME): Likewise.
8082 * string/test-strstr.c (TEST_NAME): Likewise.
8083 * string/test-bcopy-ifunc.c: New file.
8084 * string/test-bzero-ifunc.c: Likewise.
8085 * string/test-memccpy-ifunc.c: Likewise.
8086 * string/test-memchr-ifunc.c: Likewise.
8087 * string/test-memcmp-ifunc.c: Likewise.
8088 * string/test-memcpy-ifunc.c: Likewise.
8089 * string/test-memmem-ifunc.c: Likewise.
8090 * string/test-memmove-ifunc.c: Likewise.
8091 * string/test-mempcpy-ifunc.c: Likewise.
8092 * string/test-memset-ifunc.c: Likewise.
8093 * string/test-rawmemchr-ifunc.c: Likewise.
8094 * string/test-stpcpy-ifunc.c: Likewise.
8095 * string/test-stpncpy-ifunc.c: Likewise.
8096 * string/test-strcasecmp-ifunc.c: Likewise.
8097 * string/test-strcasestr-ifunc.c: Likewise.
8098 * string/test-strcat-ifunc.c: Likewise.
8099 * string/test-strchr-ifunc.c: Likewise.
8100 * string/test-strchrnul-ifunc.c: Likewise.
8101 * string/test-strcmp-ifunc.c: Likewise.
8102 * string/test-strcpy-ifunc.c: Likewise.
8103 * string/test-strcspn-ifunc.c: Likewise.
8104 * string/test-strlen-ifunc.c: Likewise.
8105 * string/test-strncasecmp-ifunc.c: Likewise.
8106 * string/test-strncat-ifunc.c: Likewise.
8107 * string/test-strncmp-ifunc.c: Likewise.
8108 * string/test-strncpy-ifunc.c: Likewise.
8109 * string/test-strnlen-ifunc.c: Likewise.
8110 * string/test-strpbrk-ifunc.c: Likewise.
8111 * string/test-strrchr-ifunc.c: Likewise.
8112 * string/test-strspn-ifunc.c: Likewise.
8113 * string/test-strstr-ifunc.c: Likewise.
8114
de54b33a
L
8115 * debug/Makefile (tests-ifunc): New variable.
8116 (tests): Add $(tests-ifunc).
8117 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8118 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8119 * debug/test-stpcpy_chk-ifunc.c: New file.
8120 * debug/test-strcpy_chk-ifunc.c: Likewise.
8121
88481c16
SP
81222012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8123
8124 [BZ #13601]
8125 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8126 header is not read in.
8127
135948bd
JM
81282012-10-19 Joseph Myers <joseph@codesourcery.com>
8129
89f1c388
JM
8130 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8131 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8132 directly. Pass built executable to script as
8133 $(built-program-cmd).
8134 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8135 $testprogram without using LD_LIBRARY_PATH and $ldso.
8136
e40a0d21
JM
8137 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8138 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8139 $(rtld-installed-name).
8140 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8141 (rtld_installed_name): Likewise.
8142 (library_path): Likewise.
8143 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8144 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8145 $(run-program-prefix) to tst-tables.sh.
8146 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8147 it to run tst-table-from and tst-table-to.
8148 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8149 Pass it to tst-table.sh.
8150 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8151 $(run-program-prefix) to tst-gettext.sh.
8152 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8153 tst-translit.sh.
8154 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8155 tst-gettext2.sh.
8156 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8157 to run tst-gettext.
8158 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8159 to run tst-gettext2.
8160 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8161 to run tst-translit.
8162 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8163 $(run-program-prefix) to tst-mtrace.sh.
8164 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8165 to run tst-mtrace.
8166 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8167 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8168 $(rtld-installed-name).
8169 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8170 (rtld_installed_name): Likewise.
8171 (run_program_prefix): New variable. Use it to run wordexp-test.
8172
728e272a
JM
8173 * Makeconfig (ARCH): Remove all definitions.
8174 (machine): Likewise.
8175 [ARCH]: Remove conditional code.
8176 [!objdir]: Give error.
8177 [!objdir] (objpfx): Remove.
8178 [!objdir] (common-objpfx): Likewise.
8179 [!objdir] (common-objdir): Likewise.
8180 * configure.in (config_makefile): Remove. Hardcode Makefile in
8181 AC_CONFIG_FILES call.
8182 * configure: Regenerated.
8183
d528cdcf
JM
8184 [BZ #13888]
8185 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8186 or TMPDIR.
8187 (testout): Likewise.
8188
135948bd
JM
8189 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8190 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8191 $(rtld-installed-name).
8192 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8193 (rtld_installed_name): Likwise.
8194 (runit): Remove function.
8195 (run_getconf): New variable, Use it for running getconf binary.
8196
38c78296
L
81972012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8198
8199 [BZ #14716]
8200 * string/test-memmem.c (check_result): New function.
8201 (do_one_test): Use it.
8202 (check1): New function.
8203 (test_main): Use it.
8204
d077f65f
MT
82052012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8206
8207 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8208
ced52c71
JM
82092012-10-18 Joseph Myers <joseph@codesourcery.com>
8210
8211 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8212 (_G_LSEEK64): Likewise.
8213 (_G_MMAP64): Likewise.
8214 (_G_FSTAT64): Likewise.
8215 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8216 (_G_LSEEK64): Likewise.
8217 (_G_MMAP64): Likewise.
8218 (_G_FSTAT64): Likewise.
8219 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8220 unconditional. Call __mmap64 directly.
8221 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8222 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8223 __lseek64 directly.
8224 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8225 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8226 __mmap64 directly.
8227 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8228 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8229 __lseek64 directly.
8230 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8231 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8232 __lseek64 directly.
8233 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8234 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8235 __lseek64 directly.
8236 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8237 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8238 __fxstat64 directly.
8239 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8240 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8241 unconditional.
8242 (freopen64) [!_G_OPEN64]: Remove conditional code.
8243 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8244 unconditional.
8245 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8246 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8247 unconditional.
8248 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8249 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8250 unconditional.
8251 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8252 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8253 unconditional.
8254 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8255 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8256 unconditional.
8257 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8258 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8259 unconditional.
8260 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8261 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8262 unconditional.
8263 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8264
b741de23
SP
82652012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8266
8267 [BZ #12140]
8268 * manual/memory.texi (Malloc Tunable Parameters): Add note
8269 about free list pointers overwriting some perturb bytes.
8270 Wording suggested by Roland McGrath.
8271
f9b9d9c9
JM
82722012-10-17 Joseph Myers <joseph@codesourcery.com>
8273
8274 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8275 (lgamma_test): Likewise.
8276 (tgamma_test): Likewise.
8277
172a631a
FW
82782012-10-16 Florian Weimer <fweimer@redhat.com>
8279
8280 [BZ #14700]
8281 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8282 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8283
e9f37252
MK
82842012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8285
8286 * NEWS: Mention BZ #14716.
8287 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8288 when removing AVAILABLE1_USES_J macro.
8289
d394eb74
L
82902012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8291
8292 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8293 (__bswap_64): __uint64_t for unsigned 64-bit int.
8294
ca38dc17
AS
82952012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8296
8297 * include/string.h (memmem): Declare libc hidden alias.
8298 * string/memmem.c (memmem): Define libc hidden alias.
8299 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8300 __read, __close instead of open, read, close.
8301
9a387d1f
L
83022012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8303
ac49ecaf
L
8304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8305 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8306 global and hidden.
8307 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8308 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8309 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8310 Likewise.
8311 (__rawmemchr_sse2): Likewise.
8312 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8313 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8314 (__strchr_sse2): Likewise.
8315 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8316 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8317 (__strcasecmp_sse2): Likewise.
8318 (__strncasecmp_sse2): Likewise.
8319 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8320 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8321 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8322 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8323 (__strrchr_sse2): Likewise.
8324 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8325 ifunc-impl-list.c.
8326 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8327 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8328 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8329 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8330 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8331 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8332 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8333 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8334 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8335 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8336 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8337 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8338 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8339 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8340 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8341 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8342 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8343 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8344 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8345 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8346 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8347 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8348 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8349 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8350 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8351 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8352 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8353 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8354 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8355 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8356
b090e8ea
L
8357 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8358 global and hidden.
8359 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8360 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8361 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8362 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8363 Likewise.
8364 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8365 Likewise.
8366 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8367 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8368 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8369 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8370 ifunc-impl-list.c.
8371 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8372 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8373 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8374 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8375 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8376 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8377 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8378 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8379 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8380 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8381 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8382 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8383 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8384 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8385 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8386 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8387 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8388 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8389 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8390 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8391 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8392 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8393 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8394 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8396 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8397 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8398 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8399 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8400 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8401 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8402 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8403 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8404 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8405 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8406 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8407 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8408 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8409 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8410 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8411 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8412
11dd4af6
L
8413 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8414 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8415 * include/ifunc-impl-list.h: New file.
8416 * misc/ifunc-impl-list.c: Likewise.
8417 * misc/Makefile (routines): Add ifunc-impl-list.
8418 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8419 * string/test-string.h: Include <ifunc-impl-list.h>.
8420 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8421 impl_array): New variables.
8422 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8423 are defined.
8424 (test_init): Call __libc_ifunc_impl_list to initialize
8425 func_list if TEST_IFUNC and TEST_NAME are defined.
8426
9a387d1f
L
8427 * string/Makefile (strop-tests): Add bcopy and bzero.
8428 * string/test-bcopy.c: New file.
8429 * string/test-bzero.c: Likewise.
8430 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8431 defined.
8432 * string/test-memset.c: Support bzero test if TEST_BZERO is
8433 defined.
8434 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8435 __libc_memmove.
8436 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8437 __libc_memset.
8438 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8439 of memset.
8440
472371b9
JM
84412012-10-10 Joseph Myers <joseph@codesourcery.com>
8442
1e4a9536
JM
8443 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8444 * configure: Regenerated.
8445
d173d12e
JM
8446 * Makeconfig (+link-static-before-libc): Don't include
8447 $(link-static-libc).
8448
472371b9
JM
8449 * libio/libio.h (_IO_pos_t): Remove.
8450
89a3ad0b
AO
84512012-10-10 Alexandre Oliva <aoliva@redhat.com>
8452
8453 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8454 McGrath.
8455
e7451425
AO
84562012-10-10 Alexandre Oliva <aoliva@redhat.com>
8457
8458 * crypt/crypt-entry.c: Include fips-private.h.
8459 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8460 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8461 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8462 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8463
4ba74a35
AO
84642012-10-10 Alexandre Oliva <aoliva@redhat.com>
8465
8466 * crypt/crypt-private.h: Include stdbool.h.
8467 (_ufc_setup_salt_r): Return bool.
8468 * crypt/crypt-entry.c: Include errno.h.
8469 (__crypt_r): Return NULL with EINVAL for bad salt.
8470 * crypt/crypt_util.c (bad_for_salt): New.
8471 (_ufc_setup_salt_r): Check that salt is long enough and within
8472 the specified alphabet.
8473 * crypt/badsalttest.c: New file.
8474 * crypt/Makefile (tests): Add it.
8475 ($(objpfx)badsalttest): New.
8476
f96f1242
MK
84772012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8478
8479 * NEWS: Add entry for BZ #14602.
8480
0e8e0c1c
JM
84812012-10-09 Joseph Myers <joseph@codesourcery.com>
8482
8483 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8484 type-generic.
8485 * math/libm-test.inc: Update comment listing what functions and
8486 macros are tested.
8487 (isgreater_test): New function.
8488 (isgreaterequal_test): Likewise.
8489 (isless_test): Likewise.
8490 (islessequal_test): Likewise.
8491 (islessgreater_test): Likewise.
8492 (isunordered_test): Likewise.
8493 (main): Call the new functions.
8494
273edc5e
RM
84952012-10-09 Roland McGrath <roland@hack.frob.com>
8496
b8493de0
RM
8497 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8498 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8499 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8500 * sysdeps/i386/configure: Regenerated.
8501 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8502 * sysdeps/mach/configure: Regenerated.
8503 * sysdeps/mach/hurd/configure: Regenerated.
8504 * sysdeps/powerpc/configure: Regenerated.
8505 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8506 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8507 * sysdeps/s390/s390-32/configure: Regenerated.
8508 * sysdeps/s390/s390-64/configure: Regenerated.
8509 * sysdeps/sh/configure: Regenerated.
8510 * sysdeps/sparc/configure: Regenerated.
8511 * sysdeps/unix/sysv/linux/configure: Regenerated.
8512 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8513 * sysdeps/x86_64/configure: Regenerated.
8514
273edc5e
RM
8515 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8516 defined. Don't check if MAP is NULL.
8517
c8450f70
JM
85182012-10-09 Joseph Myers <joseph@codesourcery.com>
8519
8520 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8521 (_G_stat64): Likewise.
8522 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8523 (_G_stat64): Likewise.
8524 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8525 instead of struct _G_stat64.
8526 * libio/fileops.c (mmap_remap_check): Likewise.
8527 (decide_maybe_mmap): Likewise.
8528 (_IO_new_file_seekoff): Likewise.
8529 (_IO_file_stat): Likewise.
8530 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8531 _G_off64_t.
8532 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8533 instead of struct _G_stat64.
8534 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8535
57e605ba
MK
85362012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8537
8538 [BZ #14602]
8539 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8540 Replace with ...
8541 (CHECK_EOL): New macro.
8542 (two_way_short_needle): Check beginning of haystack for EOL. Use
8543 CHECK_EOL.
8544 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8545 Replace with CHECK_EOL.
8546 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8547 Replace with CHECK_EOL.
8548
ef1bb361
JM
85492012-10-08 Joseph Myers <joseph@codesourcery.com>
8550
8551 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8552 type-generic.
8553 * math/libm-test.inc: Update comment listing what functions and
8554 macros are tested.
8555 (finite_test): New function.
8556 (isinf_test): Likewise.
8557 (isnan_test): Likewise.
8558 (fpclassify_test): Test subnormal input.
8559 (isfinite_test): Likewise.
8560 (isnormal_test): Likewise.
8561 (main): Call the new functions.
8562
55f11534
JN
85632012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8564
8565 [BZ #14660]
8566 * Makerules (%.dynsym): Force C locale when running
8567 $(OBJDUMP) --dynamic-syms.
8568
1ab29350
AS
85692012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8570
8571 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8572 <stdint.h>.
8573
f1ecb7ef
DM
85742012-10-06 David S. Miller <davem@davemloft.net>
8575
8576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8577 upper 32-bits of the length value in %o2 since we use branch-on-register
8578 tests which consider the entire 64-bit register.
8579
5d41d91a
L
85802012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8581
8582 * string/test-strstr.c (check2): Add a test for page boundary.
8583
3baddb72
DM
85842012-10-05 David S. Miller <davem@davemloft.net>
8585
8586 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8587 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8588 file.
8589 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8590 sysdep_routines.
8591 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8592 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8593 and bzero when HWCAP_SPARC_CRYPTO is present.
8594
9cee5585
L
85952012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8596
d7e0dab9
L
8597 [BZ #14602]
8598 * string/test-strstr.c (check2): New function.
8599 (test_main): Call check2.
8600
03759f47
L
8601 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8602 and bug-strchr1.
8603 * string/bug-strcasestr1.c (do_test): Moved to ...
8604 * string/test-strcasestr.c (check1): Here. New function.
8605 (do_one_test): Break out result checking code into ...
8606 (check_result): This. New function.
8607 (do_one_test): Call check_result.
8608 (test_main): Call check1.
8609 * string/bug-strchr1.c (do_test): Moved to ...
8610 * string/test-strchr.c (check1): Here. New function.
8611 (do_one_test): Break out result checking code into ...
8612 (check_result): This. New function.
8613 (do_one_test): Call check_result.
8614 (test_main): Call check1.
8615 * string/bug-strstr1.c (main): Moved to ...
046f153e 8616 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8617 (do_one_test): Break out result checking code into ...
8618 (check_result): This. New function.
8619 (do_one_test): Call check_result.
8620 (test_main): Call check1.
8621 * string/bug-strcasestr1.c: Removed.
8622 * string/bug-strchr1.c: Likewise.
8623 * string/bug-strstr1.c: Likewise.
8624
53cea63e
L
8625 * elf/Makefile (dl-routines): Add hwcaps.
8626 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8627 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8628 (_dl_important_hwcaps): Moved to ...
8629 * elf/dl-hwcaps.c: Here. New file.
8630 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8631
9cee5585 8632 [BZ #14557]
bb859b06
L
8633 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8634 if IS_IN_rtld isn't defined.
8635
9cee5585
L
8636 * elf/dl-support.c (_dl_sysinfo_map): New.
8637 Include "get-dynamic-info.h" and "setup-vdso.h".
8638 (_dl_non_dynamic_init): Call setup_vdso.
8639 * elf/dynamic-link.h: Don't include <assert.h>.
8640 (elf_get_dynamic_info): Moved to ...
8641 * elf/get-dynamic-info.h: Here. New file.
8642 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8643 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8644 * elf/setup-vdso.h: Here. New file.
8645 * elf/rtld.c: Include "setup-vdso.h".
8646 (dl_main): Call setup_vdso.
8647
23c31b76
JM
86482012-10-05 Joseph Myers <joseph@codesourcery.com>
8649
28234b07
JM
8650 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8651 creal in comment listing functions tested. List finite, isinf,
8652 isnan, isless, islessequal, isgreater, isgreaterequal,
8653 islessgreater, isunordered, lgamma_r and pow10 as functions and
8654 macros not tested. Mention which functions not tested are aliases
8655 for other functions. Fix typo. Note that signs of NaNs are not
8656 tested.
8657
23c31b76
JM
8658 * scripts/config.guess: Update from config.git.
8659 * scripts/config.sub: Likewise.
8660
9043e228
RM
86612012-10-04 Roland McGrath <roland@hack.frob.com>
8662
8663 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8664 * misc/madvise.c (madvise): Renamed to __madvise.
8665 Make madvise a weak alias.
8666 * include/sys/mman.h: Declare __madvise.
8667 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8668 * sysdeps/unix/syscalls.list
8669 (madvise): Make __madvise the strong name, and madvise a weak alias.
8670 * sysdeps/unix/sysv/linux/syscalls.list
8671 (madvise, mmap): Remove redundant entries.
8672 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8673 * malloc/malloc.c (mtrim): Likewise.
8674 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8675
f57f8055
RM
86762012-10-03 Roland McGrath <roland@hack.frob.com>
8677
8678 * sysdeps/mach/hurd/dl-cache.c: File removed.
8679 * config.h.in (USE_LDCONFIG): New #undef.
8680 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8681 * configure: Regenerated.
8682 * elf/Makefile (dl-routines): Add dl-cache only under
8683 [$(use-ldconfig) = yes].
8684 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8685 cache on [USE_LDCONFIG].
8686 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8687 [USE_LDCONFIG].
8688 * elf/rtld.c (dl_main): Likewise.
8689
5bb0c10a
PT
86902012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8691
8692 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8693 _SC_LEVEL4_CACHE_LINESIZE.
8694
010188c6
RM
86952012-10-03 Roland McGrath <roland@hack.frob.com>
8696
8697 * sysdeps/unix/bsd/confstr.h: File removed.
8698
b6c5ec07
AO
86992012-10-02 Alexandre Oliva <aoliva@redhat.com>
8700
8701 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8702 sys/sdt-config.h.
8703
408223d4
RM
87042012-10-02 Roland McGrath <roland@hack.frob.com>
8705
8706 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8707 Make 'mapoff' field ElfW(Off) rather than off_t.
8708
bb9510dc
DL
87092012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8710
fc997c6e
DL
8711 * nscd/Makefile: Remove nscd-cflags and all its users.
8712 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8713 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8714
bb9510dc
DL
8715 [BZ #10631]
8716 * malloc.c (malloc_printerr): Clarify error message.
8717
05699367
L
87182012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8719
8720 [BZ #14648]
8721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8722 Set bit_FMA_Usable if FMA is supported.
8723 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8724 macro.
8725 (bit_FMA4_Usable): Updated.
8726 (index_FMA_Usable): New macro.
8727 (CPUID_FMA): Likewise
8728 (HAS_FMA): Defined with bit_FMA_Usable.
8729
51367701
RM
87302012-10-01 Roland McGrath <roland@hack.frob.com>
8731
8732 * bits/types.h (__swblk_t): Type removed.
8733 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8734 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8735 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8736 (__SWBLK_T_TYPE): Likewise.
8737 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8738 (__SWBLK_T_TYPE): Likewise.
8739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8740 (__SWBLK_T_TYPE): Likewise.
8741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8742 (__SWBLK_T_TYPE): Likewise.
8743
4d57bf63 87442012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8745 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8746
8747 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8748 (xdr_mapname): Use YPMAXMAP as maxsize.
8749 (xdr_peername): Use YPMAXPEER as maxsize.
8750 (xdr_keydat): Use YPAXRECORD as maxsize.
8751 (xdr_valdat): Use YPMAXRECORD as maxsize.
8752
93c65d43
RM
87532012-10-01 Roland McGrath <roland@hack.frob.com>
8754
497a03d6
RM
8755 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8756
93c65d43
RM
8757 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8758 * csu/init-first.c: ... here.
8759 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8760 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8761 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8762 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8763 * sysdeps/i386/init-first.c: File removed.
8764 * sysdeps/sh/init-first.c: File removed.
8765
bec749fd
JM
87662012-10-01 Joseph Myers <joseph@codesourcery.com>
8767
8768 [BZ #14645]
8769 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8770 if x * y might underflow to zero and z is zero.
8771 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8772 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8773 * math/libm-test.inc (min_subnorm_value): New variable.
8774 (fma_test): Add more tests.
8775 (fma_test_towardzero): Likewise.
8776 (fma_test_downward): Likewise
8777 (fma_test_upward): Likewise.
8778 (initialize): Set min_subnorm_value.
8779
8ec5b013
JM
87802012-09-29 Joseph Myers <joseph@codesourcery.com>
8781
8782 [BZ #14638]
8783 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8784 0 + 0.
8785 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8786 mode for addition resulting in exact zero.
8787 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8789 exact 0 + 0.
8790 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8792 * math/libm-test.inc (fma_test): Add more tests.
8793 (fma_test_towardzero): New function.
8794 (fma_test_downward): Likewise.
8795 (fma_test_upward): Likewise.
8796 (main): Call the new functions.
8797
b1fa802e
DM
87982012-09-28 David S. Miller <davem@davemloft.net>
8799
8800 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8801
d3b9fd9e
RM
88022012-09-28 Roland McGrath <roland@hack.frob.com>
8803
ea4d37b3
RM
8804 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8805 instead of SIGALRM.
8806
ac51c949
RM
8807 * sysdeps/gnu/_G_config.h: Moved to ...
8808 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8809 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8810 * sysdeps/generic/_G_config.h: ... here.
8811
28c195f7
RM
8812 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8813
848917f9
RM
8814 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8815
6bacf05b
RM
8816 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8817 Conditionalize target on [libnss_test1.so-version].
8818
91363dbb
RM
8819 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8820
cc87f7d8
RM
8821 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8822 (elfobjdir): Move out of conditionals.
8823
b1c608fe
RM
8824 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8825 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8826 (__nss_lookup_function): Conditionalize label remove_from_tree on
8827 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8828
1d9a6d96
DM
88292012-09-28 David S. Miller <davem@davemloft.net>
8830
8831 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8832 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8833 file.
8834 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8835 sysdep_routines.
8836 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8838 when HWCAP_SPARC_CRYPTO is present.
8839
72581615
PT
88402012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8841
8842 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8843
715a900c
JL
88442012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8845
8846 [BZ #6530]
8847 * stdio-common/vfprintf.c (process_string_arg): Revert
8848 2000-07-22 change.
8849
88502011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8851
8852 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8853 for testcase.
8854 * stdio-common/tst-sprintf.c: Include <locale.h>
8855 (main): Test sprintf's handling of incomplete multibyte
8856 characters.
8857
9bac1d86
L
88582012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8859
8860 * elf/dl-runtime.c (VERSYMIDX): Removed.
8861 * elf/dl-version.c (VERSYMIDX): Likewise.
8862 * elf/do-rel.h (VERSYMIDX): Likewise.
8863 (VALIDX): Likewise.
8864 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8865 * elf/rtld.c (VALIDX): Likewise.
8866 (ADDRIDX): Likewise.
9bac1d86
L
8867 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8868 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8869 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8870 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8871 (VALIDX): Likewise.
8872 (ADDRIDX): Likewise.
9bac1d86 8873
b31606c0
PT
88742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8875
8876 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8877
11541177
JL
88782012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8879
8880 [BZ #11438]
8881 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8882 to global scope.
8883 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8884 addresses are in the same scope as 192.0.2/24.
8885 * posix/gai.conf: Document new scope table defaults.
8886
adb26fae
SP
88872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8888
8889 [BZ #5298]
8890 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8891 for ftell. Compute offsets from write pointers instead.
8892 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8893
4573c6b0
SP
88942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8895
8896 [BZ #14543]
8897 * libio/Makefile (tests): New test case tst-fseek.
8898 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8899 combination works in wide mode.
8900 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8901 state when the external buffer state changes.
8902
aa9bbfe6
DM
89032012-09-27 David S. Miller <davem@davemloft.net>
8904
8905 [BZ #14376]
8906 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8907 pass reloc->r_addend in as the 'high' argument to
8908 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8909
784421e7
DM
8910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8911
c39bc8b8
PT
89122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8913
8914 * rt/tst-aio2.c: Include <pthread.h>.
8915 * rt/tst-aio3.c: Likewise.
8916
1ccc2399
SE
89172012-09-27 Steve Ellcey <sellcey@mips.com>
8918
8919 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8920
31ed4153
L
89212012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8922
25f5f885
L
8923 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8924 contents on [SHARED].
31ed4153 8925
b7bfe116
MP
89262012-09-26 Marek Polacek <polacek@redhat.com>
8927
8928 [BZ #14530]
8929 [BZ #13741]
8930 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8931 for C++ and GCC <4.3 as well as for non GCC compilers.
8932
43c4edba
MT
89332012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8934
8935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8936
6a1bf82f
RM
89372012-09-25 Roland McGrath <roland@hack.frob.com>
8938
8939 * Makefile.in (all, install): Declare with .PHONY.
8940 Reported by Michael Hope <michael.hope@linaro.org>.
8941
8ad11b9a
TMQMF
89422012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8943
8944 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8945 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8946 system header.
8947 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8948 Likewise.
8949 (sydep_routines): Add the new and the internal functions.
8950 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8951 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8953 (GLIBC_2.17): Add the new function.
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8955 (GLIBC_2.17): Likewise.
8956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8957 (GLIBC_2.17): Likewise.
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8959 (GLIBC_2.17): Likewise.
8960 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8961
7e2fca8d
AM
89622012-09-25 Alan Modra <amodra@gmail.com>
8963
8964 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8965 Add release barrier before setting once_control to say
8966 initialisation is done. Add hints on lwarx. Use macro in
8967 place of isync.
8968 (clear_once_control): Add release barrier.
8969
b87c4b24
JM
89702012-09-25 Joseph Myers <joseph@codesourcery.com>
8971
d032e0d2
JM
8972 [BZ #13629]
8973 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8974 specially.
8975 * math/s_clog10.c (__clog10): Likewise.
8976 * math/s_clog10f.c (__clog10f): Likewise.
8977 * math/s_clog10l.c (__clog10l): Likewise.
8978 * math/s_clogf.c (__clogf): Likewise.
8979 * math/s_clogl.c (__clogl): Likewise.
8980 * math/Makefile (libm-calls): Add x2y2m1.
8981 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8982 (__x2y2m1): Likewise.
8983 (__x2y2m1l): Likewise.
8984 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8985 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8986 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8987 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8988 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8989 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8990 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8991 * sysdeps/i386/fpu/libm-test-ulps: Update.
8992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8993
b87c4b24
JM
8994 [BZ #14621]
8995 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8996 int as type of variable DEPTH.
8997 (glob): Use size_t instead of int as type of variables NEWCOUNT
8998 and OLD_PATHC.
8999
6d3bf199
LD
90002012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9001
22bf5c17
LD
9002 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9003 Add s_sincosf-sse2.
9004 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9005 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9006 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9007 macros for using routine as __sincosf_ia32.
9008 Use macro for function declaration and weak_alias.
9009 * sysdeps/i386/fpu/libm-test-ulps: Update.
9010
9011 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9013
9014 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9015 subnormal argument.
9016 * math/s_cexpf.c (__cexpf): Likewise.
9017 * math/s_csinf.c (__csinf): Likewise.
9018 * math/s_csinhf.c (__csinhf): Likewise.
9019 * math/s_ctanf.c (__ctanf): Likewise.
9020 * math/s_ctanhf.c (__ctanhf): Likewise.
9021 * math/s_ccosh.c (__ccoshf): Likewise.
9022 * math/s_cexp.c (__cexpl): Likewise.
9023 * math/s_csin.c (__csin): Likewise.
9024 * math/s_csinh.c (__csinh): Likewise.
9025 * math/s_ctan.c (__ctan): Likewise.
9026 * math/s_ctanh.c (ctanh): Likewise.
9027 * math/s_ccoshl.c (__ccoshl): Likewise.
9028 * math/s_cexpl.c (__cexpl): Likewise.
9029 * math/s_csinl.c (__csinl): Likewise.
9030 * math/s_csinhl.c (__csinhl): Likewise.
9031 * math/s_ctanl.c (__ctanl): Likewise.
9032 * math/s_ctanhl.c (__ctanhl): Likewise.
9033
203e5603
JM
90342012-09-25 Joseph Myers <joseph@codesourcery.com>
9035
9036 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9037 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9038 (_IO_off_t): Define to __off_t, not _G_off_t.
9039 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9040 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9041 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9042 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9043 type of __dummy and __dummy2 fields.
9044 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9045 (_G_ssize_t): Likewise.
9046 (_G_off_t): Likewise.
9047 (_G_pid_t): Likewise.
9048 (_G_uid_t): Likewise.
9049 (_G_wchar_t): Likewise.
9050 (_G_wint_t): Likewise.
9051 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9052 (_G_ssize_t): Likewise.
9053 (_G_off_t): Likewise.
9054 (_G_pid_t): Likewise.
9055 (_G_uid_t): Likewise.
9056 (_G_wchar_t): Likewise.
9057 (_G_wint_t): Likewise.
9058 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9059 (_G_ssize_t): Likewise.
9060 (_G_off_t): Likewise.
9061 (_G_pid_t): Likewise.
9062 (_G_uid_t): Likewise.
9063 (_G_wchar_t): Likewise.
9064 (_G_wint_t): Likewise.
9065
9fab36eb
SP
90662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9067
9068 * malloc/arena.c: Include malloc-sysdep.h.
9069 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9070 is sufficient to shrink the heap or an unmap is needed.
9071 * sysdeps/generic/malloc-sysdep.h: New file. Define
9072 new function check_may_shrink_heap.
9073 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9074 new function check_may_shrink_heap.
9075
2b4f00d1
SP
90762012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9077
9078 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9079 comments.
9080
9a9028b1
DL
90812012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9082
57c69bef
DL
9083 * catgets/test-gencat.sh: Add "set -e".
9084 * elf/tst-pathopt.sh: Likewise.
9085 * grp/tst_fgetgrent.sh: Likewise.
9086 * iconvdata/run-iconv-test.sh: Likewise.
9087 * intl/tst-gettext.sh: Likewise.
9088 * intl/tst-gettext2.sh: Likewise.
9089 * intl/tst-gettext4.sh: Likewise.
9090 * intl/tst-gettext6.sh: Likewise.
9091 * intl/tst-translit.sh: Likewise.
9092 * io/ftwtest-sh: Likewise.
9093 * libio/test-freopen.sh: Likewise.
9094 * malloc/tst-mtrace.sh: Likewise.
9095 * posix/globtest.sh: Likewise.
9096 * posix/tst-getconf.sh: Likewise.
9097 * posix/wordexp-tst.sh: Likewise.
9098 * stdio-common/tst-printf.sh: Likewise.
9099 * stdio-common/tst-unbputc.sh: Likewise.
9100 * stdlib/tst-fmtmsg.sh: Likewise.
9101 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9102 * catgets/Makefile: Do not specify -e option when running
9103 testsuite shell scripts.
9104 * elf/Makefile: Likewise.
9105 * grp/Makefile: Likewise.
9106 * iconvdata/Makefile: Likewise.
9107 * intl/Makefile: Likewise.
9108 * io/Makefile: Likewise.
9109 * libio/Makefile: Likewise.
9110 * malloc/Makefile: Likewise.
9111 * posix/Makefile: Likewise.
9112 * stdio-common/Makefile: Likewise.
9113 * stdlib/Makefile: Likewise.
9114 * sysdeps/x86_64/Makefile: Likewise.
9115
9a9028b1
DL
9116 * io/ftwtest-sh: Add copyright header.
9117 * posix/globtest.sh: Likewise.
9118 * posix/tst-getconf.sh: Likewise.
9119 * posix/wordexp-tst.sh: Likewise.
9120 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9121
ced6f16e
L
91222012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9123
94b32c39
L
9124 [BZ #13679]
9125 * Makeconfig (+link): Defined as $(+link-static) if
9126 $(build-shared) isn't yes.
9127 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9128 isn't yes.
9129 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9130
189e935b
L
9131 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9132
ced6f16e
L
9133 [BZ #14562]
9134 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9135 new chunk size with MALLOC_ALIGN_MASK.
9136
a9f8e53a
JM
91372012-09-24 Joseph Myers <joseph@codesourcery.com>
9138
9139 [BZ #5044]
9140 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9141 <rounding-mode.h>.
9142 (__printf_fphex): Determine rounding using get_rounding_mode and
9143 round_away.
9144 * stdio-common/tst-printf-round.c (struct hex_test): New
9145 structure.
9146 (hex_tests): New variable.
9147 (test_hex_in_one_mode): New function.
9148 (do_test): Also run tests for hex float output.
9149
43153109
JM
91502012-09-21 Joseph Myers <joseph@codesourcery.com>
9151
9152 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9153 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9154 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9155 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9156 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9157 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9158 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9159 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9160
8a26625d
JM
91612012-09-20 Joseph Myers <joseph@codesourcery.com>
9162
9163 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9164 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9165 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9166 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9167
f3fd569c
DL
91682012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9169
9170 [BZ #14579]
9171 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9172 mode only.
9173 * elf/tst-rtld-load-self.sh: New test.
9174 * elf/Makefile: Run it.
9175
63bbedd4
JM
91762012-09-18 Joseph Myers <joseph@codesourcery.com>
9177
9178 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9179 (tst-writev-ENV): Remove.
9180 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9181
626f8b6a
CM
91822012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9183
9184 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9185
b7aaa4d6
JM
91862012-09-17 Joseph Myers <joseph@codesourcery.com>
9187
9188 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9189 unconditional.
9190 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9191 Likewise.
9192 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9193 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9194 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9195 Likewise.
9196
65513990
L
91972012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9198
9199 [BZ #14587]
9200 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9201 * config.make.in (have-cpp-asm-debuginfo): Removed.
9202 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9203 * configure: Regenerated.
9204
784761be
JM
92052012-09-14 Joseph Myers <joseph@codesourcery.com>
9206
9207 [BZ #5044]
9208 * stdio-common/printf_fp.c: Include <stdbool.h> and
9209 <rounding-mode.h>.
9210 (___printf_fp): Determine rounding using get_rounding_mode and
9211 round_away.
9212 * stdio-common/tst-printf-round.c: New file.
9213 * stdio-common/Makefile (tests): Add tst-printf-round.
9214 (link-libm): New variable.
9215 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9216
9503345f
L
92172012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9218
9219 [BZ #14576]
9220 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9221 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9222 Likewise.
9223 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9224 Likewise.
9225
ad35fc00
JM
92262012-09-13 Joseph Myers <joseph@codesourcery.com>
9227
9228 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9229 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9230 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9231 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9232
6c9b0f68
JM
92332012-09-12 Joseph Myers <joseph@codesourcery.com>
9234
9235 [BZ #14518]
9236 * include/rounding-mode.h: New file.
9237 * sysdeps/generic/get-rounding-mode.h: Likewise.
9238 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9239 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9240 (MAX_VALUE): New macro.
9241 (MIN_VALUE): Likewise.
9242 (overflow_value): New function.
9243 (underflow_value): Likewise.
9244 (round_and_return): Use overflow_value and underflow_value to
9245 determine return values in overflow and underflow cases. Use
9246 round_away to determine rounding depending on rounding mode.
9247 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9248 determine return values in overflow and underflow cases.
9249 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9250 (struct test_results): New structure.
9251 (struct test): Use struct test_results to store expected results
9252 for all rounding modes.
9253 (TEST): Include expected results for all rounding modes.
9254 (test_in_one_mode): New function.
9255 (do_test): Use test_in_one_mode to compute and check results.
9256 Check results for all rounding modes.
9257 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9258 $(link-libm).
9259
19fcedd5
AM
92602012-12-09 Allan McRae <allan@archlinux.org>
9261
1e9d84cd 9262 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9263
8bbfd2f1
JM
92642012-09-11 Joseph Myers <joseph@codesourcery.com>
9265
9266 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9267 (_G_int32_t): Likewise.
9268 (_G_uint16_t): Likewise.
9269 (_G_uint32_t): Likewise.
9270 (_G_HAVE_BOOL): Likewise.
9271 (_G_HAVE_ATEXIT): Likewise.
9272 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9273 (_G_HAVE_IO_FILE_OPEN): Likewise.
9274 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9275 (_G_int32_t): Likewise.
9276 (_G_uint16_t): Likewise.
9277 (_G_uint32_t): Likewise.
9278 (_G_HAVE_BOOL): Likewise.
9279 (_G_HAVE_ATEXIT): Likewise.
9280 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9281 (_G_HAVE_IO_FILE_OPEN): Likewise.
9282 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9283 (_G_int32_t): Likewise.
9284 (_G_uint16_t): Likewise.
9285 (_G_uint32_t): Likewise.
9286 (_G_HAVE_BOOL): Likewise.
9287 (_G_HAVE_ATEXIT): Likewise.
9288 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9289 (_G_HAVE_IO_FILE_OPEN): Likewise.
9290
b1dc5912
L
92912012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9292
9293 * csu/libc-tls.c: Update copyright years.
9294
0e886ef9
JM
92952012-09-10 Joseph Myers <joseph@codesourcery.com>
9296
28361c5e
JM
9297 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9298 [!_G_USING_THUNKS]: Remove conditional code.
9299 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9300 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9301
0e886ef9
JM
9302 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9303 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9304 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9305 (_G_VTABLE_LABEL_PREFIX): Likewise.
9306 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9307 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9308 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9309 (_G_VTABLE_LABEL_PREFIX): Likewise.
9310 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9311 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9312 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9313 (_G_VTABLE_LABEL_PREFIX): Likewise.
9314 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9315
bcba7aa2
L
93162012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9317
9318 * libio/Makefile: Include ../Makeconfig before tests.
9319 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9320 only if $(build-shared) is yes.
9321
06585ee8
L
9322 * iconv/gconv_db.c: Update copyright years.
9323
80ccd52c
LD
93242012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9325
9326 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9327 unwind info if defined PIC. Fix special cases description.
9328 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9329
9330 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9331 DP_HI_MASK entry.
9332 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9333
691bc9c1
L
93342012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9335
3d9b46b3
L
9336 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9337
de2139a9
L
9338 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9339 is NULL.
9340
5ca78dd0
L
9341 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9342 (LDLIBS-tst-chk4): This.
9343 (LDFLAGS-tst-chk5): Renamed to ...
9344 (LDLIBS-tst-chk5): This.
9345 (LDFLAGS-tst-chk6): Renamed to ...
9346 (LDLIBS-tst-chk6): This.
9347 (LDFLAGS-tst-lfschk4): Renamed to ...
9348 (LDLIBS-tst-lfschk4): This.
9349 (LDFLAGS-tst-lfschk5): Renamed to ...
9350 (LDLIBS-tst-lfschk5): This.
9351 (LDFLAGS-tst-lfschk6): Renamed to ...
9352 (LDLIBS-tst-lfschk6): This.
9353
691bc9c1
L
9354 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9355 on $(common-objpfx)soversions.mk.
9356
65cafb1c
JM
93572012-09-07 Joseph Myers <joseph@codesourcery.com>
9358
9359 [BZ #10014]
9360 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9361 example host name.
9362
c78ab094
SP
93632012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9364
9365 * malloc/arena.c (arena_get_retry): New function that gets
9366 another arena for the caller to try its request on.
9367 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9368 current arena cannot fulfill the request.
9369 (__libc_memalign): Likewise.
9370 (__libc_memalign): Likewise.
9371 (__libc_pvalloc): Likewise.
9372 (__libc_calloc): Likewise.
9373
01f49f59
JT
93742012-09-05 John Tobey <john.tobey@gmail.com>
9375
9376 [BZ #13542]
9377 * manual/arith.texi (Operations on Complex): Fix description
9378 of carg branch cut.
9379
4c23fed5
JM
93802012-09-06 Joseph Myers <joseph@codesourcery.com>
9381
1d3c8572
JM
9382 [BZ #10014]
9383 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9384 host name.
9385
4c23fed5
JM
9386 [BZ #10038]
9387 * manual/memory.texi (Memory): Make order of menu items match
9388 order of sections.
9389
04570aaa
L
93902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9391
9392 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9393 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9394 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9395
b80af2f4
L
93962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9397
9398 * csu/libc-tls.c (static_dtv): Renamed to ...
9399 (_dl_static_dtv): This. Make it global.
9400 (_dl_initial_dtv): Removed.
9401 (__libc_setup_tls): Updated.
9402 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9403 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9404 DL_INITIAL_DTV.
9405
2abe9f15
PM
94062012-09-06 Petr Machata <pmachata@redhat.com>
9407
9408 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9409 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9410 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9411 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9412
0948c3af
L
94132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9414
9415 [BZ #14545]
9416 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9417 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9418 freeing dtv[-1].
9419
a5055ad1
L
94202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9421
9422 [BZ #14544]
9423 * Makeconfig (link-static-before-libc): Replace $(+prector)
9424 with $(+prectorT).
9425 (link-static-after-libc): Replace $(+postctor) with
9426 $(+postctorT).
9427 (link-bounded): Replace $(+prector)/$(+postctor) with
9428 $(+prectorT)/$(+postctorT).
9429 (+prectorT): New macro.
9430 (+postctorT): Likewise.
9431
ed8c2ecd
JM
94322012-09-06 Joseph Myers <joseph@codesourcery.com>
9433
9434 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9435 (round_str): Handle values above the maximum for IBM long double
9436 as inexact.
9437 * stdlib/tst-strtod-round.c (tests): Regenerated.
9438
14c996c8
AK
94392012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9440
9441 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9442 assembler flag.
9443 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9444 zarch_nohighgprs around the zarch optimized routines.
9445 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9446 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9447 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9448 for zarch.
9449
430d6ce6
DM
94502012-09-05 David S. Miller <davem@davemloft.net>
9451
9452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9453
ff04dda4
DM
9454 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9455 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9456 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9457 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9458 entries.
9459
24d4e01b
AO
94602012-09-05 Alexandre Oliva <aoliva@redhat.com>
9461
9462 * malloc/arena.c: Fold copyright years.
9463 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9464
61d58174
AO
94652012-09-05 Alexandre Oliva <aoliva@redhat.com>
9466
9467 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9468
20196a5e
AO
94692012-09-05 Alexandre Oliva <aoliva@redhat.com>
9470
9471 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9472
5c447383
AO
94732012-09-05 Alexandre Oliva <aoliva@redhat.com>
9474
9475 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9476 change internal state upon failure.
9477
fad64255
AO
94782012-09-05 Alexandre Oliva <aoliva@redhat.com>
9479
9480 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9481 * malloc/memusage.c (mmap): Likewise.
9482 (mmap64, mremap): Likewise. Adjust name in comment.
9483
1ffb8c90
SP
94842012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9485
9486 * libio/fileops.c: Fix typos in comments.
9487 * libio/oldfileops.c: Likewise.
9488 * libio/wfileops.c: Likewise.
9489
6ef9cc37
SP
94902012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9491
9492 [BZ #1349]
9493 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9494 (tst-malloc-usable-ENV): Set environment for test case.
9495 * malloc/hooks.c (malloc_check_get_size): New function to get
9496 requested size.
9497 * malloc/malloc.c (musable): Use malloc_check_get_size.
9498 * malloc/tst-malloc-usable.c: New test case.
9499
4d038ae3
AS
95002012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9501
9502 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9503
c4e85184
AM
95042012-09-05 Allan McRae <allan@archlinux.org>
9505
b9dafc56 9506 [BZ #13966]
c4e85184
AM
9507 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9508 determine header location.
9509 * configure: Regenerated.
9510
e1343020
AS
95112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9512
9513 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9514 float format.
9515 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9516 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9517 format.
e1343020
AS
9518 (test): Regenerate.
9519
0a9f1987
DM
95202012-09-04 David S. Miller <davem@davemloft.net>
9521
9522 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9523 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9524 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9525
29237804
FW
95262012-09-04 Florian Weimer <fweimer@redhat.com>
9527
9528 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9529 failures.
9530
edb3cb88
FW
9531 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9532
60160d83
JM
95332012-09-04 Joseph Myers <joseph@codesourcery.com>
9534
9535 [BZ #9914]
9536 * libio/iogetdelim.c: Include <limits.h>.
9537 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9538 + len + 1 would overflow.
9539
bcd6c8dc
AJ
95402012-09-03 Andreas Jaeger <aj@suse.de>
9541
9542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9543 * sysdeps/i386/fpu/libm-test-ulps: Update.
9544
4ffffbd2
LD
95452012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9546
9547 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9548 Add s_sinf-sse2, s_conf-sse2.
9549
9550 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9551 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9552 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9553 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9554
9555 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9556 for using routine as __sinf_ia32.
9557 Use macro for function declaration and weak_alias.
9558 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9559 for using routine as __cosf_ia32.
9560 Use macro for function declaration and weak_alias.
9561
9562 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9563 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9564
9565 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9566 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9568
9569 * math/libm-test.inc (cos_test): Add more test cases.
9570 (sin_test): Likewise.
9571 (sincos_test): Likewise.
9572
511fa286
AK
95732012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9574
9575 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9576 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9577 hidden.
9578 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9579
5f30cfec
L
95802012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9581
9582 [BZ #14538]
9583 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9584 first element of the GOT.
9585 (elf_machine_load_address): Return the difference between
9586 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9587
0786794f
AM
95882012-09-01 Allan McRae <allan@archlinux.org>
9589
5f30cfec
L
9590 [BZ #13412]
9591 * configure.in (AWK): Require gawk version 3.0 or later.
9592 * configure: Regenerated.
0786794f 9593
26889eac
JM
95942012-09-01 Joseph Myers <joseph@codesourcery.com>
9595
9596 * sysdeps/unix/sysv/linux/kernel-features.h
9597 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9599 [__NR_clock_getres]: Make code unconditional.
9600 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9601 (clock_getcpuclockid): Remove code left unreachable by removal of
9602 conditionals.
9603 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9604 code unconditional.
9605 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9606 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9607 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9608 Make code unconditional.
9609 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9610 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9611 * sysdeps/unix/sysv/linux/clock_settime.c
9612 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9613 conditional code.
9614 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9615 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9616
d22e28b0
L
96172012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9618
9619 [BZ #14476]
9620 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9621 scripts/test-installation.pl.
9622
9623 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9624 and $ld_so_version if it is set.
9625
050af9c4
SP
96262012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9627
9628 [BZ #14516]
9629 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9630 failure if reading from procfs failed.
9631 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9632
ad845c0b
JM
96332012-08-27 Joseph Myers <joseph@codesourcery.com>
9634
9635 * sysdeps/unix/sysv/linux/kernel-features.h
9636 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9637 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9638 Remove conditional code.
9639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9640 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9641 Remove conditional code.
9642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9643 * sysdeps/unix/sysv/linux/i386/fxstat.c
9644 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9646 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9647 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9649 * sysdeps/unix/sysv/linux/i386/lxstat.c
9650 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9651 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9652 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9653 Remove conditional code.
9654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9655 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9656 Remove conditional code.
9657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9658 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9659 <kernel-features.h>.
9660 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9661 Remove.
9662 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9663 Remove conditional code.
9664 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9665 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9666 Remove conditional.
9667
5dbf56af
MF
96682012-08-27 Mike Frysinger <vapier@gentoo.org>
9669
9670 [BZ #5400]
9671 * NEWS: Add fixed bug number.
9672
d6e70f43
JM
96732012-08-27 Joseph Myers <joseph@codesourcery.com>
9674
7efb4737
JM
9675 [BZ #14519]
9676 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9677 underflowing exponent in case of negative sign.
9678 * stdlib/tst-strtod-round-data: Add more tests.
9679 * stdlib/tst-strtod-round.c (tests): Regenerated.
9680
af92131a
JM
9681 [BZ #3479]
9682 * stdlib/strtod_l.c (NDIG): Remove.
9683 (HEXNDIG): Likewise.
9684 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9685 smallest representable value.
9686 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9687 lie within an exact representation of 1/2 ulp of the result.
9688 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9689 unconditionally.
9690 (TENS_P9_IDX): Define unconditionally.
9691 (TENS_P9_SIZE): Likewise.
9692 (TENS_P10_IDX): Likewise.
9693 (TENS_P10_SIZE): Likewise.
9694 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9695 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9696 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9697 entries for 10^2^13 and 10^2^14.
9698 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9699 (TENS_P13_IDX): Define.
9700 (TENS_P13_SIZE): Likewise.
9701 (TENS_P14_IDX): Likewise.
9702 (TENS_P14_SIZE): Likewise.
9703 (_fpioconst_pow10): Change array size to
9704 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9705 unconditional.
9706 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9707 1024]: Add entries for 10^2^13 and 10^2^14.
9708 [LAST_POW10 > _LAST_POW10]: Remove #error.
9709 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9710 (_fpioconst_pow10): Change array size to
9711 FPIOCONST_POW10_ARRAY_SIZE.
9712 * stdlib/gen-fpioconst.c: New file.
9713 * stdlib/gen-tst-strtod-round.c: Likewise.
9714 * stdlib/tst-strtod-round-data: Likewise.
9715 * stdlib/tst-strtod-round.c: Likewise.
9716 * stdlib/Makefile (tests): Add tst-strtod-round.
9717
d6e70f43
JM
9718 [BZ #14459]
9719 * stdlib/strtod_l.c: Include <stdint.h>.
9720 (NDEBUG): Do not define.
9721 (round_and_return): Change EXPONENT parameter to type intmax_t.
9722 Rearrange calculations to avoid internal overflow possibilities.
9723 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9724 Rearrange calculations to avoid internal overflow possibilities.
9725 Assert that number fits inside MPNSIZE limbs.
9726 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9727 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9728 calculations and add assertions to avoid internal overflow
9729 possibilities. Add casts to avoid signed/unsigned operations.
9730 * stdlib/tst-strtod-overflow.c: New file.
9731 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9732
1f529f7d
MP
97332012-08-25 Marek Polacek <polacek@redhat.com>
9734
9735 * time/time.h: Fix some typos in comments.
9736
59a629f1
RM
97372012-08-23 Roland McGrath <roland@hack.frob.com>
9738
9739 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9740 * posix/tst-rfc3484-2.c: Likewise.
9741 * posix/tst-rfc3484-3.c: Likewise.
9742
d3bafbc9
SM
97432012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9744
9745 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9746 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9747
4efcc022
JM
97482012-08-23 Joseph Myers <joseph@codesourcery.com>
9749
9750 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9751 #include of fxstatat64.c.
9752
3cc3ef96
RM
97532012-08-22 Roland McGrath <roland@hack.frob.com>
9754
f04e2132
RM
9755 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9756 * shadow/getspent_r.c: Likewise.
9757 * shadow/getspnam.c: Likewise.
9758 * shadow/getspnam_r.c: Likewise.
9759 * gshadow/getsgent.c: Likewise.
9760 * gshadow/getsgent_r.c: Likewise.
9761 * gshadow/getsgnam.c: Likewise.
9762 * gshadow/getsgnam_r.c: Likewise.
9763 * inet/getnetbyad.c: Likewise.
9764 * inet/getnetbyad_r.c: Likewise.
9765 * inet/getnetbynm.c: Likewise.
9766 * inet/getnetbynm_r.c: Likewise.
9767 * inet/getnetent.c: Likewise.
9768 * inet/getnetent_r.c: Likewise.
9769 * inet/getproto.c: Likewise.
9770 * inet/getproto_r.c: Likewise.
9771 * inet/getprtent.c: Likewise.
9772 * inet/getprtent_r.c: Likewise.
9773 * inet/getprtname.c: Likewise.
9774 * inet/getprtname_r.c: Likewise.
9775 * inet/getrpcbyname.c: Likewise.
9776 * inet/getrpcbyname_r.c: Likewise.
9777 * inet/getrpcbynumber.c: Likewise.
9778 * inet/getrpcbynumber_r.c: Likewise.
9779 * inet/getrpcent.c: Likewise.
9780 * inet/getrpcent_r.c: Likewise.
9781 * inet/getaliasent.c: Likewise.
9782 * inet/getaliasent_r.c: Likewise.
9783 * inet/getaliasname.c: Likewise.
9784 * inet/getaliasname_r.c: Likewise.
9785 * nscd/getgrgid_r.c: Likewise.
9786 * nscd/getgrnam_r.c: Likewise.
9787 * nscd/gethstbyad_r.c: Likewise.
9788 * nscd/gethstbynm3_r.c: Likewise.
9789 * nscd/getpwnam_r.c: Likewise.
9790 * nscd/getpwuid_r.c: Likewise.
9791 * nscd/getsrvbynm_r.c: Likewise.
9792 * nscd/getsrvbypt_r.c: Likewise.
9793 * nscd/gai.c: Likewise.
9794
c53d909c
RM
9795 * configure.in (build_nscd): New substituted variable, set
9796 by --disable-build-nscd and defaults to $use_nscd.
9797 * configure: Regenerated.
9798 * config.make.in (build-nscd): New substituted variable.
9799 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9800 Change conditional to require [$(build-nscd) = yes] as well.
9801 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9802
3cc3ef96
RM
9803 [BZ# 13696]
9804 * configure.in (use_nscd): New substituted variable, set by
9805 --disable-nscd. If enabled, define USE_NSCD.
9806 * configure: Regenerated.
9807 * config.h.in: Add USE_NSCD.
9808 * config.make.in (use-nscd): New substituted variable.
9809 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9810 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9811 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9812 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9813 (CFLAGS-getgrnam_r.c): Likewise.
9814 (CFLAGS-initgroups.c): Likewise.
9815 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9816 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9817 Variables removed.
9818 * inet/getnetgrent_r.c
9819 (nscd_setnetgrent): New function, broken out of ...
9820 (setnetgrent): ... here. Call it.
9821 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9822 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9823 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9824 * nscd/Makefile (routines, aux): Move definitions after include of
9825 Makeconfig. Conditionalize on [$(use-nscd) != no].
9826 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9827 Conditionalize on [USE_NSCD].
9828 (is_nscd, nscd_init_cb): Likewise.
9829 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9830 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9831 * nss/nss_db/db-init.c: Likewise.
9832 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9833 [USE_NSCD].
9834 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9835 (make_request): Use it.
9836 (cache_valid_p): New function.
9837 (__check_pf): Use it.
9838 * NEWS: Add item for --disable-nscd.
9839
07e51550
DL
98402012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9841
9842 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9843 to support sed >= 4.2.1-20-ga9bf076.
9844 * configure: Regenerated.
9845
35a5b08b
RM
98462012-08-22 Roland McGrath <roland@hack.frob.com>
9847
9848 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9849 Conditionalize whole body on [IREL].
9850
8479f23a
JL
98512012-08-22 Jeff Law <law@redhat.com>
9852
9853 [BZ #14505]
9854 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9855 if the family is PF_UNSPEC.
9856
48da0b21
MF
98572012-08-22 Mike Frysinger <vapier@gentoo.org>
9858
9859 * Makerules (lib-version): Rename from V.
9860 (install-lib-nosubdir): Change V to lib-version.
9861
15d0da8c
WS
98622012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9863
9864 [BZ #14252]
9865 * powerpc32/power6/wcschr.c: New file.
9866 * powerpc32/power6/wcscpy.c: New file.
9867 * powerpc32/power6/wcsrchr.c: New file.
9868 * powerpc64/power6/wcschr.c: New file.
9869 * powerpc64/power6/wcscpy.c: New file.
9870 * powerpc64/power6/wcsrchr.c: New file.
9871
bcca0895
MK
98722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9873
9874 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9875 (two_way_short_needle): Use it.
5a4aaa33
RM
9876 * string/strstr.c (AVAILABLE1_USES_J): Define.
9877 * string/strcasestr.c: Likewise.
99677e57
MK
9878
9879 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9880 array references.
9881 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9882
400726de
MK
9883 [BZ #11607]
9884 * NEWS: Add an entry.
9885 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9886 define their defaults.
9887 (two_way_short_needle): Detect end-of-string on-the-fly.
9888 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9889 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9890 * string/bug-strcasestr1.c: New test.
9891 * string/Makefile: Run it.
9892
20a71f2c
MK
98932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9894
9895 [BZ #11607]
9896 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9897 the first character.
9898
21ad0558
RM
98992012-08-21 Roland McGrath <roland@hack.frob.com>
9900
9901 * csu/elf-init.c (__libc_csu_irel): Function removed.
9902 * csu/libc-start.c (apply_irel): New function.
9903 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9904
0e1d9911
JM
99052012-08-21 Joseph Myers <joseph@codesourcery.com>
9906
9907 * sysdeps/unix/sysv/linux/kernel-features.h
9908 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9909 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9910 <kernel-features.h>.
9911 [__NR_fadvise64_64]: Make code unconditional.
9912 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9913 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9914 !__NR_fadvise64_64)]: Likewise.
9915 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9916 !__NR_fadvise64_64))]: Likewise.
9917 [__NR_fadvise64]: Make code unconditional.
9918 [!__NR_fadvise64]: Remove conditional code.
9919 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9920 <kernel-features.h>.
9921 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9922 unconditional.
9923 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9924 conditional code.
9925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9926 not include <kernel-features.h>.
9927 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9928 unconditional.
9929 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9930 conditional code.
9931 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9932 include <kernel-features.h>.
9933 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9934 unconditional.
9935 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9936 conditional code.
9937
14a50c9d
WS
99382012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9939
9940 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9941 slight instruction rearrangements per scrollpipe analysis.
9942 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9943
c0f4faf0
RM
99442012-08-20 Roland McGrath <roland@hack.frob.com>
9945
696da859
RM
9946 * manual/syslog.texi (syslog; vsyslog, closelog):
9947 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9948 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9949
c0f4faf0
RM
9950 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9951 DSOCAPS to match condition on defining it.
9952
348363b2
JM
99532012-08-20 Joseph Myers <joseph@codesourcery.com>
9954
a35cbf28
JM
9955 * sysdeps/unix/sysv/linux/kernel-features.h
9956 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9958 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9959 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9961 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9962 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9964 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9965 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9966
445f7ecd
JM
9967 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9968 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9969
348363b2
JM
9970 * sysdeps/unix/sysv/linux/kernel-features.h
9971 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9972 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9973 unconditional.
9974 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9975 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9976 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9977 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9978 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9979 Make code unconditional.
9980 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9981 (__mmap64) [!__NR_mmap2]: Likewise.
9982 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9983 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9984 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9985 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9986 [__NR_mmap2]: Make code unconditional.
9987 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9988 (__mmap64) [!__NR_mmap2]: Likewise.
9989
bc5bc0e5
AK
99902012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9991
9992 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9993
88d506de
AJ
99942012-08-18 Andreas Jaeger <aj@suse.de>
9995
9996 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9997
493387d2
MF
99982012-08-18 Mike Frysinger <vapier@gentoo.org>
9999
10000 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10001 * include/unistd.h (__have_sock_cloexec): Likewise.
10002 (__have_pipe2): Likewise.
10003 (__have_dup3): Likewise.
10004
a277af22
MF
100052012-08-18 Mike Frysinger <vapier@gentoo.org>
10006
10007 [BZ #9685]
10008 * include/unistd.h (__have_pipe2): Change define into an extern int.
10009 (__have_dup3): Likewise.
10010 * socket/have_sock_cloexec.c: Include fcntl.h.
10011 (__have_pipe2): New variable.
10012 (__have_dup3): Likewise.
10013
fdab8fd3
MF
100142012-08-17 Mike Frysinger <vapier@gentoo.org>
10015
10016 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10017
31035e80
MP
100182012-08-17 Marek Polacek <polacek@redhat.com>
10019
10020 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10021 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10022
3bd9e993
RM
100232012-08-17 Roland McGrath <roland@hack.frob.com>
10024
c91c505f
RM
10025 * configure.in: Add AC_SUBST for sysheaders.
10026 * configure: Regenerated.
10027 * config.make.in (sysheaders): New substituted variable.
10028
7c6f9d53
RM
10029 * sysdeps/unix/mkfifo.c: Moved ...
10030 * sysdeps/posix/mkfifo.c: ... here.
10031 * sysdeps/unix/mkfifoat.c: Moved ...
10032 * sysdeps/posix/mkfifoat.c: ... here.
10033
10034 * sysdeps/unix/utime.c: Moved ...
10035 * sysdeps/posix/utime.c: ... here.
10036
10037 * sysdeps/unix/time.c: Moved ...
10038 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10039 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10040 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10041
10042 * sysdeps/unix/nice.c: Moved ...
10043 * sysdeps/posix/nice.c: ... here.
10044
10045 * sysdeps/unix/alarm.c: Moved ...
10046 * sysdeps/posix/alarm.c: ... here.
10047
3bd9e993
RM
10048 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10049
d1f09384
JL
100502012-08-17 Jeff Law <law@redhat.com>
10051
10052 * intl/Makefile (codeset_mo): New variable.
10053 ($(codeset_mo)): New target.
10054 (tst-codeset.out): Depend on that. Remove explicit rule.
10055 (tst-gettext3.out, tst-gettext5.out): Likewise.
10056 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10057 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10058 * intl/tst-codeset.sh: Remove.
10059 * intl/tst-gettext3.sh: Likewise.
10060 * intl/tst-gettext5.sh: Likewise.
10061
2ae1ae5c
RM
100622012-08-17 Roland McGrath <roland@hack.frob.com>
10063
c31fdb83
RM
10064 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10065 * sysdeps/unix/syscalls.list: ... here.
10066
a0844057
RM
10067 * sysdeps/posix/getaddrinfo.c
10068 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10069 (gaiconf_init, gaiconf_reload): Use them.
10070 [!_STATBUF_ST_NSEC]
10071 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10072 Define using time_t rather than struct timespec.
10073
750c1f2a
RM
10074 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10075 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10076 Macros removed.
10077 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10078 [!NO_THREADS].
10079 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10080 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10081 Likewise.
10082
2ae1ae5c
RM
10083 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10084 __libc_cleanup_push argument.
10085
e66a42f5
RM
10086 * bits/param.h: New file.
10087 * misc/sys/param.h: New file.
10088 * include/sys/param.h: New file.
10089 * misc/Makefile (headers): Add bits/param.h.
10090 * sysdeps/generic/sys/param.h: File removed.
10091 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10092 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10093 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10094 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10095
b7c08a66
RM
10096 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10097 last change.
10098
b2e1c562
RM
10099 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10100 [_IO_MTSAFE_IO].
10101 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10102 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10103 New macros.
10104
c75ccd4c
RM
10105 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10106 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10107 rather than -D_IO_MTSAFE_IO conditionally.
10108 * stdio-common/Makefile (CPPFLAGS): Likewise.
10109 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10110 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10111 Use $(libio-mtsafe).
10112 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10113 of -D_IO_MTSAFE_IO.
10114 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10115 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10116 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10117 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10118 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10119 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10120 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10121 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10122 (CFLAGS-fread_u_chk.c): Likewise.
10123 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10124 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10125 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10126 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10127 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10128 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10129 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10130 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10131 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10132
10133 * libio/Makefile: Test [$(libc-reentrant) = yes]
10134 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10135
10136 * Makeconfig
10137 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10138 * sysdeps/pthread/configure: File removed.
10139 * sysdeps/pthread/Makeconfig: New file.
10140 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10141 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10142
d9195db8
GB
101432012-08-16 Gary Benson <gbenson@redhat.com>
10144
10145 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10146 unmapping the first object in a namespace.
10147
86466cd9
RM
101482012-08-16 Roland McGrath <roland@hack.frob.com>
10149
10150 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10151 (__internal_setnetgrent): ... this. Add internal_function to
10152 definition. Add libc_hidden_def.
10153 (setnetgrent): Update caller.
10154 (internal_endnetgrent): Renamed to ...
10155 (__internal_endnetgrent): ... this. Add internal_function to
10156 definition. Add libc_hidden_def.
10157 (endnetgrent): Update caller.
10158 (internal_getnetgrent_r): Renamed to ...
10159 (__internal_getnetgrent_r): ... this. Add internal_function to
10160 definition. Add libc_hidden_def.
10161 (__getnetgrent_r): Update caller.
10162 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10163
c3c8283c
JM
101642012-08-16 Joseph Myers <joseph@codesourcery.com>
10165
10166 * stdlib/longlong.h: Update from GCC.
10167
db1ee0a8
RM
101682012-08-16 Roland McGrath <roland@hack.frob.com>
10169
10170 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10171 on _QL, which is set by umul_ppmm but never used.
10172 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10173 variables, which are set by GMP macros but never used.
10174 * stdio-common/_itowa.c (_itowa): Likewise.
10175 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10176 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10177
30f69637
CD
101782012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10179
10180 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10181 struct La_sh_regs is not constant.
10182 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10183 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10184 and struct La_sparc64_regs are not constant.
10185
93a78ac4
JM
101862012-08-16 Joseph Myers <joseph@codesourcery.com>
10187
10188 * sysdeps/unix/sysv/linux/kernel-features.h
10189 (__ASSUME_POSIX_TIMERS): Remove.
10190 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10191 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10192 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10193 Make code unconditional.
10194 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10195 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10196 Make code unconditional.
10197 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10198 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10199 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10200 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10201 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10202 Make code unconditional.
10203 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10204 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10205 (__libc_missing_posix_timers): Remove.
10206
dd924cd7
RM
102072012-08-15 Roland McGrath <roland@hack.frob.com>
10208
4b4f2771
RM
10209 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10210 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10211
601c888b
RM
10212 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10213
176790a7
RM
10214 * elf/dl-sym.c: Include <stdlib.h>.
10215
329bc018
RM
10216 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10217 constants, which avoids warnings in 32-bit builds.
10218
e04e272d
RM
10219 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10220 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10221
952bf94a
RM
10222 * misc/lseek.c: File moved to ...
10223 * io/lseek.c: ... here.
10224
7c99b50a
RM
10225 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10226
dd924cd7
RM
10227 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10228 shifting LEN more than 31 bits at once.
10229
b3f479a8
LD
102302012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10231
10232 [BZ #14195]
8c4ae0d4
RM
10233 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10234 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10235 * string/test-strncasecmp.c (check1): Renamed to...
10236 (bz12205): ...this.
10237 (bz14195): Add new testcase for two empty input strings and N > 0.
10238 (test_main): Call new testcase, adapt for renamed function.
10239
9c55864e
AJ
102402012-08-15 Andreas Jaeger <aj@suse.de>
10241
10242 [BZ #14090]
10243 * crypt/md5test2.c: New test, based on test supplied by Serge
10244 Belyshev <belyshev@depni.sinp.msu.ru>.
10245 * crypt/Makefile (xtests): Add md5test-giant..
10246 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10247
02dcb6c5
PE
102482012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10249
10250 [BZ #14090]
10251 * crypt/md5.c (md5_process_block): Don't assume the buffer
10252 length is less than 2**32.
10253 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10254 length is less than 2**64.
10255
a3f95dcc
RM
102562012-08-15 Roland McGrath <roland@hack.frob.com>
10257
be75d758
RM
10258 * string/str-two-way.h: Include <sys/param.h>.
10259 (MAX): Macro removed.
10260
7312ca90
RM
10261 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10262 Move #define and #undef of memmove to just before and after
10263 including <string.h>.
10264
9a0a5486
RM
10265 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10266 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10267 and after including <string.h>. Move declarations of
10268 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10269 to before #include "string/memmove.c".
10270
67cc348d
RM
10271 * include/dirent.h: Declare __getdirentries.
10272
a3f95dcc
RM
10273 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10274 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10275
ca98e171
MF
102762012-08-14 Mike Frysinger <vapier@gentoo.org>
10277
10278 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10279 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10280 * sysdeps/i386/configure: Regenerated.
10281 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10282 STABS_CURRENT_FILE, and STABS_FUN.
10283 (END): Remove call to STABS_FUN_END.
10284 (STABS_CURRENT_FILE1): Delete.
10285 (STABS_CURRENT_FILE): Likewise.
10286 (STABS_FUN): Likewise.
10287 (STABS_FUN_END): Likewise.
10288 (STABS_FUN2): Likewise.
10289 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10290 * sysdeps/x86_64/configure: Regenerated.
10291
5908bf46
RM
102922012-08-14 Roland McGrath <roland@hack.frob.com>
10293
10294 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10295 * elf/dl-lookup.c: Likewise.
5908bf46 10296
f2c05b9e
JM
102972012-08-14 Joseph Myers <joseph@codesourcery.com>
10298
10299 * sysdeps/unix/sysv/linux/kernel-features.h
10300 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10301 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10302 unconditionally.
10303 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10304 unconditionally.
10305 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10306 condition on __ASSUME_CLONE_THREAD_FLAGS.
10307
e11f5155
AJ
103082012-08-14 Andreas Jaeger <aj@suse.de>
10309
10310 * sysdeps/i386/fpu/libm-test-ulps: Update.
10311
51a9ba86
MK
103122012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10313
2fdd4f78
AJ
10314 * include/atomic.h (atomic_exchange_and_add): Split into ...
10315 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10316 New atomic macros.
51a9ba86 10317
ba6cba9e
MT
103182012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10319
10320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10321
42443a47
JL
103222012-08-13 Jeff Law <law@redhat.com>
10323
10324 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10325 null byte in the output string.
10326
121dce05
JM
103272012-08-10 Joseph Myers <joseph@codesourcery.com>
10328
10329 * sysdeps/unix/sysv/linux/kernel-features.h
10330 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10331 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10332 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10333 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10334 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10335 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10336 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10337
bf51f568
JL
103382012-08-09 Jeff Law <law@redhat.com>
10339
10340 [BZ #13939]
10341 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10342 When avoid_arena is set, don't retry in the that arena. Pick the
10343 next one, whatever it might be.
10344 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10345 (arena_lock): Pass in new parameter to arena_get2.
10346 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10347 arena_get2.
10348 (__libc_malloc): Unify retrying after main arena failure with
10349 __libc_memalign version.
10350 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10351
f85fa270
L
103522012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 [BZ #14166]
10355 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10356 to __redirect_strstr.
10357 (__strstr_sse42): Use typeof __redirect_strstr.
10358 (__strstr_ia32): Likewise.
10359 (__libc_strstr): New prototype.
10360 (strstr): Renamed to ...
10361 (__libc_strstr): This.
10362 (strstr): New strong alias of __libc_strstr.
10363 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10364 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10365 __redirect_time.
10366 Include <time.h>.
10367 (__libc_time): New prototype.
10368 (time_ifunc): Replace time with __libc_time.
10369 (time): New strong alias and hidden definition of __libc_time.
10370 (__GI_time): Remove strong alias.
10371 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10372 Include <stddef.h>.
10373 (memmove): Redefined to __redirect_memmove.
10374 (__memmove_sse2): Use typeof __redirect_memmove.
10375 (__memmove_ssse3): Likewise.
10376 (__memmove_ssse3_back): Likewise.
10377 (__libc_memmove): New prototype.
10378 (memmove): Renamed to ...
10379 (__libc_memmove): This.
10380 (memmove): New strong alias of __libc_memmove.
10381
33b4a91e
MS
103822012-08-08 Mark Salter <msalter@redhat.com>
10383
10384 * elf/elf.h
10385 (R_MN10300_TLS_GD): Define.
10386 (R_MN10300_TLS_LD): Likewise.
10387 (R_MN10300_TLS_LDO): Likewise.
10388 (R_MN10300_TLS_GOTIE): Likewise.
10389 (R_MN10300_TLS_IE): Likewise.
10390 (R_MN10300_TLS_LE): Likewise.
10391 (R_MN10300_TLS_DTPMOD): Likewise.
10392 (R_MN10300_TLS_DTPOFF): Likewise.
10393 (R_MN10300_TLS_TPOFF): Likewise.
10394 (R_MN10300_SYM_DIFF): Likewise.
10395 (R_MN10300_ALIGN): Likewise.
10396 (R_MN10300_NUM): Update.
10397
b36137f1
JM
103982012-08-08 Joseph Myers <joseph@codesourcery.com>
10399
10400 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10401 Remove.
10402
cdd915fd
RM
104032012-08-08 Roland McGrath <roland@hack.frob.com>
10404
a2433aac
RM
10405 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10406
cdd915fd
RM
10407 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10408 sysdeps/unix -> sysdeps/posix move.
10409 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10410
bf9b740a
AM
104112012-08-07 Allan McRae <allan@archlinux.org>
10412
10413 [BZ #14303]
10414 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10415 (SUNOS_CPP): Likewise.
10416 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10417 not found.
10418 (open_input): Call CPP using execvp.
10419
93df14ee
JM
104202012-08-07 Joseph Myers <joseph@codesourcery.com>
10421
10422 * sysdeps/unix/sysv/linux/kernel-features.h
10423 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10424 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10425 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10426 (__ASSUME_WAITID_SYSCALL): Likewise.
10427 * sysdeps/unix/sysv/linux/dl-execstack.c
10428 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10429 code unconditional.
10430 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10431 conditional code.
10432 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10433 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10434 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10435 code.
10436 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10437 unconditional.
10438 [__ASSUME_WAITID_SYSCALL]: Likewise.
10439 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10440
d34689de
RM
104412012-08-07 Roland McGrath <roland@hack.frob.com>
10442
a281decc
RM
10443 * sysdeps/unix/closedir.c: Renamed to ...
10444 * sysdeps/posix/closedir.c: ... here.
10445 * sysdeps/unix/dirfd.c: Renamed to ...
10446 * sysdeps/posix/dirfd.c: ... here.
10447 * sysdeps/unix/dirstream.h: Renamed to ...
10448 * sysdeps/posix/dirstream.h: ... here.
10449 * sysdeps/unix/fdopendir.c: Renamed to ...
10450 * sysdeps/posix/fdopendir.c: ... here.
10451 * sysdeps/unix/opendir.c: Renamed to ...
10452 * sysdeps/posix/opendir.c: ... here.
10453 * sysdeps/unix/readdir.c: Renamed to ...
10454 * sysdeps/posix/readdir.c: ... here.
10455 * sysdeps/unix/readdir_r.c: Renamed to ...
10456 * sysdeps/posix/readdir_r.c: ... here.
10457 * sysdeps/unix/rewinddir.c: Renamed to ...
10458 * sysdeps/posix/rewinddir.c: ... here.
10459 * sysdeps/unix/seekdir.c: Renamed to ...
10460 * sysdeps/posix/seekdir.c: ... here.
10461 * sysdeps/unix/telldir.c: Renamed to ...
10462 * sysdeps/posix/telldir.c: ... here.
10463 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10464 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10465 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10466 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10467
22895b47
RM
10468 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10469 * bits/fcntl.h: ... here.
10470
707a53b6
RM
10471 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10472 not 0.
10473 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10474 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10475 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10476 (struct flock): Move l_start, l_len to the beginning.
10477 Use __pid_t for l_pid.
10478 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10479 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10480 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10481 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10482 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10483 [__USE_LARGEFILE64] (struct flock64): New type.
10484 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10485
f0bd3e25
RM
10486 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10487 * bits/dirent.h: ... here.
10488
d34689de
RM
10489 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10490 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10491
6dad2c06
JM
104922012-08-07 Joseph Myers <joseph@codesourcery.com>
10493
10494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10495 Change from 2.6.0 to 2.6.16.
10496 * sysdeps/unix/sysv/linux/configure: Regenerated.
10497 * sysdeps/unix/sysv/linux/kernel-features.h
10498 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10499 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10500 version.
10501 (__ASSUME_UTIMES): Likewise.
10502 (__ASSUME_CLONE_STOPPED): Remove.
10503 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10504 architectures, not kernel version.
10505 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10506 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10507 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10508 (__ASSUME_WAITID_SYSCALL): Likewise.
10509 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10510 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10511 * README: State 2.6.16 as minimum Linux kernel version. Do not
10512 refer to older versions.
10513
03af9520
RM
105142012-08-06 Roland McGrath <roland@hack.frob.com>
10515
8e49df1d
RM
10516 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10517 Define alphasort64 as an alias.
10518 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10519 Define versionsort64 as an alias.
10520 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10521 Define scandir64 as an alias.
10522 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10523 Define scandirat64 as an alias.
10524 * dirent/alphasort64.c (alphasort64):
10525 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10526 * dirent/versionsort64.c: Likewise.
10527 * dirent/scandir64.c: Likewise.
10528 * dirent/scandirat64.c: Likewise.
10529 * sysdeps/wordsize-64/alphasort.c: File removed.
10530 * sysdeps/wordsize-64/alphasort64.c: File removed.
10531 * sysdeps/wordsize-64/scandir.c: File removed.
10532 * sysdeps/wordsize-64/scandir64.c: File removed.
10533 * sysdeps/wordsize-64/scandirat.c: File removed.
10534 * sysdeps/wordsize-64/scandirat64.c: File removed.
10535 * sysdeps/wordsize-64/versionsort.c: File removed.
10536 * sysdeps/wordsize-64/versionsort64.c: File removed.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10538 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10539 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10540 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10541 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10542 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10543 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10544 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10545
10546 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10547 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10548 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10549 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10550 [defined __arch64__ || defined __sparcv9]
10551 (__INO_T_MATCHES_INO64_T): New macro.
10552 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10553 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10554 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10555 * sysdeps/unix/sysv/linux/bits/dirent.h
10556 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10557 (_DIRENT_MATCHES_DIRENT64): New macro.
10558
03af9520
RM
10559 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10560 Define lockf64 as an alias.
10561 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10562 Define fseeko64 as an alias.
10563 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10564 Define ftello64 as an alias.
10565 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10566 Define _IO_fgetpos64 and fgetpos64 as aliases.
10567 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10568 Define _IO_fsetpos64 and fsetpos64 as aliases.
10569 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10570 Conditionalize body on this.
10571 * libio/fseeko64.c: Likewise.
10572 * libio/ftello64.c: Likewise.
10573 * libio/iofgetpos64.c: Likewise.
10574 * libio/iofsetpos64.c: Likewise.
10575 * sysdeps/wordsize-64/lockf.c: File removed.
10576 * sysdeps/wordsize-64/lockf64.c: File removed.
10577 * sysdeps/wordsize-64/fseeko.c: File removed.
10578 * sysdeps/wordsize-64/fseeko64.c: File removed.
10579 * sysdeps/wordsize-64/ftello.c: File removed.
10580 * sysdeps/wordsize-64/ftello64.c: File removed.
10581 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10582 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10583 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10584 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10586 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10587 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10588 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10589 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10590 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10591 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10592 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10593 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10594 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10595
10596 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10598 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10600 [defined __arch64__ || defined __sparcv9]
10601 (__OFF_T_MATCHES_OFF64_T): New macro.
10602 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10603 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10605 (__OFF_T_MATCHES_OFF64_T): New macro.
10606
c5757acd
L
106072012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * stdlib/secure-getenv.c (__secure_getenv): Replace
10610 GLIBC_2_16 with GLIBC_2_17.
10611
3a31811e
L
106122012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10613
10614 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10615 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10616
faa2bccb
DM
106172012-08-03 David S. Miller <davem@davemloft.net>
10618
10619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10620
85fe1997
JM
106212012-08-03 Joseph Myers <joseph@codesourcery.com>
10622
10623 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10624 Remove.
10625 (__ASSUME_CORRECT_SI_PID): Likewise.
10626 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10627 (__ASSUME_TMPFS_NAME): Likewise.
10628 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10629 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10630 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10631 (HAVE_AUX_SECURE): Make definition unconditional.
10632 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10633 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10634
4f75b7a0
RM
106352012-08-03 Roland McGrath <roland@hack.frob.com>
10636
10637 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10638 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10639 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10640 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10641 __eloop_threshold instead of SYMLOOP_MAX.
10642
10643 * sysdeps/generic/eloop-threshold.h: New file.
10644 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10645 of MAXSYMLINKS.
10646 * elf/chroot_canon.c (chroot_canon): Likewise.
10647
7aab07e4
JM
106482012-08-03 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #13717]
10651 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10652 Change to 2.6.0 everywhere.
10653 * sysdeps/unix/sysv/linux/configure: Regenerated.
10654 * sysdeps/unix/sysv/linux/kernel-features.h
10655 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10656 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10657 kernel versions.
10658 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10659 (__ASSUME_FUTEX_REQUEUE): Remove.
10660 (__ASSUME_STATFS64): Define unconditionally.
10661 (__ASSUME_AT_SECURE): Likewise.
10662 (__ASSUME_CORRECT_SI_PID): Likewise.
10663 (__ASSUME_TGKILL): Define without depending on kernel version for
10664 i386.
10665 (__ASSUME_UTIMES): Likewise.
10666 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10667 kernel version.
10668 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10669 (__ASSUME_TMPFS_NAME): Likewise.
10670 * README: Update reference to Linux kernel versions.
10671
b67e9372
MP
106722012-08-02 Marek Polacek <polacek@redhat.com>
10673
1f529f7d 10674 [BZ# 14150]
b67e9372
MP
10675 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10676 libc_cv_asm_type_prefix with %.
10677 * configure: Regenerated.
d2441631
RM
10678 * include/libc-symbols.h: Remove comment about
10679 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10680 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10681 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10682 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10683 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10684 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10685 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10686 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10687 * elf/tst-unique2mod1.c: Likewise.
10688 * elf/tst-unique1mod2.c: Likewise.
10689 * elf/tst-unique1mod1.c: Likewise.
10690 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10691 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10692 Replace ASM_TYPE_DIRECTIVE with .type.
10693 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10694 * sysdeps/i386/sysdep.h: Likewise.
10695 * sysdeps/x86_64/sysdep.h: Likewise.
10696 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10698 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10699 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10700 * sysdeps/powerpc/powerpc32/sysdep.h:
10701 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10702 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10703 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10704 * sysdeps/i386/fpu/e_powf.S: Likewise.
10705 * sysdeps/i386/fpu/e_expl.S: Likewise.
10706 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10707 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10708 * sysdeps/i386/fpu/e_pow.S: Likewise.
10709 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10710 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10711 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10712 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10713 * sysdeps/i386/fpu/e_log2.S: Likewise.
10714 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10715 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10716 * sysdeps/i386/fpu/e_powl.S: Likewise.
10717 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10718 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10719 * sysdeps/i386/fpu/e_logl.S: Likewise.
10720 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10721 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10722 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10723 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10724 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10725 * sysdeps/i386/fpu/e_log.S: Likewise.
10726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10727 * sysdeps/i386/fpu/e_logf.S: Likewise.
10728 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10729 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10730 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10731 * sysdeps/i386/fpu/e_log10.S: Likewise.
10732 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10733 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10734 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10735 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10736 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10737 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10738 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10739 * sysdeps/i386/i686/strtok.S: Likewise.
10740 * sysdeps/i386/i386-mcount.S: Likewise.
10741 * sysdeps/i386/strtok.S: Likewise.
10742 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10743 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10745 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10746 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10747 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10748 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10749 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10750 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10751 * sysdeps/x86_64/_mcount.S: Likewise.
10752 * sysdeps/x86_64/strtok.S: Likewise.
10753 * sysdeps/sh/_mcount.S: Likewise.
10754
2747bf9a
RM
107552012-08-01 Roland McGrath <roland@hack.frob.com>
10756
10757 * libio/iofopen.c: Include <fcntl.h>.
10758 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10759 (_IO_fopen64, fopen64): Define as aliases.
10760 * libio/iofopen64.c: Include <fcntl.h>.
10761 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10762 Conditionalize body on this.
10763 * sysdeps/wordsize-64/iofopen.c: File removed.
10764 * sysdeps/wordsize-64/iofopen64.c: File removed.
10765
3fb791b8
MP
107662012-08-01 Marek Polacek <polacek@redhat.com>
10767
10768 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10769 Use dlfcn directly instead of a variable.
10770 (binfmt-subdir): Do not define.
10771 (dlfcn): Likewise.
10772
a9f1039f
JM
107732012-08-01 Joseph Myers <joseph@codesourcery.com>
10774
23bddc06
JM
10775 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10776 Remove all definitions.
10777 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10778 <kernel-features.h>.
10779 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10780 (miss_F_GETOWN_EX): Remove all definitions.
10781 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10782 macro definition.
10783 [!__ASSUME_FCNTL64]: Remove conditional code.
10784 [__ASSUME_FCNTL64]: Make code unconditional.
10785 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10786 <kernel-features.h>.
10787 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10788 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10789 (lockf64) [__NR_fcntl64]: Make code unconditional.
10790 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10791
a9f1039f
JM
10792 * sysdeps/unix/sysv/linux/kernel-features.h
10793 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10794 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10795 Make code unconditional.
10796 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10797 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10799 [__NR_vfork]: Make code unconditional.
10800 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10801 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10803 [__NR_vfork]: Make code unconditional.
10804 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10805 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10806
09c0ee5f
RM
108072012-08-01 Roland McGrath <roland@hack.frob.com>
10808
48aec5b9
RM
10809 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10810 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10811
cd97c966
RM
10812 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10813 Define mkstemp64 as an alias.
3f55550c
RM
10814 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10815 Define mkstemps64 as an alias.
cd97c966
RM
10816 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10817 Define mkostemp64 as an alias.
b8625cfc
RM
10818 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10819 Define mkostemps64 as an alias.
cd97c966
RM
10820 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10821 Conditionalize body on this.
10822 * misc/mkostemp64.c: Likewise.
b8625cfc 10823 * misc/mkostemps64.c: Likewise.
3f55550c 10824 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10825 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10826 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10827 * sysdeps/wordsize-64/mkostemp.c: File removed.
10828 * sysdeps/wordsize-64/mkstemp.c: File removed.
10829 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10830 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10831 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10832 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10833
09c0ee5f
RM
10834 [BZ #14138]
10835 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10836 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10837 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10838 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10839
10840 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10841 compat_symbol macros from <shlib-compat.h> rather than the underlying
10842 default_symbol_version and symbol_version macros, so that DEFAULT
10843 lines in shlib-versions are respected.
10844 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10845
7e66ee51
FW
108462012-08-01 Florian Weimer <fweimer@redhat.com>
10847
10848 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10849 Declare with warn_unused_result.
10850 (setgid, setregid, setegid, setresgid): Likewise.
10851 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10852 Likewise.
10853 * WUR-REPORT: Remove set*id functions.
10854
d2a54255
PT
108552012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10856
10857 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10858
7ecdb005
RM
108592012-07-31 Roland McGrath <roland@hack.frob.com>
10860
789bd351
RM
10861 * include/sys/socket.h (__libc_accept, __libc_accept4):
10862 Add attribute_hidden.
10863 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10864
40ce302d
RM
10865 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10866 use of PTR_MANGLE.
10867 * inet/getnetgrent_r.c (setup): Likewise.
10868
7ecdb005
RM
10869 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10870
e2eabb2c
DM
108712012-07-31 David S. Miller <davem@davemloft.net>
10872
10873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10874
d0419dbf
JM
108752012-07-31 Joseph Myers <joseph@codesourcery.com>
10876
10877 [BZ #13629]
10878 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10879 value between 1.0 and 2.0 and smaller part has absolute value less
10880 than 1.0.
10881 * math/s_clog10.c (__clog10): Likewise.
10882 * math/s_clog10f.c (__clog10f): Likewise.
10883 * math/s_clog10l.c (__clog10l): Likewise.
10884 * math/s_clogf.c (__clogf): Likewise.
10885 * math/s_clogl.c (__clogl): Likewise.
10886 * math/libm-test.inc (clog_test): Add more tests.
10887 (clog10_test): Likewise.
10888 * sysdeps/i386/fpu/libm-test-ulps: Update.
10889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10890
2bc13872
FW
108912012-07-31 Florian Weimer <fweimer@redhat.com>
10892
10893 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10894 Exit with zero in case no suitable GID is found, and write a
10895 message to standard error.
10896
bea9b193
RM
108972012-07-30 Roland McGrath <roland@hack.frob.com>
10898
10899 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10900 rather than to 1.
10901 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10902 (MAXPATHLEN): Removed.
10903 (NOGROUP, NODEV): New macros.
10904 (setbit, clrbit, isset, isclr): New macros.
10905 (howmany, roundup, powerof2): New macros.
10906 (DEV_BSIZE): New macro.
10907
10908 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10909 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10910
10911 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10912 definition on [!__NO_LONG_DOUBLE_MATH].
10913
10914 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10915 PTR_MANGLE and PTR_DEMANGLE.
10916
10917 * socket/accept4.c (accept4): Rename to __libc_accept4.
10918 Define accept4 as a weak alias.
10919
10920 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10921 on [_DIRENT_HAVE_D_TYPE].
10922 * io/ftw.c (ftw_dir): Likewise.
10923
10924 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10925
10926 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10927
10928 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10929 Use the BSD numbers rather than the arbitrary ones we had.
10930 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10931 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10932 (SIGXCPU, SIGXFSZ): New macros.
10933 (_NSIG): Now 32.
10934
10935 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10936 initializer on [_LIBC_REENTRANT].
10937
10938 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10939 definitions inside [_POSIX_MAPPED_FILES].
10940
10941 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10942
10943 * dirent/opendir.c: Include <fcntl.h>.
10944
10945 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10946 (__libc_getspecific): Likewise.
10947 (__libc_key_create): Likewise.
10948
10949 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10950 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10951 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10952 (tmpfile64): Define as alias.
10953 * sysdeps/wordsize-64/tmpfile.c: File removed.
10954 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10955 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10956 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10957
10958 * stdio-common/vfscanf.c: Include <stdbool.h>.
10959 * nss/makedb.c: Likewise.
10960 * stdio-common/_i18n_number.h: Likewise.
10961 * argp/argp-help.c: Likewise.
10962 * posix/wordexp.c: Likewise.
10963 * sysdeps/posix/spawni.c: Likewise.
10964 * nss/nss_files/files-initgroups.c: Likewise.
10965 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10966 * nss/nss_files/files-initgroups.c: Likewise.
10967 * nss/nss_db/db-netgrp.c: Likewise.
10968 * nss/nss_db/db-initgroups.c: Likewise.
10969 * io/fchmodat.c: Include <sys/stat.h>.
10970
10971 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10972 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10973
10974 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10975 [HAVE_MMAP].
10976
10977 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10978 Add multiple inclusion protection.
10979
e5abc686
DM
109802012-07-27 David S. Miller <davem@davemloft.net>
10981
10982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10983
815e6fa3
GB
109842012-07-27 Gary Benson <gbenson@redhat.com>
10985
10986 [BZ #14298]
10987 * elf/rtld.c: Include <stap-probe.h>.
10988 (dl_main): Added static probes "init_start" and "init_complete".
10989 * elf/dl-load.c: Include <stap-probe.h>.
10990 (lose): Take new parameter "nsid".
10991 Added static probe "map_failed".
10992 (_dl_map_object_from_fd): Pass namespace id to lose.
10993 Added static probe "map_start".
10994 (open_verify): Pass namespace id to lose.
10995 * elf/dl-open.c: Include <stap-probe.h>.
10996 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10997 and "reloc_complete".
10998 * elf/dl-close.c: Include <stap-probe.h>.
10999 (_dl_close_worker): Added static probes "unmap_start" and
11000 "unmap_complete".
11001 * elf/rtld-debugger-interface.txt: New file documenting the above.
11002
9f98c16c
RM
110032012-07-26 Roland McGrath <roland@hack.frob.com>
11004
11005 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11006 rather than a string variable.
11007 * sunrpc/rpc_main.c (h_output): Likewise.
11008 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11009
f3c22df3
PT
110102012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11011
11012 * inet/check_native.c: New file.
11013
3129cfc6
JM
110142012-07-26 Joseph Myers <joseph@codesourcery.com>
11015
da865e95
JM
11016 [BZ #13629]
11017 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11018 if larger part has absolute value 1.0.
11019 * math/s_clog10.c (__clog10): Likewise.
11020 * math/s_clog10f.c (__clog10f): Likewise.
11021 * math/s_clog10l.c (__clog10l): Likewise.
11022 * math/s_clogf.c (__clogf): Likewise.
11023 * math/s_clogl.c (__clogl): Likewise.
11024 * math/libm-test.inc (clog_test): Add more tests.
11025 (clog10_test): Likewise.
11026 * sysdeps/i386/fpu/libm-test-ulps: Update.
11027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11028
3129cfc6
JM
11029 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11030 (pltexit): Likewise.
11031 (La_regs): Likewise.
11032 (La_retval): Likewise.
11033 (int_retval): Likewise.
11034 Update #error for removed macros to refer only to definitions in
11035 tst-audit.h.
11036 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11037 macro.
11038 (pltexit): Likewise.
11039 (La_regs): Likewise.
11040 (La_retval): Likewise.
11041 (int_retval): Likewise.
11042 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11043 macro.
11044 (pltexit): Likewise.
11045 (La_regs): Likewise.
11046 (La_retval): Likewise.
11047 (int_retval): Likewise.
11048 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11049 macro.
11050 (pltexit): Likewise.
11051 (La_regs): Likewise.
11052 (La_retval): Likewise.
11053 (int_retval): Likewise.
11054 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11055 macro.
11056 (pltexit): Likewise.
11057 (La_regs): Likewise.
11058 (La_retval): Likewise.
11059 (int_retval): Likewise.
11060 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11061 macro.
11062 (pltexit): Likewise.
11063 (La_regs): Likewise.
11064 (La_retval): Likewise.
11065 (int_retval): Likewise.
11066 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11067 macro.
11068 (pltexit): Likewise.
11069 (La_regs): Likewise.
11070 (La_retval): Likewise.
11071 (int_retval): Likewise.
11072 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11073 macro definitions in tst-audit.h.
11074 * sysdeps/i386/tst-audit.h: New file.
11075 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11076 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11077 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11078 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11079 * sysdeps/sh/tst-audit.h: Likewise.
11080 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11081 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11082 * sysdeps/x86_64/tst-audit.h: Likewise.
11083
bfc07087
AJ
110842012-07-26 Andreas Jaeger <aj@suse.de>
11085
b1b2aaf8
AJ
11086 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11087 ptrace.
11088
11089 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11090 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11091 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11092 PTRACE_O_MASK.
11093 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11094 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11095 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11096
bfc07087
AJ
11097 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11098 value.
11099
11100 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11101 _sigsys.
11102 (si_call_addr, si_syscall, si_arch): Define new macro.
11103 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11104 _sigsys.
11105 (si_call_addr, si_syscall, si_arch): Define new marcro.
11106 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11107 _sigsys.
11108 (si_call_addr, si_syscall, si_arch): Define new macro.
11109 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11110 _sigsys.
11111 (si_call_addr, si_syscall, si_arch): Define new macro.
11112
89b4b02f
JM
111132012-07-25 Joseph Myers <joseph@codesourcery.com>
11114
11115 [BZ #13717]
11116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11117 Change to 2.4.21 where previously 2.4.1.
11118 * sysdeps/unix/sysv/linux/configure: Regenerated.
11119 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11120 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11121 Linux kernel version.
11122 (__ASSUME_STD_AUXV): Remove.
11123 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11124 kernel version.
11125 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11126 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11127 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11128 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11129 (__ASSUME_NETLINK_SUPPORT): Likewise.
11130 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11131 (__no_netlink_support): Remove conditional definition.
11132 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11133 Remove.
11134 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11135 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11136 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11137 (if_nameindex_ioctl): Remove.
11138 (if_nameindex_netlink): Do not handle __no_netlink_support.
11139 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11140 code.
11141 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11142 Remove conditional code.
11143 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11144 code.
11145 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11146 unconditional.
11147 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11148 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11149 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11150 Remove.
11151 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11152 [!__ASSUME_STD_AUXV]: Remove conditional code.
11153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11154 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11155 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11157 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11158 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11159 code.
11160 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11162 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11163 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11164 conditional code.
11165 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11167 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11168 code.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11170 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11171 conditional code.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11173 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11174 code unconditional.
11175 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11176 conditional code.
11177 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11178 unconditional.
11179 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11180 conditional code.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11182 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11183 unconditional.
11184 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11185 conditional code.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11187 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11188 code unconditional.
11189 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11190 conditional code.
11191 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11192 unconditional.
11193 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11194 conditional code.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11196 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11197 code unconditional.
11198 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11199 conditional code.
11200 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11201 unconditional.
11202 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11203 conditional code.
11204
842a39cd
AS
112052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11206
11207 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11208 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11209 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11210 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11211 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11212 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11213 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11214 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11215 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11216 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11217 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11218 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11219 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11220 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11221 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11222 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11223 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11224 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11225 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11227 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11228 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11229 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11230
84b3fd84
FW
112312012-07-25 Florian Weimer <fweimer@redhat.com>
11232
11233 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11234 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11235 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11236 Introduce __libc_secure_getenv.
0c7936d5
FW
11237 * stdlib/Versions (2.17): Add secure_getenv
11238 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11239 * stdlib/secure-getenv.c: Rename __secure_getenv to
11240 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11241 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11242 * stdlib/tst-secure-getenv.c: New.
11243 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11244 * manual/startup.texi (Environment Access): Document
11245 secure_getenv.
84b3fd84
FW
11246 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11247 __libc_secure_getenv.
11248 * inet/ruserpass.c (ruserpass): Likewise.
11249 * malloc/mtrace.c (mtrace): Likewise.
11250 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11251 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11252 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11253 * sysdeps/posix/tempname.c: Likewise. Evaluate
11254 HAVE_SECURE_GETENV.
11255 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11256 __secure_getenv to __libc_secure_getenv.
84b3fd84 11257 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11259 Likewise.
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11261 Likewise.
11262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11269
56e49b71
JM
112702012-07-25 Joseph Myers <joseph@codesourcery.com>
11271
11272 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11273 (struct La_i86_retval): Likewise.
11274 (struct La_x86_64_regs): Likewise.
11275 (struct La_x86_64_retval): Likewise.
11276 (struct La_x32_regs): Likewise.
11277 (struct La_x32_retval): Likewise.
11278 (struct La_ppc32_regs): Likewise.
11279 (struct La_ppc32_retval): Likewise.
11280 (struct La_ppc64_regs): Likewise.
11281 (struct La_ppc64_retval): Likewise.
11282 (struct La_sh_regs): Likewise.
11283 (struct La_sh_retval): Likewise.
11284 (struct La_s390_32_regs): Likewise.
11285 (struct La_s390_32_retval): Likewise.
11286 (struct La_s390_64_regs): Likewise.
11287 (struct La_s390_64_retval): Likewise.
11288 (struct La_sparc32_regs): Likewise.
11289 (struct La_sparc32_retval): Likewise.
11290 (struct La_sparc64_regs): Likewise.
11291 (struct La_sparc64_retval): Likewise.
11292 (struct audit_ifaces): Remove architecture-specific pltenter and
11293 pltexit members.
11294 * sysdeps/i386/ldsodefs.h: New file.
11295 * sysdeps/powerpc/ldsodefs.h: Likewise.
11296 * sysdeps/s390/ldsodefs.h: Likewise.
11297 * sysdeps/sh/ldsodefs.h: Likewise.
11298 * sysdeps/sparc/ldsodefs.h: Likewise.
11299 * sysdeps/x86_64/ldsodefs.h: Likewise.
11300
354691b7
MP
113012012-07-25 Marek Polacek <polacek@redhat.com>
11302
11303 [BZ #6808]
11304 * math/libm-test.inc (yn_test): Add another test.
11305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11306 to ERANGE when the result is +-Inf.
11307 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11308 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11309 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11310 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11311
bf9e2071
JM
113122012-07-24 Joseph Myers <joseph@codesourcery.com>
11313
11314 * conform/data/time.h-data (NULL): Use macro-constant. Require
11315 equal to 0.
11316 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11317 clock_t.
11318 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11319
57633811
TS
113202012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11321
11322 * configure.in <sysdeps resolving>: Correct printing
11323 Implies_before.
11324 * configure: Regenerate.
11325
c23c33b0
TS
113262012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11327
11328 * math/w_ilogb.c: Include <limits.h>.
11329 * math/w_ilogbl.c: Likewise.
11330
b5982523
JM
113312012-07-20 Joseph Myers <joseph@codesourcery.com>
11332
11333 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11334 va_copy. Document allowing for unavailable va_copy only as
11335 pre-C99 compatibility.
11336 * manual/string.texi (Copying and Concatenation): Use va_copy
11337 instead of __va_copy in concat example.
11338
ac4ea442
PT
113392012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11340
11341 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11342 (__sendto): Use create_address_port. Initialize APORT and deallocate
11343 it if not null.
11344
f98eafbd
PT
11345 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11346 with O_NOLINK passed to __file_name_lookup.
11347
898c7aab
PT
11348 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11349 with O_NOLINK passed to __file_name_lookup.
11350
0ced335a
PT
11351 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11352 negative N or less than NGIDS.
11353
b3404dbd
PT
11354 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11355 type to string_t. Set ERANGE as errno and return it if NAME is not big
11356 enough. Use memcpy instead of strncpy.
11357
0f48659e
JM
113582012-07-20 Joseph Myers <joseph@codesourcery.com>
11359
11360 * elf/Makefile (check-data): Remove.
11361 (localplt.data): New vpath directive.
11362 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11363 instead of $(check-data).
11364 * scripts/data/localplt-generic.data: Move to ...
11365 * sysdeps/generic/localplt.data: ... here.
11366 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11367 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11368 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11370 ... here.
11371 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11373 ... here.
11374 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11376 ... here.
11377 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11379 ... here.
11380 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11382 ... here.
11383 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11385 ... here.
11386
d37cbdaa
AZ
113872012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11388
11389 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11390 PPC32 and PPC64 files.
11391 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11392 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11393
46f85fc2
AK
113942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11395
11396 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11397 __makecontext_ret to ...
11398 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11399 ... here and call exit if uc_link is NULL. New file.
11400 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11401 __makecontext_ret.S.
11402 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11403 __makecontext_ret to ...
11404 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11405 ... here and call exit if uc_link is NULL. New file.
11406 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11407 __makecontext_ret.S.
11408
08f43f9b
AK
114092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11410
11411 * elf/elf.h (R_390_IRELATIVE): New definition.
11412 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11413 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11414 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11415 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11416 (elf_machine_lazy_rel): Likewise.
11417 * sysdeps/s390/dl-irel.h: New file.
11418 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11419 * sysdeps/s390/s390-64/memset.S: New asm code.
11420 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11421 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11422 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11423 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11424 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11425 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11427 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11428 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11429 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11430 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11431 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11432 * sysdeps/s390/s390-32/memset.S: New asm code.
11433 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11434
3b05db33
MP
114352012-07-17 Marek Polacek <polacek@redhat.com>
11436
11437 [BZ #14349]
11438 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11439 * sysdeps/s390/s390-64/configure.in: Likewise.
11440 * sysdeps/sparc/configure.in: Likewise.
11441 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11442 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11443 * sysdeps/i386/configure.in: Likewise.
11444 * sysdeps/x86_64/configure.in: Likewise.
11445 * sysdeps/sh/configure.in: Likewise.
11446 * sysdeps/s390/s390-32/configure: Regenerated.
11447 * sysdeps/s390/s390-64/configure: Likewise.
11448 * sysdeps/x86_64/configure: Likewise.
11449 * sysdeps/sh/configure: Likewise.
11450 * sysdeps/powerpc/powerpc64/configure: Likewise.
11451 * sysdeps/powerpc/powerpc32/configure: Likewise.
11452 * sysdeps/sparc/configure: Likwise.
11453 * sysdeps/i386/configure: Likewise.
11454
a66877c6
MP
11455 * elf/dl-open.c: Comment fixes.
11456
cfc82fd8
JM
114572012-07-17 Joseph Myers <joseph@codesourcery.com>
11458
bd29910a
JM
11459 * Makefile [CXX] (check-data): Remove.
11460 [CXX] (c++-types.data): New vpath directive.
11461 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11462 vpath. Do not allow for C++ type data being missing.
11463 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11464 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11465 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11466 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11467 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11468 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11469 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11471 ... here.
11472 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11474 ... here.
11475 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11477 ... here.
11478 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11480 ... here.
11481 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11483 ... here.
11484 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11486 ... here.
11487 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11488 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11489 ... here.
11490 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11492
cfc82fd8
JM
11493 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11494 definitions to architecture-specific files.
11495 (TLS_IE): Likewise.
11496 (TLS_LD): Likewise.
11497 (TLS_GD): Likewise.
11498 * sysdeps/i386/tls-macros.h: New file.
11499 * sysdeps/powerpc/tls-macros.h: Likewise.
11500 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11501 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11502 * sysdeps/sh/tls-macros.h: Likewise.
11503 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11504 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11505 * sysdeps/x86_64/tls-macros.h: Likewise.
11506
f7db3170
TS
115072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11508
07cbfc23
TS
11509 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11510 zero value for regular exit case.
11511
f7db3170
TS
11512 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11513 (__start_context): Preserve zero value for regular exit case.
11514
dc97c227
TS
115152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11516 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11517
11518 * manual/setjmp.texi (setcontext): Clarify normal process
11519 termination when uc_link is the null pointer.
11520 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11521 exit call.
11522
d0cd7d02
AS
115232012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11524
11525 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11526 preprocessor. Test for each exception mask separately.
11527
dd318934
AJ
115282012-07-16 Andreas Jaeger <aj@suse.de>
11529
11530 * po/ru.po: Update from translation team.
11531
8048311a
JM
115322012-07-15 Joseph Myers <joseph@codesourcery.com>
11533
11534 * conform/data/string.h-data (NULL): Use macro-constant. Require
11535 equal to 0.
11536 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11537 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11538 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11539 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11540 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11541
b637d46e
AJ
115422012-07-13 Andreas Jaeger <aj@suse.de>
11543
11544 * po/fr.po: Update from translation team.
11545
541428fe
MP
115462012-07-12 Marek Polacek <polacek@redhat.com>
11547
11548 [BZ #14173]
11549 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11550 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11551 loop condition.
11552
ec332e94
JM
115532012-07-12 Joseph Myers <joseph@codesourcery.com>
11554
11555 [BZ #13717]
11556 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11557 Change to 2.4.1 where previously 2.4.0.
11558 * sysdeps/unix/sysv/linux/configure: Regenerated.
11559 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11560 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11561 version.
11562 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11563 (__ASSUME_AT_CLKTCK): Remove.
11564 (__ASSUME_AT_PAGESIZE): Likewise.
11565 (__ASSUME_AT_XID): Likewise.
11566 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11567 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11568 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11569 unconditionally.
11570 (HAVE_AUX_PAGESIZE): Likewise.
11571 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11572 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11573 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11574
7b6e99be
JB
115752012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11576
11577 [BZ #14307]
11578 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11579 the temporary buffer used to invoke __gethostbyname2_r,
11580 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11581 host_data / struct gaih_addrtuple.
11582 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11583 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11584 header file nss/nsswitch.h.
11585 * nss/nsswitch.h (global scope): Add definition of implementation
11586 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11587 resolv/nss_dns/dns-host.c).
11588
608404eb
AJ
115892012-07-11 Andreas Jaeger <aj@suse.de>
11590
11591 * po/fr.po: Update from translation team.
11592
71220aca
AJ
11593 * po/sv.po: Update from translation team
11594 * po/fr.po: Another update from translation team.
11595
28cfe843
AZ
115962012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597
11598 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11599 for subnormals or multiply small sinh result by itself.
11600 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11602
6b90f981
DM
116032012-07-11 David S. Miller <davem@davemloft.net>
11604
11605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11606
c6825772
AS
116072012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11608
11609 [BZ #14347]
11610 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11611 (INTERNAL_MARK): Shift it here.
11612
7b8e0d49
MP
116132012-07-10 Marek Polacek <polacek@redhat.com>
11614
11615 [BZ #14151]
11616 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11617 libc_cv_asm_global_directive with .globl.
11618 * configure: Regenerated.
11619 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11620 with .globl.
11621 * sysdeps/i386/configure: Regenerated.
11622 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11623 with .globl.
11624 * sysdeps/x86_64/configure: Regenerated.
11625 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11626 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11627 * elf/tst-unique2mod2.c: Likewise.
11628 * elf/tst-unique2mod1.c: Likewise.
11629 * elf/tst-unique1mod2.c: Likewise.
11630 * elf/tst-unique1mod1.c: Likewise.
11631 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11632 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11634 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11635 * sysdeps/mach/sysdep.h: Likewise.
11636 * sysdeps/i386/sysdep.h: Likewise.
11637 * sysdeps/i386/i386-mcount.S: Likewise.
11638 * sysdeps/x86_64/_mcount.S: Likewise.
11639 * sysdeps/x86_64/sysdep.h: Likewise.
11640 * sysdeps/sh/_mcount.S: Likewise.
11641 * sysdeps/sh/sysdep.h: Likewise.
11642 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11643 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11644 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11645 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11646 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11647 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11648 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11649 * locale/localeinfo.h: Likewise.
11650 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11651 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11652
6c55cda3
RM
116532012-07-09 Roland McGrath <roland@hack.frob.com>
11654
11655 [BZ #14336]
11656 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11657 system".
11658 * manual/message.texi (The Uniforum approach): Likewise.
11659 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11660 (glibc iconv Implementation): Likewise.
11661
638a572e
JM
116622012-07-09 Joseph Myers <joseph@codesourcery.com>
11663
11664 [BZ #14337]
11665 * math/s_clog.c (__clog): Avoid scaling a value down where that
11666 could result in underflow.
11667 * math/s_clog10.c (__clog10): Likewise.
11668 * math/s_clog10f.c (__clog10f): Likewise.
11669 * math/s_clog10l.c (__clog10l): Likewise.
11670 * math/s_clogf.c (__clogf): Likewise.
11671 * math/s_clogl.c (__clogl): Likewise.
11672 * math/libm-test.inc (clog_test): Add more tests.
11673 (clog10_test): Likewise.
11674 * sysdeps/i386/fpu/libm-test-ulps: Update.
11675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11676
261f4859
AS
116772012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11678
0abaf3e4
AS
11679 [BZ #14283]
11680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11681 by 7 not 8 to examine high bit of fractional part.
11682
261f4859
AS
11683 [BZ #14042]
11684 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11685 for call to __mcount_internal.
11686 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11687 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11688 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11689
f17ac40d
JM
116902012-07-06 Joseph Myers <joseph@codesourcery.com>
11691
9ad63c23
JM
11692 [BZ #14154]
11693 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11694 approximation for values within 0x1p-13f of an odd multiple of
11695 pi/4.
11696 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11697 exception. Add more tests.
11698 * sysdeps/i386/fpu/libm-test-ulps: Update.
11699
f17ac40d
JM
11700 [BZ #6778]
11701 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11702 inputs and return -1 for them. Do not check for +Inf in case not
11703 reachable for +Inf.
11704 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11705 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11706 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11707 and return -1 for them. Do not check for +Inf in case not
11708 reachable for +Inf.
11709 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11710 define.
11711 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11712 and return -1 for them. Do not check for +Inf in case not
11713 reachable for +Inf.
11714 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11715 spurious underflow.
11716 * sysdeps/i386/fpu/libm-test-ulps: Update.
11717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11718
fb21f89b
MF
117192012-07-06 Mike Frysinger <vapier@gentoo.org>
11720
11721 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11722
cdfe2c5e
JM
117232012-07-05 Joseph Myers <joseph@codesourcery.com>
11724
11725 [BZ #14157]
11726 [BZ #14331]
11727 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11728 could result in spurious underflow. Scale down values above
11729 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11730 * math/s_csqrtf.c (__csqrtf): Likewise.
11731 * math/s_csqrtl.c (__csqrtl): Likewise.
11732 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11733 spurious underflow.
11734 * sysdeps/i386/fpu/libm-test-ulps: Update.
11735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11736
70d35b67
AS
117372012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11738
704bc459
AS
11739 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11740 xopen-msg.sed.
11741 * catgets/xopen-msg.awk: New file.
11742 * catgets/xopen-msg.sed: Removed.
11743
70d35b67
AS
11744 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11745 po2text.sed.
11746 * intl/po2test.awk: New file.
11747 * intl/po2test.sed: Removed.
11748
ca61cf32
JM
117492012-07-04 Joseph Myers <joseph@codesourcery.com>
11750
11751 [BZ #14328]
11752 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11753 or multiply small sinh result by itself.
11754 * math/s_ctanf.c (__ctanf): Likewise.
11755 * math/s_ctanh.c (__ctanh): Likewise.
11756 * math/s_ctanhf.c (__ctanhf): Likewise.
11757 * math/s_ctanhl.c (__ctanhl): Likewise.
11758 * math/s_ctanl.c (__ctanl): Likewise.
11759 * math/libm-test.inc (ctan_test_tonearest): New function.
11760 (ctan_test_towardzero): Likewise.
11761 (ctan_test_downward): Likewise.
11762 (ctan_test_upward): Likewise.
11763 (ctanh_test_tonearest): Likewise.
11764 (ctanh_test_towardzero): Likewise.
11765 (ctanh_test_downward): Likewise.
11766 (ctanh_test_upward): Likewise.
11767 (main): Call these new functions.
11768 * sysdeps/i386/fpu/libm-test-ulps: Update.
11769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11770
ca48a46a
MF
117712012-07-03 Mike Frysinger <vapier@gentoo.org>
11772
11773 * .gitignore: Delete /ports entry.
11774
9d63d37d
AJ
117752012-07-03 Andreas Jaeger <aj@suse.de>
11776
11777 * po/bg.po: Update from translation team.
11778 * po/cs.po: Likewise.
11779 * po/de.po: Likewise.
11780 * po/hr.po: Likewise.
11781 * po/nl.pl: Likewise.
11782 * po/pl.po: Likewise.
11783 * po/vi.po: Likewise.
11784
370ca3d2
JM
117852012-07-03 Joseph Myers <joseph@codesourcery.com>
11786
95f5a9a8
JM
11787 * Makeconfig [!+link] (+link-before-libc): New variable.
11788 [!+link] (+link-after-libc): Likewise.
11789 [!+link] (+link-tests): Likewise.
11790 [!+link] (+link): Define in terms of $(+link-before-libc) and
11791 $(+link-after-libc).
11792 [!+link-static] (+link-static-before-libc): New variable.
11793 [!+link-static] (+link-static-after-libc): Likewise.
11794 [!+link-static] (+link-static-tests): Likewise.
11795 [!+link-static] (+link-static): Define in terms of
11796 $(+link-static-before-libc) and $(+link-static-after-libc).
11797 [build-shared] (link-libc-before-gnulib): New variable.
11798 [build-shared] (link-libc-tests): Likewise.
11799 [build-shared] (link-libc): Define in terms of
11800 $(link-libc-before-gnulib).
11801 [!build-shared] (link-libc-tests): New variable.
11802 (link-libc-static-tests): New variable.
11803 [!gnulib] (gnulib-arch): New variable.
11804 [!gnulib] (gnulib-tests): Likewise.
11805 [!gnulib] (static-gnulib-arch): Likewise.
11806 [!gnulib] (static-gnulib-tests): Likewise.
11807 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11808 Define with "=" instead of ":=".
11809 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11810 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11811 * Rules (binaries-all-notests): New variable.
11812 (binaries-all-tests): Likewise.
11813 (binaries-static-notests): Likewise.
11814 (binaries-static-tests): Likewise.
11815 (binaries-all): Define using $(binaries-all-notests) and
11816 $(binaries-all-tests).
11817 (binaries-static): Define using $(binaries-static-notests) and
11818 $(binaries-static-tests).
11819 (binaries-shared-tests): New variable.
11820 (binaries-shared-notests): Likewise.
11821 (binaries-shared): Remove variable.
11822 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11823 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11824 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11825 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11826 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11827 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11828 * elf/Makefile (sln-modules): New variable.
11829 (extra-objs): Add $(sln-modules:=.o).
11830 (ldconfig-modules): Add static-stubs.
11831 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11832 * elf/static-stubs.c: New file.
11833
7a845b2c
JM
11834 [BZ #14283]
11835 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11836 by 7 not 8 to examine high bit of fractional part. Use volatile
11837 variables when splitting into final array of floats if
11838 __FLT_EVAL_METHOD__ != 0.
11839 * math/libm-test.inc (cos_test): Add another test.
11840 (sin_test): Likewise.
11841 * sysdeps/i386/fpu/libm-test-ulps: Update.
11842
e2283f38
JM
11843 [BZ #14273]
11844 * math/libm-test.inc (cosh_test): Add more tests.
11845
370ca3d2
JM
11846 * version.h (RELEASE): Set to "development".
11847 (VERSION): Set to "2.16.90".
11848
ee9247c3
CD
118492012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11850
11851 * NEWS: Update copyright. Remove last-updated date.
11852 Mention math library bug fixes and timezone data changes.
11853 * README: Mention GNU/Hurd, x32, and HPPA support status.
11854
4648c381
TS
118552012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11856
11857 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11858
aac78a43
AJ
118592012-06-27 Andreas Jaeger <aj@suse.de>
11860
11861 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11862
ed3dbfad
AJ
118632012-06-25 Andreas Jaeger <aj@suse.de>
11864
11865 * sysdeps/s390/fpu/libm-test-ulps: Update.
11866
4d0ee855
AS
118672012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11868 Thomas Schwinge <thomas@codesourcery.com>
11869
11870 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11871 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11873 fanotify_mark.
11874
af1bce34
TS
118752012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11876
a9fa33ba
TS
11877 * sysdeps/mach/start.c: Remove file.
11878 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11879 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11880 * sysdeps/sh/init-first.c: Likewise.
11881
58f902b8
TS
11882 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11883 registers for frame unwinding purposes, add CFI directives.
11884 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11885 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11886 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11887 Likewise.
11888
1518f58b
TS
11889 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11890 __fortify_fail returning.
11891 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11892
db9b5059
TS
11893 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11894 sysdeps/sh/____longjmp_chk.S.
11895 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11896 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11897 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11898 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11899
967705fe
TS
11900 * sysdeps/sh/abort-instr.h: New file.
11901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11902 process in case exit returns.
11903
a9def8c4
TS
11904 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11905 initialize the GOT register before use.
11906
2a649725
TS
11907 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11908 calculation of ARGC > 4.
11909
af1bce34
TS
11910 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11911 meaningful names to some local labels.
11912
d230f50a
KK
119132012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11914 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11915
11916 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11917 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11918 (__arch_compare_and_exchange_val_16_acq): Likewise.
11919 (__arch_compare_and_exchange_val_32_acq): Likewise.
11920 (atomic_exchange_and_add): Fix gUSA sequence.
11921 (atomic_add): Likewise.
11922 (atomic_add_negative): Likewise.
11923 (atomic_add_zero): Likewise.
11924 (atomic_bit_test_set): Likewise.
11925
0479b305
AS
119262012-06-22 Andreas Schwab <schwab@redhat.com>
11927
11928 [BZ #13579]
11929 * include/link.h (struct link_map): Add l_free_initfini.
11930 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11931 l_initfini.
11932 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11933 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11934 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11935 set.
11936
0e3933b9
CD
119372012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11938
11939 * configure.in: Use AC_LANG_SOURCE.
11940 * configure: Regenerate.
11941
4248b1b1
RM
119422012-06-22 Roland McGrath <roland@hack.frob.com>
11943
11944 * configure.in (libc_cv_localstatedir): New substituted variable.
11945 * configure: Regenerated.
11946 * config.make.in (localstatedir): New variable, substituted from
11947 libc_cv_localstatedir.
11948 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11949 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11950 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11951 * sysdeps/gnu/configure: Regenerated.
11952
006dd861
JL
119532012-06-21 Jeff Law <law@redhat.com>
11954
11955 [BZ #14277]
11956 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11957 free. Simplify list management for _LIBC case.
11958
79662d42
JM
119592012-06-21 Joseph Myers <joseph@codesourcery.com>
11960
b7abb4bf
JM
11961 [BZ #14273]
11962 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11963 Clear sign bit of 64-bit integer value before comparing against
11964 overflow value.
11965
79662d42
JM
11966 * sysdeps/mach/configure: Regenerated.
11967
1f150908
L
119682012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11969
11970 [BZ #14278]
11971 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11972
28363bbf
JL
119732012-06-21 Jeff Law <law@redhat.com>
11974
11975 [BZ #13882]
11976 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11977 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11978 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11979 * elf/dl-open.c (dl_open_worker): Likewise.
11980
09615db4
CD
119812012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11982
11983 * scripts/list-sources.sh: Scan PORTS for translations.
11984 * po/libc.pot: Regenerated.
11985
2174c6dd
AJ
119862012-06-21 Andreas Jaeger <aj@suse.de>
11987
11988 [BZ #12194]
11989 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11990 warning.
11991 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11992 * bits/byteswap-16.h (__bswap_16): Likewise.
11993 * bits/byteswap.h (__bswap_constant_16): Likewise.
11994
3ee947b1
L
119952012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11996
11997 [BZ #14117]
a2f34833
L
11998 * sysdeps/i386/fpu_control.h: Removed.
11999 * sysdeps/x86_64/fpu_control.h: Moved to ...
12000 * sysdeps/x86/fpu_control.h: Here.
12001
3ee947b1
L
12002 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12003 (_FPU_SETCW): Likewise.
12004
ed1825f8
L
120052012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12006
25f1282a
L
12007 [BZ #14117]
12008 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12009 * sysdeps/x86/fpu/bits/mathinline.h: This.
12010 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12011
ed1825f8
L
12012 [BZ #14050]
12013 [BZ #14117]
12014 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12015 functions if __x86_64__ is defined.
12016
36d54b74
CLT
120172012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12018
12019 * string/endian.h: Add !__ASSEMBLER__ condition for including
12020 conversion interfaces.
12021
10285c21
JM
120222012-06-15 Joseph Myers <joseph@codesourcery.com>
12023
12024 [BZ #14241]
12025 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12026 of ABS(x) in calculating zero to negative powers other than odd
12027 integers.
12028 * math/libm-test.inc (pow_test): Add more tests.
12029
06c5abbd
AJ
120302012-06-15 Andreas Jaeger <aj@suse.de>
12031
12032 * manual/contrib.texi (Contributors): Update entry of Liubov
12033 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12034 Machado Filho.
12035
a3aeac40
CH
120362012-06-15 Cyril Hrubis <metan@ucw.cz>
12037
12038 * string/string.h: Add __wur to GNU version of strerror_r.
12039
49bdf4c1
L
120402012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12041
12042 [BZ #14229]
12043 * string/Makefile (tests): Add tst-strtok_r.
12044 * string/tst-strtok_r.c: New file.
12045 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12046 RAX_LP/RDX_LP on SAVE_PTR.
12047
834f9b8d
RM
120482012-06-14 Roland McGrath <roland@hack.frob.com>
12049
12050 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12051
75fa1921
JM
120522012-06-14 Joseph Myers <joseph@codesourcery.com>
12053
12054 * libm_test.inc (csqrt_test): Allow more spurious underflow
12055 exceptions.
12056 (j0_test): Likewise.
12057 (j1_test): Likewise.
12058 (y0_test): Likewise.
12059 (y1_test): Likewise.
12060
771766df
CD
120612012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12062
12063 * po/Makefile (libc.pot): Use UTF-8 charset.
12064
ceb9e56b
PP
120652012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12066
12067 [BZ #14210]
12068 Suppress sign-conversion warning from FD_SET.
12069 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12070 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12071 not unsigned long int.
12072 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12073
ddb28975
L
120742012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12075
12076 [BZ #14050]
12077 [BZ #14117]
12078 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12079 __extern_always_inline instead of __extern_inline.
12080 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12081 (__signbit): Likewise.
12082 (__signbitl): Support C++ namespace.
12083 (lrintf): New inline function.
12084 (lrint): Likewise.
12085 (llrintf): Likewise.
12086 (llrint): Likewise.
12087 (fmaxf): Likewise.
12088 (fmax): Likewise.
12089 (fminf): Likewise.
12090 (fmin): Likewise.
12091 (rint): Likewise.
12092 (rintf): Likewise.
12093 (ceil): Likewise.
12094 (ceilf): Likewise.
12095 (floor): Likewise.
12096 (floorf): Likewise.
12097 (nearbyint): Likewise.
12098 (nearbyintf): Likewise.
12099
d7b4fb26
TS
121002012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12101
12102 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12103 non-default versions.
12104
eb55f5c2
RM
121052012-06-11 Roland McGrath <roland@hack.frob.com>
12106
12107 [BZ #14218]
12108 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12109
366af02c
TS
121102012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12111
99ff6e5c
TS
12112 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12113 (FE_UPWARD, FE_DOWNWARD): Don't define.
12114 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12115 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12116
366af02c
TS
12117 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12118 reading it.
12119 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12120 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12121
793ea851
KK
121222012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12123
12124 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12126 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12127 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12128
a728a38f
L
121292012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12130
12131 [BZ #14117]
c08010c7
L
12132 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12133 * sysdeps/i386/fpu/Implies: New file.
12134 * sysdeps/x86_64/fpu/Implies: Likewise.
12135 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12136 * sysdeps/x86/fpu/bits/fenv.h: This.
12137
a728a38f
L
12138 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12139 __SSE_MATH__.
12140
6e230d11
SP
121412012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12142
12143 [BZ #14134]
12144 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12145 character 0xffff that matches the last element of the
12146 conversion table.
12147
1b671feb
AZ
121482012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12149
12150 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12151 fmodl commit.
12152
6043738b
AZ
121532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12154
12155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12156 values higher than 25.6283.
12157
34ae0b32
AZ
121582012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12159
12160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12161 subnormal exponent extraction and add some __builtin_expect.
12162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12163 Fix for subnormal mantissa calculation.
12164
1214ec8f
MF
121652012-06-04 Mike Frysinger <vapier@gentoo.org>
12166
12167 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12168 cpu2 is -1 and errno is not ENOSYS.
12169
f3d1f93c
L
121702012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12171
12172 [BZ #14117]
0e4a3cd7
L
12173 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12174 * sysdeps/x86/bits/string.h: This.
12175 * sysdeps/x86_64/bits/string.h: Removed.
12176
6704c645
L
12177 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12178 if not compiling for x86-64, but compiling for >= i486.
12179
48495318
L
12180 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12181 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12182
14adcbfc
L
12183 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12184 New macro from Linux kernel 3.4.0.
12185 (FP_XSTATE_MAGIC2): Likewise.
12186 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12187 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12188 (struct _fpx_sw_bytes): New struct.
12189 (struct _xsave_hdr): Likewise.
12190 (struct _ymmh_state): Likewise.
12191 (struct _xstate): Likewise.
12192
68e408ab
L
12193 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12194 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12195 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12196 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12197 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12198 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12199
f3d1f93c
L
12200 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12201 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12202 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12203 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12204 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12205 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12206
d9dc34cd
TMQMF
122072012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12208
12209 [BZ #13743]
12210 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12211 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12212 (sysdep_headers): Include sys/platform/ppc.h.
12213 * sysdeps/powerpc/test-gettimebase.c: Test for
12214 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12215 * manual/Makefile (appendices): Include platform.texi.
12216 * manual/contrib.texi (Contributors): Update @node pointers.
12217 * manual/maint.texi (Maintenance): Likewise.
12218 (Platform): New node.
12219 * manual/platform.texi: New file. Document the new features.
12220
4af3879c
SP
122212012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12222 Jakub Jelinek <jakub@redhat.com>
12223
12224 [BZ #14188]
12225 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12226 where __builtin_expect is unavailable.
12227
2fd6ff13
DM
122282012-06-03 David S. Miller <davem@davemloft.net>
12229
12230 * stdlib/longlong.h: Updated from GCC.
12231
173f7220
AS
122322012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12233
12234 [BZ #14042]
12235 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12236 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12237 __mcount_internal.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12239 (GLIBC_2.16): Likewise.
12240
f34a1c6f
L
122412012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12242
12243 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12244
88a4576f
JM
122452012-06-01 Joseph Myers <joseph@codesourcery.com>
12246
ea32bcdd
JM
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12248 (default-abi): New variable.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12250 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12251 variable.
12252 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12253 Likewise.
12254 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12255 Likewise.
12256 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12257 Likewise.
12258
88a4576f
JM
12259 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12260 definition. Document in comment.
12261
402fe938
DM
122622012-06-01 David S. Miller <davem@davemloft.net>
12263
12264 * stdlib/longlong.h: Updated from GCC.
12265
3553723f
L
122662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 [BZ #14117]
3bd872c4
L
12269 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12270 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12271 sys/debugreg.h sys/io.h here.
12272 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12273 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12274 sys/io.h.
12275 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12276 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12277 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12278 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12279 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12280 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12281
3553723f
L
12282 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12283 Define only if __x86_64__ is defined.
12284
4842e4fe
JM
122852012-06-01 Joseph Myers <joseph@codesourcery.com>
12286
c5bfe3d5
JM
12287 [BZ #14048]
12288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12289 Use int64_t for variable i.
12290 * math/libm-test.inc (fmod_test): Add more tests.
12291
4842e4fe
JM
12292 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12293 z computation is not scheduled after fetestexcept.
12294 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12295 Use math_force_eval instead of asm to ensure calculation scheduled
12296 before exception test.
12297 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12298 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12299
efb73488
AJ
123002012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12301
12302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12303 computation is not scheduled after fetestexcept.
12304
29bcce7c
L
123052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12306
12307 [BZ #14117]
12308 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12309 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12310
73a68f94
AZ
123112012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12312
12313 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12314 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12315
67b6df78
L
123162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12317
edf2933a 12318 [BZ #14117]
ebc64a18
L
12319 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12320 <bits/wordsize.h>.
12321 (__WCHAR_MIN): Support __WORDSIZE == 64.
12322 (__WCHAR_MAX): Likewise.
12323
edf2933a
L
12324 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12325 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12326
57c6cf40
L
12327 [BZ #14183]
12328 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12329 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12330
67b6df78 12331 [BZ #14117]
8eb6281e
L
12332 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12333 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12334
aac639f4
L
12335 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12336 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12337
67b6df78
L
12338 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12339 Defined to 1 if __x86_64__ isn't defined.
12340 (_STAT_VER_LINUX_OLD): New.
12341 (st_atime): Remove duplicate.
12342 (st_mtime): Likewise.
12343 (st_ctime): Likewise.
12344
1c2cfe81
DM
123452012-05-31 David S. Miller <davem@davemloft.net>
12346
12347 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12348 entries.
12349
5be8418c
AS
123502012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12351
e7725326
AS
12352 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12353 gen-libm-test.pl.
12354
5be8418c
AS
12355 [BZ #14132]
12356 * elf/dl-reloc.c: Include <_itoa.h>.
12357 (_dl_reloc_bad_type): Remove use of INTUSE.
12358 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12359 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12360 * stdio-common/psiginfo.c (psiginfo): Likewise.
12361 * stdio-common/psignal.c (psignal): Likewise.
12362 * string/strsignal.c (strsignal): Likewise.
12363 * include/signal.h (_sys_siglist): Declare hidden proto.
12364 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12365 INTVARDEF with libc_hidden_data_def.
12366 * stdio-common/itoa-udigits.c: Likewise.
12367 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12368 (_itoa_lower_digits_internal): Remove declaration.
12369 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12370 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12371 (_sys_sigabbrev_internal): Remove aliases.
12372 (_sys_siglist): Define hidden alias.
12373
507352f1
MT
123742012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12375
12376 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12377 bits/sysctl.h.
12378
42bbb1c3
L
123792012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12380
12381 [BZ #14117]
6bd784b6
L
12382 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12383 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12384
8bca20f0
L
12385 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12386 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12387 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12388 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12389 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12390 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12391
f9e890a9
L
12392 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12394 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12395
471101a1
L
12396 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12397 with __addr.
12398 (insw): Likewise.
12399 (insl): Likewise.
12400 (outsb): Likewise.
12401 (outsw): Likewise.
12402 (outsl): Likewise.
12403
6451c862
L
12404 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12405 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12406 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12407
a254b8c9
L
12408 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12409 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12411 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12412 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12413 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12414
b8dfdd92
L
12415 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12416 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12417
578cd270
L
12418 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12419 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12420
de662f5f
L
12421 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12422 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12423 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12424
25653439
L
12425 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12426 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12427 to ...
12428 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12429
6bad24a0
L
12430 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12431 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12432 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12433
42bbb1c3
L
12434 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12435 for x86-64.
12436 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12437
2d10d547
JM
124382012-05-31 Joseph Myers <joseph@codesourcery.com>
12439
12440 * math/math.h (M_El): Use two more decimal places.
12441 (M_LOG2El): Likewise.
12442 (M_LOG10El): Likewise.
12443 (M_LN2l): Likewise.
12444 (M_LN10l): Likewise.
12445 (M_PIl): Likewise.
12446 (M_PI_2l): Likewise.
12447 (M_PI_4l): Likewise.
12448 (M_1_PIl): Likewise.
12449 (M_2_PIl): Likewise.
12450 (M_2_SQRTPIl): Likewise.
12451 (M_SQRT2l): Likewise.
12452 (M_SQRT1_2l): Likewise.
12453
f230c29b
DM
124542012-05-31 David S. Miller <davem@davemloft.net>
12455
12456 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12457 values between float registers.
12458 * sysdeps/sparc/sparc64/memset.S: Likewise.
12459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12460
fed806c3
MF
124612012-05-31 Mike Frysinger <vapier@gentoo.org>
12462
12463 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12464 -D_FORTIFY_SOURCE=1.
12465 (CPPFLAGS-tst-longjmp_chk.c): Define.
12466 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12467 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12468 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12469 CFLAGS-tst-wchar-h.c.
12470
30917259
MP
124712012-05-31 Marek Polacek <polacek@redhat.com>
12472
12473 [BZ #14132]
12474 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12475 __endmntent_internal): Remove declaration.
12476 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12477 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12478 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12479
1c58d5dc
DM
124802012-05-30 David S. Miller <davem@davemloft.net>
12481
12482 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12483 (___Q_simulate_exceptions): Use real FP ops rather than writing
12484 into the %fsr.
12485 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12486 Likewise.
12487
7dc00e0d
L
124882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 [BZ #14117]
0bd53985
L
12491 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12492 * sysdeps/x86/bits/xtitypes.h: This.
12493
3a257e66
L
12494 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12495 * sysdeps/x86/bits/wordsize.h: This.
12496
62f62904
L
12497 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12498 * sysdeps/x86/bits/huge_vall.h: This.
12499
404fe9d9
L
12500 * sysdeps/i386/bits/select.h: Removed.
12501 * sysdeps/x86_64/bits/select.h: Renamed to ...
12502 * sysdeps/x86/bits/select.h: This.
12503
d48d0446
L
12504 * sysdeps/i386/bits/setjmp.h: Removed.
12505 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12506 * sysdeps/x86/bits/setjmp.h: This.
12507
7dc00e0d
L
12508 * sysdeps/i386/bits/mathdef.h: Removed.
12509 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12510 * sysdeps/x86/bits/mathdef.h: This.
12511
03277f8f
AS
125122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12513
12514 [BZ #14132]
12515 * include/sys/socket.h (__connect_internal)
12516 (__libc_sa_len_internal): Remove declaration.
12517 (__connect, __libc_sa_len): Declare hidden_proto.
12518 (SA_LEN): Remove use of INTUSE.
12519 * socket/connect.c: Add libc_hidden_def.
12520 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12521 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12522 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12523 alias.
12524 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12525 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12526 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12527 of adding _internal alias.
12528
13764867
L
125292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12530
12531 [BZ #14117]
6bd97696
L
12532 * sysdeps/i386/bits/link.h: Removed.
12533 * sysdeps/i386/bits/linkmap.h: Likewise.
12534 * sysdeps/x86_64/bits/link.h: Renamed to ...
12535 * sysdeps/x86/bits/link.h: This.
12536 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12537 * sysdeps/x86/bits/linkmap.h: This.
12538
f726f0bb
L
12539 * sysdeps/i386/bits/endian.h: Removed.
12540 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12541 * sysdeps/x86/bits/endian.h: This.
12542
13764867
L
12543 * sysdeps/i386/bits/byteswap.h: Removed.
12544 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12545 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12546 * sysdeps/x86/bits/byteswap.h: This.
12547 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12548 * sysdeps/x86/bits/byteswap-16.h: This.
12549 * sysdeps/i386/Implies: Add x86.
12550 * sysdeps/x86_64/Implies: Likewise.
12551
ae251b0b
DM
125522012-05-30 David S. Miller <davem@davemloft.net>
12553
12554 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12555 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12556 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12557 (FP_TRAPPING_EXCEPTIONS): Define.
12558 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12559 (FP_TRAPPING_EXCEPTIONS): Define.
12560 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12561 subnormals only when inexact has been signalled or underflow
12562 exceptions are enabled.
12563 (_FP_PACK_CANONICAL): Likewise.
12564
d5c90867
L
125652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12566
12567 [BZ #14183]
12568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12569 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12570
63f1549e
RH
125712012-05-30 Richard Henderson <rth@twiddle.net>
12572
8d8f2279
RH
12573 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12574 with #ifndef NOT_IN_libc.
12575
63f1549e
RH
12576 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12577 marked to avoid plt entry.
12578
0ab0291b
L
125792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12580
12581 [BZ #14112]
12582 * Makeconfig (default-abi): New macro.
12583 (abi-includes): Likewise.
12584 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12585 $(abi-$(default-abi)-lib-soname) for soname if defined.
12586 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12587 abi-variants.
12588 * Makefile (installed-stubs): Likewise.
12589 * include/stubs-biarch.h: Removed.
12590 * scripts/lib-names.awk: Only handle one library at a time.
12591 * scripts/soversions.awk: Remove WORDSIZE support.
12592 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12593 entries.
12594 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12595 Removed.
12596 (syscall-list-default-condition): Likewise.
12597 (syscall-list-default-condition): Likewise.
12598 (syscall-list-includes): Likewise.
12599 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12600 syscall-list-* with abi-*. Handle undefined abi-variants.
12601 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12602 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12603 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12604 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12605 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12606 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12607 Removed.
12608 (syscall-list-32-options): Likewise.
12609 (syscall-list-32-condition): Likewise.
12610 (syscall-list-64-options): Likewise.
12611 (syscall-list-64-condition): Likewise.
12612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12613 macro.
12614 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12615 Renamed to ...
12616 (abi-*): This.
12617 (abi-64-ld-soname): New macro.
12618 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12619 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12620 Renamed to ...
12621 (abi-*): This.
12622 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12623 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12624
4da0431d
JM
126252012-05-30 Joseph Myers <joseph@codesourcery.com>
12626
3a85279c
JM
12627 * sysdeps/unix/sysv/linux/kernel-features.h
12628 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12629 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12630 include <kernel-features.h>.
12631 [!__NR_ftruncate64]: Remove conditional code.
12632 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12633 [__NR_ftruncate64]: Make code unconditional.
12634 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12635 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12636 include <kernel-features.h>.
12637 [!__NR_ftruncate64]: Remove conditional code.
12638 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12639 [__NR_ftruncate64]: Make code unconditional.
12640 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12642 include <kernel-features.h>.
12643 [!__NR_ftruncate64]: Remove conditional code.
12644 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12645 [__NR_ftruncate64]: Make code unconditional.
12646 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12648 include <kernel-features.h>.
12649 [!__NR_ftruncate64]: Remove conditional code.
12650 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12651 [__NR_ftruncate64]: Make code unconditional.
12652 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12653
4da0431d
JM
12654 * configure.in (libc_cv_fpie): Weaken to a compile test using
12655 LIBC_TRY_CC_OPTION.
12656 * configure: Regenerated.
12657
11ef492c
AK
126582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12659
12660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12664 Refreshed.
12665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12671 Refreshed.
12672
d66ef399
DM
126732012-05-27 David S. Miller <davem@davemloft.net>
12674
12675 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12676 (___Q_zero): New.
12677 (__Q_simulate_exceptions): Return void. Change to simulate
12678 exceptions by writing into the %fsr.
12679 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12680 (__Qp_handle_exceptions): Likewise.
12681 (numbers): Delete.
12682 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12683 __Qp_handle_exceptions.
12684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12685 __Qp_handle_exceptions.
12686 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12687 as unused and give dummy FP_RND_NEAREST initializer.
12688 (FP_INHIBIT_RESULTS): Define.
12689 (___Q_simulate_exceptions): Update declaration.
12690 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12691 formatting.
12692 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12693 as unused and give dummy FP_RND_NEAREST initializer.
12694 (__Qp_handle_exceptions): Update declaration.
12695 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12696 formatting.
12697
04fb54b5
TS
126982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12699
12700 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12701 the temporary FPU control word.
12702 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12703 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12704 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12705 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12706 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12707 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12708 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12709 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12710 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12711 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12712 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12713
3f99608f
KK
127142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12715
12716 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12717 fields.
12718
65a4de4e
CLT
127192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12720
12721 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12722 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12723 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12724 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12725 Likewise.
12726 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12727 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12728 Likewise.
12729
15749d40
UD
127302012-05-27 Ulrich Drepper <drepper@gmail.com>
12731
12732 * po/h.po: Update from translation team.
12733
25dbcb27
AS
127342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12735
3d3f8e55
AS
12736 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12737
25dbcb27
AS
12738 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12739 handling of denormals.
12740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12741 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12742 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12743 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12745 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12747 Likewise.
12748
7ad47a80 127492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12750
12751 [BZ #14152]
12752 * math/libm-test.inc (fma_test): Don't always expect underflow
12753 exception.
12754
9c6ea9fa
SP
127552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12756
12757 [BZ #12416]
12758 * elf/tst-execstack.c: Include stackinfo.h.
12759 (do_test): Adjust test case to ensure that pthread_getattr_np
12760 behaviour remains the same after marking stack executable.
12761
a8239222
JM
127622012-05-25 Joseph Myers <joseph@codesourcery.com>
12763
12764 * sysdeps/unix/sysv/linux/kernel-features.h
12765 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12766 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12767 kernel-features.h.
12768 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12769 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12770 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12771 kernel-features.h.
12772 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12773 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12774
918b5606
L
127752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12776
12777 * configure.in: Define the default includes to being none.
12778 * configure: Regenerated.
12779
3a097cc7
RM
127802012-05-25 Roland McGrath <roland@hack.frob.com>
12781
8422c9a5
RM
12782 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12783 * sysdeps/x86_64/setjmp.S: Likewise.
12784 * sysdeps/i386/bsd-setjmp.S: Likewise.
12785 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12786 * sysdeps/i386/setjmp.S: Likewise.
12787 * sysdeps/i386/__longjmp.S: Likewise.
12788 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12789 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12790
3a097cc7
RM
12791 * include/stap-probe.h: New file.
12792 * configure.in: Handle --enable-systemtap.
12793 * configure: Regenerated.
12794 * config.h.in (USE_STAP_PROBE): New #undef.
12795 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12796 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12797 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12798
21708942
JM
127992012-05-25 Joseph Myers <joseph@codesourcery.com>
12800
12801 [BZ #13717]
12802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12803 to 2.4.0 where earlier.
12804 * sysdeps/unix/sysv/linux/configure: Regenerated.
12805 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12806 <kernel-features.h>.
12807 [__ASSUME_32BITUIDS]: Make code unconditional.
12808 [!__ASSUME_32BITUIDS]: Remove conditional code.
12809 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12810 <kernel-features.h>.
12811 [__ASSUME_32BITUIDS]: Make code unconditional.
12812 [!__ASSUME_32BITUIDS]: Remove conditional code.
12813 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12814 [__ASSUME_32BITUIDS]: Make code unconditional.
12815 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12816 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/i386/getgroups.c: Do not include
12829 <kernel-features.h>.
12830 [__ASSUME_32BITUIDS]: Make code unconditional.
12831 [!__ASSUME_32BITUIDS]: Remove conditional code.
12832 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12833 <kernel-features.h>.
12834 [__ASSUME_32BITUIDS]: Make code unconditional.
12835 [!__ASSUME_32BITUIDS]: Remove conditional code.
12836 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12837 <kernel-features.h>.
12838 [__ASSUME_32BITUIDS]: Make code unconditional.
12839 [!__ASSUME_32BITUIDS]: Remove conditional code.
12840 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12841 <kernel-features.h>.
12842 [__ASSUME_32BITUIDS]: Make code unconditional.
12843 [!__ASSUME_32BITUIDS]: Remove conditional code.
12844 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12845 <kernel-features.h>.
12846 [__ASSUME_32BITUIDS]: Make code unconditional.
12847 [!__ASSUME_32BITUIDS]: Remove conditional code.
12848 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12849 <kernel-features.h>.
12850 [__ASSUME_32BITUIDS]: Make code unconditional.
12851 [!__ASSUME_32BITUIDS]: Remove conditional code.
12852 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12853 <kernel-features.h>.
12854 [__ASSUME_32BITUIDS]: Make code unconditional.
12855 [!__ASSUME_32BITUIDS]: Remove conditional code.
12856 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12857 <kernel-features.h>.
12858 [__NR_setresgid] (__setresgid): Do not declare.
12859 [__ASSUME_32BITUIDS]: Make code unconditional.
12860 [!__ASSUME_32BITUIDS]: Remove conditional code.
12861 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12862 <kernel-features.h>.
12863 [__NR_setresuid] (__setresuid): Do not declare.
12864 [__ASSUME_32BITUIDS]: Make code unconditional.
12865 [!__ASSUME_32BITUIDS]: Remove conditional code.
12866 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12867 <kernel-features.h>.
12868 [__ASSUME_32BITUIDS]: Make code unconditional.
12869 [!__ASSUME_32BITUIDS]: Remove conditional code.
12870 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12871 <kernel-features.h>.
12872 [__ASSUME_32BITUIDS]: Make code unconditional.
12873 [!__ASSUME_32BITUIDS]: Remove conditional code.
12874 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12875 <kernel-features.h>.
12876 [__ASSUME_32BITUIDS]: Make code unconditional.
12877 [!__ASSUME_32BITUIDS]: Remove conditional code.
12878 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12879 <kernel-features.h>.
12880 [__ASSUME_32BITUIDS]: Make code unconditional.
12881 [!__ASSUME_32BITUIDS]: Remove conditional code.
12882 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12883 <kernel-features.h>.
12884 [__ASSUME_32BITUIDS]: Make code unconditional.
12885 [!__ASSUME_32BITUIDS]: Remove conditional code.
12886 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12887 <kernel-features.h>.
12888 [__ASSUME_32BITUIDS]: Make code unconditional.
12889 [!__ASSUME_32BITUIDS]: Remove conditional code.
12890 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12891 <kernel-features.h>.
12892 [__ASSUME_32BITUIDS]: Make code unconditional.
12893 [!__ASSUME_32BITUIDS]: Remove conditional code.
12894 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12895 <kernel-features.h>.
12896 [__ASSUME_32BITUIDS]: Make code unconditional.
12897 [!__ASSUME_32BITUIDS]: Remove conditional code.
12898 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12899 <kernel-features.h>.
12900 [__ASSUME_32BITUIDS]: Make code unconditional.
12901 [!__ASSUME_32BITUIDS]: Remove conditional code.
12902 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12903 <kernel-features.h>.
12904 [__ASSUME_32BITUIDS]: Make code unconditional.
12905 [!__ASSUME_32BITUIDS]: Remove conditional code.
12906 * sysdeps/unix/sysv/linux/kernel-features.h
12907 (__ASSUME_SETRESUID_SYSCALL): Remove.
12908 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12909 (__ASSUME_32BITUIDS): Likewise.
12910 (__ASSUME_LDT_WORKS): Likewise.
12911 (__ASSUME_O_DIRECTORY): Likewise.
12912 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12913 architecture but not kernel version.
12914 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12915 (__ASSUME_MMAP2_SYSCALL): Likewise.
12916 (__ASSUME_STAT64_SYSCALL): Likewise.
12917 (__ASSUME_IPC64): Likewise.
12918 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12919 <kernel-features.h>.
12920 [__ASSUME_32BITUIDS]: Make code unconditional.
12921 [!__ASSUME_32BITUIDS]: Remove conditional code.
12922 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12923 <kernel-features.h>.
12924 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12925 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12926 132096]: Remove conditional code.
12927 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12928 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12929 <kernel-features.h>.
12930 [__ASSUME_32BITUIDS]: Make code unconditional.
12931 [!__ASSUME_32BITUIDS]: Remove conditional code.
12932 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12933 <kernel-features.h>.
12934 [__ASSUME_32BITUIDS]: Make code unconditional.
12935 [!__ASSUME_32BITUIDS]: Remove conditional code.
12936 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12937 <kernel-features.h>.
12938 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12939 unconditional.
12940 (__setresgid): Do not declare.
12941 [__ASSUME_32BITUIDS]: Make code unconditional.
12942 [!__ASSUME_32BITUIDS]: Remove conditional code.
12943 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12944 <kernel-features.h>.
12945 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12946 unconditional.
12947 (__setresuid): Do not declare.
12948 [__ASSUME_32BITUIDS]: Make code unconditional.
12949 [!__ASSUME_32BITUIDS]: Remove conditional code.
12950 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12951 <kernel-features.h>.
12952 [__ASSUME_32BITUIDS]: Make code unconditional.
12953 [!__ASSUME_32BITUIDS]: Remove conditional code.
12954 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12955 <kernel-features.h>.
12956 [__ASSUME_32BITUIDS]: Make code unconditional.
12957 [!__ASSUME_32BITUIDS]: Remove conditional code.
12958
a386f1cc
RH
129592012-05-25 Richard Henderson <rth@twiddle.net>
12960
12961 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12962 dl_hwcap to ifunc resolver.
12963 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12964 elf_ifunc_invoke.
12965 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12966 dl_hwcap to ifunc resolver.
12967 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12968
b6550497
JM
129692012-05-24 Joseph Myers <joseph@codesourcery.com>
12970
12971 [BZ #14153]
12972 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12973 for |x| <= 2**-26, not 2**-57.
12974 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12975 exception.
12976
b0bc23a1
JL
129772012-05-24 Jeff Law <law@redhat.com>
12978
12979 * stdio-common/Makefile (tests): Add bug25.
12980 * stdio-common/bug25.c: New test.
12981
347c92e9
L
129822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12983
12984 [BZ #13576]
12985 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12986 multiple of MALLOC_ALIGNMENT in size.
12987 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12988
6bcc8b3f
JM
129892012-05-24 Joseph Myers <joseph@codesourcery.com>
12990
12991 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12992 Require >= 256.
12993 (FILENAME_MAX): Use macro-int-constant.
12994 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12995 (_IOFBF): Use macro-int-constant.
12996 (_IOLBF): Likewise.
12997 (_IONBF): Likewise.
12998 (SEEK_CUR): Likewise.
12999 (SEEK_END): Likewise.
13000 (SEEK_SET): Likewise.
13001 (TMP_MAX): Likewise.
13002 (EOF): Use macro-int-constant. Require < 0.
13003 (NULL): Use macro-constant. Require == 0.
13004 (stdin): Require type to be FILE *.
13005 (stdout): Likewise.
13006 (stderr): Likewise.
13007 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13008 macro-int-constant.
13009 (EXIT_SUCCESS): Likewise.
13010 (NULL): Use macro-constant. Require == 0.
13011 (RAND_MAX): Use macro-int-constant.
13012 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13013 [C99-based standards] (strtof): Require function.
13014 [C99-based standards] (strtold): Likewise.
13015 [C99-based standards] (strtoll): Likewise.
13016 [C99-based standards] (strtoull): Likewise.
13017 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13018 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13019 [ISO || ISO99 || ISO11] (math.h): Likewise.
13020 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13021 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13023
d18ea0c5
AS
130242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13025
13026 [BZ #14132]
56d25bb8
AS
13027 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13028 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13029 * intl/dgettext.c (DCGETTEXT): Likewise.
13030 * intl/gettext.c (DCGETTEXT): Likewise.
13031 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13032 * posix/regex_internal.h (gettext): Likewise.
13033 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13034 Remove declaration.
13035 * include/argz.h (__argz_count_internal)
13036 (__argz_stringify_internal): Remove declaration.
13037 (__argz_count, __argz_stringify): Declare hidden proto.
13038 * intl/dcgettext.c: Remove use of INTDEF.
13039 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13040 * string/argz-stringify.c: Likewise.
13041 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13042 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13043 Declare hidden proto.
d18ea0c5
AS
13044 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13045 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13046 Declare hidden proto.
13047 * include/stdio.h (__asprintf_internal): Don't declare.
13048 (__asprintf): Don't define as macro. Declare hidden proto.
13049 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13050 (__fsetlocking): Declare hidden proto.
13051 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13052 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13053 hidden proto.
13054 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13055 (_IO_setlinebuf): Remove use of INTUSE.
13056 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13057 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13058 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13059 Remove declaration.
13060 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13061 (_IO_do_flush): Remove use of INTUSE.
13062 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13063 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13064 (_IO_adjust_column, _IO_least_wmarker)
13065 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13066 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13067 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13068 (_IO_default_doallocate, _IO_wdefault_doallocate)
13069 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13070 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13071 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13072 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13073 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13074 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13075 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13076 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13077 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13078 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13079 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13080 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13081 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13082 proto.
13083 (_IO_flush_all_internal, _IO_adjust_column_internal)
13084 (_IO_default_uflow_internal, _IO_default_finish_internal)
13085 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13086 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13087 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13088 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13089 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13090 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13091 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13092 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13093 (_IO_file_close_internal, _IO_file_close_it_internal)
13094 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13095 (_IO_file_init_internal, _IO_file_attach_internal)
13096 (_IO_file_fopen_internal, _IO_file_read_internal)
13097 (_IO_file_sync_internal, _IO_file_seek_internal)
13098 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13099 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13100 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13101 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13102 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13103 (_IO_list_all_internal, _IO_link_in_internal)
13104 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13105 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13106 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13107 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13108 (_IO_do_write_internal, _IO_padn_internal)
13109 (_IO_getline_info_internal, _IO_getline_internal)
13110 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13111 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13112 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13113 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13114 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13115 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13116 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13117 with libc_hidden_ver, remove use of INTUSE.
13118 * libio/genops.c: Likewise.
13119 * libio/freopen.c: Likewise.
13120 * libio/freopen64.c: Likewise.
13121 * libio/iofclose.c: Likewise.
13122 * libio/iofdopen.c: Likewise.
13123 * libio/iofflush.c: Likewise.
13124 * libio/iofflush_u.c: Likewise.
13125 * libio/iofgets.c: Likewise.
13126 * libio/iofgets_u.c: Likewise.
13127 * libio/iofopen.c: Likewise.
13128 * libio/iofopncook.c: Likewise.
13129 * libio/iofread.c: Likewise.
13130 * libio/iofread_u.c: Likewise.
13131 * libio/ioftell.c: Likewise.
13132 * libio/iofwrite.c: Likewise.
13133 * libio/iogetline.c: Likewise.
13134 * libio/iogets.c: Likewise.
13135 * libio/iogetwline.c: Likewise.
13136 * libio/iopadn.c: Likewise.
13137 * libio/iopopen.c: Likewise.
13138 * libio/ioseekoff.c: Likewise.
13139 * libio/ioseekpos.c: Likewise.
13140 * libio/iosetbuffer.c: Likewise.
13141 * libio/iosetvbuf.c: Likewise.
13142 * libio/ioungetc.c: Likewise.
13143 * libio/ioungetwc.c: Likewise.
13144 * libio/iovdprintf.c: Likewise.
13145 * libio/iovsprintf.c: Likewise.
13146 * libio/iovsscanf.c: Likewise.
13147 * libio/memstream.c: Likewise.
13148 * libio/obprintf.c: Likewise.
13149 * libio/oldfileops.c: Likewise.
13150 * libio/oldiofclose.c: Likewise.
13151 * libio/oldiofdopen.c: Likewise.
13152 * libio/oldiofopen.c: Likewise.
13153 * libio/oldiopopen.c: Likewise.
13154 * libio/oldstdfiles.c: Likewise.
13155 * libio/putc.c: Likewise.
13156 * libio/setbuf.c: Likewise.
13157 * libio/setlinebuf.c: Likewise.
13158 * libio/stdfiles.c: Likewise.
13159 * libio/strops.c: Likewise.
13160 * libio/vasprintf.c: Likewise.
13161 * libio/vscanf.c: Likewise.
13162 * libio/vsnprintf.c: Likewise.
13163 * libio/vswprintf.c: Likewise.
13164 * libio/wfiledoalloc.c: Likewise.
13165 * libio/wfileops.c: Likewise.
13166 * libio/wgenops.c: Likewise.
13167 * libio/wmemstream.c: Likewise.
13168 * libio/wstrops.c: Likewise.
13169 * libio/__fpurge.c: Likewise.
13170 * libio/__fsetlocking.c: Likewise.
13171 * assert/assert.c: Likewise.
13172 * debug/fgets_chk.c: Likewise.
13173 * debug/fgets_u_chk.c: Likewise.
13174 * debug/fread_chk.c: Likewise.
13175 * debug/fread_u_chk.c: Likewise.
13176 * debug/gets_chk.c: Likewise.
13177 * debug/obprintf_chk.c: Likewise.
13178 * debug/vasprintf_chk.c: Likewise.
13179 * debug/vdprintf_chk.c: Likewise.
13180 * debug/vsnprintf_chk.c: Likewise.
13181 * debug/vsprintf_chk.c: Likewise.
13182 * malloc/mtrace.c: Likewise.
13183 * misc/error.c: Likewise.
13184 * misc/syslog.c: Likewise.
13185 * stdio-common/asprintf.c: Likewise.
13186 * stdio-common/fxprintf.c: Likewise.
13187 * stdio-common/getw.c: Likewise.
13188 * stdio-common/isoc99_fscanf.c: Likewise.
13189 * stdio-common/isoc99_scanf.c: Likewise.
13190 * stdio-common/isoc99_vfscanf.c: Likewise.
13191 * stdio-common/isoc99_vscanf.c: Likewise.
13192 * stdio-common/isoc99_vsscanf.c: Likewise.
13193 * stdio-common/printf-prs.c: Likewise.
13194 * stdio-common/printf_fp.c: Likewise.
13195 * stdio-common/printf_fphex.c: Likewise.
13196 * stdio-common/printf_size.c: Likewise.
13197 * stdio-common/putw.c: Likewise.
13198 * stdio-common/scanf.c: Likewise.
13199 * stdio-common/sprintf.c: Likewise.
13200 * stdio-common/tmpfile.c: Likewise.
13201 * stdio-common/vfprintf.c: Likewise.
13202 * stdio-common/vfscanf.c: Likewise.
13203 * stdlib/strfmon_l.c: Likewise.
13204 * sunrpc/openchild.c: Likewise.
13205 * sunrpc/xdr_stdio.c: Likewise.
13206 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13207 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13208
d6c33fda
RM
132092012-05-24 Roland McGrath <roland@hack.frob.com>
13210
c1487492
RM
13211 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13212
13213 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13214 in the third column, to generate for the shared library an IFUNC
13215 that uses _dl_vdso_vsym.
13216 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13217 * Makeconfig (object-suffixes-noshared): New variable.
13218
13219 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13220 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13221 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13222 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13223
d6c33fda
RM
13224 [BZ #14132]
13225 * include/sys/time.h (__gettimeofday): Remove macro.
13226 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13227 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13228 Remove INTDEF.
13229 (__gettimeofday): Add libc_hidden_def.
13230 (gettimeofday): Add libc_hidden_weak.
13231 * sysdeps/mach/gettimeofday.c: Likewise.
13232 * sysdeps/posix/gettimeofday.c: Likewise.
13233 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13234 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13235 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13236 (__gettimeofday_internal): Remove strong_alias.
13237 (__gettimeofday): Add libc_hidden_def.
13238 (gettimeofday): Add libc_hidden_weak.
13239 * sysdeps/unix/syscalls.list (gettimeofday):
13240 Remove __gettimeofday_internal alias.
13241
b5a2bbe6
L
132422012-05-24 Daniel Jacobowitz <drow@false.org>
13243 H.J. Lu <hongjiu.lu@intel.com>
13244
13245 [BZ #12495]
13246 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13247 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13248 (largebin_index_32_big): New.
13249 (largebin_index): Use it for 16-byte alignment.
13250 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13251 correction with front_misalign.
13252
cfba4fda
L
132532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13254
7f907421
L
13255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13257 Likewise.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13259 Likewise.
13260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13261 Likewise.
13262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13263 Likewise.
13264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13265 Likewise.
13266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13267 Likewise.
13268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13269 Likewise.
13270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13271 Likewise.
13272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13273 Likewise.
13274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13275 Likewise.
13276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13277 Likewise.
13278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13279 Likewise.
13280
cfba4fda
L
13281 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13282 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13283
80bad0cc
JM
132842012-05-24 Joseph Myers <joseph@codesourcery.com>
13285
7a25eb06
JM
13286 [BZ #10846]
13287 [BZ #14036]
13288 * math/libm-test.inc (exp_test): Add test from bug 14036.
13289 (pow_test): Add test from bug 10846.
13290
795405f9
JM
13291 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13292 and other flags.
13293 (special_function): Do not include flags in test name.
13294 (parse_args): Likewise.
13295 * sysdeps/i386/fpu/libm-test-ulps: Update.
13296 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13297 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13298 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13300
80bad0cc
JM
13301 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13302 exceptions.
13303 * math/libm-test.inc ("Philosophy"): Update comment about
13304 exception testing.
13305 (UNDERFLOW_EXCEPTION): New macro.
13306 (UNDERFLOW_EXCEPTION_OK): Likewise.
13307 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13308 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13309 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13310 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13311 (INVALID_EXCEPTION_OK): Update value.
13312 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13313 (OVERFLOW_EXCEPTION_OK): Likewise.
13314 (IGNORE_ZERO_INF_SIGN): Likewise.
13315 (test_exceptions): Handle underflow exceptions.
13316 (acos_test): Update for underflow exception expectations.
13317 (cexp_test): Likewise.
13318 (clog_test): Likewise.
13319 (clog10_test): Likewise.
13320 (csqrt_test): Likewise.
13321 (ctan_test): Likewise.
13322 (ctanh_test): Likewise.
13323 (exp_test): Likewise.
13324 (exp10_test): Likewise.
13325 (exp2_test): Likewise.
13326 (expm1_test): Likewise.
13327 (fma_test): Likewise.
13328 (j0_test): Likewise.
13329 (jn_test): Likewise.
13330 (nexttoward_test): Likewise.
13331 (pow_test): Likewise.
13332 (scalbn_test): Likewise.
13333 (scalbln_test): Likewise.
13334 (tan_test): Likewise.
13335 (y1_test): Likewise.
13336 * sysdeps/i386/fpu/libm-test-ulps: Update.
13337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13338
9e0e3d0b
DM
133392012-05-23 David S. Miller <davem@davemloft.net>
13340
13341 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13342 (__libc_sigaction): Remove unused local variables.
13343
ccd0a08f
L
133442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13345
13346 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13347
62bdf9a6
PE
133482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13349
f8591f80
PE
13350 mktime: avoid signed integer overflow
13351 * time/mktime.c (__mktime_internal): Do not mishandle the case
13352 where diff == INT_MIN.
13353
94c7d826
PE
13354 mktime: simplify computation of average
13355 * time/mktime.c (ranged_convert): Use new time_t_avg function
13356 instead of rolling our own (probably-slower) code.
13357
ce73d683
PE
13358 mktime: do not assume signed right shift propagates sign bit
13359 * time/mktime.c (isdst_differ): New static function.
13360 (__mktime_internal): No need to normalize tm_isdst now.
13361 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13362 tm_isdst values.
13363
72a22e59
PE
13364 mktime: merge another wrapv change from gnulib
13365 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13366 from some compilers.
13367
68605433
PE
13368 mktime: remove incorrect attempt at unusual arithmetics
13369 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13370 The code didn't really work on such machines anyway.
13371 (TYPE_MINIMUM): Assume two's complement.
13372 (twos_complement_arithmetic): Verify that long_int and time_t
13373 are two's complement (or unsigned, in the latter case).
13374
03cf7fe3
PE
13375 mktime: check signed shifts on long_int and time_t, too
13376 * time/mktime.c (SHR): Check that shifts work as desired
13377 on the types long_int and time_t too, as SHR is used on
13378 such types.
13379
f04dfbc2
PE
13380 mktime: do not assume 'long' is wide enough
13381 * time/mktime.c (verify): Move decl up.
13382 (long_int): New type.
13383 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13384 to remove assumption in the code that 'long' is wide enough to
13385 store year values. This assumption is not true on x32 and on
13386 some non-glibc platforms.
13387
62bdf9a6
PE
13388 mktime: merge wrapv change from gnulib
13389 * time/mktime.c (WRAPV): New macro.
13390 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13391 (guess_time_tm, __mktime_internal): Do not assume that signed
13392 integer overflow wraps around; modern compilers generate code
13393 where this assumption is no longer valid.
13394
5e292e4f
L
133952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13396
13397 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13398 Replace "jmp L(pseudo_end)" with "ret".
13399 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13400 Likewise.
13401
8caf8c87
AJ
134022012-05-23 Andreas Jaeger <aj@suse.de>
13403
13404 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13405 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13406
1a09dc56
AJ
134072012-05-23 Andreas Jaeger <aj@suse.de>
13408 Maximilian Attems <max@stro.at>
13409
13410 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13411 New macros.
13412
1c87aba0
L
134132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13416 code so that pseudo_end is just ret and the stack pointer is
13417 correct also for static library in error case.
13418
40e45bd5
JM
134192012-05-23 Joseph Myers <joseph@codesourcery.com>
13420
c2670533
JM
13421 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13422 move to syscalls.list.
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13427
40e45bd5
JM
13428 * manual/install.texi (Running make install): Do not mention Linux
13429 kernel version for which pt_chown is not needed.
13430 (Linux): Do not mention problems with nscd with 2.0 kernels.
13431 * INSTALL: Regenerated.
13432
be08eda5
AJ
134332012-05-23 Andreas Jaeger <aj@suse.de>
13434
13435 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13436 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13437 macro.
13438 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13439 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13440 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13441 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13442 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13443 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13444 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13445 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13446 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13447 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13448 * sysdeps/unix/sysv/linux/bits/in.h
13449 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13450
a6a056bb
RM
134512012-05-22 Roland McGrath <roland@hack.frob.com>
13452
13453 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13454 (PREPARE_VERSION): Just use assert instead, it will be elided
13455 under [NDEBUG] anyway.
13456
c9009328
L
134572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * sysdeps/unix/sysv/linux/Makefile: Include
13460 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13461 (sysdep_routines): Remove sysctl.
c9009328
L
13462 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13463 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13464 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13465 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13466 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13467
73338355
AJ
134682012-05-22 Andreas Jaeger <aj@suse.de>
13469
13470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13471 that pseudo_end is just ret and the stack pointer is correct also
13472 for static library in error case.
13473
d44638b0
PP
134742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13475
13476 [BZ #14122]
13477 * nss/nsswitch.c (defconfig_entries): New variable.
13478 (__nss_database_lookup): Don't leak defconfig entries.
13479 (nss_parse_service_list): Don't leak on error paths.
13480 (free_database_entries): New function.
13481 (free_defconfig): New function.
13482 (free_mem): Move common code to free_database_entries.
13483
31a39bd8
L
134842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13485
da0331a8
L
13486 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13487 Add arch_prctl.
13488 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13489
31a39bd8
L
13490 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13491 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13493 New macro.
13494 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13495 (INTERNAL_SYSCALL_TYPES): Likewise.
13496 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13497 (LOAD_REGS_TYPES_[1-6]): Likewise.
13498 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13499 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13500
45470df3
AZ
135012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13502
13503 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13504 copysignl for GLIBC_2_0.
13505 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13506 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13508 logbl for GLIBC_2_0.
13509 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13510 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13511
98a61bcb
L
135122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13513
a4f6e481
L
13514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13515 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13516
f63d5db6
L
13517 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13518 Use "neg %eax".
13519
98a61bcb
L
13520 * time/mktime.c: Update copyright years.
13521
95770f14
PE
135222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13523
6226efbd
PE
13524 mktime: merge comment-quoting-style change from gnulib
13525 * time/mktime.c: Quote 'like this' in comments.
13526 The GNU coding standards suggest that we no longer quote `like this',
13527 as "`" and "'" are typically rendered asymmetrically nowadays.
13528 The typical gnulib style is to quote 'like this' when quoting
13529 code, and "like this" when quoting English.
13530
b99e4f78
PE
13531 * time/mktime.c (compile-command): Add "-I.".
13532
643e01e6
PE
13533 mktime: merge mktime-internal.h change from gnulib
13534 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13535
2554247d
PE
13536 mktime: merge time_r change from gnulib
13537 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13538
826dd0ab
PE
13539 mktime: merge DEBUG change from gnulib
13540 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13541 case system <time.h> has a #define.
13542
bd83aabe
PE
13543 mktime: merge <sys/types.h> change from gnulib
13544 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13545 since <time.t> is now guaranteed to define time_t.
13546
95770f14
PE
13547 mktime: merge HAVE_CONFIG_H change from gnulib
13548 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13549
5e1a27a9
L
135502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13551
0e44a77e
L
13552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13553 Use "neg %eax".
13554
5e1a27a9
L
13555 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13556 __rlim_t cast.
13557 (struct rusage): Use anonymous union to pad each field to
13558 __syscall_slong_t.
13559
46259bec
DM
135602012-05-21 David S. Miller <davem@davemloft.net>
13561
13562 * Makefules (o-iterator): Remove .s cases.
13563 (compile-command.s): Delete.
13564 (COMPILE.s): Delete.
13565 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13566
59f0c22e
JM
135672012-05-21 Joseph Myers <joseph@codesourcery.com>
13568
13569 * configure.in (libc_cv_predef_stack_protector): Only consider
13570 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13571 * configure: Regenerated.
13572
20c07380
L
135732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13574
bbb3154b
L
13575 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13576 New macro. Use R*LP on int and pointer.
13577 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13578 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13579 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13580 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13581
20c07380
L
13582 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13583 [__WORDSIZE_TIME64_COMPAT32] instead of
13584 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13585 (struct utmp): Likewise.
13586 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13587 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13588 Renamed to ...
13589 (__WORDSIZE_TIME64_COMPAT32): This.
13590 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13591 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13592 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13593 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13594 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13595 (__WORDSIZE_TIME64_COMPAT32): New macro.
13596
d8d1017e
AJ
135972012-05-21 Andreas Jaeger <aj@suse.de>
13598
13599 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13600 only if [SHARED]. Add prototype for __wcschr_ia32.
13601
6c7fb145
RM
136022012-05-21 Roland McGrath <roland@hack.frob.com>
13603
13604 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13605 of %rbp unmolested in the jmp_buf while mangling the low bits.
13606 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13607 unmolested high bits of %rbp while demangling the low bits.
13608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13609
66274218
AJ
136102012-05-21 Andreas Jaeger <aj@suse.de>
13611
07c58f8f
AJ
13612 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13613 * sunrpc/svc_simple.c: Use it for registerrpc.
13614 * sunrpc/xcrypt.c: Use it for passwd2des.
13615
66274218
AJ
13616 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13617
61f65140
L
136182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13619
13620 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13621 Don't define if [__SYSCALL_WORDSIZE != 32].
13622 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13623 New macro.
13624
5fefb436
AJ
136252012-05-21 Bruno Haible <bruno@clisp.org>
13626 Andreas Jaeger <aj@suse.de>
13627
13628 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13629 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13630 inptr and inend for must_buffer_ch.
13631 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13632 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13633 * stdio-common/Makefile (tests): Remove bug15.
13634 (bug15-ENV): Remove macro.
13635 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13636 anymore.
13637
d8e272ab
AJ
136382012-05-19 Andreas Jaeger <aj@suse.de>
13639 Roland McGrath <roland@hack.frob.com>
13640
13641 * manual/contrib.texi: Completely rewritten. It contains now an
13642 alphabetical list of contributors and their contributions.
13643
4a56a162
RH
136442012-05-21 Richard Henderson <rth@twiddle.net>
13645
13646 * misc/getauxval.c (__getauxval): Use unsigned long int.
13647 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13648 (getauxval): Use unsigned long int.
13649
d024d23c
L
136502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13651
13652 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13653
cbc00a03
RM
136542012-05-21 Roland McGrath <roland@hack.frob.com>
13655
13656 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13657 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13658 __alignof__ (long double).
13659
478143fa
AZ
136602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13661
13662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13663
c7683a6d
RH
136642012-05-20 Richard Henderson <rth@twiddle.net>
13665
13666 * misc/getauxval.c: New file.
13667 * misc/sys/auxv.h: New file.
13668 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13669 (routines): Add getauxval.
13670 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13671 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13672 * elf/dl-sysdep.c (_dl_auxv): Remove.
13673 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13674 * elf/dl-support.c (_dl_auxv): New variable.
13675 (_dl_aux_init): Initialize it.
13676 * manual/startup.texi (Auxiliary Vector): New node.
13677 * sysdeps/generic/bits/hwcap.h: New file.
13678 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13679 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13680 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13681 * sysdeps/sparc/sysdep.h: ... here. Include it.
13682 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13683 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13685 Update.
c7683a6d
RH
13686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13688 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13689 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13694
a6f1845d
AZ
136952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13696
13697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13698
cbcbe830
DM
136992012-05-19 David S. Miller <davem@davemloft.net>
13700
13701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13702
e0b16cc2
JM
137032012-05-19 Joseph Myers <joseph@codesourcery.com>
13704
13705 [BZ #14123]
13706 * math/s_ccosh.c: Include <float.h>
13707 (__ccosh): Avoid internal overflow calculating sinh and cosh
13708 values before multiplying by sin and cos values.
13709 * math/s_ccoshf.c: Likewise.
13710 * math/s_ccoshl.c: Likewise.
13711 * math/s_csin.c: Likewise.
13712 * math/s_csinf.c: Likewise.
13713 * math/s_csinl.c: Likewise.
13714 * math/s_csinh.c: Likewise.
13715 * math/s_csinhf.c: Likewise.
13716 * math/s_csinhl.c: Likewise.
13717 * math/libm-test.inc (ccos_test): Add more tests.
13718 (ccosh_test): Likewise.
13719 (csin_test): Likewise.
13720 (csinh_test): Likewise.
13721 * sysdeps/i386/fpu/libm-test-ulps: Update.
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13723
6ad13e08
L
137242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13725
f66f0ce8
L
13726 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13727 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13728
6ad13e08
L
13729 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13730
b1d072a7
JM
137312012-05-19 Joseph Myers <joseph@codesourcery.com>
13732
13733 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13734 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13735 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13736 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13737 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13738 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13739 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13740 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13741 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13742 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13743 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13744 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13745 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13746 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13747 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13748 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13749 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13750 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13751 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13752 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13753 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13754 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13755 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13756 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13757 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13758 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13759 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13760 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13761 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13762 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13763 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13764
9eae47cb
AJ
137652012-05-18 Andreas Jaeger <aj@suse.de>
13766
13767 * csu/.gitignore: Delete.
13768
bb07f69f
L
137692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13772 (timex): Use __syscall_slong_t.
13773
e6bdb741
AJ
137742012-05-18 Andreas Jaeger <aj@suse.de>
13775 Carlos O'Donell <carlos_odonell@mentor.com>
13776
13777 * manual/install.texi (Configuring and compiling): Update
13778 description about files modified in the source directory.
d6c33fda 13779 * INSTALL: Regenerated.
e6bdb741 13780
1b74487e
L
137812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13782
13783 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13784 value. Use "or" to set return value to -1.
13785 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13786 negate return value.
13787
a88b64b9
TMQMF
137882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13789
13790 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13791 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13792 failure if the compiler has Graphite support disabled.
13793 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13794 Likewise.
13795 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13796 CFLAGS-memmove.c): Likewise.
13797 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13798 Likewise.
13799
3707636e
L
138002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13801
610b8622
L
13802 * sysdeps/x86_64/x32/_itoa.h: New file.
13803
7cd195df
L
13804 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13805 getdents system call only if kernel and user dirents have the
13806 same d_ino and d_off.
13807
94b07d20
L
13808 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13809 LLONG_MAX != LONG_MAX.
13810 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13811 (_fitoa_word): Likewise.
13812
18298070
L
13813 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13814 years.
13815 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13816 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13817 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13818
553c7ea4
L
13819 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13820 include <bits/wordsize.h>. Check __x86_64__ instead of
13821 __WORDSIZE.
13822 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13823 if __x86_64__ is defined. Use anonymous union on fpstate.
13824
3707636e
L
13825 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13826 anonymous union.
13827
b53ef01a
AS
138282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13829
37fb1dc0
AS
13830 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13831 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13832 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13833 Refer to _rtld_local_ro instead of _rtld_global_ro.
13834 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13835 Likewise.
13836 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13837 Likewise.
13838 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13839 Likewise.
13840 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13841 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13842 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13843
b53ef01a
AS
13844 * sysdeps/powerpc/powerpc32/dl-machine.c
13845 (__elf_machine_runtime_setup) [PROF]: Don't reference
13846 _dl_prof_resolve.
13847
7a185db2
AJ
138482012-05-18 Andreas Jaeger <aj@suse.de>
13849
13850 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13851 function only available for GCCs before 3.4 since GCC 3.4
13852 introduced a builtin.
13853 (lrint): Likewise.
13854 (llrintf): Likewise.
13855 (llrint): Likewise.
13856 (fmaxf): Likewise.
13857 (fmax): Likewise.
13858 (fminf): Likewise.
13859 (fmin): Likewise.
13860 (rint): Likewise.
13861 (rintf): Likewise.
13862 (nearbyint): Likewise.
13863 (nearbyintf): Likewise.
13864 (ceil): Likewise.
13865 (ceilf): Likewise.
13866 (floor): Likewise.
13867 (floorf): Likewise.
13868
3e5aef87
L
138692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13870
428bd707
L
13871 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13872 on both fields and cast pointer to __syscall_ulong_t.
13873
3e5aef87
L
13874 * bits/types.h (__fsword_t): New type.
13875 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13876 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13878 (__FSWORD_T_TYPE): Likewise.
13879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13880 (__FSWORD_T_TYPE): Likewise.
13881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13882 (__FSWORD_T_TYPE): Likewise.
13883 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13884 (__FSWORD_T_TYPE): Likewise.
13885 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13886 __SWORD_TYPE with __fsword_t.
13887 (statfs64): Likewise.
13888
1ba7c3dc
DM
138892012-05-17 David S. Miller <davem@davemloft.net>
13890
13891 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13892
59910343
AJ
138932012-05-17 Andreas Jaeger <aj@suse.de>
13894
13895 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13896 warning.
13897
2e4c1e9e
L
138982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13899
13900 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13901
de7f5ce7
AJ
139022012-05-17 Andreas Jaeger <aj@suse.de>
13903
13904 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13905 when it is used.
13906
286abc3d
CM
139072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13908
13909 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13910
477cc68e
L
139112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13912
13913 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13914 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13915
1a0994f5
CD
139162012-05-17 Andreas Jaeger <aj@suse.de>
13917 Carlos O'Donell <carlos_odonell@mentor.com>
13918
13919 [BZ #14059]
13920 * sysdeps/x86_64/multiarch/init-arch.h
13921 (bit_YMM_Usable): Rename to...
13922 (bit_AVX_Usable): ... this.
13923 (bit_FMA4_Usable): New macro.
13924 (bit_XMM_state): New macro.
13925 (bit_YMM_state): New macro.
13926 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13927 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13928 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13929 (CPUID_OSXSAVE): New macro.
13930 (CPUID_AVX): New macro.
13931 (CPUID_FMA4): New macro.
13932 (index_YMM_Usable): Rename to...
13933 (index_AVX_Usable): ... this.
13934 (HAS_AVX): Use HAS_ARCH_FEATURE.
13935 (HAS_FMA4): Likewise.
13936 (HAS_YMM_USABLE): Remove.
13937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13938 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13939 are present.
13940 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13941 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13942 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13943 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13944 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13945
0af797de
CM
139462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13947
13948 * math/libm-test.c: Support platforms without multiple rounding modes.
13949 * math/bug-nextafter.c: Support platforms without FP exceptions.
13950 * math/bug-nexttoward.c: Likewise.
13951 * math/test-fenv.c: Likewise.
13952 * math/test-misc.c: Likewise.
13953 * stdlib/bug-getcontext.c: Likewise.
13954
e39745ff
AJ
139552012-05-17 Andreas Jaeger <aj@suse.de>
13956
13957 * manual/examples/search.c (critter_cmp): Change signature to
13958 avoid warnings.
13959 * manual/string.texi (Collation Functions): Likewise.
13960
48970aba
L
139612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13962
13963 * bits/types.h: Fold copyright years.
13964 * bits/typesizes.h: Likewise.
13965 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13966 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13967 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13968 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13969 * time/time.h: Likewise.
13970
bedee953
PP
139712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13972
13973 [BZ #208]
13974 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13975 in instead of returning them. Return void.
13976 (__libc_mallinfo): Accumulate over all arenas.
13977 (__malloc_stats): Adjust for change in int_mallinfo interface.
13978
61653dfb
RM
139792012-05-16 Roland McGrath <roland@hack.frob.com>
13980
30b99d79
RM
13981 [BZ #10375]
13982 * configure.in (NM): Add AC_CHECK_TOOL for it.
13983 (libc_extra_cflags): New substituted variable.
13984 Check for -fstack-protector being used implicitly.
13985 * configure: Regenerated.
13986 * config.make.in (config-extra-cflags): New variable,
13987 gets @libc_extra_cflags@.
13988 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13989
61653dfb
RM
13990 [BZ #10375]
13991 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13992 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13993 * configure: Regenerated.
13994 * config.make.in (CPPUNDEFS): New substituted variable.
13995 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13996 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13997 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13998
661768bb
L
139992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14000
14001 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14002 (mq_attr): Use __syscall_slong_t.
14003
d4261567
L
140042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14005
14006 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14007 Check __x86_64__ instead of __WORDSIZE.
14008 (_STAT_VER_LINUX): Likewise.
14009 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14010 __syscall_ulong_t and __syscall_slong_t.
14011 (stat64): Likewise.
14012
cf3ff365
L
140132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14016
76cf3e4d
L
140172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14018
14019 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14020
a637753a
L
140212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14022
14023 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14024 __syscall_ulong_t.
14025
d5e05119
L
14026 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14027 include <bits/wordsize.h>. Check __x86_64__ instead of
14028 __WORDSIZE.
14029 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14030 defined.
14031 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14032
f62ee380
L
14033 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14034 include <bits/wordsize.h>. Check __x86_64__ instead of
14035 __WORDSIZE.
14036 (user_regs_struct): Use "__extension__ unsigned long long"
14037 instead of "unsigned long" if __x86_64__ is defined.
14038 (user): Likewise. Pad after pointer field if __ILP32__ is
14039 defined.
14040
4e124ced
JM
140412012-05-16 Joseph Myers <joseph@codesourcery.com>
14042
6a3951a0
JM
14043 * configure.in (makeinfo): Require version 4.5 or later. Allow
14044 versions 5 to 9.
14045 * configure: Regenerated.
14046 * manual/install.texi (texinfo): Increase version requirement to
14047 4.5 or later.
14048 * INSTALL: Regenerated.
14049
4e124ced
JM
14050 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14051
953ca31a
L
140522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14053
14054 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14055
617aca05
L
14056 * sysdeps/x86_64/x32/ffs.c: New file.
14057
5762f7ae
L
14058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14059 __syscall_ulong_t.
14060 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14061 defined. Use __syscall_ulong_t.
14062 (shminfo): Use __syscall_ulong_t.
14063 (shm_info): Likewise.
14064
a26b6856
L
14065 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14066 __syscall_ulong_t.
14067
cb2b9ef7
L
14068 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14069 <bits/wordsize.h>.
14070 (msgqnum_t): Use __syscall_ulong_t.
14071 (msglen_t): Likewise.
14072 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14073 __syscall_ulong_t.
14074
34683bb0
L
14075 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14076 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14077
84a68786
L
14078 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14079
48baa5f1
L
14080 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14081 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14082
180be88b
L
14083 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14084 __syscall_slong_t.
14085
5e90c8ad
L
14086 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14087 include <bits/wordsize.h>. Check __x86_64__ instead of
14088 __WORDSIZE.
14089
23dfb58b
L
14090 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14091 "unsigned long long int" if __x86_64__ is defined.
14092 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14093
ce5d54b0
L
14094 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14095 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14096 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14097
13dc9eac
L
14098 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14099 <stdint.h>.
14100 (GET_PC): Cast to uintptr_t first.
14101 (GET_FRAME): Likewise.
14102 (GET_STACK): Likewise.
14103
a7895d15
L
14104 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14105 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14106 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14107 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14108 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14109 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14110 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14111 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14112 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14113 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14114 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14115 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14116 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14117 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14118 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14119 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14120 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14122 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14123 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14124 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14125 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14126 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14127 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14128 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14130 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14131 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14132 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14133
656416c9
AS
141342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14135
5bd66283
AS
14136 * Makerules (+depfiles): Also collect depfiles from .oS in
14137 $(extra-objs).
14138 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14139 .oS, $(libnldbl-routines)).
14140
656416c9
AS
14141 * Makerules (native-compile-mkdep-flags): Define.
14142 * sunrpc/Makefile (extra-objs): Add $(addprefix
14143 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14144 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14145 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14146 calling $(make-target-directory).
14147
a46f2169
L
141482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14149
14150 * bits/types.h (__snseconds_t): Removed.
14151 * time/time.h (struct timespec): Replace __snseconds_t with
14152 __syscall_slong_t.
14153 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14154 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14155 Likewise.
14156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14157 (__SNSECONDS_T_TYPE): Likewise.
14158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14159 (__SNSECONDS_T_TYPE): Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14161 (__SNSECONDS_T_TYPE): Likewise.
14162
6af6528b
L
141632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 * sysdeps/mach/hurd/bits/typesizes.h
14166 (__SYSCALL_SLONG_TYPE): New macro.
14167 (__SYSCALL_ULONG_TYPE): Likewise.
14168
de986b56
L
141692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14170
14171 * bits/types.h (__syscall_slong_t): New type.
14172 (__syscall_ulong_t): Likewise.
14173
14174 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14175 (__SYSCALL_ULONG_TYPE): Likewise.
14176 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14177 (__SYSCALL_SLONG_TYPE): Likewise.
14178 (__SYSCALL_ULONG_TYPE): Likewise.
14179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14180 (__SYSCALL_SLONG_TYPE): Likewise.
14181 (__SYSCALL_ULONG_TYPE): Likewise.
14182 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14183 (__SYSCALL_SLONG_TYPE): Likewise.
14184 (__SYSCALL_ULONG_TYPE): Likewise.
14185
85736dc7
L
141862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14187
14188 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14189 Add sigaltstack-offsets.sym.
14190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14191 <sigaltstack-offsets.h>.
14192 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14193 longjmp_msg pointer.
14194 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14195 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14196 signal stack.
14197 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14198
cc03b296
JM
141992012-05-15 Joseph Myers <joseph@codesourcery.com>
14200
a9538892
JM
14201 * elf/stackguard-macros.h: Remove file.
14202 * sysdeps/generic/stackguard-macros.h: New file.
14203 * sysdeps/i386/stackguard-macros.h: Likewise.
14204 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14205 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14206 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14207 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14208 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14209 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14210 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14211 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14212 <elf/stackguard-macros.h>.
14213
cc03b296
JM
14214 [BZ #14109]
14215 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14216 __aligned__ in attribute.
14217 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14218 (gregset_t): Likewise.
14219
93171016
L
142202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14221
14222 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14223 * sysdeps/x86_64/64/Implies-after: Here. New file.
14224 * sysdeps/x86_64/x32/Implies-after: New file.
14225
d86813a0
L
142262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14227
14228 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14229 and access return value for _dl_profile_fixup. Use R10_LP to
14230 load frame size.
14231
2953ec75
L
142322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14235
3b550e9e
L
142362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14239 * sysdeps/x86_64/x32/sysdep.h: New file.
14240
eda41706
L
142412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14244 * sysdeps/x86_64/setjmp.S: Likewise.
14245
9ea01d93
AZ
142462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14247
14248 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14249 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14250 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14251 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14252 remove unused global constant.
14253
02a91938
CM
142542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14255
14256 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14257 include of <not-cancel.h>.
14258
6540185f
RM
142592012-05-15 Roland McGrath <roland@hack.frob.com>
14260
14261 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14262
509072a0
AJ
142632012-05-15 Jeff Law <law@redhat.com>
14264 Andreas Jaeger <aj@suse.de>
14265
14266 [BZ #13594]
14267 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14268 out from...
14269 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14270 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14271 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14272 code changing __hst_map_handle.map.
14273
ba75122d
RM
142742012-05-15 Roland McGrath <roland@hack.frob.com>
14275
14276 * configure.in (sysnames): Look for Implies-before and Implies-after
14277 files.
14278 * configure: Regenerated.
14279
890d8bd8
L
142802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14281
14282 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14283 8-byte data alignment with LP_SIZE alignment.
14284
f6ee6623
L
142852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14286
14287 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14288 into R10_LP.
14289
ea2626f6
L
142902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14291
14292 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14293
085f715e
L
142942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14295
14296 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14297 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14298 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14299 Likewise.
14300 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14301
be8498fc
L
143022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14303
14304 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14305 (stackinfo_sub_sp): Likewise.
14306
70bc83b9
L
143072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14310 RAX_LP.
14311
9bc0b730
L
143122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14313
14314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14315 into R*_LP.
14316
6d2850e7
L
143172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14318
14319 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14320 sizes into R*_LP.
14321
3cb84561
L
143222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14325
54e2ed81
L
143262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14327
14328 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14329 into R11_LP and load __x86_64_shared_cache_size_half into
14330 R8_LP.
14331
8a17f349
L
143322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14333
14334 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14335 R8_LP.
14336
777b1eea
AZ
143372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14338
14339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14340 logb for POWER7.
14341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14342 logbf for POWER7.
14343 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14344 logbl for POWER7.
14345 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14346 powerpc32/power7/fpu/s_logb.c via #include.
14347 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14348 powerpc32/power7/fpu/s_logbf.c via #include.
14349 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14350 powerpc32/power7/fpu/s_logbl.c via #include.
14351
d20d4ac2
JM
143522012-05-15 Joseph Myers <joseph@codesourcery.com>
14353
14354 * README.libm: Remove file.
14355
6cdef1ab
L
143562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14357
14358 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14359 count for x32. Use R*_LP and omit operand-size suffix.
14360
0b254d8f
L
143612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14362
14363 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14364 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14365 * sysdeps/x86_64/x32/shlib-versions: New file.
14366
ceb809dc
RM
143672012-05-14 Roland McGrath <roland@hack.frob.com>
14368
14369 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14370 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14371 Use _dl_fatal_printf instead.
14372
37f1abd4
JM
143732012-05-14 Joseph Myers <joseph@codesourcery.com>
14374
14375 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14376 set if not set by the user. Do not allow for being unset.
14377 * sysdeps/unix/sysv/linux/configure: Regenerated.
14378
11de3a33
L
143792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14380
14381 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14382 the `q' suffix from lea and replace .quad with ASM_ADDR.
14383
e02f153a
L
143842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14385
14386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14387 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14388 instead of $17.
14389 (PTR_DEMANGLE): Likewise.
14390
520ae0fd
L
143912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14392
14393 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14394 (LP_OP): Likewise.
14395 (ASM_ADDR): Likewise.
14396 (RAX_LP): Likewise.
14397 (RBP_LP): Likewise.
14398 (RBX_LP): Likewise.
14399 (RCX_LP): Likewise.
14400 (RDI_LP): Likewise.
14401 (RSI_LP): Likewise.
14402 (RSP_LP): Likewise.
14403 (R8_LP): Likewise.
14404 (R9_LP): Likewise.
14405 (R10_LP): Likewise.
14406 (R10_LP): Likewise.
14407 (R11_LP): Likewise.
14408 (R12_LP): Likewise.
14409 (R13_LP): Likewise.
14410 (R14_LP): Likewise.
14411 (R15_LP): Likewise.
14412
b985be81
L
144132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14414
14415 * sysdeps/x86_64/x32/dl-machine.h: New file.
14416
6a4888ff
AJ
144172012-05-14 Andreas Jaeger <aj@suse.de>
14418
14419 * manual/Makefile (subdir): Remove export of subdir.
14420 (all): Remove target.
14421 (.PHONY): Remove all from list.
14422 (mkinstalldirs): Remove.
14423 (.PHONY): Remove installdirs from list.
14424 ($(inst_infodir)/libc.info): Use make-target-directory.
14425 (installdirs): Remove.
14426 (subdir_%): Remove.
14427 (glibc-targets): Remove.
14428 (lib): Remove.
14429 (stubs): Remove.
14430 ($(objpfx)stubs ../po/manual.pot): Remove.
14431 ($(objpfx)stamp%): Remove.
14432 (make-target-directory): Remove.
14433 (subdir_install): Remove.
14434 (routines): Remove.
14435 (aux): Remove.
14436 (sources): Remove.
14437 (objects): Remove.
14438 (headers): Remove.
14439
14440 [BZ #13750]
14441 * manual/.gitignore: Remove, it's not needed anymore.
14442 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14443 all files in it.
14444 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14445 directory.
14446 (texis): Renamed to $(objpfx)texis.
14447 (texis-path): New, contains path to generated files.
14448 (chapters.%): Use texis-path for complete path, add extra argument
14449 libc-texinfo.sh.
14450 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14451 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14452 (summary,texi, stamp-summary): Use complete path of
14453 files. Generate files in build dir.
14454 (dir-add.texi): Build in build dir.
14455 (libm-err.texi,stamp-libm-err): Likewise.
14456 (version.texi, stamp-version): Likewise.
14457 (.%c.texi): Likewise.
14458 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14459 (mostlyclean): Remove target.
14460 (realclean): Remove target.
14461 (generated): Add new variable with contents from mostlyclean and
14462 realclean, remove entries duplicated in common-mostlyclean, add
14463 stamp-libm-err and stamp-version.
14464 (generated-dirs): Add libc directory.
14465 ($(inst_infodir)/libc.info): Install files from build dir.
14466
14467 * manual/install.texi (Configuring and compiling): Adjust since
14468 the info files are not part of the tar ball anymore.
14469
7ac77294
AJ
144702012-05-14 Andreas Jaeger <aj@suse.de>
14471
14472 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14473 variable.
14474
ffb7875d
JM
144752012-05-14 Joseph Myers <joseph@codesourcery.com>
14476
14477 [BZ #13717]
14478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14479 to 2.2.0 where earlier.
14480 * sysdeps/unix/sysv/linux/configure: Regenerated.
14481 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14482 Remove conditional code.
14483 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14484 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14485 Remove conditional code.
14486 [!__NR_lchown]: Likewise.
14487 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14488 [__NR_lchown]: Likewise.
14489 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14490 comment referencing __ASSUME_LCHOWN_SYSCALL.
14491 * sysdeps/unix/sysv/linux/i386/sigaction.c
14492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14494 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14495 Remove conditional code.
14496 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14497 (__protocol_available): Remove #if 0 code.
14498 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14499 conditional code.
14500 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14501 * sysdeps/unix/sysv/linux/kernel-features.h
14502 (__ASSUME_GETCWD_SYSCALL): Don't define.
14503 (__ASSUME_REALTIME_SIGNALS): Likewise.
14504 (__ASSUME_PREAD_SYSCALL): Likewise.
14505 (__ASSUME_PWRITE_SYSCALL): Likewise.
14506 (__ASSUME_POLL_SYSCALL): Likewise.
14507 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14508 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14509 non-SPARC.
14510 (__ASSUME_SIOCGIFNAME): Don't define.
14511 (__ASSUME_MSG_NOSIGNAL): Likewise.
14512 (__ASSUME_SENDFILE): Define unconditionally.
14513 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14514 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14515 conditional code.
14516 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14517 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14518 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14519 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14520 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14521 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14522 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14524 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14530 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14536 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14539 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14542 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14547 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14548 Remove conditional code.
14549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14550 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14551 Remove conditional code.
14552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14553 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14554 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14555 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14556 Remove conditional code.
14557 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14558 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14559 Remove conditional code.
14560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14561 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14562 Remove conditional code.
14563 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14564 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14565 Remove conditional code.
14566 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14567 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14568 Remove conditional code.
14569 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14570 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14571 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14572 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14573 * sysdeps/unix/sysv/linux/sigaction.c
14574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14576 * sysdeps/unix/sysv/linux/sigpending.c
14577 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14578 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14579 * sysdeps/unix/sysv/linux/sigprocmask.c
14580 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14581 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14582 * sysdeps/unix/sysv/linux/sigsuspend.c
14583 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14584 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14585 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14586 (__libc_missing_rt_sigs): Remove.
14587 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14588 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14589 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14590 Remove conditional code.
14591 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14592 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14593 return 1.
14594 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14595 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14596 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14597 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14598
1bfb7291
AJ
145992012-05-14 Andreas Jaeger <aj@suse.de>
14600
caae5a81
AJ
14601 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14602 it's not used in glibc.
14603 (__coshm1): Likewise.
14604 (__acosh1p): Likewise.
14605 (__sgn): Likewise.
14606
1bfb7291
AJ
14607 * manual/string.texi (Copying and Concatenation): Add missing
14608 variable in concat example.
14609 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14610
c044d724
L
146112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14612
144c5467 14613 [BZ #14103]
c044d724
L
14614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14615 __builtin_clzl with __builtin_clzll.
14616
2523c62b
L
146172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14618
14619 [BZ #14104]
14620 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14621 libc_freeres_ptr.
14622
d7bb4c42
LD
146232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14624
14625 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14626 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14627 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14628 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14629
9dc4e1fb
MF
146302012-05-14 Mike Frysinger <vapier@gentoo.org>
14631
14632 * NEWS: Update ia64 info.
14633
c7df0112
AS
146342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14635
14636 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14637 used as bcopy.
14638
dc70356c
TS
146392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14640
14641 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14642 * sysdeps/unix/syscalls.list (dup3): Likewise.
14643 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14644 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14645
9fb1a21f
L
146462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14647
14648 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14649 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14650
4822a2a5
L
146512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14652
14653 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14654 thread pointer.
14655 (TLS_IE): Use mov/add instead of movq/addq to load thread
14656 pointer.
14657 (TLS_GD_PREFIX): New.
14658 (TLS_GD): Use it.
14659
842b81d6
DM
146602012-05-11 David S. Miller <davem@davemloft.net>
14661
14662 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14663 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14664 (_FPU_SETCW): Likewise.
14665
1cf463cd
L
146662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14667
14668 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14669 is 32-byte aligned.
14670
60cc4a18
AS
146712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14672
14673 [BZ #11837]
14674 * iconvdata/gb18030.c: Update tables.
14675 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14676 characters specially.
14677 (BODY for TO_LOOP): Add encoding of missing ranges.
14678
febb44a4
TS
146792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14680
14681 [BZ #13673]
14682 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14683 * sysdeps/mach/hurd/dup3.c: Likewise.
14684 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14685 * sysdeps/powerpc/memmove.c:: Likewise.
14686
0a10fb9e
L
146872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14688
14689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14690 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14691
df8a552f
L
146922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14693
14694 * elf/elf.h (R_X86_64_RELATIVE64): New.
14695 (R_X86_64_NUM): Updated.
14696 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14697 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14698 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14699 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14700 tst-quad1pie tst-quad2pie
14701 (modules-names): Add tst-quadmod1 tst-quadmod2.
14702 ($(objpfx)tst-quad1): New dependency.
14703 ($(objpfx)tst-quad2): Likewise.
14704 ($(objpfx)tst-quad1pie): Likewise.
14705 ($(objpfx)tst-quad2pie): Likewise.
14706 * sysdeps/x86_64/tst-quad1.c: New file.
14707 * sysdeps/x86_64/tst-quad1pie.c: New file.
14708 * sysdeps/x86_64/tst-quad2.c: Likewise.
14709 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14710 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14711 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14712 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14713 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14714
f34d6f84
ST
147152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14716
f42d41d1
ST
14717 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14718 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14719 * streams/stropts.h (t_scalar_t): Define type.
14720
3c3571fc
ST
14721 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14722 (_PATH_PRESERVE): Set to "/var/lib".
14723 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14724
61f06bd3
ST
14725 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14726 instead of int.
14727
918d4d71
ST
14728 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14729 if __dir_mkfile succeeded.
14730
f34d6f84
ST
14731 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14732 checking for _hurd_dtablesize. Unlock it right after having
14733 finished _hurd_dtable allocation.
14734
10589b4a
TS
147352012-05-10 Thomas Schwinge <thomas@schwinge.name>
14736
674cdbc7
TS
14737 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14738 * sysdeps/mach/hurd/configure: Regenerated.
14739 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14740 special-casing to...
14741 * sysdeps/gnu/configure.in: ... this new file.
14742 * sysdeps/unix/sysv/linux/configure: Regenerated.
14743 * sysdeps/gnu/configure: New generated file.
14744
8e41b99f
TS
14745 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14746 for Linux: use nsec instead of usec, as well as:
14747 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14748 members of type struct timespec.
14749 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14750 New macros.
14751 (struct stat64): Likewise.
14752 (_STATBUF_ST_NSEC): New macro.
14753 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14754
10589b4a
TS
14755 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14756 __strtoul_internal rather than strtoul.
14757
63643c85
PT
147582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14759
14760 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14761 and reject them.
14762
3faebe6a
ST
147632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14764
14765 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14766 which preserves existing values.
14767 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14768
c6474b07
PT
147692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14770
14771 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14772 TIMEOUT values. Return EINVAL for NFDS values either negative or
14773 greater than FD_SETSIZE.
14774
1043890b
ST
147752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14776
14777 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14778 allocated, call __vm_protect to finish enabling the existing space, and
14779 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14780 allocate the remainder.
14781
37ed8b9b
PT
147822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14783
14784 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14785 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14786
db653660
ST
147872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14788
37ed8b9b
PT
14789 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14790 sysdeps/mach/hurd/readlink.c.
b29d4053 14791
db653660
ST
14792 * posix/tst-sysconf.c (posix_options): Only use
14793 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14794 _POSIX_SYNCHRONIZED_IO when they are defined
14795 * sysdeps/mach/hurd/bits/posix_opt.h:
14796 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14797 (_XOPEN_REALTIME): Undefine macro.
14798 (_XOPEN_REALTIME_THREADS): Undefine macro.
14799 (_XOPEN_SHM): Undefine macro.
14800 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14801 macro to -1.
14802 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14803 macro to -1.
14804 (_POSIX_ASYNC_IO): Undefine macro.
14805 (_POSIX_PRIORITIZED_IO): Undefine macro.
14806 (_POSIX_SPIN_LOCKS): Define macro to -1.
14807
ee16e894
ST
14808 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14809 SA_NODEFER, SA_RESETHAND.
14810 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14811 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14812 F_DUPFD_CLOEXEC.
14813
6103ae3b
TS
148142012-05-10 Thomas Schwinge <thomas@schwinge.name>
14815
14816 * elf/Makefile (pldd-modules): Define unconditionally.
14817
80b4e5f3
TS
148182012-05-10 Thomas Schwinge <thomas@schwinge.name>
14819
14820 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14821
edadcbd6
ST
148222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14823
14824 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14825 Return ENOENT when name is empty.
14826 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14827
80694780
TS
148282012-05-10 Thomas Schwinge <thomas@schwinge.name>
14829
1792c087
TS
14830 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14831
80694780
TS
14832 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14833
6b645f0d
ST
148342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14835
80694780
TS
14836 Fix mlock in all cases except non-readable pages.
14837 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14838 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14839
6b645f0d
ST
14840 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14841 (__mkdir): When path is `/', just fail with EEXIST.
14842 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14843
e468f8a3
TS
148442012-05-10 Thomas Schwinge <thomas@schwinge.name>
14845
14846 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14847 <sys/uio.h> (for writev).
14848 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14849 and <sys/param.h> (for MIN).
14850
a4186cff
PT
148512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14852
14853 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14854 REQUESTED_TIME. Properly set the remaining time and return EINTR
14855 if interrupted.
14856
510bbf14
TS
148572012-05-10 Thomas Schwinge <thomas@schwinge.name>
14858
14859 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14860 Depend on against $(link-rpcuserlibs).
14861
5d5722e8
ST
148622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14863
a4186cff
PT
14864 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14865 (__libc_stack_end): Do not use attribute_relro.
14866 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14867 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14868 to libthread-provided value.
a4186cff
PT
14869 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14870 attribute_relro.
5d5722e8 14871
37233df9
TS
148722012-05-10 Thomas Schwinge <thomas@schwinge.name>
14873
be971a2b
TS
14874 [BZ #3748]
14875 * bits/libc-lock.h (__libc_once_get): New macro.
14876 * sysdeps/mach/bits/libc-lock.h: Likewise.
14877 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14878 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14879 instead of using implementation details.
14880
37233df9
TS
14881 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14882 * libio/freopen.c: Likewise.
14883 * libio/freopen64.c: Likewise.
14884 * misc/syslog.c: Likewise.
14885 * nscd/connections.c: Likewise.
14886 * nscd/netgroupcache.c: Likewise.
14887 * sysdeps/posix/getcwd.c: Likewise.
14888
38de94a5
RM
148892012-05-10 Roland McGrath <roland@hack.frob.com>
14890
14891 * math/w_ilogbf.c: Add #include <limits.h>.
14892
67530489
ST
148932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14894
a4186cff 14895 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14896 path instead of returning without unlocking.
14897
67530489
ST
14898 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14899 immediate-write ioctls.
14900 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14901
5aa3a74a
TS
149022012-05-10 Thomas Schwinge <thomas@schwinge.name>
14903
18bad2ae
TS
14904 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14905 __builtin_frame_address instead of making assumptions about the
14906 location of the return address relative to DATA. Force early load of
14907 the return address.
14908 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14909 __builtin_frame_address.
14910
5aa3a74a
TS
14911 dup3 for GNU Hurd.
14912 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14913 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14914 implement dup3 and do some further code clean-ups.
14915 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14916 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14917
ecd0de9a
ST
149182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14919
cd9fa985
ST
14920 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14921
a4186cff
PT
14922 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14923 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14924 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14925 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14926 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14927 d->port.lock.
802ca5a5 14928
a4186cff
PT
14929 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14930 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14931 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14932
bcf55240
TS
149332012-05-10 Thomas Schwinge <thomas@schwinge.name>
14934
6960eb42
TS
14935 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14936 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14937 definitions.
14938
eb43375f
TS
14939 accept4 for GNU Hurd.
14940 * include/sys/socket.h (__libc_accept4): New prototype.
14941 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14942 to implement __libc_accept4.
14943 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14944 __libc_accept4.
14945 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14946
bcf55240
TS
14947 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14948 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14949 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14950 signal-defines.sym.
14951
6178c55b
ST
149522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14953
a4186cff 14954 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14955
6f080c2f
TS
149562012-05-10 Thomas Schwinge <thomas@schwinge.name>
14957
14958 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14959 assertion on O_CLOEXEC flag.
14960 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14961 * hurd/intern-fd.c: Likewise.
14962 * hurd/port2fd.c: Likewise.
14963
bcfe3a54
ST
149642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14965
14966 [BZ #3906]
14967 * bits/in.h (IPV6_PKTINFO): Define new macro.
14968 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14969
89c9aa49
AZ
149702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14971
14972 [BZ #13954]
14973 [BZ #13955]
14974 [BZ #13956]
14975 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14977 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14978 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14980 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14981 * math/libm-test.inc (logb_test) : Additional logb tests.
14982
021db4be
AJ
149832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14984 Andreas Jaeger <aj@suse.de>
14985
14986 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14987 * configure: Regenerated.
14988 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14989 * config.make.in (link-obsolete-rpc): New substituted variable.
14990 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14991 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14992 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14993 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14994 so that libc.a contains the symbols.
14995 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14996 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14997 * sunrpc/auth_none.c: Likewise.
14998 * sunrpc/auth_unix.c: Likewise.
14999 * sunrpc/authdes_prot.c: Likewise.
15000 * sunrpc/authuxprot.c: Likewise.
15001 * sunrpc/clnt_gen.c: Likewise.
15002 * sunrpc/clnt_perr.c: Likewise.
15003 * sunrpc/clnt_raw.c: Likewise.
15004 * sunrpc/clnt_simp.c: Likewise.
15005 * sunrpc/clnt_tcp.c: Likewise.
15006 * sunrpc/clnt_udp.c: Likewise.
15007 * sunrpc/clnt_unix.c: Likewise.
15008 * sunrpc/des_crypt.c: Likewise.
15009 * sunrpc/des_soft.c: Likewise.
15010 * sunrpc/get_myaddr.c: Likewise.
15011 * sunrpc/key_call.c: Likewise.
15012 * sunrpc/key_prot.c: Likewise.
15013 * sunrpc/netname.c: Likewise.
15014 * sunrpc/pm_getmaps.c: Likewise.
15015 * sunrpc/pm_getport.c: Likewise.
15016 * sunrpc/pmap_clnt.c: Likewise.
15017 * sunrpc/pmap_prot.c: Likewise.
15018 * sunrpc/pmap_prot2.c: Likewise.
15019 * sunrpc/pmap_rmt.c: Likewise.
15020 * sunrpc/publickey.c: Likewise.
15021 * sunrpc/rpc_cmsg.c: Likewise.
15022 * sunrpc/rpc_common.c: Likewise.
15023 * sunrpc/rpc_dtable.c: Likewise.
15024 * sunrpc/rpc_prot.c: Likewise.
15025 * sunrpc/rpc_thread.c: Likewise.
15026 * sunrpc/rtime.c: Likewise.
15027 * sunrpc/svc.c: Likewise.
15028 * sunrpc/svc_auth.c: Likewise.
15029 * sunrpc/svc_raw.c: Likewise.
15030 * sunrpc/svc_run.c: Likewise.
15031 * sunrpc/svc_tcp.c: Likewise.
15032 * sunrpc/svc_udp.c: Likewise.
15033 * sunrpc/svc_unix.c: Likewise.
15034 * sunrpc/svcauth_des.c: Likewise.
15035 * sunrpc/xcrypt.c: Likewise.
15036 * sunrpc/xdr.c: Likewise.
15037 * sunrpc/xdr_array.c: Likewise.
15038 * sunrpc/xdr_float.c: Likewise.
15039 * sunrpc/xdr_intXX_t.c: Likewise.
15040 * sunrpc/xdr_mem.c: Likewise.
15041 * sunrpc/xdr_rec.c: Likewise.
15042 * sunrpc/xdr_ref.c: Likewise.
15043 * sunrpc/xdr_sizeof.c: Likewise.
15044 * sunrpc/xdr_stdio.c: Likewise.
15045
b5c086a2
RM
150462012-05-10 Roland McGrath <roland@hack.frob.com>
15047
15048 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15049 change. Update copyright years.
15050
6d74dd09
JM
150512012-05-10 Joseph Myers <joseph@codesourcery.com>
15052
15053 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15054
28e72501
MK
150552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15056 Joseph Myers <joseph@codesourcery.com>
15057 Paul Pluzhnikov <ppluzhnikov@google.com>
15058
15059 [BZ #14012]
15060 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15061 requiring rpcgen.
15062 [cross-compiling] (extra-libs): Likewise.
15063 [cross-compiling] (extra-libs-others): Likewise.
15064 [cross-compiling] (librpcsvc-routines): Likewise.
15065 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15066 [cross-compiling] (omit-deps): Likewise.
15067 (sunrpc-CPPFLAGS): New variable.
15068 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15069 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15070 (cross-rpcgen-objs): New variable.
15071 (extra-objs): Append $(cross-rpcgen-objs).
15072 ($(cross-rpcgen-objs)): New rule.
15073 ($(objpfx)cross-rpcgen): Likewise.
15074 (rpcgen-cmd): Define to use $(built-program-file). Expand
15075 comment.
15076 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15077 ($(objpfx)x%.stmp): Likewise.
15078 * sunrpc/proto.h [IS_IN_build] (_): Define.
15079 [IS_IN_build] (_libc_intl_domainname): Likewise.
15080
c8c59454
L
150812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15082
15083 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15084 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15085 and R_X86_64_TPOFF64.
15086
6f27cd16
JM
150872012-05-10 Joseph Myers <joseph@codesourcery.com>
15088
15089 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15090 sysdeps/unix/sysv/syscalls.list.
15091 (stime): Likewise.
15092 (utime): Likewise.
15093 * sysdeps/unix/sysv/syscalls.list: Remove file.
15094
02467e1c
PE
150952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15096
15097 [BZ #3440]
15098 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15099 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15100 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15101 (__LC_IDENTIFICATION): Make these macros useful in #if
15102 expressions, as required by C99.
15103
da392631
AS
151042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15105
15106 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15107 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15108 after this.
15109
8115f29b
L
151102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15111
15112 * stdlib/longlong.h: Updated from GCC.
15113
bdd74070
AJ
151142012-05-09 Andreas Jaeger <aj@suse.de>
15115
edfe0dbe
AJ
15116 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15117 default is first entry.
15118 (run_mode): Set type.
15119 (main): Remove informal message about syslog.
15120 (options): Fix typo.
15121
bcfe3a54
ST
15122 [BZ #14053]
15123 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15124 to asm.
bcfe3a54
ST
15125 (lrint): Likewise.
15126 (llrintf): Likewise.
15127 (llrint): Likewise.
15128 (rint): Likewise.
15129 (rintf): Likewise.
15130 (nearbyint): Likewise.
15131 (nearbyintf): Likewise.
bdd74070 15132
91d8d69e
AJ
151332012-05-09 Andreas Jaeger <aj@suse.de>
15134 Pedro Alves <palves@redhat.com>
15135
15136 * nscd/nscd.c (run_mode): Use enum.
15137 (main): Cleanup coding style issue.
15138
bb90b80b
AJ
151392012-05-09 Alexandre Oliva <aoliva@redhat.com>
15140 Andreas Jaeger <aj@suse.de>
15141
bcfe3a54
ST
15142 * nscd/nscd.c (go_background): Replaced with...
15143 (run_mode): ... this.
bb90b80b 15144 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15145 (options): Add -F --foreground.
15146 (main): Implement it.
15147 (parse_opt): Parse it.
bb90b80b 15148
1a4b75a1
AJ
151492012-05-09 Andreas Jaeger <aj@suse.de>
15150
15151 [BZ #14083]
15152 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15153 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15154 -Wconversion warning.
15155 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15156 Likewise.
15157
b1cc2472
JM
151582012-05-09 Joseph Myers <joseph@codesourcery.com>
15159
15160 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15161 == 0.
15162 (LC_ALL): Use macro-int-constant.
15163 (LC_COLLATE): Likewise.
15164 (LC_CTYPE): Likewise.
15165 (LC_MESSAGES): Likewise.
15166 (LC_MONETARY): Likewise.
15167 (LC_NUMERIC): Likewise.
15168 (LC_TIME): Likewise.
15169 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15170 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15171 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15172 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15173 Specify type.
15174 [C99-based standards] (float_t): Expect type.
15175 [C99-based standards] (double_t): Expect type.
15176 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15177 type.
15178 [C99-based standards] (HUGE_VALL): Likewise.
15179 [C99-based standards] (INFINITY): Likewise.
15180 [C99-based standards] (NAN): Likewise.
15181 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15182 [C99-based standards] (FP_NAN): Likewise.
15183 [C99-based standards] (FP_NORMAL): Likewise.
15184 [C99-based standards] (FP_SUBNORMAL): Likewise.
15185 [C99-based standards] (FP_ZERO): Likewise.
15186 [C99-based standards] (FP_FAST_FMA): Use
15187 optional-macro-int-constant. Specify type. Require == 1.
15188 [C99-based standards] (FP_FAST_FMAF): Likewise.
15189 [C99-based standards] (FP_FAST_FMAL): Likewise.
15190 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15191 [C99-based standards] (FP_ILOGBNAN): Likewise.
15192 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15193 Specify type.
15194 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15195 [C99-based standards] (math_errhandling): Specify type.
15196 [ISO99 || ISO11] (signgam): Do not allow.
15197 [non-C99-based standards] (copysignf): Do not allow.
15198 [non-C99-based standards] (exp2f): Likewise.
15199 [non-C99-based standards] (log2f): Likewise.
15200 [non-C99-based standards] (modff): Allow.
15201 [non-C99-based standards] (erff): Do not allow.
15202 [non-C99-based standards] (erfcf): Likewise.
15203 [non-C99-based standards] (gammaf): Likewise.
15204 [non-C99-based standards] (hypotf): Likewise.
15205 [non-C99-based standards] (j0f): Likewise.
15206 [non-C99-based standards] (j1f): Likewise.
15207 [non-C99-based standards] (jnf): Likewise.
15208 [non-C99-based standards] (lgammaf): Likewise.
15209 [non-C99-based standards] (tgammaf): Likewise.
15210 [non-C99-based standards] (y0f): Likewise.
15211 [non-C99-based standards] (y1f): Likewise.
15212 [non-C99-based standards] (ynf): Likewise.
15213 [non-C99-based standards] (isnanf): Likewise.
15214 [non-C99-based standards] (acoshf): Likewise.
15215 [non-C99-based standards] (asinhf): Likewise.
15216 [non-C99-based standards] (atanhf): Likewise.
15217 [non-C99-based standards] (cbrtf): Likewise.
15218 [non-C99-based standards] (expm1f): Likewise.
15219 [non-C99-based standards] (ilogbf): Likewise.
15220 [non-C99-based standards] (log1pf): Likewise.
15221 [non-C99-based standards] (logbf): Likewise.
15222 [non-C99-based standards] (nextafterf): Likewise.
15223 [non-C99-based standards] (remainderf): Likewise.
15224 [non-C99-based standards] (rintf): Likewise.
15225 [non-C99-based standards] (scalbf): Likewise.
15226 [non-C99-based standards] (copysignl): Likewise.
15227 [non-C99-based standards] (exp2l): Likewise.
15228 [non-C99-based standards] (log2l): Likewise.
15229 [non-C99-based standards] (modfl): Allow.
15230 [non-C99-based standards] (erfl): Do not allow.
15231 [non-C99-based standards] (erfcl): Likewise.
15232 [non-C99-based standards] (gammal): Likewise.
15233 [non-C99-based standards] (hypotl): Likewise.
15234 [non-C99-based standards] (j0l): Likewise.
15235 [non-C99-based standards] (j1l): Likewise.
15236 [non-C99-based standards] (jnl): Likewise.
15237 [non-C99-based standards] (lgammal): Likewise.
15238 [non-C99-based standards] (tgammal): Likewise.
15239 [non-C99-based standards] (y0l): Likewise.
15240 [non-C99-based standards] (y1l): Likewise.
15241 [non-C99-based standards] (ynl): Likewise.
15242 [non-C99-based standards] (isnanl): Likewise.
15243 [non-C99-based standards] (acoshl): Likewise.
15244 [non-C99-based standards] (asinhl): Likewise.
15245 [non-C99-based standards] (atanhl): Likewise.
15246 [non-C99-based standards] (cbrtl): Likewise.
15247 [non-C99-based standards] (expm1l): Likewise.
15248 [non-C99-based standards] (ilogbl): Likewise.
15249 [non-C99-based standards] (log1pl): Likewise.
15250 [non-C99-based standards] (logbl): Likewise.
15251 [non-C99-based standards] (nextafterl): Likewise.
15252 [non-C99-based standards] (remainderl): Likewise.
15253 [non-C99-based standards] (rintl): Likewise.
15254 [non-C99-based standards] (scalbl): Likewise.
15255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15256 [non-C99-based standards] (FP_*): Do not allow.
15257 [C99-based standards] (FP_*): Change to
15258 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15259 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15260 allow.
15261 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15262 (SIG_ERR): Likewise.
15263 [X/Open-based standards] (SIG_HOLD): Likewise.
15264 (SIG_IGN): Likewise.
15265 (SIGABRT): Use macro-int-constant. Specify type. Require
15266 positive value.
15267 (SIGFPE): Likewise.
15268 (SIGILL): Likewise.
15269 (SIGINT): Likewise.
15270 (SIGSEGV): Likewise.
15271 (SIGTER): Likewise.
15272 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15273 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15274 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15275 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15276 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15277 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15278 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15279 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15280 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15281 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15282 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15283 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15284 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15285 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15286 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15287 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15288 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15289 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15290 [X/Open-based standards] (SIGTRAP): Likewise.
15291 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15292 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15293 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15294 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15295 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15296 allow.
15297
b9f1922d
IW
152982012-05-08 Ian Wienand <ianw@vmware.com>
15299
15300 [BZ #14080]
15301 * time/tzset.c (__tzset_parse_tz): Update default rules for
15302 daylight time changes in the Energy Policy Act of 2005.
15303
1db86e88
AJ
153042012-05-09 Andreas Jaeger <aj@suse.de>
15305
15306 [BZ #13983]
15307 * elf/ldconfig.c (parse_conf): Change string to make clear that
15308 ldconfig only issued a warning if ld.so.conf does not exist.
15309
dee4a4e3
DM
153102012-05-08 David S. Miller <davem@davemloft.net>
15311
ee0db190
DM
15312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15313 movxtod instead of popping the value on the stack.
15314
dee4a4e3
DM
15315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15316
6a43ec98
CD
153172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15318
15319 * config.h.in: Add HAVE_ARM_PCS_VFP.
15320
05c2c961
RMG
153212012-05-08 Roland Mc Grath <roland@hack.frob.com>
15322
bcfe3a54
ST
15323 [BZ #13979]
15324 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15325 checking but the checks are disabled for any reason.
05c2c961 15326
4b30f61a
L
153272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15328
15329 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15330 and ELF64_R_TYPE with ELFW(R_TYPE).
15331
eee2bc67
JM
153322012-05-08 Joseph Myers <joseph@codesourcery.com>
15333
7ea5391a
JM
15334 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15335 (ulimit): Likewise.
15336
eee2bc67
JM
15337 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15338 (settimeofday): Likewise.
15339
abb66a67
MF
153402012-05-08 Mike Frysinger <vapier@gentoo.org>
15341
15342 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15343 a struct th_u2 inside the union, and move tu_block/tu_code into
15344 a new th_u3 union of tu_block/tu_code inside of that. Move
15345 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15346 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15347 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15348 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15349 (th_stuff): Change to th_u1.tu_stuff.
15350 (th_data): Define.
15351 (th_msg): Change to th_u1.th_u2.tu_data.
15352
7f18b530
DM
153532012-05-07 David S. Miller <davem@davemloft.net>
15354
05760585
DM
15355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15356
7f18b530
DM
15357 [BZ #14074]
15358 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15359 (SETUP_PIC_REG): Use it.
15360 (SETUP_PIC_REG_LEAF): Use it.
15361
495fd99f
JM
153622012-05-07 Joseph Myers <joseph@codesourcery.com>
15363
15364 [BZ #13885]
15365 [BZ #13923]
15366 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15367 USE_AS_EXPM1L.
15368 (EXPL_FINITE): Likewise.
15369 (FLDLOG): Likewise.
15370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15371 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15372 e_expl.S.
15373 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15374 USE_AS_EXPM1L.
15375 (EXPL_FINITE): Likewise.
15376 (FLDLOG): Likewise.
15377 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15378 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15379 e_expl.S.
15380 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15381 test of -max_value argument for long double.
15382 * sysdeps/i386/fpu/libm-test-ulps: Update.
15383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15384
6693d694
DM
153852012-05-06 David S. Miller <davem@davemloft.net>
15386
15387 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15388 quad soft-float symbols whose references which are compiler
15389 generated.
15390 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15391
6c23e11c
JM
153922012-05-06 Joseph Myers <joseph@codesourcery.com>
15393
d8b82cad
JM
15394 [BZ #13884]
15395 [BZ #13914]
15396 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15397 USE_AS_EXP10L.
15398 (EXPL_FINITE): Likewise.
15399 (FLDLOG): Likewise.
15400 (c0): Likewise.
15401 (c1): Likewise.
15402 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15403 Adjust comments for base varying.
15404 (__expl_finite): Change alias to EXPL_FINITE.
15405 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15406 e_expl.S.
15407 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15408 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15409 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15410 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15411 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15412 USE_AS_EXP10L.
15413 (EXPL_FINITE): Likewise.
15414 (FLDLOG): Likewise.
15415 (c0): Likewise.
15416 (c1): Likewise.
15417 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15418 Adjust comments for base varying.
15419 (__expl_finite): Change alias to EXPL_FINITE.
15420 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15421 tests for bugs.
15422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15423
6c23e11c
JM
15424 [BZ #14064]
15425 * math/libm-test.inc (check_float_internal): Correct ulp
15426 calculation for subnormal expected results.
15427
29ba805c
AJ
154282012-05-06 Andreas Jaeger <aj@suse.de>
15429
15430 * Makeconfig (+math-flags): New, set to -frounding-math.
15431 (+cflags): Add +math-flags so that all of glibc gets compiled with
15432 it.
15433
15434 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15435
7b17aeda
JM
154362012-05-05 Joseph Myers <joseph@codesourcery.com>
15437
5779f134
JM
15438 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15439 Disable one test.
15440
41498f4d
JM
15441 [BZ #13787]
15442 [BZ #13922]
15443 [BZ #14036]
15444 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15445 (__ieee754_expl): Allow for and saturate large arguments.
15446 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15447 (u_threshold): Likewise.
15448 (__exp): Call __ieee754_exp before checking for overflow and
15449 underflow.
15450 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15451 (u_threshold): Likewise.
15452 (__expf): Call __ieee754_expf before checking for overflow and
15453 underflow.
15454 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15455 (u_threshold): Likewise.
15456 (__expl): Call __ieee754_expl before checking for overflow and
15457 underflow.
15458 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15459 (__ieee754_expl): Allow for and saturate large arguments.
15460 * math/libm-test.inc (exp_test): Add another test. Do not allow
15461 missing overflow exception on overflow.
15462 (expm1_test): Do not allow missing overflow exception on overflow.
15463
6698b8bf
JM
15464 * sysdeps/i386/fpu/e_expl.c: Move to ...
15465 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15466 rather than using inline asm.
15467 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15468 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15469 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15470
7b17aeda
JM
15471 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15472 (nice): Likewise.
15473 (poll): Likewise.
15474 (signal): Likewise.
15475 (time): Likewise.
15476 (times): Likewise.
15477
f7c85819
JM
154782012-05-04 Joseph Myers <joseph@codesourcery.com>
15479
15480 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15481 sysdeps/unix/common/syscalls.list.
15482 (fchmod): Likewise.
15483 (fchown): Likewise.
15484 (ftruncate): Likewise.
15485 (getrusage): Likewise.
15486 (gettimeofday): Likewise.
15487 (setpgid): Likewise.
15488 (setregid): Likewise.
15489 (setreuid): Likewise.
15490 (sigaction): Likewise.
15491 (truncate): Likewise.
15492 (vhangup): Likewise.
15493 * sysdeps/unix/common/syscalls.list: Remove file.
15494 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15495 * sysdeps/unix/sysv/linux/Implies: Likewise.
15496
336270d0
L
154972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15498
15499 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15501 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15502 Moved to ...
15503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15504 Here.
15505 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15506 to ...
15507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15508 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15509 to ...
15510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15511 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15512 to ...
15513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15514 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15515 to ...
15516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15517 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15518 to ...
15519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15520 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15521 to ...
15522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15523 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15524 to ...
15525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15526 Here.
15527 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15528 to ...
15529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15530 Here.
15531 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15532 to ...
15533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15534 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15535 Moved to ...
15536 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15537 Here.
15538 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15539 to ...
15540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15541
d128e450
JM
155422012-05-04 Joseph Myers <joseph@codesourcery.com>
15543
fa8ee516
JM
15544 * sysdeps/unix/common/bits/dirent.h: Remove file.
15545 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15546
d128e450
JM
15547 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15548 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15549 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15550 * sysdeps/unix/bsd/isatty.c: Likewise.
15551 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15552 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15553 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15554
ff8faaf0 155552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15556
62881be4 15557 [BZ #13563]
31dc8730
AZ
15558 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15559 long double comparison inaccuracies.
15560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15562
6fef930c
AS
155632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15564
15565 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15566 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15567
8f203e6c
JM
155682012-05-04 Joseph Myers <joseph@codesourcery.com>
15569
15570 [BZ #14049]
15571 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15572 nonzero digits before rounding a hex value.
15573 * stdlib/tst-strtod.c (tests): Add another test.
15574
5197d9c2
AK
155752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15576
15577 * sysdeps/s390/fpu/libm-test-ulps: Update.
15578
f0c1dedf
AJ
155792012-05-03 Andreas Jaeger <aj@suse.de>
15580
15581 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15582 does not get optimized out.
15583 (malloc_opt_barrier): New.
15584
a65ef2ae 155852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15586 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15587
2b942cb7 15588 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15589 intermediate file deletion.
2b942cb7 15590 (generated): Add .symlist files.
a65ef2ae 15591
54b71e02
JM
155922012-05-03 Joseph Myers <joseph@codesourcery.com>
15593
15594 [BZ #13775]
15595 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15596 Redirect under this condition.
15597 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15598 [__USE_GNU] (__dprintf_chk): Not under this condition.
15599 [__USE_GNU] (__vdprintf_chk): Likewise.
15600 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15601 under this condition.
15602 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15603 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15604 [__USE_XOPEN2K8] (vdprintf): Likewise.
15605 [__USE_GNU] (__dprintf_chk): Not under this condition.
15606 [__USE_GNU] (__vdprintf_chk): Likewise.
15607 [__USE_GNU] (dprintf): Likewise.
15608 [__USE_GNU] (vdprintf): Likewise.
15609
d3dfcc41
RM
156102012-05-03 Roland McGrath <roland@hack.frob.com>
15611
15612 * elf/Makefile (common-generated): Set this instead of generated for
15613 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15614 $(all-built-dso)-derived lists.
15615
7ac30cc5
AJ
156162012-05-03 Andreas Jaeger <aj@suse.de>
15617
0c51e550
AJ
15618 * sysdeps/i386/fpu/libm-test-ulps: Update.
15619
7ac30cc5
AJ
15620 * FAQ: Removed.
15621 * FAQ.in: Likewise.
15622 * scripts/gen-FAQ.pl: Likewise.
15623 * manual/install.texi (Installation): Point to online location of
15624 FAQ.
15625 * Makefile (files-for-dist): Remove FAQ.
15626 (FAQ): Remove.
15627
d4c2917f
AM
156282012-05-02 Allan McRae <allan@archlinux.org>
15629
15630 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15631 (LDFLAGS-reldepmod5.so): Likewise.
15632 (LDFLAGS-reldep6mod1.so): Likewise.
15633 (LDFLAGS-reldep6mod4.so): Likewise.
15634 (LDFLAGS-reldep8mod3.so): Likewise.
15635 (LDFLAGS-unload4mod1.so): Likewise.
15636 (LDFLAGS-unload4mod2.so): Likewise.
15637 (LDFLAGS-tst-initorder): Likewise.
15638 (LDFLAGS-tst-initordera2.so): Likewise.
15639 (LDFLAGS-tst-initordera3.so): Likewise.
15640 (LDFLAGS-tst-initordera4.so): Likewise.
15641 (LDFLAGS-tst-initorderb2.so): Likewise.
15642 (LDFLAGS-noload): Likewise.
15643 (LDFLAGS-next): Likewise.
15644 (LDFLAGS-order2mod1.so): Likewise.
15645 (LDFLAGS-order2mod2.so): Likewise.
15646 (LDFLAGS-tst-initorder2): Likewise.
15647 (LDFLAGS-tst-initorder2a.so): Likewise.
15648 (LDFLAGS-tst-initorder2b.so): Likewise.
15649 (LDFLAGS-tst-initorder2c.so): Likewise.
15650 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15651
d77f993f
DM
156522012-05-02 David S. Miller <davem@davemloft.net>
15653
15654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15655
171a70b4
PP
156562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15657
15658 [BZ #14055]
15659 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15660
0be196ad
AJ
156612012-05-02 Andreas Jaeger <aj@suse.de>
15662
15663 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15664 since we manipulate rounding mode.
15665 (CPPFLAGS-test-idouble.c): Likewise.
15666 (CPPFLAGS-test-ifloat.c): Likewise.
15667 (CFLAGS-test-ldouble.c): Likewise.
15668 (CFLAGS-test-double.c): Likewise.
15669 (CFLAGS-test-float.c): Likewise.
15670 (CFLAGS-test-misc.c): Likewise.
15671 (CFLAGS-test-test-fenv.c): Likewise.
15672
4f9d04aa
AZ
156732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15674
2b942cb7
RM
15675 [BZ #2550]
15676 [BZ #2570]
15677 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15678 comparisons to determine direction to adjust input.
4f9d04aa 15679
82a79e7d
RM
156802012-05-01 Roland McGrath <roland@hack.frob.com>
15681
f5a01ca9
RM
15682 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15683 output to the target.
15684
90fe4186
RM
15685 * scripts/localplt.awk: New file.
15686 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15687 (check-localplt-CFLAGS): Variable removed.
15688 ($(all-built-dso:=.jmprel)): New static pattern rule.
15689 (generated): Add those targets.
15690 (localplt-built-dso): New variable.
15691 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15692
15693 * elf/check-localplt.c: File removed.
15694
82397ed6
RM
15695 * scripts/check-execstack.awk: New file.
15696 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15697 (check-execstack-CFLAGS): Variable removed.
15698 ($(objpfx)check-execstack.h): Target removed.
15699 ($(objpfx)execstack-default): New target.
15700 (generated): Add that instead of check-execstack.h.
15701 ($(all-built-dso:=.phdr)): New static pattern rule.
15702 (generated): Add those targets.
15703 * elf/check-execstack.c: File removed.
15704
82a79e7d
RM
15705 * scripts/check-textrel.awk: New file.
15706 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15707 (check-textrel-CFLAGS): Variable removed.
15708 (all-built-dso): Use := to define.o
15709 ($(all-built-dso:=.dyn)): New static pattern rule.
15710 (generated): Add those targets.
15711 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15712 * config.make.in (READELF): New substituted variable.
15713 * elf/check-textrel.c: File removed.
15714
62fde54f 157152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15716
615605c9
JM
15717 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15718 allow.
15719 * conform/data/ctype.h-data [C99-based standards] (isblank):
15720 Expect function.
15721 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15722 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15724 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15725 Specify type. Require positive value.
15726 (EILSEQ): Likewise.
15727 (ERANGE): Likewise.
15728 [ISO || POSIX] (EILSEQ): Do not expect.
15729 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15730 Specify type. Require positive value.
15731 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15732 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15733 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15734 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15735 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15736 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15737 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15738 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15739 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15740 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15741 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15742 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15743 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15744 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15745 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15746 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15747 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15748 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15749 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15750 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15751 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15752 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15753 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15754 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15755 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15756 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15757 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15758 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15759 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15760 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15761 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15762 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15763 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15764 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15765 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15766 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15767 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15768 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15769 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15770 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15771 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15772 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15773 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15774 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15775 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15776 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15777 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15778 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15779 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15780 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15781 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15784 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15786 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15805 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15806 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15807 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15808 Require >= 2.
15809 (FLT_ROUNDS): Expect as macro, not constant.
15810 (FLT_MANT_DIG): Use macro-int-constant.
15811 (DBL_MANT_DIG): Likewise.
15812 (LDBL_MANT_DIG): Likewise.
15813 (FLT_DIG): Likewise.
15814 (DBL_DIG): Likewise.
15815 (LDBL_DIG): Likewise.
15816 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15817 (DBL_MIN_EXP): Likewise.
15818 (LDBL_MIN_EXP): Likewise.
15819 (FLT_MAX_EXP): Use macro-int-constant.
15820 (DBL_MAX_EXP): Likewise.
15821 (LDBL_MAX_EXP): Likewise.
15822 (FLT_MAX_10_EXP): Likewise.
15823 (DBL_MAX_10_EXP): Likewise.
15824 (LDBL_MAX_10_EXP): Likewise.
15825 (FLT_MAX): Use macro-constant.
15826 (DBL_MAX): Likewise.
15827 (LDBL_MAX): Likewise.
15828 (FLT_EPSILON): Use macro-constant. Give upper bound.
15829 (DBL_EPSILON): Likewise.
15830 (LDBL_EPSILON): Likewise.
15831 (FLT_MIN): Likewise.
15832 (DBL_MIN): Likewise.
15833 (LDBL_MIN): Likewise.
15834 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15835 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15836 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15837 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15838 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15839 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15840 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15841 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15842 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15843 [ISO11] (FLT_TRUE_MIN): Likewise.
15844 [ISO11] (LDBL_TRUE_MIN): Likewise.
15845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15846 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15847 (SCHAR_MIN): Use macro-int-constant. Specify type.
15848 (SCHAR_MAX): Likewise.
15849 (UCHAR_MAX): Likewise.
15850 (CHAR_MIN): Likewise.
15851 (CHAR_MAX): Likewise.
15852 (MB_LEN_MAX): Use macro-int-constant.
15853 (SHRT_MIN): Use macro-int-constant. Specify type.
15854 (SHRT_MAX): Likewise.
15855 (USHRT_MAX): Likewise.
15856 (INT_MAX): Likewise.
15857 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15858 bound negative.
15859 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15860 bound with "U".
15861 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15862 bound with "L".
15863 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15864 bound negative. Suffix upper bound with "L".
15865 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15866 bound with "UL".
15867 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15868 Specify type.
15869 [C99-based standards] (LLONG_MAX): Likewise.
15870 [C99-based standards] (ULLONG_MAX): Likewise.
15871 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15872 == 0.
15873 [ISO11] (max_align_t): Require type.
15874 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15875
c9140a62
JM
15876 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15877 from $CFLAGS, without defining away __attribute__ calls.
15878 (checknamespace): Use $CFLAGS_namespace.
15879
9af0bf29
JM
15880 * conform/conformtest.pl (@keywords): Only include C99 keywords
15881 for standards based on C99 or C11.
15882
343222a2
JM
15883 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15884 Disable tests.
15885 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15886 UNIX98]: Likewise.
15887
661f8cf0
JM
15888 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15889 usability of symbols in #if.
15890
ee74b9cb
JM
15891 * conform/conformtest.pl: If macro or constant types start
15892 "promoted:", expect the symbol to be of the following type
15893 promoted by the integer promotions.
62fde54f 15894
aafc49b3
JM
15895 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15896 in one place. Also handle "macro-constant".
15897
fefdf574
JM
15898 * conform/conformtest.pl: Only accept expected macro values with
15899 "==". Parse all "macro" lines in one place.
15900 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15901
f2d922fe
JM
15902 * conform/conformtest.pl: Handle braced types on "constant" lines
15903 instead of handling "typed-constant".
15904 * conform/data/signal.h-data: Use "constant" instead of
15905 "typed-constant".
15906
d22956c9
JM
15907 * conform/conformtest.pl: Handle "optional-" at start of lines in
15908 one place rather than duplicating several cases. Handle each
15909 format of "macro" line with initial "optional-".
15910
028e2e38
JM
15911 * conform/conformtest.pl: Only accept expected constant or
15912 optional-constant values with "==". Parse all "constant" lines in
15913 one place. Parse all "optional-constant" lines in one place.
15914 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15915 * conform/data/fmtmsg.h-data: Likewise.
15916 * conform/data/netinet/in.h-data: Likewise.
15917 * conform/data/tar.h-data: Likewise.
15918 * conform/data/limits.h-data: Use "==" form on "constant" and
15919 "optional-constant" lines.
15920
1b8f2850
JM
15921 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15922 Use -std=c99 for XOPEN2K.
15923 (@knownproblems): Remove.
15924 (newtoken): Don't check %isknown.
15925
a05a144b
JM
15926 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15927 Do not expect macro.
15928 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15929 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15930 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15931 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15932 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15933 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15934 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15935 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15936 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15937 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15938 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15939 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15940 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15941 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15942 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15943 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15944 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15945 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15946 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15947 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15948 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15949 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15950 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15951 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15952 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15953 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15954 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15955 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15956 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15957 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15958 [XPG3] (acosh): Likewise.
15959 [XPG3] (asinh): Likewise.
15960 [XPG3] (atanh): Likewise.
15961 [XPG3] (cbrt): Likewise.
15962 [XPG3] (expm1): Likewise.
15963 [XPG3] (ilogb): Likewise.
15964 [XPG3] (log1p): Likewise.
15965 [XPG3] (logb): Likewise.
15966 [XPG3] (nextafter): Likewise.
15967 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15968 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15969 [XPG3] (remainder): Likewise.
15970 [XPG3] (rint): Likewise.
15971 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15972 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15973 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15974 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15975 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15976 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15977 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15978 [UNIX98 || XOPEN2K] (scalb): Expect.
15979 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15980 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15981 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15982 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15983 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15995 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15996 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16013 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16014 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16015 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16016 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16017 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16018 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16019 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16020 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16021 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16024 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16025 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16033 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16034 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16035 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16038 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16039 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16042 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16043 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16058 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16059 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16060 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16061 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16063 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16064 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16066 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16067 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16068 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16071 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16080 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16081 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16083 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16084 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16116
73c5ebe3
JM
16117 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16118 _XOPEN_SOURCE_EXTENDED for XPG4.
16119
39c33b6c
JM
16120 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16121
62fde54f
JM
16122 * Makeconfig (localtime): Remove variable.
16123 (inst_localtime-file): Likewise.
16124
0741d64c
AS
161252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16126
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16128 Update.
16129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16130 Update.
16131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16132 Update.
16133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16134 Update.
16135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16136 Update.
16137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16138 Update.
16139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16140 Update.
16141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16142 Update.
16143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16144 Update.
16145
7cb029ee
JM
161462012-05-01 Joseph Myers <joseph@codesourcery.com>
16147
16148 [BZ #2550]
16149 [BZ #2570]
16150 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16151 comparisons to determine direction to adjust input.
16152 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16153 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16154 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16155 Likewise.
16156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16157 Likewise.
16158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16159 Likewise.
16160 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16161 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16162 Likewise.
16163 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16164 Likewise.
16165 * math/libm-test.inc (nexttoward_test): Add more tests.
16166
412bd966
AS
161672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16168
16169 [BZ #14040]
16170 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16171 in version GLIBC_2.1, not GLIBC_2.0.
16172 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16173 Likewise.
16174
9568c0c2
JM
161752012-04-30 Joseph Myers <joseph@codesourcery.com>
16176
adfbc8ac
JM
16177 [BZ #13942]
16178 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16179 (1 - x) * (1 + x).
16180 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16181 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16182 * math/libm-test.inc (acos_test): Add more tests.
16183 (asin_test): Likewise.
16184 * sysdeps/i386/fpu/libm-test-ulps: Update.
16185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16186
5ba3cc69
JM
16187 [BZ #14034]
16188 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16189 of square root.
16190 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16191 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16192 * math/libm-test.inc (acos_test_tonearest): New function.
16193 (acos_test_towardzero): Likewise.
16194 (acos_test_downward): Likewise.
16195 (acos_test_upward): Likewise.
16196 (asin_test_tonearest): Likewise.
16197 (asin_test_towardzero): Likewise.
16198 (asin_test_downward): Likewise.
16199 (asin_test_upward): Likewise.
16200 (main): Call the new functions.
16201 * sysdeps/i386/fpu/libm-test-ulps: Update.
16202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16203
9568c0c2
JM
16204 [BZ #13884]
16205 [BZ #13924]
16206 * math/e_exp10.c: Include <float.h>.
16207 (__ieee754_exp10): Handle underflow here rather than multiplying
16208 large negative argument by M_LN10.
16209 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16210 of __ieee754_expf.
16211 * math/e_exp10l.c: Include <float.h>.
16212 (__ieee754_exp10l): Handle underflow here rather than multiplying
16213 large negative argument by M_LN10l.
16214 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16215 spurious overflow exception on underflow.
16216
5ac3ea17
MP
162172012-04-29 Marek Polacek <polacek@redhat.com>
16218
16219 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16220 (__fortify_function): New macro.
16221 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16222 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16223 __extern_always_inline.
16224 * libio/bits/stdio2.h: Likewise.
16225 * libio/bits/stdio.h: Likewise.
16226 * string/string.h: Likewise.
16227 * string/bits/string3.h: Likewise.
16228 * include/stdio.h: Likewise.
16229 * stdlib/bits/stdlib.h: Likewise.
16230 * stdlib/stdlib.h: Likewise.
16231 * rt/bits/mqueue2.h: Likewise.
16232 * rt/mqueue.h: Likewise.
16233 * posix/bits/unistd.h: Likewise.
16234 * posix/unistd.h: Likewise.
16235 * io/bits/poll2.h: Likewise.
16236 * io/bits/fcntl2.h: Likewise.
16237 * io/fcntl.h: Likewise.
16238 * io/sys/poll.h: Likewise.
16239 * misc/bits/syslog.h: Likewise.
16240 * misc/bits/syslog-ldbl.h: Likewise.
16241 * misc/sys/syslog.h: Likewise.
16242 * socket/bits/socket2.h: Likewise.
16243 * socket/sys/socket.h: Likewise.
16244 * debug/tst-chk1.c: Likewise.
16245 * wcsmbs/bits/wchar2.h: Likewise.
16246 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16247 * wcsmbs/wchar.h: Likewise.
16248
ecf0ebfb
AJ
162492012-04-29 Andreas Jaeger <aj@suse.de>
16250
16251 * Makerules (tests): Remove enable-check-abi protection.
16252 (check-abi-warn): Remove.
16253 (check-abi-%): Remove check-abi-warn usage.
16254
16255 * configure.in: Remove check-abi configure option.
16256 * configure: Regenerated.
16257 * config.make.in (enable-check-abi): Remove.
16258
6d5c57fa
AS
162592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16260
24c5d07e 16261 [BZ #14033]
ded5180a
AS
16262 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16263 double functions to double *_finite functions.
16264
7e0d315d
AS
16265 [BZ #13941]
16266 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16267 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16268 LDBL_MIN_EXP.
16269 * stdio-common/Makefile (tests): Add tst-sprintf3.
16270 * stdio-common/tst-sprintf3.c: New file.
16271
6d5c57fa
AS
16272 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16273 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16274
0749ff8b
JM
162752012-04-28 Joseph Myers <joseph@codesourcery.com>
16276
16277 * conform/conformtest.pl: Remove duplicate typed-constant
16278 handling.
16279
8dbd5d7b
DM
162802012-04-28 David S. Miller <davem@davemloft.net>
16281
16282 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16283 (check-abi-%): Remove AWK script prerequisite and explicit
16284 abilist directory.
16285 (check-abi): Rewrite to just diff the symlist with the abilist.
16286 (config-tls, config-abi-config): Delete, no longer used.
16287 (update-abi-%): Remove AWK script and explicit abilist directory.
16288 (update-abi): Rewrite to simply compare and conditionally copy the
16289 symlist and the sysdep abilist file. Remove update-abi-config
16290 checks.
16291 * abilist/ld.abilist: Remove.
16292 * abilist/libBrokenLocale.abilist: Remove.
16293 * abilist/libanl.abilist: Remove.
16294 * abilist/libcrypt.abilist: Remove.
16295 * abilist/libdl.abilist: Remove.
16296 * abilist/librt.abilist: Remove.
16297 * abilist/libthread_db.abilist: Remove.
16298 * abilist/libutil.abilist: Remove.
16299 * scripts/extract-abilist.awk: Remove.
16300 * scripts/merge-abilist.awk: Remove.
16301 * sysdeps/generic/libcidn.abilist: New file.
16302 * sysdeps/generic/libnss_compat.abilist: New file.
16303 * sysdeps/generic/libnss_db.abilist: New file.
16304 * sysdeps/generic/libnss_dns.abilist: New file.
16305 * sysdeps/generic/libnss_files.abilist: New file.
16306 * sysdeps/generic/libnss_hesiod.abilist: New file.
16307 * sysdeps/generic/libnss_nis.abilist: New file.
16308 * sysdeps/generic/libnss_nisplus.abilist: New file.
16309 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16310 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16311 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16312 file.
16313 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16314 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16315 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16316 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16317 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16318 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16319 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16320 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16321 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16322 file.
16323 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16324 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16325 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16326 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16327 file.
16328 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16329 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16330 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16331 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16332 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16333 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16334 file.
16335 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16336 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16337 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16338 file.
16339 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16341 New file.
16342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16343 New file.
16344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16345 New file.
16346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16347 New file.
16348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16349 New file.
16350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16351 New file.
16352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16353 New file.
16354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16355 New file.
16356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16357 New file.
16358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16359 New file.
16360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16361 New file.
16362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16363 New file.
16364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16365 New file.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16367 file.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16369 New file.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16371 New file.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16373 file.
16374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16375 New file.
16376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16377 New file.
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16379 file.
16380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16381 New file.
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16383 New file.
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16385 New file.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16387 New file.
16388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16389 New file.
16390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16391 New file.
16392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16394 file.
16395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16396 New file.
16397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16398 file.
16399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16400 file.
16401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16402 file.
16403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16404 file.
16405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16406 file.
16407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16408 New file.
16409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16410 file.
16411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16412 file.
16413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16414 New file.
16415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16416 file.
16417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16419 file.
16420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16421 New file.
16422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16423 file.
16424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16425 file.
16426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16427 file.
16428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16429 file.
16430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16431 file.
16432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16433 New file.
16434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16435 file.
16436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16437 file.
16438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16439 New file.
16440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16441 file.
16442 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16443 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16444 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16445 file.
16446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16447 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16448 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16449 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16450 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16451 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16452 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16453 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16454 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16455 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16458 file.
16459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16460 New file.
16461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16462 file.
16463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16464 file.
16465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16466 file.
16467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16468 file.
16469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16470 file.
16471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16472 New file.
16473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16474 New file.
16475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16476 file.
16477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16478 New file.
16479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16480 file.
16481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16483 file.
16484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16485 New file.
16486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16487 file.
16488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16489 file.
16490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16491 file.
16492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16493 file.
16494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16495 file.
16496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16497 New file.
16498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16499 New file.
16500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16501 file.
16502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16503 New file.
16504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16505 file.
16506
41d73a1b
JM
165072012-04-28 Joseph Myers <joseph@codesourcery.com>
16508
16509 * conform/conformtest.pl: Fix typo in handling typed-constant from
16510 allow-header.
16511
28aeeda4
JM
165122012-04-27 Joseph Myers <joseph@codesourcery.com>
16513
adae8f5e
JM
16514 * README: Cut down references to pre-2.6 Linux kernels and
16515 Linuxthreads. Update lists of configurations in libc and ports
16516 and sort alphabetically. Say "or newer" with Linux kernel version
16517 requirements.
16518
28aeeda4
JM
16519 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16520
a462cb63
RA
165212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16522
16523 [BZ #887]
16524 * math/libm-test.inc (logb_test_downward): New test to expose
16525 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16526 rounding mode.
16527
6ad3493e
JM
165282012-04-27 Joseph Myers <joseph@codesourcery.com>
16529
16530 [BZ #14027]
16531 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16532 to be done.
16533 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16534 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16535
2ce4f015
JM
165362012-04-26 Joseph Myers <joseph@codesourcery.com>
16537
5aeb141a
JM
16538 * sysdeps/unix/i386/brk.S: Remove file.
16539 * sysdeps/unix/i386/dl-brk.S: Likewise.
16540 * sysdeps/unix/i386/pipe.S: Likewise.
16541 * sysdeps/unix/i386/sigreturn.S: Likewise.
16542 * sysdeps/unix/i386/syscall.S: Likewise.
16543 * sysdeps/unix/i386/vfork.S: Likewise.
16544 * sysdeps/unix/i386/wait.S: Likewise.
16545
7143acae
JM
16546 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16547 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16548
2ce4f015
JM
16549 * configure.in (arm*-none*): Do not allow without
16550 --enable-hacker-mode.
16551 (netbsd*): Remove case setting base_os.
16552 (386bsd*): Likewise.
16553 (freebsd*): Likewise.
16554 (bsdi*): Likewise.
16555 (osf*): Likewise.
16556 (sunos*): Likewise.
16557 (ultrix*): Likewise.
16558 (newsos*): Likewise.
16559 (dynix*): Likewise.
16560 (*bsd*): Likewise.
16561 (sysv*): Likewise.
16562 (isc*): Likewise.
16563 (esix*): Likewise.
16564 (sco*): Likewise.
16565 (minix*): Likewise.
16566 (irix4*): Likewise.
16567 (irix6*): Likewise.
16568 (solaris[2-9]*): Likewise.
16569 (none): Likewise.
16570 * configure: Regenerated.
16571
0ac229c8
AZ
165722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16573
16574 [BZ #11521]
16575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16576 overflow or cancellation in calculating denominator.
16577 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16578 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16579 down expression to avoid unexpected rounding in newer GCCs.
16580 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16581
33f244f4
DM
165822012-04-26 David S. Miller <davem@davemloft.net>
16583
16584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16585 long-double compat symbols.
16586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16599
cfa1f3e8
DM
166002012-04-25 David S. Miller <davem@davemloft.net>
16601
16602 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16603 HWCAP_* values only after the memory barriers have been defined.
16604 (atomic_full_barrier): Define.
16605 (atomic_read_barrier): Define.
16606 (atomic_write_barrier): Define.
16607
6e236b92
SP
166082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16609
16610 * shlib-versions: Add libgcc_s version information.
16611 * sysdeps/generic/libgcc_s.h: Remove.
16612 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16613 libgcc_s.h.
16614 * sysdeps/gnu/unwind-resume.c: Likewise.
16615 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16616
aab39a09
DM
166172012-04-25 David S. Miller <davem@davemloft.net>
16618
16619 * sysdeps/unix/sparc/brk.S: Delete.
16620 * sysdeps/unix/sparc/dl-brk.S: Delete.
16621 * sysdeps/unix/sparc/pipe.S: Delete.
16622 * sysdeps/unix/sparc/sysdep.S: Delete.
16623 * sysdeps/unix/sparc/sysdep.h: Delete.
16624 * sysdeps/unix/sparc/vfork.S: Delete.
16625 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16626 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16627 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16628 ret_ERRVAL, r0, r1, MOVE): Define.
16629 (JUMPTARGET): Remove.
16630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16631 sysdeps/unix/sparc/sysdep.h
16632 (ENTRY, END): Remove.
16633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16634
a3cc4f48
JM
166352012-04-25 Joseph Myers <joseph@codesourcery.com>
16636
2ed8cda2
JM
16637 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16638 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16639 -DIS_IN_build.
16640
35d76d59
JM
16641 * timezone/README: Update upstream location and email address for
16642 tzcode and tzdata.
16643 * timezone/zdump.c: Update from tzcode 2012b.
16644 * timezone/zic.c: Likewise.
16645
a3cc4f48
JM
16646 * configure.in (libc_cv_as_needed): Remove test.
16647 * configure: Regenerated.
16648 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16649 conditional definition.
16650 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16651 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16652 * config.make.in (have-as-needed): Remove variable.
16653
ceab42c3
SP
166542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16655 Paul Pluzhnikov <ppluzhnikov@google.com>
16656
16657 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16658 strings correctly.
16659
3ce2865f
CLT
166602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16661
16662 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16663 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16664 * sysdeps/sh/strlen.S: Likewise.
16665
f37e0d68
JM
166662012-04-24 Joseph Myers <joseph@codesourcery.com>
16667
ae186e9a
JM
16668 * sysdeps/unix/fork.S: Remove file.
16669 * sysdeps/unix/i386/fork.S: Likewise.
16670 * sysdeps/unix/sparc/fork.S: Likewise.
16671
b96914af
JM
16672 * sysdeps/unix/system.c: Remove file.
16673 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16674
f37e0d68
JM
16675 * sysdeps/unix/getegid.S: Remove file.
16676 * sysdeps/unix/geteuid.S: Likewise.
16677
87ef29ca
RM
166782012-04-24 Roland McGrath <roland@hack.frob.com>
16679
83bcd236
RM
16680 * scripts/check-localplt.awk: New file.
16681 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16682 of diff.
16683 * scripts/data/localplt-generic.data: Add a comment.
16684
87ef29ca
RM
16685 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16686 NODE when __dir_mkfile failed.
16687 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16688 Reported by Ludovic Courtès <ludo@gnu.org>.
16689
e5a6e567
AJ
166902012-04-24 Andreas Jaeger <aj@suse.de>
16691
16692 * Makerules (common-clean): Also remove gen-as-const-headers
16693 files.
16694
c1820385
JM
166952012-04-24 Joseph Myers <joseph@codesourcery.com>
16696
16697 * Makerules (native-compile): Do not change working directory for
16698 build. Use $(OUTPUT_OPTION) in command.
16699 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16700
94e02fc4
AZ
167012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16702
16703 [BZ #13886]
16704 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16705 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16706 * math/libm-test.inc (floor_test): Add more tests.
16707 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16708
3a533ca3
JM
167092012-04-24 Joseph Myers <joseph@codesourcery.com>
16710
940ab4b3
JM
16711 * sysdeps/unix/getdents.c: Remove file.
16712 * sysdeps/unix/sysv/getdents.c: Likewise.
16713 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16714
90e037bd
JM
16715 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16716 sysdeps/unix/mman/syscalls.list.
16717 (mmap): Likewise.
16718 (mprotect): Likewise.
16719 (msync): Likewise.
16720 (munmap): Likewise.
16721 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16722 * sysdeps/unix/mman/syscalls.list: Remove.
16723 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16724
3a533ca3
JM
16725 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16726 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16727 * configure: Regenerated.
16728 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16729 $(libgcc_s_suffix).
16730 * config.make.in (libgcc_s_suffix): Remove variable.
16731
1ad743de
JM
167322012-04-23 Joseph Myers <joseph@codesourcery.com>
16733
4ad451e2
JM
16734 * sysdeps/unix/sysv/gethostname.c: Move to ...
16735 * sysdeps/posix/gethostname.c: ... here.
16736
5e37ce39
JM
16737 * sysdeps/unix/execve.S: Remove file.
16738
1ad743de
JM
16739 * sysdeps/unix/_exit.S: Remove file.
16740
4e681b5b
AJ
167412012-04-23 Andreas Jaeger <aj@suse.de>
16742
16743 [BZ #13739]
16744 * manual/Makefile: Remove make dist support, there's no
16745 need for a stand-alone documentation tar ball.
16746 (TEXI2DVI): Define always, it's not in Makeconfig.
16747 (dist): Removed.
16748 (tar-it): Removed.
16749 (edition): Removed.
16750 (glibc-doc-$(edition).tar): Removed
16751 (%.Z): Removed.
16752 (%.gz): Removed.
16753 (%.uu): Removed.
16754 (ETAGS): Remove, it's in Makeconfig.
16755 (move-if-change): Remove, it's in Makeconfig.
16756
38686a03 167572012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16758
16759 [BZ #13970]
16760 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16761 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16762 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16763 (strtod_l, strtof_l, strtold_l): Remove __wur.
16764 It is not necessarily an error to ignore strtol's return value.
16765 One can reliably look at the stored endptr to decide whether
16766 the number had valid syntax.
16767
7c0616fa
AJ
167682012-04-21 Andreas Jaeger <aj@suse.de>
16769
803cb6b7 16770 [BZ #13739]
7c0616fa
AJ
16771 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16772
b0fe253f
JM
167732012-04-21 Joseph Myers <joseph@codesourcery.com>
16774
16775 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16776 * sysdeps/unix/sysv/Versions: Remove file.
16777
8280f22d
MT
167782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16779
16780 [BZ #13927]
16781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16782
75ce411f 167832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16784
16785 [BZ #7064]
16786 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16787 version from __vm86.
16788
097d59fa
JM
167892012-04-20 Joseph Myers <joseph@codesourcery.com>
16790
a90f3bcb
JM
16791 * sysdeps/unix/common/lxstat.c: Remove file.
16792 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16793
edc7ea78
JM
16794 * sysdeps/unix/sysv/Makefile: Remove file.
16795
cb78c221
JM
16796 * sysdeps/unix/sysv/direct.h: Remove file.
16797
efa6a45f
JM
16798 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16799 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16800 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16801 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16802 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16803 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16804 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16805
9c9f2d0c
JM
16806 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16807
4541c83b
JM
16808 * sysdeps/unix/xmknod.c: Remove file.
16809 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16810
f5d153a0
JM
16811 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16812
aa746595
JM
16813 * sysdeps/unix/sysv/i386/time.S: Remove file.
16814
cce5905e
JM
16815 * sysdeps/unix/fxstat.c: Remove file.
16816 * sysdeps/unix/xstat.c: Likewise.
16817 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16818
37fa3841
JM
16819 * sysdeps/unix/sysv/sigaction.c: Remove file.
16820
ff1962a3
JM
16821 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16822 (sysdep_headers): Remove variable.
16823 [termio.h not in sysdep_headers] (generated): Likewise.
16824 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16825 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16826 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16827 * sysdeps/unix/sysv/tcflow.c: Likewise.
16828 * sysdeps/unix/sysv/tcflush.c: Likewise.
16829 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16830 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16831 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16832 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16833 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16834
e7740d31
JM
16835 * sysdeps/unix/siglist.c: Remove file.
16836
ee06f18b
JM
16837 * sysdeps/unix/getppid.S: Remove file.
16838
097d59fa
JM
16839 * sysdeps/unix/mkdir.c: Remove file.
16840 * sysdeps/unix/rmdir.c: Likewise.
16841
ff3d51ec
AS
168422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16843
16844 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16845 ERR_MAX value.
16846 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16847 errlist-compat value.
16848
50f81fd7
DM
168492012-04-18 David S. Miller <davem@davemloft.net>
16850
16851 * sysdeps/generic/memcopy.h (reg_char): Delete.
16852 * debug/strcat_chk.c: Use char, not reg_char.
16853 * debug/strcpy_chk.c: Likewise.
16854 * debug/strncat_chk.c: Likewise.
16855 * debug/strncpy_chk.c: Likewise.
16856 * string/memchr.c: Likewise.
16857 * string/memrchr.c: Likewise.
16858 * string/rawmemchr.c: Likewise.
16859 * string/strcat.c: Likewise.
16860 * string/strchr.c: Likewise.
16861 * string/strchrnul.c: Likewise.
16862 * string/strcmp.c: Likewise.
16863 * string/strcpy.c: Likewise.
16864 * string/strncat.c: Likewise.
16865 * string/strncmp.c: Likewise.
16866 * string/strncpy.c: Likewise.
16867
8ff41c46
WS
168682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16869
16870 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16871 __builtin_memcopy is called when src and dest ranges are known to not
16872 overlap.
16873
6b652f46
WS
168742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16875
16876 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16877 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16878 fwd_align_merge macro call.
16879 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16880 bwd_align_merge macro call.
16881 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16882
b282631e
WS
168832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16884
16885 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16886 bwd_align_merge macros.
16887 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16888 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16889 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16890
95aa737c
DM
168912012-04-18 David S. Miller <davem@davemloft.net>
16892
16893 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16894
7a99a614
AJ
168952012-04-18 Andreas Jaeger <aj@suse.de>
16896
16897 [BZ# 6794]
16898 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16899 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16900 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16901
16902 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16903 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16904 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16905
16906 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16907 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16908 Adjust for changed ldbl-128 files.
16909
16910 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16911 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16912 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16913
e5270c23
DM
169142012-04-17 David S. Miller <davem@davemloft.net>
16915
16916 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16917
fb5e92c9
AS
169182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16919
16920 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16921 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16922 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16923 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16924 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16925 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16926
76da7265
AZ
169272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16928
16929 [BZ #6794]
16930 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16931 * math/libm-test.inc: Add ilogb errno and exception tests.
16932 * math/w_ilogb.c: New file: ilogb wrapper.
16933 * math/w_ilogbf.c: New file: ilogbf wrapper.
16934 * math/w_ilogbl.c: New file: ilogbl wrapper.
16935 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16936 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16937 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16938 exception being thrown with 0.0 as argument.
16939 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16940 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16941 exception being thrown with 0.0 as argument.
16942 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16943 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16944 exception being thrown with 0.0 as argument.
16945 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16946 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16947 exception being thrown with 0.0 as argument.
16948 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16949 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16950 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16951 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16952 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16953 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16954 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16955 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16956 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16957
0396e69d
PB
169582012-04-17 Petr Baudis <pasky@ucw.cz>
16959
16960 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16961 with altivec.
16962
750b5926
MP
169632012-04-16 Marek Polacek <polacek@redhat.com>
16964
16965 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16966
751728a1
MP
169672012-04-16 Marek Polacek <polacek@redhat.com>
16968
16969 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16970 operands of fdivp instruction.
16971
34a27407
L
169722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16973
16974 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16975 * elf/tst-auditmod3b.c: Likewise.
16976 * elf/tst-auditmod4b.c: Likewise.
16977 * elf/tst-auditmod5b.c: Likewise.
16978 * elf/tst-auditmod6b.c: Likewise.
16979 * elf/tst-auditmod6c.c: Likewise.
16980 * elf/tst-auditmod7b.c: Likewise.
16981 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16982 * sysdeps/x86_64/preconfigure.in: Likewise.
16983 * sysdeps/x86_64/preconfigure: Regenerated.
16984
7e73e17d
L
169852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16986
16987 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16988 __ILP32__.
16989
c7a6ab72
AB
169902012-04-13 Antoine Balestrat <merkil33@gmail.com>
16991
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16993 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16994
a9e8e0e0
CL
169952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16996
16997 [BZ #13973]
16998 * locale/iso-639.def: Fix gl language name. Spotted by
16999 Yaron Shahrabani.
17000
ec98af7d
RM
170012012-04-12 Roland McGrath <roland@hack.frob.com>
17002
17003 [BZ #2074]
17004 * libio/libio.h (__io_write_fn): Update comment.
17005
247c3ede
PB
170062012-04-12 Petr Baudis <pasky@ucw.cz>
17007
17008 [BZ #2074]
17009 * stdio.texi (Hook Functions): The user provided writer function
17010 is not allowed to return -1.
17011
55939d6d
DM
170122012-04-11 David S. Miller <davem@davemloft.net>
17013
17014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17015
90020f5a
MF
170162012-04-11 Mike Frysinger <vapier@gentoo.org>
17017
17018 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17019 Add a leading slash to rtkaio.
17020
288f9098
JM
170212012-04-11 Jim Meyering <meyering@redhat.com>
17022
90020f5a
MF
17023 [BZ #11959]
17024 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17025 It is not necessarily an error to ignore fwrite's return
17026 value. One can reliably use ferror to test for errors after
17027 the fact.
288f9098 17028
4be2b570
L
170292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17030
17031 * bits/types.h (__snseconds_t): New type.
17032 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17033
17034 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17035 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17036 (__SNSECONDS_T_TYPE): Likewise.
17037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17038 (__SNSECONDS_T_TYPE): Likewise.
17039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17040 (__SNSECONDS_T_TYPE): Likewise.
17041
288f9098 170422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17043
17044 [BZ #2636]
17045 * manual/time.texi (Processor Time): Return type of times is
17046 elapsed real time since an arbitrary point in the past.
17047 (CPU Time): Move CLK_TCK from here...
17048 (Processor Time): ...to here. Correct description.
17049 * manual/conf.texi (Constants for Sysconf): Correct description of
17050 _SC_CLK_TCK.
17051
d7dd4413
DM
170522012-04-10 David S. Miller <davem@davemloft.net>
17053
17054 [BZ #13967]
17055 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17056 where the is a gap between DT_REL(A) and DT_JMPREL.
17057
b46068fc
L
170582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17059
17060 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17061 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17062 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17063
73d65cc3
SP
170642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17065
17066 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17067 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17068 (dl_main): Handle --inhibit-cache.
17069 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17070 _dl_inhibit_cache.
17071 * elf/dl-load.c (_dl_map_object): Use it.
17072 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17073
bcc8d661
JM
170742012-04-09 Joseph Myers <joseph@codesourcery.com>
17075
8f9a2fae
JM
17076 [BZ #13872]
17077 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17078 (__ieee754_powl): Saturate large exponents rather than testing for
17079 overflow of y*log2(x).
17080 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17081 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17082 exceptions.
17083
bcc8d661
JM
17084 [BZ #11521]
17085 * math/s_ctan.c: Include <float.h>.
17086 (__ctan): Avoid internal overflow or cancellation in calculating
17087 denominator.
17088 * math/s_ctanf.c: Likewise.
17089 * math/s_ctanl.c: Likewise.
17090 * math/s_ctanh.c: Likewise.
17091 * math/s_ctanhf.c: Likewise.
17092 * math/s_ctanhl.c: Likewise.
17093 * math/libm-test.inc (ctan_test): Add more tests.
17094 (ctanh_test): Likewise.
17095 * sysdeps/i386/fpu/libm-test-ulps: Update.
17096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17097
823fbbb4
AJ
170982012-04-09 Andreas Jaeger <aj@suse.de>
17099
03879793
AJ
17100 [BZ #6894]
17101 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17102 is an optional BSD extension.
17103
823fbbb4
AJ
17104 [BZ #10254]
17105 * manual/stdio.texi (Opening Streams): Document additional fopen
17106 parameters.
17107
8de131cb
RM
171082012-04-09 Roland McGrath <roland@hack.frob.com>
17109
17110 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17111 %eax without telling the compiler.
17112
c0ed9d7d
CD
171132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17114
17115 [BZ # 13963]
17116 * manual/install.texi: Use sourceware.org.
17117
c483f6b4
JM
171182012-04-09 Joseph Myers <joseph@codesourcery.com>
17119
d7dd9453
JM
17120 [BZ #13873]
17121 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17122 (__ieee754_pow): Generate overflow and underflow using huge*huge
17123 and tiny*tiny rather than just returning constant infinity or zero
17124 for large exponents.
17125 * math/libm-test.inc (pow_test): Require overflow exceptions for
17126 applicable cases of large exponents.
17127
c483f6b4
JM
17128 [BZ #706]
17129 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17130 (__ieee754_pow): Use iterative multiplication algorithm only for
17131 integer exponents with absolute value below 1024. Check for odd
17132 integer exponents when using algorithm for real exponents.
17133 * math/libm-test.inc (pow_test): Add more tests.
17134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17135
d2de7579
JM
171362012-04-08 Joseph Myers <joseph@codesourcery.com>
17137
17138 [BZ #13705]
17139 * math/libm-test.inc (exp_test): Do not allow overflow exception
17140 on underflow test.
17141
f77f1232
AJ
171422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17143
17144 [BZ #13705]
17145 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17146 instead of __kernel_standard_f.
17147
3884932b
MF
171482012-04-08 Mike Frysinger <vapier@gentoo.org>
17149
17150 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17151 * sysdeps/x86_64/memset_chk.S: Likewise.
17152
54472e9c
AJ
171532012-04-08 Andreas Jaeger <aj@suse.de>
17154
6ab0fbfc
AJ
17155 [BZ #10153]
17156 * manual/startup.texi (Environment Access): Describe return value
17157 for putenv and setenv.
17158
61efba8c
AJ
17159 [BZ #6895]
17160 * manual/filesys.texi (Directory Entries): Add description for
17161 DT_LNK.
17162
95c3f29a
AJ
17163 [BZ #6890]
17164 * manual/filesys.texi (Directory Entries): Clarify that it's file
17165 system not operating system in the description of DT_UNKNOWN.
17166
54472e9c
AJ
17167 [BZ #6578]
17168 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17169
624254b1
SC
171702012-04-08 Stephen Compall <s11@member.fsf.org>
17171
17172 [BZ #6649]
17173 * manual/llio.texi (Opening and Closing Files): Add cross
17174 reference to explain mode argument.
17175
1e4920e0
MF
171762012-04-07 Mike Frysinger <vapier@gentoo.org>
17177
17178 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17179 * sysdeps/x86_64/memset_chk.S: Likewise.
17180
5ed848f3
DM
171812012-04-07 David S. Miller <davem@davemloft.net>
17182
17183 * elf/elf.h (R_SPARC_WDISP10): Define.
17184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17185 R_SPARC_SIZE32.
17186 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17187 R_SPARC_SIZE64 and R_SPARC_H34.
17188
96154cd8
CD
171892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17190
17191 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17192 conditions and remove no longer applicable assertion.
17193
9904dc47
L
171942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17195
17196 * bits/byteswap.h: Include <features.h>.
17197 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17198 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17199
f8887d0a
L
172002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17201
17202 * bits/byteswap.h (__bswap_16): Removed.
17203 Include <bits/byteswap-16.h> to get __bswap_16.
17204 * sysdeps/i386/bits/byteswap.h: Likewise.
17205 * sysdeps/s390/bits/byteswap.h: Likewise.
17206 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17207 * bits/byteswap-16.h: New file.
17208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17209 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17210 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17211 * string/Makefile (headers): Add bits/byteswap-16.h.
17212
62470f60
PP
172132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17214
17215 [BZ #13895]
17216 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17217 extra indirection.
17218 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17219 * nss/tst-nss-static.c: New.
17220
4dad7bab
RM
172212012-04-06 Robert Millan <rmh@gnu.org>
17222
17223 [BZ #6486]
17224 * manual/llio.texi (File Position Primitive): lseek
17225 refers to WHENCE when it really means OFFSET.
17226
e9142a17
AJ
172272012-04-06 Andreas Jaeger <aj@suse.de>
17228
2c040eff
AJ
17229 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17230 strncmp declarations.
17231
e9142a17
AJ
17232 * abilist/libc.abilist: Add __poll and __ppoll.
17233
ff9f1c5f
DM
172342012-04-05 David S. Miller <davem@davemloft.net>
17235
dcd2ae90
DM
17236 * scripts/check-local-headers.sh: Accept a host triplet in the
17237 path matched by the exclude regexp.
17238
993eb054
DM
17239 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17240 definition.
17241 * sysdeps/powerpc/powerpc32/dl-machine.h
17242 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17243 * sysdeps/s390/s390-32/dl-machine.h
17244 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17245 * sysdeps/sparc/sparc32/dl-machine.h
17246 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17247 * sysdeps/sparc/sparc64/dl-machine.h
17248 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17249
ff9f1c5f
DM
17250 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17251 lazy binding.
48e2e132 17252 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17253 undefined symbol errors.
17254
48e2e132 17255 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17256 DT_NEEDED entries.
17257
e80d6f94
MM
172582012-04-05 Michael Matz <matz@suse.de>
17259
17260 [BZ #13592]
17261 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17262
349fa79f
AJ
172632012-04-05 Andreas Jaeger <aj@suse.de>
17264
17265 [BZ #13908]
17266 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17267 comment.
17268
f402708f
KK
172692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17270
17271 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17272 which ROUND is no valid rounding mode.
17273
2ecccfc9
KK
172742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17275
17276 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17277 read again.
17278 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17279
8a53f50f
KK
172802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17281
17282 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17283 an exception using FPU order intentionally.
17284
172852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17286
17287 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17288 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17289 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17290 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17291
d653abb7
SJ
172922012-04-05 Simon Josefsson <simon@josefsson.org>
17293
17294 [BZ #12340]
17295 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17296 EINVAL when BUFLEN is too smal.
17297
c3b1bf7d
TS
172982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17299
17300 [BZ #13553]
17301 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17302 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17303
b1aa60f3
AJ
173042012-04-03 Andreas Jaeger <aj@suse.de>
17305
c3b1bf7d 17306 [BZ #13938]
67f60a26
AJ
17307 * manual/setjmp.texi (System V contexts): Fix sentence.
17308
b1aa60f3
AJ
17309 [BZ #13926]
17310 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17311 New macro for this case.
17312 [!__GNUC__] (__bswap_64): New inline function for this case.
17313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17314 * bits/byteswap.h: Likewise.
17315 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17316 ull, guard with __GLIBC_HAVE_LONG_LONG.
17317
17318 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17319 __GLIBC_HAVE_LONG_LONG.
17320
17321 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17322 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17323
39c59c35
TMQMF
173242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17325
17326 [BZ #13691]
17327 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17328 inptr and inend, rather than using last_ch.
17329
135ffda8
DM
173302012-04-02 David S. Miller <davem@davemloft.net>
17331
17332 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17333 * stdio-common/printf-parse.h (read_int): Change return type to
17334 'int', return -1 on INT_MAX overflow.
17335 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17336 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17337 overflows INT_MAX. Check for overflow of in-format-string precision
17338 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17339 SIZE_MAX not INT_MAX for integer overflow test.
17340 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17341 skip the construct in the format string but do not record anything.
17342 * stdio-common/bug22.c: Adjust to test both width/prevision
17343 INT_MAX overflow as well as total length INT_MAX overflow. Check
17344 explicitly for proper errno values.
17345
228c019e
TS
173462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17347
302cadd3
TS
17348 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17349 CHAR_MAX.
17350 * string/test-strcmp.c [! WIDE]: Likewise.
17351 * time/tst-mktime2.c: Likewise for INT_MAX.
17352 * string/test-string.h: #include <sys/param.h> for MIN.
17353
228c019e
TS
17354 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17355 * sysdeps/i386/init-first.c (init): Likewise.
17356 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17357 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17358 * sysdeps/sh/init-first.c (init): Likewise.
17359
cfa633f5
UD
173602012-04-01 Ulrich Drepper <drepper@gmail.com>
17361
17362 * po/ru.po: Update from translation team.
d1635ef8 17363 * po/vi.po: Likewise.
cfa633f5 17364
6cd0a5ea
SP
173652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17366
17367 * resolv/nss_dns/dns-host.c: Merge copyright years.
17368
4b43400f
LD
173692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17370
17371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17372 Optimize memcpy with prefetch if
17373 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17374 src, dst pointers have unequal 16 byte alignments.
17375
48c41d04
SP
173762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17377
17378 [BZ #13928]
17379 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17380 from a CNAME entry and return the minimum ttl for the query.
17381 (gaih_getanswer_slice): Likewise.
17382
b8dc394d
JL
173832012-03-30 Jeff Law <law@redhat.com>
17384
17385 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17386 due to long keys.
17387 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17388 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17389
2f5a5ed0
JL
17390 * resolv/nss_dns/dns-host.c: Update copyright year.
17391
1d39e359
UD
173922012-03-30 Ulrich Drepper <drepper@gmail.com>
17393
c030f70c 17394 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17395 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17396
1d39e359
UD
17397 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17398 comments for sendmmsg.
17399
174002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17401
17402 [BZ #13691]
17403 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17404 with only 1 character between 0x0041 and 0x01b0.
17405 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17406 * wcsmbs/tst-mbsnrtowcs.c: New file.
17407
20fde227
DM
174082012-03-29 David S. Miller <davem@davemloft.net>
17409
17410 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17411 small copies by hand.
17412
984a4237
JL
174132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17414
17415 [BZ #13761]
17416 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17417 _nss_compat_initgroups_dyn): Fall back to malloc/free
17418 for large group memberships.
17419
18c9d62b
DM
174202012-03-28 David S. Miller <davem@davemloft.net>
17421
88d85d4f
DM
17422 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17423 that branches into memcpy.
17424 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17425 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17426 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17427 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17429 bits.
17430 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17431 implementation too.
17432 * sysdeps/sparc/mempcpy.S: New file.
17433
e5aa83e1
DM
17434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17435 the IFUNC routine in the libc case.
17436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17437
88570753
DM
17438 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17439 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17440 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17441 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17442 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17443 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17444 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17445 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17446
249d7567
DM
17447 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17448 loop to 256 bytes instead of 64 bytes and fix test signedness.
17449
18c9d62b
DM
17450 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17451 * sysdeps/sparc/sparc32/Makefile: rather than here...
17452 * sysdeps/sparc/sparc64/Makefile: and here.
17453
05f3d1f6
UD
174542012-03-28 Ulrich Drepper <drepper@gmail.com>
17455
17456 * malloc/mallocbug.c: Avoid warnings about unused variables.
17457
86ae07a8
JL
174582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17459
17460 [BZ #13760]
17461 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17462 in the right place. Discard and retry query if response is
17463 larger than input buffer size.
17464
41bf21a1
JM
174652012-03-28 Joseph Myers <joseph@codesourcery.com>
17466
d6270972
JM
17467 [BZ #369]
17468 [BZ #2678]
17469 [BZ #3866]
17470 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17471 x for large integer exponent.
17472 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17473 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17474 sign of result as needed afterwards.
17475 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17476 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17477 result for underflowing pow the same as for overflow.
17478 (__kernel_standard_l): Handle powl overflow and underflow here
17479 rather than calling __kernel_standard.
17480 * math/libm-test.inc (pow_test): Add more tests.
17481
414fca03 17482 [BZ #3868]
41bf21a1
JM
17483 [BZ #13879]
17484 [BZ #13910]
17485 [BZ #13911]
17486 [BZ #13912]
17487 [BZ #13913]
17488 [BZ #13915]
17489 [BZ #13916]
17490 [BZ #13917]
17491 [BZ #13918]
17492 [BZ #13919]
17493 [BZ #13920]
17494 [BZ #13921]
17495 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17496 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17497 (__kernel_standard_l): New function.
17498 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17499 __kernel_standard.
17500 * math/w_acosl.c (__acosl): Likewise.
17501 * math/w_asinl.c (__asinl): Likewise.
17502 * math/w_atan2l.c (__atan2l): Likewise.
17503 * math/w_atanhl.c (__atanhl): Likewise.
17504 * math/w_coshl.c (__coshl): Likewise.
17505 * math/w_exp10l.c (__exp10l): Likewise.
17506 * math/w_exp2l.c (__exp2l): Likewise.
17507 * math/w_fmodl.c (__fmodl): Likewise.
17508 * math/w_hypotl.c (__hypotl): Likewise.
17509 * math/w_j0l.c (__j0l, __y0l): Likewise.
17510 * math/w_j1l.c (__j1l, __y1l): Likewise.
17511 * math/w_jnl.c (__jnl, __ynl): Likewise.
17512 * math/w_lgammal.c (__lgammal): Likewise.
17513 * math/w_log10l.c (__log10l): Likewise.
17514 * math/w_log2l.c (__log2l): Likewise.
17515 * math/w_logl.c (__logl): Likewise.
17516 * math/w_powl.c (__powl): Likewise.
17517 * math/w_remainderl.c (__remainderl): Likewise.
17518 * math/w_scalbl.c (sysv_scalbl): Likewise.
17519 * math/w_sinhl.c (__sinhl): Likewise.
17520 * math/w_sqrtl.c (__sqrtl): Likewise.
17521 * math/w_tgammal.c (__tgammal): Likewise.
17522 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17523 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17524 * math/libm-test.inc (acos_test): Add more tests.
17525 (acosh_test): Likewise.
17526 (asin_test): Likewise.
17527 (atanh_test): Likewise.
17528 (exp_test): Likewise.
17529 (exp10_test): Likewise.
17530 (exp2_test): Likewise.
17531 (expm1_test): Likewise.
17532 (lgamma_test): Likewise.
17533 (log_test): Likewise.
17534 (log10_test): Likewise.
17535 (log1p_test): Likewise.
17536 (log2_test): Likewise.
17537 (pow_test): Do not allow some spurious overflow exceptions.
17538 (sqrt_test): Add more tests.
17539 (tgamma_test): Likewise.
17540 (y0_test): Likewise.
17541 (y1_test): Likewise.
17542 (yn_test): Likewise.
17543
dd62fda6
AB
175442012-03-27 Anton Blanchard <anton@samba.org>
17545
17546 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17547 MAP_HUGETLB.
17548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17549 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17551
1e3cdfda
AJ
175522012-03-27 David S. Miller <davem@davemloft.net>
17553
b855ab85
DM
17554 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17555
1e3cdfda
AJ
17556 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17557 have-as-vis3 check.
17558
175592012-03-27 Andreas Jaeger <aj@suse.de>
17560
17561 * sysdeps/x86_64/elf/configure.in: Moved to ...
17562 * sysdeps/x86_64/configure.in: ... here.
17563 * sysdeps/x86_64/elf/start.S: Moved to ...
17564 * sysdeps/x86_64/start.S: ... here.
17565 * sysdeps/x86_64/elf/configure: Delete.
17566
17567 * sysdeps/x86_64/configure.in: Merge contents from
17568 sysdeps/i386/configure.in (without i686 check).
17569
17570 * sysdeps/i386/elf/Versions: Merge into ...
17571 * sysdeps/i386/Versions: ... this.
17572 * sysdeps/i386/elf/Versions: Delete file.
17573 * sysdeps/i386/elf/start.S: Moved to ...
17574 * sysdeps/i386/start.S: ...here.
17575 * sysdeps/i386/elf/configure.in: Merge into...
17576 * sysdeps/i386/configure.in: ...here.
17577 * sysdeps/i386/elf/configure.in: Delete file.
17578 * sysdeps/i386/elf/configure: Delete file.
17579
17580 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17581 * debug/backtracesyms.c: ... here.
17582 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17583 * debug/backtracesymsfd.c: ... here.
17584 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17585 * sysdeps/generic/ifunc-sel.h: ... here.
17586
17587 * sysdeps/unix/i386/start.c: Delete file.
17588 * sysdeps/unix/sparc/start.c: Delete file.
17589 * sysdeps/unix/start.c: Delete file.
17590
17591 * sysdeps/sh/elf/configure.in: Moved to ...
17592 * sysdeps/sh/configure.in: ... here.
17593 * sysdeps/sh/elf/start.S: Moved to ...
17594 * sysdeps/sh/start.S: ... here.
17595 * sysdeps/sh/elf/configure: Delete file.
17596
17597 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17598 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17599 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17600 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17601 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17602 * sysdeps/powerpc/powerpc64/start.S: here.
17603 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17604 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17605 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17606 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17607 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17608
17609 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17610 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17611 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17612 * sysdeps/powerpc/powerpc32/start.S: ... here.
17613 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17614 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17615 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17616
17617 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17618 * sysdeps/powerpc/ifunc-sel.h: ... here.
17619 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17620 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17621
17622 * sysdeps/sparc/elf/configure.in: Moved to ...
17623 * sysdeps/sparc/configure.in: ... here.
17624 * sysdeps/sparc/elf/configure: Delete file.
17625 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17626 * sysdeps/sparc/sparc32/start.S: ... here.
17627 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17628 * sysdeps/sparc/sparc64/start.S: ... here.
17629 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17630 * sysdeps/sparc/sparc32/Makefile: ... this.
17631 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17632 * sysdeps/sparc/sparc64/Makefile: ... this.
17633
17634 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17635 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17636 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17637 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17638 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17639 * sysdeps/s390/s390-32/setjmp.S: ... here.
17640 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17641 * sysdeps/s390/s390-32/configure.in: ... here.
17642 * sysdeps/s390/s390-32/elf/configure: Delete file.
17643 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17644 * sysdeps/s390/s390-32/start.S: ... here.
17645
17646 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17647 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17648 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17649 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17650 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17651 * sysdeps/s390/s390-64/setjmp.S: ... here.
17652 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17653 * sysdeps/s390/s390-64/configure.in: ... here
17654 * sysdeps/s390/s390-64/elf/configure: Delete file.
17655 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17656 * sysdeps/s390/s390-64/start.S: ... here.
17657 * sysdeps/s390/s390-64/elf/configure: Delete.
17658
17659 * configure.in: Remove support for elf directories in sysdeps.
17660
17661 * configure: Regenerated.
17662 * sysdeps/i386/configure: Regenerated.
17663 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17664 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17665 * sysdeps/s390/s390-32/configure: Regenerated.
17666 * sysdeps/s390/s390-64/configure: Regenerated.
17667 * sysdeps/sh/configure: Regenerated.
17668 * sysdeps/sparc/configure: Regenerated.
17669 * sysdeps/x86_64/configure: Regenerated.
17670
a3f61311
AS
176712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17672
c876e002
AS
17673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17674
a3f61311
AS
17675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17676 denormal result into account.
17677
ac4c54f0
RM
176782012-03-25 Roland McGrath <roland@hack.frob.com>
17679
17680 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17681 Reported by Allan McRae <allan@archlinux.org>.
17682
6a9b9c02
JL
176832012-03-23 Jeff Law <law@redhat.com>
17684
17685 * nss/getnssent.c (__nss_getent): Fix typo.
17686
4c42a0c1
DM
176872012-03-23 David S. Miller <davem@davemloft.net>
17688
17689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17690
1532c7ac
L
176912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17692
17693 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17694 to pad to uint64_t for each field.
17695 (dl_tls_index): Replace unsigned long with uint64_t.
17696
3ff42526
PP
176972012-03-23 Daniel Jacobowitz <dmj@google.com>
17698 Paul Pluzhnikov <ppluzhnikov@google.com>
17699
17700 [BZ #6528]
17701 * grp/Makefile (otherlibs): Don't set it.
17702 * inet/Makefile (otherlibs): Likewise.
17703 * login/Makefile (otherlibs): Likewise.
17704 * nscd/Makefile (otherlibs): Likewise.
17705 * posix/Makefile (otherlibs): Likewise.
17706 * pwd/Makefile (otherlibs): Likewise.
17707 * rt/Makefile (otherlibs): Likewise.
17708 * sunrpc/Makefile (otherlibs): Likewise.
17709 * nss/Makefile (otherlibs): Likewise.
17710 Add libnss_files to routines and static-only-routines.
17711 ($(objpfx)getent): Remove rule.
17712 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17713 static-only-routines.
17714
7c69cd14
JM
177152012-03-22 Joseph Myers <joseph@codesourcery.com>
17716
17717 [BZ #13892]
17718 * math/s_cexp.c: Include <float.h>.
17719 (__cexp): Handle exp result overflowing not necessarily
17720 overflowing both real and imaginary parts of result.
17721 * math/s_cexpf.c: Likewise.
17722 * math/s_cexpl.c: Likewise.
17723 * math/libm-test.inc (cexp_test): Add more tests.
17724 * sysdeps/i386/fpu/libm-test-ulps: Update.
17725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17726
81b035fe
L
177272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17728
17729 * include/link.h (ELFW): New macro.
17730 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17731 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17732
1da7940c
L
177332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17734
17735 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17736 with uint64_t.
17737
b749dbb9
L
177382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17739
17740 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17741 declaration.
17742 (struct La_x32_retval): Likewise.
17743
2ff87f3f
L
177442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17745
17746 * sysdeps/x86_64/preconfigure.in: New file.
17747 * sysdeps/x86_64/preconfigure: New generated file.
17748
c0df8e69
JM
177492012-03-22 Joseph Myers <joseph@codesourcery.com>
17750
48e44791
JM
17751 [BZ #13824]
17752 * math/e_exp2l.c: Include <float.h>.
17753 (__ieee754_exp2l): Handle overflow and underflow cases
17754 separately. Only pass fractional part of argument to
17755 __ieee754_expl.
17756 * math/libm-test.inc (exp2_test): Add more tests.
17757
c0df8e69
JM
17758 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17759 negating x to take absolute value.
17760 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17761 Likewise.
17762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17764 Likewise.
17765 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17766 computing low part if x was negated.
17767 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17768
c8e43ba7
L
177692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17770
17771 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17772 la_x32_gnu_pltexit.
17773 (pltexit): Cast int_retval to ptrdiff_t.
17774 * elf/tst-auditmod3b.c: Likewise.
17775 * elf/tst-auditmod4b.c: Likewise.
17776 * elf/tst-auditmod5b.c: Likewise.
17777 * elf/tst-auditmod6b.c: Likewise.
17778 * elf/tst-auditmod6c.c: Likewise.
17779 * elf/tst-auditmod7b.c: Likewise.
17780
17781 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17782 and x32_gnu_pltexit.
17783
17784 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17785 __ELF_NATIVE_CLASS.
17786 (La_x32_regs): New macro.
17787 (La_x32_retval): Likewise.
17788 (la_x32_gnu_pltenter): New function prototype.
17789 (la_x32_gnu_pltexit): Likewise.
17790
7998fa78
AS
177912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17792
dcb33988
AS
17793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17794 exponent.
17795
233fc563
AS
17796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17797
7998fa78
AS
17798 * configure.in (libc_cv_cc_nofma): Check for option to disable
17799 generation of FMA instructions.
17800 * configure: Regenerate.
17801 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17802 * sysdeps/ieee754/dbl-64/Makefile: New file.
17803 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17804 Remove brandred-fma4.
17805 (CFLAGS-brandred-fma4.c): Remove.
17806 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17807 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17808 define.
17809 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17810 define.
17811
8e95c99a
L
178122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17815 LLONG_MAX != LONG_MAX.
17816 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17817 (_fitoa_word): Likewise.
17818 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17819 LLONG_MAX != LONG_MAX.
17820 * stdio-common/_itowa.h: Include <_itoa.h>.
17821 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17822 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17823 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17824 only if not defined.
17825 (_ITOA_WORD_TYPE): Likewise.
17826 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17827 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17828
6f4db457
DM
178292012-03-21 David S. Miller <davem@davemloft.net>
17830
17831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17832
7785fe5a
L
178332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17834
17835 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17836 of x86_64 when setting libc_cv_slibdir, libdir and
17837 libc_cv_localedir.
17838 * sysdeps/unix/sysv/linux/configure: Regenerated.
17839
4535cd55
JM
178402012-03-21 Joseph Myers <joseph@codesourcery.com>
17841
17842 * manual/lang.texi (Old Varargs): Remove section.
17843 (How Variadic): Update menu.
17844 (va_start): Do not mention varargs.h.
17845
17228132
TS
178462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17847 Joseph Myers <joseph@codesourcery.com>
17848
17849 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17850 link test.
17851 * configure: Regenerated.
17852
8149f976
TS
178532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17854
05f3d1f6
UD
17855 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17856 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17857 conformtest.pl
8149f976 17858
1a4ac776
JM
178592012-03-21 Joseph Myers <joseph@codesourcery.com>
17860
be22ce65
JM
17861 * NOTES: Remove.
17862 * Makefile (files-for-dist): Remove NOTES.
17863 (NOTES): Remove rule.
17864 * README: Don't refer to NOTES.
17865 * manual/creature.texi: Don't include macros.texi.
17866 * manual/intro.texi (creature.texi): Remove comment referring to
17867 NOTES.
17868
40b601fb
JM
17869 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17870 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17871 * configure: Regenerated.
17872 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17873 LIBC_TRY_CC_OPTION.
17874 (libc_cv_as_i686): Likewise.
17875 (libc_cv_cc_avx): Likewise.
17876 (libc_cv_cc_sse2avx): Likewise.
17877 (libc_cv_cc_fma4): Likewise.
17878 (libc_cv_cc_novzeroupper): Likewise.
17879 * sysdeps/i386/configure: Regenerated.
17880
1a4ac776
JM
17881 [BZ #13883]
17882 * sysdeps/i386/fpu/s_cexp.S: Remove.
17883 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17884 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17885 * math/libm-test.inc (cexp_test): Add more tests.
17886 * sysdeps/i386/fpu/libm-test-ulps: Update.
17887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17888
a458e7fe
AM
178892012-03-21 Allan McRae <allan@archlinux.org>
17890
17891 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17892
0cb7efc5
JM
178932012-03-21 Joseph Myers <joseph@codesourcery.com>
17894
17895 [BZ #13871]
17896 * math/w_exp2.c: Do not include <float.h>.
17897 (o_threshold, u_threshold): Remove.
17898 (__exp2): Calculate result before checking finiteness and calling
17899 __kernel_standard.
17900 * math/w_exp2f.c: Likewise.
17901 * math/w_exp2l.c: Likewise.
17902 * math/libm-test.inc (exp2_test): Require overflow exception for
17903 1e6 input.
2460d3aa
JM
17904
17905 [BZ #3866]
17906 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17907 range of signed 64-bit integers before using fistpll. Remove
17908 checks for whether integers fit in mantissa bits.
17909 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17910 the range of signed 32-bit integers before using fistpl. Remove
17911 checks for whether integers fit in mantissa bits.
17912 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17913 (__ieee754_powl): Test for y outside the range of signed 64-bit
17914 integers before using fistpll. Reduce 64-bit values to 63-bit
17915 ones as needed.
17916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17917 divide-by-zero is raised for zero to large negative powers.
17918 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17919 (__ieee754_powl): Test for y outside the range of signed 64-bit
17920 integers before using fistpll. Reduce 64-bit values to 63-bit
17921 ones as needed.
17922 * math/libm-test.inc (pow_test): Add more tests.
17923
eb96ffb0
L
179242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17927 <stdio-common/_itoa.h>.
17928 * debug/segfault.c: Likewise.
17929 * elf/dl-cache.c: Likewise.
17930 * elf/dl-minimal.c: Likewise.
17931 * elf/dl-misc.c: Likewise.
17932 * elf/dl-sysdep.c: Likewise.
17933 * elf/dl-version.c: Likewise.
17934 * elf/rtld.c: Likewise.
17935 * hurd/hurdsock.c: Likewise.
17936 * hurd/lookup-retry.c: Likewise.
17937 * malloc/malloc.c: Likewise.
17938 * malloc/mtrace.c: Likewise.
17939 * nscd/nscd_getgr_r.c: Likewise.
17940 * nscd/nscd_getpw_r.c: Likewise.
17941 * nscd/nscd_getserv_r.c: Likewise.
17942 * posix/getopt_init.c: Likewise.
17943 * posix/wordexp.c: Likewise.
17944 * stdio-common/_itoa.c: Likewise.
17945 * stdio-common/printf_fphex.c: Likewise.
17946 * stdio-common/vfprintf.c: Likewise.
17947 * string/_strerror.c: Likewise.
17948 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17949 * sysdeps/i386/i686/hp-timing.h: Likewise.
17950 * sysdeps/mach/_strerror.c: Likewise.
17951 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17952 * sysdeps/mach/hurd/sethostid.c: Likewise.
17953 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17954 * sysdeps/mach/xpg-strerror.c: Likewise.
17955 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17957 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17958 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17959 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17960 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17961 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17962 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17963 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17964 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17965 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17966 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17967 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17968 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17969 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17970 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17971 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17972 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17973 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17974 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17975 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17976
17977 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17978
17979 * stdio-common/_itoa.h: Moved to ...
17980 * sysdeps/generic/_itoa.h: Here.
17981
17982 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17983
17984 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17985 instead of "_itoa.h" and "_itowa.h".
17986 * stdio-common/vfprintf.: Likewise.
17987
d1af992d
L
179882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17989
17990 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17991 <bits/wordsize.h>.
17992 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17993 (__signbit): Likwise.
17994 (llrintf): Likwise.
17995 (llrint): Likwise.
17996
114883e0
L
179972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17998
17999 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18000 __WORDSIZE != 64.
18001
c135cc1b
JM
180022012-03-20 Joseph Myers <joseph@codesourcery.com>
18003
18004 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18005 OVERFLOW_EXCEPTION_OK.
18006 * math/libm-test.inc ("Philosophy"): Update comment about
18007 exception testing.
18008 (OVERFLOW_EXCEPTION): Define.
18009 (OVERFLOW_EXCEPTION_OK): Likewise.
18010 (INVALID_EXCEPTION_OK): Renumber.
18011 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18012 (IGNORE_ZERO_INF_SIGN): Likewise.
18013 (test_exceptions): Handle FE_OVERFLOW.
18014 (exp10_test): Expect overflow exceptions.
18015 (exp2_test): Likewise.
18016 (expm1_test): Likewise.
18017 (nextafter_test): Likewise.
18018 (pow_test): Likewise.
18019 (scalbn_test): Likewise.
18020 (scalbln_test): Likewise.
18021
95443d88
L
180222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18023
18024 * sysdeps/x86_64/bits/atomic.h
18025 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18026 64bit integer.
18027 (atomic_exchange_acq): Likewise.
18028 (__arch_exchange_and_add_body): Likewise.
18029 (__arch_add_body): Likewise.
18030 (atomic_add_negative): Likewise.
18031 (atomic_add_zero): Likewise.
18032
490df6c4
L
180332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18034
c2722551 18035 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18036 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18037
5e52b189
L
180382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18039
18040 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18041 Check __x86_64__ instead of __WORDSIZE.
18042
a9879d4c
L
180432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18044
18045 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18046
5df98260
DM
180472012-03-19 David S. Miller <davem@davemloft.net>
18048
e1497744
DM
18049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18050
5df98260
DM
18051 * sysdeps/sparc/fpu/fenv_private.h: New file.
18052 * sysdeps/sparc/fpu/math_private.h: Use it.
18053 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18054 Remove.
18055 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18056 (libc_feholdexcept_setroundl): Remove.
18057 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18058 Remove.
18059 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18060 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18061
b4c35121
L
180622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18065 int64_t instead of long int.
18066 (INSERT_WORDS64): Likwise.
18067
56965fd7
L
180682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18069
18070 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18071 _Unwind_GetCFA return to _Unwind_Ptr first.
18072
83d1aec8
JM
180732012-03-19 Joseph Myers <joseph@codesourcery.com>
18074
1897ad44
JM
18075 [BZ #13629]
18076 * math/s_clog.c: Include <float.h>.
18077 (__clog): Scale large or subnormal inputs.
18078 * math/s_clogf.c: Likewise.
18079 * math/s_clogl.c: Likewise.
18080 * math/s_clog10.c: Include <float.h>.
18081 (M_LOG10_2): Define.
18082 (__clog10): Scale large or subnormal inputs.
18083 * math/s_clog10f.c: Likewise.
18084 * math/s_clog10l.c: Likewise.
18085 * math/libm-test.inc (clog_test): Add more tests.
18086 (clog10_test): Likewise.
18087 * sysdeps/i386/fpu/libm-test-ulps: Update.
18088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18089
7726d6a9
JM
18090 [BZ #11451]
18091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18092 x and y.
18093 * math/libm-test.inc (atan2_test): Add another test.
18094
83d1aec8
JM
18095 * Makerules (common-objdir-compile): Remove.
18096 * sysdeps/unix/Makefile (config-generated): Do not add
18097 $(unix-generated) to variable.
18098 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18099 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18100 Remove rule.
18101 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18102 Likewise.
18103 [generic bits/local_lim.h] (before-compile): Do not append to
18104 variable.
18105 [generic bits/local_lim.h] (common-generated): Likewise.
18106 [generic sys/param.h] (before-compile): Do not append to variable.
18107 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18108 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18109 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18110 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18111 include.
18112 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18113 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18114 [generic sys/param.h] ($(addprefix
18115 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18116 [generic sys/param.h] (common-generated): Do not append to
18117 variable.
18118 [generic sys/param.h] (sysdep_headers): Likewise.
18119 [generic bits/errno.h] (before-compile): Do not append to
18120 variable.
18121 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18122 rule.
18123 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18124 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18125 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18126 [generic bits/errno.h] (common-generated): Do not append to
18127 variable.
18128 [generic bits/ioctls.h] (before-compile): Do not append to
18129 variable.
18130 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18131 rule.
18132 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18133 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18134 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18135 rule.
18136 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18137 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18138 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18139 [generic bits/ioctls.h] (common-generated): Do not append to
18140 variable.
18141 [generic sys/syscall.h] (syscall.h): Remove variable.
18142 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18143 rule.
18144 [generic sys/syscall.h] (before-compile): Do not append to
18145 variable.
18146 [generic sys/syscall.h] (common-generated): Likewise.
18147 * sysdeps/unix/errnos-tmpl.c: Remove file.
18148 * sysdeps/unix/errnos.awk: Likewise.
18149 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18150 * sysdeps/unix/ioctls.awk: Likewise.
18151 * sysdeps/unix/mk-local_lim.c: Likewise.
18152 * sysdeps/unix/snarf-ioctls: Likewise.
18153
4851a949
RH
181542012-03-19 Richard Henderson <rth@twiddle.net>
18155
bd37f2ee
RH
18156 * sysdeps/i386/fpu/fenv_private.h: New file.
18157 * sysdeps/i386/fpu/math_private.h: Use it.
18158 (math_opt_barrier, math_force_eval): Remove.
18159 (libc_feholdexcept_setround_53bit): Remove.
18160 (libc_feupdateenv_53bit): Remove.
18161 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18162 (math_opt_barrier, math_force_eval): Remove.
18163 (libc_feholdexcept): Remove.
18164 (libc_feholdexcept_setround): Remove.
18165 (libc_fetestexcept, libc_fesetenv): Remove.
18166 (libc_feupdateenv_test): Remove.
18167 (libc_feupdateenv, libc_feholdsetround): Remove.
18168 (libc_feresetround): Remove.
18169
d0adc922
RH
18170 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18171 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18172
0fe0f1f8
RH
18173 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18174 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18175 (libc_feupdateenv_testl): New.
18176 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18177 (libc_feupdateenv_testf): New.
18178 (libc_feupdateenv): Use libc_feupdateenv_test.
18179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18181
eb92c487
RH
18182 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18183 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18184 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18185 (libc_feresetround_noex): New.
18186 (libc_feresetround_noexf): New.
18187 (libc_feresetround_noexl): New.
18188 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18189 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18190 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18191 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18192 SET_RESTORE_ROUND.
18193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18195 (__cos): Likewise.
18196 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18197 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18198 SET_RESTORE_ROUND_NOEX.
18199 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18200 SET_RESTORE_ROUND_NOEXF.
18201 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18202 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18203 (libc_feholdsetroundf): New.
18204 (libc_feresetround, libc_feresetroundf): New.
18205
7d2e8012
RH
18206 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18207 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18208 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18209
b4dabbb4
RH
18210 * sysdeps/generic/math_private.h: Include <fenv.h>.
18211 (default_libc_feholdexcept): New.
18212 (default_libc_feholdexcept_setround): New.
18213 (default_libc_fesetenv, default_libc_feupdateenv): New.
18214 (libc_feholdexcept): Only define if undefined.
18215 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18216 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18217 (libc_feholdexcept_setroundl): Likewise.
18218 (libc_feholdexcept_setround_53bit): Likewise.
18219 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18220 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18221 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18222 (libc_feupdateenv_53bit): Likewise.
18223 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18224 (libc_feholdexcept): Convert from macro to inline function.
18225 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18226 (libc_fesetenv, libc_feupdateenv): Likewise.
18227
4851a949
RH
18228 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18229 not previously defined.
18230 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18231 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18232 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18233 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18234 * sysdeps/ieee754/flt-32/math_private.h: New file.
18235 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18236 math_private.h below SET_FLOAT_WORD.
18237 (__isnan, __isinf_ns, __finite): Remove.
18238 (__isnanf, __isinf_nsf, __finitef): Remove.
18239
e79d442e
AS
182402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18241
18242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18243
90b80344
DM
182442012-03-17 David S. Miller <davem@davemloft.net>
18245
18246 [BZ #6471]
18247 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18248 for 2.16.
18249
edc21804
DM
182502012-03-16 David S. Miller <davem@davemloft.net>
18251
77e927af
DM
18252 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18253 warnings.
18254
374976dd
DM
18255 [BZ #6471]
18256 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18257 properly.
18258 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18259 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18260 sysdep_routines when subdir is sysvipc.
18261 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18262 __getshmlba helper.
18263
edc21804
DM
18264 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18265
473c3ef3
L
182662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18267
18268 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18269 [__LP64__].
18270
eb0f39b6
L
182712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18272
18273 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18274 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18275 (__lround): Renamed to ...
18276 (__llround): This. Replace long int with long long int.
18277 Define lround functions as aliases of llround functions.
18278 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18279
6b6cd74b
L
182802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18281
18282 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18283 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18284 adresses to uintptr_t. Replace "long int" and "unsigned long
18285 int" with "greg_t" on va_arg.
18286
f1a77b01
L
182872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18288
18289 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18290 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18291
18292 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18293 Move e_machine check before EI_CLASS check. Handle x32
18294 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18295 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18296 SKIP_EM_IA_64 and include
18297 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18298
18299 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18300 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18301 (add_system_dir): New macro.
18302
18303 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18304 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18305
11b90b9f
JM
183062012-03-16 Joseph Myers <joseph@codesourcery.com>
18307
c36e1d23
JM
18308 [BZ #2551]
18309 [BZ #2552]
18310 [BZ #2553]
18311 [BZ #2554]
18312 [BZ #2562]
18313 [BZ #2563]
18314 [BZ #2565]
18315 [BZ #2566]
18316 [BZ #2576]
18317 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18318 (y0): Likewise.
18319 * math/w_j0f.c (j0f): Likewise.
18320 (y0f): Likewise.
18321 * math/w_j0l.c (__j0l): Likewise.
18322 (__y0l): Likewise.
18323 * math/w_j1.c (j1): Likewise.
18324 (y1): Likewise.
18325 * math/w_j1f.c (j1f): Likewise.
18326 (y1f): Likewise.
18327 * math/w_j1l.c (__j1l): Likewise.
18328 (__y1l): Likewise.
18329 * math/w_jn.c (jn): Likewise.
18330 (yn): Likewise.
18331 * math/w_jnf.c (jnf): Likewise.
18332 (ynf): Likewise.
18333 * math/w_jnl.c (__jnl): Likewise.
18334 (__ynl): Likewise.
18335 * math/libm-test.inc (j0_test): Add more tests.
18336 (j1_test): Likewise.
18337 (jn_test): Likewise. Add trailing semicolon to existing test.
18338 (y0_test): Likewise.
18339 (y1_test): Likewise.
18340 * sysdeps/i386/fpu/libm-test-ulps: Update.
18341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18342
11b90b9f
JM
18343 [BZ #13851]
18344 [BZ #13854]
18345 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18346 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18347 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18348 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18349 (__tanl): Set errno for infinite argument.
18350 * sysdeps/i386/fpu/mptan.c: Remove.
18351 * sysdeps/i386/fpu/s_tan.S: Likewise.
18352 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18353 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18354 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18355 * math/libm-test.inc (tan_test): Add more tests and enable more
18356 tests for double and long double.
18357 * sysdeps/i386/fpu/libm-test-ulps: Update.
18358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18359
6a1bd2a1
JK
183602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18361
18362 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18363 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18364
10a803e0
RM
183652012-03-16 Roland McGrath <roland@hack.frob.com>
18366
18367 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18368 * configure.in: Use it for both main tree and add-ons.
18369 * configure: Regenerated.
18370
f196c7f7
L
183712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18372
18373 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18374
8848d99d
JM
183752012-03-16 Joseph Myers <joseph@codesourcery.com>
18376
96cbe7f4
JM
18377 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18378 in comment.
18379
8848d99d
JM
18380 [BZ #13851]
18381 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18382 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18386 infinite argument.
18387 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18389 != 0 for prec == 2.
18390 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18391 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18392 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18393 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18394 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18395 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18396 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18397 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18398 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18399 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18400 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18401 * math/libm-test.inc (cos_test): Add more tests and enable more
18402 tests for long double.
18403 (sin_test): Likewise.
18404 (sincos_test): Likewise.
18405 * sysdeps/i386/fpu/libm-test-ulps: Update.
18406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18407
dd7f4703
DM
184082012-03-16 David S. Miller <davem@davemloft.net>
18409
18410 * sysdeps/sparc/fpu/math_private.h: New file.
18411
006f1daa
DM
184122012-03-15 David S. Miller <davem@davemloft.net>
18413
c0c83bc8
DM
18414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18415 file.
e6a62e18 18416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18418 file.
e6a62e18
DM
18419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18425 sysdep routines.
18426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18427
88cb87d9
DM
18428 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18429 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18430
006f1daa 18431 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18433 sparc-ifunc.h
006f1daa 18434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18436 Likewise.
18437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18438 Likewise.
006f1daa
DM
18439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18443 Likewise.
006f1daa
DM
18444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18449 Likewise.
18450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18451 Likewise.
006f1daa
DM
18452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18458 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18476
11e0098e
AS
184772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18478
18479 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18480 scaling.
18481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18482
e85b09d0
AJ
184832012-03-15 Andreas Jaeger <aj@suse.de>
18484
18485 [BZ #13852]
18486 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18487 ieee754/flt-32 implementation for sin, cos and sincos.
18488 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18489 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18490 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18491 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18492 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18493 ieee754/flt-32 implementation for tan.
18494
18495 * math/libm-test.inc (cos_test): Enable some large input tests for
18496 float as well
18497 (sin_test): Likewise.
18498 (sincos_test): Likewise.
18499 (tan_test): Add tests for large input.
18500
18501 * sysdeps/i386/fpu/libm-test-ulps: Update.
18502
81c64153
AJ
185032012-03-15 Andreas Jaeger <aj@suse.de>
18504
18505 [BZ #13658]
18506 * math/libm-test.inc (cos_test): Add more test cases.
18507 (sin_test): Likewise.
18508 (sincos_test): Likewise.
18509
7bbfa5c6
AJ
185102012-03-15 Andreas Jaeger <aj@suse.de>
18511
18512 [BZ #13837]
18513 * math/libm-test.inc (cos_test): Add a test case for large input
18514 value.
18515 (sin_test): Likewise.
18516 (sincos_test): Likewise.
18517
185182012-03-15 Andreas Jaeger <aj@suse.de>,
18519 Joseph Myers <joseph@codesourcery.com>
18520
18521 [BZ #13658]
0671f479 18522 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18523 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18524 * sysdeps/i386/fpu/branred.c: Likewise.
18525 * sysdeps/i386/fpu/dosincos.c: Likewise.
18526 * sysdeps/i386/fpu/mpa.c: Likewise.
18527 * sysdeps/i386/fpu/s_cos.S: Likewise.
18528 * sysdeps/i386/fpu/s_sin.S: Likewise.
18529 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18530 * sysdeps/i386/fpu/sincos32.c: Likewise.
18531
18532 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18533 Define.
18534 (libc_feupdateenv_53bit): Define.
18535 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18536 Define.
18537 (libc_feupdateenv_53bit): Define.
18538
18539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18540 53 bit (without extend i386 double precision).
18541
18542 * math/libm-test.inc (sincos_test): Add tests for large input.
18543 (sin): Likewise.
18544 (cos): Likewise.
18545
18546 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18547
9cad04ea
AS
185482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18549
18550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18551
f7062b9a
DM
185522012-03-15 David S. Miller <davem@davemloft.net>
18553
18554 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18555 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18556 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18557 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18570 file.
f7062b9a 18571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18573 file.
f7062b9a 18574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18576 file.
f7062b9a 18577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18579 file.
f7062b9a
DM
18580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18582 fmin/fmax sysdep routines.
18583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18584
7bd951ff
DM
185852012-03-14 David S. Miller <davem@davemloft.net>
18586
559398ab
DM
18587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18607 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18608 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18616 routines.
18617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18618 file.
559398ab 18619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18621 file.
559398ab 18622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18624 file.
559398ab 18625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18627 file.
559398ab 18628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18630 file.
559398ab 18631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18633 file.
18634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18635 file.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18637 file.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18639 file.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18641 New file.
18642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18643 file.
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18645 file.
559398ab 18646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18648 file.
559398ab 18649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18651 file.
559398ab 18652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18654 file.
559398ab 18655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18657 VIS3 routines.
559398ab
DM
18658
18659 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18660 New file.
18661
5a1c1e32
DM
18662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18663
eae47a36
DM
18664 * sysdeps/sparc/configure.in: New file.
18665 * sysdeps/sparc/configure: Generate.
18666 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18667 * configure: Regenerate.
18668 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18669 * config.make.in (have-as-vis3): New.
18670 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18671 available use -Av9d instead of -Av9a.
18672 * sysdeps/sparc/sparc64/Makefile: Likewise.
18673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18675 New file.
18676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18677 file.
18678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18679 New file.
18680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18681 file.
eae47a36
DM
18682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18684 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18685 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18687
c0c83bc8
DM
18688 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18689 fzeros/fnegs to load 0x80000000 into a float register instead of
18690 using the stack.
7bd951ff
DM
18691 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18692
bd951ccb
JM
186932012-03-14 Joseph Myers <joseph@codesourcery.com>
18694
18695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18696 bits/syscall.h.
18697 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18698 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18699 ($(inst_includedir)/bits/syscall.h): Remove rule.
18700 ($(objpfx)bits/syscall.d): Include instead of
18701 $(objpfx)syscall-list.d.
18702 (generated): Change syscall-list.h and syscall-list.d to
18703 bits/syscall.h and bits/syscall.d.
18704
bb4e6db2
RM
187052012-03-14 Roland McGrath <roland@hack.frob.com>
18706
18707 [BZ #13846]
18708 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18709
aa4a2ae1
JM
187102012-03-14 Joseph Myers <joseph@codesourcery.com>
18711
e456826d
JM
18712 [BZ #13841]
18713 * math/s_csqrt.c: Include <float.h>.
18714 (__csqrt): Scale large or subnormal inputs.
18715 * math/s_csqrtf.c: Likewise.
18716 * math/s_csqrtl.c: Likewise.
18717 * math/libm-test.inc (csqrt_test): Add more tests.
18718 * sysdeps/i386/fpu/libm-test-ulps: Update.
18719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18720
aa4a2ae1
JM
18721 [BZ #13840]
18722 * math/libm-test.inc (hypot_test): Add more tests.
18723
7c10fd35
DM
187242012-03-13 David S. Miller <davem@davemloft.net>
18725
18726 [BZ #13840]
18727 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18728 double-precision for the calculation instead of scaling.
18729
f453b98b
JM
187302012-03-13 Joseph Myers <joseph@codesourcery.com>
18731
18732 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18733 manipulate bits before adding and subtracting TWO52[sx].
18734 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18735 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18736 Likewise.
18737 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18738
09a3453f
DM
187392012-03-13 David S. Miller <davem@davemloft.net>
18740
8e59da90
DM
18741 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18742 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18744 rtld-global-offsets.h
18745 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18746
2a8ab7f2
DM
18747 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18748 large parameters.
18749
10f62770
DM
18750 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18751
5f0bdb18
DM
18752 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18753 'err' in the ifdef scope in which it is actually used.
18754
09a3453f
DM
18755 * nss/nss_db/db-init.c: Include string.h
18756
b4b2eb5e
DM
187572012-03-12 David S. Miller <davem@davemloft.net>
18758
98bb2f1c
DM
18759 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18760 masking out of the most significant byte of random value used.
18761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18762 Fix coding style in previous change.
18763
b4b2eb5e
DM
18764 * sysdeps/unix/sysv/linux/kernel-features.h
18765 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18766 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18767 expression.
18768 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18769 later.
18770
6e226b09
DM
187712012-03-11 David S. Miller <davem@davemloft.net>
18772
a1bcbd40
DM
18773 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18774 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18776 for 'resultvar' otherwise things get truncated on 64-bit.
18777
cb9d6174
DM
18778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18779 Fix masking out of the most significant byte of random value used.
18780
6e226b09
DM
18781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18782
058c132d
AS
187832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18784
18785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18786
2d2cd515
DM
187872012-03-09 David S. Miller <davem@davemloft.net>
18788
18789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18790 variables with appropriate CPP guards.
18791 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18792 frame pointer, not the stack pointer. Correct layout comments. Fix test
18793 on resulting framesize and the management of the outregs buffer for pltexit.
18794 Preserve floating point return values across _dl_call_pltexit call.
18795 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18796 framesize and the management of the outregs buffer for pltexit.
18797 Preserve floating point return values across _dl_call_pltexit
18798 call.
18799 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18800 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18801 (print_exit): Fix format string for return register value.
18802
9a07f9d0
JM
188032012-03-10 Joseph Myers <joseph@codesourcery.com>
18804
18805 * sunrpc/Makefile (others): Add rpcgen.
18806 ($(objpfx)rpcgen): Remove special build rule and dependency on
18807 libc.
18808 * sunrpc/rpcgen.c: New file.
18809
547b5e30
PE
188102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18811
c524201a
PE
18812 [BZ #13673]
18813 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18814 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18815 * sysdeps/i386/crti.S: Likewise.
18816 * sysdeps/i386/crtn.S: Likewise.
18817 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18818 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18819 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18820 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18821 * sysdeps/sh/crti.S: Likewise.
18822 * sysdeps/sh/crtn.S: Likewise.
18823 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18824
7b6235f2
PE
18825 [BZ #13673]
18826 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18827 with URL.
18828 * locale/programs/locfile-kw.gperf: Likewise.
18829 * locale/programs/charmap-kw.h: Regenerated.
18830 * locale/programs/locfile-kw.h: Likewise.
18831
547b5e30
PE
18832 [BZ #13673]
18833 * intl/plural.y: Replace FSF snail mail address with URL.
18834 * intl/plural.c: Regenerated.
18835
5f0a5dae
RH
188362012-03-09 Richard Henderson <rth@twiddle.net>
18837
18838 * include/math_private.h: Remove file.
18839 * math/math_private.h: Move file ...
18840 * sysdeps/generic/math_private.h: ... here.
18841
b8c03620
RH
18842 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18843 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18844 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18845
4e234f5d 18846 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18847 and <math_private.h>.
18848 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18849 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18850 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18851 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18852 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18859 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18860 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18862 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18863 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18867 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18869 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18870 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18872 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18873 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18874 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18878 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18880 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18881 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18882 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18883 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18892 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18893 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18894 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18895 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18896 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18897 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18898 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18899 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18900 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18901 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18902 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18903 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18907 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18908 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18909 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18911 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18912 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18913 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18914 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18915 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18917 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18920 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18929 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18930 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18931 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18932 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18935 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18941 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18943 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18945 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18948 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18949 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18950 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18951 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18952 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18956 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18958 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18959 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18960 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18961 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18962 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18964 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18965 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18966 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18967 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18968 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18969 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18970 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18971 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18972 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18973 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18974 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18975 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18976 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18977 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18978 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18979 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18980 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18981 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18982 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18984 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18985 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18986 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18987 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18989 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18990 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18991 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18992 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18993 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18994 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18995 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18996 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18997 * sysdeps/ieee754/k_standard.c: Likewise.
18998 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18999 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19001 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19002 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19003 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19004 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19005 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19006 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19007 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19008 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19009 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19010 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19012 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19013 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19014 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19015 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19032 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19033 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19034 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19035 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19036 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19037 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19038 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19039 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19041 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19042 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19044 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19046 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19048 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19049 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19050 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19051 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19113 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19120 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19125 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19126 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19130 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19144 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19146 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19147 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19156 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19157 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19158 * sysdeps/ieee754/s_lib_version.c: Likewise.
19159 * sysdeps/ieee754/s_matherr.c: Likewise.
19160 * sysdeps/ieee754/s_signgam.c: Likewise.
19161 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19164 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19165 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19166 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19167 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19168 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19169 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19170 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19171 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19172 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19173 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19174 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19175 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19176 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19177 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19178 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19179 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19182
1991fa03
JM
191832012-03-09 Joseph Myers <joseph@codesourcery.com>
19184
19185 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19186 * sunrpc/rpc_main.c: Likewise.
19187 * sunrpc/rpc_svcout.c: Likewise.
19188
60d6f5a6
DM
191892012-03-09 David S. Miller <davem@davemloft.net>
19190
19191 * include/math_private.h: New file.
19192
4962050e
JM
191932012-03-09 Joseph Myers <joseph@codesourcery.com>
19194
02a6f887
JM
19195 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19196 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19197 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19198 from <bits/socket_type.h>.
19199 (enum __socket_type): Don't define here.
19200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19202 bits/socket_type.h.
19203
c6e013c1
JM
19204 [BZ #13566]
19205 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19206 checking __USE_GNU.
19207
4962050e
JM
19208 * Makerules ($(inst_includedir)/%.h): New rule.
19209 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19210 (install-others): Remove variable setting.
19211 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19212
38842f45
RH
192132012-03-08 Richard Henderson <rth@twiddle.net>
19214
67bb6da6
RH
19215 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19216 from macro to inline function; merge with the
19217 !__LIBC_INTERNAL_MATH_INLINES version.
19218 (__ieee754_sqrtf): Likewise.
19219
15194b4b
RH
19220 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19221 to inline function.
19222 (__rintf, __floor, __floorf): Likewise.
19223
64e21ede
RH
19224 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19225 macro to inline function.
19226 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19227
38842f45
RH
19228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19229 not <math/math_private.h>.
19230
c64bf5fe
DM
192312012-03-08 David S. Miller <davem@davemloft.net>
19232
19233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19234 copyright year.
19235 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19236
82d86f28
TS
192372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19238
19239 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19240 normalization.
19241 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19242 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19243
aea5d727
UD
192442012-03-08 Ulrich Drepper <drepper@gmail.com>
19245
19246 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19247 be defined individually, they must be defined as a block. Define
19248 S for printing a string instead of hidint the different by using a
19249 macro for adding the 'l'.
19250 * stdio-common/tst-fphex-wide.c: Adjust.
19251
70bca0a3
MP
192522012-03-07 Marek Polacek <polacek@redhat.com>
19253
19254 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19255
65b81130
MP
192562012-03-08 Marek Polacek <polacek@redhat.com>
19257
19258 [BZ #13806]
19259 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19260 * stdio-common/tst-fphex.c: Define a few macros to make the
19261 test reusable. Use them.
19262 * stdio-common/tst-fphex-wide.c: New file.
19263
07037eeb
JM
192642012-03-08 Joseph Myers <joseph@codesourcery.com>
19265
a7a93d50
JM
19266 [BZ #6911]
19267 * manual/macros.texi (gnusystems): New macro.
19268 (nongnusystems): Likewise.
19269 (gnulinuxhurdsystems): Likewise.
19270 (gnuhurdsystems): Likewise..
19271 (gnulinuxsystems): Likewise.
19272 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19273 variants of the GNU system, not "GNU system".
19274 * manual/conf.texi: Likewise.
19275 * manual/errno.texi: Likewise. Update example of errno macro
19276 expansion.
19277 * manual/filesys.texi: Likewise.
19278 (getumask): Document as specific to GNU/Hurd.
19279 * manual/install.texi: Likewise. Reword some references to
19280 GNU/Linux.
19281 * manual/intro.texi: Likewise.
19282 * manual/io.texi: Likewise.
19283 (File Name Portability): Detail which constraints are inapplicable
19284 to all GNU systems and which are only inapplicable to GNU/Hurd.
19285 * manual/job.texi: Likewise.
19286 * manual/llio.texi: Likewise.
19287 (O_NOCTTY): Document as present on GNU/Linux.
19288 * manual/maint.texi: Likewise.
19289 * manual/memory.texi: Likewise.
19290 * manual/pattern.texi: Likewise.
19291 * manual/pipe.texi: Likewise.
19292 * manual/process.texi: Likewise.
19293 * manual/resource.texi: Likewise.
19294 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19295 child on GNU/Hurd.
19296 * manual/setjmp.texi: Likewise.
19297 * manual/signal.texi: Likewise.
19298 * manual/startup.texi: Likewise.
19299 * manual/stdio.texi: Likewise.
19300 * manual/terminal.texi: Likewise.
19301 (ONLCR): Document as POSIX.
19302 (OXTABS): Document availability on GNU/Linux as XTABS.
19303 (ONOEOT): Document availability separately from other bits.
19304 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19305 * manual/time.texi: Likewise.
19306 * manual/users.texi: Likewise.
19307 * INSTALL: Regenerated.
19308 * sysdeps/gnu/errlist.c: Regenerated.
19309
07037eeb
JM
19310 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19311 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19312 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19313 puts.
19314 * configure: Regenerated.
19315
d1d3431a
JM
193162012-03-07 Joseph Myers <joseph@codesourcery.com>
19317
af6a1e37
JM
19318 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19319 default includes instead of AC_HEADER_CHECK.
19320 * sysdeps/i386/configure: Regenerated.
19321
d1d3431a
JM
19322 [BZ #10716]
19323 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19324 * math/s_cacoshf.c (__cacoshf): Likewise.
19325 * math/s_cacoshl.c (__cacoshl): Likewise.
19326 * math/s_casinh.c (__casinh): Set signs of result from argument.
19327 * math/s_casinhf.c (__casinhf): Likewise.
19328 * math/s_casinhl.c (__casinhl): Likewise.
19329 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19330 (casinh_test): Add more tests.
19331 * sysdeps/i386/fpu/libm-test-ulps: Update.
19332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19333
482ff4da
UD
193342012-03-07 Ulrich Drepper <drepper@gmail.com>
19335
872fda05
UD
19336 * po/zh_TW.po: Update from translation team.
19337
a4300c7a
UD
19338 * login/Makefile (distribute): Remove variable.
19339 * catgets/Makefile: Likewise.
19340 * mach/Makefile: Likewise.
19341 * malloc/Makefile: Likewise.
19342 * misc/Makefile: Likewise.
19343 * iconv/Makefile: Likewise.
19344 * nscd/Makefile: Likewise.
19345 * hurd/Makefile: Likewise.
19346 * manual/Makefile: Likewise.
19347 * locale/Makefile: Likewise.
19348 * intl/Makefile: Likewise.
19349 * conform/Makefile: Likewise.
19350 * nss/Makefile: Likewise.
19351 * time/Makefile: Likewise.
19352 * soft-fp/Makefile: Likewise.
19353 * dirent/Makefile: Likewise.
19354 * gmon/Makefile: Likewise.
19355 * po/Makefile: Likewise.
19356 * rt/Makefile: Likewise.
19357 * socket/Makefile: Likewise.
19358 * math/Makefile: Likewise.
19359 * signal/Makefile: Likewise.
19360 * debug/Makefile: Likewise.
19361 * elf/Makefile: Likewise.
19362 * timezone/Makefile: Likewise.
19363 * stdlib/Makefile: Likewise.
19364 * iconvdata/Makefile: Likewise.
19365 * sunrpc/Makefile: Likewise.
19366 * io/Makefile: Likewise.
19367 * argp/Makefile: Likewise.
19368 * inet/Makefile: Likewise.
19369 * hesiod/Makefile: Likewise.
19370 * grp/Makefile: Likewise.
19371 * csu/Makefile: Likewise.
19372 * wctype/Makefile: Likewise.
19373 * crypt/Makefile: Likewise.
19374 * libio/Makefile: Likewise.
19375 * string/Makefile: Likewise.
19376 * nis/Makefile: Likewise.
19377 * resolv/Makefile: Likewise.
19378 * stdio-common/Makefile: Likewise.
19379 * wcsmbs/Makefile: Likewise.
19380 * dlfcn/Makefile: Likewise.
19381 * posix/Makefile: Likewise.
19382
3b7c4e74 19383 [BZ #6959]
482ff4da
UD
19384 * timezone/Makefile: Don't install timezone files, just the programs
19385 and scripts.
19386
f72ed77d
UD
193872012-03-06 Ulrich Drepper <drepper@gmail.com>
19388
a000466f
UD
19389 * nss/databases.def: Add missing gshadow entry.
19390
f72ed77d
UD
19391 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19392
a53b7a4e
MP
193932012-03-06 Marek Polacek <polacek@redhat.com>
19394
19395 [BZ #13726]
19396 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19397 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19398 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19399 * stdio-common/tst-long-dbl-fphex.c: New file.
19400
e9258400
DM
194012012-03-06 David S. Miller <davem@davemloft.net>
19402
19403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19404 (set_obp_int): New function.
19405 (get_obp_int): New function.
19406 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19407 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19408 Avoid unused variable warnings on 'val' and use builtin_expect.
19409 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19410 __builtin_expect.
e9258400
DM
19411 (INLINE_CLONE_SYSCALL): Likewise.
19412
3bd2c723
DM
194132012-03-05 David S. Miller <davem@davemloft.net>
19414
19415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19416
bbb78d03
AS
194172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19418
884c5db4
AS
19419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19420
bbb78d03
AS
19421 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19422 only for |x| >= 40.
19423 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19424
1c9f702a 194252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19426
19427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19428 Replace gettimeofday with __vdso_gettimeofday.
19429
7be16f82
RM
19430 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19431 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19432 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19433
19434 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19435 time with __vdso_time.
19436
ed58a00f
JM
194372012-03-05 Joseph Myers <joseph@codesourcery.com>
19438
19439 * manual/lang.texi (size_t): Note types to which size_t may be
19440 equivalent with the GNU C Library, but do not describe when
19441 differences between them are significant.
19442
30ee4ced
AJ
194432012-03-05 Andreas Jaeger <aj@suse.de>
19444
19445 * sysdeps/i386/fpu/libm-test-ulps: Update.
19446
b7cd39e8
JM
194472012-03-05 Joseph Myers <joseph@codesourcery.com>
19448
19449 [BZ #3976]
19450 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19451 (__ieee754_pow): Save and restore rounding mode and use
19452 round-to-nearest for main computations.
19453 * math/libm-test.inc (pow_test_tonearest): New function.
19454 (pow_test_towardzero): Likewise.
19455 (pow_test_downward): Likewise.
19456 (pow_test_upward): Likewise.
19457 (main): Call the new functions.
19458 * sysdeps/i386/fpu/libm-test-ulps: Update.
19459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19460
19461 [BZ #3976]
19462 * math/libm-test.inc (cosh_test_tonearest): New function.
19463 (cosh_test_towardzero): Likewise.
19464 (cosh_test_downward): Likewise.
19465 (cosh_test_upward): Likewise.
19466 (sinh_test_tonearest): Likewise.
19467 (sinh_test_towardzero): Likewise.
19468 (sinh_test_downward): Likewise.
19469 (sinh_test_upward): Likewise.
19470 (main): Call the new functions.
19471 * sysdeps/i386/fpu/libm-test-ulps: Update.
19472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473
6c6a98c9
TV
194742012-03-05 Tom de Vries <tom@codesourcery.com>
19475
19476 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19477 default stack guard is set in last bytes.
19478 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19479
21bb2d2e 194802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19481
21bb2d2e 19482 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19483
21bb2d2e
AJ
19484 [BZ #13656]
19485 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19486 possibly allocate from heap instead of stack.
19487 * stdio-common/bug-vfprintf-nargs.c: New file.
19488 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19489
c6922934
AS
194902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19491
19492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19493
bc957d53
MP
194942012-03-03 Marek Polacek <polacek@redhat.com>
19495
19496 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19497 * math/math_private.h: Likewise.
19498 * stdlib/tst-strtod.c: Likewise.
19499 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19500 * sysdeps/x86_64/bits/atomic.h: Likewise.
19501
6358490d
DM
195022012-03-02 David S. Miller <davem@davemloft.net>
19503
19504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19508 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19509 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19510 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19511 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19512
01ae168d
RM
195132012-03-02 Roland McGrath <roland@hack.frob.com>
19514
d9a17c07
RM
19515 [BZ #13792]
19516 * manual/examples/README: New file, says the example source files
19517 can be used under GPL>=2.
19518 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19519 line containing just "*/".
19520 * manual/examples/add.c: Add copyright header (GPL>=2).
19521 * manual/examples/argp-ex1.c: Likewise.
19522 * manual/examples/argp-ex2.c: Likewise.
19523 * manual/examples/argp-ex3.c: Likewise.
19524 * manual/examples/argp-ex4.c: Likewise.
19525 * manual/examples/atexit.c: Likewise.
19526 * manual/examples/db.c: Likewise.
19527 * manual/examples/dir.c: Likewise.
19528 * manual/examples/dir2.c: Likewise.
19529 * manual/examples/execinfo.c: Likewise.
19530 * manual/examples/filecli.c: Likewise.
19531 * manual/examples/filesrv.c: Likewise.
19532 * manual/examples/fmtmsgexpl.c: Likewise.
19533 * manual/examples/genpass.c: Likewise.
19534 * manual/examples/inetcli.c: Likewise.
19535 * manual/examples/inetsrv.c: Likewise.
19536 * manual/examples/isockad.c: Likewise.
19537 * manual/examples/longopt.c: Likewise.
19538 * manual/examples/memopen.c: Likewise.
19539 * manual/examples/memstrm.c: Likewise.
19540 * manual/examples/mkfsock.c: Likewise.
19541 * manual/examples/mkisock.c: Likewise.
19542 * manual/examples/mygetpass.c: Likewise.
19543 * manual/examples/pipe.c: Likewise.
19544 * manual/examples/popen.c: Likewise.
19545 * manual/examples/rprintf.c: Likewise.
19546 * manual/examples/search.c: Likewise.
19547 * manual/examples/select.c: Likewise.
19548 * manual/examples/setjmp.c: Likewise.
19549 * manual/examples/sigh1.c: Likewise.
19550 * manual/examples/sigusr.c: Likewise.
19551 * manual/examples/stpcpy.c: Likewise.
19552 * manual/examples/strdupa.c: Likewise.
19553 * manual/examples/strftim.c: Likewise.
19554 * manual/examples/strncat.c: Likewise.
19555 * manual/examples/subopt.c: Likewise.
19556 * manual/examples/swapcontext.c: Likewise.
19557 * manual/examples/termios.c: Likewise.
19558 * manual/examples/testopt.c: Likewise.
19559 * manual/examples/testpass.c: Likewise.
19560 * manual/examples/timeval_subtract.c: Likewise.
19561
01ae168d
RM
19562 [BZ #13792]
19563 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19564 function to ...
19565 * manual/timeval_subtract.c.texi: ... here, new file.
19566
49efa33d
DM
195672012-03-02 David S. Miller <davem@davemloft.net>
19568
19569 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19570
28afd92d
JM
195712012-03-02 Joseph Myers <joseph@codesourcery.com>
19572
804360ed
JM
19573 [BZ #3976]
19574 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19575 (__sin): Save and restore rounding mode and use round-to-nearest
19576 for all computations.
19577 (__cos): Save and restore rounding mode and use round-to-nearest
19578 for all computations.
19579 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19580 <fenv.h>.
19581 (tan): Save and restore rounding mode and use round-to-nearest for
19582 all computations.
19583 * math/libm-test.inc (cos_test_tonearest): New function.
19584 (cos_test_towardzero): Likewise.
19585 (cos_test_downward): Likewise.
19586 (cos_test_upward): Likewise.
19587 (sin_test_tonearest): Likewise.
19588 (sin_test_towardzero): Likewise.
19589 (sin_test_downward): Likewise.
19590 (sin_test_upward): Likewise.
19591 (tan_test_tonearest): Likewise.
19592 (tan_test_towardzero): Likewise.
19593 (tan_test_downward): Likewise.
19594 (tan_test_upward): Likewise.
19595 (main): Call the new functions.
19596 * sysdeps/i386/fpu/libm-test-ulps: Update.
19597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19598
a6d06d7b
JM
19599 [BZ #10135]
19600 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19601 small n, then large n, before computing and testing k+n.
19602 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19603 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19604 Likewise.
19605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19606 Likewise.
19607 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19608 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19610 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19611 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19612 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19615 * math/libm-test.inc (scalbn_test): Add more tests.
19616 (scalbln_test): Likewise.
19617
07e12bb3
JM
19618 * manual/filesys.texi (mode_t): Describe constraints on size and
19619 signedness, not exact equivalence to a particular type.
19620 (ino_t): Likewise.
19621 (ino64_t): Likewise.
19622 (dev_t): Likewise.
19623 (nlink_t): Likewise.
19624 (blkcnt_t): Likewise.
19625 (blkcnt64_t): Likewise.
19626 * manual/llio.texi (off_t): Likewise.
19627
28afd92d
JM
19628 [BZ #3976]
19629 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19630 (__ieee754_exp): Save and restore rounding mode and use
19631 round-to-nearest for all computations.
19632 * math/libm-test.inc (exp_test_tonearest): New function.
19633 (exp_test_towardzero): Likewise.
19634 (exp_test_downward): Likewise.
19635 (exp_test_upward): Likewise.
19636 (main): Call the new functions.
19637 * sysdeps/i386/fpu/libm-test-ulps: Update.
19638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19639
b1eeb65d
CD
196402012-03-01 Chris Demetriou <cgd@google.com>
19641
19642 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19643 have predictable order.
19644
53362a4b
DM
196452012-03-01 David S. Miller <davem@davemloft.net>
19646
3c969083
DM
19647 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19648
759707de
DM
19649 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19650 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19651 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19652 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19653
dfdb8ff2
DM
19654 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19655 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19656 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19658 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19659 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19660 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19661 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19662 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19663
ead89f96
DM
19664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19665
7f66bd07
DM
19666 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19667 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19668 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19669
53362a4b
DM
19670 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19671 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19672 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19673 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19674 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19676 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19677 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19678 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19679 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19680 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19681 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19682 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19683 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19684 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19685 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19686 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19687 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19688 * sysdeps/sparc/elf/configure: Regenerated.
19689
7b1902cb
JM
196902012-03-01 Joseph Myers <joseph@codesourcery.com>
19691
bec039bc
JM
19692 * configure.in (AS, LD): Require binutils 2.20 or later.
19693 * configure: Regenerated.
19694 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19695 as required minimum version.
19696 * INSTALL: Regenerated.
19697
7b1902cb
JM
19698 [BZ #2541]
19699 [BZ #4108]
19700 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19701 before squaring exponent.
19702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19703 bottom long double and 27 bits of top long double before squaring
19704 exponent.
19705 * math/libm-test.inc (erfc_test): Add more tests.
19706 * sysdeps/i386/fpu/libm-test-ulps: Update.
19707 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19709
f775c276
KT
197102012-03-01 Kai Tietz <ktietz@redhat.com>
19711
19712 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19713 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19714 containing bit-fields.
19715 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19716 * soft-fp/single.h (_FP_UNION_S): Likewise.
19717 * soft-fp/double.h (_FP_UNION_D): Likewise.
19718
5b8a4d4a
JM
197192012-02-29 Joseph Myers <joseph@codesourcery.com>
19720
0bab47b6
JM
19721 [BZ #13786]
19722 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19723 not include ../strcmp.S.
19724 [USE_AS_STRNCASECMP_L]: Likewise.
19725 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19726 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19727 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19728 (__strncasecmp_l_ia32): Define as alias to
19729 __strncasecmp_l_nonascii.
19730
0fcad3e2
JM
19731 [BZ #5794]
19732 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19733 * sysdeps/i386/fpu/libm-test-ulps: Update.
19734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19735
5b8a4d4a
JM
19736 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19738
8fdceb2e
JL
197392012-02-29 Jeff Law <law@redhat.com>
19740
19741 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19742 out of bounds read.
19743
1f393a11
MP
197442012-02-29 Marek Polacek <polacek@redhat.com>
19745
19746 [BZ #13706]
19747 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19748 * elf/Makefile: Add rules to run tst-unused-dep.out.
19749
8847f037
DM
197502012-02-28 David S. Miller <davem@davemloft.net>
19751
19752 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19753 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19755 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19756 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19757 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19758
169d7f11
JM
197592012-02-29 Joseph Myers <joseph@codesourcery.com>
19760
19761 * math/libm-test.inc (llround_test): Move one test from
19762 lround_test. Use TEST_f_L in moved test.
19763 (lround_test): Move misplaced test to llround_test. Add testcase
19764 from bug 2561.
19765
39adf059
UD
197662012-02-28 Ulrich Drepper <drepper@gmail.com>
19767
19768 * sysdeps/x86_64/fpu/e_expf.S: New file.
19769 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19770
71b5d1c5
SB
197712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19772
19773 [BZ #13637]
19774 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19775 of remain_len that may cause incomplete multi-byte character and
19776 false match.
19777 * posix/bug-regex33.c: New file.
19778 * posix/Makefile (tests): Add bug-regex33.
19779
1f77f049
JM
197802012-02-28 Joseph Myers <joseph@codesourcery.com>
19781
19782 * manual/macros.texi: New file.
19783 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19784 * manual/libc.texinfo: Include macros.texi.
19785 * manual/creatute.texi: Likewise.
19786 * manual/install.texi: Likewise.
19787 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19788 @glibcadj{} in references to the GNU C Library.
19789 * manual/charset.texi: Likewise.
19790 * manual/conf.texi: Likewise.
19791 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19792 when not using those macros.
19793 * manual/creature.texi: Likewise.
19794 * manual/crypt.texi: Likewise.
19795 * manual/errno.texi: Likewise.
19796 * manual/filesys.texi: Likewise.
19797 * manual/header.texi: Likewise.
19798 * manual/install.texi: Likewise.
19799 * manual/intro.texi: Likewise.
19800 * manual/io.texi: Likewise.
19801 * manual/job.texi: Likewise.
19802 * manual/lang.texi: Likewise.
19803 * manual/libc.texiinfo: Likewise.
19804 * manual/llio.texi: Likewise.
19805 * manual/locale.texi: Likewise.
19806 * manual/maint.texi: Likewise.
19807 * manual/math.texi: Likewise.
19808 * manual/memory.texi: Likewise.
19809 * manual/message.texi: Likewise.
19810 * manual/nss.texi: Likewise.
19811 * manual/pattern.texi: Likewise.
19812 * manual/process.texi: Likewise.
19813 * manual/resource.texi: Likewise.
19814 * manual/search.texi: Likewise.
19815 * manual/setjmp.texi: Likewise.
19816 * manual/signal.texi: Likewise.
19817 * manual/socket.texi: Likewise.
19818 * manual/startup.texi: Likewise.
19819 * manual/stdio.texi: Likewise.
19820 * manual/string.texi: Likewise.
19821 * manual/sysinfo.texi: Likewise.
19822 * manual/syslog.texi: Likewise.
19823 * manual/terminal.texi: Likewise.
19824 * manual/time.texi: Likewise.
19825 * manual/users.texi: Likewise.
19826 * INSTALL: Regenerated.
19827 * NOTES: Regenerated.
d40c5d54 19828 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19829
450bf206
AS
198302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19831
19832 * include/dirent.h: Include <dirstream.h> before
19833 <dirent/dirent.h>.
19834
741a235b
DM
198352012-02-28 David S. Miller <davem@davemloft.net>
19836
19837 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19838 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19839 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19840 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19841
d6b5aa58
DM
198422012-02-27 David S. Miller <davem@davemloft.net>
19843
1aff59a3
DM
19844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19846 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19847 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19848
d6b5aa58
DM
19849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19850 frame pointer instead of stack pointer relative arg slot.
19851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19852 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19853 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19854
433f48bf
CD
198552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19856
19857 [BZ #3992]
19858 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19859
d674b76d
DM
198602012-02-27 David S. Miller <davem@davemloft.net>
19861
19862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19868 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19870
0e7727f7
JM
198712012-02-27 Joseph Myers <joseph@codesourcery.com>
19872
19873 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19874 later. Allow versions 5-9.
43be4ca2 19875 * configure: Regenerated.
0e7727f7
JM
19876 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19877 required minimum version and 4.6 as recommended version. Do not
19878 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19879 * INSTALL: Regenerated.
0e7727f7 19880
a78bc654
DM
198812012-02-27 David S. Miller <davem@davemloft.net>
19882
428d5830
DM
19883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19887 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19888 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19889 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19890 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19891
a78bc654
DM
19892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19893 manipulate bits before adding and subtracting TWO112[sx].
19894 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19895
4579f81c
RM
198962012-02-27 Roland McGrath <roland@hack.frob.com>
19897
36c8acb4
RM
19898 [BZ #13775]
19899 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19900 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19901 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19902 being in POSIX, because they are in 1003.1-2008.
19903
84ad622b
RM
19904 * rt/tst-aio.c: Include <fcntl.h>.
19905 * rt/tst-aio7.c: Likewise.
19906 * rt/tst-aio64.c: Likewise.
19907
4579f81c
RM
19908 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19909
abd923db
JM
199102012-02-27 Joseph Myers <joseph@codesourcery.com>
19911
19912 * manual/install.texi (--with-headers): Describe headers as
19913 interface headers, not private headers.
19914 (Specific advice for GNU/Linux systems): Describe use of headers
19915 from "make headers_install", not private headers from older
19916 kernels.
43be4ca2 19917 * INSTALL: Regenerated.
abd923db
JM
19918 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19919 Change to 2.6.19.
19920 * sysdeps/unix/sysv/linux/configure: Regenerated.
19921
6664049b
JM
19922 * manual/llio.texi (fclean): Remove documentation.
19923
bb8b6697
JM
19924 * manual/Makefile (libc-texi-generated): New variable. Include
19925 version.texi.
19926 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19927 $(libc-texi-generated), not duplicated list of files.
19928 (version.texi, stamp-version): New rules.
19929 (realclean): Remove $(libc-texi-generated), not individual files
19930 from that list. Do not remove dir-add.texinfo.
19931 * manual/libc.texinfo: Comment out uses of edition numbers and
19932 references to printed manual. Remove last-updated dates.
19933 (EDITION): Comment out.
19934 (ISBN): Likewise.
19935 (VERSION, UPDATED): Remove.
19936 (version.texi): Include.
19937
12e5c3b9
AS
199382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19939
19940 * sysdeps/posix/spawni.c: Include <signal.h>.
19941 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19942 * sysdeps/pthread/aio_fsync.c: Likewise.
19943
4efeffc1 199442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19945
ba63ba08
UD
19946 * conform/Makefile (tests): Run only when not cross-compiling and
19947 when fast-check is not defined.
19948
d94a4670
UD
19949 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19950 * conform/data/limits.h-data: Fixes for POSIX2008.
19951 * conform/run-conformtest.sh: Run all tests.
19952 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19953 headers.
19954 * include/bits/dlfcn.h: Likewise.
19955 * include/langinfo.h: Likewise.
19956 * include/monetary.h: Likewise.
19957 * include/sys/poll.h: Likewise.
19958
19959 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19960 for __USE_GNU.
19961 * posix/spawn.h: Define __need_sigset_t.
19962 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19963 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19964 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19965 to get sigevent_t only.
19966 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19967 only for __USE_GNU.
19968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19969 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19970 process_vm_writev only for __USE_GNU.
19971 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19972
19973 * conform/Makefile: For now ignore errors from run-conformtest.
19974 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19975 POSIX to avoid namespace pollution. Don't prepend headers.
19976 * conform/data/aio.h-data: Fixes for POSIX testing.
19977 * conform/data/fcntl.h-data: Likewise.
19978 * conform/data/glob.h-data: Likewise.
19979 * conform/data/grp.h-data: Likewise.
19980 * conform/data/pthread.h-data: Likewise.
19981 * conform/data/pwd.h-data: Likewise.
19982 * conform/data/signal.h-data: Likewise.
19983 * conform/data/spawn.h-data: Likewise.
19984 * conform/data/stdio.h-data: Likewise.
19985 * conform/data/stdlib.h-data: Likewise.
19986 * conform/data/stropts.h-data: Likewise.
19987 * conform/data/sys/mman.h-data: Likewise.
19988 * conform/data/sys/stat.h-data: Likewise.
19989 * conform/data/sys/types.h-data: Likewise.
19990 * conform/data/sys/wait.h-data: Likewise.
19991 * conform/data/time.h-data: Likewise.
19992 * conform/data/unistd.h-data: Likewise.
19993 * conform/data/utime.h-data: Likewise.
19994
19995 * io/sys/stat.h: fchmod was always in POSIX.
19996 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19997 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19998 * rt/aio.h: Define __need_timespec before including <time.h>.
19999 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20000 struct. Add forward declaration of pthread_attr_t and use it in
20001 sigevent.
20002 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20003 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20004 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20005 always remove CLK_TCK definition.
20006
c20105c3
AS
200072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20008
20009 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20010
7a270350
UD
200112012-02-25 Ulrich Drepper <drepper@gmail.com>
20012
31341567
UD
20013 * conform/run-conformtest.sh: New file.
20014 * conform/Makefile: Run run-conformtest for tests.
20015 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20016 support.
20017
20018 * conform/data/uchar.h-data: New file.
20019 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20020 * conform/data/arpa/inet.h-data: Likewise.
20021 * conform/data/assert.h-data: Likewise.
20022 * conform/data/complex.h-data: Likewise.
20023 * conform/data/cpio.h-data: Likewise.
20024 * conform/data/ctype.h-data: Likewise.
20025 * conform/data/dirent.h-data: Likewise.
20026 * conform/data/dlfcn.h-data: Likewise.
20027 * conform/data/errno.h-data: Likewise.
20028 * conform/data/fcntl.h-data: Likewise.
20029 * conform/data/float.h-data: Likewise.
20030 * conform/data/fmtmsg.h-data: Likewise.
20031 * conform/data/fnmatch.h-data: Likewise.
20032 * conform/data/ftw.h-data: Likewise.
20033 * conform/data/glob.h-data: Likewise.
20034 * conform/data/grp.h-data: Likewise.
20035 * conform/data/iconv.h-data: Likewise.
20036 * conform/data/inttypes.h-data: Likewise.
20037 * conform/data/langinfo.h-data: Likewise.
20038 * conform/data/libgen.h-data: Likewise.
20039 * conform/data/limits.h-data: Likewise.
20040 * conform/data/locale.h-data: Likewise.
20041 * conform/data/math.h-data: Likewise.
20042 * conform/data/monetary.h-data: Likewise.
20043 * conform/data/mqueue.h-data: Likewise.
20044 * conform/data/ndbm.h-data: Likewise.
20045 * conform/data/net/if.h-data: Likewise.
20046 * conform/data/netdb.h-data: Likewise.
20047 * conform/data/netinet/in.h-data: Likewise.
20048 * conform/data/nl_types.h-data: Likewise.
20049 * conform/data/poll.h-data: Likewise.
20050 * conform/data/pthread.h-data: Likewise.
20051 * conform/data/pwd.h-data: Likewise.
20052 * conform/data/regex.h-data: Likewise.
20053 * conform/data/sched.h-data: Likewise.
20054 * conform/data/search.h-data: Likewise.
20055 * conform/data/semaphore.h-data: Likewise.
20056 * conform/data/setjmp.h-data: Likewise.
20057 * conform/data/signal.h-data: Likewise.
20058 * conform/data/spawn.h-data: Likewise.
20059 * conform/data/stdarg.h-data: Likewise.
20060 * conform/data/stdio.h-data: Likewise.
20061 * conform/data/stdlib.h-data: Likewise.
20062 * conform/data/string.h-data: Likewise.
20063 * conform/data/strings.h-data: Likewise.
20064 * conform/data/stropts.h-data: Likewise.
20065 * conform/data/sys/ipc.h-data: Likewise.
20066 * conform/data/sys/mman.h-data: Likewise.
20067 * conform/data/sys/msg.h-data: Likewise.
20068 * conform/data/sys/resource.h-data: Likewise.
20069 * conform/data/sys/select.h-data: Likewise.
20070 * conform/data/sys/sem.h-data: Likewise.
20071 * conform/data/sys/shm.h-data: Likewise.
20072 * conform/data/sys/socket.h-data: Likewise.
20073 * conform/data/sys/stat.h-data: Likewise.
20074 * conform/data/sys/statvfs.h-data: Likewise.
20075 * conform/data/sys/time.h-data: Likewise.
20076 * conform/data/sys/timeb.h-data: Likewise.
20077 * conform/data/sys/times.h-data: Likewise.
20078 * conform/data/sys/types.h-data: Likewise.
20079 * conform/data/sys/uio.h-data: Likewise.
20080 * conform/data/sys/un.h-data: Likewise.
20081 * conform/data/sys/utsname.h-data: Likewise.
20082 * conform/data/sys/wait.h-data: Likewise.
20083 * conform/data/syslog.h-data: Likewise.
20084 * conform/data/tar.h-data: Likewise.
20085 * conform/data/termios.h-data: Likewise.
20086 * conform/data/utime.h-data: Likewise.
20087 * conform/data/utmpx.h-data: Likewise.
20088 * conform/data/varargs.h-data: Likewise.
20089 * conform/data/wchar.h-data: Likewise.
20090 * conform/data/wctype.h-data: Likewise.
20091 * conform/data/wordexp.h-data: Likewise.
20092
20093 * include/stropts.h: New file.
20094 * include/uchar.h: New file.
20095 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20096 * include/assert.h: Likewise.
20097 * include/ctype.h: Likewise.
20098 * include/dirent.h: Likewise.
20099 * include/dlfcn.h: Likewise.
20100 * include/fcntl.h: Likewise.
20101 * include/fnmatch.h: Likewise.
20102 * include/glob.h: Likewise.
20103 * include/grp.h: Likewise.
20104 * include/libio.h: Likewise.
20105 * include/locale.h: Likewise.
20106 * include/math.h: Likewise.
20107 * include/net/if.h: Likewise.
20108 * include/netdb.h: Likewise.
20109 * include/netinet/in.h: Likewise.
20110 * include/pthread.h: Likewise.
20111 * include/pwd.h: Likewise.
20112 * include/regex.h: Likewise.
20113 * include/sched.h: Likewise.
20114 * include/search.h: Likewise.
20115 * include/setjmp.h: Likewise.
20116 * include/signal.h: Likewise.
20117 * include/stdio.h: Likewise.
20118 * include/stdlib.h: Likewise.
20119 * include/string.h: Likewise.
20120 * include/sys/cdefs.h: Likewise.
20121 * include/sys/mman.h: Likewise.
20122 * include/sys/msg.h: Likewise.
20123 * include/sys/resource.h: Likewise.
20124 * include/sys/select.h: Likewise.
20125 * include/sys/socket.h: Likewise.
20126 * include/sys/stat.h: Likewise.
20127 * include/sys/statvfs.h: Likewise.
20128 * include/sys/time.h: Likewise.
20129 * include/sys/times.h: Likewise.
20130 * include/sys/uio.h: Likewise.
20131 * include/sys/utsname.h: Likewise.
20132 * include/sys/wait.h: Likewise.
20133 * include/termios.h: Likewise.
20134 * include/time.h: Likewise.
20135 * include/ulimit.h: Likewise.
20136 * include/unistd.h: Likewise.
20137 * include/utime.h: Likewise.
20138 * include/wchar.h: Likewise.
20139 * include/wctype.h: Likewise.
20140 * include/wordexp.h: Likewise.
20141
20142 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20143
7a270350
UD
20144 * time/time.h: TIME_UTC must be a macro.
20145 Make timespec_get available for ISO C11 only as well.
20146
7724defc
UD
201472012-02-24 Ulrich Drepper <drepper@gmail.com>
20148
20149 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20150 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20151
6b1d1d46
JM
201522012-02-24 Joseph Myers <joseph@codesourcery.com>
20153
20154 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20155
0f8bbd69
JM
201562012-02-24 Joseph Myers <joseph@codesourcery.com>
20157
20158 * manual/texinfo.tex: Update to version 2012-01-19.16.
20159
66ab80bc
JM
201602012-02-24 Joseph Myers <joseph@codesourcery.com>
20161
20162 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20163
74981cc5
RM
201642012-02-24 Roland McGrath <roland@hack.frob.com>
20165
ee968201
RM
20166 [BZ #13738]
20167 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20168 * manual/fdl-1.3.texi: New file.
20169 * manual/fdl-1.1.texi: File removed.
20170
74981cc5
RM
20171 [BZ #13738]
20172 * manual/libc.texinfo (FDL_VERSION): New @set.
20173 Use it for mention of FDL in cover text.
20174 (Documentation License): Use it in @include file name.
20175
7bb764bc
JM
201762012-02-22 Joseph Myers <joseph@codesourcery.com>
20177 Roland McGrath <roland@hack.frob.com>
20178
20179 [BZ #5461]
20180 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20181 not LONG_LONG_MAX and LONG_LONG_MIN.
20182 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20183 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20184 name.
20185 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20186
6cbeae47
JM
201872012-02-22 Joseph Myers <joseph@codesourcery.com>
20188
20189 [BZ #2547]
20190 [BZ #11365]
20191 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20192 manipulate bits before adding and subtracting TWO23[sx].
20193 * math/libm-test.inc (nearbyint_test): Add more tests.
20194
fe45ce09
JM
201952012-02-22 Joseph Myers <joseph@codesourcery.com>
20196
20197 [BZ #2548]
20198 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20199 bits before adding and subtracting TWO23[sx].
20200 * math/libm-test.inc (rint_test): Add more tests.
20201 (rint_test_tonearest): Likewise.
20202 (rint_test_towardzero): Likewise.
20203 (rint_test_downward): Likewise.
20204 (rint_test_upward: Likewise.
20205
ff3b3d82
JM
202062012-02-22 Joseph Myers <joseph@codesourcery.com>
20207
20208 [BZ #10110]
20209 * include/stdc-predef.h: New file. Extracted from features.h.
20210 * include/features.h: Include stdc-predef.h.
20211 * Makefile (headers): Add stdc-predef.h.
20212 * CONFORMANCE (Compiler limitations): Update.
20213
ef0aab35
JM
202142012-02-22 Joseph Myers <joseph@codesourcery.com>
20215
20216 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20217
58639409
DM
202182012-02-21 David S. Miller <davem@davemloft.net>
20219
20220 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20221 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20222
c0e70b25
DM
202232012-02-20 David S. Miller <davem@davemloft.net>
20224
20225 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20226 using a normal save/restore sequence, rather than allocating a
20227 dummy stack frame just to store a frame pointer and restore.
20228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20229
fb06851d
JM
202302012-02-21 Joseph Myers <joseph@codesourcery.com>
20231
20232 * manual/install.texi: Fix stray word in line-wrapped comment.
20233
7a8b71c3
DM
202342012-02-20 David S. Miller <davem@davemloft.net>
20235
d510c123
DM
20236 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20237 both binutils and gcc support GOTDATA.
20238
0722d7c2
DM
20239 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20240 "rd %pc" in the PIC register setup sequences.
20241
3d2b3019
DM
20242 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20243 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20244 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20245 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20248 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20251 (SYSCALL_ERROR_HANDLER): Likewise.
20252 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20253 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20255 (SYSCALL_ERROR_HANDLER): Likewise.
20256
c80098a9
DM
20257 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20258 (HAVE_GCC_GOTDATA): New.
20259 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20260 relocation support in both binutils and gcc.
20261 * sysdeps/sparc/elf/configure: Regenerate.
20262
3a2545a0
DM
20263 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20264 * sysdeps/sparc/sparc32/elf/configure: Delete.
20265 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20266 * sysdeps/sparc/sparc64/elf/configure: Delete.
20267 * sysdeps/sparc/elf/configure.in: New file.
20268 * sysdeps/sparc/elf/configure: Generate.
20269
7a8b71c3
DM
20270 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20271 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20272 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20273 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20274 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20275
f1e86fca
JM
202762012-02-21 Joseph Myers <joseph@codesourcery.com>
20277
20278 * manual/install.texi: Do not mention specific glibc version
20279 numbers.
20280 * manual/libc.texinfo (VERSION, UPDATED): Update.
20281 (@copying): Use @copyright{} and range of years.
20282
0e7dfaef
JM
202832012-02-21 Joseph Myers <joseph@codesourcery.com>
20284
20285 [BZ #13695]
20286 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20287 [crti.S not in sysdirs] (generated): Do not append.
20288 [crti.S not in sysdirs] (omit-deps): Likewise.
20289 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20290 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20291 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20292 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20293 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20294 Likewise.
20295 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20296 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20297 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20298 * csu/defs.awk: Remove file.
20299 * sysdeps/generic/initfini.c: Likewise.
20300 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20301 variable.
20302 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20303 Likewise.
20304
599af3ca
JM
203052012-02-20 Joseph Myers <joseph@codesourcery.com>
20306
20307 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20308 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20309 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20310 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20311 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20312 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20313 <bits/epoll.h>.
20314 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20315 (__EPOLL_PACKED): Define to empty if not defined by
20316 <bits/epoll.h>.
20317 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20319 bits/epoll.h.
20320
0e499750
JM
203212012-02-20 Joseph Myers <joseph@codesourcery.com>
20322
20323 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20324 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20325 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20326 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20327 <bits/timerfd.h>.
20328 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20330 bits/timerfd.h.
20331
5ad91f6e
JM
203322012-02-20 Joseph Myers <joseph@codesourcery.com>
20333
20334 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20335 in C locale.
20336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20337 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20338 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20340
06b99b02
AJ
203412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20342
20343 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20344 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20345
7638c0fd
AS
203462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20347
20348 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20349 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20350 defined.
20351 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20352 Likewise.
20353 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20354 entry for 2.16.
20355
92221550
AJ
203562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20357
20358 * math/w_acos.c: Use non-signaling floating-point comparisons.
20359 * math/w_acosf.c: Likewise.
20360 * math/w_acosh.c: Likewise.
20361 * math/w_acoshf.c: Likewise.
20362 * math/w_acoshl.c: Likewise.
20363 * math/w_acosl.c: Likewise.
20364 * math/w_asin.c: Likewise.
20365 * math/w_asinf.c: Likewise.
20366 * math/w_asinl.c: Likewise.
20367 * math/w_atanh.c: Likewise.
20368 * math/w_atanhf.c: Likewise.
20369 * math/w_atanhl.c: Likewise.
20370 * math/w_exp2.c: Likewise.
20371 * math/w_exp2f.c: Likewise.
20372 * math/w_exp2l.c: Likewise.
20373 * math/w_j0.c: Likewise.
20374 * math/w_j0f.c: Likewise.
20375 * math/w_j0l.c: Likewise.
20376 * math/w_j1.c: Likewise.
20377 * math/w_j1f.c: Likewise.
20378 * math/w_j1l.c: Likewise.
20379 * math/w_jn.c: Likewise.
20380 * math/w_jnf.c: Likewise.
20381 * math/w_log.c: Likewise.
20382 * math/w_log10.c: Likewise.
20383 * math/w_log10f.c: Likewise.
20384 * math/w_log10l.c: Likewise.
20385 * math/w_log2.c: Likewise.
20386 * math/w_log2f.c: Likewise.
20387 * math/w_log2l.c: Likewise.
20388 * math/w_logf.c: Likewise.
20389 * math/w_logl.c: Likewise.
20390 * math/w_sqrt.c: Likewise.
20391 * math/w_sqrtf.c: Likewise.
20392 * math/w_sqrtl.c: Likewise.
20393 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20394 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20395 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20396 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20397 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20398
ebaf36eb
JM
203992012-02-19 Joseph Myers <joseph@codesourcery.com>
20400
20401 [BZ #9739]
20402 * manual/string.texi (strnlen): Use correct parameter name in
20403 equivalent expression.
20404
71c254a6
JM
204052012-02-19 Joseph Myers <joseph@codesourcery.com>
20406
20407 [BZ #11174]
20408 * manual/users.texi (seteuid): Consistently use neweuid for
20409 argument name.
20410
16d2c631
JM
204112012-02-19 Joseph Myers <joseph@codesourcery.com>
20412
20413 [BZ #13704]
20414 * manual/nss.texi (Services in the NSS configuration): Correct
20415 list of services in example configuration file.
20416
cd837b09
NB
204172012-02-19 Nick Bowler <nbowler@draconx.ca>
20418
20419 [BZ #11322]
20420 * manual/arith.texi: Remove statements about negative zero
20421 behaving identically to zero.
20422
02c4bbad
JM
204232012-02-18 Joseph Myers <joseph@codesourcery.com>
20424
20425 [BZ #5993]
20426 * manual/install.texi: Do not document upgrading from libc5.
20427
366842e7
JM
204282012-02-18 Joseph Myers <joseph@codesourcery.com>
20429
20430 [BZ #4596]
20431 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20432
dd54084d
DM
204332012-02-18 David S. Miller <davem@davemloft.net>
20434
20435 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20436 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20437 %o7 across the call.
20438 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20439 instead.
20440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20441 SETUP_PIC_REG_LEAF.
20442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20443 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20444 * sysdeps/sparc/crtn.S: Likewise.
20445
2bcc53a3
UD
204462012-02-17 Ulrich Drepper <drepper@gmail.com>
20447
20448 * aout/Makefile: Remove.
20449
09c093b5
RK
204502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20451
20452 [BZ #13058]
20453 * manual/examples/argp-ex1.c (main): Format definition in GNU
20454 style.
20455 * manual/examples/argp-ex2.c (main): Likewise.
20456 * manual/examples/argp-ex3.c (main): Likewise.
20457 * manual/examples/argp-ex4.c (main): Likewise.
20458 * manual/examples/longopt.c (main): Use new-style prototype
20459 definition.
20460 * manual/examples/strncat.c (main): Specify return type and use
20461 (void) for arguments.
20462 * manual/examples/subopt.c (main): Use char **argv argument.
20463
2ee633a2
JM
204642012-02-17 Joseph Myers <joseph@codesourcery.com>
20465
20466 [BZ #5077]
20467 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20468 rounding modes.
20469
0520adde
FB
204702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20471
20472 [BZ #6907]
20473 * manual/string.texi (strchr): Change when strchrnul is
20474 recommended.
20475
3f4081cd
DGM
204762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20477
20478 [BZ #174]
20479 * manual/locale.texi (setlocale): Document LOCPATH.
20480
d1b10e78
JM
204812012-02-17 Joseph Myers <joseph@codesourcery.com>
20482
20483 [BZ #10210]
20484 * manual/process.texi (execle): Move @dots{} before last argument.
20485
79c6869c
PB
204862012-02-17 Paul Bolle <pebolle@tiscali.nl>
20487
20488 [BZ #12047]
20489 * manual/charset.texi (Generic Charset Conversion): Fix typo
20490 (LC_TYPE -> LC_CTYPE).
20491
cc6e48bc
NB
204922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20493
20494 [BZ #5805]
20495 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20496 (scalbnf): Likewise.
20497 (scalbnl): Likewise.
20498 (scalbln): Likewise.
20499 (scalblnf): Likewise.
20500 (scalblnl): Likewise.
20501 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20502 (vwarnx): Likewise.
20503 (verr): Likewise.
20504 (verrx): Likewise.
20505 * manual/filesys.texi (telldir): Use braces around return type.
20506 * manual/llio.texi (mmap): Add space after comma.
20507 (mmap64): Likewise.
20508 * manual/math.texi (jn): Use @var{} on parameter names.
20509 (jnf): Likewise.
20510 (jnl): Likewise.
20511 (yn): Likewise.
20512 (ynf): Likewise.
20513 (ynl): Likewise.
20514 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20515 line.
20516 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20517 "...".
20518 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20519 (sched_get_priority_max): Likewise.
20520 * manual/signal.texi (sigvec): Add space after comma.
20521 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20522 names.
20523 (if_indextoname): Likewise.
20524 (if_freenameindex): Likewise.
20525 (sendto): Use ',' instead of '.' in prototype.
20526 * manual/startup.texi (syscall): Use @dots{} instead of literal
20527 "...".
20528 * manual/stdio.texi (__fpending): Separate initial words of
20529 paragraph from @deftypefun line.
20530 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20531 "...".
20532 (vsyslog): Use @var{} on parameter names.
20533 * manual/terminal.texi (stty): Use @var{} on parameter names.
20534 * manual/users.texi (getutmp): Use @var{} on parameter names.
20535 (getutmpx): Likewise.
20536
5b23062f
JM
205372012-02-17 Joseph Myers <joseph@codesourcery.com>
20538
20539 [BZ #6884]
20540 * manual/stdio.texi (fopen): Fix typos in description of
20541 ",ccs=STRING".
20542
8dee4833
AJ
205432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20544
20545 [BZ #4026]
20546 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20547 get clock_id definition.
20548
9078ce93
TS
205492012-02-17 Thomas Schwinge <thomas@schwinge.name>
20550
20551 [BZ #4822]
20552 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20553 (madvise): Cast every argument to void on its own.
20554
3835c55f
JM
205552012-02-17 Joseph Myers <joseph@codesourcery.com>
20556
20557 [BZ #9902]
20558 * manual/startup.texi (Exit Status): Fix typo.
20559
35c47e37
JM
205602012-02-17 Joseph Myers <joseph@codesourcery.com>
20561
20562 [BZ #10140]
20563 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20564 * manual/examples/argp-ex2.c: Likewise.
20565 * manual/examples/argp-ex3.c: Likewise.
20566
e3b69ca7
RH
205672012-02-16 Richard Henderson <rth@redhat.com>
20568
20569 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20570 * sysdeps/s390/s390-32/initfini.c: Remove.
20571 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20572 * sysdeps/s390/s390-64/initfini.c: Remove.
20573
df83af67
KK
205742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20575
20576 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20577 compiler output for sysdeps/generic/initfini.c.
20578 * sysdeps/sh/elf/initfini.c: Remove file.
20579
f63f3380
DM
205802012-02-16 David S. Miller <davem@davemloft.net>
20581
fb59b3a4
DM
20582 [BZ #11494]
20583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20584
f63f3380
DM
20585 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20586 * sysdeps/sparc/crti.S: New file.
20587 * sysdeps/sparc/crtn.S: New file.
20588 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20589 * sysdeps/sparc/sparc64/Makefile: Likewise.
20590
df6a4a4a
MF
205912012-02-15 Mike Frysinger <vapier@gentoo.org>
20592
6dd8f3dc 20593 [BZ #3335]
df6a4a4a
MF
20594 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20595
1cac7236
RM
205962012-02-15 Roland McGrath <roland@hack.frob.com>
20597
d2c736f8
RM
20598 [BZ #4822]
20599 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20600
1cac7236
RM
20601 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20602 (write, read, close): Likewise.
20603 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20604
8e475601
JM
206052012-02-15 Joseph Myers <joseph@codesourcery.com>
20606
20607 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20608 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20609 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20610 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20611 <bits/signalfd.h>.
20612 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20614 bits/signalfd.h.
20615
ed656b40
MP
206162012-02-14 Marek Polacek <polacek@redhat.com>
20617
20618 * sysdeps/x86_64/crti.S: New file.
20619 * sysdeps/x86_64/crtn.S: New file.
20620 * sysdeps/x86_64/elf/initfini.c: Remove file.
20621
2a979d3a
JM
206222012-02-13 Joseph Myers <joseph@codesourcery.com>
20623
20624 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20625 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20626 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20627 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20628 <bits/inotify.h>.
20629 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20631 bits/inotify.h.
20632
2a418ac3
JM
206332012-02-13 Joseph Myers <joseph@codesourcery.com>
20634
20635 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20636 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20638 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20639 <bits/eventfd.h>.
20640 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20642 bits/eventfd.h.
20643
fb779be7
TS
206442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20645
e19e83c5
RM
20646 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20647 __feraiseexcept instead of feraiseexcept.
7c35ffed 20648
fb779be7
TS
20649 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20650 nanosleep invocations.
20651 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20652 strings, and add error checking for a nanosleep invocations.
20653
59ba27a6
PE
206542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20655
20656 Replace FSF snail mail address with URLs, as per GNU coding standards.
20657 Most of the snail mail addresses were wrong anyway, and omitting
20658 them makes the source code easier to maintain. Almost all of the
20659 changes are to license notices and to locale LC_IDENTIFICATION
20660 addresses, except for this one:
20661 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20662 not its snail mail address.
20663
57b957eb
RH
206642012-02-09 Richard Henderson <rth@twiddle.net>
20665
af850b1c
RH
20666 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20667 of kernel-features.h.
20668
57b957eb
RH
20669 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20670
6b73181a
MP
206712012-02-08 Marek Polacek <polacek@redhat.com>
20672
20673 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20674 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20675 * sysdeps/gnu/_G_config.h: Likewise.
20676 * sysdeps/generic/_G_config.h: Likewise.
20677
26ecc33a
AS
206782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20679
6c6dbc63
AS
20680 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20681 tests.
20682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20683
e216c012
AS
20684 * sysdeps/powerpc/powerpc32/crti.S: New file.
20685 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20686 * sysdeps/powerpc/powerpc64/crti.S: New file.
20687 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20688
26ecc33a
AS
20689 * Makeconfig (have-initfini): Don't set.
20690 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20691 * configure.in (nopic_initfini): Don't substitute.
20692 * config.h.in (HAVE_INITFINI): Don't #undef.
20693 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20694 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20695
3add8e13
JM
206962012-02-08 Joseph Myers <joseph@codesourcery.com>
20697
20698 Support crti.S and crtn.S provided directly by architectures.
20699 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20700 [crti.S in sysdirs] (omit-deps): Likewise.
20701 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20702 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20703 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20704 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20705 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20706 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20707 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20708 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20709 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20710 compiler output for sysdeps/generic/initfini.c.
20711 * sysdeps/i386/elf/Makefile: Remove file.
20712 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20713
a22f12b4
MP
207142012-02-07 Marek Polacek <polacek@redhat.com>
20715
20716 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20717 * sysdeps/gnu/_G_config.h: Likewise.
20718 * sysdeps/mach/hurd/_G_config.h: Likewise.
20719
148cf100
MP
207202012-02-07 Marek Polacek <polacek@redhat.com>
20721
20722 * math/Makefile (tests): Add tst-CMPLX2.
20723 * math/tst-CMPLX2.c: New file.
20724
cfdc0dd7
AS
207252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20726
84ba42c4
AS
20727 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20728
cfdc0dd7
AS
20729 * math/libm-test.inc (jn_test): Add missing L suffix.
20730
622c86f4
MP
207312012-02-06 Marek Polacek <polacek@redhat.com>
20732
20733 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20734 * sysdeps/i386/fpu/e_powf.S: Likewise.
20735 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20736 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20737 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20738 * sysdeps/i386/fpu/e_pow.S: Likewise.
20739 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20740 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20741 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20742 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20743 * sysdeps/i386/fpu/e_log2.S: Likewise.
20744 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20745 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20746 * sysdeps/i386/fpu/e_powl.S: Likewise.
20747 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20748 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20749 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20750 * sysdeps/i386/fpu/e_logl.S: Likewise.
20751 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20752 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20753 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20754 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20755 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20756 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20757 * sysdeps/i386/fpu/e_log.S: Likewise.
20758 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20759 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20760 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20761 * sysdeps/i386/fpu/e_logf.S: Likewise.
20762 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20763 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20764 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20765 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20766 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20767 * sysdeps/i386/fpu/e_log10.S: Likewise.
20768 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20769 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20770 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20771 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20772 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20773 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20774 * sysdeps/i386/asm-syntax.h: Likewise.
20775 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20776 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20777 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20778 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20779 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20780 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20781 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20782 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20784 * sysdeps/powerpc/sysdep.h: Likewise.
20785 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20786 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20787
d4a54ac6
JM
207882012-02-06 Joseph Myers <joseph@codesourcery.com>
20789
20790 [BZ #411]
20791 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20792
314054ea
JM
207932012-02-06 Joseph Myers <joseph@codesourcery.com>
20794
20795 * sysdeps/i386/sysdep.h: Include <features.h>.
20796 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20797 version.
20798
d8e0ca50
JM
207992012-02-05 Joseph Myers <joseph@codesourcery.com>
20800
20801 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20802 Define.
20803 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20804 LOAD_PIC_REG_STR.
20805
b1da7dd9
JM
208062012-02-03 Joseph Myers <joseph@codesourcery.com>
20807
20808 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20809 (SETUP_PIC_REG): Use GET_PC_THUNK.
20810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20811 macro.
20812
9a1d9254
JM
208132012-02-03 Joseph Myers <joseph@codesourcery.com>
20814
20815 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20816 for non-PIC compilation.
20817 (SETUP_PIC_REG): Add .p2align directive.
20818 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20819 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20820 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20821 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20822 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20823 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20824 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20826 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20827 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20828 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20829 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20830 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20831 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20832 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20833 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20834 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20835 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20836 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20837 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20838 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20839 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20840 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20841 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20842 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20844 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20845 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20846 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20847 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20848 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20849 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20850 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20851 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20852 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20853 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20854 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20855 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20856 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20857 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20858 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20859
65dc3b75
JM
208602012-02-03 Joseph Myers <joseph@codesourcery.com>
20861
20862 * math/tst-CMPLX.c: Include <stdio.h>.
20863
d55bf177
JM
208642012-01-31 Joseph Myers <joseph@codesourcery.com>
20865
20866 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20867 float.
20868 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20869 * sysdeps/sparc/bits/mathdef.h: Likewise.
20870
69db4f8f
MP
208712012-01-31 Marek Polacek <polacek@redhat.com>
20872
20873 * libio/libio.h: Don't define _PARAMS.
20874 * locale/programs/config.h: Don't define PARAMS.
20875 * stdlib/strtol_l.c: Likewise.
20876 (__strtol_l): Remove PARAMS from the prototype.
20877
41b81892
UD
208782012-01-31 Ulrich Drepper <drepper@gmail.com>
20879
3b49edc0
UD
20880 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20881 names. Just use the correct names. Remove unnecessary wrapper
20882 functions.
20883 * malloc/arena.c: Likewise.
20884 * malloc/hooks.c: Likewise.
20885
41b81892
UD
20886 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20887 ARENA_TEST says not to. Simplify test for creation of a new arena.
20888 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20889
27a25b6e
UD
208902012-01-30 Ulrich Drepper <drepper@gmail.com>
20891
20892 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20893 into tail calls.
20894 (update_get_addr): New function.
20895 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20896 GET_ADDR_MODULE parameter.
20897
c8a89e7d
JM
208982012-01-30 Joseph Myers <joseph@codesourcery.com>
20899
20900 * crypt/cert.c: Remove __STDC__ conditionals.
20901 * crypt/crypt-entry.c: Likewise.
20902 * crypt/crypt_util.c: Likewise.
20903 * libio/filedoalloc.c: Likewise.
20904 * libio/fileops.c: Likewise.
20905 * libio/genops.c: Likewise.
20906 * libio/iofclose.c: Likewise.
20907 * libio/iofdopen.c: Likewise.
20908 * libio/iofopen.c: Likewise.
20909 * libio/iofopen64.c: Likewise.
20910 * libio/iogetdelim.c: Likewise.
20911 * libio/iopopen.c: Likewise.
20912 * libio/obprintf.c: Likewise.
20913 * libio/oldfileops.c: Likewise.
20914 * libio/oldiofclose.c: Likewise.
20915 * libio/oldiofdopen.c: Likewise.
20916 * libio/oldiofopen.c: Likewise.
20917 * libio/oldiopopen.c: Likewise.
20918 * libio/wfiledoalloc.c: Likewise.
20919 * libio/wgenops.c: Likewise.
20920 * locale/programs/xmalloc.c: Likewise.
20921 * misc/syslog.c: Likewise.
20922 * stdio-common/xbug.c: Likewise.
20923 * string/memchr.c: Likewise.
20924 * string/memcmp.c: Likewise.
20925 * string/memrchr.c: Likewise.
20926 * string/rawmemchr.c: Likewise.
20927 * sysdeps/posix/getcwd.c: Likewise.
20928 * time/strftime_l.c: Likewise.
20929
3b100462
JM
209302012-01-30 Joseph Myers <joseph@codesourcery.com>
20931
20932 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20933 * config.make.in (config-cflags-sse2avx): Define.
20934 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20935 Fix typo.
20936
607998af
CM
209372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20938
20939 * scripts/config.guess: Update from upstream config git repository.
20940 * scripts/config.sub: Likewise.
20941
3601428f
CM
209422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20943
3ac8b282
CM
20944 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20945 (EM_NUM): Update.
20946 (R_TILEPRO_*, R_TILEGX_*): New macros.
20947
e034841e
CM
20948 * scripts/firstversions.awk: Fix bug in version range handling.
20949
540d7568
CM
20950 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20951
3601428f
CM
20952 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20953
463de862
CM
20954 * include/sys/epoll.h: New file.
20955 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20956 libc_hidden_def.
20957
73139a76
UD
209582012-01-28 Ulrich Drepper <drepper@gmail.com>
20959
96bc5b45
UD
20960 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20961 Avoid unnecessary __WORDSIZE == 64 test.
20962 (fmaxf): Use VEX format if possible.
20963 (fmax): Likewise.
20964 (fminf): Likewise.
20965 (fmin): Likewise.
20966
56f6f6a2
UD
20967 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20968 * math/math_private.h: Remove libc_fegetround* and
20969 libc_fesetround*.
20970 * sysdeps/i386/configure.in: Check for -msse2avx.
20971 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20972 also if SSE2AVX is defined.
20973 Remove libc_fegetround* and libc_fesetround*.
20974 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20975 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20976 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20977 of HAS_YMM_USABLE.
20978 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20979 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20980 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20983
73139a76
UD
20984 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20985
d73f93a4
AZ
209862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20987
20988 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20989 size is not set.
20990 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20991
6ee65ed6
UD
209922012-01-27 Ulrich Drepper <drepper@gmail.com>
20993
20994 [BZ #13618]
20995 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20996 relocation.
20997 * Makeconfig (libm): Define.
20998 * elf/Makefile: Add rules to build and run tst-relsort1.
20999 * elf/tst-relsort1.c: New file.
21000 * elf/tst-relsort1mod1.c: New file.
21001 * elf/tst-relsort1mod2.c: New file.
21002
8db21882
JM
210032012-01-27 Joseph Myers <joseph@codesourcery.com>
21004
21005 * math/s_ldexp.c: Remove __STDC__ conditionals.
21006 * math/s_ldexpf.c: Likewise.
21007 * math/s_ldexpl.c: Likewise.
21008 * math/s_nextafter.c: Likewise.
21009 * math/s_nexttowardf.c: Likewise.
21010 * math/s_significand.c: Likewise.
21011 * math/s_significandf.c: Likewise.
21012 * math/s_significandl.c: Likewise.
21013 * math/w_jnl.c: Likewise.
21014 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21015 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21016 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21017 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21018 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21020 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21021 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21022 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21023 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21024 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21026 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21027 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21028 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21029 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21030 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21031 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21033 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21034 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21035 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21036 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21037 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21038 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21039 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21040 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21041 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21042 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21043 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21044 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21045 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21046 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21048 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21049 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21050 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21051 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21052 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21053 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21054 * sysdeps/ieee754/k_standard.c: Likewise.
21055 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21056 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21057 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21058 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21059 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21060 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21062 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21063 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21064 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21065 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21066 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21067 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21068 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21069 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21070 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21071 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21073 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21074 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21075 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21076 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21077 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21078 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21079 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21080 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21081 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21082 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21084 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21086 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21087 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21089 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21090 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21091 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21099 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21103 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21106 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21107 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21108 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21114 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21116 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21129 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21130 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21134 * sysdeps/ieee754/s_matherr.c: Likewise.
21135 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21136 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21139
965a54a4
JM
211402012-01-26 Joseph Myers <joseph@codesourcery.com>
21141
21142 * crypt/md5.h: Remove __STDC__ conditionals.
21143 * libio/libioP.h: Likewise.
21144 * locale/programs/config.h: Likewise.
21145 * sysdeps/generic/sysdep.h: Likewise.
21146 * sysdeps/i386/asm-syntax.h: Likewise.
21147 * sysdeps/s390/asm-syntax.h: Likewise.
21148 * sysdeps/unix/sysdep.h: Likewise.
21149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21151
7071ad79
JM
211522012-01-26 Joseph Myers <joseph@codesourcery.com>
21153
21154 * libio/libio.h: Remove __STDC__ conditionals.
21155 * malloc/obstack.h: Likewise.
21156 * math/complex.h: Likewise.
21157 * math/math.h: Likewise.
21158 * sysdeps/generic/_G_config.h: Likewise.
21159 * sysdeps/gnu/_G_config.h: Likewise.
21160 * sysdeps/mach/hurd/_G_config.h: Likewise.
21161 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21162 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21163 * sysdeps/sparc/bits/mathdef.h: Likewise.
21164
afc5ed09
UD
211652012-01-26 Ulrich Drepper <drepper@gmail.com>
21166
21167 [BZ #13583]
21168 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21169 Clean up HAS_* macros.
afc5ed09 21170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21171 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21172 possible.
21173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21174 HAS_AVX.
21175 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21176 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21177 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21178 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21179 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21180
bdb6de1d
JM
211812012-01-25 Joseph Myers <joseph@codesourcery.com>
21182
21183 * elf/tst-unique3.cc (gets): Remove declaration.
21184 * elf/tst-unique3lib.cc (gets): Likewise.
21185 * elf/tst-unique3lib2.cc (gets): Likewise.
21186 * elf/tst-unique4.cc (gets): Likewise.
21187
b15549e6
UD
211882012-01-24 Ulrich Drepper <drepper@gmail.com>
21189
21190 * include/stdio.h: Add C++ protection. Add gets declarations and
21191 definitions.
21192 * debug/tst-chk1.c: Don't declare gets here.
21193 * stdio-common/tst-gets.c: Likewise.
21194
a037381f
JM
211952012-01-24 Joseph Myers <joseph@codesourcery.com>
21196
21197 * posix/glob: Remove directory.
21198
f1d4aa75
JM
211992012-01-24 Joseph Myers <joseph@codesourcery.com>
21200
21201 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21202
81c0c964
PT
212032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21204
21205 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21206 of the non-standard EPFNOSUPPORT.
21207
0ea698ae
ST
212082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21209
21210 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21211 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21212 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21213
d220b117
UD
212142012-01-21 Ulrich Drepper <drepper@gmail.com>
21215
21216 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21217
3e1aa84e
UD
212182012-01-20 Ulrich Drepper <drepper@gmail.com>
21219
21220 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21221 transient errors.
21222 * nscd/grpcache.c (cache_addgr): Likewise.
21223 * nscd/hstcache.c (cache_addhst): Likewise.
21224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21225 * nscd/pwdcache.c (cache_addpw): Likewise.
21226 * nscd/servicescache.c (cache_addserv): Likewise.
21227
400aa020
UD
212282012-01-16 Ulrich Drepper <drepper@gmail.com>
21229
d77e7869
UD
21230 * malloc/malloc.c: Various cleanups.
21231 * malloc/hooks.c: Likewise.
21232
400aa020
UD
21233 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21234 * stdlib/bug-fmtmsg1.c: New file.
21235
21236 * stdlib/fmtmsg.c (init): Add missing unlock.
21237 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21238
e0a309cf
MP
212392012-01-12 Marek Polacek <polacek@redhat.com>
21240
21241 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21242 and _GNU_SOURCE.
21243
929d11c7
WS
212442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21245
21246 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21247 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21248 macro to ensure uniqueness of label name.
21249 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21250 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21251
41d0e869
UD
212522012-01-11 Ulrich Drepper <drepper@gmail.com>
21253
0cc5ed3b
UD
21254 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21255
41d0e869
UD
21256 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21257 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21260
a47a831a
UD
212612012-01-10 Ulrich Drepper <drepper@gmail.com>
21262
daa891c0
UD
21263 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21264
21265 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21266 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21267 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21268
e58ef0f2
UD
21269 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21270
a47a831a 21271 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21272 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21274 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21275
21276 * math/bits/math-finite.h: Add ldexp support.
21277
a0bfc9c7
MP
212782012-01-10 Marek Polacek <polacek@redhat.com>
21279
21280 * locale/programs/localedef.h (show_archive_content): Add noreturn
21281 attribute.
21282
d6e97a1d
UD
212832012-01-09 Ulrich Drepper <drepper@gmail.com>
21284
21285 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21286
d5835c26
UD
212872012-01-08 Ulrich Drepper <drepper@gmail.com>
21288
e5f484c6
UD
21289 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21290
d5835c26
UD
21291 * io/Makefile (headers): Add bits/poll2.h.
21292
d1f741e9
WS
212932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21294
21295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21296 typo #include statement.
21297
ec09c1c4
UD
212982012-01-08 Ulrich Drepper <drepper@gmail.com>
21299
21300 * include/sys/cdefs.h: Define __attribute_alloc_size.
21301 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21302 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21303 * elf/pldd.c: Likewise.
21304 * iconv/iconv_charmap.c: Likewise.
21305 * iconv/iconvconfig.c: Likewise.
21306 * iconv/strtab.c: Likewise.
21307 * locale/programs/locale.c: Likewise.
21308 * locale/programs/localedef.h: Likewise.
21309 * locale/programs/simple-hash.c: Likewise.
21310 * nscd/nscd.h: Likewise.
21311 * nss/makedb.c: Likewise.
21312 * sysdeps/generic/ldconfig.h: Likewise.
21313 * locale/programs/localedef.c: Remove xmalloc prototype.
21314 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21315
20b38e03
PP
213162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21317
21318 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21319 appropriate.
21320
a0da5fe1
UD
213212012-01-08 Ulrich Drepper <drepper@gmail.com>
21322
1d5a644a 21323 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21324 * math/tst-CMPLX.c: New file.
1d5a644a 21325
8784a6db
UD
21326 * math/complex.h (CMPLXL): Fix typo.
21327
d9a216c0
UD
21328 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21329 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21330 GLIBC_2.16.
21331 * debug/tst-chk1.c: Add poll and ppoll tests.
21332 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21333 * include/sys/poll.h: Add hidden proto for ppoll.
21334 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21335 * sysdeps/mach/hurd/ppoll.c: Likewise.
21336 * io/ppoll.c: Likewise.
21337 * debug/poll_chk.c: New file.
21338 * debug/ppoll_chk.c: New file.
21339 * include/bits/poll2.h: New file.
21340 * io/bits/poll2.h: New file.
21341
ac097f5c
UD
21342 [BZ #1350]
21343 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21344
2119dcfa
UD
21345 * configure.in: static is always set to yes. Remove.
21346 * config.make.in: Don't set build-static.
21347 * Makeconfig: Remove use of build-static.
21348 * dlfcn/Makefile: Likewise.
21349 * elf/Makefile: Likewise.
21350 * math/Makefile: Likewise.
21351 * misc/Makefile: Likewise.
21352 * nptl/Makefile: Likewise.
21353 * sysdeps/mach/hurd/Makefile: Likewise.
21354
121766a9
UD
21355 * configure.in: PWD_P is not used anymore.
21356 * config.make.in: Remove PWD_P entry.
21357
51a1d39c 21358 * configure.in: Remove last remnants of RANLIB.
8720d066 21359 No need to check for signed size_t anymore.
215f4bdc
UD
21360 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21361 and IA-64.
3857022a 21362 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21363 * aclocal.m4: Likewise.
21364
d3ed7225
UD
21365 * wcsmbs/mbrtoc16.c: Implement using towc function.
21366 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21367 * wcsmbs/wcsmbsload.c: Likewise.
21368 * iconv/gconv_simple.c: Likewise.
21369 * iconv/gconv_int.h: Likewise.
21370 * iconv/gconv_builtin.h: Likewise.
21371 * iconv/iconv_prog.c: Remove CHAR16 handling.
21372
21373 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21374
21375 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21376
a0da5fe1
UD
21377 * configure.in: Remove --with-elf and --enable-bounded options.
21378 Dont set base_machine for ia64. More non-ELF conditions removed.
21379 Remove testing and setting of leading underscore information.
21380 * config.make.in (build-bounded): Set to no.
21381 * config.h.in: Remove NO_UNDERSCORES entry.
21382 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21383 them.
21384 * csu/start.c: Remove !NO_UNDERSCORE code.
21385 * locale/localeinfo.h: Likewise.
21386 * sysdeps/generic/machine-gmon.h: Likewise.
21387 * sysdeps/generic/sysdep.h: Likewise.
21388 * sysdeps/i386/sysdep.h: Likewise.
21389 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21390 * sysdeps/mach/sysdep.h: Likewise.
21391 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21392 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21393 * sysdeps/sh/sysdep.h: Likewise.
21394 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21395 * sysdeps/unix/i386/sysdep.S: Likewise.
21396 * sysdeps/unix/sparc/start.c: Likewise.
21397 * sysdeps/unix/sparc/sysdep.S: Likewise.
21398 * sysdeps/unix/sparc/sysdep.h: Likewise.
21399 * sysdeps/unix/start.c: Likewise.
21400 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21401 * sysdeps/x86_64/sysdep.h: Likewise.
21402
df78418a
UD
214032012-01-07 Ulrich Drepper <drepper@gmail.com>
21404
a784e502
UD
21405 [BZ #13553]
21406 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21407 for non-gcc.
21408 * argp/argp-fmtstream.h: Use const instead __const.
21409 * argp/argp.h: Likewise.
21410 * assert/assert.h: Likewise.
21411 * bits/fenv.h: Likewise.
21412 * bits/sched.h: Likewise.
21413 * bits/sigset.h: Likewise.
21414 * bits/sigthread.h: Likewise.
21415 * catgets/nl_types.h: Likewise.
21416 * conform/data/pthread.h-data: Likewise.
21417 * crypt/crypt-private.h: Likewise.
21418 * crypt/crypt.h: Likewise.
21419 * crypt/crypt_util.c: Likewise.
21420 * ctype/ctype.h: Likewise.
21421 * debug/execinfo.h: Likewise.
21422 * debug/mbsnrtowcs_chk.c: Likewise.
21423 * debug/mbsrtowcs_chk.c: Likewise.
21424 * debug/wcsnrtombs_chk.c: Likewise.
21425 * debug/wcsrtombs_chk.c: Likewise.
21426 * debug/wcstombs_chk.c: Likewise.
21427 * dirent/dirent.h: Likewise.
21428 * dlfcn/dlfcn.h: Likewise.
21429 * elf/neededtest4.c: Likewise.
21430 * grp/grp.h: Likewise.
21431 * gshadow/gshadow.h: Likewise.
21432 * iconv/gconv.h: Likewise.
21433 * iconv/gconv_int.h: Likewise.
21434 * iconv/gconv_simple.c: Likewise.
21435 * iconv/iconv.h: Likewise.
21436 * iconv/loop.c: Likewise.
21437 * iconv/skeleton.c: Likewise.
21438 * include/aio.h: Likewise.
21439 * include/aliases.h: Likewise.
21440 * include/argz.h: Likewise.
21441 * include/arpa/inet.h: Likewise.
21442 * include/assert.h: Likewise.
21443 * include/dirent.h: Likewise.
21444 * include/dlfcn.h: Likewise.
21445 * include/execinfo.h: Likewise.
21446 * include/fcntl.h: Likewise.
21447 * include/fenv.h: Likewise.
21448 * include/glob.h: Likewise.
21449 * include/grp.h: Likewise.
21450 * include/libintl.h: Likewise.
21451 * include/mntent.h: Likewise.
21452 * include/netdb.h: Likewise.
21453 * include/pwd.h: Likewise.
21454 * include/rpc/netdb.h: Likewise.
21455 * include/sched.h: Likewise.
21456 * include/search.h: Likewise.
21457 * include/shadow.h: Likewise.
21458 * include/signal.h: Likewise.
21459 * include/stdio.h: Likewise.
21460 * include/stdlib.h: Likewise.
21461 * include/string.h: Likewise.
21462 * include/sys/socket.h: Likewise.
21463 * include/sys/stat.h: Likewise.
21464 * include/sys/statfs.h: Likewise.
21465 * include/sys/statvfs.h: Likewise.
21466 * include/sys/syslog.h: Likewise.
21467 * include/sys/time.h: Likewise.
21468 * include/sys/uio.h: Likewise.
21469 * include/time.h: Likewise.
21470 * include/unistd.h: Likewise.
21471 * include/utmp.h: Likewise.
21472 * include/wchar.h: Likewise.
21473 * include/wctype.h: Likewise.
21474 * inet/aliases.h: Likewise.
21475 * inet/arpa/inet.h: Likewise.
21476 * inet/netinet/ether.h: Likewise.
21477 * inet/netinet/in.h: Likewise.
21478 * intl/libintl.h: Likewise.
21479 * io/bits/fcntl2.h: Likewise.
21480 * io/fcntl.h: Likewise.
21481 * io/ftw.h: Likewise.
21482 * io/sys/poll.h: Likewise.
21483 * io/sys/stat.h: Likewise.
21484 * io/sys/statfs.h: Likewise.
21485 * io/sys/statvfs.h: Likewise.
21486 * io/utime.h: Likewise.
21487 * libio/bits/stdio.h: Likewise.
21488 * libio/bits/stdio2.h: Likewise.
21489 * libio/libio.h: Likewise.
21490 * libio/libioP.h: Likewise.
21491 * libio/stdio.h: Likewise.
21492 * locale/lc-ctype.c: Likewise.
21493 * locale/locale.h: Likewise.
21494 * login/utmp.h: Likewise.
21495 * malloc/arena.c: Likewise.
21496 * malloc/malloc.c: Likewise.
21497 * malloc/malloc.h: Likewise.
21498 * malloc/mcheck.c: Likewise.
21499 * malloc/mtrace.c: Likewise.
21500 * math/bits/mathcalls.h: Likewise.
21501 * math/fenv.h: Likewise.
21502 * math/math_private.h: Likewise.
21503 * misc/bits/error.h: Likewise.
21504 * misc/bits/syslog.h: Likewise.
21505 * misc/err.h: Likewise.
21506 * misc/error.h: Likewise.
21507 * misc/fstab.h: Likewise.
21508 * misc/mntent.h: Likewise.
21509 * misc/regexp.h: Likewise.
21510 * misc/search.h: Likewise.
21511 * misc/sgtty.h: Likewise.
21512 * misc/sys/mman.h: Likewise.
21513 * misc/sys/syslog.h: Likewise.
21514 * misc/sys/uio.h: Likewise.
21515 * misc/sys/xattr.h: Likewise.
21516 * misc/ttyent.h: Likewise.
21517 * nis/rpcsvc/ypclnt.h: Likewise.
21518 * nss/nss.h: Likewise.
21519 * posix/bits/unistd.h: Likewise.
21520 * posix/fnmatch.h: Likewise.
21521 * posix/glob.h: Likewise.
21522 * posix/sched.h: Likewise.
21523 * posix/spawn.h: Likewise.
21524 * posix/sys/wait.h: Likewise.
21525 * posix/unistd.h: Likewise.
21526 * posix/wordexp.h: Likewise.
21527 * pwd/pwd.h: Likewise.
21528 * resolv/netdb.h: Likewise.
21529 * resource/sys/resource.h: Likewise.
21530 * rt/aio.h: Likewise.
21531 * rt/bits/mqueue2.h: Likewise.
21532 * rt/mqueue.h: Likewise.
21533 * shadow/shadow.h: Likewise.
21534 * signal/signal.h: Likewise.
21535 * socket/send.c: Likewise.
21536 * socket/sendto.c: Likewise.
21537 * socket/sys/socket.h: Likewise.
21538 * stdio-common/printf.h: Likewise.
21539 * stdlib/bits/stdlib.h: Likewise.
21540 * stdlib/fmtmsg.h: Likewise.
21541 * stdlib/monetary.h: Likewise.
21542 * stdlib/stdlib.h: Likewise.
21543 * stdlib/ucontext.h: Likewise.
21544 * streams/stropts.h: Likewise.
21545 * string/argz.h: Likewise.
21546 * string/bits/string2.h: Likewise.
21547 * string/string.h: Likewise.
21548 * string/strings.h: Likewise.
21549 * sunrpc/rpc/auth.h: Likewise.
21550 * sunrpc/rpc/auth_des.h: Likewise.
21551 * sunrpc/rpc/clnt.h: Likewise.
21552 * sunrpc/rpc/netdb.h: Likewise.
21553 * sunrpc/rpc/pmap_clnt.h: Likewise.
21554 * sunrpc/rpc/xdr.h: Likewise.
21555 * sysdeps/generic/inttypes.h: Likewise.
21556 * sysdeps/generic/net/if.h: Likewise.
21557 * sysdeps/generic/sys/swap.h: Likewise.
21558 * sysdeps/gnu/net/if.h: Likewise.
21559 * sysdeps/gnu/utmpx.h: Likewise.
21560 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21561 * sysdeps/i386/i486/bits/string.h: Likewise.
21562 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21563 * sysdeps/s390/bits/string.h: Likewise.
21564 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21565 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21566 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21567 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21568 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21569 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21570 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21571 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21572 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21573 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21574 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21575 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21576 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21577 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21578 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21579 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21580 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21582 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21583 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21584 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21585 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21586 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21587 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21588 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21589 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21590 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21591 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21592 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21593 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21594 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21595 * sysvipc/sys/ipc.h: Likewise.
21596 * sysvipc/sys/msg.h: Likewise.
21597 * sysvipc/sys/sem.h: Likewise.
21598 * sysvipc/sys/shm.h: Likewise.
21599 * termios/termios.h: Likewise.
21600 * time/sys/time.h: Likewise.
21601 * time/time.h: Likewise.
21602 * wcsmbs/bits/wchar2.h: Likewise.
21603 * wcsmbs/uchar.h: Likewise.
21604 * wcsmbs/wchar.h: Likewise.
21605 * wctype/wctype.h: Likewise.
21606
0269750c
UD
21607 [BZ #13551]
21608 * Makeconfig: Remove all but ELF support including AIX support.
21609 * Makerules: Likewise.
21610 * config.h.in: Likewise.
21611 * config.make.in: Likewise.
21612 * configure: Likewise.
21613 * configure.in: Likewise.
21614 * csu/Makefile: Likewise.
21615 * csu/version.c: Likewise.
21616 * debug/Makefile: Likewise.
21617 * dlfcn/Makefile: Likewise.
21618 * elf/Makefile: Likewise.
21619 * extra-lib.mk: Likewise.
21620 * iconv/Makefile: Likewise.
21621 * include/libc-symbols.h: Likewise.
21622 * include/shlib-compat.h: Likewise.
21623 * resolv/Makefile: Likewise.
21624 * resolv/res_libc.c: Likewise.
21625 * rt/Makefile: Likewise.
21626 * sysdeps/i386/asm-syntax.h: Likewise.
21627 * sysdeps/i386/sysdep.h: Likewise.
21628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21629 * sysdeps/mach/sysdep.h: Likewise.
21630 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21631 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21632 * sysdeps/s390/asm-syntax.h: Likewise.
21633 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21634 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21635 * sysdeps/sh/sysdep.h: Likewise.
21636 * sysdeps/unix/sparc/sysdep.h: Likewise.
21637 * sysdeps/wordsize-32/divdi3.c: Likewise.
21638 * sysdeps/x86_64/sysdep.h: Likewise.
21639
00bbd29b
UD
21640 * argp/Versions: Remove _argp_unlock_xxx.
21641
21642 [BZ #13559]
21643 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21644 * abilist/libBrokenLocale.abilist: Likewise.
21645 * abilist/libanl.abilist: Likewise.
21646 * abilist/libc.abilist: Likewise.
21647 * abilist/libcrypt.abilist: Likewise.
21648 * abilist/libdl.abilist: Likewise.
21649 * abilist/libm.abilist: Likewise.
21650 * abilist/libnsl.abilist: Likewise.
21651 * abilist/libpthread.abilist: Likewise.
21652 * abilist/libresolv.abilist: Likewise.
21653 * abilist/librt.abilist: Likewise.
21654 * abilist/libthread_db.abilist: Likewise.
21655 * abilist/libutil.abilist: Likewise.
21656 * abilist/libnss_db.abilist: New file.
21657
21658 * scripts/abilist.awk: Add support for indirect functions.
21659
a2693a0e
UD
21660 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21661
3f05895f
UD
21662 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21663
ecb6fb48
UD
21664 * shlib-versions: Remove entries for ports architectures.
21665
664f8cb9
UD
21666 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21667 files in ports.
21668 * elf/stackguard-macros.h: Remove support for IA-64.
21669 * elf/tst-auditmod1.c: Likewise.
21670 * sysdeps/generic/ldsodefs.h: Likewise.
21671
7ae81d88
UD
21672 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21673 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21674 configure files.
21675
bdeba135
UD
21676 [BZ #13552]
21677 * configure.in: Remove --enable-omitfp support.
21678 * FAQ.in: Adjust.
21679 * config.make.in: Likewise.
21680 * Makeconfig: Likewise.
21681 * manual/install.texi: Likewise.
21682
d75a0a62
UD
21683 In case anyone cares, the IA-64 architecture could move to ports.
21684 * sysdeps/ia64/*: Removed.
21685 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21686 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21687
dcc9756b
UD
21688 [BZ #13555]
21689 * configure.in: Remove entries for unsupported architectures.
21690
d3761ebc 21691 [BZ #13533]
9954432e
UD
21692 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21693 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21694 routines.
21695 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21696 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21697 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21698 fall back to using wcrtomb.
21699 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21700 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21701 renaming.
21702 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21703 * wcsmbs/tst-c16c32-1.c: New file.
21704
21705 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21706 local variable.
21707
c3a87236
UD
21708 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21709
28926a1b
UD
21710 * elf/tst-unique3.cc: Add explicit declaration of gets.
21711 * elf/tst-unique3lib.cc: Likewise.
21712 * elf/tst-unique3lib2.cc: Likewise.
21713 * elf/tst-unique4.cc: Likewise.
21714
df78418a
UD
21715 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21716
8ecd6b2a
JM
217172012-01-06 Joseph Myers <joseph@codesourcery.com>
21718
21719 [BZ #13566]
21720 * assert/assert.h (static_assert): Don't define for C++.
21721 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21722 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21723
9f115170
UD
217242012-01-03 Ulrich Drepper <drepper@gmail.com>
21725
5e0d0300
UD
21726 * iconv/loop.c (single loop): Fix assertion in storing of
21727 remaining bytes.
21728
9f115170
UD
21729 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21730
81fb02b0
UD
217312012-01-01 Ulrich Drepper <drepper@gmail.com>
21732
21733 * posix/getconf.c: Update copyright year.
21734 * nss/getent.c: Likewise.
a316c1f6 21735 * nss/makedb.c: Likewise.
81fb02b0
UD
21736 * iconv/iconvconfig.c: Likewise.
21737 * iconv/iconv_prog.c: Likewise.
21738 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21739 * elf/pldd.c: Likewise.
21740 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21741 * catgets/gencat.c: Likewise.
21742 * csu/version.c: Likewise.
21743 * elf/ldd.bash.in: Likewise.
21744 * elf/sprof.c (print_version): Likewise.
21745 * locale/programs/locale.c: Likewise.
21746 * locale/programs/localedef.c: Likewise.
a316c1f6 21747 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21748 * nscd/nscd.c (print_version): Likewise.
21749 * debug/xtrace.sh: Likewise.
21750 * malloc/memusage.sh: Likewise.
21751 * malloc/mtrace.pl: Likewise.
21752 * debug/catchsegv.sh: Likewise.
21753
2ba92745
JJ
217542011-12-30 Jakub Jelinek <jakub@redhat.com>
21755
21756 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21757 pure attribute.
21758
dadebdae
UD
217592011-12-24 Ulrich Drepper <drepper@gmail.com>
21760
d3761ebc 21761 [BZ #13533]
db6af3eb
UD
21762 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21763 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21764 transformations.
21765 * iconv/gconv_int.h: Likewise.
21766 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21767 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21768 from libc for GLIBC_2.16.
21769 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21770 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21771 * wcsmbs/uchar.h: Really define mbstate_t.
21772 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21773 * wcsmbs/c16rtomb.c: New file.
21774 * wcsmbs/mbrtoc16.c: New file.
21775 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21776 for C/POSIX locale.
21777 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21778 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21779
dadebdae
UD
21780 * wcsmbs/wchar.h: Add missing __restrict.
21781
67371b56
UD
217822011-12-23 Ulrich Drepper <drepper@gmail.com>
21783
74033a25
UD
21784 [BZ #13532]
21785 * time/Makefile (routines): Add timespec_get.
21786 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21787 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21788 timespec for ISO C11.
21789 * time/timespec_get.c: New file.
21790 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21791 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21792
380d7e87
UD
21793 [BZ #13531]
21794 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21795 * stdlib/stdlib.h: Declare aligned_alloc.
21796 * Versions.def: Add GLIBC_2.16 for libc.
21797 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21798
4e9e7a35
UD
21799 [BZ 13527]
21800 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21801 ISO C11.
21802
380d7e87 21803 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21804 code.
21805
03a71829
UD
21806 [BZ #13528]
21807 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21808
839e283e
UD
21809 [BZ #13529]
21810 * assert/assert.h (static_assert): Define.
21811
ce5294e2 21812 * version.h: Update for 2.16 development version.
90fa7312 21813
8d44e150 21814 [BZ #13526]
d7809905
UD
21815 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21816 _ISOC11_SOURCE.
21817
c0da14cd
UD
21818 * version.h (RELEASE): Bump for 2.15 release.
21819 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21820
530a3249
MP
21821 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21822 Patch by Marek Polacek <mpolacek@redhat.com>.
21823
67371b56
UD
21824 * bits/byteswap.h: Protect long long constants with __extension__.
21825 * sysdeps/i386/bits/byteswap.h: Likewise.
21826 * sysdeps/ia64/bits/byteswap.h: Likewise.
21827 * sysdeps/s390/bits/byteswap.h: Likewise.
21828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21829
15db4de1
LD
218302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21831
21832 [BZ #13540]
bbe315ea
LD
21833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21834 destination buffer.
15db4de1
LD
21835 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21836
2b2596b1
MP
218372011-12-23 Marek Polacek <polacek@redhat.com>
21838
21839 * elf/dl-addr.c (determine_info): Add inline keyword.
21840 * elf/tst-auditmod4b.c (check_avx): Likewise.
21841 * elf/tst-auditmod6b.c (check_avx): Likewise.
21842 * elf/tst-auditmod6c.c (check_avx): Likewise.
21843 * elf/tst-auditmod7b.c (check_avx): Likewise.
21844
70c6c246
UD
218452011-12-23 Ulrich Drepper <drepper@gmail.com>
21846
21847 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21848 !__SSE_MATH__.
21849
c044cf14
LD
218502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21851
15db4de1 21852 [BZ #13540]
c044cf14
LD
21853 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21854 processing for last bytes.
21855
6b13d9d9
BH
218562011-08-06 Bruno Haible <bruno@clisp.org>
21857
d455f537
BH
21858 [BZ #13061]
21859 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21860 U+0385, not to U+1FEE.
21861
6b13d9d9
BH
21862 [BZ #13062]
21863 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21864 entry for U+00A5 U+0301.
21865
db910efd
UD
218662011-12-22 Ulrich Drepper <drepper@gmail.com>
21867
27deeafc
UD
21868 [BZ #13166]
21869 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21870 buffer for the output is too small.
21871
aed9d171
UD
21872 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21873 optimization.
21874
db910efd
UD
21875 [BZ #13185]
21876 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21877 SSE flags if possible.
21878
2bd779ae
LD
218792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21880
e7f9dac3 21881 [BZ #13540]
2bd779ae
LD
21882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21883 processing for last bytes.
21884
154bfc16
JM
218852011-12-22 Joseph Myers <joseph@codesourcery.com>
21886
21887 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21888 (syscall-list-default-options, syscall-list-default-condition)
21889 (syscall-list-includes): Define.
21890 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21891 list of ABIs and options and #if conditions for each ABI. Do not
21892 handle common syscalls between ABIs specially.
21893 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21894 Remove.
21895 (syscall-list-variants, syscall-list-32bit-options)
21896 (syscall-list-32bit-condition, syscall-list-64bit-options)
21897 (syscall-list-64bit-condition): Define.
21898 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21899 (syscall-list-variants, syscall-list-32bit-options)
21900 (syscall-list-32bit-condition, syscall-list-64bit-options)
21901 (syscall-list-64bit-condition): Define.
21902 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21903 Remove.
21904 (syscall-list-variants, syscall-list-32bit-options)
21905 (syscall-list-32bit-condition, syscall-list-64bit-options)
21906 (syscall-list-64bit-condition): Define.
21907 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21908 Remove.
21909 (syscall-list-variants, syscall-list-32bit-options)
21910 (syscall-list-32bit-condition, syscall-list-64bit-options)
21911 (syscall-list-64bit-condition): Define.
21912
21eaf3a5
UD
219132011-12-22 Ulrich Drepper <drepper@gmail.com>
21914
16c6f992
UD
21915 * locale/iso-639.def: Add brx entry.
21916
41043168
UD
21917 [BZ #13328]
21918 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21919 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21920
21eaf3a5
UD
21921 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21922 __feraiseexcept_renamed.
21923
e3a851a2
UD
219242011-12-21 Ulrich Drepper <drepper@gmail.com>
21925
4920765e
UD
21926 [BZ #13538]
21927 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21928 EPOLLET with unsigned values.
21929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21931
e3a851a2
UD
21932 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21933 to large cancellation.
21934 * math/s_cacoshf.c: Likewise.
21935 * math/s_cacoshl.c: Likewise.
21936
b27e24b8
RK
219372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21938
21939 [BZ #13305]
aebefeee 21940 [BZ #12786]
b27e24b8
RK
21941 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21942 * math/s_cacoshf.c: Likewise.
21943 * math/s_cacoshl.c: Likewise.
21944
ee190f67
UD
219452011-12-21 Ulrich Drepper <drepper@gmail.com>
21946
21947 [BZ #13439]
21948 * iconv/gconv.h: Define __GCONV_SWAP.
21949 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21950 * iconvdata/utf-16.c: Likewise.
21951 * iconvdata/utf-32.c: Likewise.
21952
707f25df
AS
219532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21954
21955 [BZ #13524]
21956 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21957 numerator after shifting it by one limb.
21958
d2daaa1e
RÁE
219592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21960
21961 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21962 under [__USE_EXTERN_INLINES].
21963
a4647e72
UD
219642011-12-17 Ulrich Drepper <drepper@gmail.com>
21965
21966 [BZ #13446]
21967 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21968
f0b264f1
AZ
219692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21970
21971 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21972 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21973 optimized code.
21974 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21975 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21976 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21977 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21978 for strncasecmp/strncasecmp_l compilation.
21979 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21980 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21981
8ef4f244
MP
219822011-12-08 Marek Polacek <mpolacek@redhat.com>
21983
21984 [BZ #13484]
21985 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21986 of __asm__.
21987
97ac2654
UD
219882011-12-17 Ulrich Drepper <drepper@gmail.com>
21989
21990 [BZ #13506]
21991 * time/tzfile.c (__tzfile_read): Check values from file header.
21992
91d2a845
WS
219932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21994
21995 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21996 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21997 * powerpc/powerpc32/dl-start.S: Likewise.
21998 * powerpc/powerpc32/elf/start.S: Likewise.
21999 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22000 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22001 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22002 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22003 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22004 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22005 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22006 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22007 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22008 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22009 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22010 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22011 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22012 * powerpc/powerpc32/memset.S: Likewise.
22013 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22014 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22015 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22016 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22017 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22018 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22019 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22020 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22021 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22022 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22023 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22024 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22025 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22026
a1267ba1
AZ
220272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22028
22029 * math/libm-test.inc: Added more nearbyint tests.
22030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22031 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22033 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22034
ad8ac1bd
RL
220352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22036
22037 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22038 FD_CLOEXEC.
22039
1d3e4b61
UD
220402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22041
22042 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22043 Add wcscpy-ssse3 wcscpy-c.
22044 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22045 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22046 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22047 * sysdeps/x86_64/wcschr.S: New file.
22048 * sysdeps/x86_64/wcsrchr.S: New file.
22049 * string/test-strcmp.c: Remove checking of wcscmp function for
22050 wrong alignments.
22051 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22052 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22053 wcsrchr-sse2 wcsrchr-c.
22054 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22055 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22056 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22057 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22058 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22059 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22060 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22061 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22062 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22063 * wcsmbc/wcschr.c (WCSCHR): New macro.
22064
5b330a2d
UD
220652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22066
22067 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22068 * wcsmbs/test-wcsrchr.c: New file.
22069 * string/test-strrchr.c: Add wcsrchr support.
22070 (WIDE): New macro.
22071 * wcsmbs/test-wcscpy.c: New file.
22072 * string/test-strcpy.c: Add wcscpy support.
22073 (WIDE): New macro.
26428b7c 22074
f039c043
UD
220752011-12-10 Ulrich Drepper <drepper@gmail.com>
22076
22077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22078 the inner loop.
22079
850fb039
AS
220802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22081
22082 [BZ #13472]
22083 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22084
4efbd5cb
UD
220852011-12-04 Ulrich Drepper <drepper@gmail.com>
22086
52ff5dd0 22087 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22088 Minor optimizations.
52ff5dd0 22089
4efbd5cb
UD
22090 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22091 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22092 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22093
8a426e12
UD
220942011-12-03 Ulrich Drepper <drepper@gmail.com>
22095
aff2453d
UD
22096 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22097 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22098 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22099 for gcc to avoid warnings.
22100 * inet/Makefile (tests): Add tst-checks.
22101 * inet/tst-checks.c: New file.
22102
22103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22104 warning.
22105
22106 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22107 __wmemcmp_sse2.
22108
22109 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22110 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22111
8a426e12
UD
22112 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22113
9bea3473
UD
221142011-12-02 Ulrich Drepper <drepper@gmail.com>
22115
3a965496
UD
22116 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22117 problem.
22118
9bea3473
UD
22119 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22120
f101631b
UD
221212011-11-29 Joseph Myers <joseph@codesourcery.com>
22122
22123 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22124 conditional on GCC version.
22125 (__arch_compare_and_exchange_val_8_acq)
22126 (__arch_compare_and_exchange_val_16_acq)
22127 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22128 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22129 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22130
a98275aa
UD
221312011-12-02 Joseph Myers <joseph@codesourcery.com>
22132
22133 * sysdeps/sh/backtrace.c: New file.
22134
d4cc29a2
AS
221352011-12-02 Andreas Schwab <schwab@redhat.com>
22136
22137 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22138 parenthesis.
22139
6257af2d
AS
221402011-12-01 Andreas Schwab <schwab@redhat.com>
22141
22142 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22143 falling back to utime.
22144
b5f44c1a
AS
221452011-11-30 Andreas Schwab <schwab@redhat.com>
22146
22147 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22148 expectations for float.
22149
f3a6cc0a
AS
221502011-11-29 Andreas Schwab <schwab@redhat.com>
22151
22152 * locale/weight.h (findidx): Add parameter len.
22153 * locale/weightwc.h (findidx): Likewise.
22154 * posix/fnmatch_loop.c (FCT): Adjust caller.
22155 * posix/regcomp.c (build_equiv_class): Likewise.
22156 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22157 * posix/regexec.c (check_node_accept_bytes): Likewise.
22158 * string/strcoll_l.c (STRCOLL): Likewise.
22159 * string/strxfrm_l.c (STRXFRM): Likewise.
22160
9d65ea3a
UD
221612011-11-17 Ulrich Drepper <drepper@gmail.com>
22162
22163 * Makefile.in: Remove CVSOPT handling.
22164 * configure.in: Remove use of AC_REVISION.
22165 * iconvdata/Makefile (distribute): No need to filter out CVS.
22166 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22167 handling.
22168
5583a086
AS
221692011-11-16 Andreas Schwab <schwab@redhat.com>
22170
22171 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22172 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22173 [USE_AS_STRNCASECMP_L]: Likewise.
22174 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22175 NO_TLS_DIRECT_SEG_REFS.
22176 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22177 Fix argument offsets for non-PIC.
22178 [USE_AS_STRNCASECMP_L]: Likewise.
22179 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22180 NO_TLS_DIRECT_SEG_REFS.
22181
d62a8200
UD
221822011-11-15 Ulrich Drepper <drepper@gmail.com>
22183
9d65ea3a 22184 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22185 O_CLOEXEC.
22186 * locale/loadlocale.c (_nl_load_locale): Likewise.
22187
09f93bd3
AS
221882011-11-15 Andreas Schwab <schwab@redhat.com>
22189
446514f9
AS
22190 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22191 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22193 (SYSCALL_GETTIME): Set errno on error.
22194
09f93bd3
AS
22195 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22196 count references to noai6ai_cached.
22197
312be3f9
UD
221982011-11-15 Ulrich Drepper <drepper@gmail.com>
22199
22200 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22201
22202 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22203 FD_CLOEXEC for /proc/self/maps.
22204
22205 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22206 FD_CLOEXEC for /proc/meminfo.
22207
22208 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22209 gai.conf.
22210
22211 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22212 FD_CLOEXEC for given file.
22213
22214 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22215
22216 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22217 FD_CLOEXEC for /etc/hosts.
22218 (_gethtent): Likewise.
22219
22220 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22221
22222 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22223 cancellation and set FD_CLOEXEC for /etc/netgroup.
22224
22225 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22226 reading /etc/publickey.
22227
22228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22229 allow cancellation when reading /etc/group.
22230
22231 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22232 cancellation.
22233 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22234
22235 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22236 when using data file.
22237
22238 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22239
22240 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22241 (write_nis_obj): Use "c" and "e" in fopen.
22242
22243 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22244
22245 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22246
22247 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22248
22249 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22250
22251 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22252 locale.alias.
22253
22254 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22255
22256 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22257
22258 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22259
22260 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22261 file parsing and set FD_CLOEXEC.
22262
82af0fa8
UD
222632011-11-14 Ulrich Drepper <drepper@gmail.com>
22264
22265 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22266
a5fb313c
AS
222672011-11-14 Andreas Schwab <schwab@redhat.com>
22268
22269 * malloc/arena.c (arena_get2): Don't call reused_arena when
22270 _int_new_arena failed.
22271
6abf3465
UD
222722011-11-14 Ulrich Drepper <drepper@gmail.com>
22273
22274 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22275 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22276 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22277 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22279 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22280 to compile strcasecmp and strncasecmp.
22281 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22282 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22283
22284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22285
76e3966e
UD
222862011-11-13 Ulrich Drepper <drepper@gmail.com>
22287
22288 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22289 locale-defines.sym to gen-as-const-headers.
22290 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22291 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22293 to compile strcasecmp and strncasecmp.
22294 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22295 strcasecmp_l and strncasecmp_l.
22296 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22297 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22298 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22299 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22300 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22301 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22302 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22303 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22304 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22305 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22306 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22307
ab26144e
UD
223082011-11-12 Ulrich Drepper <drepper@gmail.com>
22309
7edb22ef
UD
22310 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22311 result of SYSDEP_GETTIME_CPU to retval.
22312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22313 parameter list to macro. Remove trailing semicolon. Adjust users.
22314
9694fc44
UD
22315 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22316 variable.
22317
8ad89ef8
UD
22318 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22319 mantissa words.
22320 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22321
0c822ef9
UD
22322 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22323 from unused variable.
22324
874e0564
UD
22325 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22326 DWARF definitions.
22327 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22328 for assembling.
22329
3a2edc79
UD
22330 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22331 over namespaces.
22332
f3c2577f
UD
22333 * sunrpc/rpc_prot.c (rejected): Fix case value.
22334
294ce126
UD
22335 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22336 unsigned long long int to avoid warnings in shift.
22337
5e2b63c6
UD
22338 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22339 of use of trans.
22340 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22341 variable tmp.
22342
e7f4b08e
UD
22343 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22344 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22345 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22346
ab26144e
UD
22347 * nis/nis_table.c (nis_list): Use variable of correct type for
22348 result of __follow_path call.
22349
8a6d5255
AZ
223502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22351
22352 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22353 of math functions ceil, trunc, floor, round, and sqrt, when
22354 avaliable on the platform.
22355 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22356 name clash.
22357 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22358 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22359 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22360
aaddc98c
MP
223612011-10-30 Marek Polacek <mpolacek@redhat.com>
22362
22363 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22364 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22365
95b7042b
RM
223662011-11-11 Roland McGrath <roland@hack.frob.com>
22367
22368 * include/unistd.h: Fix __readlink return type.
22369 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22370
57769839
UD
223712011-11-11 Ulrich Drepper <drepper@gmail.com>
22372
22373 * stdlib/ucontext.h: Undo last change for makecontext.
22374
edc5984d
AS
223752011-11-11 Andreas Schwab <schwab@redhat.com>
22376
98591e58
AS
22377 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22378
edc5984d
AS
22379 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22380 * setjmp/setjmp.h: Mark functions as non-leaf.
22381 * setjmp/bits/setjmp2.h: Likewise.
22382 * stdlib/ucontext.h: Likewise.
22383
77cdc054
AS
223842011-11-10 Andreas Schwab <schwab@redhat.com>
22385
22386 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22387 (reused_arena): Don't check arena limit.
22388 (arena_get2): Atomically check arena limit.
22389
fe72eebd
UD
223902011-11-08 Ulrich Drepper <drepper@gmail.com>
22391
5f078c32
UD
22392 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22393 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22394
fe72eebd
UD
22395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22396 instructions.
22397
ae1bc2fa
AS
223982011-11-07 Andreas Schwab <schwab@redhat.com>
22399
7583a88d
AS
22400 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22401 handler when locking.
22402
ae1bc2fa
AS
22403 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22404 Fix size of allocated buffer.
22405
10fb0bfa
AS
224062011-11-04 Andreas Schwab <schwab@redhat.com>
22407
998832a4
AS
22408 [BZ #10103]
22409 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22410 declarations for long double functions.
22411 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22412
10fb0bfa
AS
22413 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22414
3d7ba52b
AS
224152011-11-03 Andreas Schwab <schwab@redhat.com>
22416
a9ae54a1
AS
22417 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22418 installed.
22419
3d7ba52b
AS
22420 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22421 is disabled.
22422
bc8db248
ST
224232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22424
22425 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22426
45b96dd6
AS
224272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22428
647776f6
AS
22429 * include/alloca.h (stackinfo_alloca_round): Define.
22430 (extend_alloca): Use it.
22431 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22432 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22433 here.
22434
d91a8b93
AS
22435 * scripts/check-local-headers.sh: Ignore libaudit.h.
22436
45b96dd6
AS
22437 * nscd/Makefile (extra-objs): Make recursively expanded.
22438
432d41ce
UD
224392011-11-01 Ulrich Drepper <drepper@gmail.com>
22440
34372fc6
UD
22441 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22442 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22443
fadb59f8
UD
22444 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22445 * posix/tst-rfc3484-2.c: Likewise.
22446 * posix/tst-rfc3484-3.c: Likewise.
22447
78239589
UD
22448 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22449 process_vm_writev.
22450 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22451 process_vm_writev.
22452 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22453 process_vm_writev from libc using GLIBC_2.15 version.
22454
432d41ce
UD
22455 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22456
02f9c6cf
PP
224572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22458
22459 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22460 stack usage.
22461
3a2c0242
UD
224622011-10-31 Ulrich Drepper <drepper@gmail.com>
22463
f4ec4833
UD
22464 [BZ #13367]
22465 * nss/getent.c (initgroups_keys): Show error message in case no group
22466 names are given.
22467
3a2c0242
UD
22468 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22469 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22470 __bump_nl_timestamp.
22471 * nscd/connections (nscd_init): When host database is served open
22472 netlink socket and request notification about configuration changes.
22473 (main_loop_poll): Track netlink file descriptor and bump timestamp
22474 in case data becomes available.
22475 (main_loop_epoll): Likewise.
22476 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22477 (database_pers_head): Add extra_data fileds.
22478 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22479 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22480 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22481 Adjust caller.
22482 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22483 in6ai data, call __free_in6ai.
22484 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22485 Add -DHAVE_NETLINK.
22486 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22487 interface information. Reuse previous data if netlink timestamp
22488 is not changed.
22489 (__bump_nl_timestamp): New function.
22490 (__free_in6ai): New function.
22491
636064eb
UD
224922011-10-30 Ulrich Drepper <drepper@gmail.com>
22493
22494 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22495 close_not_cancel_no_status here.
22496 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22497
9beb2334
UD
224982011-10-29 Ulrich Drepper <drepper@gmail.com>
22499
6ef76f3b
UD
22500 [BZ #13276]
22501 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22502 return value.
22503
0ffc4f3e 22504 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22505 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22506 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22507
cb95113e
UD
225082011-07-03 Andreas Jaeger <aj@suse.de>
22509
22510 [BZ #10709]
22511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22512 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22513 * math/libm-test.inc (sin_test): Add test case.
22514
a1b560ff
UD
225152011-10-29 Ulrich Drepper <drepper@gmail.com>
22516
c9aaface
UD
22517 [BZ #13337]
22518 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22519 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22520
d272e7f1
UD
22521 * elf/chroot_canon.c (chroot_canon): Cleanups.
22522
1bc33071
UD
22523 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22524
1760874d
TJ
22525 [BZ #13335]
22526 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22527 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22528
51d91b18
UD
22529 * string/test-strchr.c: Make usable for strchrnul testing.
22530 * string/test-strchrnul.c: New file.
22531 * string/Makefile (strop-tests): Add strchrnul.
22532
a1b560ff 22533 * po/it.po: Update from translation team.
b611fb81 22534 * po/es.po: Likewise.
a1b560ff 22535
a5b81e1f
UD
225362011-10-28 Ulrich Drepper <drepper@gmail.com>
22537
fd52bc6d
UD
22538 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22539 the three constants needed as parameters. Drop the others.
22540 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22541 __m128i_strloadu_tolower.
52e4b9eb
UD
22542 Create and initialize variable zero and use it in all the places
22543 where _mm_setzero_si128 was used.
fd52bc6d 22544
a5b81e1f
UD
22545 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22546 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22547 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22548 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22549 anymore.
22550 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22551 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22552 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22553 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22554 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22555 __mpranred, __mptan.
22556 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22557 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22558 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22559 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22560 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22561 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22563 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22564 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22565
b4343346
AS
225662011-10-28 Andreas Schwab <schwab@redhat.com>
22567
0c92d8a8
AS
22568 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22569 redefine if SHARED.
22570 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22571
b4343346
AS
22572 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22573 wide char related routines to wcsmbs subdir.
22574
3871f58f
AS
225752011-10-27 Andreas Schwab <schwab@redhat.com>
22576
22577 [BZ #13344]
22578 * misc/sys/cdefs.h (__THROWNL): Define.
22579 * posix/unistd.h: Use __THREADNL instead of __THREAD
22580 for memory synchronization functions.
22581
94d44d9f
RM
225822011-10-26 Roland McGrath <roland@hack.frob.com>
22583
21b64b15 22584 [BZ #13349]
94d44d9f
RM
22585 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22586 doesn't exist.
22587 * manual/stdio.texi (Obstack Streams): Node removed.
22588
f6ce9294
AS
225892011-10-26 Andreas Schwab <schwab@redhat.com>
22590
80479147
AS
22591 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22592 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22593 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22594
f6ce9294
AS
22595 * math/math_private.h (math_force_eval): Allow non-addressable
22596 arguments.
22597 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22598
618280a1
UD
225992011-10-25 Ulrich Drepper <drepper@gmail.com>
22600
e0016b11
UD
22601 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22602 file is not needed.
22603
22604 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22605 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22607 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22608 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22609 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22610 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22611 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22612 Add AVX variants.
22613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22617 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22618 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22619 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22620 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22621 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22622 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22623 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22624 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22625 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22626 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22627 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22628 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22629 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22630 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22631 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22632
22633 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22634 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22635
618280a1
UD
22636 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22637 place. Use VEX encoding when compiling for AVX.
22638
37822576
AS
226392011-10-25 Andreas Schwab <schwab@redhat.com>
22640
1f1e1947
AS
22641 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22642 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22643
37822576
AS
22644 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22645
31ea014d
UD
226462011-10-25 Ulrich Drepper <drepper@gmail.com>
22647
d7826aa1 22648 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22649 useless if() expression.
d7826aa1
UD
22650 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22661 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22664 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22665 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22669
31ea014d
UD
22670 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22671
16437fec
AS
226722011-10-25 Andreas Schwab <schwab@redhat.com>
22673
22674 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22675 condition.
22676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22677
31d3cc00
UD
226782011-10-25 Ulrich Drepper <drepper@gmail.com>
22679
22680 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22681 .text section. Avoid duplicate constants.
22682 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22692 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22694 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22697 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22699 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22704 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22705 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22706 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22707 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22708 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22709 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22710 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22711 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22712 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22713 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22714 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22715 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22716 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22717 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22718 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22720 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22721 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22722 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22723 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22727
58985aa9
UD
227282011-10-24 Ulrich Drepper <drepper@gmail.com>
22729
202c9deb
UD
22730 * sysdeps/x86_64/dla.h: Move to ...
22731 * sysdeps/x86_64/fpu/dla.h: ...here.
22732 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22733 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22734
af968f62
UD
22735 * config.make.in: Add have-mfma4 entry.
22736 * configure.in: Substitute libc_cv_cc_fma4.
22737 * math/Makefile (dbl-only-routines): Add sincostab.
22738 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22739 Use __sincostab not sincos.
22740 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22741 name is a macro.
22742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22746 using __copysign.
22747 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22748 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22749 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22750 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22751 and __inv.
22752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22753 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22754 __copysign.
22755 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22756 define aliases when function name is a macro.
22757 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22758 sysdeps/ieee754/dbl-64/sincos.tbl.
22759 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22760 fma4-enabled routines.
22761 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22762 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22763 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22764 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22765 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22767 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22768 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22769 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22770 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22771 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22772 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22773 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22774 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22775 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22776 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22777 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22778 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22779 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22780 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22781 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22782 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22783 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22785 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22787 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22788 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22789 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22790 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22791
58985aa9
UD
22792 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22793 rename.
22794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22795 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22797 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22801 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22802
a201fbcf
AS
228032011-10-24 Andreas Schwab <schwab@redhat.com>
22804
22805 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22806
fc2ee42a
LD
228072011-10-23 Ulrich Drepper <drepper@gmail.com>
22808
bb3129bd
UD
22809 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22810
0275fff8
UD
22811 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22812 prediction.
22813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22814
2fa2ae85
UD
22815 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22816 Remove unused variable magic_bits.
22817 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22818
fc2ee42a
LD
22819 * string/strnlen.c: Define and use STRNLEN macro.
22820 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22821 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22823 * wcsmbs/wcslen.c: Define and use WCSLEN.
22824 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22825 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22826 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22827 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22828 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22829 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22830 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22831
ce7dd29f
LD
228322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22833
22834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22835 strnlen-sse2-no-bsf.
22836 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22837 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22838 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22839 Add strnlen support.
22840 (USE_AS_STRNLEN): New macro.
22841 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22842 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22843 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22844 * sysdeps/x86_64/wcslen.S: New file.
22845
979c70a3
MZ
228462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22847
22848 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22849 XMM-moves are used for copying on small sizes.
22850
2d09f82f
LD
228512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22852
22853 * wcsmbs/Makefile (strop-tests): Add wcschr.
22854 * wcsmbs/test-wcschr.c: New file.
22855 * string/test-strchr.c: Update.
22856 Add wcschr support.
22857 (WIDE): New macro.
22858
619fccca
LD
228592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22860
2d09f82f 22861 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22862 * wcsmbs/test-wcslen.c: New file.
22863 * string/test-strlen.c: Update.
22864 Add wcslen support.
22865 (WIDE): New macro.
22866
09f699ea
UD
228672011-10-23 Ulrich Drepper <drepper@gmail.com>
22868
22869 * po/it.po: Update from translation team.
22870
95584d3b
LD
228712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22872
22873 * sysdeps/x86_64/wcscmp.S: Update.
22874 Fix wrong comparison semantics.
22875 wcscmp shall use signed comparison not unsigned.
22876 Don't use substraction to avoid overflow bug.
22877 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22878 * wcsmbc/wcscmp.c: Likewise.
22879 * string/test-strcmp.c: Likewise.
22880 Add new tests to check cases with negative values.
22881
c8b3296b
UD
228822011-10-23 Ulrich Drepper <drepper@gmail.com>
22883
22884 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22885 * sysdeps/x86_64/dla.h: ...here. New file.
22886 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22891 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22894 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22895
246ad57a
AS
228962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22897
22898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22899 __ynl_finite aliases.
22900
a1a87169
UD
229012011-10-22 Ulrich Drepper <drepper@gmail.com>
22902
0d355eb7
UD
22903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22904
a1a87169
UD
22905 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22906 define DLA_FMA.
22907 [DLA_FMA] (EMULV): Use DLA_FMA.
22908 [DLA_FMA] (MUL12): Use EMULV.
22909 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22910 that are not needed.
22911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22914 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22915 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22917 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22918
ee2aafe0
AS
229192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22920
22921 * math/s_nan.c: Undef __nan.
22922 * math/s_nanf.c: Undef __nanf.
22923 * math/s_nanl.c: Undef __nanl.
22924 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22925 "math_private.h".
22926
bc62c2fb
UD
229272011-10-22 Ulrich Drepper <drepper@gmail.com>
22928
77425c63
UD
22929 * math/s_catan.c: Add branch predictions.
22930 * math/s_catanf.c: Likewise.
22931 * math/s_catanh.c: Likewise.
22932 * math/s_catanhf.c: Likewise.
22933 * math/s_catanhl.c: Likewise.
22934 * math/s_catanl.c: Likewise.
22935 * math/s_cexp.c: Likewise.
22936 * math/s_cexpf.c: Likewise.
22937 * math/s_cexpl.c: Likewise.
22938 * math/s_clog.c: Likewise.
22939 * math/s_clog10.c: Likewise.
22940 * math/s_clog10f.c: Likewise.
22941 * math/s_clog10l.c: Likewise.
22942 * math/s_clogf.c: Likewise.
22943 * math/s_clogl.c: Likewise.
22944 * math/s_csqrt.c: Likewise.
22945 * math/s_csqrtf.c: Likewise.
22946 * math/s_csqrtl.c: Likewise.
22947 * math/s_ctanf.c: Likewise.
22948 * math/s_ctanh.c: Likewise.
22949 * math/s_ctanhf.c: Likewise.
22950 * math/s_ctanhl.c: Likewise.
22951 * math/s_ctanl.c: Likewise.
22952
bc62c2fb
UD
22953 * math/math_private.h: Define __nan, __nanf, __nanl.
22954 * math/s_cacosh.c: Include <math_private.h>.
22955 * math/s_cacoshl.c: Likewise.
22956 * math/s_casinh.c: Likewise.
22957 * math/s_casinhf.c: Likewise.
22958 * math/s_casinhl.c: Likewise.
22959 * math/s_ccos.c: Rely entire on ccosh.
22960 * math/s_ccosf.c: Rely entire on ccoshf.
22961 * math/s_ccosl.c: Rely entirely on ccoshl.
22962 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22963 Remove tests for FE_INVALID.
22964 * math/s_ccoshf.c: Likewise.
22965 * math/s_ccoshl.c: Likewise.
22966 * math/s_csin.c: Likewise.
22967 * math/s_csinf.c: Likewise.
22968 * math/s_csinh.c Likewise.
22969 * math/s_csinhf.c: Likewise.
22970 * math/s_csinhl.c: Likewise.
22971 * math/s_csinl.c: Likewise.
22972 * math/s_ctan.c: Likewise.
22973 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22974 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22975 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22976
8ec250a4
UD
229772011-10-21 Ulrich Drepper <drepper@gmail.com>
22978
c196fed8
UD
22979 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22980 compilation problems.
22981
8ec250a4
UD
22982 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22983 __builtin_expect.
22984
8d4f46c6
UD
229852011-10-20 Ulrich Drepper <drepper@gmail.com>
22986
ed72b654
UD
22987 * sysdeps/i386/configure.in: Test for -mfma4 option.
22988 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22989 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22990 COMMON_CPUID_INDEX_80000001.
22991 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22992 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22993 use it if FMA3 is not supported.
22994 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22995
8d4f46c6
UD
22996 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22997 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22998
d45c60c2
AS
229992011-10-20 Andreas Schwab <schwab@redhat.com>
23000
23001 [BZ #12892]
23002 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23003 it would create a cycle with a link time dependency.
23004
d9a4d2ab
UD
230052011-10-19 Ulrich Drepper <drepper@gmail.com>
23006
855d1560
UD
23007 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23008 instruction.
23009 * string/Makefile (strop-tests): Add rawmemchr.
23010 * string/test-rawmemchr.c: New file.
23011
d9a4d2ab
UD
23012 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23013 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23014 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23015 when compiling str{,n}casecmp and when AVX is available. Hook up
23016 new optimized code in initializers.
23017
8f3b1ffe
AS
230182011-10-19 Andreas Schwab <schwab@redhat.com>
23019
23020 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23021 __feraiseexcept instead of feraiseexcept.
23022
d38f1dba
UD
230232011-10-18 Ulrich Drepper <drepper@gmail.com>
23024
d9a8d0ab
UD
23025 * math/math_private.h: Define defaults for libc_fetestexcept and
23026 libc_feupdateenv.
23027 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23028 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23029 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23030 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23031 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23032 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23033 libc_fetestexcept and libc_feupdateenv.
23034
4855e3dd
UD
23035 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23036 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23037 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23038 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23039 libc_feholdexcept_setround.
23040
581d30e3
UD
23041 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23042 Add s_nearbyint-c and s_nearbyintf-c.
23043 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23044 nearbyintf inlines.
23045 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23046 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23047 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23048 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23049
d38f1dba
UD
23050 * math/math_private.h: Define defaults for libc_fegetround,
23051 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23052 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23053 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23054 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23055 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23056 standard functions.
23057 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23058 Remove comments and hacks for old compiler versions.
23059 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23060 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23061 libc_feholdexceptl.
23062
caa6c9d8
AS
230632011-10-18 Andreas Schwab <schwab@redhat.com>
23064
23065 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23066 (__feraiseexcept_renamed): Add __NTH.
23067 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23068 namespace violations.
23069
97c066e6
UD
230702011-10-17 Ulrich Drepper <drepper@gmail.com>
23071
99ce7b04
UD
23072 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23073
1004d182
UD
23074 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23075
228a984d
UD
23076 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23077 recently added interfaces.
23078 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23079
c8553a6a
UD
23080 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23081 about macro parameter expansion.
23082
ed22dcf6
UD
23083 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23084 __NO_MATH_INLINES is defined. Cleanups.
23085
23086 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23087 and __floorf is target has SSE4.1.
23088 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23089 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23090 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23091 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23092
b171c137
UD
23093 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23094 name.
23095 (floorf): Likewise.
23096
97c066e6
UD
23097 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23098
629f62ef
AS
230992011-10-17 Andreas Schwab <schwab@redhat.com>
23100
49a43d80
AS
23101 * misc/sys/cdefs.h: Fix last change.
23102
629f62ef
AS
23103 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23104 database lookup.
23105
e453f6cd
UD
231062011-10-16 Ulrich Drepper <drepper@gmail.com>
23107
aa78043a
UD
23108 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23109
ad0f5cad
UD
23110 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23111 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23116 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23117 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23118 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23119 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23120 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23121 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23122 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23123 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23124 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23125 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23126 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23127 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23128 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23129 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23130 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23131 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23132
23133 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23134 ceil, ceilf, floor, floorf.
23135
23136 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23137 Perform IRELATIVE relocations last.
23138
e453f6cd
UD
23139 * elf/do-rel.h: Add another parameter nrelative, replacing the
23140 local variable with the same name. Change name of the function
23141 to end in Rel or Rela (uppercase).
23142 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23143 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23144 elf_dynamic_do_##reloc function.
23145
fd5bdc09
UD
231462011-10-15 Ulrich Drepper <drepper@gmail.com>
23147
79b195b5
UD
23148 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23149 is sufficient, at least on modern CPUs.
23150
d4a28569
UD
23151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23152
b61099b5
UD
23153 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23154 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23155
bcf01e6d
UD
23156 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23157 __expl_finite.
23158 * math/bits/math-finite.h: Add entries for exp.
23159 * math/e_expl.c: Add __*_finite alias.
23160 * sysdeps/i386/fpu/e_exp.S: Likewise.
23161 * sysdeps/i386/fpu/e_expf.S: Likewise.
23162 * sysdeps/i386/fpu/e_expl.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23164 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23165 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23166 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23168 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23169 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23170
ba1a0d59
UD
23171 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23172 is sufficient, at least on modern CPUs.
23173
fd5bdc09
UD
23174 * ctype/ctype-info.c (__ctype_init): Define.
23175 * include/ctype.h (__ctype_init): Declare.
23176 (__ctype_b_loc): The variable is always initialized.
23177 (__ctype_toupper_loc): Likewise.
23178 (__ctype_tolower_loc): Likewise.
23179 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23180 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23181
7872cfb0
AS
231822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23183
b468825a
AS
23184 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23185
7872cfb0
AS
23186 * configure.in: Also look in $cxxmachine/include for C++ system
23187 headers.
23188
be13f7bf
LD
231892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23190
23191 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23192 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23193 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23194 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23195 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23196 (USE_AS_WMEMCMP): New macro.
23197 Fixing indents.
23198 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23199 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23200 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23201 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23203 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23204 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23205 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23206 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23207 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23208 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23209 (USE_AS_WMEMCMP): New macro.
23210 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23211 * sysdeps/string/test-memcmp.c: Update.
23212 Fix simple_wmemcmp.
23213 Add new tests.
23214 * wcsmbs/wmemcmp.c: Update.
23215 (WMEMCMP): New macro.
23216 Fix overflow bug.
23217
556a2007
AJ
232182011-10-12 Andreas Jaeger <aj@suse.de>
23219
23220 [BZ #13268]
23221 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23222
538faaa7
UD
232232011-10-15 Ulrich Drepper <drepper@gmail.com>
23224
ab6737ff
UD
23225 * libio/iofwide.c (do_length): Avoid warning.
23226
538faaa7
UD
23227 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23228
396a21b1
UD
232292011-10-14 Ulrich Drepper <drepper@gmail.com>
23230
cdf2901f
UD
23231 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23232
38ad40ce
UD
23233 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23234 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23235 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23236 * sysdeps/i386/i686/fpu/e_log.S: New file.
23237 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23238 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23239
396a21b1
UD
23240 * ctype/ctype.h: Add support for inlined isXXX functions when
23241 compiling C++ code.
23242
6b1f68c9
AS
232432011-10-14 Andreas Schwab <schwab@redhat.com>
23244
349290c0
AS
23245 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23246
6b1f68c9
AS
23247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23248
f2282d42
RM
232492011-10-13 Roland McGrath <roland@hack.frob.com>
23250
23251 [BZ #13291]
23252 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23253
5298ffa8
AS
232542011-10-13 Andreas Schwab <schwab@redhat.com>
23255
714fad23
AS
23256 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23257 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23258 feraiseexcept.
23259
81dcc7fb
AS
23260 * sysdeps/x86_64/memrchr.S: Check for zero size.
23261
5298ffa8
AS
23262 * string/stratcliff.c: Add memrchr tests.
23263
951fbcec
LD
232642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23265
23266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23267 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23268 rawmemchr-sse2 rawmemchr-sse2-bsf.
23269 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23270 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23271 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23272 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23273 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23274 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23275 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23276 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23277 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23278 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23279 * string/memrchr.c (MEMRCHR): New macro.
23280
0ac5ae23
UD
232812011-10-12 Ulrich Drepper <drepper@gmail.com>
23282
23283 Add integration with gcc's -ffinite-math-only and optimize wrapper
23284 functions in libm.
23285 * Versions.def: Define GLIBC_2.15 version for libm.
23286 * math/Makefile (headers): Add bits/math-finite.h.
23287 * math/bits/math-finite.h: New file.
23288 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23289 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23290 * math/e_acoshl.c: Add __*_finite alias.
23291 * math/e_acosl.c: Likewise.
23292 * math/e_asinl.c: Likewise.
23293 * math/e_atan2l.c: Likewise.
23294 * math/e_atanhl.c: Likewise.
23295 * math/e_coshl.c: Likewise.
23296 * math/e_exp10.c: Likewise.
23297 * math/e_exp10f.c: Likewise.
23298 * math/e_exp10l.c: Likewise.
23299 * math/e_exp2l.c: Likewise.
23300 * math/e_fmodl.c: Likewise.
23301 * math/e_gammal_r.c: Likewise.
23302 * math/e_hypotl.c: Likewise.
23303 * math/e_j0l.c: Likewise.
23304 * math/e_j1l.c: Likewise.
23305 * math/e_jnl.c: Likewise.
23306 * math/e_lgammal_r.c: Likewise.
23307 * math/e_log10l.c: Likewise.
23308 * math/e_log2l.c: Likewise.
23309 * math/e_logl.c: Likewise.
23310 * math/e_powl.c: Likewise.
23311 * math/e_sinhl.c: Likewise.
23312 * math/e_sqrtl.c: Likewise.
23313 * math/e_scalb.c: Completely rewritten and optimized.
23314 * math/e_scalbf.c: Likewise.
23315 * math/e_scalbl.c: Likewise.
23316 * math/w_acos.c: Likewise.
23317 * math/w_acosf.c: Likewise.
23318 * math/w_acosl.c: Likewise.
23319 * math/w_acosh.c: Likewise.
23320 * math/w_acoshf.c: Likewise.
23321 * math/w_acoshl.c: Likewise.
23322 * math/w_asin.c: Likewise.
23323 * math/w_asinf.c: Likewise.
23324 * math/w_asinl.c: Likewise.
23325 * math/w_atan2.c: Likewise.
23326 * math/w_atan2f.c: Likewise.
23327 * math/w_atan2l.c: Likewise.
23328 * math/w_atanh.c: Likewise.
23329 * math/w_atanhf.c: Likewise.
23330 * math/w_atanhl.c: Likewise.
23331 * math/w_exp10.c: Likewise.
23332 * math/w_exp10f.c: Likewise.
23333 * math/w_exp10l.c: Likewise.
23334 * math/w_fmod.c: Likewise.
23335 * math/w_fmodf.c: Likewise.
23336 * math/w_fmodl.c: Likewise.
23337 * math/w_j0.c: Likewise.
23338 * math/w_j0f.c: Likewise.
23339 * math/w_j0l.c: Likewise.
23340 * math/w_j1.c: Likewise.
23341 * math/w_j1f.c: Likewise.
23342 * math/w_j1l.c: Likewise.
23343 * math/w_jn.c: Likewise.
23344 * math/w_jnf.c: Likewise.
23345 * math/w_log.c: Likewise.
23346 * math/w_logf.c: Likewise.
23347 * math/w_logl.c: Likewise.
23348 * math/w_log10.c: Likewise.
23349 * math/w_log10f.c: Likewise.
23350 * math/w_log10l.c: Likewise.
23351 * math/w_log2.c: Likewise.
23352 * math/w_log2f.c: Likewise.
23353 * math/w_log2l.c: Likewise.
23354 * math/w_pow.c: Likewise.
23355 * math/w_powf.c: Likewise.
23356 * math/w_powl.c: Likewise.
23357 * math/w_remainder.c: Likewise.
23358 * math/w_remainderf.c: Likewise.
23359 * math/w_remainderl.c: Likewise.
23360 * math/w_scalb.c: Likewise.
23361 * math/w_scalbf.c: Likewise.
23362 * math/w_scalbl.c: Likewise.
23363 * math/w_sqrt.c: Likewise.
23364 * math/w_sqrtf.c: Likewise.
23365 * math/w_sqrtl.c: Likewise.
23366 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23367 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23368 used.
23369 * math/math_private.h: Declare __kernel_standard_f.
23370 * math/w_cosh.c: Remove cruft and optimize a bit.
23371 * math/w_coshf.c: Likewise.
23372 * math/w_coshl.c: Likewise.
23373 * math/w_exp2.c: Likewise.
23374 * math/w_exp2f.c: Likewise.
23375 * math/w_exp2l.c: Likewise.
23376 * math/w_hypot.c: Likewise.
23377 * math/w_hypotf.c: Likewise.
23378 * math/w_hypotl.c: Likewise.
23379 * math/w_lgamma.c: Likewise.
23380 * math/w_lgamma_r.c: Likewise.
23381 * math/w_lgammaf.c: Likewise.
23382 * math/w_lgammaf_r.c: Likewise.
23383 * math/w_lgammal.c: Likewise.
23384 * math/w_lgammal_r.c: Likewise.
23385 * math/w_sinh.c: Likewise.
23386 * math/w_sinhf.c: Likewise.
23387 * math/w_sinhl.c: Likewise.
23388 * math/w_tgamma.c: Likewise.
23389 * math/w_tgammaf.c: Likewise.
23390 * math/w_tgammal.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23392 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23393 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23394 Minor optimizations. Pretty printing. Remove cruft.
23395 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23396 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23397 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23399 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23400 * sysdeps/i386/fpu/e_asin.S: Likewise.
23401 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23402 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23403 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23404 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23405 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23406 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23408 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23409 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23410 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23411 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23412 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23413 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23414 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23415 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23416 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23417 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23418 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23419 * sysdeps/i386/fpu/e_log.S: Likewise.
23420 * sysdeps/i386/fpu/e_log10.S: Likewise.
23421 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23422 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23423 * sysdeps/i386/fpu/e_log2.S: Likewise.
23424 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23425 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23426 * sysdeps/i386/fpu/e_logf.S: Likewise.
23427 * sysdeps/i386/fpu/e_logl.S: Likewise.
23428 * sysdeps/i386/fpu/e_pow.S: Likewise.
23429 * sysdeps/i386/fpu/e_powf.S: Likewise.
23430 * sysdeps/i386/fpu/e_powl.S: Likewise.
23431 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23432 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23433 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23434 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23435 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23437 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23438 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23439 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23444 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23447 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23451 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23454 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23461 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23462 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23463 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23464 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23465 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23466 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23467 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23468 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23469 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23470 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23471 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23472 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23473 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23474 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23475 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23476 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23477 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23478 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23479 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23480 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23481 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23482 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23483 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23485 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23486 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23487 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23488 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23489 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23490 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23492 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23495 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23496 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23497 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23498 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23499 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23500 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23501 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23505 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23506 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23507 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23508 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23509 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23510 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23511 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23512 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23513 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23514 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23516 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23517 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23518 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23519 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23520 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23521 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23522 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23523 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23524 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23525 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23526 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23527 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23528 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23529 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23530 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23531 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23532 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23533 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23534 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23535 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23536 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23537 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23538 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23539 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23540 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23541 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23542 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23543 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23544 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23545 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23547 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23548 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23549 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23550 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23551 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23552 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23553 (__isnanf): Likewise.
23554 (__isinf_ns): Likewise.
23555 (__isinf_nsf): Likewise.
23556 (__finite): Likewise.
23557 (__finitef): Likewise.
23558 (__ieee754_sqrt): Define as macro.
23559 (__ieee754_sqrtf): Define as macro.
23560 (__ieee754_sqrtl): Define as macro.
23561 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23562 inlined copy.
23563 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23564 __FINITE_MATH_ONLY__ consistent.
23565 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23566
12cc2fcd
AS
235672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23568
a843a204
AS
23569 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23570 of rawmemchr.
23571
12cc2fcd
AS
23572 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23573
c853acd5
UD
235742011-10-09 Ulrich Drepper <drepper@gmail.com>
23575
23576 * po/ja.po: Update from translation team.
23577
c658d255
RM
235782011-10-08 Roland McGrath <roland@hack.frob.com>
23579
110946e4
RM
23580 * locale/programs/locarchive.c (prepare_address_space): New function.
23581 (create_archive, enlarge_archive, open_archive): Use it.
23582
50604220
RM
23583 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23584 inside [SHARED], where it is used.
23585
c658d255
RM
23586 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23587
23588 * nss/getent.c (netgroup_keys): Remove unused variable.
23589 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23590
6a621eb7
UD
235912011-10-08 Ulrich Drepper <drepper@gmail.com>
23592
7edb55ce
UD
23593 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23594 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23596 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23597 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23598 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23599 * math/Makefile (libm-calls): Add s_isinf_ns.
23600 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23601 * math/multc3.c: Likewise.
23602 * math/s_casin.c: Likewise.
23603 * math/s_casinf.c: Likewise.
23604 * math/s_casinl.c: Likewise.
23605 * math/s_ccos.c: Likewise.
23606 * math/s_ccosf.c: Likewise.
23607 * math/s_ccosl.c: Likewise.
23608 * math/s_ctan.c: Likewise.
23609 * math/s_ctanf.c: Likewise.
23610 * math/s_ctanh.c: Likewise.
23611 * math/s_ctanhf.c: Likewise.
23612 * math/s_ctanhl.c: Likewise.
23613 * math/s_ctanl.c: Likewise.
23614 * math/w_fmod.c: Likewise.
23615 * math/w_fmodf.c: Likewise.
23616 * math/w_fmodl.c: Likewise.
23617 * math/w_remainder.c: Likewise.
23618 * math/w_remainderf.c: Likewise.
23619 * math/w_remainderl.c: Likewise.
23620 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23621 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23624 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23625 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23626 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23627 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23628
187da0ae
UD
23629 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23630 of the number.
23631 * stdio-common/printf_fphex.c: Likewise.
23632 * stdio-common/printf_size.c: Likewise.
23633
9277c064
UD
23634 * math/e_exp10.c: Include math_private.h using <...> not "...".
23635 * math/e_exp10f.c: Likewise.
23636 * math/e_exp10l.c: Likewise.
23637 * math/e_exp2l.c: Likewise.
23638 * math/e_j0l.c: Likewise.
23639 * math/e_j1l.c: Likewise.
23640 * math/e_jnl.c: Likewise.
23641 * math/e_lgammal_r.c: Likewise.
23642 * math/e_rem_pio2l.c: Likewise.
23643 * math/e_scalb.c: Likewise.
23644 * math/e_scalbf.c: Likewise.
23645 * math/e_scalbl.c: Likewise.
23646 * math/k_cosl.c: Likewise.
23647 * math/k_sinl.c: Likewise.
23648 * math/k_tanl.c: Likewise.
23649 * math/s_cacoshf.c: Likewise.
23650 * math/s_catan.c: Likewise.
23651 * math/s_catanf.c: Likewise.
23652 * math/s_catanh.c: Likewise.
23653 * math/s_catanhf.c: Likewise.
23654 * math/s_catanhl.c: Likewise.
23655 * math/s_catanl.c: Likewise.
23656 * math/s_ccosh.c: Likewise.
23657 * math/s_ccoshf.c: Likewise.
23658 * math/s_ccoshl.c: Likewise.
23659 * math/s_cexp.c: Likewise.
23660 * math/s_cexpf.c: Likewise.
23661 * math/s_cexpl.c: Likewise.
23662 * math/s_clog.c: Likewise.
23663 * math/s_clog10.c: Likewise.
23664 * math/s_clog10f.c: Likewise.
23665 * math/s_clog10l.c: Likewise.
23666 * math/s_clogf.c: Likewise.
23667 * math/s_clogl.c: Likewise.
23668 * math/s_csin.c: Likewise.
23669 * math/s_csinf.c: Likewise.
23670 * math/s_csinh.c: Likewise.
23671 * math/s_csinhf.c: Likewise.
23672 * math/s_csinhl.c: Likewise.
23673 * math/s_csinl.c: Likewise.
23674 * math/s_csqrt.c: Likewise.
23675 * math/s_csqrtf.c: Likewise.
23676 * math/s_csqrtl.c: Likewise.
23677 * math/s_ctan.c: Likewise.
23678 * math/s_ctanf.c: Likewise.
23679 * math/s_ctanh.c: Likewise.
23680 * math/s_ctanhf.c: Likewise.
23681 * math/s_ctanhl.c: Likewise.
23682 * math/s_ctanl.c: Likewise.
23683 * math/s_ldexp.c: Likewise.
23684 * math/s_ldexpf.c: Likewise.
23685 * math/s_ldexpl.c: Likewise.
23686 * math/s_significand.c: Likewise.
23687 * math/s_significandf.c: Likewise.
23688 * math/s_significandl.c: Likewise.
23689 * math/w_acos.c: Likewise.
23690 * math/w_acosf.c: Likewise.
23691 * math/w_acosh.c: Likewise.
23692 * math/w_acoshf.c: Likewise.
23693 * math/w_acoshl.c: Likewise.
23694 * math/w_acosl.c: Likewise.
23695 * math/w_asin.c: Likewise.
23696 * math/w_asinf.c: Likewise.
23697 * math/w_asinl.c: Likewise.
23698 * math/w_atan2.c: Likewise.
23699 * math/w_atan2f.c: Likewise.
23700 * math/w_atan2l.c: Likewise.
23701 * math/w_atanh.c: Likewise.
23702 * math/w_atanhf.c: Likewise.
23703 * math/w_atanhl.c: Likewise.
23704 * math/w_cosh.c: Likewise.
23705 * math/w_coshf.c: Likewise.
23706 * math/w_coshl.c: Likewise.
23707 * math/w_dremf.c: Likewise.
23708 * math/w_exp10.c: Likewise.
23709 * math/w_exp10f.c: Likewise.
23710 * math/w_exp10l.c: Likewise.
23711 * math/w_exp2.c: Likewise.
23712 * math/w_exp2f.c: Likewise.
23713 * math/w_fmod.c: Likewise.
23714 * math/w_fmodf.c: Likewise.
23715 * math/w_fmodl.c: Likewise.
23716 * math/w_hypot.c: Likewise.
23717 * math/w_hypotf.c: Likewise.
23718 * math/w_hypotl.c: Likewise.
23719 * math/w_j0.c: Likewise.
23720 * math/w_j0f.c: Likewise.
23721 * math/w_j0l.c: Likewise.
23722 * math/w_j1.c: Likewise.
23723 * math/w_j1f.c: Likewise.
23724 * math/w_j1l.c: Likewise.
23725 * math/w_jn.c: Likewise.
23726 * math/w_jnf.c: Likewise.
23727 * math/w_jnl.c: Likewise.
23728 * math/w_lgamma.c: Likewise.
23729 * math/w_lgamma_r.c: Likewise.
23730 * math/w_lgammaf.c: Likewise.
23731 * math/w_lgammaf_r.c: Likewise.
23732 * math/w_lgammal.c: Likewise.
23733 * math/w_lgammal_r.c: Likewise.
23734 * math/w_log.c: Likewise.
23735 * math/w_log10.c: Likewise.
23736 * math/w_log10f.c: Likewise.
23737 * math/w_log10l.c: Likewise.
23738 * math/w_log2.c: Likewise.
23739 * math/w_log2f.c: Likewise.
23740 * math/w_log2l.c: Likewise.
23741 * math/w_logf.c: Likewise.
23742 * math/w_logl.c: Likewise.
23743 * math/w_pow.c: Likewise.
23744 * math/w_powf.c: Likewise.
23745 * math/w_powl.c: Likewise.
23746 * math/w_remainder.c: Likewise.
23747 * math/w_remainderf.c: Likewise.
23748 * math/w_remainderl.c: Likewise.
23749 * math/w_scalb.c: Likewise.
23750 * math/w_scalbf.c: Likewise.
23751 * math/w_scalbl.c: Likewise.
23752 * math/w_sinh.c: Likewise.
23753 * math/w_sinhf.c: Likewise.
23754 * math/w_sinhl.c: Likewise.
23755 * math/w_sqrt.c: Likewise.
23756 * math/w_sqrtf.c: Likewise.
23757 * math/w_sqrtl.c: Likewise.
23758 * math/w_tgamma.c: Likewise.
23759 * math/w_tgammaf.c: Likewise.
23760 * math/w_tgammal.c: Likewise.
23761
6a621eb7
UD
23762 * po/ja.po: Update from translation team.
23763
bf582445
AJ
237642011-09-29 Andreas Jaeger <aj@suse.de>
23765
f9efbf3a
AJ
23766 [BZ #13179]
23767 * sunrpc/netname.c (netname2host): Fix logic.
23768
bf582445
AJ
23769 [BZ #6779]
23770 [BZ #6783]
23771 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23772 correctly.
23773 * math/w_remainder.c (__remainder): Likewise.
23774 * math/w_remainderf.c (__remainderf): Likewise.
23775 * math/libm-test.inc (remainder_test): Add test cases.
23776
48693bea
AK
237772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23778
23779 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23780 sdiv_qrnnd.
23781
42622229
LD
237822011-10-07 Ulrich Drepper <drepper@gmail.com>
23783
23784 * string/test-memcmp.c: Avoid unncessary #defines.
23785 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23786
093ecf92
LD
237872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23788
23789 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23790 Use new sse2 version for core i3 - i7 as it's faster
23791 than sse42 version.
23792 (bit_Prefer_PMINUB_for_stringop): New.
23793 * sysdeps/x86_64/rawmemchr.S: Update.
23794 Replace with faster SSE2 version.
23795 * sysdeps/x86_64/memrchr.S: New file.
23796 * sysdeps/x86_64/memchr.S: Update.
23797 Replace with faster SSE2 version.
23798
fde56e5c
MP
237992011-09-12 Marek Polacek <mpolacek@redhat.com>
23800
23801 * elf/dl-load.c (lose): Add cast to avoid warning.
23802
21fd49a9
UD
238032011-10-07 Ulrich Drepper <drepper@gmail.com>
23804
5a06e643
UD
23805 * po/ca.po: Update from translation team.
23806
684ae515
UD
23807 * inet/getnetgrent_r.c: Hook up nscd.
23808 * nscd/Makefile (routines): Add nscd_netgroup.
23809 (nscd-modules): Add netgroupcache.
23810 (CFLAGS-netgroupcache.c): Define.
23811 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23812 (cache_search): Add const to second parameter.
23813 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23814 INNETGR.
23815 (dbs): Add netgrdb entry.
23816 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23817 (verify_persistent_db): Handle netgrdb.
23818 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23819 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23820 GETFDNETGR.
23821 (netgroup_response_header): Define.
23822 (innetgroup_response_header): Define.
23823 (datahead): Add netgroup_response_header and innetgroup_response_header
23824 elements.
23825 * nscd/nscd.conf: Add entries for netgroup cache.
23826 * nscd/nscd.h (dbtype): Add netgrdb.
23827 (_PATH_NSCD_NETGROUP_DB): Define.
23828 (netgroup_iov_disabled): Declare.
23829 (xmalloc, xcalloc, xrealloc): Move declarations here.
23830 (cache_search): Adjust prototype.
23831 Add netgroup-related prototypes.
23832 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23833 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23834 (__nscd_innetgr): Declare.
23835 * nscd/selinux.c (perms): Use access_vector_t as element type and
23836 add netgroup-related initializers.
23837 * nscd/netgroupcache.c: New file.
23838 * nscd/nscd_netgroup.c: New file.
23839 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23840 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23841 For four parameters use innetgr.
23842 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23843 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23844 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23845 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23846
21fd49a9
UD
23847 * nscd/connections.c (register_traced_file): Don't register file
23848 for disabled databases.
23849
054c0457
UD
238502011-10-06 Ulrich Drepper <drepper@gmail.com>
23851
32b63198
UD
23852 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23853
054c0457
UD
23854 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23855 from tree and freeing node.
23856
64031225
JO
238572011-09-25 Jiri Olsa <jolsa@redhat.com>
23858
23859 * nss/nsswitch.c (__nss_database_lookup): Handle
23860 nss_parse_service_list out of memory case.
23861
0490345c
JO
238622011-09-15 Jiri Olsa <jolsa@redhat.com>
23863
23864 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23865 out of memory case.
23866
3a62d00d
AS
238672011-10-04 Andreas Schwab <schwab@redhat.com>
23868
23869 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23870 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23871 pass it down.
23872 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23873 elf_machine_rela, elf_machine_lazy_rel.
23874 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23875 (ELF_DYNAMIC_DO_REL): Likewise.
23876 (ELF_DYNAMIC_DO_RELA): Likewise.
23877 (ELF_DYNAMIC_RELOCATE): Likewise.
23878 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23879 to ELF_DYNAMIC_DO_REL.
23880 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23881 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23882 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23883 elf_machine_rela.
23884 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23885 skip_ifunc, don't call ifunc function if non-zero.
23886 (elf_machine_rela): Likewise.
23887 (elf_machine_lazy_rel): Likewise.
23888 (elf_machine_lazy_rela): Likewise.
23889 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23890 (elf_machine_lazy_rel): Likewise.
23891 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23892 Likewise.
23893 (elf_machine_lazy_rel): Likewise.
23894 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23895 Likewise.
23896 (elf_machine_lazy_rel): Likewise.
23897 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23898 (elf_machine_lazy_rel): Likewise.
23899 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23900 (elf_machine_lazy_rel): Likewise.
23901 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23902 (elf_machine_lazy_rel): Likewise.
23903 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23904 (elf_machine_lazy_rel): Likewise.
23905 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23906 (elf_machine_lazy_rel): Likewise.
23907 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23908 (elf_machine_lazy_rel): Likewise.
23909
68577918
UD
239102011-09-28 Ulrich Drepper <drepper@gmail.com>
23911
23912 * nss/nss_files/files-init.c (_nss_files_init): Use static
23913 initialization for all the *_traced_file variables.
23914
68822d74
AS
239152011-09-28 Andreas Schwab <schwab@redhat.com>
23916
23917 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23918
2056100b
RM
239192011-09-27 Roland McGrath <roland@hack.frob.com>
23920
23921 [BZ #13226]
23922 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23923
32c76b63
AS
239242011-09-27 Andreas Schwab <schwab@redhat.com>
23925
23926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23927 Reread the line before reparsing it.
23928
bf972c9d
AS
239292011-09-26 Andreas Schwab <schwab@redhat.com>
23930
23931 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23932
e057a1b5
JM
239332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23934 Maxim Kuvyrkov <maxim@codesourcery.com>
23935 Joseph Myers <joseph@codesourcery.com>
23936
23937 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23938 if needed for __stack_chk_guard.
23939
bc7e1c36
RM
239402011-09-19 Roland McGrath <roland@hack.frob.com>
23941
ecb1482f
RM
23942 * sysdeps/posix/spawni.c (script_execute): Always define it.
23943 It will be optimized away if unused.
23944 (maybe_script_execute): New function.
23945 (__spawni): Call it.
23946
bc7e1c36
RM
23947 * Makerules: Don't include tls.make.
23948 (config-tls): Always set to thread.
23949 * tls.make.c: File removed.
23950
1c3b002b
MF
239512011-09-19 Mike Frysinger <vapier@gentoo.org>
23952
23953 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23954 * config.make.in (CPPFLAGS-config): New substituted variable.
23955
2840865d
UD
239562011-09-15 Ulrich Drepper <drepper@gmail.com>
23957
88738eb6
UD
23958 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23959
cbf645a6 23960 [BZ #13192]
2840865d
UD
23961 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23962 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23963
b402e91a
RM
239642011-09-15 Roland McGrath <roland@hack.frob.com>
23965
23966 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23967 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23968 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23969 (CALL_FAIL): Likewise.
23970 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23971 (CALL_FAIL): Macro removed.
23972 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23973
4c1a1f71
UD
239742011-09-15 Ulrich Drepper <drepper@gmail.com>
23975
23976 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23977 for __FINITE_MATH_ONLY__ == 1.
23978
edc121be
AS
239792011-09-15 Andreas Schwab <schwab@redhat.com>
23980
23981 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23982 __ieee754_sqrt instead of sqrt.
23983 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23984 __ieee754_sqrtf instead of sqrtf.
23985 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23986 __floorf instead of floorf.
23987 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23988 __floorf, __truncf instead of floorf, truncf.
23989
cd205654
UD
239902011-09-14 Ulrich Drepper <drepper@gmail.com>
23991
ee4d0315
UD
23992 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23993
cd205654
UD
23994 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23995 __extern_always_inline.
23996 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23997 32-bit.
23998
48b67d71
AS
239992011-09-14 Andreas Schwab <schwab@redhat.com>
24000
24001 * elf/rtld.c (dl_main): Also relocate in dependency order when
24002 doing symbol dependency testing.
24003
1ae12c75
AS
240042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24005
24006 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24007 Always define `refsym'.
24008
995a80df
AS
240092011-09-13 Andreas Schwab <schwab@redhat.com>
24010
e529793b
AS
24011 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24012 (__FD_ELT): Renamed from __FDELT.
24013 * misc/bits/select2.h (__FD_ELT): Likewise.
24014 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24015 __FD_MASK instead of __FDELT, __FDMASK.
24016 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24017 Likewise.
24018 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24019 Likewise.
24020
52d4fef8
AS
24021 * elf/Makefile (gen-ldd): Fix pattern.
24022
995a80df
AS
24023 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24024 (init_tls): Likewise.
24025
8682f8b0
UD
240262011-09-12 Ulrich Drepper <drepper@gmail.com>
24027
24028 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24029
de82006d
AS
240302011-09-12 Andreas Schwab <schwab@redhat.com>
24031
a7c8e6a1
AS
24032 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24033 `struct cmsghdr *' instead of `void *'.
24034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24035 Likewise.
24036
0f31fe77
AS
240372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24038
24039 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24040 if non-absolute.
24041 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24042 ldd_rewrite_script.
0f31fe77 24043
32b4c839
UD
240442011-09-11 Ulrich Drepper <drepper@gmail.com>
24045
83cd1420
UD
24046 * configure.in: Remove --with-tls option.
24047 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24048 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24049 out in case it is missing.
24050 * sysdeps/ia64/elf/configure.in: Likewise.
24051 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24052 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24053 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24054 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24055 * sysdeps/sh/elf/configure.in: Likewise.
24056 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24057 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24058 * sysdeps/x86_64/elf/configure.in: Likewise.
24059 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24060 * sysdeps/mach/hurd/tls.h: Likewise.
24061
633f745d
UD
24062 [BZ #13067]
24063 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24064
f318beb8
UD
24065 [BZ #13090]
24066 * configure.in: Fix use of AC_INIT.
24067
32b4c839
UD
24068 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24069
3ce1f295
UD
240702011-09-10 Ulrich Drepper <drepper@gmail.com>
24071
bb016596
UD
24072 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24073 __set_errno.
8e58439c
UD
24074 * malloc/hooks.c: Likewise.
24075
aebae053 24076 [BZ #11929]
02d46fc4
UD
24077 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24078 variables statically.
24079 (narenas): Initialize.
24080 (list_lock): Initialize.
bb016596
UD
24081 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24082 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24083 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24084 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24085 Add initializers to main_arena and mp_.
24086 (malloc_state): Remove pagesize member. Change all users to use
24087 GLRO(dl_pagesize).
24088
24089 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24090 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24091 is always initialized.
24092
22a89187
UD
24093 * malloc/malloc.c: Removed unused configurations and dead code.
24094 * malloc/arena.c: Likewise.
24095 * malloc/hooks.c: Likewise.
02d46fc4 24096 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24097
d063d164
UD
24098 * include/tls.h: Removed. USE___THREAD must always be defined.
24099 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24100 * elf/dl-libc.c: Likewise.
24101 * elf/dl-tsd.c: Likewise.
24102 * include/errno.h: Likewise.
24103 * include/netdb.h: Likewise.
24104 * include/resolv.h: Likewise.
24105 * inet/herrno-loc.c: Likewise.
24106 * inet/herrno.c: Likewise.
24107 * malloc/arena.c: Likewise.
24108 * malloc/hooks.c: Likewise.
24109 * malloc/malloc.c: Likewise.
24110 * resolv/res-state.c: Likewise.
24111 * resolv/res_libc.c: Likewise.
24112 * sysdeps/i386/dl-machine.h: Likewise.
24113 * sysdeps/ia64/dl-machine.h: Likewise.
24114 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24115 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24116 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24117 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24118 * sysdeps/sh/dl-machine.h: Likewise.
24119 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24120 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24121 * sysdeps/unix/i386/sysdep.S: Likewise.
24122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24123 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24127 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24128 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24129 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24130 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24133 * sysdeps/x86_64/dl-machine.h: Likewise.
24134 * tls.make.c: Likewise.
24135
3ce1f295
UD
24136 * configure.in: Remove --with-__thread option. Make tests for
24137 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24138 tls_model attribute fail if no support is available. Remove
24139 USE_IN_LIBIO.
24140 * Makeconfig: Adjust for dropped configure option. All features are
24141 now mandatory.
24142 * Makerules: Likewise.
24143 * Versions.def: Likewise.
24144 * argp/argp-fmtstream.c: Likewise.
24145 * argp/argp-fmtstream.h: Likewise.
24146 * argp/argp-help.c: Likewise.
24147 * assert/assert.c: Likewise.
24148 * config.h.in: Likewise.
24149 * config.make.in: Likewise.
24150 * configure: Likewise.
24151 * configure.in: Likewise.
24152 * csu/Versions: Likewise.
24153 * csu/init.c: Likewise.
24154 * elf/tst-audit2.c: Likewise.
24155 * elf/tst-tls10.c: Likewise.
24156 * elf/tst-tls10.h: Likewise.
24157 * elf/tst-tls11.c: Likewise.
24158 * elf/tst-tls12.c: Likewise.
24159 * elf/tst-tls14.c: Likewise.
24160 * elf/tst-tlsmod11.c: Likewise.
24161 * elf/tst-tlsmod12.c: Likewise.
24162 * elf/tst-tlsmod13.c: Likewise.
24163 * elf/tst-tlsmod13a.c: Likewise.
24164 * elf/tst-tlsmod14a.c: Likewise.
24165 * elf/tst-tlsmod15b.c: Likewise.
24166 * elf/tst-tlsmod16a.c: Likewise.
24167 * elf/tst-tlsmod16b.c: Likewise.
24168 * elf/tst-tlsmod7.c: Likewise.
24169 * elf/tst-tlsmod8.c: Likewise.
24170 * elf/tst-tlsmod9.c: Likewise.
24171 * gmon/gmon.c: Likewise.
24172 * grp/fgetgrent_r.c: Likewise.
24173 * grp/putgrent.c: Likewise.
24174 * hurd/fopenport.c: Likewise.
24175 * include/libc-symbols.h: Likewise.
24176 * include/tls.h: Likewise.
24177 * intl/gettextP.h: Likewise.
24178 * intl/loadinfo.h: Likewise.
24179 * locale/global-locale.c: Likewise.
24180 * locale/localeinfo.h: Likewise.
24181 * mach/devstream.c: Likewise.
24182 * malloc/arena.c: Likewise.
24183 * malloc/set-freeres.c: Likewise.
24184 * misc/err.c: Likewise.
24185 * misc/getttyent.c: Likewise.
24186 * misc/mntent_r.c: Likewise.
24187 * posix/getopt.c: Likewise.
24188 * posix/wordexp.c: Likewise.
24189 * pwd/fgetpwent_r.c: Likewise.
24190 * resolv/Versions: Likewise.
24191 * resolv/res_hconf.c: Likewise.
24192 * shadow/fgetspent_r.c: Likewise.
24193 * shadow/putspent.c: Likewise.
24194 * stdio-common/printf_fphex.c: Likewise.
24195 * stdio-common/tmpfile.c: Likewise.
24196 * stdlib/abort.c: Likewise.
24197 * stdlib/fmtmsg.c: Likewise.
24198 * sunrpc/auth_unix.c: Likewise.
24199 * sunrpc/clnt_perr.c: Likewise.
24200 * sunrpc/clnt_tcp.c: Likewise.
24201 * sunrpc/clnt_udp.c: Likewise.
24202 * sunrpc/clnt_unix.c: Likewise.
24203 * sunrpc/openchild.c: Likewise.
24204 * sunrpc/svc_simple.c: Likewise.
24205 * sunrpc/svc_tcp.c: Likewise.
24206 * sunrpc/svc_udp.c: Likewise.
24207 * sunrpc/svc_unix.c: Likewise.
24208 * sunrpc/xdr.c: Likewise.
24209 * sunrpc/xdr_array.c: Likewise.
24210 * sunrpc/xdr_rec.c: Likewise.
24211 * sunrpc/xdr_ref.c: Likewise.
24212 * sunrpc/xdr_stdio.c: Likewise.
24213
1248c1c4
PB
242142011-09-09 Ulrich Drepper <drepper@gmail.com>
24215
24216 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24217
242182011-07-03 Andreas Jaeger <aj@suse.de>
24219
24220 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24221 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24222 regenerate with gen-libm-tests.pl.
24223
242242010-05-12 Petr Baudis <pasky@suse.cz>
24225
24226 [BZ #11589]
24227 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24228 around j0() zero points by switching to j1().
24229 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24233
f22e1074
UD
242342011-09-09 Ulrich Drepper <drepper@gmail.com>
24235
f19009c1
UD
24236 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24237 instead of 0.
24238 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24239 instead of 0.
f19009c1
UD
24240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24241 Patch in part by Pavel Roskin <proski@gnu.org>.
24242
3f8cc204
UD
24243 [BZ #13138]
24244 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24245 realloc.
24246 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24247 Free memory block if necessary.
24248
f22e1074
UD
24249 [BZ #12847]
24250 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24251 be NULL. Don't lock in this case.
24252
0a2349f9
RM
242532011-09-09 Roland McGrath <roland@hack.frob.com>
24254
24255 * elf/elf.h (ELFOSABI_GNU): New macro.
24256 (ELFOSABI_LINUX): Define to that.
24257
f3cdd467
DZ
242582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24259
24260 * string/strncat.c (strncat): Undef the symbol in case it has been
24261 defined in bits/string.h.
24262
74718d13
UD
242632011-09-09 Ulrich Drepper <drepper@gmail.com>
24264
633e9e0f
UD
24265 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24266
0a2349f9 24267 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24268 link map.
24269
f9924780
AJ
242702011-08-17 Andreas Jaeger <aj@suse.de>
24271
24272 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24273
7f5517aa
PP
242742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24275 Ian Lance Taylor <iant@google.com>
24276
24277 * math/libm-test.inc (lround_test): New testcase.
24278 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24279
762011fe
UD
242802011-09-08 Ulrich Drepper <drepper@gmail.com>
24281
92963737
UD
24282 * Makefile: Remove support for automatic cvs check-ins.
24283 * Makerules: Likewise.
24284 * config.make.in: Likewise.
24285 * configure.in: Likewise.
24286 * intl/Makefile: Likewise.
24287 * locale/Makefile: Likewise.
24288 * po/Makefile: Likewise.
24289 * posix/Makefile: Likewise.
24290 * sysdeps/gnu/Makefile: Likewise.
24291 * sysdeps/mach/hurd/Makefile: Likewise.
24292 * sysdeps/sparc/sparc32/Makefile: Likewise.
24293
b0727fd8
JS
24294 [BZ #13118]
24295 * posix/Makefile (bug-regex32-ENV): Define.
24296 Patch by John Stanley <jpsinthemix@verizon.net>.
24297
a0f33f99
UD
24298 * misc/Makefile (headers): Add bits/select2.h.
24299 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24300 * misc/bits/select2.h: New file.
24301 * include/bits/select2.h: New file.
24302 * debug/Makefile (routines): Add fdelt_chk.
24303 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24304 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24305 FD_ISSET.
24306 * debug/fdelt_chk.c: New file.
24307
762011fe
UD
24308 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24309 * wcsmbs/test-wmemcmp.c: Likewise.
24310 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24311 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24312
243132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24314
24315 * string/Makefile (strop-tests): Add memcmp.
24316 * string/test-wmemcmp.c: New file.
24317 * string/test-memcmp.c: Add wmemcmp support.
24318
7f513ec8
RM
243192011-09-08 Roland McGrath <roland@hack.frob.com>
24320
0442afb4
RM
24321 [BZ #13153]
24322 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24323 2011-07-19 change.
24324
7f513ec8
RM
24325 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24326 garbage value in a __mach_port_mod_refs call in the cases of the
24327 task-self and thread-self ports.
24328
a12b2239
ST
243292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24330
24331 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24332
610f9ab4
AS
243332011-09-08 Andreas Schwab <schwab@redhat.com>
24334
7f513ec8 24335 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24336
48882a1a
LD
243372011-09-07 Ulrich Drepper <drepper@gmail.com>
24338
b49865be
UD
24339 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24340
fdc86bc9
UD
24341 * elf/dl-libc.c (dlerror_run): Pass back error code from
24342 dl_catch_error.
24343
c966526a
UD
24344 [BZ #13123]
24345 * elf/dl-load.c (lose): Free l_origin if it is valid.
24346
48882a1a
LD
24347 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24348 names.
24349 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24350 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24351 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24352 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24353 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24354 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24355
77a2a8b4
AZ
243562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24357
24358 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24359 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24360 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24361 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24362 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24363 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24364 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24365 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24366 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24367 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24368
24f579d8
AM
243692011-08-15 Alan Modra <amodra@gmail.com>
24370
24371 [BZ #13092]
24372 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24373 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24374 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24375 ppc_mcount to static-only-routines.
24376 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24377 __mcount_internal.
24378 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24379 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24380
3d4837df
UD
243812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24382
24383 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24384 for finite and infinity parameters.
24385
22700377
WS
243862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24387
24388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24389 and add nop instructions for throughput optimization.
24390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24391
5025581e
WS
243922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24393
24394 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24395 aligned copy for power7 with vector-scalar instructions.
24396 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24397
08a300c9
L
243982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24399
24400 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24401 AVX check.
24402
59178ef9
AS
244032011-09-07 Andreas Schwab <schwab@redhat.com>
24404
24405 [BZ #13144]
24406 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24407 last change.
24408
e38ba7ab
UD
244092011-09-07 Ulrich Drepper <drepper@gmail.com>
24410
24411 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24412 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24413 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24414 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24415 clock_gettime.
24416
d53a73ac
UD
244172011-09-06 Ulrich Drepper <drepper@gmail.com>
24418
fc8bffcc
UD
24419 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24420 Forgot to demangle the pointer.
24421
ceaa0c5d
UD
24422 * sysdeps/i386/sysdep.h: Define atom_text_section.
24423 * sysdeps/x86_64/sysdep.h: Likewise.
24424 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24425 section with atom_text_section.
24426 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24428 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24430 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24431
a77d3c17
UD
24432 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24433 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24434 already be defined. Change to take two parameters and don't assign
24435 result to variable. Adjust all users.
24436 Define INTERNAL_GETTIME if not already defined.
24437 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24438 call.
24439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24440 HAVE_CLOCK_GETTIME_VSYSCALL.
24441 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24442
d53a73ac
UD
24443 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24444 gettimeofday vsyscall, just use time.
24445
a8f84144
AS
244462011-09-06 Andreas Schwab <schwab@redhat.com>
24447
24448 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24449 <errno.h>.
24450
ef606249
UD
244512011-09-06 Ulrich Drepper <drepper@gmail.com>
24452
24453 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24454 syscall on x86-64.
24455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24456 syscall.
24457 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24459 syscall if possible.
24460
6585cb60
UD
244612011-09-05 Ulrich Drepper <drepper@gmail.com>
24462
24463 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24464 e_ident. Don't pass to find_mapsXX.
24465 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24466
a5f524e4
LD
244672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24468
24469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24470 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24471 * sysdeps/x86_64/multiarch/strchr.S: Update.
24472 Check bit_slow_BSF bit.
24473 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24474 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24475 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24476
554881ef
UD
244772011-09-05 Ulrich Drepper <drepper@gmail.com>
24478
d96de963
UD
24479 [BZ #13134]
24480 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24481 before glibc 2.15.
24482 (tryshell): Define.
24483 (__spawni): Change last parameter to be flag. Test
24484 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24485 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24486 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24487 * posix/spawni.c: Likewise.
24488 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24489 * posix/spawnp.c: Likewise. Change normal version to use
24490 SPAWN_XFLAGS_USE_PATH.
24491 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24492 SPAWN_XFLAGS_TRY_SHELL.
24493
d48e5868
UD
24494 [BZ #13150]
24495 * posix/glob.h: Remove gcc 1.x support.
24496
554881ef
UD
24497 [BZ #13068]
24498 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24499
693fb948
LD
245002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24501
24502 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24503 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24504 strrchr-sse2-bsf
24505 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24506 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24507 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24508 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24509 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24510 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24511
1b48c537
UD
245122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24513
49d42c37
UD
24514 * sysdeps/x86_64/wcscmp.S: New file.
24515
1b48c537
UD
24516 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24517 wcscmp-c wcscmp-sse2
24518 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24519 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24520 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24521 * wcsmbs/wcscmp.c: Allow renaming.
24522
15c95c5d
DM
245232011-09-05 David S. Miller <davem@davemloft.net>
24524
24525 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24526 stack slot, rather than the struct return pointer slot.
24527 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24528 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24530 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24531
2f0ad8f3
UD
245322011-09-05 Ulrich Drepper <drepper@gmail.com>
24533
d88ae418
UD
24534 * po/ja.po: Update from translation team.
24535
2f0ad8f3
UD
24536 [BZ #13144]
24537 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24538 kernel in 64-bit binaries.
24539
5f4318d1
DM
245402011-09-01 David S. Miller <davem@davemloft.net>
24541
24542 * elf/elf.h (HWCAP_SPARC_*): Move to..
24543 * sysdeps/sparc/sysdep.h: this new file and add new values.
24544 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24545 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24546 _DL_HWCAP_COUNT to 24.
24547 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24548 entries.
24549 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24550 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24551 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24553 instead of magic constants.
24554 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24555
3ba57516
DM
245562011-08-31 David S. Miller <davem@davemloft.net>
24557
24558 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24560 Reimplement to do errno handling inline.
24561 (SYSCALL_ERROR_HANDLER): New macro.
24562 (__SYSCALL_STRING): Do not do errno handling in asm.
24563 (__CLONE_SYSCALL_STRING): Delete.
24564 (__INTERNAL_SYSCALL_STRING): Delete.
24565 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24566 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24567 (PSEUDO): Reimplement to do errno handling inline.
24568 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24569 (SYSCALL_ERROR_HANDLER): New macro.
24570 (__SYSCALL_STRING): Do not do errno handling in asm.
24571 (__CLONE_SYSCALL_STRING): Delete.
24572 (__INTERNAL_SYSCALL_STRING): Delete.
24573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24574 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24575 i386.
24576 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24577 (inline_syscall*): Add 'err' argument.
24578 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24579 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24580 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24581 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24582
24583 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24584 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24585
2bc17433
AS
245862011-08-30 Andreas Schwab <schwab@redhat.com>
24587
24588 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24589
fbeb5f4d
JO
245902011-08-29 Jiri Olsa <jolsa@redhat.com>
24591
24592 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24593 directive.
24594
ad69cc26
DM
245952011-08-24 David S. Miller <davem@davemloft.net>
24596
24597 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24598
39dd69df
AS
245992011-08-24 Andreas Schwab <schwab@redhat.com>
24600
24601 * elf/Makefile: Add rules to build and run unload8 test.
24602 * elf/unload8.c: New file.
24603 * elf/unload8mod1.c: New file.
24604 * elf/unload8mod1x.c: New file.
24605 * elf/unload8mod2.c: New file.
24606 * elf/unload8mod3.c: New file.
24607
24608 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24609 it wasn't used.
24610
2c0b250a
DM
246112011-08-23 David S. Miller <davem@davemloft.net>
24612
24613 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24614 subtract stack bias.
24615 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24616 %sp not %fp in calculations.
24617 (_JMPBUF_UNWINDS_ADJ): Likewise.
24618
22044b48
DM
24619 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24620 (aio_suspend): Call it to force an exception region around the
24621 AIO_MISC_WAIT() invocation.
24622
2cae4995
AS
246232011-08-23 Andreas Schwab <schwab@redhat.com>
24624
24625 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24626 backslash.
24627
873a772e
AJ
246282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24629
24630 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24631 protection macro.
24632 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24633 and <dl-machine.h>.
24634 (Elf64_FuncDesc): Remove.
24635
25ad0df1
DM
246362011-08-22 David S. Miller <davem@davemloft.net>
24637
24638 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24639 sigaltstack check, add missing cfi directives.
24640 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24641 missing cfi directives, and sigaltstack handling.
24642
e888bcbe
AS
246432011-08-16 Andreas Schwab <schwab@redhat.com>
24644
24645 [BZ #11724]
24646 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24647 object is seen twice.
24648 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24649
24650 * elf/Makefile (distribute): Add tst-initorder2.c.
24651 (tests): Add tst-initorder2.
24652 (modules-names): Add tst-initorder2a tst-initorder2b
24653 tst-initorder2c tst-initorder2d. Add rules to build them.
24654 ($(objpfx)tst-initorder2.out): New rule.
24655 * elf/tst-initorder2.c: New file.
24656 * elf/tst-initorder2.exp: New file.
24657
87162f46
AS
246582011-08-22 Andreas Schwab <schwab@redhat.com>
24659
70538b7f
AS
24660 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24661
f55ffe58
AS
24662 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24663 dependencies back to end of function.
24664
87162f46
AS
24665 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24666 $(elfobjdir)/ld.so.
24667
91b392a4
UD
246682011-08-21 Ulrich Drepper <drepper@gmail.com>
24669
24670 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24671 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24672 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24673 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24674 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24675 of __vdso_gettimeofday.
24676 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24677 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24678 attribute_hidden.
24679 (_libc_vdso_platform_setup): Remove initialization of
24680 __vdso_gettimeofday and __vdso_time.
24681
5c43483f
UD
246822011-08-20 Ulrich Drepper <drepper@gmail.com>
24683
775a77e7
UD
24684 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24685 and fgetc_unlocked.
24686 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24687 getc_unlocked.
89f447ed 24688
49c74ba9
UD
24689 * elf/dl-open.c (add_to_global): Report additions to the global scope
24690 for LD_DEBUG=scopes.
24691 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24692 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24693
5c43483f
UD
24694 [BZ #13114]
24695 * stdio-common/Makefile (tests): Add bug24.
24696 * stdio-common/bug24.c: New file.
24697
a101b025
AJ
246982011-08-19 Andreas Jaeger <aj@suse.de>
24699
24700 [BZ #13114]
24701 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24702 non-existant file when using close-on-exec mode.
24703
c88f1766
UD
247042011-08-20 Ulrich Drepper <drepper@gmail.com>
24705
0276a718
UD
24706 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24707 the very first instruction.
24708
c88f1766
UD
24709 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24710 the CFI state in the end.
24711 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24712 inclusion of dl-trampoline.h.
24713 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24714
51ccffa0
AS
247152011-08-19 Andreas Schwab <schwab@redhat.com>
24716
94d7165f
AS
24717 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24718 expectations for long double.
24719
51ccffa0
AS
24720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24721 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24722
fd708658 247232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24724
24725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24726 artificual limit depends upon the system page size.
24727
44f0a71e
UD
247282011-08-17 Ulrich Drepper <drepper@gmail.com>
24729
24730 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24731 * resolv/Makefile: Define CFLAGS-libresolv.
24732
8de79a24
AS
247332011-08-17 Andreas Schwab <schwab@redhat.com>
24734
24735 * nss/makedb.c (compute_tables): Make variables used in nested
24736 function static.
24737
27724598
UD
247382011-08-17 Ulrich Drepper <drepper@gmail.com>
24739
c5305d88
UD
24740 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24741 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24742 if buffer was too small.
24743
27724598
UD
24744 * elf/pldd.c (main): Attach to all threads in the process.
24745 Rewrite /proc handling to use *at functions.
24746
076fe015
UD
247472011-08-16 Ulrich Drepper <drepper@gmail.com>
24748
174baab3
UD
24749 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24750 specifies first scope to show.
24751 (dl_open_worker): Update callers. Move printing scope of new
24752 object to before the relocation.
44f0a71e 24753 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24754 * sysdeps/generic/ldsodefs.h: Update declaration.
24755
076fe015
UD
24756 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24757 string for the scope number.
24758
a60df2c3
UD
247592011-08-14 Ulrich Drepper <drepper@gmail.com>
24760
24761 * nscd/servicescache.c (cache_addserv): Make sure written is always
24762 initialized.
24763
5e4287d1
RM
247642011-08-14 Roland McGrath <roland@hack.frob.com>
24765
85ae0589
RM
24766 * sysdeps/i386/i486/bits/atomic.h
24767 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24768 statement expression, so as to suppress "set but not used" warning.
24769 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24770
69f63097
RM
24771 * string/strncat.c (STRNCAT): Use prototype definition.
24772
675456ef
RM
24773 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24774 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24775 -Iprograms here.
24776 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24777 (localedef-modules): Add localedef.
24778 (locale-modules): Add locale.
24779
5e4287d1
RM
24780 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24781 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24782 to avoid a warning.
24783
9c96ff23
DM
247842011-08-14 David S. Miller <davem@davemloft.net>
24785
24786 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24787 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24788
f9ddf089
UD
247892011-08-13 Ulrich Drepper <drepper@gmail.com>
24790
44f0a71e 24791 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24792 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24793 * elf/rtld.c (dl_main): Set l_name of vDSO.
24794 Call _dl_show_scope when DL_DEBUG_SCOPES.
24795 (process_dl_debug): Recognize scopes flag and also set it for all.
24796 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24797 Declare _dl_show_scope.
24798
1dc27704
UD
24799 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24800 (do_dlopen): Pass caller_dlopen to dl_open.
24801 (__libc_dlopen_mode): Initialize caller_dlopen.
24802
f9ddf089
UD
24803 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24804 of libc. Make tolower call locale-independent. Optimize a bit by
24805 using isdigit instead of isalnum.
24806 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24807
9ac533d3
UD
248082011-08-12 Ulrich Drepper <drepper@gmail.com>
24809
24810 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24811 was a dependency or dynamically loaded.
24812
89edf2e9
UD
248132011-08-11 Ulrich Drepper <drepper@gmail.com>
24814
8e999d29
UD
24815 * intl/l10nflist.c: Allow architecture-specific pop function.
24816 * sysdeps/x86_64/l10nflist.c: New file.
24817
89edf2e9
UD
24818 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24819 classification.
24820
14d96785
AS
248212011-08-10 Andreas Schwab <schwab@redhat.com>
24822
24823 * include/dirent.h: Add libc_hidden_proto for scandirat and
24824 scandirat64. Don't declare __scandirat64.
24825 * dirent/scandirat.c: Add libc_hidden_def.
24826 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24827 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24828
6761ac04
DM
248292011-08-10 David S. Miller <davem@davemloft.net>
24830
24831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24832 enum.
24833 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24835 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24836
c55fbd1e
UD
248372011-08-09 Ulrich Drepper <drepper@gmail.com>
24838
24839 * Versions.def [libc]: Add GLIBC_2.15.
24840 * dirent/Makefile (routines): Add scandirat and scandirat64.
24841 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24842 GLIBC_2.15.
24843 * dirent/dirent.h: Declare scandirat and scandirat64.
24844 * dirent/scandirat.c: New file.
24845 * dirent/scandirat64.c: New file.
24846 * sysdeps/wordsize-64/scandirat.c: New file.
24847 * sysdeps/wordsize-64/scandirat64.c: New file.
24848 * dirent/opendir.c: Define opendirat.
24849 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24850 using scandirat.
24851 * dirent/scandir64.c: Adjust for scandir.c change.
24852 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24853 __scandirat64, and __scandir_cancel_handler.
24854 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24855 additional parameter and use openat instead of open (outside of ld.so).
24856 Add new __opendir as wrapper around __opendirat.
24857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24858 here without requiring old scandirat implementation.
24859
879165f2
UD
248602011-08-08 Ulrich Drepper <drepper@gmail.com>
24861
24862 * dirent/scandir.c (cancel_handler): Renamed to
24863 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24864 defined. Adjust users.
24865 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24866 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24867
cb7e923b
UD
248682011-08-04 Ulrich Drepper <drepper@gmail.com>
24869
16292edd
UD
24870 * string/test-string.h (IMPL): Use __STRING to expand name and then
24871 stringify it.
24872
cb7e923b
UD
24873 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24874 of cleanups.
24875
cff82933
LD
248762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24877
24878 * string/Makefile: Update.
24879 (strop-tests): Append strncat.
24880 * string/test-wcscmp.c: New file.
24881 New comprehensive test for wcscmp.
24882 * string/test-strcmp.c: Update.
24883 (WIDE): New define.
24884
9be9bfcc
AS
248852011-07-22 Andreas Schwab <schwab@redhat.com>
24886
24887 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24888 line.
24889
2e96f1c7
AS
248902011-07-26 Andreas Schwab <schwab@redhat.com>
24891
24892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24893 encoding to ACE if AI_IDN.
24894
85188888
JJ
248952011-08-01 Jakub Jelinek <jakub@redhat.com>
24896
24897 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24898 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24899
5fa16e9b
LD
249002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24901
24902 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24903 Fix overflow bug in strncat.
24904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24905
24906 * string/test-strncat.c: Update.
24907 Add new tests for checking overflow bugs.
24908
249092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24910
24911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24912 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24913 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24914 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24915 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24916 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24917 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24918 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24919 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24920
24921 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24922 (USE_AS_STRCAT): Define.
24923 Add strcat and strncat support.
24924 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24925
8c1a459f
AS
249262011-07-25 Andreas Schwab <schwab@redhat.com>
24927
24928 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24929 __n bigger than INT_MAX+1.
24930 (__strncmp_g): Likewise.
24931
bba33c28
UD
249322011-07-23 Ulrich Drepper <drepper@gmail.com>
24933
798be72d
UD
24934 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24935 * libio/stido.h: Likewise.
24936
8accd4dc
UD
24937 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24938 (AF_NFC): Define.
24939 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24940 (AF_NFC): Define.
24941
cbff0d96
UD
24942 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24945 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24947
9191c04a
UD
24948 [BZ #13021]
24949 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24950 installed.
24951
bba33c28
UD
24952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24953 typo.
24954 (_dl_x86_64_save_sse): Likewise.
24955
90f139dd
UD
249562011-07-22 Ulrich Drepper <drepper@gmail.com>
24957
1aae088a
UD
24958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24959 OSXSAVE.
24960 (_dl_x86_64_save_sse): Likewise.
24961
8e2045f5
UD
24962 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24963
90f139dd
UD
24964 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24965
1d002f25
AS
249662011-07-21 Andreas Schwab <schwab@redhat.com>
24967
24968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24969 change.
24970 (_dl_x86_64_save_sse): Use correct AVX check.
24971
21137f89
UD
249722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24973
24974 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24975 bug in strncpy/strncat.
24976 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24977
a65c0b7a
UD
249782011-07-21 Ulrich Drepper <drepper@gmail.com>
24979
24980 * string/tester.c (test_strcat): Add tests for different alignments
24981 of source and destination.
24982 (test_strncat): Likewise.
24983
6986b98a
UD
249842011-07-20 Ulrich Drepper <drepper@gmail.com>
24985
90bb2039
UD
24986 [BZ #12852]
24987 * posix/glob.c (glob): Check passed in values before using them in
24988 expressions to avoid some overflows.
24989 (glob_in_dir): Likewise.
24990
5644ef54
UD
24991 [BZ #13007]
24992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24993 check for AVX enablement so that we don't crash with old kernels and
24994 new hardware.
24995 * elf/tst-audit4.c: Add same checks here.
24996 * elf/tst-audit6.c: Likewise.
24997
24998 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24999
bfc9dc9b
AS
250002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25001
25002 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25003
702e64bb
UD
250042011-07-20 Ulrich Drepper <drepper@gmail.com>
25005
25006 * po/cs.po: Update from translation team.
25007 * po/bg.po: Likewise.
25008
295e904f
MP
250092011-07-12 Marek Polacek <mpolacek@redhat.com>
25010
25011 * misc/sys/cdefs.h: Add support for const attribute.
25012 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25013 to gnu_dev_{major,minor,makedev} functions.
25014
3ff94596
MP
250152011-07-20 Marek Polacek <mpolacek@redhat.com>
25016
25017 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25018
28b59fca
AS
250192011-07-20 Andreas Schwab <schwab@redhat.com>
25020
25021 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25022 strlen results.
25023
19df733e
AK
250242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25025
25026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25027 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25028 register in order to avoid conflicts with the soft frame pointer
25029 being held in r11 when necessary.
25030 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25031 (INTERNAL_VSYSCALL_NCS): Likewise.
25032
c8835729
MP
250332011-07-14 Marek Polacek <mpolacek@redhat.com>
25034
25035 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25036 * elf/dl-fini.c (_dl_fini): Adjust caller.
25037 * elf/dl-close.c (_dl_close_worker): Likewise.
25038 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25039
b902330c
MP
250402011-07-15 Marek Polacek <mpolacek@redhat.com>
25041
8991e135
MP
25042 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25043 "aux_cache->nlibs < 0".
25044
b902330c
MP
25045 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25046 in the reload-count case.
25047
99710781
LD
250482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25049
25050 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25051 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25052 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25053 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25054 * sysdeps/x86_64/multiarch/strcat.S: New file.
25055 * sysdeps/x86_64/multiarch/strncat.S: New file.
25056 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25057 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25058 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25059 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25061 (USE_AS_STRCAT): Define.
25062 Add strcat and strncat support.
25063 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25064 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25065 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25066 * string/strncat.c: Update.
25067 (USE_AS_STRNCAT): Define.
25068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25069 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25070 and i7.
25071 * sysdeps/x86_64/multiarch/init-arch.h
25072 (bit_Prefer_PMINUB_for_stringop): New.
25073 (index_Prefer_PMINUB_for_stringop): Likewise.
25074 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25075 bit_Prefer_PMINUB_for_stringop.
25076
7dc6bd90
UD
250772011-07-19 Ulrich Drepper <drepper@gmail.com>
25078
25079 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25080 buffer64.
25081 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25082 of casting of buffer.
25083 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25084 buffer32 and buffer64.
25085 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25086 writes instead of casting of buffer.
25087 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25088 buffer32.
25089 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25090 casting of buffer.
25091
e0e72284
AS
250922011-07-19 Andreas Schwab <schwab@redhat.com>
25093
25094 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25095
feb1eb0b
UD
250962011-07-19 Ulrich Drepper <drepper@gmail.com>
25097
25098 * nscd/nscd.c (termination_handler): Don't do anything for a database
25099 if it has not yet been initialized.
25100
298711ff
UD
251012011-07-18 Ulrich Drepper <drepper@gmail.com>
25102
25103 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25104
251052011-07-15 Marek Polacek <mpolacek@redhat.com>
25106
25107 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25108
f9d68389
UD
251092011-07-18 Ulrich Drepper <drepper@gmail.com>
25110
25111 * po/nl.po: Update from translation team.
25112 * po/sv.po: Likewise.
25113
db290cf5
RM
251142011-07-16 Roland McGrath <roland@hack.frob.com>
25115
25116 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25117 now disallowed by GCC.
5c550700 25118
fd5e21c7
RM
25119 * configure.in (use-default-link): Default to yes if a test -shared
25120 link meets our qualifications.
25121 * configure: Regenerated.
25122
5c550700
RM
25123 * config.make.in (output-format): New variable.
25124 * configure.in: Check for ld --print-output-format support.
25125 * configure: Regenerated.
25126 * Makerules ($(common-objpfx)format.lds)
25127 [$(output-format) != unknown]: Just use $(output-format),
25128 instead of the linker-script munging.
25129
9fa2c032
RM
251302011-07-14 Roland McGrath <roland@hack.frob.com>
25131
a6928d51
RM
25132 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25133 of $(common-objpfx)shlib.lds.
25134 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25135
661607b3
RM
25136 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25137 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25138
9fa2c032
RM
25139 * configure.in (-z relro check): Adjust test code to add a large
25140 writable data section after it.
25141 * configure: Regenerated.
25142
defe9061
RM
251432011-07-11 Roland McGrath <roland@hack.frob.com>
25144
25145 * configure.in (-z relro check): Fix test code to make the variable
25146 truly const.
25147 * configure: Regenerated.
25148
319b9ad4
UD
251492011-07-11 Ulrich Drepper <drepper@gmail.com>
25150
25151 * nscd/nscd.h (struct traced_file): Define.
25152 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25153 elements. Add traced_files.
25154 (inotify_fd): Declare.
25155 (register_traced_file): Declare.
25156 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25157 (inotify_fd): Export.
25158 (resolv_conf_descr): Remove.
25159 (nscd_init): Move inotify descriptor creation to main.
25160 Don't register files for notification here.
25161 (register_traced_file): New function.
25162 (invalidate_cache): Don't use reset_res to determine whether to call
25163 res_init, go through the list of registered files.
25164 (main_loop_poll): The inotify descriptors are now stored in the
25165 structures for the traced files.
25166 (main_loop_epoll): Likewise
25167 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25168 to __nss_disable_nscd.
25169 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25170 for a database anymore. Check the records for all the registered
25171 files instead.
25172 * nss/Makefile (libnss_files-routines): Add files-init.
25173 (libnss_db-routines): Add db-init.
25174 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25175 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25176 * nss/nss_db/db-init.c: New file.
25177 * nss/nss_files/files-init.c: New file.
25178 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25179 __nss_lookup_function.
25180 (__nss_lookup_function): Call nss_load_library.
25181 (nss_load_all_libraries): New function.
25182 (__nss_disable_nscd): Take parameter with callback function for files
25183 to register. Set is_nscd. Load all the DSOs for the NSS modules
25184 used for the cached services.
25185 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25186 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25187 options for features to all the files in nscd.
25188
25189 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25190
23bee3e8
RM
251912011-07-10 Roland McGrath <roland@hack.frob.com>
25192
25193 * csu/elf-init.c (__libc_csu_init): Comment typo.
25194
46a5b7f0
UD
251952011-07-09 Ulrich Drepper <drepper@gmail.com>
25196
25197 * po/pl.po: Update from translation team.
25198 * po/ja.po: Likewise.
25199 * po/ru.po: Likewise.
25200 * po/ko.po: Likewise.
25201 * po/fr.po: Likewise.
25202
d30cf5bb
RM
252032011-07-09 Roland McGrath <roland@hack.frob.com>
25204
113ddea4
RM
25205 * configure.in (.ctors/.dtors header and trailer check):
25206 Use an empirical test on a built program.
25207 * configure: Regenerated.
25208
574920b4
RM
25209 * configure.in (-z relro check): Use an empirical test on a built DSO.
25210 Detect, but do not require, on ia64.
25211 * configure: Regenerated.
25212
d30cf5bb
RM
25213 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25214 Update tests that use readelf to use $READELF instead.
25215 * configure: Regenerated.
25216
8538fdb3
UD
252172011-07-08 Ulrich Drepper <drepper@gmail.com>
25218
25219 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25220 if the result is not used.
25221
04d08991
AJ
252222011-07-05 Andreas Jaeger <aj@suse.de>
25223
25224 [BZ#9696]
25225 * stdlib/tst-strtod.c: Add testcase.
25226
de283087
AD
252272011-07-07 Ulrich Drepper <drepper@gmail.com>
25228
4e5f31c8 25229 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25230 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25231 The latter has a higher limit. Take additional parameter to pass to
25232 the new function.
25233 (__pathconf): Pass file to __statfs_link_max.
25234 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25235 __statfs_link_max.
25236 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25237 __statfs_link_max.
25238
de283087
AD
25239 [BZ #12868]
25240 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25241 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25242 Handle Lustre.
25243 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25244 (__statfs_filesize_max): Likewise.
25245 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25246
c75fa153
AJ
252472011-07-05 Andreas Jaeger <aj@suse.de>
25248
25249 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25250
1a544854
UD
252512011-07-06 Marek Polacek <mpolacek@redhat.com>
25252
25253 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25254 `status' variable.
25255 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25256 Likewise.
25257
6f0eec67
UD
252582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25259
25260 * Makefile (strop-tests): Add strncat.
25261 * string/test-strncat.c: New file.
25262
aae30307
UD
252632011-06-30 Marek Polacek <mpolacek@redhat.com>
25264
25265 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25266
c0cfb5eb
UD
252672011-06-21 Andreas Jaeger <aj@suse.de>
25268
25269 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25270 Copy rule from iconvdata/Makefile.
25271
01636b21
UD
252722011-07-06 Ulrich Drepper <drepper@gmail.com>
25273
25274 [BZ #12922]
25275 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25276 but no long options are defined, just return 'W'.
25277
9895c8bc
UD
252782011-06-22 Marek Polacek <mpolacek@redhat.com>
25279
25280 [BZ #9696]
25281 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25282
5d4cf042
UD
252832011-07-06 Ulrich Drepper <drepper@gmail.com>
25284
25285 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25286 netgroups to read.
960e5535 25287 (innetgr): Likewise.
5d4cf042 25288
751eb97e
RM
252892011-07-05 Roland McGrath <roland@hack.frob.com>
25290
25291 * config.make.in (install_root): Default to $(DESTDIR).
25292
f15f1e45
UD
252932011-07-05 Ulrich Drepper <drepper@gmail.com>
25294
25295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25296
4e34ac6a
RM
252972011-07-02 Roland McGrath <roland@hack.frob.com>
25298
5e9b6af4
RM
25299 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25300
84f9ea0f
RM
25301 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25302 containing directory rather than embedding absolute directory names.
25303
ea5ee9f7
RM
25304 * scripts/check-local-headers.sh: Rewritten using awk.
25305 Match by word, not by line. Print error messages for matches.
25306 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25307
1b74661a
RM
25308 * Makerules [shlib-lds-flags empty]:
25309 ($(common-objpfx)libc_pic.opts): New target.
25310 ($(common-objpfx)libc_pic.os.clean): New target.
25311 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25312
25313 * config.make.in (OBJCOPY): New variable.
25314 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25315 * configure: Regenerated.
25316
f781ef40
RM
25317 * config.make.in (use-default-link): New variable.
25318 * configure.in (use_default_link): Grok --with-default-link to set it.
25319 * configure: Regenerated.
25320 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25321 (shlib-lds, shlib-lds-flags): Define to empty.
25322
2d4fa81e
RM
25323 * Makerules (shlib-lds): New variable.
25324 (shlib-lds-flags): New variable.
25325 (build-shlib, build-moduile, build-module-asneeded): Use it.
25326 ($(common-objpfx)libc.so): Use $(shlib-lds).
25327 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25328 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25329
31fffa6b
RM
25330 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25331 DT_FLAGS/DT_FLAGS_1 with zero flags.
25332
4e34ac6a
RM
25333 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25334 linker script munging.
25335
fcfc776b
UD
253362011-07-02 Ulrich Drepper <drepper@gmail.com>
25337
25338 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25339 as 128-bit value.
25340 * crypt/sha512.c (sha512_process_block): Perform total addition using
25341 128-bit if possible.
25342 (__sha512_finish_ctx): Likewise.
25343 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25344 as 64-bit value.
25345 * crypt/sha256.c (SWAP64): Define.
25346 (sha256_process_block): Perform total addition using 64-bit if
25347 possible.
25348 (__sha256_finish_ctx): Likewise.
25349
99231d9a
UD
253502011-07-01 Ulrich Drepper <drepper@gmail.com>
25351
25352 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25354 * nscd/hstcache.c (cache_addhst): Likewise.
25355 * nscd/grpcache.c (cache_addgr): Likewise.
25356 * nscd/aicache.c (addhstaiX): Likewise
25357 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25358
445b4a53
TK
253592011-07-01 Thorsten Kukuk <kukuk@suse.de>
25360
25361 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25363 * nscd/hstcache.c (cache_addhst): Likewise.
25364 * nscd/grpcache.c (cache_addgr): Likewise.
25365 * nscd/aicache.c (addhstaiX): Likewise
25366
6d4d8e8e
AS
253672011-07-01 Andreas Schwab <schwab@redhat.com>
25368
25369 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25370 domain only when needed.
25371
89f654c5
AS
253722011-06-30 Andreas Schwab <schwab@redhat.com>
25373
25374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25375 is always restored.
25376
cf3b23ff
UD
253772011-06-29 Ulrich Drepper <drepper@gmail.com>
25378
25379 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25380 are re-adding the entry.
25381 * nscd/servicescache.c (cache_addserv): Likewise.
25382
751626f9
AJ
253832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25384
25385 * sysdeps/generic/dl-irel.h: fix protection against multiple
25386 inclusions.
25387 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25388
9113ea1f
UD
253892011-06-28 Ulrich Drepper <drepper@gmail.com>
25390
5c0b8d90
UD
25391 [BZ #12935]
25392 * malloc/memusage.sh: Fix quoting in message.
25393 * debug/xtrace.sh: Likewise.
25394
9113ea1f
UD
25395 * configure.in: Remove support for --experimental-malloc option, make
25396 it the default.
25397 * config.make.in: Likewise.
25398 * malloc/Makefile: Likewise.
25399
a4172181
AS
254002011-06-27 Andreas Schwab <schwab@redhat.com>
25401
25402 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25403 two-byte characters.
25404
78a7eee7
RM
254052011-06-27 Roland McGrath <roland@hack.frob.com>
25406
62bede13
RM
25407 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25408 AC_CACHE_CHECK invocation.
25409 * configure: Regenerated.
25410
78a7eee7
RM
25411 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25412
5ce33a62
UD
254132011-06-27 Ulrich Drepper <drepper@gmail.com>
25414
034807a9
UD
25415 [BZ #12350]
25416 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25417 bit from old_res_options.
25418
4902da17
UD
25419 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25420
5ce33a62
UD
25421 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25422 value type for setfct.
25423
c2344f56
L
254242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25425
25426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25427 __gettimeofday instead of gettimeofday.
25428
68468076
UD
254292011-06-26 Ulrich Drepper <drepper@gmail.com>
25430
25431 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25432
acb0d739
L
254332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25434
25435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25436
25437 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25438 info.
25439
8912479f
L
254402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25441
25442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25443 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25444 strcpy-sse2-unaligned strncpy-sse2-unaligned
25445 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25446 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25447 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25448 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25449 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25450 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25452 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25453 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25454 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25455 (STRCPY): Support SSE2 and SSSE3 versions.
25456
d5495a11
UD
254572011-06-24 Ulrich Drepper <drepper@gmail.com>
25458
25459 [BZ #12874]
25460 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25461 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25462 kernels which artificially limit size of requests.
25463
0b1cbaae
L
254642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25465
25466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25467 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25468 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25469 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25470 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25471 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25472 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25473 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25474 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25476 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25477 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25478 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25479 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25480 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25482 Enable unaligned load optimization for Intel Core i3, i5 and i7
25483 processors.
25484 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25485 Define.
25486 (index_Fast_Unaligned_Load): Define.
25487 (HAS_FAST_UNALIGNED_LOAD): Define.
25488
07f494a0
MP
254892011-06-23 Marek Polacek <mpolacek@redhat.com>
25490
25491 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25492
fa3fc0fe
UD
254932011-06-22 Ulrich Drepper <drepper@gmail.com>
25494
25495 [BZ #12907]
25496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25497 until it is clear that the information is realy needed.
25498 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25499
e12df166
AS
255002011-06-22 Andreas Schwab <schwab@redhat.com>
25501
25502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25503
852eb34d
UD
255042011-06-22 Ulrich Drepper <drepper@gmail.com>
25505
84e2a551
UD
25506 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25507 /sys/devices/system/cpu/online if it is usable.
25508
852eb34d
UD
25509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25510 reading the information from the /proc filesystem to once a second.
25511
6e502e19
UD
255122011-06-21 Andreas Jaeger <aj@suse.de>
25513
25514 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25515 NULL after inclusion of kernel headers.
25516
75d39ff2
UD
255172011-06-21 Ulrich Drepper <drepper@gmail.com>
25518
51f9aa6a
UD
25519 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25520 calls to internal_setent.
25521
c0244a9d
UD
25522 [BZ #12885]
25523 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25524 addresses using gethostbyname4_r ignore IPv4 addresses.
25525
c5e3c2ae
UD
25526 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25527 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25528
75d39ff2
UD
25529 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25530
42675c6f
DM
255312011-06-20 David S. Miller <davem@davemloft.net>
25532
25533 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25534 inclusions.
25535 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25536
25537 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25538 (elf_irel): Use it.
25539 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25540 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25541 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25542 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25543 * sysdeps/x86_64/dl-irel.h: Likewise.
25544
25545 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25546 * elf/dl-sym.c: Likewise.
25547
57912a71
UD
255482011-06-15 Ulrich Drepper <drepper@gmail.com>
25549
25550 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25551 need to dereference resplen2.
25552
ee22793d
AS
255532011-06-14 Andreas Schwab <schwab@redhat.com>
25554
25555 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25556
a9e836b0
UD
255572011-06-15 Ulrich Drepper <drepper@gmail.com>
25558
77fb9117
UD
25559 * Makeconfig: Define vardbdir and inst_vardbdir.
25560 * nss/Makefile: Add rules to install db-Makefile.
25561
40c1b22c
UD
25562 * nss/nss_db/db-XXX.c: Cleanup.
25563
9f2da732
UD
25564 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25565 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25566 GLIBC_PRIVATE.
25567 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25568 * nss/makedb.c: Implement -g option to specify that value strings
25569 are generated and should not be added to table iterated over for
25570 get*ent calls.
25571 * nss/nss_db/db-initgroups.c: New file.
25572
82e9a1f7
UD
25573 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25574 interface.
25575
c41af17e
UD
25576 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25577 (internal_getgrouplist): Adjust to name change.
25578 Update use_initgroups_entry if this is not the first call.
25579 * nss/databases.def: Add initgroups entry.
25580
a9e836b0
UD
25581 * nss/makedb.c (compute_tables): Check result of multiple hash table
25582 sizes to minimize maximum chain length.
25583
2666d441
UD
255842011-06-14 Ulrich Drepper <drepper@gmail.com>
25585
25586 * Versions.def: Add entry for libnss_db.
25587 * shlib-versions: Likewise.
25588 * nss/Makefile: Add rules to build libnss_db.
25589 * nss/Versions: Add libnss_db information. Organize libnss_files
25590 entries better.
25591 * nss/db-Makefile: Add gshadow support. Change rules for the new
25592 makedb progra. Some minor improvements to generate smaller files.
25593 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25594 here from...
25595 * nss/makedb.c: ...here.
25596 Improve database format to be smaller and require less memory at
25597 runtime.
25598 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25599 db anymore.
25600 * nss/nss_db/db-netgrp.c: Likewise.
25601 * nss/nss_db/db-open.c: Likewise.
25602 * nss/nss_files/flies-XXX.x: Adjust comments.
25603 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25604 * nss/nss_files/files-grp.c: Likewise.
25605 * nss/nss_files/files-hosts.c: Likewise.
25606 * nss/nss_files/files-network.c: Likewise.
25607 * nss/nss_files/files-proto.c: Likewise.
25608 * nss/nss_files/files-pwd.c: Likewise.
25609 * nss/nss_files/files-rpc.c: Likewise.
25610 * nss/nss_files/files-service.c: Likewise.
25611 * nss/nss_files/files-sgrp.c: Likewise.
25612 * nss/nss_files/files-spwd.c: Likewise.
25613 * nss/nss_db/db-alias.c: Removed.
25614 * nss/nss_db/dummy-db.h: Removed.
25615
9ee76b5a
UD
256162011-06-02 Ulrich Drepper <drepper@gmail.com>
25617
25618 * nss/makedb.c: Rewritten to not use database library.
25619 * nss/Makefile: Update to build new makedb program.
25620
c71ca1f8
AJ
256212011-06-14 Andreas Jaeger <aj@suse.de>
25622
25623 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25624 memset declaration.
25625
3154bfb8
UD
256262011-06-10 Andreas Schwab <schwab@redhat.com>
25627
25628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25629 tmpbuf.
25630
b350afab
RM
256312011-06-10 Roland McGrath <roland@hack.frob.com>
25632
decd4e50
RM
25633 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25634 * elf/Makefile ($(objpfx)ld.so): Likewise.
25635
5615eaf2
RM
25636 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25637 Don't list ld.so twice in dependencies.
25638
25639 * posix/bug-regex31.c: Include <stdlib.h>.
25640
25641 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25642
25643 * nis/nss_compat/compat-spwd.c
25644 (getspent_next_nss_netgr): Remove unused variable.
25645 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25646
25647 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25648 nonmembers" output to use the right array.
25649
25650 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25651
25652 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25653
25654 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25655 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25656 * catgets/gencat.c (read_input_file): Likewise.
25657 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25658
25659 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25660 variable definition inside #if's controlling its use.
25661
25662 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25663
25664 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25665
25666 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25667
25668 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25669 unreachable code.
25670
25671 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25672
b68e08db
RM
25673 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25674 * configure: Regenerated.
25675
b350afab
RM
25676 * Makerules: Revert last change.
25677 * elf/Makefile: Likewise.
25678
28368601
RM
256792011-06-09 Roland McGrath <roland@hack.frob.com>
25680
25681 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25682 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25683 (reloc-link): Likewise.
25684
11988f8f
UD
256852011-06-09 Ulrich Drepper <drepper@gmail.com>
25686
25687 * elf/Makefile: Add rules to build pldd.
25688 * elf/pldd.c: New file.
25689 * elf/pldd-xx.c: New file.
25690
e80fab37
UD
256912011-06-07 Ulrich Drepper <drepper@gmail.com>
25692
25693 * version.h: Update for 2.15 development version.
25694
9b849836
DM
256952011-06-07 David S. Miller <davem@davemloft.net>
25696
25697 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25698 ifuncs.
25699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25700 elf_machine_lazy_rel): Likewise.
25701 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25703 elf_machine_lazy_rel): Likewise.
25704 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25705 dl_hwcap via passed in argument.
25706 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25707 Likewise.
25708
5a31b283
AK
257092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25710
25711 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25712
069e52f8
RM
257132011-06-06 Roland McGrath <roland@hack.frob.com>
25714
25715 [BZ #12849]
25716 * manual/fdl-1.1.texi: New file, verbatim from:
25717 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25718 * manual/lgpl-2.1.texi: New file, verbatim from:
25719 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25720 * manual/Makefile (licenses): New variable, list those new file names.
25721 (texis): Use it.
25722 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25723
25724 * manual/fdl.texi: File removed.
25725 * manual/lesser.texi: File removed.
25726 * manual/libc.texinfo (Copying, Documentation License):
25727 Use new @include file names, put @appendix directive before @include.
25728
f16846a5
JJ
257292011-06-04 Jakub Jelinek <jakub@redhat.com>
25730
25731 [BZ #12841]
25732 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25733 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25734 (mq_open): Add __NTH.
25735
3d29045b
L
257362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25737
25738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25739 Assume Intel Core i3/i5/i7 processor if AVX is available.
25740
8c297311
UD
257412011-05-31 Ulrich Drepper <drepper@gmail.com>
25742
25743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25744 typo.
25745
c8fc0c91
UD
257462011-05-31 Andreas Schwab <schwab@redhat.com>
25747
25748 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25749 memory. Use alloca_account. Fix memory leak when retrying.
25750
5b27a807
UD
257512011-05-31 Ulrich Drepper <drepper@gmail.com>
25752
356f8bc6
UD
25753 * version.h (RELEASE): Bump for 2.14 release.
25754 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25755
5b27a807
UD
25756 * config.make.in (RANLIB): Remove entry.
25757
01f16ab0
UD
257582011-05-30 Ulrich Drepper <drepper@gmail.com>
25759
41fce8bd
UD
25760 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25761 (libc.pot): Work around missing support for .ksh extension in xgettext.
25762
4769ae77
UD
25763 [BZ #12684]
25764 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25765 if both request failed.
25766 (send_dg): In case of server errors clear resplen or *resplen2.
25767
6b1e7d19
UD
25768 [BZ #12454]
25769 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25770 when there are multiple maps.
25771 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25772 (_dl_fini): Remove test here.
25773
01f16ab0
UD
25774 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25775
b1ebd700
UD
257762011-05-29 Ulrich Drepper <drepper@gmail.com>
25777
7ae22829
UD
25778 [BZ #12350]
25779 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25780 bit from old_res_options.
25781 (gaih_inet): Likewise.
25782
553149f6 25783 [BZ #11099]
18a84741 25784 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25785 as signed.
25786
652ffab1
UD
25787 * resolv/res_init.c (res_setoptions): Make the code more compact.
25788
16985fd0
UD
25789 [BZ #11558]
25790 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25791 set RES_USEVC.
25792
0464f746
UD
25793 [BZ #11634]
25794 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25795
7d17596c
UD
25796 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25797
cf6bbbd7
UD
25798 [BZ #11781]
25799 * malloc/malloc.h: Declare malloc hook variables as volatile.
25800
13f1ab36
UD
25801 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25802 in last patch.
25803
b1ebd700
UD
25804 [BZ #11799]
25805 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25806 raise in the comment.
80e2212d
UD
25807 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25808 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25809 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25810
ce67228d
UD
258112011-05-28 Ulrich Drepper <drepper@gmail.com>
25812
8887a920
UD
25813 [BZ #12811]
25814 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25815 grow the buffers more if it already has to be sufficient.
25816 (build_wcs_upper_buffer): Likewise.
25817 * posix/regexec.c (check_matching): Likewise.
25818 (clean_state_log_if_needed): Likewise.
25819 (extend_buffers): Don't enlarge buffers beyond size of the input
25820 buffer.
25821 Patches mostly by Emil Wojak <emil@wojak.eu>.
25822 * posix/bug-regex32.c: New file.
25823 * posix/Makefile (tests): Add bug-regex32.
25824
4f031072
UD
25825 * locale/findlocale.c (_nl_find_locale): Return right away if
25826 _nl_explode_name failed.
25827 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25828
d0478f0c
UD
25829 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25830
de81b246
UD
25831 * debug/xtrace.sh: Unify messages.
25832 * malloc/memusage.sh: Likewise.
25833
c738465a
UD
25834 [BZ #12813]
25835 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25836 time symbol from vDSO. Substitute with vsyscall if not available.
25837 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25838 __vdso_time.
25839
f1f929d7
UD
25840 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25841 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25842 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25843 Add sendmmsg and internal_sendmmsg.
25844 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25845 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25846 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25847
ce67228d
UD
25848 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25849 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25850 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25851
e57420c6
UD
258522011-05-27 Ulrich Drepper <drepper@gmail.com>
25853
a8509ca5
UD
25854 [BZ #12813]
25855 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25856 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25857 available.
25858 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25859 __vdso_getcpu.
25860
e57420c6
UD
25861 [BZ #12814]
25862 * iconvdata/Makefile (tests): Add bug-iconv9.
25863 * iconvdata/bug-iconv9.c: New file.
25864
4d07db15
AS
258652011-05-27 Andreas Schwab <schwab@redhat.com>
25866
25867 [BZ #12814]
25868 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25869
ea486f69
JJ
258702011-05-25 Jakub Jelinek <jakub@redhat.com>
25871
25872 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25873 (struct user_regs_struct): Change intcs field back to cs.
25874
6f038433
UD
258752011-05-25 Ulrich Drepper <drepper@gmail.com>
25876
25877 * po/ja.po: Update from translation team.
25878
67f86a25
UD
258792011-05-23 Ulrich Drepper <drepper@gmail.com>
25880
25881 [BZ #12795]
25882 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25883 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25884
def7fbd6
AS
258852011-05-20 Andreas Schwab <schwab@redhat.com>
25886
25887 * stdlib/longlong.h: Update from GCC.
25888
f50ef8f1
AS
258892011-05-23 Andreas Schwab <schwab@redhat.com>
25890
25891 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25892 parameter name.
25893 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25894 Add parameter name.
25895 (__sysconf): Pass it down.
25896
de7ce8f1
UD
258972011-05-22 Ulrich Drepper <drepper@gmail.com>
25898
f2962a71
UD
25899 [BZ #12671]
25900 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25901 some situations.
25902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25903 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25904 add in in __libc_use_alloca calls. Adjust callers.
25905 (glob): Use malloc in some situations.
25906
de7ce8f1
UD
25907 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25908 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25909 pltexit.
25910
aec84f53
UD
259112011-05-21 Ulrich Drepper <drepper@gmail.com>
25912
05bb4a68
UD
25913 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25914 and CLOCK_BOOTTIME_ALARM.
25915
7ea72f99
UD
25916 [BZ #12782]
25917 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25918 is returned.
25919
7e4afad5
UD
25920 * string/_strerror.c (__strerror_r): Print negative errors as signed
25921 numbers.
25922
8e211fec
UD
25923 [BZ #12777]
25924 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25925 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25926 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25927
f7d82dc9
UD
25928 * configure.in: Fix typo in redirection and correct removal of test
25929 files in two cases.
25930
cc9e536d
UD
25931 [BZ #12788]
25932 * locale/setlocale.c (new_composite_name): Fix test to check for
25933 identical name of all categories.
25934
aec84f53
UD
25935 [BZ #12792]
25936 * libio/filedoalloc.c (local_isatty): New function.
25937 (_IO_file_doallocate): Use local_isatty.
25938 * stdio-common/perror.c (perror): In case a new stream is used
25939 forward the stream error.
25940 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25941 error flag.
25942
78e64fdc
RT
259432011-05-20 Ulrich Drepper <drepper@gmail.com>
25944
34a9094f
UD
25945 [BZ #11869]
25946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25947 alloca.
25948 * include/alloca.h (extend_alloca_account): Define.
25949
78e64fdc
RT
25950 [BZ #11857]
25951 * posix/regex.h: Fix comments with documentation of user-accessible
25952 fields after compilation and describe correct free'ing of pattern
25953 after re_compile_pattern.
25954 Patch by Reuben Thomas <rrt@sc3d.org>.
25955
457bddfc
RA
259562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25957
25958 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25959 and -mno-altivec to prevent the compiler from using Altivec and/or
25960 VSX instructions when the corresponding registers are not available.
25961
a4527b51
AS
259622011-05-19 Andreas Schwab <schwab@redhat.com>
25963
25964 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25965
ed690b2f
UD
259662011-05-19 Ulrich Drepper <drepper@gmail.com>
25967
25968 * libio/freopen.c (freopen): Use __dup2, not dup2.
25969 * libio/freopen64.c (freopen64): Likewise.
25970
8db73634
L
259712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25972
25973 [BZ #12775]
25974 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25975 * math/Makefile (tests): Add test-powl.
25976 (CFLAGS-test-powl.c): Define.
25977 * math/test-powl.c: New file.
25978
0a197a9d
L
259792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25980
25981 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25982
ee30c380
UD
259832011-05-17 Ulrich Drepper <drepper@gmail.com>
25984
25985 [BZ #11837]
25986 * iconvdata/gb18030.c: Update to GB18020-2005.
25987
6ce75379
UD
259882011-05-16 Ulrich Drepper <drepper@gmail.com>
25989
a4b89fd8
AR
25990 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25991 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25992 Patch by Aharon Robbins <arnold@skeeve.com>.
25993
ea389b12
UD
25994 [BZ #11892]
25995 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25996 on the stack.
25997
68a3f91f
UD
25998 [BZ #11895]
25999 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26000 through underflows.
26001
15cc7dd1
UD
26002 [BZ #12766]
26003 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26004 point to strings before performing equality test for error_one_per_line
26005 mode.
26006
f3799213
UD
26007 [BZ #11697]
26008 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26009
d79a9c94
UD
26010 [BZ #11820]
26011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26012 (struct user_fpregs_struct): Avoid __uint*_t types.
26013
56e5eb46
UD
26014 [BZ #6420]
26015 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26016 symbol info. Use it instead of calling _dl_addr locally.
26017 (lock_and_info): New function.
26018 (tr_freehook): Call lock_and_info and pass symbol info as additional
26019 parameter to tr_where.
26020 (tr_mallochook): Likewise.
26021 (tr_reallochook): Likewise.
26022 (tr_memalignhook): Likewise.
26023
6ce75379
UD
26024 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26025 used and couldn't be at all thread-safe.
26026
f8a3b5bf
UD
260272011-05-15 Ulrich Drepper <drepper@gmail.com>
26028
94b7cc37
UD
26029 * libio/freopen.c (freopen): Don't close old file descriptor
26030 before the new one is opened. Instead dup the new file descriptor
26031 to the old one after the new stream is created.
26032 * libio/freopen64.c (freopen64): Likewise.
26033 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26034 * libio/fileops.c (_IO_new_file_close_it): Handle new
26035 _IO_FLAGS2_NOCLOSE flag.
26036 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26037 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26038 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26039 _IO_FLAGS2_NOCLOSE flag.
26040 * include/unistd.h: Add hidden_proto for dup3.
26041 Define __have_dup3.
26042 * io/dup3.c: Define hidden symbol.
26043 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26044
bd25564e
UD
26045 [BZ #7101]
26046 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26047 when an incomplete long option is used.
26048 * posix/tst-getopt_long1.c: New file.
26049 * posix/Makefile (tests): Add tst-getopt_long1.
26050
c84cfef4
UD
26051 [BZ #10138]
26052 * scripts/config.guess: Update from autoconf-2.68.
26053 * scripts/config.sub: Likewise.
26054
3b85df27
UD
26055 [BZ #10157]
26056 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26057 tests into ...
26058 (has_cpuclock): ...this. New function.
26059 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26060 macro here based on has_cpuclock code.
26061
15a856b1
UD
26062 [BZ #10149]
26063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26064 First byte (not low byte) is now always NUL.
26065 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26066
05f399e6
UD
26067 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26068 Use non-cancelable interfaces.
26069
10a52685 26070 [BZ #9809]
94ecc67d
UD
26071 * locale/iso-639.def: Add entry for Sorani.
26072
f8a3b5bf
UD
26073 [BZ #11901]
26074 * include/stdlib.h: Move include protection to the right place.
26075 Define abort_msg_s. Declare __abort_msg with it.
26076 * stdlib/abort.c (__abort_msg): Adjust type.
26077 * assert/assert.c (__assert_fail_base): New function. Majority
26078 of code from __assert_fail. Allocate memory for __abort_msg with
26079 mmap.
26080 (__assert_fail): Now call __assert_fail_base.
26081 * assert/assert-perr.c: Remove bulk of implementation. Use
26082 __assert_fail_base.
26083 * include/assert.hL Declare __assert_fail_base.
26084 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26085 mmap.
26086 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26087
1af4e298
UD
260882011-05-14 Ulrich Drepper <drepper@gmail.com>
26089
f8a3b5bf 26090 [BZ #11952]
d26dfc60
MG
26091 [BZ #12453]
26092 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26093 until all modules are registered in the DTV.
26094 * elf/Makefile: Add rules to build and run tst-tls19.
26095 * elf/tst-tls19.c: New file.
26096 * elf/tst-tls19mod1.c: New file.
26097 * elf/tst-tls19mod2.c: New file.
26098 * elf/tst-tls19mod3.c: New file.
26099 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26100
2fc54d6f
UD
26101 [BZ #12083]
26102 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26103 correctly.
26104
98d76b46
UD
26105 [BZ #12601]
26106 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26107 two-byte sequence errors.
26108 * iconvdata/Makefile (tests): Add bug-iconv8.
26109 * iconvdata/bug-iconv8.c: New file.
26110
da3c19ef
UD
26111 [BZ #12626]
26112 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26113 buf2 definition.
26114
ca408c15
UD
26115 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26116
d6f67f7d
UD
26117 [BZ #12432]
26118 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26119 (dummy_getcfa): New function.
26120 (init): Get _Unwind_GetCFA address, use dummy if not found.
26121 (backtrace_helper): In recursion check, also check whether CFA changes.
26122 (__backtrace): Completely initialize arg.
26123
1af4e298 26124 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26125 storing incomplete byte sequence in state object. Avoid testing for
26126 guaranteed too small input if we know there is enough data available.
1af4e298 26127
da62f81b
AS
261282011-05-11 Andreas Schwab <schwab@redhat.com>
26129
26130 * Makeconfig (+link-pie): Indent.
26131 * Rules (binaries-pie): Define if $(have-fpie) and
26132 $(build-shared).
26133 (binaries-shared): Also filter out $(binaries-pie).
26134 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26135 * nscd/Makefile (others-pie): Add nscd.
26136 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26137 ($(objpfx)nscd): Remove command override.
26138 * login/Makefile (others-pie): Add pt_chown.
26139 ($(objpfx)pt_chown): Remove command override.
26140 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26141 remove command overrides.
26142
fcabc0f8
UD
261432011-05-13 Ulrich Drepper <drepper@gmail.com>
26144
20030ae6
UD
26145 * libio/tst_putwc.c: Fix error messages.
26146
fcabc0f8
UD
26147 [BZ #12724]
26148 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26149 currently writing and seek to current position when not.
26150 * libio/Makefile (tests): Add bug-fclose1.
26151 * libio/bug-fclose1.c: New file.
26152
320a5dc0
PB
261532011-05-12 Ulrich Drepper <drepper@gmail.com>
26154
26155 [BZ #12511]
26156 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26157 don't set DF_1_NODELETE here.
26158 (do_lookup_x): When entering new entry test for copy relocation
26159 and if necessary set DF_1_NODELETE flag.
26160 * elf/tst-unique4.cc: New file.
26161 * elf/tst-unique4.h: New file.
26162 * elf/tst-unique4lib.cc: New file.
26163 * elf/Makefile: Add rules to build and run tst-unique4.
26164 Patch by Piotr Bury <pbury@goahead.com>.
26165
22836f52
UD
261662011-05-11 Ulrich Drepper <drepper@gmail.com>
26167
f574184a
UD
26168 [BZ #12052]
26169 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26170
e1fb097f
UD
26171 [BZ #12625]
26172 * misc/mntent_r.c (addmntent): Flush the stream after the output
26173
22836f52
UD
26174 [BZ #12393]
26175 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26176 (is_trusted_path_normalize): Skip initial colon. Append slash
26177 to empty buffer. Duplicate is_trusted_path code but allow
26178 constructed patch to be prefix.
26179 (is_dst): Allow $ORIGIN followed by /.
26180 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26181 Correct testing of result of is_trusted_path_normalize
26182 (decompose_rpath): Fix warning.
26183
7b3b0b2a
UD
261842011-05-10 Ulrich Drepper <drepper@gmail.com>
26185
26186 [BZ #11257]
26187 * grp/initgroups.c (internal_getgrouplist): When we found the service
26188 list through the initgroups entry in nsswitch.conf do not always
26189 continue on a successful lookup. Don't always use the
eac80ce2 26190 __nss_group_database value if it is set.
7b3b0b2a
UD
26191 * nss/nsswitch.conf (initgroups): Change action for successful db
26192 lookup to continue for compatibility.
26193
2a81eaa5
UD
261942011-05-09 Ulrich Drepper <drepper@gmail.com>
26195
be97a69e
UD
26196 [BZ #11532]
26197 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26198 and CP774 modules.
26199 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26200 and CP774 modules.
26201 * iconvdata/tst-tables.sh: Likewise.
26202 * iconvdata/cp770.c: New file.
26203 * iconvdata/cp771.c: New file.
26204 * iconvdata/cp772.c: New file.
26205 * iconvdata/cp773.c: New file.
26206 * iconvdata/cp774.c: New file.
26207 * iconvdata/testdata/CP770: New file.
26208 * iconvdata/testdata/CP770..UTF8: New file.
26209 * iconvdata/testdata/CP771: New file.
26210 * iconvdata/testdata/CP771..UTF8: New file.
26211 * iconvdata/testdata/CP772: New file.
26212 * iconvdata/testdata/CP772..UTF8: New file.
26213 * iconvdata/testdata/CP773: New file.
26214 * iconvdata/testdata/CP773..UTF8: New file.
26215 * iconvdata/testdata/CP774: New file.
26216 * iconvdata/testdata/CP774..UTF8: New file.
26217
26218 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26219 END CHARMAP line.
26220 * iconvdata/gen-8bit-gap.sh: Likewise.
26221 * iconvdata/gen-8bit.sh: Likewise.
26222
c1e9e399
UD
26223 * locale/iso-639.def: Add ary entry.
26224
24c55fb3 26225 [BZ #11258]
96b4b1b0
UD
26226 * locale/C-translit.h.in: Add U20A1 transliteration.
26227
bdc2f971
KB
26228 [BZ #12178]
26229 * locale/iso-639.def: Add wae entry.
26230 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26231
2952b117
UD
26232 [BZ #12545]
26233 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26234 for n.
26235
2a81eaa5
UD
26236 [BZ #12711]
26237 * locale/C-translit.h.in: Add entry for U20B9.
26238 Patch by pravin.d.s@gmail.com.
26239
28377d1b
UD
262402011-05-08 Ulrich Drepper <drepper@gmail.com>
26241
7fb90fb8
UD
26242 [BZ #12713]
26243 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26244 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26245 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26246 in rtld. Use *stat64.
7fb90fb8 26247 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26248 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26249 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26250 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26251 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26252 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26253 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26254 __fstatat64 macros.
7fb90fb8
UD
26255 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26256 * dirent/rewinddir.c: Add libc_hidden_def.
26257 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26258 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26259
28377d1b
UD
26260 * include/dirent.h (__alloc_dir): Add flags parameter.
26261 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26262 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26263 __alloc_dir.
26264 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26265 from fdopendir if O_CLOEXEC is already set.
26266
66bdbaa4
AM
262672011-03-15 Alan Modra <amodra@gmail.com>
26268
26269 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26270 l_tls_firstbyte_offset non-zero. Save padding offset in
26271 l_tls_firstbyte_offset for later use.
26272 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26273 freeing static tls block.
26274
95721191
JN
262752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26276
26277 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26278 where #ifdef was intended. The intent is to prevent ARG_MAX from
26279 being defined by the kernel headers.
26280
f87dfb1f
UD
262812011-05-07 Ulrich Drepper <drepper@gmail.com>
26282
26283 [BZ #12734]
26284 * resolv/resolv.h: Define RES_NOTLDQUERY.
26285 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26286 no-tld-query and set RES_NOTLDQUERY.
26287 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26288 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26289 modern BIND to search name as TLD unless forbidden.
26290
47c3cd7a
UD
262912011-05-07 Petr Baudis <pasky@suse.cz>
26292 Ulrich Drepper <drepper@gmail.com>
26293
26294 [BZ #12393]
26295 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26296 (is_trusted_path): ...to here.
c1e9ea35 26297 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26298 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26299 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26300
8a35c912
PP
263012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26302
26303 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26304 __BEGIN/__END_DECLS.
26305
acd41f47
UD
263062011-05-06 Ulrich Drepper <drepper@gmail.com>
26307
26308 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26309 NSS_STATUS_NOTFOUND if no record was found.
26310
597df647
AS
263112011-05-05 Andreas Schwab <schwab@redhat.com>
26312
26313 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26314 (headers-not-in-tirpc): Remove rpc/netdb.h
26315 * resolv/netdb.h: Revert last change.
26316
b9af1301
PP
263172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26318
26319 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26320 circular dependency between libgcc.a and libc.a.
26321
4e34d5f5
AS
263222011-05-05 Andreas Schwab <schwab@redhat.com>
26323
26324 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26325 * nis/Makefile: Don't install rpcsvc/*.
26326 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26327 instead of <rpc/types.h>.
26328 (MAXHOSTNAMELEN): Define.
26329
00ee369c
AS
263302011-05-03 Andreas Schwab <schwab@redhat.com>
26331
26332 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26333
0b592a30
MB
263342011-04-28 Maciej Babinski <mbabinski@google.com>
26335
26336 [BZ #12714]
26337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26338 gethostbyname4_r when IPv6 results are possible.
26339
6e04cbbe
UD
263402011-05-02 Ulrich Drepper <drepper@gmail.com>
26341
26342 [BZ #12723]
26343 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26344 _PC_PIPE_BUF handling.
26345
e4ecafe0
BH
263462011-04-30 Bruno Haible <bruno@clisp.org>
26347
26348 [BZ #12717]
26349 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26350 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26351 to 'int'.
26352 * inet/getnameinfo.c (getnameinfo): Likewise.
26353
125ee683
UD
263542011-04-29 Ulrich Drepper <drepper@gmail.com>
26355
26356 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26357 to groups setting in database lookup.
26358 * nss/nsswitch.conf: Add initgroups entry.
26359
b722481a
EB
263602011-04-22 Ulrich Drepper <drepper@gmail.com>
26361
26362 [BZ #12685]
26363 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26364 mode string.
26365 Patch by Eric Blake <eblake@redhat.com>.
26366
4df46dbd
L
263672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26368
26369 * sunrpc/Makefile (need-export-routines): Add svc_run.
26370 (routines): Remove svc_run.
26371 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26372 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26373 * sunrpc/svc_run.c (svc_run): Likewise.
26374 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26375
e84142d2
UD
263762011-04-21 Ulrich Drepper <drepper@gmail.com>
26377
26378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26379 problem in reallocation in last patch.
26380
877175d8
UD
263812011-04-20 Ulrich Drepper <drepper@gmail.com>
26382
26383 * sunrpc/Makefile: Move inclusion of Rules.
26384
ab8eed78
UD
263852011-04-19 Ulrich Drepper <drepper@gmail.com>
26386
26387 * nss/nss_files/files-initgroups.c: New file.
26388 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26389 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26390 _nss_files_initgroups_dyn.
26391
e3d8f584
RS
263922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26393
26394 * elf/elf.h (R_ARM_IRELATIVE): Define.
26395
af190f45
UD
263962011-04-19 Ulrich Drepper <drepper@gmail.com>
26397
26398 * po/ru.po: Update from translation team.
26399
53cf59ef
UD
264002011-04-17 Ulrich Drepper <drepper@gmail.com>
26401
26402 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26403 dependencies.
26404
4c559bcd
MF
264052011-02-06 Mike Frysinger <vapier@gentoo.org>
26406
26407 [BZ #12653]
26408 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26409 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26410 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26411 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26412 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26413
4420675c
AS
264142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26415
26416 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26417 differing bytes.
26418 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26419 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26420 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26421
75ea32ab
UD
264222011-04-17 Ulrich Drepper <drepper@gmail.com>
26423
26424 [BZ #12420]
26425 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26426 storing it.
26427 * stdlib/bug-getcontext.c: New file.
26428 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26429
27390476
AK
264302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26431
26432 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26433 instructions into .machine "z9-109".
26434 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26435 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26436
10442705
AK
264372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26438
26439 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26440 between environment variables and auxiliary vector.
26441
7b57bfe5
UD
264422011-04-16 Ulrich Drepper <drepper@gmail.com>
26443
26444 * Makefile: Add rules to build linkobj/libc.so.
26445 * include/libc-symbols.h: Define libc_hidden_nolink.
26446 * include/rpc/auth.h: Mark functions which are to be hidden.
26447 * include/rpc/auth_des.h: Likewise.
26448 * include/rpc/auth_unix.h: Likewise.
26449 * include/rpc/clnt.h: Likewise.
26450 * include/rpc/des_crypt.h: Likewise.
26451 * include/rpc/key_prot.h: Likewise.
26452 * include/rpc/pmap_clnt.h: Likewise.
26453 * include/rpc/pmap_prot.h: Likewise.
26454 * include/rpc/pmap_rmt.h: Likewise.
26455 * include/rpc/rpc_msg.h: Likewise.
26456 * include/rpc/svc.h: Likewise.
26457 * include/rpc/svc_auth.h: Likewise.
26458 * include/rpc/xdr.h: Likewise.
26459 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26460 * nss/Makefile: Likewise.
26461 * sunrpc/Makefile: Don't install headers. Build library with normal
26462 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26463 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26464 for the compat linking library. Remove use of INTDEF/INTUSE.
26465 * sunrpc/auth_none.c: Likewise.
26466 * sunrpc/auth_unix.c: Likewise.
26467 * sunrpc/authdes_prot.c: Likewise.
26468 * sunrpc/authuxprot.c: Likewise.
26469 * sunrpc/clnt_gen.c: Likewise.
26470 * sunrpc/clnt_perr.c: Likewise.
26471 * sunrpc/clnt_raw.c: Likewise.
26472 * sunrpc/clnt_simp.c: Likewise.
26473 * sunrpc/clnt_tcp.c: Likewise.
26474 * sunrpc/clnt_udp.c: Likewise.
26475 * sunrpc/clnt_unix.c: Likewise.
26476 * sunrpc/des_crypt.c: Likewise.
26477 * sunrpc/des_soft.c: Likewise.
26478 * sunrpc/get_myaddr.c: Likewise.
26479 * sunrpc/key_call.c: Likewise.
26480 * sunrpc/key_prot.c: Likewise.
26481 * sunrpc/netname.c: Likewise.
26482 * sunrpc/pm_getmaps.c: Likewise.
26483 * sunrpc/pm_getport.c: Likewise.
26484 * sunrpc/pmap_clnt.c: Likewise.
26485 * sunrpc/pmap_prot.c: Likewise.
26486 * sunrpc/pmap_prot2.c: Likewise.
26487 * sunrpc/pmap_rmt.c: Likewise.
26488 * sunrpc/publickey.c: Likewise.
26489 * sunrpc/rpc_cmsg.c: Likewise.
26490 * sunrpc/rpc_common.c: Likewise.
26491 * sunrpc/rpc_dtable.c: Likewise.
26492 * sunrpc/rpc_prot.c: Likewise.
26493 * sunrpc/rpc_thread.c: Likewise.
26494 * sunrpc/rtime.c: Likewise.
26495 * sunrpc/svc.c: Likewise.
26496 * sunrpc/svc_auth.c: Likewise.
26497 * sunrpc/svc_authux.c: Likewise.
26498 * sunrpc/svc_raw.c: Likewise.
26499 * sunrpc/svc_run.c: Likewise.
26500 * sunrpc/svc_simple.c: Likewise.
26501 * sunrpc/svc_tcp.c: Likewise.
26502 * sunrpc/svc_udp.c: Likewise.
26503 * sunrpc/svc_unix.c: Likewise.
26504 * sunrpc/svcauth_des.c: Likewise.
26505 * sunrpc/xcrypt.c: Likewise.
26506 * sunrpc/xdr.c: Likewise.
26507 * sunrpc/xdr_array.c: Likewise.
26508 * sunrpc/xdr_float.c: Likewise.
26509 * sunrpc/xdr_intXX_t.c: Likewise.
26510 * sunrpc/xdr_mem.c: Likewise.
26511 * sunrpc/xdr_rec.c: Likewise.
26512 * sunrpc/xdr_ref.c: Likewise.
26513 * sunrpc/xdr_sizeof.c: Likewise.
26514 * sunrpc/xdr_stdio.c: Likewise.
26515
e6c61494
UD
265162011-04-10 Ulrich Drepper <drepper@gmail.com>
26517
26518 [BZ #12650]
26519 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26520 * sysdeps/ia64/dl-tls.h: Likewise.
26521 * sysdeps/powerpc/dl-tls.h: Likewise.
26522 * sysdeps/s390/dl-tls.h: Likewise.
26523 * sysdeps/sh/dl-tls.h: Likewise.
26524 * sysdeps/sparc/dl-tls.h: Likewise.
26525 * sysdeps/x86_64/dl-tls.h: Likewise.
26526 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26527
34fe483e
AS
265282011-03-14 Andreas Schwab <schwab@redhat.com>
26529
26530 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26531 rpath element also skip the following colon.
26532 (expand_dynamic_string_token): Add is_path parameter and pass
26533 down to DL_DST_REQUIRED and _dl_dst_substitute.
26534 (decompose_rpath): Call expand_dynamic_string_token with
26535 non-zero is_path. Ignore empty rpaths.
26536 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26537 with zero is_path.
26538
f12a32e6
AS
265392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26540
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26542 Make cancelable.
26543
38a7d692
UD
265442011-04-09 Ulrich Drepper <drepper@gmail.com>
26545
26546 [BZ #12655]
26547 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26548 Patch by Filipe David Manana <fdmanana@apache.org>.
26549
e451d22b
AS
265502011-04-07 Andreas Schwab <schwab@redhat.com>
26551
26552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26553 Maintain aligned stack.
26554 (CHECK_RSP): Remove unused macro.
26555
dedc7c7b
UD
265562011-04-03 Ulrich Drepper <drepper@gmail.com>
26557
26558 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26559 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26560
94521213
UD
265612011-04-02 Ulrich Drepper <drepper@gmail.com>
26562
26563 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26564
8cb700c0 26565 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26566
0354e355
L
265672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26568
26569 [BZ #12518]
26570 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26571 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26572 * sysdeps/x86_64/memmove.c: New file.
26573 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26574 (memcpy): Renamed to ...
26575 (__new_memcpy): This.
26576 (memcpy): Provide GLIBC_2_14 memcpy.
26577 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26578 (memcpy): Provide GLIBC_2_2_5 memcpy.
26579
8593482f
UD
265802011-04-01 Ulrich Drepper <drepper@gmail.com>
26581
26582 [BZ #12631]
26583 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26584
81a5726b
AS
265852011-03-30 Andreas Schwab <schwab@redhat.com>
26586
26587 * misc/syncfs.c: New file.
26588 * misc/Makefile (routines): Add syncfs.
26589 * posix/unistd.h: Declare syncfs.
26590 * sysdeps/unix/syscalls.list: Add syncfs.
26591
00e5419f
AS
265922011-04-01 Andreas Schwab <schwab@redhat.com>
26593
26594 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26595 open_by_handle_at.
26596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26597 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26598 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26599 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26600 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26601 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26603
748876bf
UD
266042011-04-01 Ulrich Drepper <drepper@gmail.com>
26605
658e451d
UD
26606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26607 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26608 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26613
748876bf
UD
26614 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26615 sync_file_range.c with -fexceptions.
26616 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26617 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26618 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26619 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26620 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26621 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26623 sync_file_range as cancellation point
26624 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26625 now a wrapper around __call_sync_file_range with cancellation handling.
26626 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26627 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26628 function name to __call_sync_file_range.
26629 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26630 Add call_sync_file_range.
748876bf 26631
6e63d5e1
AS
266322011-04-01 Andreas Schwab <schwab@redhat.com>
26633
26634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26635 bits/timex.h.
6e63d5e1 26636
46998f74
UD
266372011-04-01 Ulrich Drepper <drepper@gmail.com>
26638
4c1423ed
UD
26639 * iconv/iconv.h: Fix typo in comment.
26640 * io/fcntl.h: Likewise.
26641 * libio/stdio.h: Likewise.
26642 * posix/spawn.h: Likewise.
26643 * posix/unistd.h: Likewise.
26644 * stdlib/stdlib.h: Likewise.
26645 * time/time.h: Likewise.
26646 * wcsmbs/wchar.h: Likewise.
26647
158648c0
UD
26648 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26649 open_by_handle): Add.
26650 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26651 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26652 Augment a few comments.
26653 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26655 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26658 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26659 open_by_handle.
26660
46998f74
UD
26661 * io/fcntl.h (AT_EMPTY_PATH): Define.
26662
83fe108b
UD
266632011-03-30 Ulrich Drepper <drepper@gmail.com>
26664
26665 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26666 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26667 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26668 to...
26669 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26670 * Versions.def: Add GLIBC_2.14.
26671 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26672 Export.
83fe108b 26673
bb242059
UD
266742011-03-22 Ulrich Drepper <drepper@gmail.com>
26675
26676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26677 round counter.
26678 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26679
c97a1282
L
266802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26681
26682 [BZ #12597]
26683 * string/test-strncmp.c (do_page_test): New function.
26684 (check2): Likewise.
26685 (test_main): Call check2.
26686 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26687
2a115601
UD
266882011-03-20 Ulrich Drepper <drepper@gmail.com>
26689
26690 [BZ #12587]
26691 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26692 Handle cache information in CPU leaf 4.
26693 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26694
8126d904
UD
266952011-03-18 Ulrich Drepper <drepper@gmail.com>
26696
042c49c6 26697 [BZ #12583]
8126d904
UD
26698 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26699 character representation.
26700 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26701
ccfe366e
RA
267022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26703
26704 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26705 END(__isnan) to END(__isnanf) to match function entry point/label
26706 EALIGN(__isnanf,...).
26707
c6e13027
JJ
267082011-03-10 Jakub Jelinek <jakub@redhat.com>
26709
26710 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26711
33f85a3f
UD
267122011-03-10 Ulrich Drepper <drepper@gmail.com>
26713
028478fa
UD
26714 [BZ #12510]
26715 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26716 copy from the symbol referenced in the relocation to initialize the
26717 used variable.
26718 Patch by Piotr Bury <pbury@goahead.com>.
26719 * elf/Makefile: Add rules to build and tst-unique3.
26720 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26721 * elf/tst-unique3.cc: New file.
26722 * elf/tst-unique3.h: New file.
26723 * elf/tst-unique3lib.cc: New file.
26724 * elf/tst-unique3lib2.cc: New file.
26725
33f85a3f
UD
26726 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26727
03592fc7
MF
267282011-03-10 Mike Frysinger <vapier@gentoo.org>
26729
26730 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26731 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26732 to _start.
03592fc7 26733
6a5ee102
UD
267342011-03-06 Ulrich Drepper <drepper@gmail.com>
26735
26736 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26737 to-be-loaded object along a path to loader is ld.so.
26738
7e4ba49c
HJ
267392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26740 Ulrich Drepper <drepper@gmail.com>
26741
26742 * sysdeps/x86_64/memset.S: After aligning destination, code
26743 branches to different locations depending on the value of
26744 misalignment, when multiarch is enabled. Fix this.
26745
267462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26747
26748 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26749 Set _x86_64_preferred_memory_instruction for AMD processsors.
26750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26751 Set bit_Prefer_SSE_for_memop for AMD processors.
26752
13a804de
UD
267532011-03-04 Ulrich Drepper <drepper@gmail.com>
26754
26755 * libio/fmemopen.c (fmemopen): Optimize a bit.
26756
9d25c392
AS
267572011-03-03 Andreas Schwab <schwab@redhat.com>
26758
26759 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26760
a5543c6a
RM
267612011-03-03 Roland McGrath <roland@redhat.com>
26762
26763 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26764
012d35f7
DM
267652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26766
7e4ba49c 26767 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26768 __bzero_ultra1 instead of __memset_ultra1.
26769
4bff6e01
AS
267702011-02-23 Andreas Schwab <schwab@redhat.com>
26771 Ulrich Drepper <drepper@gmail.com>
26772
26773 [BZ #12509]
26774 * include/link.h (struct link_map): Add l_orig_initfini.
26775 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26776 returning unsuccessfully.
26777 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26778 close of a file loaded at startup, restore the original l_initfini
26779 list.
26780 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26781 list, store the pointer.
26782 * elf/Makefile ($(objpfx)noload-mem): New rule.
26783 (noload-ENV): Define.
26784 (tests): Add $(objpfx)noload-mem.
26785 * elf/noload.c: Include <memcheck.h>.
26786 (main): Call mtrace. Close all opened handles.
26787
f2092faf
AS
267882011-02-17 Andreas Schwab <schwab@redhat.com>
26789
26790 [BZ #12454]
26791 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26792 dependencies are missing.
26793
6c8a2e88
ST
267942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26795
f2092faf 26796 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26797 Hurd needs munmap.
26798 * sysdeps/mach/hurd/ifreq.h: New file.
26799
84a42118
PB
268002011-01-27 Petr Baudis <pasky@suse.cz>
26801 Ulrich Drepper <drepper@gmail.com>
26802
071f805e 26803 [BZ 12445]#
84a42118
PB
26804 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26805 to extend_alloca().
26806 * stdio-common/bug23.c: New file.
26807 * stdio-common/Makefile (tests): Add bug23.
26808
e23fe25b
AS
268092010-09-28 Andreas Schwab <schwab@redhat.com>
26810 Ulrich Drepper <drepper@gmail.com>
26811
26812 [BZ #12489]
26813 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26814 before performing relro protection. At old place add assertion
26815 to make sure nothing changed.
26816
d3f02e10
NS
268172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26818 Glauber de Oliveira Costa <glommer@gmail.com>
26819
26820 * elf/elf.h: Add new ARM TLS relocs.
26821
d55fd7a5
RA
268222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26823
26824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26825 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26826 cast from r3.
26827 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26828 'tests' variable.
26829 * sysdeps/wordsize-64/tst-writev.c: New file.
26830
2206397e
RA
268312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26832
26833 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26834 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26835 insns in _dl_start to prevent a TOC reference before relocs are
26836 resolved.
26837
e9433893
UD
268382011-02-15 Ulrich Drepper <drepper@gmail.com>
26839
26840 [BZ #12469]
26841 * Makeconfig: Remove RANLIB definition.
26842 * Makerules: Don't use RANLIB.
26843 * aclocal.m4: Remove ranlib test.
26844 * configure.in: No need to check for ranlib.
26845 * elf/rtld-Rules: Don't use RANLIB.
26846
f75286c6
ST
268472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26848
8e31c82d
ST
26849 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26850 protection macro.
26851 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26852 inclusion protection macro.
26853
f75286c6
ST
26854 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26855 SIGRTMIN and SIGRTMAX and print information in that case only when
26856 SIGRTMIN is defined.
26857
c1d0e639
JJ
268582011-02-11 Jakub Jelinek <jakub@redhat.com>
26859
26860 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26861 arginfo fn returning -1.
26862
26863 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26864 and thousands string is zero terminated.
26865
edf9294e
AS
268662011-02-03 Andreas Schwab <schwab@redhat.com>
26867
26868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26869 sysdeps/unix/sysv/linux/bits/socket.h.
26870
2b7e92df
ST
268712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26872
edf9294e
AS
26873 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26874 (__CPU_COUNT): Remove old macros.
26875 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26876 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26877 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26878 (__sched_cpualloc, __sched_cpufree): Add declarations.
26879
a4c7ea7b
UD
268802011-02-05 Ulrich Drepper <drepper@gmail.com>
26881
26882 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26883 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26884 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26885 (readdhstai): Return value of addhstaiX call.
26886 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26887 (addgrbyX): Return value returned by cache_addgr.
26888 (readdgrbyname): Return value returned by addgrbyX.
26889 (readdgrbygid): Likewise.
26890 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26891 (addpwbyX): Return value returned by cache_addpw.
26892 (readdpwbyname): Return value returned by addhstbyX.
26893 (readdpwbyuid): Likewise.
26894 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26895 (addservbyX): Return value returned by cache_addserv.
26896 (readdservbyname): Return value returned by addservbyX:
26897 (readdservbyport): Likewise.
26898 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26899 (addhstbyX): Return value returned by cache_addhst.
26900 (readdhstbyname): Return value returned by addhstbyX.
26901 (readdhstbyaddr): Likewise.
26902 (readdhstbynamev6): Likewise.
26903 (readdhstbyaddrv6): Likewise.
26904 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26905 (readdinitgroups): Return value returned by addinitgroupsX.
26906 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26907 (prune_cache): Keep track of timeout value of re-added entries.
26908 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26909 * nscd/nscd.h: Adjust prototypes of readd* functions.
26910
a0bf67cc
RM
269112011-02-04 Roland McGrath <roland@redhat.com>
26912
26913 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26914 (nis_stats): Likewise.
26915 * nis/nis_modify.c (nis_modify): Likewise.
26916 * nis/nis_remove.c (nis_remove): Likewise.
26917 * nis/nis_add.c (nis_add): Likewise.
26918
26919 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26920
26921 * posix/fnmatch_loop.c: Add some consts.
26922
26923 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26924
435b95eb
L
269252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26926
26927 [BZ #12460]
26928 * config.make.in (config-cflags-novzeroupper): Define.
26929 * configure.in: Substitute libc_cv_cc_novzeroupper.
26930 * elf/Makefile (AVX-CFLAGS): Define.
26931 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26932 (CFLAGS-tst-auditmod4a.c): Likewise.
26933 (CFLAGS-tst-auditmod4b.c): Likewise.
26934 (CFLAGS-tst-auditmod6b.c): Likewise.
26935 (CFLAGS-tst-auditmod6c.c): Likewise.
26936 (CFLAGS-tst-auditmod7b.c): Likewise.
26937 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26938
8517b15e
UD
269392011-02-02 Ulrich Drepper <drepper@gmail.com>
26940
26941 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26942 function to the callback.
26943 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26944
10a656fe
AS
269452011-02-02 Andreas Schwab <schwab@redhat.com>
26946
26947 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26948 of errno.
26949
968dad0a
UD
269502011-01-19 Ulrich Drepper <drepper@gmail.com>
26951
9f94d2ea 26952 [BZ #11724]
968dad0a
UD
26953 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26954 of constructors.
26955 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26956 of destructors.
26957 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26958
26959 [BZ #11724]
26960 * elf/Makefile: Add rules to build and run new test.
26961 * elf/tst-initorder.c: New file.
26962 * elf/tst-initorder.exp: New file.
26963 * elf/tst-initordera1.c: New file.
26964 * elf/tst-initordera2.c: New file.
26965 * elf/tst-initordera3.c: New file.
26966 * elf/tst-initordera4.c: New file.
26967 * elf/tst-initorderb1.c: New file.
26968 * elf/tst-initorderb2.c: New file.
26969 * elf/tst-order-a1.c: New file.
26970 * elf/tst-order-a2.c: New file.
26971 * elf/tst-order-a3.c: New file.
26972 * elf/tst-order-a4.c: New file.
26973 * elf/tst-order-b1.c: New file.
26974 * elf/tst-order-b2.c: New file.
26975 * elf/tst-order-main.c: New file.
26976 New test case by George Gensure <werkt0@gmail.com>.
26977
86e92359
UD
269782010-10-01 Andreas Schwab <schwab@redhat.com>
26979
26980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26981 decoding ACE if AI_CANONIDN.
26982
5d5732b0
UD
269832011-01-18 Ulrich Drepper <drepper@gmail.com>
26984
26985 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26986
a77e8cbc
UD
269872011-01-17 Ulrich Drepper <drepper@gmail.com>
26988
6392473f
UD
26989 * version.h (RELEASE): Bump for 2.13 release.
26990 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26991
620a0529
UD
26992 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26993
18ba70a5
UD
26994 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26995 MADV_NOHUGEPAGE.
32465c3e
UD
26996 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26997 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26998 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26999 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27000 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27001 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27002
c0dafcf1
UD
27003 * posix/getconf.c: Update copyright year.
27004 * catgets/gencat.c: Likewise.
27005 * csu/version.c: Likewise.
27006 * debug/catchsegv.sh: Likewise.
27007 * debug/xtrace.sh: Likewise.
27008 * elf/ldconfig.c: Likewise.
27009 * elf/ldd.bash.in: Likewise.
27010 * elf/sprof.c (print_version): Likewise.
27011 * iconv/iconv_prog.c: Likewise.
27012 * iconv/iconvconfig.c: Likewise.
27013 * locale/programs/locale.c: Likewise.
27014 * locale/programs/localedef.c: Likewise.
27015 * malloc/memusage.sh: Likewise.
27016 * malloc/mtrace.pl: Likewise.
27017 * nscd/nscd.c (print_version): Likewise.
27018 * nss/getent.c: Likewise.
27019
a77e8cbc
UD
27020 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27021 PF_CAIF, and PF_ALG.
27022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27023
77e8bddf
AS
270242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27025
1f20b93a
AS
27026 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27027 (modules-names): Use them.
27028 (ifunc-test-modules, ifunc-pie-tests): Define.
27029 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27030 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27031 (test-extras): Likewise.
27032 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27033 $(compile-command.c).
27034 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27035 (all-built-dso): Define.
27036 (check-textrel.out, check-execstack.out): Depend on it.
27037
77e8bddf
AS
27038 * configure.in: Don't override --enable-multi-arch.
27039
bc425b33
UD
270402011-01-15 Ulrich Drepper <drepper@gmail.com>
27041
27042 [BZ #6812]
27043 * nscd/hstcache.c (tryagain): Define.
27044 (cache_addhst): Return tryagain not notfound for temporary errors.
27045 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27046 failed.
27047
794c3ad3
UD
270482011-01-14 Ulrich Drepper <drepper@gmail.com>
27049
70181fdd
UD
27050 [BZ #10563]
27051 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27052 to make the syscall.
27053 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27054
794c3ad3
UD
27055 [BZ #12378]
27056 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27057 and fall back to matching as normal character if the string ends before
27058 the matching ']' is found. This is what POSIX requires.
27059 * posix/testfnm.c: Adjust test result.
27060 * posix/globtest.sh: Adjust test result. Add new test.
27061 * posix/tst-fnmatch.input: Likewise.
27062 * posix/tst-fnmatch2.c: Add new test.
27063
68dc9497
AS
270642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27065
27066 * elf/Makefile (check-execstack): Revert last change. Depend on
27067 check-execstack.h.
27068 (check-execstack.h): New target.
27069 (generated): Add check-execstack.h.
27070 * elf/check-execstack.c: Include "check-execstack.h".
27071 (main): Revert last change.
27072 (handle_file): Return zero if GNU_STACK is absent and
27073 DEFAULT_STACK_PERMS doesn't include PF_X.
27074
451f001b
UD
270752011-01-13 Ulrich Drepper <drepper@gmail.com>
27076
cfa28e56
UD
27077 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27078 in child fails because the descriptor is already closed.
8cf8ce17
UD
27079 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27080 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27081 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27082
1086d70d
UD
27083 [BZ #12397]
27084 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27085 syscall.
27086
451f001b
UD
27087 [BZ #10484]
27088 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27089 temporary buffer used to handle multi lookups locally.
a85b5cb4 27090 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27091
08769175
UD
270922011-01-12 Ulrich Drepper <drepper@gmail.com>
27093
27094 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27095 loader is ld.so.
27096
5e49c52e
UD
270972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27098
27099 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27100 alignment for SSE2.
27101
60522a5f
UD
271022011-01-12 Ulrich Drepper <drepper@gmail.com>
27103
27104 [BZ #12394]
27105 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27106 characters. When rounding increased number of integer digits recompute
27107 number of groups.
27108 * stdio-common/tst-grouping.c: New file.
27109 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27110
f257bbd7
UD
271112011-01-09 Ulrich Drepper <drepper@gmail.com>
27112
27113 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27114 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27115
27116 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27117 void.
27118 * bits/select.h: Likewise.
27119
fa9c15cb
UD
271202011-01-08 Ulrich Drepper <drepper@gmail.com>
27121
27122 * po/ja.po: Update from translation team.
27123
16c2895f
DM
271242011-01-04 David S. Miller <davem@sunset.davemloft.net>
27125
27126 [BZ #11155]
27127 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27128 implementation just like for lxstat, fxstatat, et al.
27129
2543fef2
JM
271302010-12-27 Jim Meyering <meyering@redhat.com>
27131
27132 [BZ #12348]
27133 * posix/regexec.c (build_trtable): Return failure indication upon
27134 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27135
98727dbe
UD
271362010-12-25 Ulrich Drepper <drepper@gmail.com>
27137
5bd6dc5c
UD
27138 [BZ #12201]
27139 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27140 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27141 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27143
97983464
UD
27144 [BZ #12207]
27145 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27146
98727dbe
UD
27147 [BZ #12204]
27148 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27149 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27150
4a531bb0
L
271512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27152
27153 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27154 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27155 script has SORT_BY_INIT_PRIORITY.
27156 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27157 NO_CTORS_DTORS_SECTIONS is defined.
27158 * elf/soinit.c: Likewise.
27159 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27160 NO_CTORS_DTORS_SECTIONS is defined.
27161 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27162 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27163 * sysdeps/sh/init-first.c: Likewise.
27164 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27165
07eb4b71
UD
271662010-12-24 Ulrich Drepper <drepper@gmail.com>
27167
27168 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27169 always use the slow path.
27170
30950a5f
RA
271712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27172
27173 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27174 similar rule which adds the sysdep directories to the header search in
27175 order to pick up the correct platform stackinfo.h.
27176 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27177 perform test if it is, otherwise return successfully without testing.
27178 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27179 DEFAULT_STACK_PERMS define in stackinfo.h.
27180 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27181 defined in stackinfo.h.
27182 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27183 DEFAULT_STACK_PERMS defined in stackinfo.h.
27184 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27185 * sysdeps/ia64/stackinfo.h: Likewise.
27186 * sysdeps/s390/stackinfo.h: Likewise.
27187 * sysdeps/sh/stackinfo.h: Likewise.
27188 * sysdeps/sparc/stackinfo.h: Likewise.
27189 * sysdeps/x86_64/stackinfo.h: Likewise.
27190 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27191 PF_X for powerpc64. Retain PF_X for powerpc32.
27192
db753e2c
UD
271932010-12-19 Ulrich Drepper <drepper@gmail.com>
27194
14b697f7
UD
27195 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27196 accurately.
db753e2c
UD
27197 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27198 GETDENTS_64BIT_ALIGNED.
27199
28300719
UD
272002010-12-14 Ulrich Drepper <dreper@gmail.com>
27201
14b697f7 27202 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27203
4f197237
AS
272042010-12-10 Andreas Schwab <schwab@redhat.com>
27205
dbb0472f
AS
27206 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27207 _GNU_SOURCE.
27208
4f197237
AS
27209 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27210 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27211 Remove __restrict.
27212 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27213 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27214
fb88ac72
UD
272152010-12-09 Ulrich Drepper <drepper@gmail.com>
27216
27217 [BZ #11655]
27218 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27219 are initialized.
27220
42acbb92
JJ
272212010-12-09 Jakub Jelinek <jakub@redhat.com>
27222
27223 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27224
c038d98d
UD
272252010-12-03 Ulrich Drepper <drepper@gmail.com>
27226
27227 * po/it.po: Update from translation team.
27228
3a4a2499
L
272292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27230
27231 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27232 unused codes.
27233
1e24cf6e
UD
272342010-11-30 Ulrich Drepper <drepper@gmail.com>
27235
27236 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27237
a7690819
AS
272382010-11-24 Andreas Schwab <schwab@redhat.com>
27239
27240 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27241 specially.
27242 (gaih_getanswer_slice): Likewise.
27243
3bf8d1b1
JJ
272442010-10-20 Jakub Jelinek <jakub@redhat.com>
27245
27246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27247
6db52fbb
PB
272482010-05-31 Petr Baudis <pasky@suse.cz>
27249
27250 [BZ #11149]
27251 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27252 silently even in the chroot mode.
27253
eaca7569
UD
272542010-11-22 Ulrich Drepper <drepper@gmail.com>
27255
27256 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27257 last patch a bit. Pretty printing
27258
3056dcdb
UD
272592010-05-31 Petr Baudis <pasky@suse.cz>
27260
27261 [BZ #10085]
27262 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27263 initialization of skip_initgroups_dyn.
27264
cf7c9078
UD
272652010-11-19 Ulrich Drepper <drepper@gmail.com>
27266
27267 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27269
a1fb5e3e
UD
272702010-11-16 Ulrich Drepper <drepper@gmail.com>
27271
27272 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27273
3540d66b
AS
272742010-11-11 Andreas Schwab <schwab@redhat.com>
27275
27276 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27277 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27278 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27279 ($(objpfx)tst-fnmatch-mem): New rule.
27280 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27281 * posix/tst-fnmatch.c (main): Call mtrace.
27282
13b69574
L
272832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27284
27285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27286 Support Intel processor model 6 and model 0x2c.
27287
da93d214
LM
272882010-11-10 Luis Machado <luisgpm@br.ibm.com>
27289
27290 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27291 signed comparison.
27292
8ca52c6e
L
272932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27294
27295 [BZ #12205]
27296 * string/test-strncasecmp.c (check_result): New function.
27297 (do_one_test): Use it.
27298 (check1): New function.
27299 (test_main): Use it.
27300 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27301 Support strcasecmp and strncasecmp.
27302
69da074d
UD
273032010-11-08 Ulrich Drepper <drepper@gmail.com>
27304
27305 [BZ #12194]
27306 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27307 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27308
ff02d528
L
273092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27310
27311 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27312 IFUNC support.
27313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27314 memset-x86-64.
27315 * sysdeps/x86_64/multiarch/bzero.S: New file.
27316 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27317 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27318 * sysdeps/x86_64/multiarch/memset.S: New file.
27319 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27321 Set bit_Prefer_SSE_for_memop for Intel processors.
27322 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27323 Define.
27324 (index_Prefer_SSE_for_memop): Define.
27325 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27326
344d0b54
LM
273272010-11-04 Luis Machado <luisgpm@br.ibm.com>
27328
27329 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27330 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27331
c0dde15b
UD
273322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27333
27334 [BZ #12191]
27335 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27336 (__x86_64_raw_data_cache_size_half): Likewise.
27337 (__x86_64_raw_shared_cache_size): Likewise.
27338 (__x86_64_raw_shared_cache_size_half): Likewise.
27339
27340 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27341 (__x86_64_raw_data_cache_size_half): Likewise.
27342 (__x86_64_raw_shared_cache_size): Likewise.
27343 (__x86_64_raw_shared_cache_size_half): Likewise.
27344 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27345 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27346 and __x86_64_raw_shared_cache_size_half. Round
27347 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27348 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27349 to multiple of 256 bytes.
27350
0e516e0e
MS
273512010-11-03 Ulrich Drepper <drepper@gmail.com>
27352
27353 [BZ #12167]
27354 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27355 of inacessible symlinks. Verify result of symlink before returning it.
27356 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27357 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27358
0e012e87
ER
273592010-10-28 Erich Ritz <erichritz@gmail.com>
27360
27361 * math/math.h (isinf): Fix typo in comment.
27362
de0ff7bc
UD
273632010-11-01 Ulrich Drepper <drepper@gmail.com>
27364
27365 * po/da.po: Update from translation team.
27366
fa41c84d
UD
273672010-10-26 Ulrich Drepper <drepper@gmail.com>
27368
27369 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27370 is added to the list.
27371
f0967738
AK
273722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27373 Ulrich Drepper <drepper@gmail.com>
27374
27375 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27376 the global list here. Move code to...
27377 (_dl_add_to_namespace_list): ...here. New function.
27378 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27379 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27380 * elf/dl-load.c (lose): Don't remove the element from the list.
27381 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27382 (_dl_map_object): Likewise.
27383
273842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27385
27386 [BZ #12159]
27387 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27388 into all bytes of SSE register.
27389 Patch by Richard Li <richardpku@gmail.com>.
27390
f0967738 273912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27392
27393 [BZ #12140]
27394 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27395 perturbing.
27396
d0b9e94f
MB
273972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27398
27399 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27400 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27401 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27402 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27404 submachine.
27405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27406
8e9f92e9
AS
274072010-10-22 Andreas Schwab <schwab@redhat.com>
27408
27409 * include/dlfcn.h (__RTLD_SECURE): Define.
27410 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27411 mode & __RTLD_SECURE instead.
27412 (open_path): Rename preloaded parameter to secure.
27413 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27414 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27415 * elf/dl-deps.c (openaux): Likewise.
27416 * elf/rtld.c (struct map_args): Remove is_preloaded.
27417 (map_doit): Don't use it.
27418 (dl_main): Likewise.
27419 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27420 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27421
bc96fbda
AS
274222010-09-09 Andreas Schwab <schwab@redhat.com>
27423
27424 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27425 (sysd-rules-targets): Remove duplicates.
27426 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27427 rtld-%.$o dependency.
27428
22cd1c9b
AS
274292010-10-18 Andreas Schwab <schwab@redhat.com>
27430
27431 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27432 _dl_map_object do it.
27433
18edac48
UD
274342010-10-19 Ulrich Drepper <drepper@gmail.com>
27435
27436 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27437 fast fma builtins, define the macros in the C99 standard.
27438 (FP_FAST_FMAF): Likewise.
27439 (FP_FAST_FMAL): Likewise.
27440 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27441
27442 * bits/mathdef.h: Update copyright year.
27443 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27444
d2050124
MM
274452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27446
27447 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27448 builtins, define the macros in the C99 standard.
27449 (FP_FAST_FMAF): Likewise.
27450 (FP_FAST_FMAL): Likewise.
27451 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27452 multiply/add.
27453 (FP_FAST_FMAF): Likewise.
27454
475facd1
JJ
274552010-10-15 Jakub Jelinek <jakub@redhat.com>
27456
27457 [BZ #3268]
27458 * math/libm-test.inc (fma_test): Some new testcases.
27459 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27460 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27461 y and infinite z. Do multiplication by C already in long double.
27462 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27464 y and infinite z. Do bitwise or of inexact bit into u.d.
27465 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27466 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27467 * sysdeps/i386/fpu/s_fma.S: Removed.
27468 * sysdeps/i386/fpu/s_fmal.S: Removed.
27469
7c08a05c
JJ
274702010-10-16 Jakub Jelinek <jakub@redhat.com>
27471
27472 [BZ #3268]
27473 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27475 computation is not scheduled after fetestexcept. Fix value
27476 of minimum denormal long double.
27477
f3f7372d
JJ
274782010-10-14 Jakub Jelinek <jakub@redhat.com>
27479
27480 [BZ #3268]
27481 * math/libm-test.inc (fma_test): Add some more tests.
27482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27483 correctly.
27484
14d43591
AS
274852010-10-15 Andreas Schwab <schwab@redhat.com>
27486
27487 * scripts/data/localplt-s390-linux-gnu.data: New file.
27488 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27489
5e908464
JJ
274902010-10-13 Jakub Jelinek <jakub@redhat.com>
27491
27492 [BZ #3268]
27493 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27494 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27495 instead of dbl-64.
27496 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27497 inlines.
27498 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27500 if one of x and y is very large and the other is subnormal.
27501 * sysdeps/s390/fpu/s_fmaf.c: New file.
27502 * sysdeps/s390/fpu/s_fma.c: New file.
27503 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27504 * sysdeps/powerpc/fpu/s_fma.S: New file.
27505 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27506 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27507 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27508
275092010-10-12 Jakub Jelinek <jakub@redhat.com>
27510
27511 [BZ #3268]
27512 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27513 fma tests.
27514 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27515 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27516 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27517 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27518 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27519 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27521
b833d51f
UD
275222010-10-12 Ulrich Drepper <drepper@redhat.com>
27523
27524 [BZ #12078]
27525 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27526 * posix/bug-regex31.input: Add test case.
27527
1751705d
UD
275282010-10-11 Ulrich Drepper <drepper@gmail.com>
27529
e9b9cbf5
UD
27530 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27531 * posix/bug-regex31.input: New file.
27532
27533 [BZ #12078]
27534 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27535 (parse_sub_exp): Fix last change, use postorder.
27536
ef06edbe
UD
27537 * posix/bug-regex31.c: New file.
27538 * posix/Makefile: Add rules to build and run bug-regex31.
27539
a129c80d
UD
27540 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27541
27542 [BZ #12078]
27543 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27544
b76b818e
UD
27545 [BZ #12108]
27546 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27547 to have entries in sys_siglist.
27548
1751705d
UD
27549 [BZ #12093]
27550 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27551 be NULL.
27552
9ff8d36f
JJ
275532010-10-07 Jakub Jelinek <jakub@redhat.com>
27554
27555 [BZ #3268]
27556 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27557 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27558 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27559 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27560 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27561 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27562 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27563 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27564 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27565 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27566 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27567 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27568 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27569 * math/ftestexcept.c (fetestexcept): Likewise.
27570 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27571 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27572 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27573 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27574 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27575 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27576 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27577
af325969
UD
275782010-10-11 Ulrich Drepper <drepper@gmail.com>
27579
c579b202 27580 [BZ #12107]
af325969
UD
27581 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27582 newline.
27583
67a67b95
UD
275842010-10-06 Ulrich Drepper <drepper@gmail.com>
27585
27586 * string/bug-strstr1.c: New file.
27587 * string/Makefile: Add rules to build and run bug-strstr1.
27588
5fb308bc
EB
275892010-10-05 Eric Blake <eblake@redhat.com>
27590
27591 [BZ #12092]
27592 * string/str-two-way.h (two_way_long_needle): Always clear memory
27593 when skipping input due to the shift table.
27594
45db99c7
UD
275952010-10-03 Ulrich Drepper <drepper@gmail.com>
27596
3b111893
UD
27597 [BZ #12005]
27598 * malloc/mcheck.c: Handle large requests.
27599
45db99c7
UD
27600 [BZ #12077]
27601 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27602 for strncmp and strncasecmp.
27603 * string/stratcliff.c: Add tests for strcmp and strncmp.
27604 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27605
cf7a1eb8
NI
276062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27607
27608 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27609 __set_fpscr.
27610
6484ba5e
AJ
276112010-09-30 Andreas Jaeger <aj@suse.de>
27612
27613 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27614 (CGROUP_SUPER_MAGIC): Define.
27615 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27616 Handle btrfs and cgroup file systems.
27617 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27618 Likewise.
27619
91c42559
LM
276202010-09-27 Luis Machado <luisgpm@br.ibm.com>
27621
27622 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27623 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27624
87a97932
AK
276252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27626
27627 [BZ #12067]
27628 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27629 trying to locate the ELF header.
27630
c21cc9bc
AS
276312010-09-27 Andreas Schwab <schwab@redhat.com>
27632
27633 [BZ #11611]
27634 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27635 Mask out sign-bit copies when constructing f_fsid.
27636
315970f6
PB
276372010-09-24 Petr Baudis <pasky@suse.cz>
27638
27639 * debug/stack_chk_fail_local.c: Add missing licence exception.
27640 * debug/warning-nop.c: Likewise.
27641
1ac7a2c7
JM
276422010-09-15 Joseph Myers <joseph@codesourcery.com>
27643
27644 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27645 implementing getdents64 using getdents syscall, set d_type if
27646 __ASSUME_GETDENTS32_D_TYPE.
27647
56801c50
AS
276482010-09-16 Andreas Schwab <schwab@redhat.com>
27649
27650 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27651 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27652
dda51327
UD
276532010-09-21 Ulrich Drepper <drepper@redhat.com>
27654
27655 [BZ #12037]
27656 * posix/unistd.h: Undo change of feature selection for ftruncate from
27657 2010-01-11.
27658
8ffcee4a
UD
276592010-09-20 Ulrich Drepper <drepper@redhat.com>
27660
a545ecd9 27661 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27662 detection.
27663
e24f0a8b
AS
276642010-09-20 Andreas Schwab <schwab@redhat.com>
27665
27666 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27667 fanotify_mark.
27668 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27669
7291c56f
AS
276702010-09-14 Andreas Schwab <schwab@redhat.com>
27671
27672 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27673 variables after CHECK_SP call.
27674 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27675
bc5fb037
AS
276762010-09-13 Andreas Schwab <schwab@redhat.com>
27677 Ulrich Drepper <drepper@redhat.com>
27678
27679 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27680 re-relocationg ld.so.
27681 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27682 _dl_init_paths call.
27683 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27684 here anymore.
27685
e66e7419
UD
276862010-09-14 Ulrich Drepper <drepper@redhat.com>
27687
27688 * resolv/res_init.c (__res_vinit): Count the default server we added.
27689
c044aa75
CLT
276902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27691 Ulrich Drepper <drepper@redhat.com>
27692
27693 [BZ #11968]
27694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27695 (____longjmp_chk): Use %ebx for saving value across system call.
27696 Add unwind info.
27697
32cf4069
AS
276982010-09-06 Andreas Schwab <schwab@redhat.com>
27699
27700 * manual/Makefile: Don't mix pattern rules with normal rules.
27701
817328ee
AS
277022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27703
27704 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27705 operation.
27706 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27707 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27708 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27709 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27710 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27711 Likewise.
27712
29fddf61
UD
277132010-09-04 Ulrich Drepper <drepper@redhat.com>
27714
27715 [BZ #11979]
27716 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27717 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27718
0959ffc9
UD
277192010-09-02 Ulrich Drepper <drepper@redhat.com>
27720
27721 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27722 * sysdeps/x86_64/addmul_1.S: Likewise.
27723 * sysdeps/x86_64/lshift.S: Likewise.
27724 * sysdeps/x86_64/mul_1.S: Likewise.
27725 * sysdeps/x86_64/rshift.S: Likewise.
27726 * sysdeps/x86_64/sub_n.S: Likewise.
27727 * sysdeps/x86_64/submul_1.S: Likewise.
27728
ece29840
ST
277292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27730
0959ffc9
UD
27731 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27732 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27733 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27734 * bits/sched.h [__need_schedparam]
ece29840 27735 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27736 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27737 (__defined_schedparam): Define to 1.
ece29840
ST
27738 (__sched_param): New structure, identical to sched_param.
27739 (__need_schedparam): Undefine.
27740
e53a31fe
MF
277412010-08-31 Mike Frysinger <vapier@gentoo.org>
27742
fdc0c10d
MF
27743 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27744 (epoll_create1): Declare.
27745
e53a31fe
MF
27746 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27747
a726d796
AS
277482010-08-31 Andreas Schwab <schwab@redhat.com>
27749
27750 [BZ #7066]
27751 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27752 shifting retval into place.
27753
2f3e3dc7
UD
277542010-09-01 Ulrich Drepper <drepper@redhat.com>
27755
f2933da9
UD
27756 * nis/rpcsvc/nis.h: Update copyright notice.
27757 * nis/rpcsvc/nis.x: Likewise.
27758 * nis/rpcsvc/nis_callback.h: Likewise.
27759 * nis/rpcsvc/nis_callback.x: Likewise.
27760 * nis/rpcsvc/nis_object.x: Likewise.
27761 * nis/rpcsvc/nis_tags.h: Likewise.
27762 * nis/rpcsvc/yp.h: Likewise.
27763 * nis/rpcsvc/yp.x: Likewise.
27764 * nis/rpcsvc/ypupd.h: Likewise.
27765 * nis/yp_xdr.c: Likewise.
27766 * nis/ypupdate_xdr.c: Likewise.
27767
2f3e3dc7
UD
27768 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27769 mainly the body of pmap_getport. Add parameters to specify timeouts.
27770 (pmap_getport): Use __libc_rpc_getport.
27771 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27772 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27773 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27774
f3dcc2f9
AS
277752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27776
27777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27778 fanotify_mark.
27779
6d34eb5b
RM
277802010-08-27 Roland McGrath <roland@redhat.com>
27781
27782 * sysdeps/i386/i686/multiarch/Makefile
27783 (CFLAGS-varshift.c): New variable.
27784
9ea3de11
UD
277852010-08-27 Ulrich Drepper <drepper@redhat.com>
27786
c96d23fc
UD
27787 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27788 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27789
9ea3de11
UD
27790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27791
27792 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27793
623aac7f
L
277942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27795
27796 * sysdeps/x86_64/strlen.S: Unroll the loop.
27797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27798 strlen-sse2 strlen-sse2-bsf.
27799 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27800 __strlen_no_bsf if bit_Slow_BSF is set.
27801 (__strlen_sse42): Removed.
27802 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27803 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27804
8b2b7715
RM
278052010-08-25 Roland McGrath <roland@redhat.com>
27806
27807 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27808 * sysdeps/x86_64/multiarch/varshift.c: New file.
27809 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27810 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27811 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27812 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27813
e73015f2
L
278142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27815
27816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27817 strlen-sse2 strlen-sse2-bsf.
27818 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27819 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27820 (__strlen_sse2): Removed.
27821 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27822 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27824 bit_Slow_BSF for Atom.
27825 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27826 (index_Slow_BSF): Define.
27827 (HAS_SLOW_BSF): Define.
27828
df24a73e
UD
278292010-08-25 Ulrich Drepper <drepper@redhat.com>
27830
27831 [BZ #10851]
27832 * resolv/res_init.c (__res_vinit): When no server address at all
27833 is given default to loopback.
27834
f2ac4868
RM
278352010-08-24 Roland McGrath <roland@redhat.com>
27836
09055553
RM
27837 * configure.in: Remove config-name.h generation.
27838 * configure: Regenerated.
27839 * config-name.in: File removed.
27840 * scripts/config-uname.sh: New file.
27841 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27842 ($(objdir)config-name.h): New target.
27843
f2ac4868
RM
27844 * sunrpc/rpc_parse.h: Avoid nested comment.
27845
73f27d5e
RH
278462010-08-24 Richard Henderson <rth@redhat.com>
27847 Ulrich Drepper <drepper@redhat.com>
27848 H.J. Lu <hongjiu.lu@intel.com>
27849
27850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27852 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27853 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27854 _mm_alignr_epi8 with _mm_loadu_si128.
27855 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27856 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27857 (__m128i_shift_right): Removed.
27858 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27859 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27860 * sysdeps/x86_64/multiarch/varshift.h: New file.
27861 * sysdeps/x86_64/multiarch/varshift.S: New file.
27862
84b9230c
MF
278632010-08-21 Mike Frysinger <vapier@gentoo.org>
27864
27865 * configure.in: Move assembler checks to before sysdep dir checking.
27866
9bbd0ddc
PB
278672010-08-20 Petr Baudis <pasky@suse.cz>
27868
27869 * LICENSES: Sync the sunrpc license.
27870
9da4bb31
UD
278712010-08-19 Ulrich Drepper <drepper@redhat.com>
27872
a7ab6ec8
UD
27873 * sunrpc/auth_des.c: Update copyright notice once again.
27874 * sunrpc/auth_none.c: Likewise.
27875 * sunrpc/auth_unix.c: Likewise.
27876 * sunrpc/authdes_prot.c: Likewise.
27877 * sunrpc/authuxprot.c: Likewise.
27878 * sunrpc/bindrsvprt.c: Likewise.
27879 * sunrpc/clnt_gen.c: Likewise.
27880 * sunrpc/clnt_perr.c: Likewise.
27881 * sunrpc/clnt_raw.c: Likewise.
27882 * sunrpc/clnt_simp.c: Likewise.
27883 * sunrpc/clnt_tcp.c: Likewise.
27884 * sunrpc/clnt_udp.c: Likewise.
27885 * sunrpc/clnt_unix.c: Likewise.
27886 * sunrpc/des_crypt.c: Likewise.
27887 * sunrpc/des_soft.c: Likewise.
27888 * sunrpc/get_myaddr.c: Likewise.
27889 * sunrpc/getrpcport.c: Likewise.
27890 * sunrpc/key_call.c: Likewise.
27891 * sunrpc/key_prot.c: Likewise.
27892 * sunrpc/openchild.c: Likewise.
27893 * sunrpc/pm_getmaps.c: Likewise.
27894 * sunrpc/pm_getport.c: Likewise.
27895 * sunrpc/pmap_clnt.c: Likewise.
27896 * sunrpc/pmap_prot.c: Likewise.
27897 * sunrpc/pmap_prot2.c: Likewise.
27898 * sunrpc/pmap_rmt.c: Likewise.
27899 * sunrpc/rpc/auth.h: Likewise.
27900 * sunrpc/rpc/auth_unix.h: Likewise.
27901 * sunrpc/rpc/clnt.h: Likewise.
27902 * sunrpc/rpc/des_crypt.h: Likewise.
27903 * sunrpc/rpc/key_prot.h: Likewise.
27904 * sunrpc/rpc/netdb.h: Likewise.
27905 * sunrpc/rpc/pmap_clnt.h: Likewise.
27906 * sunrpc/rpc/pmap_prot.h: Likewise.
27907 * sunrpc/rpc/pmap_rmt.h: Likewise.
27908 * sunrpc/rpc/rpc.h: Likewise.
27909 * sunrpc/rpc/rpc_des.h: Likewise.
27910 * sunrpc/rpc/rpc_msg.h: Likewise.
27911 * sunrpc/rpc/svc.h: Likewise.
27912 * sunrpc/rpc/svc_auth.h: Likewise.
27913 * sunrpc/rpc/types.h: Likewise.
27914 * sunrpc/rpc/xdr.h: Likewise.
27915 * sunrpc/rpc_clntout.c: Likewise.
27916 * sunrpc/rpc_cmsg.c: Likewise.
27917 * sunrpc/rpc_common.c: Likewise.
27918 * sunrpc/rpc_cout.c: Likewise.
27919 * sunrpc/rpc_dtable.c: Likewise.
27920 * sunrpc/rpc_hout.c: Likewise.
27921 * sunrpc/rpc_main.c: Likewise.
27922 * sunrpc/rpc_parse.c: Likewise.
27923 * sunrpc/rpc_parse.h: Likewise.
27924 * sunrpc/rpc_prot.c: Likewise.
27925 * sunrpc/rpc_sample.c: Likewise.
27926 * sunrpc/rpc_scan.c: Likewise.
27927 * sunrpc/rpc_scan.h: Likewise.
27928 * sunrpc/rpc_svcout.c: Likewise.
27929 * sunrpc/rpc_tblout.c: Likewise.
27930 * sunrpc/rpc_util.c: Likewise.
27931 * sunrpc/rpc_util.h: Likewise.
27932 * sunrpc/rpcinfo.c: Likewise.
27933 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27934 * sunrpc/rpcsvc/key_prot.x: Likewise.
27935 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27936 * sunrpc/rpcsvc/mount.x: Likewise.
27937 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27938 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27939 * sunrpc/rpcsvc/rex.x: Likewise.
27940 * sunrpc/rpcsvc/rstat.x: Likewise.
27941 * sunrpc/rpcsvc/rusers.x: Likewise.
27942 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27943 * sunrpc/rpcsvc/spray.x: Likewise.
27944 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27945 * sunrpc/rtime.c: Likewise.
27946 * sunrpc/svc.c: Likewise.
27947 * sunrpc/svc_auth.c: Likewise.
27948 * sunrpc/svc_authux.c: Likewise.
27949 * sunrpc/svc_raw.c: Likewise.
27950 * sunrpc/svc_run.c: Likewise.
27951 * sunrpc/svc_simple.c: Likewise.
27952 * sunrpc/svc_tcp.c: Likewise.
27953 * sunrpc/svc_udp.c: Likewise.
27954 * sunrpc/svc_unix.c: Likewise.
27955 * sunrpc/svcauth_des.c: Likewise.
27956 * sunrpc/xcrypt.c: Likewise.
27957 * sunrpc/xdr.c: Likewise.
27958 * sunrpc/xdr_array.c: Likewise.
27959 * sunrpc/xdr_float.c: Likewise.
27960 * sunrpc/xdr_mem.c: Likewise.
27961 * sunrpc/xdr_rec.c: Likewise.
27962 * sunrpc/xdr_ref.c: Likewise.
27963 * sunrpc/xdr_sizeof.c: Likewise.
27964 * sunrpc/xdr_stdio.c: Likewise.
27965
9da4bb31
UD
27966 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27967 handling.
27968
bdaa77bc
AS
279692010-08-19 Andreas Schwab <schwab@redhat.com>
27970
27971 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27972
fe2f79db
LM
279732010-08-19 Luis Machado <luisgpm@br.ibm.com>
27974
27975 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27976 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27977 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27978 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27979 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27980 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27981 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27982 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27984 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27985 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27986 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27987 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27988 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27989
b9b42ee0
AB
279902010-07-26 Anton Blanchard <anton@samba.org>
27991
27992 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27993 * malloc/arena.c (heap_trim): Likewise.
27994
1c06ba31
UD
279952010-08-16 Ulrich Drepper <drepper@redhat.com>
27996
27997 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27998 here. Not...
27999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28000 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28001
f8392f40
L
280022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28003
28004 * sysdeps/i386/elf/Makefile: New file.
28005
3162f12e
AS
280062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28007
28008 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28009 from fanotify_init.
28010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28011 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28012
28c90b2c
UD
280132010-08-15 Ulrich Drepper <drepper@redhat.com>
28014
28015 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28016 of strncasecmp_l.
1feccb6c 28017 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28018
ca6bb004
UD
280192010-08-14 Ulrich Drepper <drepper@redhat.com>
28020
e9f82e0d
UD
28021 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28022 strncase_l-nonascii.
28023 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28024 Add strncase_l-ssse3.
28025 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28026 * sysdeps/x86_64/strcmp.S: Likewise.
28027 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28028 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28029 * sysdeps/x86_64/strncase.S: New file.
28030 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28031 * sysdeps/x86_64/strncase_l.S: New file.
28032 * string/Makefile (strop-tests): Add strncasecmp.
28033 * string/test-strncasecmp.c: New file.
28034
28035 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28036 warning.
28037
ca6bb004
UD
28038 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28039 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28040
052fa7b3
AS
280412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28042
28043 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28044
962dba78
UD
280452010-08-12 Ulrich Drepper <drepper@redhat.com>
28046
28047 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28048 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28049 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28050
bebff237
AM
280512010-05-01 Alan Modra <amodra@gmail.com>
28052
28053 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28054 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28055 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28056 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28057 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28058 tidying. Don't tail-call __sigjmp_save for static lib.
28059 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28060 save location.
28061 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28062 (CALL_MCOUNT): Add eh info, and nop after bl.
28063 (TAIL_CALL_SYSCALL_ERROR): New macro.
28064 (PSEUDO_RET): Use it.
28065 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28066 Correct save location of integer regs and cr.
28067 (_dl_profile_resolve): Correct cr save location. Delete nops
28068 after bl when SHARED. Reduce cfi size a little by better
28069 placement of cfi directives.
28070 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28071 make a stack frame. Instead use parm save area as a temp.
28072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28073 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28075 Don't make a stack frame for parent, use parm save area.
28076 Increase child stack frame to 112 bytes. Don't save unused reg,
28077 and adjust reg usage. Set up cfi on error recovery and
28078 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28080 (__makecontext): Add dummy nop after jump to exit.
28081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28082 Use correct parm save area and cr save, reduce stack frame.
28083 Correct cfi for possible PSEUDO_RET frame setup.
28084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28085 Branch to local label emitted by PSEUDO_RET rather than
28086 __syscall_error.
28087
02637374
AS
280882010-08-12 Andreas Schwab <schwab@redhat.com>
28089
28090 [BZ #11904]
28091 * locale/programs/locale.c (print_assignment): New function.
28092 (show_locale_vars): Use it.
28093
c3e2f19b
UD
280942010-08-11 Ulrich Drepper <drepper@redhat.com>
28095
3cdaa6ad
UD
28096 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28097 field.
28098 (struct statfs64): Likewise.
28099 (_STATFS_F_FLAGS): Define.
28100 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28101 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28102 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28103 (ST_VALID): Define locally.
28104 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28105 __statvfs_getflags, use the provided value.
28106 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28107 __ASSUME_STATFS_F_FLAGS.
28108
754f7da3
UD
28109 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28110
10b3bedc
UD
28111 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28112 Add sys/fanotify.h.
28113 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28114 fanotify_mask for GLIBC_2.13.
28115 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28116 fanotify_init and fanotify_mark.
28117 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28118 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28119
c08fb0d7
UD
28120 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28121 Add prlimit.
28122 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28123 prlimit64 for GLIBC_2.13.
28124 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28125 prlimit64.
28126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28127 syscall.
28128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28129 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28130 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28131 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28132 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28133 add prlimit alias.
28134 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28135
15bac72b
UD
28136 [BZ #11903]
28137 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28138 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28139
c3e2f19b
UD
28140 * nss/Makefile: Add rules to build and run tst-nss-test1.
28141 * shlib-versions: Add entry for libnss_test1.
28142 * nss/nss_test1.c: New file.
28143 * nss/tst-nss-test1.c: New file.
28144
28145 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28146 (__nss_configure_lookup): Set appropriate entry in
28147 __nss_configure_lookup to true.
28148 * nss/nsswitch.h: Define enum with indeces of databases in
28149 databases and __nss_database_custom arrays. Declare
28150 __nss_database_custom.
28151 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28152 to avoid using nscd when custom rules are installed.
28153 * nss/getXXbyYY_r.c: Likewise.
28154 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28155
28156 * nss/nss_files/files-parse.c: Whitespace fixes.
28157
f15ce4d8
UD
281582010-08-09 Ulrich Drepper <drepper@redhat.com>
28159
28160 [BZ #11883]
28161 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28162 * posix/fnmatch_loop.c: Likewise.
28163
d22e4cc9
AK
281642010-07-17 Andi Kleen <ak@linux.intel.com>
28165
28166 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28167 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28168 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28169 * Versions.def [GLIBC_2.13]: Add.
28170
805bc17d
UD
281712010-08-06 Ulrich Drepper <drepper@redhat.com>
28172
28173 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28174 Also fail if tpwd after pwuid call is NULL.
28175
5a42321d
ST
281762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28177
28178 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28179 when converting to ms.
28180
fd3ebeda
ST
281812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28182
28183 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28184 EOPNOTSUPP errors with ENOTTY.
28185 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28186 EOPNOTSUPP errors with ENOTTY.
28187
73507d3a
UD
281882010-07-31 Ulrich Drepper <drepper@redhat.com>
28189
28190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28191 Add strcasecmp_l-ssse3.
28192 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28193 strcasecmp.
28194 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28195 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28196 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28197
fe36dd02
UD
281982010-07-30 Ulrich Drepper <drepper@redhat.com>
28199
66f6765a
UD
28200 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28201
42e08a54
UD
28202 * string/Makefile (strop-tests): Add strcasecmp.
28203 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28204 strcasecmp_l-nonascii.
28205 (gen-as-const-headers): Add locale-defines.sym.
28206 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28207 * sysdeps/x86_64/strcasecmp.S: New file.
28208 * sysdeps/x86_64/strcasecmp_l.S: New file.
28209 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28210 * sysdeps/x86_64/locale-defines.sym: New file.
28211 * string/test-strcasecmp.c: New file.
28212
fe36dd02
UD
28213 * string/test-strcasestr.c: Test both ends of the range of characters.
28214 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28215
48cbc0d6
RM
282162010-07-29 Roland McGrath <roland@redhat.com>
28217
76e6d6bc 28218 [BZ #11856]
48cbc0d6
RM
28219 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28220
880113d9
UD
282212010-07-27 Ulrich Drepper <drepper@redhat.com>
28222
28223 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28224 for ld.so.
28225
deb9cabb
AS
282262010-07-27 Andreas Schwab <schwab@redhat.com>
28227
28228 * manual/memory.texi (Malloc Tunable Parameters): Document
28229 M_PERTURB.
28230
1c7570ff
RM
282312010-07-26 Roland McGrath <roland@redhat.com>
28232
28233 [BZ #11840]
28234 * configure.in (-fgnu89-inline check): Set and substitute
28235 gnu89_inline, not libc_cv_gnu89_inline.
28236 * configure: Regenerated.
28237 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28238
24fb0f88
UD
282392010-07-26 Ulrich Drepper <drepper@redhat.com>
28240
28241 * string/test-strnlen.c: New file.
28242 * string/Makefile (strop-tests): Add strnlen.
28243 * string/tester.c (test_strnlen): Add a few more test cases.
28244 * string/tst-strlen.c: Better error reporting.
28245
28246 * sysdeps/x86_64/strnlen.S: New file.
28247
8e96b93a
UD
282482010-07-24 Ulrich Drepper <drepper@redhat.com>
28249
28250 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28251 lower-latency instructions.
28252
dbc676d4
UD
282532010-07-23 Ulrich Drepper <drepper@redhat.com>
28254
28255 * string/test-strcasestr.c: New file.
28256 * string/test-strstr.c: New file.
28257 * string/Makefile (strop-tests): Add strstr and strcasestr.
28258 * string/str-two-way.h: Don't undefine MAX.
28259 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28260
f6a31e0e
AS
282612010-07-21 Andreas Schwab <schwab@redhat.com>
28262
28263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28264 strcasestr-nonascii.
28265 (CFLAGS-strcasestr-nonascii.c): Define.
28266 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28267 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28268 Remove unused attribute.
28269
5dbc3b6c
RM
282702010-07-20 Roland McGrath <roland@redhat.com>
28271
28272 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28273 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28274 ld.so.cache was broken. With it, there is no way to disable dsocaps
28275 like LD_HWCAP_MASK can disable hwcaps.
28276
23d101d8
EPM
282772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28278
28279 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28280
cc9f2e47
UD
282812010-07-16 Ulrich Drepper <drepper@redhat.com>
28282
28283 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28284 call in strcasestr.
28285 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28286 __strcasestr_sse42_nonascii.
28287 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28288 strcasestr-nonascii.c.
28289 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28290
77c1b069
LM
282912010-06-15 Luis Machado <luisgpm@br.ibm.com>
28292
28293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28294 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28295 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28296 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28297
440566c3
UD
282982010-07-09 Ulrich Drepper <drepper@redhat.com>
28299
28300 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28301 fcntl.
28302
5be9d05d
AS
283032010-07-06 Andreas Schwab <schwab@redhat.com>
28304
c30b7ee2 28305 [BZ #11577]
5be9d05d
AS
28306 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28307 dl_signal_cerror.
28308
8a492a67
UD
283092010-07-06 Ulrich Drepper <drepper@redhat.com>
28310
28311 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28312 _PC_PIPE_BUF using F_GETPIPE_SZ.
28313
713df3d5
RM
283142010-07-05 Roland McGrath <roland@redhat.com>
28315
28316 * manual/arith.texi (Rounding Functions): Fix rint description
28317 implicit in round description.
28318
702e8f14
UD
283192010-07-02 Ulrich Drepper <drepper@redhat.com>
28320
28321 * elf/Makefile: Fix linking for a few tests to make recent linker
28322 happy.
28323
52ed8be9
AS
283242010-06-30 Andreas Schwab <schwab@redhat.com>
28325
28326 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28327 $(common-objpfx)libc_nonshared.a.
28328
f47c9a11
LM
283292010-06-21 Luis Machado <luisgpm@br.ibm.com>
28330
28331 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28332 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28333 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28334 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28335 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28336 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28337 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28338 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28353 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28354 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28355 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28356 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28357 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28358 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28359 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28360 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28361 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28362 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28363 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28364 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28379
6fb8cbcb
L
283802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28381
28382 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28383 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28384 * string/memmove.c (memmove): Renamed to ...
28385 (MEMMOVE): ...this. Default to memmove.
28386 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28387 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28388 (END_CHK): Define.
28389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28390 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28391 mempcpy-ssse3-back memmove-ssse3-back.
28392 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28395 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28396 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28397 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28398 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28399 * sysdeps/x86_64/multiarch/memmove.c: New file.
28400 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28401 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28402 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28403 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28404 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28406 Define.
28407 (index_Fast_Copy_Backward): Define.
28408 (HAS_ARCH_FEATURE): Define.
28409 (HAS_FAST_REP_STRING): Define.
28410 (HAS_FAST_COPY_BACKWARD): Define.
28411
4e733bac 284122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28413
28414 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28415 Restore proper fallback handling.
28416
63c4ed22
UD
284172010-06-19 Ulrich Drepper <drepper@redhat.com>
28418
ac2b484c
UD
28419 [BZ #11701]
28420 * posix/group_member.c (__group_member): Correct checking loop.
28421
63c4ed22
UD
28422 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28423 OOM in getpwuid_r correctly. Return error number when the caller
28424 should return, otherwise -1.
28425 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28426 call returning > 0 value.
28427 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28428
765ade4b
AS
284292010-06-07 Andreas Schwab <schwab@redhat.com>
28430
28431 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28432 libc_nonshared.a from targets in modules-names.
28433
80da2e09
KS
284342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28435
28436 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28437 requires it.
28438
158db122
LM
284392010-06-10 Luis Machado <luisgpm@br.ibm.com>
28440
28441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28442 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28445
caa78cf8
AS
284462010-06-02 Andreas Schwab <schwab@redhat.com>
28447
28448 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28449
b2ef2c01
UD
284502010-06-14 Ulrich Drepper <drepper@redhat.com>
28451
28452 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28453 and F_GETPIPE_SZ.
28454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28458 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28460
fbd643b6
RM
284612010-06-14 Roland McGrath <roland@redhat.com>
28462
28463 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28464
f32f2869
JJ
284652010-06-07 Jakub Jelinek <jakub@redhat.com>
28466
28467 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28468 __REDIRECT followed by __THROW.
28469 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28470 * posix/getopt.h (getopt): Likewise.
28471
2a50c078
EPM
284722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28473
28474 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28475 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28476 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28477 in AT_FLAGS.
28478 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28479 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28480
eb5ad2eb
LM
284812010-05-28 Luis Machado <luisgpm@br.ibm.com>
28482
28483 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28484
3c88fe1e
L
284852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28486
28487 [BZ #11640]
28488 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28489 Properly check family and model.
28490
d2f73151
TY
284912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28492
28493 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28494
ebd2e13d
LM
284952010-05-24 Luis Machado <luisgpm@br.ibm.com>
28496
28497 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28498
b32b8b45
UD
284992010-05-21 Ulrich Drepper <drepper@redhat.com>
28500
28501 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28502 symbol reference.
28503
9acbe24d
AS
285042010-05-19 Andreas Schwab <schwab@redhat.com>
28505
28506 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28507 symbol reference.
28508
f0ccf6ea
AS
285092010-05-21 Andreas Schwab <schwab@redhat.com>
28510
3d04ff3a
AS
28511 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28512 and internal_recvmmsg.
28513 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28514 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28515 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28516 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28517
f0ccf6ea
AS
28518 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28519 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28520 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28521
5b08ac57
AS
285222010-05-20 Andreas Schwab <schwab@redhat.com>
28523
28524 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28525
4828935d
LM
285262010-05-17 Luis Machado <luisgpm@br.ibm.com>
28527
28528 POWER7 optimizations.
28529 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28530 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28531
373d545e
UD
285322010-05-19 Ulrich Drepper <drepper@redhat.com>
28533
28534 * version.h: Update for 2.13 development version.
28535
21a2b1ae
AS
285362010-05-12 Andrew Stubbs <ams@codesourcery.com>
28537
28538 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28539 exceptions. Return 0.
28540
3f7dcb2b
RM
285412010-05-07 Roland McGrath <roland@redhat.com>
28542
28543 * elf/ldconfig.c (main): Add a const.
28544
5f24d53a 285452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28546
a160f8d8
UD
28547 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28548 (args_options): Add no-idn option.
28549 (ahosts_keys_int): Add idn_flags to ai_flags.
28550 (parse_option): Handle 'i' option to clear idn_flags.
28551
5f24d53a
UD
28552 * malloc/malloc.c (_int_free): Possible race in the most recently
28553 added check. Only act on the data if no current modification
28554 happened.
265bb1ce
UD
28555
28556See ChangeLog.17 for earlier changes.