]> sourceware.org Git - glibc.git/blame - ChangeLog
Update powerpc libm-test ULPs
[glibc.git] / ChangeLog
CommitLineData
e9a5e0fd
AZ
12013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4
d8cd06db
JM
52013-05-08 Joseph Myers <joseph@codesourcery.com>
6
a0d9f9d7
JM
7 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8 (MINUS_ZERO_INIT): Likewise.
9 (PLUS_INFTY_INIT): Likewise.
10 (MINUS_INFTY_INIT): Likewise.
11 (QNAN_VALUE_INIT): Likewise.
12 (MAX_VALUE_INIT): Likewise.
13 (MIN_VALUE_INIT): Likewise.
14 (MIN_SUBNORM_VALUE_INIT): Likewise.
15 (plus_zero): Initialize with PLUS_ZERO_INIT.
16 (minus_zero): Initialize with MINUS_ZERO_INIT.
17 (plus_infty): Initialize with PLUS_INFTY_INIT.
18 (minus_infty): Initialize with MINUS_INFTY_INIT.
19 (qnan_value): Initialize with QNAN_VALUE_INIT.
20 (max_value): Initialize with MAX_VALUE_INIT.
21 (min_value): Initialize with MIN_VALUE_INIT.
22 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23
ae08db3b
JM
24 * math/libm-test.inc (RUN_TEST_if_f): New macro.
25 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28
f44bf14a
JM
29 * math/libm-test.inc (RUN_TEST_f_f): New macro.
30 (RUN_TEST_2_f): Likewise.
31 (RUN_TEST_ff_f): Likewise.
32 (RUN_TEST_fi_f): Likewise.
33 (RUN_TEST_fl_f): Likewise.
34 (RUN_TEST_fff_f): Likewise.
35 (RUN_TEST_c_f): Likewise.
36 (RUN_TEST_f_f1): Likewise.
37 (RUN_TEST_fF_f1): Likewise.
38 (RUN_TEST_fI_f1): Likewise.
39 (RUN_TEST_ffI_f1): Likewise.
40 (RUN_TEST_c_c): Likewise.
41 (RUN_TEST_cc_c): Likewise.
42 (RUN_TEST_f_i): Likewise.
43 (RUN_TEST_f_i_tg): Likewise.
44 (RUN_TEST_ff_i_tg): Likewise.
45 (RUN_TEST_f_b): Likewise.
46 (RUN_TEST_f_b_tg): Likewise.
47 (RUN_TEST_f_l): Likewise.
48 (RUN_TEST_f_L): Likewise.
49 (RUN_TEST_sincos): Likewise.
50 * math/gen-libm-test.pl (new_test): Take new argument to indicate
51 whether to show exceptions. Do not include ");\n" in return
52 value.
53 (special_functions): Output call to RUN_TEST_sincos instead of
54 check_float calls. Update calls to new_test.
55 (parse_args): Output call to single RUN_TEST_* macro instead of
56 check_* calls and other assignments. Update calls to new_test.
57
d8cd06db
JM
58 [BZ #2546]
59 [BZ #2560]
60 [BZ #5159]
61 [BZ #15426]
62 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
63 input to result for tgamma overflow.
64 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
65 (gamma_coeff): New variable.
66 (NCOEFF): New macro.
67 (gamma_positive): New function.
68 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
69 underflow here. Use gamma_positive instead of exp (lgamma) for
70 other arguments.
71 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
72 (gamma_coeff): New variable.
73 (NCOEFF): New macro.
74 (gammaf_positive): New function.
75 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
76 underflow here. Use gamma_positive instead of exp (lgamma) for
77 other arguments.
78 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
79 (gamma_coeff): New variable.
80 (NCOEFF): New macro.
81 (gammal_positive): New function.
82 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
83 underflow here. Use gamma_positive instead of exp (lgamma) for
84 other arguments.
85 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
86 (gamma_coeff): New variable.
87 (NCOEFF): New macro.
88 (gammal_positive): New function.
89 (__ieee754_gammal_r): Handle positive infinity, overflow and
90 underflow here. Handle NaN the same as positive infinity. Remove
91 check x < 0xffffffff for negative integers. Use gamma_positive
92 instead of exp (lgamma) for other arguments.
93 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
94 (gamma_coeff): New variable.
95 (NCOEFF): New macro.
96 (gammal_positive): New function.
97 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
98 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
99 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
100 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
101 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
102 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
103 * sysdeps/generic/math_private.h (__gamma_productf): New
104 prototype.
105 (__gamma_product): Likewise.
106 (__gamma_productl): Likewise.
107 * math/Makefile (libm-calls): Add gamma_product.
108 * math/libm-test.inc (tgamma_test): Add more tests.
109 * sysdeps/i386/fpu/libm-test-ulps: Update.
110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
111
bb7cf681
OB
1122013-05-08 Ondřej Bílka <neleai@seznam.cz>
113
114 * benchtests/bench-skeleton.c (main): Preheat CPU.
115
ba853947
AJ
1162013-05-07 Aurelien Jarno <aurelien@aurel32.net>
117
118 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
119
8347c74c
RM
1202013-05-07 Roland McGrath <roland@hack.frob.com>
121
122 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
123 and _dl_skip_args_internal.
124
e8dd4791
CD
1252013-05-07 Carlos O'Donell <carlos@redhat.com>
126
127 * manual/message.texi (Message Translation): Talk about users.
128 Message to key mapping impacts design.
129
c7405830
RM
1302013-05-06 Roland McGrath <roland@hack.frob.com>
131
a9173057
RM
132 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
133
976e2f03
RM
134 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
135
9723ffc5
RM
136 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
137 * sysdeps/wordsize-64/glob64.c: ... here.
138
962e6658
RM
139 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
140 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
141 New macros.
142
ee586a6d
RM
143 * debug/getlogin_r_chk.c: Moved to ...
144 * login/getlogin_r_chk.c: ... here.
145 * debug/Makefile (routines): Move getlogin_r_chk to ...
146 * login/Makefile (routines): ... here.
147 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
148 * login/Versions (libc: GLIBC_2.4): ... here.
149
355f9165
RM
150 * io/poll.c (__poll): Renamed from poll.
151 Add libc_hidden_def.
152 (poll): Define as weak alias.
153
bd9ffde6
RM
154 * debug/ptsname_r_chk.c: Moved to ...
155 * login/ptsname_r_chk.c: ... here.
156 * debug/Makefile (routines): Move ptsname_r_chk to ...
157 * login/Makefile (routines): ... here.
158 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
159 * login/Versions (libc: GLIBC_2.4): ... here.
160
8fb16a04
RM
161 * posix/getlogin.c: Moved to ...
162 * login/getlogin.c: ... here.
163 * posix/getlogin_r.c: Moved to ...
164 * login/getlogin_r.c: ... here.
165 * posix/getlogin_r.c: Moved to ...
166 * login/getlogin_r.c: ... here.
167 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
168 * login/Makefile (routines): ... here.
169 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
170 * login/Versions (libc: GLIBC_2.0): ... here.
171
b99b892f
RM
172 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
173 (setrlimit): Define as weak alias.
174
c7405830
RM
175 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
176 Call __ names for open, ftruncate, and close.
177 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
178 (truncate): Define as weak alias.
179
5bf96de5
JM
1802013-05-06 Joseph Myers <joseph@codesourcery.com>
181
9ea3513c
JM
182 * math/gen-libm-test.pl (parse_args): Initialize x before each
183 test of frexp, modf and remquo.
184
5bf96de5
JM
185 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
186 test signgam value.
187
16e616a7
AZ
1882013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189
190 [BZ #15418]
191 [BZ #15419]
192 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
193 internal tests.
194 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
195
d5e82754
RM
1962013-05-06 Roland McGrath <roland@hack.frob.com>
197
198 * elf/dl-writev.h: New file.
199 * elf/dl-misc.c: Include it.
200 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
201 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
202
a7548d41
JM
2032013-05-04 Joseph Myers <joseph@codesourcery.com>
204
b7dab1e4
JM
205 * math/libm-test.inc (noXFails): Remove variable.
206 (noXPasses): Likewise.
207 (BUILD_COMPLEX_INT): Remove macro.
208 (print_screen): Remove xfail argument.
209 (print_screen_max_error): Likewise.
210 (update_stats): Likewise.
211 (print_max_error): Likewise. Update calls to other affected
212 functions.
213 (print_complex_max_error): Likewise.
214 (test_single_exception): Update calls to print_screen.
215 (test_single_errno): Likewise.
216 (check_float_internal): Remove xfail argument. Update calls to
217 other affected functions.
218 (check_float): Likewise.
219 (check_complex): Likewise.
220 (check_int): Likewise.
221 (check_long): Likewise.
222 (check_bool): Likewise.
223 (check_longlong): Likewise.
224 (main): Don't print noXFails and noXPasses.
225 * math/gen-libm-test.pl (top level): Don't mention expected
226 failure handling in comment.
227 (new_test): Don't handle expected failures.
228 (parse_args): Don't mention expected failure handling in comment.
229 (generate_testfile): Don't handle expected failures.
230 (parse_ulps): Likewise.
231 (print_ulps_file): Likewise.
232 (get_failure): Remove function.
233 (output_test): Don't handle expected failures.
234 * make/README.libm-test: Don't mention expected failure handling.
235
a7548d41
JM
236 * math/libm-test.inc (plus_zero): Make const. Add initializer.
237 (minus_zero): Likewise.
238 (plus_infty): Likewise.
239 (minus_infty): Likewise.
240 (qnan_value): Likewise.
241 (max_value): Likewise.
242 (min_value): Likewise.
243 (min_subnorm_value): Likewise.
244 (initialize): Do not initialize those variables dynamically.
245
60bfd54c
RM
2462013-05-03 Roland McGrath <roland@hack.frob.com>
247
cc0e6ed8
RM
248 * io/open.c (__open_2): Moved to ...
249 * io/open_2.c: ... this new file.
250 * io/open64.c (__open64_2): Moved to ...
251 * io/open64_2.c: ... this new file.
252 * io/openat.c (__openat_2): Moved to ...
253 * io/openat_2.c: ... this new file.
254 * io/openat64.c (__openat64_2): Moved to ...
255 * io/openat64_2.c: ... this new file.
256 * io/Makefile (routines): Add them.
257 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
258 * sysdeps/unix/sysv/linux/open_2.c: File removed.
259 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
260 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
261 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
262 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
263 (__openat64): Add hidden_ver.
264 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
265 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
266
60bfd54c
RM
267 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
268 Separately conditionalize setting of GLRO(dl_sysinfo) so
269 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
270 as well, but the actual setting is only under [NEED_DL_SYSINFO].
271
83e7640f
AZ
2722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
273
274 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
275 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
276 definition.
277 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
278 * sysdeps/unix/sysv/linux/powerpc/init-first.c
279 (_libc_vdso_platform_setup): Add __vdso_time initialization.
280 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
281 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
282
d5dc2af3
JM
2832013-05-03 Joseph Myers <joseph@codesourcery.com>
284
c31a5b1e
JM
285 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
286 test signgam value.
287
d5dc2af3
JM
288 * math/libm-test.inc (hypot_test): Do not use
289 IGNORE_ZERO_INF_SIGN.
290
164fd39d
AJ
2912013-05-03 Andreas Jaeger <aj@suse.de>
292
293 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
294 Linux 3.9.
295 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
296 (PF_MAX): Adjust for VSOCK change.
297
8237f48c
AZ
2982013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
299
300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
301
9df02941
CD
3022013-05-02 Carlos O'Donell <carlos@redhat.com>
303
304 [BZ #15264]
305 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
306 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
307 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
308
d422395e
DM
3092013-05-02 David S. Miller <davem@davemloft.net>
310
311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
312
a07c5731
OB
3132013-05-01 Ondřej Bílka <neleai@seznam.cz>
314
315 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
316
1324e37f
RM
3172013-05-01 Roland McGrath <roland@hack.frob.com>
318
319 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
320
0695940b
RS
3212013-05-01 Richard Smith <richard@metafoo.co.uk>
322
bb5f27ad 323 [BZ #14952]
0695940b
RS
324 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
325 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
326 Use __attribute__ ((__gnu_inline__)).
327 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
328 Don't use __attribute__ ((__gnu_inline__)).
329
10de07f5
JM
3302013-05-01 Joseph Myers <joseph@codesourcery.com>
331
332 [BZ #15423]
333 * math/s_catan.c (__catan): Handle small real or imaginary part of
334 input specially to avoid spurious underflow.
335 * math/s_catanf.c (__catanf): Likewise.
336 * math/s_catanh.c (__catanh): Likewise.
337 * math/s_catanhf.c (__catanhf): Likewise.
338 * math/s_catanhl.c (__catanhl): Likewise.
339 * math/s_catanl.c (__catanl): Likewise.
340 * math/libm-test.inc (catan_test): Add more tests.
341 (catanh_test): Likewise.
342 * sysdeps/i386/fpu/libm-test-ulps: Update.
343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
344
cb4d5414
AZ
3452013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346
347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
348
caf84319
JM
3492013-04-30 Joseph Myers <joseph@codesourcery.com>
350
351 [BZ #15416]
352 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
353 accurately for denominator in atan2.
354 * math/s_catanf.c (__catanf): Likewise.
355 * math/s_catanh.c (__catanh): Likewise.
356 * math/s_catanhf.c (__catanhf): Likewise.
357 * math/s_catanhl.c (__catanhl): Likewise.
358 * math/s_catanl.c (__catanl): Likewise.
359 * math/libm-test.inc (catan_test): Add more tests.
360 (catanh_test): Likewise.
361 * sysdeps/i386/fpu/libm-test-ulps: Update.
362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363
d569c6ee
SP
3642013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
365
6dbe713d
SP
366 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
367
f0ee064b
SP
368 * benchtests/Makefile (bench): Remove slow benchmarks.
369 * benchtests/atan-inputs: Add slow benchmark inputs.
370 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
371 (BENCH_FUNC): Accept variant offset.
372 (VARIANT): Define.
373 * benchtests/bench-skeleton.c (main): Run benchmark for each
374 variant.
375 * benchtests/cos-inputs: Add slow benchmark inputs.
376 * benchtests/exp-inputs: Likewise.
377 * benchtests/pow-inputs: Likewise.
378 * benchtests/sin-inputs: Likewise.
379 * benchtests/slowatan-inputs: Remove.
380 * benchtests/slowatan.c: Remove.
381 * benchtests/slowcos-inputs: Remove.
382 * benchtests/slowcos.c: Remove.
383 * benchtests/slowexp-inputs: Remove.
384 * benchtests/slowexp.c: Remove.
385 * benchtests/slowpow-inputs: Remove.
386 * benchtests/slowpow.c: Remove.
387 * benchtests/slowsin-inputs: Remove.
388 * benchtests/slowsin.c: Remove.
389 * benchtests/slowtan-inputs: Remove.
390 * benchtests/slowtan.c: Remove.
391 * benchtests/tan-inputs: Add slow benchmark inputs.
392 * scripts/bench.pl: Parse comments and directives.
393
d569c6ee
SP
394 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
395 in CPPFLAGS.
396 ($(objpfx)bench-%.c): Remove *-ITER.
397 * benchtests/bench-modf.c: Remove definition of ITER.
398 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
399 (main): Loop for DURATION seconds instead of fixed number of
400 iterations.
401 * scripts/bench.pl: Don't expect iterations in parameters.
402
a6a242fe
RM
4032013-04-29 Roland McGrath <roland@hack.frob.com>
404
405 * io/fchdir.c (__fchdir): Renamed from fchdir.
406 (fchdir): Define as weak alias.
407
f2da7793
JM
4082013-04-29 Joseph Myers <joseph@codesourcery.com>
409
410 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
411 (ERRNO_EDOM): Likewise.
412 (ERRNO_ERANGE): Likewise.
413 (noErrnoTests): New variable.
414 (init_max_error): Set errno to 0.
415 (test_single_errno): New function.
416 (test_errno): Likewise.
417 (check_float_internal): Call test_errno. Set errno to 0.
418 (check_complex): Refer to errno tests in comment.
419 (check_int): Call test_errno. Set errno to 0.
420 (check_long): Likewise.
421 (check_bool): Likewise.
422 (check_longlong): Likewise.
423 (cos_test): Use ERRNO_* flags for errno tests instead of
424 check_int.
425 (expm1_test): Likewise.
426 (fmod_test): Likewise.
427 (ilogb_test): Likewise.
428 (lgamma_test): Likewise.
429 (pow_test): Likewise.
430 (remainder_test): Likewise.
431 (sin_test): Likewise.
432 (tan_test): Likewise.
433 (yn_test): Likewise.
434 (initialize): Set errno to 0.
435 (main): Print number of errno tests.
436 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
437
b1a36ceb
AJ
4382013-04-29 Andreas Jaeger <aj@suse.de>
439
c3ed8088
AJ
440 [BZ #15084]
441 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
442 and RES_USEVC.
443
f1a24198
AJ
444 [BZ #15085]
445 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
446 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
447 unimplemented.
448
9ce3b2cb
AJ
449 [BZ #15380]
450 * stdlib/random.c (__initstate): Return NULL if
451 __initstate fails.
452
f1a24198 453 [BZ #15086]
b1a36ceb
AJ
454 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
455 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
456 RES_SNGLKUPREOP.
457
7e7b6f36
AZ
4582013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
459
460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
461
4d14f449
JM
4622013-04-29 Joseph Myers <joseph@codesourcery.com>
463
464 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
465 of individual tests.
466 (casin_test): Likewise.
467 (casinh_test): Likewise.
468
5b4217d7
JM
4692013-04-27 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #15409]
472 * math/s_catan.c (__catan): Handle arguments with large real or
473 imaginary part separately without squaring.
474 * math/s_catanf.c (__catanf): Likewise.
475 * math/s_catanh.c (__catanh): Likewise.
476 * math/s_catanhf.c (__catanhf): Likewise.
477 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
478 and redefine.
479 (__catanhl): Handle arguments with large real or imaginary part
480 separately without squaring.
481 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
482 and redefine.
483 (__catanl): Handle arguments with large real or imaginary part
484 separately without squaring.
485 * math/libm-test.inc (catan_test): Add more tests.
486 (catanh_test): Likewise.
487 * sysdeps/i386/fpu/libm-test-ulps: Update.
488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
489
4220c3ef
AJ
4902013-04-27 Andreas Jaeger <aj@suse.de>
491
492 [BZ #15007]
493 * stdlib/stdlib.h: Update guards for qecvt.
494 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
495 <stdlib.h>.
496
4721b2d1
AM
4972013-04-27 Allan McRae <allan@archlinux.org>
498
499 * sysdeps/i386/fpu/libm-test-ulps: Update.
500
f0302940
JM
5012013-04-26 Joseph Myers <joseph@codesourcery.com>
502
9457fd95
JM
503 [BZ #15406]
504 * math/s_catan.c: Include <float.h>.
505 (__catan): Ensure underflow exception occurs for underflowed
506 result.
507 * math/s_catanf.c: Include <float.h>.
508 (__catanf): Ensure underflow exception occurs for underflowed
509 result.
510 * math/s_catanh.c: Include <float.h>.
511 (__catanh): Ensure underflow exception occurs for underflowed
512 result.
513 * math/s_catanhf.c: Include <float.h>.
514 (__catanhf): Ensure underflow exception occurs for underflowed
515 result.
516 * math/s_catanhl.c: Include <float.h>.
517 (__catanhl): Ensure underflow exception occurs for underflowed
518 result.
519 * math/s_catanl.c: Include <float.h>.
520 (__catanl): Ensure underflow exception occurs for underflowed
521 result.
522 * math/libm-test.inc (catan_test): Add more tests.
523 (catanh_test): Likewise.
524
f0302940
JM
525 [BZ #15405]
526 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
527 underflowed result.
528 * math/s_ccoshf.c (__ccoshf): Likewise.
529 * math/s_ccoshl.c (__ccoshl): Likewise.
530 * math/s_csin.c (__csin): Likewise.
531 * math/s_csinf.c (__csinf): Likewise.
532 * math/s_csinh.c (__csinh): Likewise.
533 * math/s_csinhf.c (__csinhf): Likewise.
534 * math/s_csinhl.c (__csinhl): Likewise.
535 * math/s_csinl.c (__csinl): Likewise.
536 * math/libm-test.inc (ccos_test): Add more tests.
537 (ccosh_test): Likewise.
538 (csin_test): Likewise.
539 (csinh_test): Likewise.
540
aa630f59
AZ
5412013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
542
543 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
544 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
545 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
546 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
547 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
548 powerpc/power5+/fpu folders.
549 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
550
551
1b835983
MT
5522013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
553
554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
555
73709b26
JM
5562013-04-25 Joseph Myers <joseph@codesourcery.com>
557
558 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
559 additions to variable.
560 [$(config-machine) = x86_64] (modules-names): Likewise.
561 ($(objpfx)tst-audit3): Remove dependency.
562 ($(objpfx)tst-audit3.out): Likewise.
563 ($(objpfx)tst-audit4): Likewise.
564 ($(objpfx)tst-audit4.out): Likewise.
565 ($(objpfx)tst-audit5): Likewise.
566 ($(objpfx)tst-audit5.out): Likewise.
567 ($(objpfx)tst-audit6): Likewise.
568 ($(objpfx)tst-audit6.out): Likewise.
569 ($(objpfx)tst-audit7): Likewise.
570 ($(objpfx)tst-audit7.out): Likewise.
571 (tst-audit3-ENV): Remove variable.
572 (tst-audit4-ENV): Likewise.
573 (tst-audit5-ENV): Likewise.
574 (tst-audit6-ENV): Likewise.
575 (tst-audit7-ENV): Likewise.
576 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
577 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
578 addition to variable.
579 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
580 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
581 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
582 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
583 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
584 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
585 tst-audit3, tst-audit4 and tst-audit5.
586 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
587 tst-audit6 and tst-audit7.
588 [$(subdir) = elf] (modules-names): Add audit modules for those
589 tests.
590 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
591 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
592 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
593 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
594 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
595 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
596 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
597 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
598 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
599 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
600 [$(subdir) = elf] (tst-audit3-ENV): New variable.
601 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
602 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
603 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
604 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
605 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
606 Likewise.
607 [$(subdir) = elf && $(config-cflags-avx) = yes]
608 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
609 [$(subdir) = elf && $(config-cflags-avx) = yes]
610 (CFLAGS-tst-auditmod4a.c): Likewise.
611 [$(subdir) = elf && $(config-cflags-avx) = yes]
612 (CFLAGS-tst-auditmod4b.c): Likewise.
613 [$(subdir) = elf && $(config-cflags-avx) = yes]
614 (CFLAGS-tst-auditmod6b.c): Likewise.
615 [$(subdir) = elf && $(config-cflags-avx) = yes]
616 (CFLAGS-tst-auditmod6c.c): Likewise.
617 [$(subdir) = elf && $(config-cflags-avx) = yes]
618 (CFLAGS-tst-auditmod7b.c): Likewise.
619 * elf/tst-audit3.c: Move to ...
620 * sysdeps/x86_64/tst-audit3.c: ... here.
621 * elf/tst-audit4.c: Move to ...
622 * sysdeps/x86_64/tst-audit4.c: ... here.
623 * elf/tst-audit5.c: Move to ...
624 * sysdeps/x86_64/tst-audit5.c: ... here.
625 * elf/tst-audit6.c: Move to ...
626 * sysdeps/x86_64/tst-audit6.c: ... here.
627 * elf/tst-audit7.c: Move to ...
628 * sysdeps/x86_64/tst-audit7.c: ... here.
629 * elf/tst-auditmod3a.c: Move to ...
630 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
631 * elf/tst-auditmod3b.c: Move to ...
632 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
633 * elf/tst-auditmod4a.c: Move to ...
634 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
635 * elf/tst-auditmod4b.c: Move to ...
636 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
637 * elf/tst-auditmod5a.c: Move to ...
638 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
639 * elf/tst-auditmod5b.c: Move to ...
640 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
641 * elf/tst-auditmod6a.c: Move to ...
642 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
643 * elf/tst-auditmod6b.c: Move to ...
644 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
645 * elf/tst-auditmod6c.c: Move to ...
646 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
647 * elf/tst-auditmod7a.c: Move to ...
648 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
649 * elf/tst-auditmod7b.c: Move to ...
650 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
651
1ef74943
PP
6522013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
653
654 [BZ #15366]
655 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
656 define unconditionally.
657 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
658 define unconditionally.
659 (INT8_C, INT16_C, etc.): Likewise.
660
93fd48c5
MR
6612013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
662
ae9552cf
MR
663 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
664 __ehdr_start with hidden visibility.
665
93fd48c5
MR
666 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
667
418601aa
CD
6682013-04-24 Carlos O'Donell <carlos@redhat.com>
669
670 * math/libm-test.inc (cos_test): Use accurate hex constants.
671 (sincost_test): Likewise.
672
2f38fbfe
JM
6732013-04-24 Joseph Myers <joseph@codesourcery.com>
674
5e221800
JM
675 * math/libm-test.inc (catan_test): Add more tests.
676 (catanh_test): Likewise.
677
77f143fd
JM
678 * math/s_catanf.c (__catanf): Use suffixed floating-point
679 constants.
680 * math/s_catanhf.c (__catanhf): Likewise.
681 * math/s_catanhl.c (__catanhl): Likewise.
682 * math/s_catanl.c (__catanl): Likewise.
683
2f38fbfe
JM
684 [BZ #15394]
685 * math/s_catan.c (__catan): Calculate imaginary part of result
686 with log1p not log unless computing log of number close to 0.
687 * math/s_catanf.c (__catanf): Likewise.
688 * math/s_catanl.c (__catanl): Likewise.
689 * math/s_catanh.c (__catanh): Calculate real part of result with
690 log1p not log unless computing log of number close to 0.
691 * math/s_catanhf.c (__catanhf): Likewise.
692 * math/s_catanhl.c (__catanhl): Likewise.
693 * math/libm-test.inc (catan_test): Add more tests.
694 (catanh_test): Likewise.
695 * sysdeps/i386/fpu/libm-test-ulps: Update.
696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
697
45d69176
SP
6982013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
699
700 * benchtests/Makefile: Mention files in which fast and slow
701 paths of math functions are implemented.
702
87f51853
RM
7032013-04-23 Roland McGrath <roland@hack.frob.com>
704
705 * sysdeps/posix/timespec_get.c: New file.
706
3c026539
AZ
7072013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
708
709 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
710 POWER.
711 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
712 for POWER.
713 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
714 powerpc/power5/fpu folders.
715 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
716 * benchtests/Makefile: Add modf testcase.
717 * benchtests/bench-modf.c: New file: Benchmark test for mo
718
ff491d14
SP
7192013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
720
721 [BZ #14888]
722 * time/Makefile (tests): Add tst-strptime-whitespace.
723 * time/strptime_l.c (get_number): Use ISSPACE.
724 (__strptime_internal): Likewise.
725 * time/tst-strptime-whitespace.c: New test case.
726
7ed3f4e8
AS
7272013-04-23 Andreas Schwab <schwab@linux-m68k.org>
728
729 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
730 member.
731 (_nss_files_init): Set it here.
732
5c95f7b6
HC
7332013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
734
735 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
736 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
737 unsigned.
738
d34c9158
JBG
7392013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
740
741 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
742
2169712d
SP
7432013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
744
745 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
746 size just once.
747
29c5de99
DM
7482013-04-21 David S. Miller <davem@davemloft.net>
749
750 * po/ru.po: Update Russion translation from translation project.
751
ccdad15d
AC
7522013-04-17 Adam Conrad <adconrad@0c3.net>
753
754 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
755 and setfsgid.
756
0f122b8d
CD
7572013-04-17 Carlos O'Donell <carlos@redhat.com>
758
5c5b07da 759 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 760 * configure: Regenerate.
5c5b07da 761 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
762 Add example to error message.
763 * sysdeps/i386/configure: Regenerate.
764
037714dd
SP
7652013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
766
767 * benchtests/Makefile (bench): Add cos, tan, slowcos and
768 slowtan.
769 * benchtests/cos-inputs: New file.
770 * benchtests/slowcos-inputs: New file.
771 * benchtests/slowcos.c: New file.
772 * benchtests/slowtan-inputs: New file.
773 * benchtests/slowtan.c: New file.
774 * benchtests/tan-inputs: New file.
775
e913141d
RM
7762013-04-16 Roland McGrath <roland@hack.frob.com>
777
778 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
779 considered kosher.
780
a2964074
SP
7812013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
782
4856bcd2
SP
783 * benchtests/Makefile: Include cppflags-iterator.mk to add
784 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
785
a2964074
SP
786 * Makefile.in (bench-clean): New target.
787 * benchtests/Makefile (bench-clean): Likewise.
788
9fbf9aca
DH
7892013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
790
791 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
792
207d1e2a
TS
7932013-04-15 Thomas Schwinge <thomas@codesourcery.com>
794
795 * stdio-common/tstdiomisc.c: Fix coding-style violation.
796
306dfba9
AS
7972013-04-15 Andreas Schwab <schwab@suse.de>
798
799 * nscd/grpcache.c (cache_addgr): Properly check for short write.
800 * nscd/initgrcache.c (addinitgroupsX): Likewise.
801 * nscd/pwdcache.c (cache_addpw): Likewise.
802 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
803 more than recsize.
804
206a6699
SP
8052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
806
807 * benchtests/Makefile (bench): Write all output to
808 bench-out.tmp together.
809
0582f6b3
AS
8102013-04-15 Andreas Schwab <schwab@suse.de>
811
812 * nscd/nscd.c (main): Don't fork again after closing files.
813
acb4325f
SP
8142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
815
5cb26d0a
SP
816 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
817
acb4325f
SP
818 * benchtests/Rules (bench-deps): Collect dependencies into a
819 single variable. Add Makefile to dependencies.
820 ($(objpfx)bench-%.c): Depend on bench-deps.
821
47792506
RM
8222013-04-12 Roland McGrath <roland@hack.frob.com>
823 Xavier Roche <roche+kml2@exalead.com>
824
825 [BZ #15361]
826 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
827 just that it's a file descriptor.
828 * manual/llio.texi (Synchronizing AIO Operations): Update description
829 for EBADF error from aio_fsync.
830
8fc1bee5
SP
8312013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
832
833 * Rules (bench): Move target definition...
834 * benchtests/Makefile: ... here.
835
aba5e333
CD
8362013-04-11 Carlos O'Donell <carlos@redhat.com>
837
838 * math/libm-test.inc (cos_test): Fix PI/2 test.
839 (sincos_test): Likewise.
840 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
841 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
842
273cdee8
AS
8432013-04-11 Andreas Schwab <schwab@suse.de>
844
6ecec3b6
AS
845 [BZ #13988]
846 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
847 accept exponent character only when digits were seen.
848 * stdio-common/Makefile (tests): Add bug26.
849 * stdio-common/bug26.c: New file.
850
273cdee8
AS
851 [BZ #14293]
852 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
853 non-freeable.
854
8da491f5
SP
8552013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
856
01dc6df9
SP
857 * Makeconfig (rtld-prefix): Define built linker prefix.
858 * Rules (run-bench): Use it.
859 * math/Makefile (run-regen-ulps): Likewise.
860
8da491f5
SP
861 * Rules (bench): Remove eval.
862
abe7f530
SP
8632013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
864 Roland McGrath <roland@hack.frob.com>
865 Ondrej Bilka <neleai@seznam.cz>
866
867 [BZ #15346]
868 * time/getdate.c: Include ctype.h and alloca.h.
869 (__getdate_r): Trim leading and trailing spaces of input.
870 * time/tst-getdate.c (tests): Add tests with leading and
871 trailing spaces.
872
61c23e62
RM
8732013-04-08 Roland McGrath <roland@hack.frob.com>
874
875 [BZ #14280]
876 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
877 when computing value.
878
7208a313
CD
8792013-04-06 Carlos O'Donell <carlos@redhat.com>
880
085b2d41
CD
881 * math/README.libm-test (How can I generate "libm-test-ulps"?):
882 Use testrun.sh to run libm tests.
883
7208a313
CD
884 [BZ #15309]
885 * elf/dl-open.c (dl_open_worker): memset all of seen array.
886
872c0acd
MM
8872013-04-06 Marko Myllynen <myllynen@redhat.com>
888
889 [BZ #15264]
890 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
891
26510bdd
CD
8922013-04-06 Carlos O'Donell <carlos@redhat.com>
893
894 * Makefile.in (regen-ulps): New target.
895 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
896 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
897 [ifneq (no,$(PERL)] (regen-ulps): New target.
898 [ifeq (no,$(PERL)] (regen-ulps): New target.
899 * math/libm-test.inc (ulps_file_name): Define.
900 (output_dir): New variable.
901 (options): Add "output-dir" option.
902 (parse_opt): Handle 'o' case.
903 (main): If output_dir is non-NULL use it as a prefix
904 otherwise use "".
905 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
906
a01f19c8
CD
9072013-04-06 Carlos O'Donell <carlos@redhat.com>
908
909 [BZ #10060, #10062]
910 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
911 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
912 fail configure if __sync_val_compare_and_swap is not inlined.
913 * sysdeps/i386/configure: Regenerate.
914 * configure.in: Build for i686 when configured for i386.
915 * configure: Regenerate.
916 * README: Remove i386 reference.
917
b7a329a5
CD
9182013-04-06 Carlos O'Donell <carlos@redhat.com>
919
920 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
921 * sysdeps/s390/s390-64/sysdep.h: Likewise.
922
bf0f50df
TS
9232013-04-05 Thomas Schwinge <thomas@codesourcery.com>
924
ee091edf
TS
925 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
926 (lmsnanval): New variables.
927 (F): Add conversion tests.
928 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
929 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
930
a8b792d6
TS
931 * stdio-common/tstdiomisc.c (F): Properly collect individual
932 tests' results.
933
a1cbf437
TS
934 [BZ #14686, #15336]
935 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
936 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
937 Instead, use input NaN values or generate a qNaN by arithmetic
938 operation. Also fix bugs to comply with the standard.
939 * math/libm-test.inc (remainder_test): Add more tests.
940
8b43a0c9
TS
941 [BZ #15335, #15342]
942 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
944 input NaN values or generate a qNaN by arithmetic operation.
945
d91da4ce
TS
946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
947 unreachable code.
948
bf0f50df
TS
949 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
950 definitions.
951
05e166c8
JM
9522013-04-03 Joseph Myers <joseph@codesourcery.com>
953
954 [BZ #14478]
955 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
956 underflowed result.
957 * math/s_cexpf.c (__cexpf): Likewise.
958 * math/s_cexpl.c (__cexpl): Likewise.
959 * math/libm-test.inc (cexp_test): Add more tests.
960
1cef1b19
AS
9612013-04-03 Andreas Schwab <schwab@suse.de>
962
963 [BZ #15330]
964 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
965 order arrays from heap if bigger than alloca cutoff.
966
74d87055
TS
9672013-04-03 Thomas Schwinge <thomas@codesourcery.com>
968
969 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
970 (SNAN_TESTS_double): Refer to GCC PR56831.
971 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
972 GCC PR56828.
973
d755bba4
SP
9742013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
975
90d5d5bb
SP
976 * Rules (bench): Move bench.out after the run is complete.
977
73e0cd5d
SP
978 * Rules (bench): Echo currently running benchmark.
979
64aabd4b
SP
980 * benchtests/Makefile (bench): Add atan and slowatan.
981 * benchtests/atan-inputs: New file.
982 * benchtests/slowatan-inputs: New file.
983 * benchtests/slowatan.c: New file.
984
c871eccd
SP
985 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
986 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
987 its value.
988
d755bba4
SP
989 [BZ #15305]
990 * sysdeps/unix/sysv/linux/kernel-features.h
991 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
992 __ASSUME_XFS_RESTRICTED_CHOWN.
993 * sysdeps/unix/sysv/linux/pathconf.c
994 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
995 Save and restore errno.
996
52ce4860
JM
9972013-04-02 Joseph Myers <joseph@codesourcery.com>
998
999 [BZ #15327]
1000 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1001 arguments using __kernel_casinh.
1002 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1003 arguments using __kernel_casinhf.
1004 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1005 arguments using __kernel_casinhl.
1006 * math/libm-test.inc (cacosh_test): Add more tests.
1007 * sysdeps/i386/fpu/libm-test-ulps: Update.
1008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1009
81f311c2
SP
10102013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1011
e7906a47
SP
1012 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1013 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1014
92e3664b
SP
1015 * bench/Makefile (bench): Add sin and slowsin.
1016 * benchtests/sin-inputs: New file.
1017 * benchtests/slowsin-inputs: New file.
1018 * benchtests/slowsin.c: New file.
1019
81f311c2
SP
1020 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1021 (bench): Add slowexp and slowpow.
1022 (exp-ITER): Increase iterations.
1023 (pow-ITER): Likewise.
1024 * benchtests/exp-inputs: Change input.
1025 * benchtests/pow-inputs: Likewise.
1026 * benchtests/slowexp-inputs: New file.
1027 * benchtests/slowexp.c: New file.
1028 * benchtests/slowpow-inputs: New file.
1029 * benchtests/slowpow.c: New file.
1030
ab0f1aa9
AZ
10312013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1032
1033 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1034 instructions.
1035 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1036 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1037 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1038 * benchtests/Makefile: Add rint benchtest.
1039 * benchtests/rint-inputs: Input for rint benchtest.
1040
57267616
TS
10412013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1042
1043 * Versions.def (libm): Add GLIBC_2.18.
1044 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1045 hidden libm prototypes.
1046 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1047 * math/Makefile (libm-calls): Add s_issignaling.
1048 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1049 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1050 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1051 declaration.
1052 * math/math.h [__USE_GNU] (issignaling): New macro.
1053 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1054 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1055 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1056 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1057 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1058 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1059 * manual/arith.texi (issignaling): New section.
1060 * manual/libm-err-tab.pl (@all_functions): Update comment.
1061 * math/gen-libm-test.pl (parse_args): Apply special handling for
1062 issignaling.
1063 * math/libm-test.inc (print_float, issignaling_test): New
1064 functions.
1065 (check_float_internal): Add issignaling checks.
1066 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1067 default definition.
1068 * sysdeps/powerpc/math-tests.h: New file.
1069 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1070 tests.
1071 * math/test-snan.c (TEST_FUNC): Likewise.
1072
6142896d
DM
10732013-03-30 David S. Miller <davem@davemloft.net>
1074
1075 * po/de.po: Update from translation team.
1076
ccc8cadf
JM
10772013-03-30 Joseph Myers <joseph@codesourcery.com>
1078
1079 [BZ #10357]
1080 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1081 imaginary part less than 1.0 and real part less than 0.5
1082 specially.
1083 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1084 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1085 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1086 (cacos_test): Add more tests.
1087 (casin_test): Likewise.
1088 (casinh_test): Likewise.
1089 * sysdeps/i386/fpu/libm-test-ulps: Update.
1090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1091
0f6a8d4b
SP
10922013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1093
0d1029de
SP
1094 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1095 ONE with its value.
1096
c2d94018
SP
1097 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1098 (__pow_mp): Replace ONE and MONE with their values.
1099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1100 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1101 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1102 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1103 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1104 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1105
27ec37f1
SP
1106 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1107
a64d7e0e
SP
1108 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1109 (__pow_mp): Replace ZERO and MZERO with their values.
1110 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1111 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1112 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1113 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1114 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1115 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1116 (__sqr): Likewise.
1117
d26dd3eb
SP
1118 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1119
0f6a8d4b
SP
1120 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1121
e57b0c61
RM
11222013-03-28 Roland McGrath <roland@hack.frob.com>
1123
1124 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1125 Declare with __attribute__ ((weak)).
1126 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1127 Call __call_tls_dtors only if it's not NULL.
1128
356b3480
RM
11292013-03-28 Roland McGrath <roland@hack.frob.com>
1130
288f7d79
RM
1131 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1132 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1133 magic __ehdr_start linker symbol if it's defined.
1134 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1135 them up here if it was already done.
1136
dc0a0263
RM
1137 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1138 (_dl_aux_init): Use const in cast when setting it.
1139 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1140 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1141 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1142
3d3436ae
RM
1143 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1144 Declare them here.
1145 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1146 * csu/libc-tls.c: Nor here.
1147 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1148
356b3480
RM
1149 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1150 (__libc_message): Never call vsyslog.
1151
b0f1246a
AM
11522013-03-28 Alan Modra <amodra@gmail.com>
1153
1154 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1155 Define as empty.
1156 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1157 Likewise.
1158
fbbe2b9a
AZ
11592013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1160
1161 [BZ #15214]
1162 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1163 underflow.
1164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1165
1728ab37
SP
11662013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1167
7a86be6e
SP
1168 [BZ #15304]
1169 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1170 Don't add gid passed as argument.
1171
1728ab37
SP
1172 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1173
3a7182a1
JM
11742013-03-27 Joseph Myers <joseph@codesourcery.com>
1175
1176 [BZ #15307]
1177 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1178 imaginary part between 1.0 and 1.5 and real part less than 0.5
1179 specially.
1180 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1181 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1182 * math/libm-test.inc (cacos_test): Add more tests.
1183 (casin_test): Likewise.
1184 (casinh_test): Likewise.
1185 * sysdeps/i386/fpu/libm-test-ulps: Update.
1186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1187
6f2e90e7
SP
11882013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1189
5739f705
SP
1190 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1191 constants.
1192 (norm): Likewise.
1193 (denorm): Likewise.
1194 (__dbl_mp): Likewise.
1195 (add_magnitudes): Likewise.
1196 (sub_magnitudes): Likewise.
1197 (__add): Likewise.
1198 (__sub): Likewise.
1199 (__mul): Likewise.
1200 (__sqr): Likewise.
1201 (__inv): Likewise.
1202 (__dvd): Likewise.
1203
e375e83d
SP
1204 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1205 commented code.
1206 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1207 (__dubcos): Likewise.
1208 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1209 (__ieee754_acos): Likewise.
1210 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1211 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1212 (__exp1): Likewise.
1213 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1214 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1215 (log1): Likewise.
1216 (my_log2): Likewise.
1217 (checkint): Likewise.
1218 * sysdeps/ieee754/dbl-64/e_remainder.c
1219 (__ieee754_remainder): Likewise.
1220 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1221 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1222 (bsloww): Likewise.
1223 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1224
6f2e90e7
SP
1225 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1226 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1227 MANTISSA_STORE_T to store computations on mantissa. Use
1228 macros for rounding and division.
1229 (denorm): Likewise.
1230 (__dbl_mp): Likewise.
1231 (add_magnitudes): Likewise.
1232 (sub_magnitudes): Likewise.
1233 (__mul): Likewise.
1234 (__sqr): Likewise.
1235 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1236 powers of two in terms of TWOPOW macro.
1237 (mp_no): Make type of mantissa as MANTISSA_T.
1238 [!RADIXI]: Define RADIXI.
1239 [!TWO52]: Define TWO52.
1240 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1241
fce14d4e
AZ
12422013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1243
1244 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1245 llroundl symbol when building for PPC32.
1246
9ad027fb
MW
12472013-03-24 Mark H Weaver <mhw@netris.org>
1248
1249 * manual/arith.texi (Normalization Functions): Fix prototypes for
1250 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1251
e42a38dd
AZ
12522013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253
1254 [BZ #13889]
1255 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1256 high value to check if expl overflow.
1257 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1258 to check for underflow and overflow.
1259 * math/libm-test.inc: Add exp test.
1260
2e0fb521
DL
12612013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1262
1263 [BZ #11120]
1264 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1265 with NOT_IN_libc.
1266
b5784d95
AZ
12672013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268
1269 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1270 symbol.
1271
5aa4a1a1
TS
12722013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1273
bdef0be7
TS
1274 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1275 wrap blocks consisting of several statements.
1276
5aa4a1a1
TS
1277 * sysdeps/generic/math-tests.h: New file.
1278 * sysdeps/i386/fpu/math-tests.h: Likewise.
1279 * math/test-snan.c: Include it.
1280 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1281
98c48fe5
JM
12822013-03-21 Joseph Myers <joseph@codesourcery.com>
1283
1284 [BZ #15285]
1285 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1286 (__ieee754_j0l): Do not improve calculations using cos of twice
1287 input for inputs above LDBL_MAX / 2.0L.
1288 (__ieee754_y0l): Likewise.
1289 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1290 (__ieee754_j1l): Do not improve calculations using cos of twice
1291 input for inputs above LDBL_MAX / 2.0L.
1292 (__ieee754_y1l): Likewise.
1293 * math/libm-test.inc (j0_test): Add another test.
1294 (j1_test): Likewise.
1295 (y0_test): Likewise.
1296 (y1_test): Likewise.
1297 * sysdeps/i386/fpu/libm-test-ulps: Update.
1298
3775a8bc
SP
12992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1300
1301 * Rules ($(objpfx)bench-%.c): Include code from a C source
1302 file.
1303
0a1b2ae6
JM
13042013-03-21 Joseph Myers <joseph@codesourcery.com>
1305
1306 [BZ #15287]
1307 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1308 imaginary part 1.0 and real part less than 0.5 specially.
1309 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1310 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1311 * math/libm-test.inc (cacos_test): Add more tests.
1312 (casin_test): Likewise.
1313 (casinh_test): Likewise.
1314 * sysdeps/i386/fpu/libm-test-ulps: Update.
1315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1316
b33d4ce4
SP
13172013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1318
1319 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1320 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1321
bef0b507
JM
13222013-03-20 Joseph Myers <joseph@codesourcery.com>
1323
1324 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1325 * config.make.in (config-cflags-sse4): Remove variable.
1326 (config-cflags-avx): Likewise.
1327 (config-cflags-sse2avx): Likewise.
1328 (config-cflags-novzeroupper): Likewise.
1329 (config-asflags-i686): Likewise.
1330 (have-mfma4): Likewise.
1331 (have-as-vis3): Likewise.
1332 (MIG): Likewise.
1333 * configure.in (MIG): Do not AC_SUBST.
1334 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1335 (libc_cv_cc_sse4): Do not AC_SUBST.
1336 (libc_cv_cc_avx): Likewise.
1337 (libc_cv_cc_sse2avx): Likewise.
1338 (libc_cv_cc_novzeroupper): Likewise.
1339 (libc_cv_cc_fma4): Likewise.
1340 (libc_cv_as_i686): Likewise.
1341 (libc_cv_sparc_as_vis3): Likewise.
1342 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1343 LIBC_CONFIG_VAR.
1344 (config-asflags-i686): Likewise.
1345 (config-cflags-avx): Likewise.
1346 (config-cflags-sse2avx): Likewise.
1347 (have-mfma4): Likewise.
1348 (config-cflags-novzeroupper): Likewise.
1349 * sysdeps/mach/configure.in (MIG): Likewise.
1350 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1351 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1352 LIBC_CONFIG_VAR.
1353 (config-cflags-avx): Likewise.
1354 (config-cflags-sse2avx): Likewise.
1355 (have-mfma4): Likewise.
1356 (config-cflags-novzeroupper): Likewise.
1357 * configure: Regenerated.
1358 * sysdeps/i386/configure: Likewise.
1359 * sysdeps/mach/configure: Likewise.
1360 * sysdeps/sparc/configure: Likewise.
1361 * sysdeps/x86_64/configure: Likewise.
1362
912cc4b3
RM
13632013-03-20 Roland McGrath <roland@hack.frob.com>
1364
1365 [BZ #14812]
1366 * locale/programs/localedef.c (options): Put N_ translation marker
1367 on argument names, not just descriptions.
1368
04eed2b0
MS
13692013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1370
1371 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1372
a065ceff
OB
13732013-03-20 Ondřej Bílka <neleai@seznam.cz>
1374
9bb2a810 1375 [BZ #14176]
a065ceff
OB
1376 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1377
a600e5ce
RM
13782013-03-19 Roland McGrath <roland@hack.frob.com>
1379
1380 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1381 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1382 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1383 [!BEFORE_ABORT] (before_abort): New function.
1384 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1385 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1386 (writev_for_fatal): New function.
1387 (WRITEV_FOR_FATAL): New macro; call that.
1388 (backtrace_and_maps): New function.
1389 (BEFORE_ABORT): New macro; call that.
1390 (struct str_list): Type removed.
1391 (__libc_message, __libc_fatal): Functions removed.
1392 Include <sysdeps/posix/libc_fatal.c> instead.
1393
6b18bea6
JM
13942013-03-19 Joseph Myers <joseph@codesourcery.com>
1395
1396 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1397 constants.
1398 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1399 double constants.
1400
aaa8cb4b
AS
14012013-03-19 Andreas Schwab <schwab@suse.de>
1402
44673770
AS
1403 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1404 * sysdeps/gnu/configure: Regenerate.
1405
aaa8cb4b
AS
1406 * configure.in: Substitute libc_cv_rtlddir.
1407 * configure: Regenerate.
1408 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1409 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1410 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1411 * elf/Makefile (install-others, CFLAGS-interp.c)
1412 (ldso_install, common-ldd-rewrite): Likewise.
1413 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1414 $(inst_slibdir)/$(rtld-installed-name).
1415 * scripts/rellns-sh: Add -p option.
1416 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1417 for source.
1418
d3cfc668
SP
14192013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1420
1421 * manual/nptl.texi: Renamed to ...
1422 * manual/threads.texi: ... this.
1423 * manual/Makefile (chapters): Update.
1424
0e2b9cdd
RM
14252013-03-18 Roland McGrath <roland@hack.frob.com>
1426
1427 [BZ #14812]
1428 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1429 on argument names, not just descriptions.
0e2b9cdd
RM
1430 * malloc/memusagestat.c (options): Likewise.
1431 * nss/getent.c (options): Likewise.
63270c24
RM
1432
14332013-03-18 Benno Schulenberg <bensberg@justemail.net>
1434
1435 [BZ #14812]
1436 * iconv/iconv_prog.c (options): Put N_ translation marker
1437 on argument names, not just descriptions.
1438 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1439
b2e1393c
OB
14402013-03-18 Ondrej Bilka <neleai@seznam.cz>
1441
1442 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1443 implementation which is faster on all x86_64 architectures.
1444 Tested on AMD, Intel Nehalem, SNB, IVB.
1445 * sysdeps/x86_64/strnlen.S: Likewise.
1446
1447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1448 Remove all multiarch strlen and strnlen versions.
1449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1450 Remove strlen and strnlen related parts.
1451
1452 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1453 Inline strlen part.
1454 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1455
1456 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1457 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1458 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1459 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1460 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1461 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1462
ec4ff04d
CD
14632013-03-17 Carlos O'Donell <carlos@redhat.com>
1464
1465 * manual/memory.texi (Malloc Tunable Parameters):
1466 Sort parameters alphabetically. Add comments for missing entries.
1467
cd18e90a
DM
14682013-03-17 David S. Miller <davem@davemloft.net>
1469
1470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1471
2a185d32
JM
14722013-03-16 Joseph Myers <joseph@codesourcery.com>
1473
d2f9799e
JM
1474 [BZ #15283]
1475 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1476 for arguments at most half maximum finite value.
1477 * math/libm-test.inc (j0_test): Add more tests.
1478 (j1_test): Likewise.
1479 (y0_test): Likewise.
1480 (y1_test): Likewise.
1481 * sysdeps/i386/fpu/libm-test-ulps: Update.
1482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1483
2a185d32
JM
1484 [BZ #14155]
1485 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1486 1 / x and functions P and Q for arguments above 0x1p256L.
1487 (__ieee754_y0l): Likewise.
1488 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1489 (__ieee754_y1l): Likewise.
1490 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1491 (j1_test): Likewise.
1492 (y0_test): Likewise.
1493 (y1_test): Likewise.
1494
6cbec759
TS
14952013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1496
1497 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1498 variable.
1499
bc16e260
RM
15002013-03-15 Roland McGrath <roland@hack.frob.com>
1501
aefc9b8c
RM
1502 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1503 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1504 zero since it's initialized to EXEC_PAGESIZE.
1505
bc16e260
RM
1506 * sysdeps/unix/sysv/linux/ldsodefs.h
1507 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1508 * sysdeps/generic/ldsodefs.h: ... here.
1509
a57da955
TS
15102013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1511
af00a34d
TS
1512 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1513
495ded2c
TS
1514 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1515 math/test-snan.c.
1516 * math/test-snan.c: Renamed from
1517 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1518 * math/Makefile (tests): Add test-snan.
1519 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1520 test-powerpc-snan.
1521
777b0332
TS
1522 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1523 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1524 functions.
1525 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1526 __builtin_nan family of functions.
1527 * math/libm-test.inc (initialize): Initialize qnan_value with
1528 __builtin_nan family of functions.
1529 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1530 Remove variables.
1531 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1532 Remove functions.
1533 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1534 storage class. Initialize qNaN_var and sNaN_var with
1535 __builtin_nan and __builtin_nans families of functions,
1536 respectively.
1537
64d063b8
TS
1538 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1539 (sqrt_test): Remove duplicate test with qNaN input.
1540 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1541 (round_test, signbit_test, significand_test): Note missing +/-Inf
1542 as well as qNaN tests.
1543
67e971f1
TS
1544 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1545 qNaN_var. Fix a few strings, too.
1546 * math/libm-test.inc (nan_value): Rename to qnan_value.
1547 * math/gen-libm-test.pl (%beautify): Adjust to that.
1548 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1549 * math/test-misc.c (main): Likewise.
1550 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1551 to __qnan_bytes, and __qnan_union, respectively.
1552 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1553 Likewise.
1554 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1555 and lqnanval, respectively.
1556 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1557 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1558 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1559 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1560
64487e12
TS
1561 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1562 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1563 doubles.
1564
e015e27b
TS
1565 * math/test-misc.c (main): Fix copy'n'pastos.
1566 * misc/tst-efgcvt.c (special): Likewise.
1567
a57da955
TS
1568 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1569 Remove declarations.
1570
1e380345
SP
15712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1572
1573 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1574 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1575 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1576 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1577
ef26eece
AZ
15782013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579
1580 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1581 macro to return vdso values correctly in IFUNC implementations.
1582 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1583 Optimization by using IFUNC.
1584
8cfdb7e0
SP
15852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1586 Richard Henderson <rth@redhat.com>
1587 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1588
1589 * Makefile.in (bench): New target.
1590 * NEWS: Mention the benchmark framework.
1591 * Rules (bench): Likewise.
1592 (binaries-bench): Generate binaries for functions to
1593 benchmark.
1594 * benchtests/Makefile: New makefile for benchmark tests.
1595 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1596 programs.
1597 * benchtests/exp-inputs: New input file for EXP function.
1598 * benchtests/pow-inputs: New input file for POW function.
1599 * scripts/bench.pl: New script to generate source files for
1600 benchmark programs.
1601
bcda9880
SP
16022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1603
d22ca8cd
SP
1604 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1605 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1606 computations on mantissa. Use macros for rounding and
1607 division.
1608 (denorm): Likewise.
1609 (__dbl_mp): Likewise.
1610 (add_magnitudes): Likewise.
1611 (sub_magnitudes): Likewise.
1612 (__mul): Likewise.
1613 (__sqr): Likewise.
1614 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1615 powers of two in terms of TWOPOW macro.
1616 (mp_no): Make type of mantissa as MANTISSA_T.
1617 [!RADIXI]: Define RADIXI.
1618 [!TWO52]: Define TWO52.
1619 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1620
bcda9880
SP
1621 * manual/nptl.texi (cindex): Modify threads to pthreads.
1622
06d5adfb
JM
16232013-03-15 Joseph Myers <joseph@codesourcery.com>
1624
1625 * sysdeps/x86_64/preconfigure: Regenerated.
1626
41c7328e
JM
16272013-03-14 Joseph Myers <joseph@codesourcery.com>
1628
1629 [BZ #14155]
1630 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1631 0x1p28 and above.
1632 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1633 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1634 0x1p28 and above.
1635 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1636 * math/libm-test.inc (j0_test): Do not allow one spurious
1637 underflow exception.
1638 (y1_test): Likewise.
1639
e25cfa60
SP
16402013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1641
0409959c
SP
1642 * manual/Makefile (chapters): Add nptl.
1643 * manual/debug.texi (Debugging Support): Add link to Threads
1644 chapter.
1645 * manual/nptl.texi: New file.
1646
e25cfa60
SP
1647 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1648
58a1335e
PB
16492013-03-14 Petr Baudis <pasky@ucw.cz>
1650
1651 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1652 for non-NULL pointer before the memory validity test. Pointed
1653 out by Holger Brunck <holger.brunck@keymile.com>.
1654
9dc7c64f
AS
16552013-03-13 Andreas Schwab <schwab@suse.de>
1656
1657 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1658 instead of .os.
1659
54206aa6
JM
16602013-03-13 Joseph Myers <joseph@codesourcery.com>
1661
1662 * timezone/zic.c: Update from tzcode 2013b.
1663
e98cdb38
CD
16642013-03-12 Carlos O'Donell <carlos@redhat.com>
1665
1666 * manual/install.texi (Configuring and compiling):
1667 Mention i686 and i586.
1668 * INSTALL: Regenerate.
1669
9967e003
RM
16702013-03-12 Roland McGrath <roland@hack.frob.com>
1671
1672 * sysdeps/init_array/elf-init.c: New file.
1673 * csu/elf-init.c
1674 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1675 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1676
1677 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1678 __gmon_start__ as global, but as static with a .preinit_array pointer.
1679 * sysdeps/init_array/gmon-start.c: New file. Use that.
1680 * sysdeps/init_array/crti.S: New file, empty except for comments.
1681 * sysdeps/init_array/crtn.S: Likewise.
1682
e6b5a293 16832013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1684
1685 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1686 definining bcopy.
80f844c9
OB
1687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1688 Remove Prefer_SSE_for_memop.
1689 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1690 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1691 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1693 memset-x86-64.
80f844c9 1694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1695 Remove bzero, memset ifunc support.
80f844c9
OB
1696 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1697 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1698 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1699 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1700
fb6b0fcb
AS
17012013-03-11 Andreas Schwab <schwab@suse.de>
1702
1703 [BZ #15234]
1704 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1705 by SHLIB_COMPAT.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1707 (GLIBC_2.16): Remove pthread_atfork.
1708
3e6bd4b1
PP
17092013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1710
1711 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1712 (ptestcases.h): Likewise.
1713
222d7f00
RM
17142013-03-08 Roland McGrath <roland@hack.frob.com>
1715
1716 * Makeconfig ($(common-objpfx)config.status): Depend on
1717 sysdeps/*/preconfigure{,.in} too.
1718
1ba4f030
JM
17192013-03-08 Joseph Myers <joseph@codesourcery.com>
1720
a222d91a
JM
1721 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1722 (__free_hook): Use void * instead of __malloc_ptr_t.
1723 (__malloc_hook): Likewise.
1724 (__realloc_hook): Likewise.
1725 (__memalign_hook): Likewise.
1726 (__after_morecore_hook): Likewise.
1727 * malloc/arena.c (save_malloc_hook): Likewise.
1728 (save_free_hook): Likewise.
1729 * malloc/hooks.c (malloc_hook_ini): Likewise.
1730 (realloc_hook_ini): Likewise.
1731 (memalign_hook_ini): Likewise.
1732 * malloc/malloc.c (malloc_hook_ini): Likewise.
1733 (realloc_hook_ini): Likewise.
1734 (memalign_hook_ini): Likewise.
1735 (__free_hook): Likewise.
1736 (__malloc_hook): Likewise.
1737 (__realloc_hook): Likewise.
1738 (__memalign_hook): Likewise.
1739 (__libc_malloc): Likewise.
1740 (__libc_free): Likewise.
1741 (__libc_realloc): Likewise.
1742 (__libc_memalign): Likewise.
1743 (__libc_valloc): Likewise.
1744 (__libc_pvalloc): Likewise.
1745 (__libc_calloc): Likewise.
1746 (__posix_memalign): Likewise.
1747 * malloc/morecore.c (__sbrk): Likewise.
1748 (__default_morecore): Likewise.
1749
5cc45e10
JM
1750 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
1751
dd54b864
JM
1752 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
1753 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
1754 __malloc_ptrdiff_t.
1755
1ba4f030
JM
1756 * malloc/malloc.h (__malloc_size_t): Remove macro.
1757 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
1758 __malloc_size_t.
1759 (old_memalign_hook): Likewise.
1760 (old_realloc_hook): Likewise.
1761 (struct hdr): Likewise.
1762 (flood): Likewise.
1763 (mallochook): Likewise.
1764 (memalignhook): Likewise.
1765 (reallochook): Likewise.
1766 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
1767 (tr_old_realloc_hook): Likewise.
1768 (tr_old_memalign_hook): Likewise.
1769 (tr_mallochook): Likewise.
1770 (tr_reallochook): Likewise.
1771 (tr_memalignhook): Likewise.
1772
edf66e57
AZ
17732013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774
1775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
1776 default_ldbl_pack and using as default implementation.
1777 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
1778 implementation.
1779 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
1780 redundant definition.
1781 (ldbl_insert_mantissa): Likewise.
1782 (ldbl_canonicalize): Likewise.
1783 (ldbl_nearbyint): Likewise.
1784 (ldbl_pack): Rename to ldbl_pack_ppc.
1785 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1786 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1787 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1788
6d9145d8
SP
17892013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1790
1791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1792 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1793 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1794 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1796 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1797 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1798 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1799
4dd4e157
AJ
18002013-03-07 Andreas Jaeger <aj@suse.de>
1801
1802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1803 bits/mman-linux.h.
1804
adbb8027
SP
18052013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1806
ce544b5b
SP
1807 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1808 Include mpa.h and declare __MPEXP.
1809 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1810 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1811 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1812 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1813 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1814 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1815 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1816
4cc149fd
SP
1817 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1818 (__slowpow): Use long double EXPL and LOGL functions to
1819 compute POW.
1820 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1821 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1822 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1823 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1824 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1826
e6ebd4a7
SP
1827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1828 intermediate variable to calculate exponent.
1829 (__sqr): Likewise.
1830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1831 Likewise.
1832 (__sqr): Likewise.
1833
82a9811d
SP
1834 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1835 [!NO__SQR]: Define __sqr.
1836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1837 and NO__SQR. Remove all code except __mul and __sqr. Include
1838 sysdeps/ieee754/dbl-64/mpa.c.
1839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1840
adbb8027
SP
1841 [BZ #12723]
1842 * posix/Makefile (tests): Add tst-pathconf.
1843 * posix/tst-pathconf.c: New test case.
1844 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1845 _PC_PIPE_BUF.
1846 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1847
39120df9
PF
18482013-03-06 Patsy Franklin <pfrankli@redhat.com>
1849
1850 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1851
67525cb8
AJ
18522013-03-06 Andreas Jaeger <aj@suse.de>
1853
664a9ce4
AJ
1854 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1855 definition via __MAP_ANONYMOUS.
1856
8e39047d
AJ
1857 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1858 it's not part of Linux headers.
1859
67525cb8
AJ
1860 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1861 (MAP_HUGE_MASK): Define.
1862
1863 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1864 Define.
1865 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1867 Define.
1868 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1869 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1870 Define.
1871 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1872 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1873 Define.
1874 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1875
1876 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1877 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1878 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1879 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1880 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1881 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1882
1883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1884 Handle f2fs.
1885
1886 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1887 Handle f2fs and efivarfs.
1888
1889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1890 f2fs.
1891
1892 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1893 (EFIVARFS_MAGIC): Add.
1894 (F2FS_LINK_MAX): Add.
1895
e1b42695
PP
18962013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1897
1898 * stdio-common/vfprintf.c: Replace __builtin_expect with
1899 __glibc_unlikely.
1900
2d67d91a
JM
19012013-03-06 Joseph Myers <joseph@codesourcery.com>
1902
1903 [BZ #13550]
1904 * sysdeps/generic/bp-sym.h: Remove file.
1905 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1906 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1907 <bp-sym.h> and <bp-asm.h>.
1908 (__longjmp): Don't use BP_SYM.
1909 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1910 and <bp-asm.h>.
1911 (memcpy): Don't use BP_SYM.
1912 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1913 <bp-sym.h> and <bp-asm.h>.
1914 (memcpy): Don't use BP_SYM.
1915 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1916 <bp-asm.h>.
1917 (memcpy): Don't use BP_SYM.
1918 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1919 <bp-asm.h>.
1920 (memset): Don't use BP_SYM.
1921 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1922 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1923 (__bzero): Don't use BP_SYM.
1924 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1925 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1926 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1927 <bp-sym.h> and <bp-asm.h>.
1928 (memcmp): Don't use BP_SYM. Remove comment about bounded
1929 pointers.
1930 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1931 <bp-sym.h> and <bp-asm.h>.
1932 (memcpy): Don't use BP_SYM.
1933 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1934 <bp-sym.h> and <bp-asm.h>.
1935 (memset): Don't use BP_SYM.
1936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1938 (__bzero): Don't use BP_SYM.
1939 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1940 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1941 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1942 <bp-sym.h> and <bp-asm.h>.
1943 (strncmp): Don't use BP_SYM. Remove comment about bounded
1944 pointers.
1945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1946 <bp-sym.h> and <bp-asm.h>.
1947 (memcpy): Don't use BP_SYM.
1948 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1949 <bp-sym.h> and <bp-asm.h>.
1950 (memset): Don't use BP_SYM.
1951 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1952 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1953 (__bzero): Don't use BP_SYM.
1954 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1955 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1956 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1957 <bp-sym.h> and <bp-asm.h>.
1958 (__memchr): Don't use BP_SYM.
1959 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1960 <bp-sym.h> and <bp-asm.h>.
1961 (memcmp): Don't use BP_SYM. Remove comment about bounded
1962 pointers.
1963 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1964 <bp-sym.h> and <bp-asm.h>.
1965 (memcpy): Don't use BP_SYM.
1966 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1967 <bp-sym.h> and <bp-asm.h>.
1968 (__mempcpy): Don't use BP_SYM.
1969 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1970 <bp-sym.h> and <bp-asm.h>.
1971 (__memrchr): Don't use BP_SYM.
1972 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1973 <bp-sym.h> and <bp-asm.h>.
1974 (memset): Don't use BP_SYM.
1975 (__bzero): Likewise.
1976 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1977 <bp-sym.h> and <bp-asm.h>.
1978 (__rawmemchr): Don't use BP_SYM.
1979 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1980 <bp-sym.h> and <bp-asm.h>.
1981 (__STRCMP): Don't use BP_SYM.
1982 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1983 <bp-sym.h> and <bp-asm.h>.
1984 (strchr): Don't use BP_SYM.
1985 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1986 <bp-sym.h> and <bp-asm.h>.
1987 (__strchrnul): Don't use BP_SYM.
1988 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1989 <bp-sym.h> and <bp-asm.h>.
1990 (strlen): Don't use BP_SYM.
1991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1992 <bp-sym.h> and <bp-asm.h>.
1993 (strncmp): Don't use BP_SYM. Remove comment about bounded
1994 pointers.
1995 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1996 <bp-sym.h> and <bp-asm.h>.
1997 (__strnlen): Don't use BP_SYM.
1998 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1999 <bp-sym.h> and <bp-asm.h>.
2000 (__GI__setjmp): Don't use BP_SYM.
2001 (_setjmp): Likewise.
2002 (__sigsetjmp): Likewise.
2003 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2004 (L(start_addresses)): Don't use BP_SYM.
2005 (_start): Likewise.
2006 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2007 <bp-asm.h>.
2008 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2009 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2010 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2011 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2012 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2013 <bp-asm.h>.
2014 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2015 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2016 about bounded pointers.
2017 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2018 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2019 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2020 <bp-asm.h>.
2021 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2022 about bounded pointers. Remove GKM FIXME comments.
2023 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2024 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2025 <bp-asm.h>.
2026 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2027 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2028 Remove GKM FIXME comments.
2029 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2030 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2031 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2032 <bp-asm.h>.
2033 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2034 about bounded pointers. Remove GKM FIXME comment.
2035 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2036 and <bp-asm.h>.
2037 (strncmp): Don't use BP_SYM. Remove comment about bounded
2038 pointers.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2040 <bp-sym.h> and <bp-asm.h>.
2041 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2043 <bp-sym.h> and <bp-asm.h>.
2044 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2045 comment.
2046
cdcf361f
PP
20472013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2048
2049 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2050 call free(NULL).
2051
3c4a2b15
DM
20522013-03-05 David S. Miller <davem@davemloft.net>
2053
2054 * po/es.po: Update from translation team.
2055
cdcf361f 20562013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2057
2058 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2059 <bits/mman-linux.h>.
2060 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2061 is fine.
2062 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2063 <bits/mman-linux.h> to end of file.
2064 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2065 is fine.
2066 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2067 <bits/mman-linux.h> to end of file.
2068 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2069 is fine.
2070 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2071 <bits/mman-linux.h> to end of file.
2072
2073 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2074 (MCL_CURRENT, MCL_FUTURE): Define here.
2075
5f67c04f
AK
20762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2077
8a4473cc 2078 [BZ #15232]
5f67c04f
AK
2079 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2080 attribute_hidden.
2081 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2082
c3e94a95
AK
20832013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2084
2085 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2086 fourth parameter needed for rt_sigprocmask syscall.
2087 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2088 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2089 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2090 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2091 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2092 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2093
cfb6382a
JM
20942013-03-04 Joseph Myers <joseph@codesourcery.com>
2095
2096 [BZ #13550]
2097 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2098 comment about bounded pointers.
2099 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2100 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2101
539d8e01
AJ
21022013-03-04 Andreas Jaeger <aj@suse.de>
2103
2104 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2105 common definitions.
2106
2107 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2108 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2109 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2110 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2112 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2113
2e167a70 21142013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2115
2116 [BZ #15055]
2117 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2118 __ieee754_sqrl instead of __sqrl.
2119
68508633
JM
21202013-03-01 Joseph Myers <joseph@codesourcery.com>
2121
2122 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2123 * sysdeps/powerpc/fpu_control.h: ... here.
2124 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2125 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2126 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2127 * sysdeps/powerpc/bits/mathinline.h: ... here.
2128
7775448e
RM
21292013-03-01 Roland McGrath <roland@hack.frob.com>
2130
2131 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2132 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2133 to just [NEED_DL_SYSINFO_DSO].
2134 * elf/dl-support.c: Likewise.
2135 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2136 * elf/rtld.c (dl_main): Likewise.
2137 * elf/setup-vdso.h (setup_vdso): Likewise.
2138 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2139 * sysdeps/unix/sysv/linux/dl-sysdep.c
2140 (_dl_discover_osversion): Likewise.
2141
4e9b5995
CD
21422013-03-01 Carlos O'Donell <carlos@redhat.com>
2143
2144 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2145 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2146
e23872c8
SP
21472013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2148
e5c74c63
SP
2149 * NEWS: Mention libm performance improvements and non-x86 PI
2150 futex support.
2151
e23872c8
SP
2152 * csu/libc-start.c (__pthread_initialize_minimal): Change
2153 function arguments.
2154 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2155
b5510883
JM
21562013-02-28 Joseph Myers <joseph@codesourcery.com>
2157
2158 [BZ #13550]
2159 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2160 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2161 <bp-sym.h> and <bp-asm.h>.
2162 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2163 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2164 and <bp-asm.h>.
2165 (memcpy): Don't use BP_SYM.
2166 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2167 <bp-asm.h>.
2168 (__mpn_add_n): Don't use BP_SYM.
2169 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2170 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2171 and <bp-asm.h>.
2172 (__mpn_addmul_1): Don't use BP_SYM.
2173 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2174 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2175 <bp-sym.h>.
2176 (_setjmp): Don't use BP_SYM.
2177 (__novmx_setjmp): Likewise.
2178 (__GI__setjmp): Likewise.
2179 (__vmx_setjmp): Likewise.
2180 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2181 <bp-sym.h>.
2182 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2183 (__bzero): Don't use BP_SYM.
2184 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2185 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2186 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2187 <bp-sym.h> and <bp-asm.h>.
2188 (memcpy): Don't use BP_SYM.
2189 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2190 <bp-sym.h> and <bp-asm.h>.
2191 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2192 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2193 <bp-sym.h> and <bp-asm.h>.
2194 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2195 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2196 <bp-asm.h>.
2197 (__mpn_lshift): Don't use BP_SYM.
2198 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2199 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2200 <bp-asm.h>.
2201 (memset): Don't use BP_SYM.
2202 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2203 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2204 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2205 <bp-asm.h>.
2206 (__mpn_mul_1): Don't use BP_SYM.
2207 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2208 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2209 <bp-sym.h> and <bp-asm.h>.
2210 (memcmp): Don't use BP_SYM.
2211 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2212 <bp-sym.h> and <bp-asm.h>.
2213 (memcpy): Don't use BP_SYM.
2214 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2215 <bp-sym.h> and <bp-asm.h>.
2216 (memset): Don't use BP_SYM.
2217 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2218 <bp-sym.h> and <bp-asm.h>.
2219 (strncmp): Don't use BP_SYM.
2220 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2221 <bp-sym.h> and <bp-asm.h>.
2222 (memcpy): Don't use BP_SYM.
2223 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2224 <bp-sym.h> and <bp-asm.h>.
2225 (memset): Don't use BP_SYM.
2226 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2227 <bp-sym.h> and <bp-asm.h>.
2228 (__memchr): Don't use BP_SYM.
2229 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2230 <bp-sym.h> and <bp-asm.h>.
2231 (memcmp): Don't use BP_SYM.
2232 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2233 <bp-sym.h> and <bp-asm.h>.
2234 (memcpy): Don't use BP_SYM.
2235 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2236 <bp-sym.h> and <bp-asm.h>.
2237 (__mempcpy): Don't use BP_SYM.
2238 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2239 <bp-sym.h> and <bp-asm.h>.
2240 (__memrchr): Don't use BP_SYM.
2241 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2242 <bp-sym.h> and <bp-asm.h>.
2243 (memset): Don't use BP_SYM.
2244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2245 <bp-sym.h> and <bp-asm.h>.
2246 (__rawmemchr): Don't use BP_SYM.
2247 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2248 <bp-sym.h> and <bp-asm.h>.
2249 (__STRCMP): Don't use BP_SYM.
2250 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2251 <bp-sym.h> and <bp-asm.h>.
2252 (strchr): Don't use BP_SYM.
2253 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2254 <bp-sym.h> and <bp-asm.h>.
2255 (__strchrnul): Don't use BP_SYM.
2256 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2257 <bp-sym.h> and <bp-asm.h>.
2258 (strlen): Don't use BP_SYM.
2259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2260 <bp-sym.h> and <bp-asm.h>.
2261 (strncmp): Don't use BP_SYM.
2262 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2263 <bp-sym.h> and <bp-asm.h>.
2264 (__strnlen): Don't use BP_SYM.
2265 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2266 <bp-asm.h>.
2267 (__mpn_rshift): Don't use BP_SYM.
2268 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2269 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2270 <bp-sym.h> and <bp-asm.h>.
2271 (__sigsetjmp): Don't use BP_SYM.
2272 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2273 (L(start_addresses)): Don't use BP_SYM.
2274 (_start): Likewise.
2275 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2276 <bp-asm.h>.
2277 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2278 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2279 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2280 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2281 <bp-asm.h>.
2282 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2283 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2284 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2285 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2286 <bp-asm.h>.
2287 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2288 comments.
2289 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2290 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2291 <bp-asm.h>.
2292 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2293 FIXME comments.
2294 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2295 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2296 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2297 <bp-asm.h>.
2298 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2299 comment.
2300 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2301 and <bp-asm.h>.
2302 (strncmp): Don't use BP_SYM,
2303 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2304 <bp-asm.h>.
2305 (__mpn_sub_n): Don't use BP_SYM.
2306 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2307 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2308 and <bp-asm.h>.
2309 (__mpn_submul_1): Don't use BP_SYM.
2310 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2312 <bp-sym.h> and <bp-asm.h>.
2313 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2315 <bp-sym.h> and <bp-asm.h>.
2316 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2317 comment.
2318
8d19fe64
SP
23192013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2320
2321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2322 Use ZK to minimize writes to Z.
2323 (sub_magnitudes): Simplify code a bit.
2324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2325 Use ZK to minimize writes to Z.
2326 (sub_magnitudes): Simplify code a bit.
2327
85bd816a
RM
23282013-02-27 Roland McGrath <roland@hack.frob.com>
2329
2330 * csu/gmon-start.c: Add special exception to license text.
2331
b5977bf2
RH
23322013-02-27 Richard Henderson <rth@redhat.com>
2333
2334 * scripts/config.guess: Update from config.git.
2335 * scripts/config.sub: Likewise.
2336
11d6e2f2
SP
23372013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2338
09c14ed2
SP
2339 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2340
a688864e
SP
2341 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2342
6295157a
SP
2343 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2344
b8de2202
SP
2345 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2346
11d6e2f2
SP
2347 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2348
7e80ddb8
RM
23492013-02-26 Roland McGrath <roland@hack.frob.com>
2350
2351 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2352 [$(build-shared = yes].
7e80ddb8 2353
7da6d9ed
SP
23542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2355
45f05884
SP
2356 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2357 (__mul): Reduce iterations for calculating mantissa.
2358
2236d359
SP
2359 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2360 MPTWO.
2361 (__mpranred): Likewise.
2362
7da6d9ed
SP
2363 [BZ #15160]
2364 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2365 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2366
b7688c42
PE
23672013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2368
2369 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2370 Define __attribute__.
2371
53a5c423
SP
23722013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2373
2374 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2375 unused.
2376 * posix/regex_internal.h (__attribute): Remove.
2377 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2378 (re_string_context_at): Likewise.
2379 (bitset_not): Use __attribute__ and mark function as possibly
2380 unused.
2381 (bitset_merge): Likewise.
2382 (bitset_mask): Likewise.
2383 (re_string_char_size_at): Likewise.
2384 (re_string_wchar_at): Likewise.
2385 (re_string_elem_size_at): Likewise.
2386
60f5a8b5
SP
23872013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2388
2a983a2e
SP
2389 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2390 code.
2391 (cc32): Likewise.
2392
e69804d1
SP
2393 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2394 (__acr): Likewise.
2395 (__cpy): Likewise.
2396 (norm): Likewise.
2397 (denorm): Likewise.
2398 (__dbl_mp): Likewise.
2399 (add_magnitudes): Likewise.
2400 (sub_magnitudes): Likewise.
2401 (__mul): Likewise.
2402 (__inv): Likewise.
2403
2f22a1e8
SP
2404 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2405 style.
2406
8930ddc7
SP
2407 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2408 style.
2409
dc60cb11
SP
2410 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2411 code.
2412
60f5a8b5
SP
2413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2414 up changes with default code.
2415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2416 Likewise.
2417
b4d1fd33
AM
24182013-02-24 Allan McRae <allan@archlinux.org>
2419
faf6f8bc
AM
2420 * manual/socket.texi (The Internet Namespace): Order menu items
2421 to match that in the file.
2422
b4d1fd33
AM
2423 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2424 node listing of the info page menu.
2425
2366713d
JM
24262013-02-21 Joseph Myers <joseph@codesourcery.com>
2427
2428 [BZ #13550]
2429 * sysdeps/i386/bp-asm.h: Remove file.
2430 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2431 (PARMS): Do not use macros from bp-asm.h.
2432 (S1): Likewise.
2433 (S2): Likewise.
2434 (SIZE): Likewise.
2435 (__mpn_add_n): Do not use BP_SYM
2436 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2437 "bp-asm.h".
2438 (PARMS): Do not use macros from bp-asm.h.
2439 (S1): Likewise.
2440 (SIZE): Likewise.
2441 (__mpn_addmul_1): Do not use BP_SYM
2442 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2443 "bp-asm.h".
2444 (PARMS): Do not use macros from bp-asm.h.
2445 (SIGMSK): Likewise.
2446 (_setjmp): Likewise. Do not use BP_SYM.
2447 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2448 "bp-asm.h".
2449 (PARMS): Do not use macros from bp-asm.h.
2450 (SIGMSK): Likewise.
2451 (setjmp): Likewise. Do not use BP_SYM.
2452 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2453 "bp-asm.h".
2454 (PARMS): Do not use macros from bp-asm.h.
2455 (__frexp): Do not use BP_SYM.
2456 (frexp): Likewise.
2457 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2458 "bp-asm.h".
2459 (PARMS): Do not use macros from bp-asm.h.
2460 (__frexpf): Do not use BP_SYM.
2461 (frexpf): Likewise.
2462 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2463 "bp-asm.h".
2464 (PARMS): Do not use macros from bp-asm.h.
2465 (__frexpl): Do not use BP_SYM.
2466 (frexpl): Likewise.
2467 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2468 "bp-asm.h".
2469 (PARMS): Do not use macros from bp-asm.h.
2470 (__remquo): Do not use BP_SYM.
2471 (remquo): Likewise.
2472 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2473 "bp-asm.h".
2474 (PARMS): Do not use macros from bp-asm.h.
2475 (__remquof): Do not use BP_SYM.
2476 (remquof): Likewise.
2477 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2478 "bp-asm.h".
2479 (PARMS): Do not use macros from bp-asm.h.
2480 (__remquol): Do not use BP_SYM.
2481 (remquol): Likewise.
2482 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2483 "bp-asm.h".
2484 (PARMS): Do not use macros from bp-asm.h.
2485 (DEST): Likewise.
2486 (SRC): Likewise.
2487 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2488 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2489 "bp-asm.h".
2490 (PARMS): Do not use macros from bp-asm.h.
2491 (strlen): Do not use BP_SYM.
2492 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2493 "bp-asm.h".
2494 (PARMS): Do not use macros from bp-asm.h.
2495 (S1): Likewise.
2496 (S2): Likewise.
2497 (SIZE): Likewise.
2498 (__mpn_add_n): Do not use BP_SYM.
2499 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2500 "bp-asm.h".
2501 (PARMS): Do not use macros from bp-asm.h.
2502 (S1): Likewise.
2503 (SIZE): Likewise.
2504 (__mpn_addmul_1): Do not use BP_SYM.
2505 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2506 weak_alias.
2507 (bzero): Likewise.
2508 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2509 "bp-asm.h".
2510 (PARMS): Do not use macros from bp-asm.h.
2511 (S): Likewise.
2512 (SIZE): Likewise.
2513 (__mpn_lshift): Do not use BP_SYM.
2514 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2515 "bp-asm.h".
2516 (PARMS): Do not use macros from bp-asm.h.
2517 (DEST): Likewise.
2518 (SRC): Likewise.
2519 (LEN): Likewise.
2520 (memcpy): Likewise. Do not use BP_SYM.
2521 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2522 libc_hidden_def and weak_alias.
2523 (mempcpy): Do not use BP_SYM in weak_alias.
2524 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2525 "bp-asm.h".
2526 (PARMS): Do not use macros from bp-asm.h.
2527 (DEST): Likewise.
2528 (LEN): Likewise.
2529 [!BZERO_P] (CHR): Likewise.
2530 (memset): Likewise. Do not use BP_SYM.
2531 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2532 "bp-asm.h".
2533 (PARMS): Do not use macros from bp-asm.h.
2534 (S1): Likewise.
2535 (SIZE): Likewise.
2536 (__mpn_mul_1): Do not use BP_SYM.
2537 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2538 "bp-asm.h".
2539 (PARMS): Do not use macros from bp-asm.h.
2540 (S): Likewise.
2541 (SIZE): Likewise.
2542 (__mpn_rshift): Do not use BP_SYM.
2543 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2544 "bp-asm.h".
2545 (PARMS): Do not use macros from bp-asm.h.
2546 (STR): Likewise.
2547 (CHR): Likewise.
2548 (strchr): Likewise. Do not use BP_SYM.
2549 (index): Do not use BP_SYM in weak_alias.
2550 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2551 "bp-asm.h".
2552 (PARMS): Do not use macros from bp-asm.h.
2553 (DEST): Likewise.
2554 (SRC): Likewise.
2555 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2556 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2557 "bp-asm.h".
2558 (PARMS): Do not use macros from bp-asm.h.
2559 (strlen): Do not use BP_SYM.
2560 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2561 "bp-asm.h".
2562 (PARMS): Do not use macros from bp-asm.h.
2563 (S1): Likewise.
2564 (S2): Likewise.
2565 (SIZE): Likewise.
2566 (__mpn_sub_n): Do not use BP_SYM.
2567 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2568 "bp-asm.h".
2569 (PARMS): Do not use macros from bp-asm.h.
2570 (S1): Likewise.
2571 (SIZE): Likewise.
2572 (__mpn_submul_1): Do not use BP_SYM.
2573 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2574 "bp-asm.h".
2575 (PARMS): Do not use macros from bp-asm.h.
2576 (S1): Likewise.
2577 (S2): Likewise.
2578 (SIZE): Likewise.
2579 (__mpn_add_n): Do not use BP_SYM.
2580 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2581 weak_alias.
2582 (bzero): Likewise.
2583 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2584 "bp-asm.h".
2585 (PARMS): Do not use macros from bp-asm.h.
2586 (BLK2): Likewise.
2587 (LEN): Likewise.
2588 (memcmp): Do not use BP_SYM.
2589 (bcmp): Do not use BP_SYM in weak_alias.
2590 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2591 "bp-asm.h".
2592 (PARMS): Do not use macros from bp-asm.h.
2593 (DEST): Likewise.
2594 (SRC): Likewise.
2595 (LEN): Likewise.
2596 (memcpy): Likewise. Do not use BP_SYM.
2597 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2598 "bp-asm.h".
2599 (PARMS): Do not use macros from bp-asm.h.
2600 (DEST): Likewise.
2601 (SRC): Likewise.
2602 (LEN): Likewise.
2603 (memmove): Likewise. Do not use BP_SYM.
2604 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2605 "bp-asm.h".
2606 (PARMS): Do not use macros from bp-asm.h.
2607 (DEST): Likewise.
2608 (SRC): Likewise.
2609 (LEN): Likewise.
2610 (__mempcpy): Likewise. Do not use BP_SYM.
2611 (mempcpy): Do not use BP_SYM in weak_alias.
2612 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2613 "bp-asm.h".
2614 (PARMS): Do not use macros from bp-asm.h.
2615 (DEST): Likewise.
2616 (LEN): Likewise.
2617 [!BZERO_P] (CHR): Likewise.
2618 (memset): Likewise. Do not use BP_SYM.
2619 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2620 "bp-asm.h".
2621 (PARMS): Do not use macros from bp-asm.h.
2622 (STR2): Likewise.
2623 (strcmp): Do not use BP_SYM.
2624 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2625 "bp-asm.h".
2626 (PARMS): Do not use macros from bp-asm.h.
2627 (STR): Likewise.
2628 (DELIM): Likewise.
2629 [USE_AS_STRTOK_R] (SAVE): Likewise.
2630 (FUNCTION): Likewise. Do not use BP_SYM.
2631 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2632 aliases.
2633 (strtok_r): Likewise.
2634 (__GI___strtok_r): Likewise.
2635 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2636 (PARMS): Do not use macros from bp-asm.h.
2637 (S): Likewise.
2638 (SIZE): Likewise.
2639 (__mpn_lshift): Do not use BP_SYM.
2640 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2641 (PARMS): Do not use macros from bp-asm.h.
2642 (STR): Likewise.
2643 (CHR): Likewise.
2644 (__memchr): Do not use BP_SYM.
2645 (memchr): Do not use BP_SYM in weak_alias.
2646 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2647 (PARMS): Do not use macros from bp-asm.h.
2648 (BLK2): Likewise.
2649 (LEN): Likewise.
2650 (memcmp): Do not use BP_SYM.
2651 (bcmp): Do not use BP_SYM in weak_alias.
2652 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2653 (PARMS): Do not use macros from bp-asm.h.
2654 (S1): Likewise.
2655 (SIZE): Likewise.
2656 (__mpn_mul_1): Do not use BP_SYM.
2657 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
2663 (rawmemchr): Do not use BP_SYM in weak_alias.
2664 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2665 (PARMS): Do not use macros from bp-asm.h.
2666 (S): Likewise.
2667 (SIZE): Likewise.
2668 (__mpn_rshift): Do not use BP_SYM.
2669 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2670 (PARMS): Do not use macros from bp-asm.h.
2671 (SIGMSK): Likewise.
2672 (__sigsetjmp): Likewise. Do not use BP_SYM.
2673 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2674 (_start): Do not use BP_SYM.
2675 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2676 (PARMS): Do not use macros from bp-asm.h.
2677 (DEST): Likewise.
2678 (SRC): Likewise.
2679 (__stpcpy): Likewise. Do not use BP_SYM.
2680 (stpcpy): Do not use BP_SYM in weak_alias.
2681 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2682 "bp-asm.h".
2683 (PARMS): Do not use macros from bp-asm.h.
2684 (DEST): Likewise.
2685 (SRC): Likewise.
2686 (LEN): Likewise.
2687 (__stpncpy): Likewise. Do not use BP_SYM.
2688 (stpncpy): Do not use BP_SYM in weak_alias.
2689 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2690 (PARMS): Do not use macros from bp-asm.h.
2691 (STR): Likewise.
2692 (CHR): Likewise.
2693 (strchr): Likewise. Do not use BP_SYM.
2694 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2695 "bp-asm.h".
2696 (PARMS): Do not use macros from bp-asm.h.
2697 (STR): Likewise.
2698 (CHR): Likewise.
2699 (__strchrnul): Likewise. Do not use BP_SYM.
2700 (strchrnul): Do not use BP_SYM in weak_alias.
2701 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2702 "bp-asm.h".
2703 (PARMS): Do not use macros from bp-asm.h.
2704 (STOP): Likewise.
2705 (strcspn): Do not use BP_SYM.
2706 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2707 "bp-asm.h".
2708 (PARMS): Do not use macros from bp-asm.h.
2709 (STR): Likewise.
2710 (STOP): Likewise.
2711 (strpbrk): Likewise. Do not use BP_SYM.
2712 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2713 "bp-asm.h".
2714 (PARMS): Do not use macros from bp-asm.h.
2715 (STR): Likewise.
2716 (CHR): Likewise.
2717 (strrchr): Likewise. Do not use BP_SYM.
2718 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2719 (PARMS): Do not use macros from bp-asm.h.
2720 (SKIP): Likewise.
2721 (strspn): Do not use BP_SYM.
2722 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2723 (PARMS): Do not use macros from bp-asm.h.
2724 (STR): Likewise.
2725 (DELIM): Likewise.
2726 (SAVE): Likewise.
2727 (FUNCTION): Likewise. Do not use BP_SYM.
2728 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2729 aliases.
2730 (strtok_r): Likewise.
2731 (__GI___strtok_r): Likewise.
2732 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2733 (PARMS): Do not use macros from bp-asm.h.
2734 (S1): Likewise.
2735 (S2): Likewise.
2736 (SIZE): Likewise.
2737 (__mpn_sub_n): Do not use BP_SYM.
2738 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2739 "bp-asm.h".
2740 (PARMS): Do not use macros from bp-asm.h.
2741 (S1): Likewise.
2742 (SIZE): Likewise.
2743 (__mpn_submul_1): Do not use BP_SYM.
2744 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
2745 <bp-sym.h>.
2746 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
2747 and <bp-asm.h>.
2748 (PARMS): Do not use macros from bp-asm.h.
2749 (FLAGS): Likewise.
2750 (PTID): Likewise.
2751 (TLS): Likewise.
2752 (CTID): Likewise.
2753 (__clone): Do not use BP_SYM.
2754 (clone): Do not use BP_SYM in weak_alias.
2755 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
2756 and <bp-asm.h>.
2757 (PARMS): Do not use macros from bp-asm.h.
2758 (LEN): Likewise.
2759 (__mmap64): Do not use BP_SYM.
2760 (mmap64): Do not use BP_SYM in weak_alias.
2761 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2762 <bp-sym.h> and <bp-asm.h>.
2763 (PARMS): Do not use macros from bp-asm.h.
2764 (__posix_fadvise64_l64): Do not use BP_SYM.
2765 * sysdeps/unix/sysv/linux/i386/semtimedop.S
2766 (PARMS): Do not use macros from bp-asm.h.
2767 (NSOPS): Likewise.
2768 (semtimedop): Do not use BP_SYM.
2769 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
2770 and <bp-asm.h>.
2771
582a3cff
AM
27722013-02-21 Allan McRae <allan@archlinux.org>
2773
2774 * manual/message.texi (Charset conversion in gettext):
2775 Move @end statement to beginning of line.
2776
bab8a695
SP
27772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2778
80945231
SP
2779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
2780 static.
2781 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2782 Likewise.
2783
bab8a695
SP
2784 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2785 (denorm): Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2788
e21d7aa7
AK
27892013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2790
2791 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2792 tail-call to the resolved function if pltexit isn't needed.
2793
4c7a4263
SP
27942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2795
2796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2797 or Y being zero as being unlikely.
2798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2799 Likewise.
2800
41f49342
CD
28012013-02-20 Carlos O'Donell <carlos@redhat.com>
2802
2803 * manual/nss.texi (System Databases and Name Service Switch):
2804 Remove frobnicate @pxref.
2805
50022a93
TS
28062013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2807
2808 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2809 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2810
08cbd996
PM
28112013-02-20 Petr Machata <pmachata@redhat.com>
2812
2813 * elf/elf.h (R_ARM_TARGET1): New macro.
2814 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2815 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2816 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2817 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2818 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2819 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2820 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2821 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2822 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2823 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2824 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2825 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2826 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2827 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2828 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2829 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2830 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2831 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2832 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2833 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2834 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2835 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2836 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2837 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2838 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2839 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2840 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2841 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2842 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2843 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2844 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2845 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2846 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2847 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2848 (R_ARM_THM_GOT_BREL12): Likewise.
2849 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2850 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2851 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2852 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2853 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2854 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2855 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2856 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2857 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2858
c7b275d6
TS
28592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2860
2861 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2862 __attribute_used__ to __attribute__ ((unused)).
2863
20cd7fb3
SP
28642013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2865
2866 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2867 powerpc mpa.c.
2868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2869 comment formatting.
2870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2871
92945b52
JM
28722013-02-19 Joseph Myers <joseph@codesourcery.com>
2873
2874 [BZ #13550]
2875 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2876 Remove macro.
2877 (ENTER): Remove both macro definitions.
2878 (LEAVE): Likewise.
2879 (CHECK_BOUNDS_LOW): Likewise.
2880 (CHECK_BOUNDS_HIGH): Likewise.
2881 (CHECK_BOUNDS_BOTH): Likewise.
2882 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2883 (RETURN_BOUNDED_POINTER): Likewise.
2884 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2885 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2886 (POP_ERRNO_LOCATION_RETURN): Likewise.
2887 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2888 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2889 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2890 macros.
2891 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2892 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2893 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2894 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2895 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2896 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2897 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2898 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2899 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2900 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2901 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2902 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2903 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2904 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2905 removed macros.
2906 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2907 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2908 macros.
2909 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2910 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2911 * sysdeps/i386/i586/memset.S (memset): Likewise.
2912 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2913 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2914 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2915 macros.
2916 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2917 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2918 Change uses of L(2) to L(out).
2919 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2920 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2921 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2922 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2923 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2924 removed macros.
2925 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2926 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2927 macros.
2928 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2929 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2930 (RETURN): Do not use macro LEAVE.
2931 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2932 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2933 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2934 * sysdeps/i386/i686/memset.S (memset): Likewise.
2935 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2936 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2937 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2938 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2939 Likewise.
2940 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2941 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2942 L(1_2) and L(1_3) into L(1).
2943 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2944 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2945 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2946 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2947 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2948 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2949 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2950 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2951 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2952 macros.
2953 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2954 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2955 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2956 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2957 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2958 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2959 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2960 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2961 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2962 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2963 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2964 * sysdeps/i386/strspn.S (strspn): Likewise.
2965 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2966 conditional code.
2967 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2968 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2969 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2970 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2971 L(1_3) into L(1_1).
2972 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2973 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2974 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2975 macros.
2976 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2977
2389741a
JJ
29782013-02-19 Jakub Jelinek <jakub@redhat.com>
2979
2980 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2981 macro.
2982
2016b3cd
SP
29832013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2984
e4f22324
SP
2985 * math/atest-exp.c (exp_mpn): Remove ROUND.
2986 * math/atest-exp2.c (exp_mpn): Likewise.
2987 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2988
2016b3cd
SP
2989 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2990 * stdlib/tst-tls-atexit-lib.c: Likewise.
2991 * stdlib/tst-tls-atexit.c: Likewise.
2992
4be9b544
MF
29932013-02-18 Mike Frysinger <vapier@gentoo.org>
2994
2995 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2996 and __attribute_alloc_size__.
2997
2f62b9ee
MF
29982013-02-18 Mike Frysinger <vapier@gentoo.org>
2999
3000 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3001 __attribute_alloc_size__.
3002 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3003 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3004
6ff444c4
MF
30052013-02-18 Mike Frysinger <vapier@gentoo.org>
3006
3007 * include/programs/xmalloc.h: New file.
3008 * catgets/gencat.c: Include it.
3009 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3010 * elf/pldd.c: Likewise.
3011 * iconv/iconv_charmap.c: Likewise.
3012 * iconv/iconvconfig.c: Likewise.
3013 * iconv/strtab.c: Likewise.
3014 * locale/programs/locale.c: Likewise.
3015 * locale/programs/localedef.h: Likewise.
3016 * locale/programs/simple-hash.c: Likewise.
3017 * nscd/nscd.h: Likewise.
3018 * nss/makedb.c: Likewise.
3019 * sysdeps/generic/ldconfig.h: Likewise.
3020
be179c8a
SP
30212013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3022
ba384f6e
SP
3023 * Versions.def: Add GLIBC_2.18.
3024 * include/link.h (struct link_map): New member l_tls_dtor_count.
3025 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3026 (__call_tls_dtors): Likewise.
3027 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3028 __cxa_thread_atexit_impl.
3029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3030 Likewise.
3031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3032 Likewise.
3033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3034 Likewise.
3035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3036 Likewise.
3037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3039 Likewise.
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3041 Likewise.
3042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3044 Likewise.
3045 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3046 (tests): Add test case tst-tls-atexit.
3047 (modules-names): Add shared library for tst-tls-atexit.
3048 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3049 (GLIBC_PRIVATE): Add __call_tls_dtors.
3050 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3051 for libstdc++.
3052 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3053 * stdlib/tst-tls-atexit.c: New test case.
3054 * stdlib/tst-tls-atexit-lib.c: New test case.
3055
ffaa74cf 3056 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3057
be179c8a
SP
3058 * elf/Versions (ld): Add _dl_find_dso_for_object.
3059 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3060 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3061 (dl_open_worker): Use _dl_find_dso_for_object.
3062 * elf/dl-sym.c (do_sym): Likewise.
3063 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3064
f78b5caa
AK
30652013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3066
3067 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3068 Syntactic changes only.
3069 (_dl_runtime_profile): Do a tail-call to the resolved function.
3070
29691210
JM
30712013-02-17 Joseph Myers <joseph@codesourcery.com>
3072
3073 [BZ #13550]
3074 * sysdeps/x86_64/bp-asm.h: Remove file.
3075 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3076 <bp-sym.h> and <bp-asm.h>.
3077 (__clone): Do not use BP_SYM.
3078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3079 <bp-sym.h> and <bp-asm.h>.
3080 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3081 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3082 "bp-asm.h".
3083 (_setjmp): Do not use BP_SYM.
3084 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3085 "bp-asm.h".
3086 (setjmp): Do not use BP_SYM.
3087 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3088 libc_hidden_def.
3089 (mempcpy): Do not use BP_SYM in weak_alias.
3090 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3091 "bp-asm.h".
3092 (strchr): Do not use BP_SYM.
3093 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3094 "bp-asm.h".
3095 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3096 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3097 (_start): Do not use BP_SYM.
3098 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3099 "bp-asm.h".
3100 (strcat): Do not use BP_SYM.
3101 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3102 "bp-asm.h".
3103 (STRCMP): Do not use BP_SYM.
3104 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3105 "bp-asm.h".
3106 (STRCPY): Do not use BP_SYM.
3107 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3108 "bp-asm.h".
3109 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3110 "bp-asm.h".
3111 (FUNCTION): Do not use BP_SYM.
3112 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3113 weak_alias.
3114 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3115
f238fd19
AJ
31162013-02-17 Andreas Jaeger <aj@suse.de>
3117
3118 * time/Versions: Sort entries.
3119 * string/Versions: Likewise.
3120 * resolv/Versions: Likewise.
3121 * posix/Versions: Likewise.
3122 * iconv/Versions: Likewise.
3123 * elf/Versions: Likewise.
3124 * wcsmbs/Versions: Likewise.
3125
bd07f23c 31262013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3127
22af19f9
SP
3128 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3129 loop termination condition.
3130
4709fe76
SP
3131 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3132 variable to calculate EZ.
3133 (__sqr): Likewise.
2d0e0f29
SP
3134
3135 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3136 the lower precision input.
3137
daaa7713
JM
31382013-02-15 Joseph Myers <joseph@codesourcery.com>
3139
3140 [BZ #13550]
3141 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3142 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3143 (run-via-rtld-prefix): Do not handle %-bp tests.
3144 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3145 (all-object-suffixes): Remove .ob.
3146 (bppfx): Remove variable.
3147 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3148 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3149 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3150 [$(build-bounded) = yes] (libtype.ob): Likewise.
3151 * Makerules (elide-routines.ob): Remove variable.
3152 (do-tests-clean): Do not handle *-bp.out.
3153 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3154 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3155 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3156 (tests): Do not include $(tests-bp.out).
3157 (xtests): Do not include $(xtests-bp.out).
3158 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3159 [$(build-bounded) = yes] ($(addprefix
3160 $(objpfx),$(binaries-bounded))): Remove rule.
3161 ($(objpfx)%-bp.out): Remove rule.
3162 * config.make.in (build-bounded): Remove variable.
3163 * crypt/Makefile [$(build-bounded) = yes]
3164 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3165 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3166 append to variable.
3167 [$(build-bounded) = yes] (install-lib): Likewise.
3168 [$(build-bounded) = yes] (generated): Likewise.
3169 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3170 Remove rule.
3171 * intl/Makefile [$(build-bounded) = yes]
3172 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3173 * math/Makefile [$(build-bounded) = yes]
3174 ($(tests:%=$(objpfx)%-bp): Likewise.
3175 * misc/Makefile [$(build-bounded) = yes]
3176 ($(objpfx)tst-tsearch-bp): Likewise.
3177 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3178 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3179 Remove dependency.
3180 * string/Makefile (o-objects.ob): Remove variable.
3181 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3182 (CFLAGS-.ob): Remove variable.
3183 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3184 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3185 both definitions of variable.
3186 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3187 (ASFLAGS-.ob): Remove variable.
3188
e97ed6dd
JM
31892013-02-14 Joseph Myers <joseph@codesourcery.com>
3190
2bdd4ca6
JM
3191 [BZ #13550]
3192 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3193 Remove __BOUNDED_POINTERS__ from condition.
3194 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3195 * string/bits/string2.h [!__NO_STRING_INLINES &&
3196 !__BOUNDED_POINTERS__]: Likewise.
3197 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3198 Likewise.
3199 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3200 Remove conditional code.
3201 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3202 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3203 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3204 condition.
3205
e97ed6dd
JM
3206 [BZ #13550]
3207 * csu/libc-start.c: Do not include <bp-sym.h>.
3208 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3209 * elf/dl-open.c: Do not include <bp-sym.h>.
3210 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3211 * math/fegetenv.c: Do not include <bp-sym.h>.
3212 (fegetenv): Do not use BP_SYM in versioned symbols.
3213 * nptl/sysdeps/pthread/bits/libc-lockP.h
3214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3215 <bp-sym.h>.
3216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3217 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3219 (__pthread_mutex_destroy): Likewise.
3220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3221 (__pthread_mutex_lock): Likewise.
3222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3223 (__pthread_mutex_trylock): Likewise.
3224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3225 (__pthread_mutex_unlock): Likewise.
3226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3227 (__pthread_mutexattr_init): Likewise.
3228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3229 (__pthread_mutexattr_destroy): Likewise.
3230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3231 (__pthread_mutexattr_settype): Likewise.
3232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3233 (__pthread_rwlock_init): Likewise.
3234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3235 (__pthread_rwlock_destroy): Likewise.
3236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3237 (__pthread_rwlock_rdlock): Likewise.
3238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3239 (__pthread_rwlock_tryrdlock): Likewise.
3240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3241 (__pthread_rwlock_wrlock): Likewise.
3242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3243 (__pthread_rwlock_trywrlock): Likewise.
3244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3245 (__pthread_rwlock_unlock): Likewise.
3246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3247 (__pthread_key_create): Likewise.
3248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3249 (__pthread_setspecific): Likewise.
3250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3251 (__pthread_getspecific): Likewise.
3252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3253 Likewise.
3254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3255 (_pthread_cleanup_push_defer): Likewise.
3256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3257 (_pthread_cleanup_pop_restore): Likewise.
3258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3259 (pthread_setcancelstate): Likewise.
3260 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3261 <bp-sym.h>.
3262 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3263 (memchr): Do not use BP_SYM in weak_alias.
3264 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3265 (fegetenv): Do not use BP_SYM in versioned symbols.
3266 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3267 (fesetenv): Do not use BP_SYM in versioned symbols.
3268 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3269 (feupdateenv): Do not use BP_SYM in versioned symbols.
3270 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3271 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3272 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3273 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3274 (open64): Do not use BP_SYM in weak_alias.
3275 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3276 (fegetenv): Do not use BP_SYM in versioned symbols.
3277 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3278 (fesetenv): Do not use BP_SYM in versioned symbols.
3279 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3280 (feupdateenv): Do not use BP_SYM in versioned symbols.
3281 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3282 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3283 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3284 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3285 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3286 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3287 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3288 <bp-sym.h>.
3289 (__libc_start_main): Do not use BP_SYM.
3290
d6752ccd
SP
32912013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3292
cb57ce60
SP
3293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3294 redundant return line.
3295 (norm): Likewise.
3296 (denorm): Likewise.
3297 (dbl_mp): Likewise.
3298 (sub_magnitudes): Likewise.
3299 (__add): Likewise.
3300 (__sub): Likewise.
3301 (__mul): Likewise.
3302 (__inv): Likewise.
3303 (__dvd): Likewise.
3304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3305 (norm): Likewise.
3306 (denorm): Likewise.
3307 (dbl_mp): Likewise.
3308 (sub_magnitudes): Likewise.
3309 (__add): Likewise.
3310 (__sub): Likewise.
3311 (__mul): Likewise.
3312 (__inv): Likewise.
3313 (__dvd): Likewise.
3314
f414520d
SP
3315 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3316 instead of __mul.
3317 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3318 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3319 (cc32): Likewise.
3320
d6752ccd
SP
3321 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3322 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3324 of __mul for squares.
3325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3326 function
3327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3328 Likewise.
3329 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3330 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3331
70d9946a
JM
33322013-02-13 Joseph Myers <joseph@codesourcery.com>
3333
3334 [BZ #13550]
3335 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3336 code.
3337 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3338 prototype or function definition. Rename ubp_* variables and
3339 parameters. Remove argv definitions conditional on
3340 [__BOUNDED_POINTERS__].
3341 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3342 * elf/dl-runtime.c (_dl_fixup): Likewise.
3343 * include/set-hooks.h (RUN_HOOK): Likewise.
3344 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3345 definition.
3346 * string/strcpy.c (strcpy): Do not use __unbounded.
3347 * sysdeps/generic/frame.h (struct layout): Likewise.
3348 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3349 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3350 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3351 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3352 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3353 (__backtrace): Likewise.
3354 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3355 use __ptrvalue.
3356 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3357 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3358 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3359 Likewise.
3360 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3361 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3362 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3363 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3364 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3365 Do not use __unbounded.
3366 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3367 Rename __unboundedrlimits parameter to rlimits in prototype.
3368 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3369 Do not use __unbounded.
3370 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3371 not use __ptrvalue.
3372 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3373 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3374 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3375 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3376 __ptrvalue or __unbounded.
3377 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3378 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3379 use __unbounded.
3380 (__new_msgctl): Do not use __ptrvalue.
3381 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3382 __unbounded.
3383 (__libc_msgrcv): Do not use __ptrvalue.
3384 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3385 startup_info): Do not use __unbounded.
3386 (__libc_start_main): Likewise. Rename ubp_* variables and
3387 parameters. Remove argv definitions conditional on
3388 [__BOUNDED_POINTERS__].
3389 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3390 __ptrvalue.
3391 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3392 use __unbounded.
3393 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3394 or __ptrvalue.
3395 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3396 use __unbounded.
3397 (__new_shmctl): Do not use __ptrvalue.
3398 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3399 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3400 Likewise.
3401 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3403 (__libc_sigaction): Likewise.
3404 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3405 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3408
cc7834d6
OB
34092013-02-13 Ondřej Bílka <neleai@seznam.cz>
3410
ffb1ec7b 3411 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3412
3413 * string/mempcpy.c: Implement by calling memcpy.
3414
bdf02814
SP
34152013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3416
c2af38aa
SP
3417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3418
4e92d59e
SP
3419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3420 evaluation.
3421
909279a5
SP
3422 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3423 values in the mantissa.
3424
bdf02814
SP
3425 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3426 minimize writes to Z.
3427 (sub_magnitudes): Simplify code a bit.
3428
cd525923
RM
34292013-02-12 Roland McGrath <roland@hack.frob.com>
3430
3431 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3432 from the message. The linker prefixes all warnings with that already.
3433
7e2f0d2d
AS
34342013-02-12 Andreas Schwab <schwab@suse.de>
3435
a445af0b
AS
3436 [BZ #15078]
3437 * posix/regexec.c (extend_buffers): Add parameter min_len.
3438 (check_matching): Pass minimum needed length.
3439 (clean_state_log_if_needed): Likewise.
3440 (get_subexp): Likewise.
3441 * posix/Makefile (tests): Add bug-regex34.
3442 (bug-regex34-ENV): Define.
3443 * posix/bug-regex34.c: New file.
3444
7e2f0d2d
AS
3445 [BZ #11561]
3446 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3447 elements compare against the byte sequence of it, not its name.
3448 * posix/Makefile (tests): Add bug-regex35.
3449 (bug-regex35-ENV): Define.
3450 * posix/bug-regex35.c: New file.
3451
a175b684
TV
34522013-02-11 Tom de Vries <tom@codesourcery.com>
3453
3454 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3455 comment.
3456 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3457 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3458 (CHECK_EOL): Add undef.
3459
310998fe 34602013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3461
3462 * bits/stdlib-bsearch.h: New file.
3463 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3464 * stdlib/stdlib.h: Likewise.
41eda41d 3465
8ded91fb
RM
34662013-02-11 Roland McGrath <roland@hack.frob.com>
3467
3468 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3469 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3470 declaration.
3471 * manual/search.texi (Array Search Function): Add missing const in
3472 lfind prototype.
3473 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3474 declaration to use rlim_t.
3475 (Basic Scheduling Functions): Remove erroneous const from
3476 sched_getparam prototype. Remove erroneous * from
3477 sched_get_priority_max and sched_get_priority_min prototypes.
3478 (Resource Usage): Fix summary @comment on vtimes to refer to
3479 sys/vtimes.h rather than vtimes.h.
3480 Add missing *s in vtimes prototype.
3481 (Limits on Resources): Fix ulimit prototype to return long int.
3482 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3483 prototypes to use long int rather than double.
3484 (BSD Random): Fix initstate and setstate to use char *, not void *.
3485 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3486 prototype to make second argument 'struct aiocb64 *const[]'.
3487 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3488 (Status of AIO Operations): Remove erroneous const in aio_return and
3489 aio_return64 prototypes.
3490 (Synchronizing I/O): Fix sync prototype to return void.
3491 * manual/startup.texi (Suboptions): Remove an erroneous const in
3492 getsubopt prototype.
3493 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3494 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3495 use size_t rather than int.
3496 (Scanning All Users): Likewise for getpwent_r.
3497 (Setting Groups): Add missing const to setgroups prototype.
3498 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3499 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3500 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3501 'const void *' rather than 'const char *'.
3502 (Host Address Functions): Likewise for inet_ntop.
3503 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3504 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3505 ssize_t for return value.
3506 (Sending Data): Likewise for send, sendto, sendmsg.
3507 (Socket Option Functions): Add a missing const in setsockopt prototype.
3508 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3509 use wchar_t for the argument.
3510 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3511 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3512 take no arguments.
3513 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3514 double/float/long double for second argument.
3515 Fix return types of significand, significandf, significandl.
3516 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3517 argument in fchmod prototype.
3518 (File Owner): Use uid_t and gid_t in fchown prototype.
3519 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3520 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3521 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3522 use 'const struct dirent **' as argument types to CMP function pointer
3523 argument.
3524 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3525 (File Times): Fix summary magic @comment for struct utimbuf and utime
3526 to refer to utime.h, not time.h.
3527 * manual/string.texi (Argz Functions): Add missing const in
3528 argz_extract and argz_next prototypes.
3529 (Finding Tokens in a String): Likewise for basename.
3530 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3531 (Copying and Concatenation): Fix typo in wmemmove prototype.
3532 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3533 (Signal Stack): Remove erroneous const in sigstack prototype.
3534 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3535 prototype.
3536 (Simple Calendar Time): Likewise for stime.
3537 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3538 prototype.
3539 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3540 say sys/sysctl.h instead.
3541 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3542 and vsyslog prototypes.
3543
fe77fe6d
TV
35442013-02-11 Tom de Vries <tom@codesourcery.com>
3545
3546 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3547 Remove.
3548
3a09b620
RM
35492013-02-11 Roland McGrath <roland@hack.frob.com>
3550
3551 * misc/sys/mman.h: Fix typo in mremap comment.
3552
550a0b89
RM
35532013-02-08 Roland McGrath <roland@hack.frob.com>
3554
3555 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3556 the '\0' terminator.
3557
a2da1673
JM
35582013-02-08 Joseph Myers <joseph@codesourcery.com>
3559
3560 [BZ #13550]
3561 * debug/segfault.c: Don't include <bp-checks.h>.
3562 * sysdeps/generic/bp-checks.h: Remove file.
3563 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3564 (__GETDENTS): Don't use CHECK_N.
3565 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3566 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3567 (__getgroups): Don't use CHECK_N.
3568 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3569 (setgroups): Don't use CHECK_N.
3570 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3571 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3572 (__libc_msgrcv): Don't use CHECK_N.
3573 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3574 (__libc_msgsnd): Don't use CHECK_N.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3576 <bp-checks.h>.
3577 (__libc_pread): Don't use CHECK_N.
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3579 include <bp-checks.h>.
3580 (__libc_pread64): Don't use CHECK_N.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3582 include <bp-checks.h>.
3583 (__libc_pwrite): Don't use CHECK_N.
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3585 include <bp-checks.h>.
3586 (__libc_pwrite64): Don't use CHECK_N.
3587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3588 <bp-checks.h>.
3589 (__libc_pread): Don't use CHECK_N.
3590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3591 include <bp-checks.h>.
3592 (__libc_pread64): Don't use CHECK_N.
3593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3594 include <bp-checks.h>.
3595 (__libc_pwrite): Don't use CHECK_N.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3597 include <bp-checks.h>.
3598 (__libc_pwrite64): Don't use CHECK_N.
3599 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3600 (do_pread): Don't use CHECK_N.
3601 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3602 (do_pread64): Don't use CHECK_N.
3603 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3604 (do_pwrite): Don't use CHECK_N.
3605 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3606 (do_pwrite64): Don't use CHECK_N.
3607 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3608 (__libc_readv): Don't use CHECK_N.
3609 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3610 (semop): Don't use CHECK_N.
3611 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3612 <bp-checks.h>.
3613 (semtimedop): Don't use CHECK_N.
3614 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3615 (__libc_pread): Don't use CHECK_N.
3616 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3617 <bp-checks.h>.
3618 (__libc_pread64): Don't use CHECK_N.
3619 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3620 <bp-checks.h>.
3621 (__libc_pwrite): Don't use CHECK_N.
3622 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3623 <bp-checks.h>.
3624 (__libc_pwrite64): Don't use CHECK_N.
3625 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3626 <bp-checks.h>.
3627 (__libc_msgrcv): Don't use CHECK_N.
3628 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3629 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3630 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3631 (__libc_writev): Don't use CHECK_N.
3632
b84660a8
RM
36332013-02-08 Roland McGrath <roland@hack.frob.com>
3634
7f3e75f8
RM
3635 * string/strcpy.c: Removed unused variable.
3636
b84660a8
RM
3637 * Makeconfig (+sysdep-includes): Define with := rather than =.
3638 Use an existing include/ subdir of each sysdeps dir before it.
3639
471514d3
CD
36402013-02-08 Carlos O'Donell <carlos@redhat.com>
3641
3642 * nscd/connection.c (register_traced_file): Comment function.
3643 [HAVE_INOTIFY] (union __inev): Define.
3644 [HAVE_INOTIFY] (inotify_check_files): New function.
3645 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3646 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3647 clear_db_cache.
3648 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3649
b2d3c3be
CD
36502013-02-08 Carlos O'Donell <carlos@redhat.com>
3651
3652 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3653 loaded if not already and that a failure is permanent.
3654
b39949d2
CD
36552013-02-08 Carlos O'Donell <carlos@redhat.com>
3656
ddacd1db 3657 [BZ #15006]
b39949d2
CD
3658 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3659 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3660
b2c9eff4
JM
36612013-02-08 Joseph Myers <joseph@codesourcery.com>
3662
f3aae3f3
JM
3663 [BZ #13550]
3664 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3665 (CHECK_1_NULL_OK): Likewise.
3666 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3667 (__fxstat): Do not use CHECK_1.
3668 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3669 <bp-checks.h>.
3670 (___fxstat64): Do not use CHECK_1.
3671 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3672 <bp-checks.h>.
3673 (__fxstatat): Do not use CHECK_1.
3674 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3675 <bp-checks.h>.
3676 (__fxstatat64): Do not use CHECK_1.
3677 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3678 <bp-checks.h>.
3679 (__fxstat): Do not use CHECK_1.
3680 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3681 <bp-checks.h>.
3682 (__fxstatat): Do not use CHECK_1.
3683 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3684 <bp-checks.h>.
3685 (__getresgid): Do not use CHECK_1.
3686 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3687 <bp-checks.h>.
3688 (__getresuid): Do not use CHECK_1.
3689 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3690 <bp-checks.h>.
3691 (__lxstat): Do not use CHECK_1.
3692 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3693 <bp-checks.h>.
3694 (__old_msgctl): Do not use CHECK_1.
3695 (__new_msgctl): Likewise.
3696 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3697 <bp-checks.h>.
3698 (__new_setrlimit): Do not use CHECK_1.
3699 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3700 <bp-checks.h>.
3701 (__old_shmctl): Do not use CHECK_1.
3702 (__new_shmctl): Likewise.
3703 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3704 <bp-checks.h>.
3705 (__xstat): Do not use CHECK_1.
3706 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3707 (__lxstat): Do not use CHECK_1.
3708 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3709 <bp-checks.h>.
3710 (___lxstat64): Do not use CHECK_1.
3711 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3712 (__old_msgctl): Do not use CHECK_1.
3713 (__new_msgctl): Likewise.
3714 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3715 <bp-checks.h>.
3716 (__gettimeofday): Do not use CHECK_1.
3717 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3718 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3719 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3720 <bp-checks.h>.
3721 (__gettimeofday): Do not use CHECK_1.
3722 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3723 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3724 (__new_shmctl): Do not use CHECK_1.
3725 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3726 <bp-checks.h>.
3727 (do_sigtimedwait): Do not use CHECK_1.
3728 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3729 <bp-checks.h>.
3730 (do_sigwaitinfo): Do not use CHECK_1.
3731 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3732 <bp-checks.h>.
3733 (msgctl): Do not use CHECK_1.
3734 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3735 <bp-checks.h>.
3736 (shmctl): Do not use CHECK_1.
3737 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3738 (ustat): Do not use CHECK_1.
3739 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3740 <bp-checks.h>.
3741 (__fxstat): Do not use CHECK_1.
3742 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3743 <bp-checks.h>.
3744 (__fxstatat): Do not use CHECK_1.
3745 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
3746 <bp-checks.h>.
3747 (__lxstat): Do not use CHECK_1.
3748 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
3749 <bp-checks.h>.
3750 (__xstat): Do not use CHECK_1.
3751 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
3752 (__xstat): Do not use CHECK_1.
3753 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
3754 (___xstat64): Do not use CHECK_1.
3755
b2c9eff4
JM
3756 [BZ #13550]
3757 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
3758 definitions.
3759 (CHECK_BOUNDS_HIGH): Likewise.
3760 * string/strcpy.c: Do not include <bp-checks.h>.
3761 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
3762
f1d70dad
RM
37632013-02-07 Roland McGrath <roland@hack.frob.com>
3764
3765 * nscd/nscd-client.h (__nscd_drop_map_ref):
3766 Add __attribute__ ((unused)).
3767 * nis/nss-nisplus.h (niserr2nss): Likewise.
3768
3769 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
3770 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
3771
3772 * csu/libc-tls.c (init_static_tls, init_slotinfo):
3773 Remove inline keyword.
3774 * include/rounding-mode.h (round_away): Likewise.
3775 * libio/wfileops.c (adjust_wide_data): Likewise.
3776 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
3777 (__m128i_strloadu_tolower): Likewise.
3778 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
3779 (__m128i_strloadu_tolower): Likewise.
3780 * time/mktime.c (ydhms_diff): Likewise.
3781 * locale/elem-hash.h (elem_hash): Likewise.
3782 * locale/setlocale.c (setdata): Likewise.
3783 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3784 (re_string_wchar_at): Likewise.
3785 (bitset_not, bitset_merge, bitset_mask): Likewise.
3786 [!(__GNUC__ > 3)] (inline): Remove macro.
3787 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3788 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3789 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3790 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3791 * string/memcmp.c (memcmp_bytes): Likewise.
3792 * locale/programs/locarchive.c (compute_hashval): Likewise.
3793 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3794 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3795 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3796 * nss/getent.c (print_rpc, print_protocols): Likewise.
3797 (print_passwd, print_group, print_aliases): Likewise.
3798 * nis/nss-nisplus.h (niserr2nss): Likewise.
3799 * nscd/connections.c (restart_p): Likewise.
3800 Change return type to bool.
3801
eab55bfb
RM
38022013-02-05 Roland McGrath <roland@hack.frob.com>
3803
7bd642f5
RM
3804 * Makeconfig (all-Depend-files): Add existing
3805 $(sorted-subdirs:=/Depend) files.
3806 (all-subdirs): Remove nss.
3807 * sysdeps/unix/inet/Subdirs: Add it here instead.
3808 * hesiod/Depend: New file.
3809
573c29b2
RM
3810 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3811 instead of calling alloca.
3812
b2e25af0
RM
3813 * io/lseek.c (__lseek): Rename to __libc_lseek.
3814 Define __lseek as an alias.
3815
eab55bfb
RM
3816 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3817
9a0d1941
CD
38182013-02-04 Carlos O'Donell <carlos@redhat.com>
3819
3820 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3821 else clause and remove check for non-standard endianness.
3822
b83bbec4
DM
38232013-02-04 David S. Miller <davem@davemloft.net>
3824
3825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3826
6277fdab
JM
38272013-02-04 Joseph Myers <joseph@codesourcery.com>
3828
3829 [BZ #13550]
3830 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3831 (__ubp_memchr): Remove prototype.
3832 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3833 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3834 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3835 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3836 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3837 Remove alias.
3838 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3839 (__ubp_memchr): Likewise.
3840 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3841 (__ubp_memchr): Likewise.
3842 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3843 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3844 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3845 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3846 CHECK_STRING.
3847 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3848 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3849 (__getcwd): Do not use CHECK_STRING.
3850 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3851 <bp-checks.h>.
3852 (__real_chown): Do not use CHECK_STRING.
3853 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3854 <bp-checks.h>.
3855 (fchownat): Do not use CHECK_STRING.
3856 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3857 CHECK_STRING.
3858 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3859 <bp-checks.h>.
3860 (__lchown): Do not use CHECK_STRING.
3861 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3862 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3863 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3864 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3866 include <bp-checks.h>.
3867 (truncate64): Do not use CHECK_STRING.
3868 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3869 <bp-checks.h>.
3870 (__real_chown): Do not use CHECK_STRING.
3871 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3872 <bp-checks.h>.
3873 (__lchown): Do not use CHECK_STRING.
3874 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3875 <bp-checks.h>.
3876 (__chown): Do not use CHECK_STRING.
3877 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3878 <bp-checks.h>.
3879 (truncate64): Do not use CHECK_STRING.
3880 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3881 Likewise.
3882 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3883 (__xmknod): Do not use CHECK_STRING.
3884 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3885 <bp-checks.h>.
3886 (__xmknodat): Do not use CHECK_STRING.
3887 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3888 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3889
903ae060
AS
38902013-02-04 Andreas Schwab <schwab@suse.de>
3891
3892 [BZ #14142]
3893 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3894 * include/netdb.h: Likewise for h_errno.
3895 * elf/tst-stackguard1.c: Include <tls.h>.
3896
542f9466
JK
38972013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3898
3899 * elf/link.h (struct link_map): Extend the l_addr comment.
3900 * include/link.h (struct link_map): Likewise.
3901
e782a927
JM
39022013-02-01 Joseph Myers <joseph@codesourcery.com>
3903
3904 [BZ #13550]
3905 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3906 (BOUNDED_1): Remove macro.
3907 * debug/backtrace.c: Don't include <bp-checks.h>.
3908 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3909 (__backtrace): Likewise.
3910 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3911 <bp-checks.h>.
3912 (__backtrace): Don't use BOUNDED_1.
3913 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3914 <bp-checks.h>.
3915 (__backtrace): Don't use BOUNDED_1.
3916 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3917 (__backtrace): Don't use BOUNDED_1.
3918 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3919 (shmat): Don't use BOUNDED_N.
3920
8cf28c5e
JM
39212013-01-31 Joseph Myers <joseph@codesourcery.com>
3922
3a7ac8a0
JM
3923 [BZ #13550]
3924 * sysdeps/generic/bp-start.h: Remove file.
3925 * csu/libc-start.c: Don't include <bp-start.h>.
3926 (LIBC_START_MAIN): Set up __environ directly instead of using
3927 INIT_ARGV_and_ENVIRON.
3928 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3929 <bp-start.h>.
3930
f3499f95
JM
3931 [BZ #13550]
3932 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3933 definitions.
3934 (CHECK_FCNTL): Likewise.
3935 (CHECK_N_PAGES): Likewise.
3936
32a45bea
JM
3937 [BZ #13550]
3938 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3939 definitions.
3940 (CHECK_SIGSET_NULL_OK): Likewise.
3941 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3942 <bp-checks.h>.
3943 (sigpending): Don't use CHECK_SIGSET.
3944 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3945 <bp-checks.h>.
3946 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3947 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3948 <bp-checks.h>.
3949 (do_sigsuspend): Don't use CHECK_SIGSET.
3950 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3951 use CHECK_SIGSET.
3952 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3953 (do_sigwait): Don't use CHECK_SIGSET.
3954 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3955 use CHECK_SIGSET.
3956 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3957 include <bp-checks.h>.
3958 (sigpending): Don't use CHECK_SIGSET.
3959 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3960 include <bp-checks.h>.
3961 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3962 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3963 <bp-checks.h>.
3964 (sigpending): Don't use CHECK_SIGSET.
3965 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3966 <bp-checks.h>.
3967 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3968
2e8a5c8c
JM
3969 [BZ #13550]
3970 * sysdeps/generic/bp-semctl.h: Remove file.
3971 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3972 <bp-checks.h> and <bp-semctl.h>.
3973 (__old_semctl): Don't use CHECK_SEMCTL.
3974 (__new_semctl): Likewise.
3975 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3976 and <bp-semctl.h>.
3977 (__old_semctl): Don't use CHECK_SEMCTL.
3978 (__new_semctl): Likewise.
3979 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3980 <bp-checks.h> and <bp-semctl.h>.
3981 (__old_semctl): Don't use CHECK_SEMCTL.
3982 (__new_semctl): Likewise.
3983 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3984 <bp-checks.h> and <bp-semctl.h>.
3985 (semctl): Don't use CHECK_SEMCTL.
3986
c2d54929
JM
3987 [BZ #13550]
3988 * Makerules (elide-bp-thunks): Remove variable.
3989 (elide-routines.oS): Don't use $(elide-bp-thunks).
3990 (elide-routines.os): Likewise.
3991 (elide-routines.o): Likewise.
3992 (elide-routines.op): Likewise.
3993 (elide-routines.og): Likewise.
3994 (objects): Don't use $(bp-thunks).
3995 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3996 include.
3997 (common-generated): Do not add s-proto-bp.d.
3998 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3999 (int): Likewise.
4000 (typ): Likewise.
4001 Do not generate makefile rules for bounded-pointer thunks.
4002 * sysdeps/generic/bp-thunks.h: Remove file.
4003 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4004 * sysdeps/unix/s-proto-bp.S: Likewise.
4005
8cf28c5e
JM
4006 [BZ #15062]
4007 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4008 parts of result separately when argument is not close to line from
4009 -i to i and one part of argument is small.
4010 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4011 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4012 * math/libm-test.inc (cacos_test): Add more tests.
4013 (casin_test): Likewise.
4014 (casinh_test): Likewise.
4015 * sysdeps/i386/fpu/libm-test-ulps: Update.
4016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4017
c4e33b8d
DM
40182013-01-31 David S. Miller <davem@davemloft.net>
4019
4020 * po/de.po: Update from translation team.
4021
3b60b421
MK
40222013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4023
4024 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4025
bb931195
TS
40262013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4027
b5a5da23
TS
4028 * configure.in (_AC_PROG_CC_C89): New definition.
4029 * configure: Regenerate.
4030
bb931195
TS
4031 * configure.in (AC_PROG_CPP): New definition.
4032 * configure: Regenerate.
4033
8c53a12c
JM
40342013-01-23 Joseph Myers <joseph@codesourcery.com>
4035
4036 * debug/tst-backtrace.h: New file.
4037 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4038 (ret): Remove variable.
4039 (x): Likewise.
4040 (FAIL): Remove macro.
4041 (NO_INLINE): Likewise.
4042 (fn1): Use match function instead of strstr.
4043 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4044 (ret): Remove variable.
4045 (x): Likewise.
4046 (FAIL): Remove macro.
4047 (NO_INLINE): Likewise.
4048 (fn): Use match function instead of strstr.
4049 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4050 (ret): Remove variable.
4051 (x): Likewise.
4052 (FAIL): Remove macro.
4053 (NO_INLINE): Likewise.
4054 (handle_signal): Use match function instead of strstr.
4055 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4056 (ret): Remove variable.
4057 (x): Likewise.
4058 (FAIL): Remove macro.
4059 (NO_INLINE): Likewise.
4060 (handle_signal): Use match function instead of strstr.
4061
4858fa2a
RM
40622013-01-23 Roland McGrath <roland@hack.frob.com>
4063
4064 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4065
bae8e7f5
DM
40662013-01-23 David S. Miller <davem@davemloft.net>
4067
4068 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4069 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4070 argument of CAS if possible.
4071 * sysdeps/sparc/sparc64/bits/atomic.h
4072 (__arch_compare_and_exchange_val_32_acq): Likewise.
4073 (__arch_compare_and_exchange_val_64_acq): Likewise.
4074
9cbbc4ae
PT
40752013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4076
4077 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4078 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4079 Include <limits.h>.
67b3f58c 4080 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4081
5655a0b5
AC
40822013-01-23 Adam Conrad <adconrad@0c3.net>
4083
4084 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4085 (LDFLAGS-tst-array5): Likewise.
4086
052aff95
JM
40872013-01-23 Joseph Myers <joseph@codesourcery.com>
4088
4089 [BZ #15036]
4090 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4091 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4092 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4093 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4094
7c1e01aa
DM
40952013-01-21 David S. Miller <davem@davemloft.net>
4096
4097 * sysdeps/sparc/backtrace.c: New file.
4098 * sysdeps/sparc/sparc32/backtrace.h: New file.
4099 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4100 * sysdeps/sparc/sparc64/backtrace.h: New file.
4101 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4102 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4103 -funwind-tables.
4104
ab087e0a
AS
41052013-01-21 Andreas Schwab <schwab@suse.de>
4106
4107 [BZ #15020]
4108 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4109 closed its stdout.
4110
ed689c2f
AS
41112013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4112
4113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4114 "mpa2.h".
4115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4116
31d470ac
JM
41172013-01-18 Joseph Myers <joseph@codesourcery.com>
4118 Mark Mitchell <mark@codesourcery.com>
4119 Tom de Vries <tom@codesourcery.com>
4120 Paul Pluzhnikov <ppluzhnikov@google.com>
4121
4122 * debug/tst-backtrace2.c: New file.
4123 * debug/tst-backtrace3.c: Likewise.
4124 * debug/tst-backtrace4.c: Likewise.
4125 * debug/tst-backtrace5.c: Likewise.
4126 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4127 (CFLAGS-tst-backtrace3.c): Likewise.
4128 (CFLAGS-tst-backtrace4.c): Likewise.
4129 (CFLAGS-tst-backtrace5.c): Likewise.
4130 (LDFLAGS-tst-backtrace2): Likewise.
4131 (LDFLAGS-tst-backtrace3): Likewise.
4132 (LDFLAGS-tst-backtrace4): Likewise.
4133 (LDFLAGS-tst-backtrace5): Likewise.
4134 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4135 tst-backtrace4 and tst-backtrace5.
4136
90567f30 41372013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4138 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4139
4140 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4141 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4142 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4143 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4145 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4146 "+r" and remove output regs list as redundant. Add explicit inline
4147 asm to specify register of return val to work around compiler codegen
4148 bug. Remove (int) cast on return value. Add return type parameter to
4149 use in macro so that this macro does not truncate return value for
4150 64-bit values.
4151 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4152 pass to INTERNAL_VSYSCALL_NCS.
4153 (INLINE_VSYSCALL): Add 'long int' as return type to
4154 INTERNAL_VSYSCALL_NCS macro invocation.
4155 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4156 INTERNAL_VSYSCALL_NCS macro invocation.
4157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4158
d3b9ea61
SP
41592013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4160
0b57daeb
SP
4161 [BZ #14496]
4162 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4163 Fix application of SIMD FP exception mask.
4164
caa99d06
SP
4165 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4166 mp_no from a power of two.
4167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4168 __mpexp_twomm1. Use __pow_mp.
4169
d3b9ea61
SP
4170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4171 multiplication.
4172
1dbaee3c
DM
41732013-01-17 David S. Miller <davem@davemloft.net>
4174
4175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4176
728d7b43
JM
41772013-01-17 Joseph Myers <joseph@codesourcery.com>
4178
4179 [BZ #15023]
4180 * include/complex.h: Condition contents on [!_COMPLEX_H].
4181 (__kernel_casinhf): New prototype.
4182 (__kernel_casinh): Likewise.
4183 (__kernel_casinhl): Likewise.
4184 * math/Makefile (libm_calls): Add k_casinh.
4185 * math/k_casinh.c: New file.
4186 * math/k_casinhf.c: Likewise.
4187 * math/k_casinhl.c: Likewise.
4188 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4189 finite nonzero arguments.
4190 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4191 finite nonzero arguments.
4192 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4193 finite nonzero arguments.
4194 * math/s_casinh.c: Do not include <float.h>.
4195 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4196 * math/s_casinhf.c: Do not include <float.h>.
4197 (__casinhf): Move code for finite nonzero arguments to
4198 k_casinhf.c.
4199 * math/s_casinhl.c: Do not include <float.h>.
4200 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4201 redefine.
4202 (__casinhl): Move code for finite nonzero arguments to
4203 k_casinhl.c.
4204 * math/libm-test.inc (cacos_test): Add more tests.
4205 * sysdeps/i386/fpu/libm-test-ulps: Update.
4206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4207
2a26ef3a
PT
42082013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4209
4210 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4211 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4212 [!HAVE_MREMAP]: Remove [defined linux] case.
4213 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4214
a897655d
SP
42152013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4216
4217 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4218
881ebe89 42192013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4220
4221 * elf/elf.h (R_386_SIZE32): New relocation.
4222 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4223 R_386_SIZE32.
4224 (elf_machine_rela): Likewise.
4225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4226 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4227
59981e9b
JM
42282013-01-17 Joseph Myers <joseph@codesourcery.com>
4229
4230 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4231 (FP_FAST_FMA): Do not define.
4232 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4233 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4234 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4235 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4236 !_SOFT_FLOAT]: Likewise.
4237 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4238 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4239 value.
4240 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4241 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4242 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4243 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4244 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4245 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4246 file.
4247
cfa8054f
AS
42482013-01-16 Andreas Schwab <schwab@suse.de>
4249
4250 [BZ #14327]
4251 * include/stdlib.h (__mktemp): Add declaration.
4252 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4253 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4254
dd930cc5
SP
42552013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4256
881ebe89
SP
4257 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4258 definitions.
4259 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4260 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4261 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4262 definitions here.
4263 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4264 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4265 definitions.
4266 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4267 and ONE.
4268 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4269 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4270 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4271 definitions.
4272 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4273 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4274 definitions.
4275 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4276
dd930cc5
SP
4277 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4278
c19a9f89
DM
42792013-01-15 David S. Miller <davem@davemloft.net>
4280
1aa61767
DM
4281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4282 trunc{,f} to libm-sysdep_routes.
4283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4285 file.
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4288 file.
4289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4290 file.
4291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4293 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4294 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4295 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4296 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4297 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4298 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4299
c42d5e98
DM
4300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4301 nearbyint{,f} to libm-sysdep_routes.
4302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4304 New file.
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4306 file.
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4308 New file.
4309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4310 file.
4311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4313 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4314 file.
4315 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4316 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4317 file.
4318 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4319 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4320 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4321
c19a9f89
DM
4322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4323 libc_feholdexcept and libc_fesetenv.
4324
357679d2
MF
43252013-01-15 Mike Frysinger <vapier@gentoo.org>
4326
4327 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4328
65a82e3d
DM
43292013-01-14 David S. Miller <davem@davemloft.net>
4330
8b954ab9
DM
4331 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4332 (SPARC_ASM_VIS2_IFUNC): Likewise.
4333 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4335 use of 'siam' instruction.
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4337 Likewise.
4338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4339 Likewise.
4340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4341 Likewise.
4342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4347 file.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4349 file.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4351 file.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4353 file.
4354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4359 new VIS2 routines.
4360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4363 Likewise.
4364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4369 routines to libm-sysdep_routines.
4370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4371
65a82e3d
DM
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4373 fdim/fdimf to libm-sysdep_routines.
4374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4375 file.
4376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4378 file.
4379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4382 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4383 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4384 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4385 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4386
e34ab705
SP
43872013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4388
2a91b573
SP
4389 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4390 to optimize copies.
4391
1066a534
SP
4392 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4395
e34ab705
SP
4396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4397 local variable MPTWO.
4398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4399 Likewise.
4400
aba5e596
MF
44012013-01-13 Mike Frysinger <vapier@gentoo.org>
4402
4403 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4404 GLOB_NOESCAPE.
4405
e557e9e5
MF
44062013-01-13 Mike Frysinger <vapier@gentoo.org>
4407
4408 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4409
0428cec9
MF
44102013-01-13 Mike Frysinger <vapier@gentoo.org>
4411
4412 * manual/pattern.texi (glob_t): Document gl_flags.
4413 (glob64_t): Likewise.
4414
8794a964
DM
44152013-01-11 David S. Miller <davem@davemloft.net>
4416
66438c3f
RM
4417 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4418 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4419 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4420 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4421 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4422 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4423 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4424 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4425 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4426 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4427 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4428 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4429 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4430
4ae4244d
DM
4431 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4432 sparc V9 rather than using V8 code.
4433 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4434 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4435
8794a964
DM
4436 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4437 Move to...
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4439 Here.
4440
6270516e
RM
44412013-01-11 Roland McGrath <roland@hack.frob.com>
4442
4443 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4444 not in the main loop.
4445 * configure: Regenerated.
4446
6a57d931
JM
44472013-01-11 Joseph Myers <joseph@codesourcery.com>
4448
4449 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4450 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4451 to just #else.
4452 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4453 [!__GLIBC_HAVE_LONG_LONG] case.
4454 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4455 condition to just #else.
4456 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4457 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4458 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4459 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4460 unconditional.
4461 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4462 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4463 #elif condition to just #else.
4464 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4465 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4466 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4467 #elif condition to just #else.
4468
0e8529e9
SE
44692013-01-11 Steve Ellcey <sellcey@mips.com>
4470
4471 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4472 (EF_MIPS_ARCH_64): Fix value.
4473 (EF_MIPS_ARCH_32R2): New.
4474 (EF_MIPS_ARCH_64R2): New.
4475
740b3dbe
L
44762013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4477
4478 * Makeconfig (+link-pie-before-libc): New.
4479 (+link-pie-after-libc): Likewise.
4480 (+link-pie-tests): Likewise.
4481 (+link-pie): Rewritten.
4482 (link-before-libc): Remove $(config-LDFLAGS).
4483 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4484 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4485 (config-LDFLAGS): Renamed to ...
4486 (rtld-LDFLAGS): This.
4487 (rtld-tests-LDFLAGS): New macro.
4488 (link-libc-rpath-link): Likewise.
4489 (link-libc-tests-rpath-link): Likewise.
4490 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4491 (link-libc): Prepand $(link-libc-rpath-link).
4492 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4493 (test-program-prefix): New macro.
4494 (test-via-rtld-prefix): Likewise.
4495 (test-program-cmd): Likewise.
4496 (host-test-program-cmd): Likewise.
4497 * Makefile ($(common-objpfx)testrun.sh): Replace
4498 $(run-program-prefix) with $(test-program-prefix).
4499 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4500 $(rtld-LDFLAGS).
4501 ($(common-objpfx)shlib.lds): Likewise.
4502 (build-module-helper): Likewise.
4503 ($(common-objpfx)format.lds): Likewise.
4504 * Rules (binaries-pie-tests): New.
4505 (binaries-pie-notests): Likewise.
4506 (binaries-pie): Rewritten.
4507 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4508 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4509 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4510 (make-test-out): Replace $(host-built-program-cmd) with
4511 $(host-test-program-cmd).
4512 * config.make.in (build-hardcoded-path-in-tests): New variable.
4513 * configure.in (--enable-hardcoded-path-in-tests): New configure
4514 option.
4515 (hardcoded_path_in_tests): New AC_SUBST.
4516 * configure: Regenerated.
4517 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4518 $(built-program-cmd) with $(test-program-cmd).
4519 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4520 (test_program_cmd): This.
4521 * elf/Makefile ($(objpfx)order.out): Run test with
4522 $(test-program-prefix).
4523 ($(objpfx)order2.out): Likewise.
4524 ($(objpfx)tst-initorder.out): Likewise.
4525 ($(objpfx)tst-initorder2.out): Likewise.
4526 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4527 $(test-program-cmd).
4528 ($(objpfx)tst-array1-static.out): Likewise.
4529 ($(objpfx)tst-array2.out): Likewise.
4530 ($(objpfx)tst-array3.out): Likewise.
4531 ($(objpfx)tst-array4.out): Likewise.
4532 ($(objpfx)tst-array5.out): Likewise.
4533 ($(objpfx)tst-array5-static.out): Likewise.
4534 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4535 $(test-program-cmd).
4536 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4537 $(run-program-prefix) with $(test-program-prefix).
4538 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4539 (test_program_prefix): This.
4540 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4541 $(run-program-prefix) with $(test-program-prefix).
4542 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4543 (test_program_prefix): This.
4544 * iconvdata/tst-tables.sh: Likewise.
4545 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4546 $(run-program-prefix) with $(test-program-prefix).
4547 ($(objpfx)tst-translit.out): Likewise.
4548 ($(objpfx)tst-gettext2.out): Likewise.
4549 ($(objpfx)tst-gettext4.out): Likewise.
4550 ($(objpfx)tst-gettext6.out): Likewise.
4551 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4552 (test_program_prefix): This.
4553 * intl/tst-gettext2.sh: Likewise.
4554 * intl/tst-gettext4.sh Likewise.
4555 * intl/tst-gettext6.sh: Likewise.
4556 * intl/tst-translit.sh: Likewise.
4557 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4558 with $(test-program-cmd).
4559 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4560 $(run-program-prefix) with $(test-program-prefix).
4561 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4562 (test_program_prefix): This.
4563 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4564 $(run-program-prefix) with $(test-program-prefix).
4565 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4566 (test_program_prefix): This.
4567 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4568 * posix/Makefile ($(objpfx)globtest.out): Replace
4569 $(run-via-rtld-prefix) and $(test-wrapper) with
4570 $(test-program-prefix) and $(test-via-rtld-prefix).
4571 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4572 $(test-program-prefix).
4573 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4574 $(host-test-program-cmd).
4575 (tst-spawn-ARGS): Likewise.
4576 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4577 $(test-program-prefix).
4578 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4579 (test_via_rtld_prefix): This.
4580 (test_wrapper): Renamed to ...
4581 (test_program_prefix): This.
4582 (run_program_prefix): Replaced by test_program_prefix.
4583 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4584 (test_program_prefix): This.
4585 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4586 with $(host-test-program-cmd).
4587 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4588 $(run-program-prefix) with $(test-program-prefix).
4589 ($(objpfx)tst-printf.out): Likewise.
4590 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4591 $(test-program-cmd).
4592 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4593 (test_program_prefix): This.
4594 * stdio-common/tst-unbputc.sh: Likewise.
4595 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4596 $(run-program-prefix) with $(test-program-prefix).
4597 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4598 (test_program_prefix): This.
4599 * string/Makefile ($(objpfx)tst-svc.out): Replace
4600 $(built-program-cmd) with $(test-program-cmd).
4601
c6fe55cf
AJ
46022013-01-11 Andreas Jaeger <aj@suse.de>
4603
4604 [BZ #15003]
4605 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4606 value. Sync with Linux 3.7.
4607
9e6919c8
DM
46082013-01-10 David S. Miller <davem@davemloft.net>
4609
4610 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4611 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4612 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4613
1c9f1a02
RM
46142013-01-10 Roland McGrath <roland@hack.frob.com>
4615
4616 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4617 never set.
4618 * configure: Regenerated.
4619
b9de2dde
DM
46202013-01-10 David S. Miller <davem@davemloft.net>
4621
4622 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4623 sparc V9 rather than using V8 code.
4624 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4625 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4626
e7f68ef4
RM
46272013-01-10 Roland McGrath <roland@hack.frob.com>
4628
4629 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4630 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4631 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4632 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4633 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4634 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4635 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4636 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4637 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4638 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4639 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4640 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4641 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4642 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4643 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4644 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4645 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4646 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4647 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4648 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4649 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4650 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4651 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4652 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4653 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4654 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4655 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4656
5a47cc9c
DM
46572013-01-10 David S. Miller <davem@davemloft.net>
4658
4659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4660
4cf8f209
L
46612013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4662
4663 * posix/Makefile (tests-static): New variable.
4664 (tests): Add $(tests-static).
4665 (tst-exec-static-ARGS): New variable.
4666 (tst-spawn-static-ARGS): Likewise.
4667 * posix/tst-exec-static.c: New file.
4668 * posix/tst-spawn-static.c: Likewise.
4669 * posix/tst-exec.c: Support run directly.
4670 * posix/tst-spawn.c: Likewise.
4671
fed0faa1
JM
46722013-01-10 Joseph Myers <joseph@codesourcery.com>
4673
828beb13
JM
4674 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4675 long.
4676 * math/bits/mathcalls.h (llrint): Likewise.
4677 (llround): Likewise.
4678 * stdlib/stdlib.h (struct drand48_data): Likewise.
4679 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4680 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4681 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4682 Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4684 Likewise.
4685 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4686 (elf_greg_t): Likewise.
4687 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4688 (__jmp_buf): Likewise.
4689 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4690 definitions.
4691 (llrint): Likewise, for all definitions.
4692 (llrintl): Likewise.
4693
fed0faa1
JM
4694 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4695 Remove [__GNUC__] condition.
4696 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4697 condition to just [__USE_ISOC99].
4698 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4699
1a20cb20
L
47002013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 [BZ #14200]
4703 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4704 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4705 defined.
4706 (_POSIX_V6_ILP32_OFF32): Likewise.
4707 (_XBS5_ILP32_OFF32): Likewise.
4708 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4709 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4710
751b85f7
SP
47112013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
7490eb81
SP
4713 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4714
751b85f7
SP
4715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4716 doubles __mpexp_twomm1. Adjust usage.
4717 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4718 Remove.
4719
988197f0
AS
47202013-01-10 Andreas Schwab <schwab@suse.de>
4721
4722 [BZ #14964]
4723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4724 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4725
e83d7298
DM
47262013-01-09 David S. Miller <davem@davemloft.net>
4727
034ed64b 4728 [BZ #15003]
e83d7298
DM
4729 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4730 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4731 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4732 TCP_FASTOPEN): Define.
4733 (tcp_repair_opt): New structure.
4734 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4735 enum values.
4736 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4737 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4738 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4739 (tcp_cookie_transactions): New structure.
4740
d5e0b9bd
AB
47412013-01-09 Anton Blanchard <anton@samba.org>
4742
4743 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
4744 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
4745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
4746 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4747
0c07e3ea
JM
47482013-01-09 Joseph Myers <joseph@codesourcery.com>
4749
4750 * include/features.h (__USE_ANSI): Remove.
4751
232f7002
RM
47522013-01-09 Roland McGrath <roland@hack.frob.com>
4753
ad98e30c
RM
4754 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
4755
232f7002
RM
4756 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
4757
950c99ca
SP
47582013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
4759
b5792741
SP
4760 * sysdeps/s390/fpu/libm-test-ulps: Update.
4761
47cf2278
SP
4762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4763
950c99ca
SP
4764 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
4765 (__acr): Likewise.
4766 (__cpy): Likewise.
4767 (norm): Likewise.
4768 (denorm): Likewise.
4769 (__mp_dbl): Likewise.
4770 (__dbl_mp): Likewise.
4771 (add_magnitudes): Likewise.
4772 (sub_magnitudes): Likewise.
4773 (__add): Likewise.
4774 (__sub): Likewise.
4775 (__mul): Likewise.
4776 (__inv): Likewise.
4777 (__dvd): Likewise.
4778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
4779 (__acr): Likewise.
4780 (__cpy): Likewise.
4781 (norm): Likewise.
4782 (denorm): Likewise.
4783 (__mp_dbl): Likewise.
4784 (__dbl_mp): Likewise.
4785 (add_magnitudes): Likewise.
4786 (sub_magnitudes): Likewise.
4787 (__add): Likewise.
4788 (__sub): Likewise.
4789 (__mul): Likewise.
4790 (__inv): Likewise.
4791 (__dvd): Likewise.
4792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4793 (__acr): Likewise.
4794 (__cpy): Likewise.
4795 (norm): Likewise.
4796 (denorm): Likewise.
4797 (__mp_dbl): Likewise.
4798 (__dbl_mp): Likewise.
4799 (add_magnitudes): Likewise.
4800 (sub_magnitudes): Likewise.
4801 (__add): Likewise.
4802 (__sub): Likewise.
4803 (__mul): Likewise.
4804 (__inv): Likewise.
4805 (__dvd): Likewise.
4806
eede9df9
JM
48072013-01-08 Joseph Myers <joseph@codesourcery.com>
4808
4809 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4810 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4811 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4812 2 && __USE_EXTERN_INLINES]: Likewise.
4813
c40ea3d9
AJ
48142013-01-08 Andreas Jaeger <aj@suse.de>
4815
4816 [BZ# 14985]
4817 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4818 Remove.
4819 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4820 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4821
2ccdea26
AB
48222013-01-07 Anton Blanchard <anton@samba.org>
4823
4824 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4825 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4826 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4827 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4828 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4829 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4830 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4831 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4833 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4834 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4836 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4837 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4838 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4839 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4841 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4842 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4843 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4844 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4845 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4846 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4847 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4848 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4849 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4850 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4851 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4853 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4854 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4856 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4857 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4858 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4859 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4860 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4861 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4862 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4863 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4864 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4865 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4866 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4867
a9708fed
JM
48682013-01-07 Joseph Myers <joseph@codesourcery.com>
4869
375607b9
JM
4870 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4871 (__MALLOC_PMT): Likewise.
4872 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4873 [__GNUC__], only on [_LIBC].
4874 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4875 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4876 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4877 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4878 forward declaration.
4879 (realloc_hook_ini): Likewise.
4880 (memalign_hook_ini): Likewise.
4881 (__libc_memalign): Do not use __MALLOC_PMT in variable
4882 declaration.
4883 (__libc_valloc): Likewise.
4884 (__libc_pvalloc): Likewise.
4885 (__libc_calloc): Likewise.
4886 (__posix_memalign): Likewise.
4887
a9708fed
JM
4888 [BZ #14996]
4889 * math/s_casinh.c: Include <float.h>.
4890 (__casinh): Do not do computation with squaring and square root
4891 for large arguments.
4892 * math/s_casinhf.c: Include <float.h>.
4893 (__casinhf): Do not do computation with squaring and square root
4894 for large arguments.
4895 * math/s_casinhl.c: Include <float.h>.
4896 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4897 (__casinhl): Do not do computation with squaring and square root
4898 for large arguments.
4899 * math/libm-test.inc (casin_test): Add more tests.
4900 (casinh_test): Likewise.
4901 * sysdeps/i386/fpu/libm-test-ulps: Update.
4902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4903
afec409a
L
49042013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4905
4906 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4907 (__x86_64_raw_data_cache_size): Likewise.
4908 (__x86_64_data_cache_size_half): Likewise.
4909 (__x86_64_raw_data_cache_size_half): Likewise.
4910 (__x86_64_shared_cache_size): Likewise.
4911 (__x86_64_raw_shared_cache_size): Likewise.
4912 (__x86_64_shared_cache_size_half): Likewise.
4913 (__x86_64_raw_shared_cache_size_half): Likewise.
4914 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4915 to ...
4916 (__x86_data_cache_size): This.
4917 (__x86_64_raw_data_cache_size): Renamed to ...
4918 (__x86_raw_data_cache_size): This.
4919 (__x86_64_data_cache_size_half): Renamed to ...
4920 (__x86_data_cache_size_half): This.
4921 (__x86_64_raw_data_cache_size_half): Renamed to ...
4922 (__x86_raw_data_cache_size_half): This.
4923 (__x86_64_shared_cache_size): Renamed to ...
4924 (__x86_shared_cache_size): This.
4925 (__x86_64_raw_shared_cache_size): Renamed to ...
4926 (__x86_raw_shared_cache_size): This.
4927 (__x86_64_shared_cache_size_half): Renamed to ...
4928 (__x86_shared_cache_size_half): This.
4929 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4930 (__x86_raw_shared_cache_size_half): This.
4931 * sysdeps/x86_64/memcpy.S: Updated.
4932 * sysdeps/x86_64/memset.S: Likewise.
4933 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4934 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4935 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4936
0b3986d0
DM
49372013-01-04 David S. Miller <davem@davemloft.net>
4938
4939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4940
e47686e9
AS
49412013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4942
d643bac1
AS
4943 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4944 1 to avoid redefinition warning.
4945 (__USE_GNU): Don't define.
4946 (init_signaling_nan): Protoize.
4947
e47686e9
AS
4948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4949
b18decba
SP
49502013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4951
fffb407f
SP
4952 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4954 (__cpymn): Likewise.
4955 (norm): Remove commented code.
4956 (denorm): Likewise.
4957 (__mp_dbl): Likewise.
4958 (__inv): Likewise.
4959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4960 (__cpymn): Likewise.
4961 (norm): Remove commented code.
4962 (denorm): Likewise.
4963 (__mp_dbl): Likewise.
4964 (__inv): Likewise.
4965
b18decba
SP
4966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4967 mp_no value for 1.0 and 2.0.
4968 (norm): Use RADIXI instead of radixi.d.
4969 (denorm): Likewise.
4970 (__mul): Use 0.0 instead of zero.d.
4971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4972 mp_no value for 1.0 and 2.0.
4973 (norm): Use RADIXI instead of radixi.d.
4974 (denorm): Likewise.
4975 (__mul): Use 0.0 instead of zero.d.
4976
cdc1c96f
JM
49772013-01-04 Joseph Myers <joseph@codesourcery.com>
4978
4979 [BZ #14994]
4980 * math/s_casinh.c (__casinh): Reduce finite argument to first
4981 quadrant then set signs of results at the end.
4982 * math/s_casinhf.c (__casinhf): Likewise.
4983 * math/s_casinhl.c (__casinhl): Likewise.
4984 * math/libm-test.inc (casin_test): Add more tests.
4985 (casinh_test): Likewise.
4986 * sysdeps/i386/fpu/libm-test-ulps: Update.
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4988
302913e1
SP
49892013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4990
6420d207
SP
4991 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4992
a9e48ab4
SP
4993 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4994
b7837264
SP
4995 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4996 declarations.
4997 (denorm): Likewise.
4998 (__mp_dbl): Likewise.
4999 (__inv): Likewise.
5000
f8af25d2
SP
5001 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5002 and adjust the header comment.
5003
302913e1
SP
5004 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5005 variable name from declaration.
5006
5d7dd1ca
L
50072013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5008
5009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5010 Initialize COMMON_CPUID_INDEX_7 element.
5011 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5012 (CPUID_RTM): Likewise.
5013 (HAS_RTM): Likewise.
5014 (COMMON_CPUID_INDEX_7): New enum.
5015
2f5f40f4
AS
50162013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5017
5018 [BZ #14981]
5019 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5020 size is zero, record memory as freed.
5021
4056f4a0
AJ
50222013-01-03 Andreas Jaeger <aj@suse.de>
5023
5024 * po/ia.po: Add new Interlingua translation.
5025
ab15736f 50262012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5027
5028 * locale/programs/localedef.c: Fix description of '--posix' flag.
5029
568035b7
JM
50302013-01-02 Joseph Myers <joseph@codesourcery.com>
5031
e6898b8d
JM
5032 * NEWS: Update dates in second copyright notice.
5033 * README: Update copyright dates in example.
5034 * manual/libc.texinfo: Update copyright dates.
5035 * scripts/test-installation.pl: Update copyright date in --version
5036 output.
5037
0e2f9562
JM
5038 * hurd/ctty-input.c: Fix copyright notice formatting.
5039 * hurd/ctty-output.c: Likewise.
5040 * hurd/dtable.c: Likewise.
5041 * hurd/hurd-raise.c: Likewise.
5042 * hurd/hurdprio.c: Likewise.
5043 * hurd/msgportdemux.c: Likewise.
5044 * misc/sys/file.h: Likewise.
5045 * misc/sys/ioctl.h: Likewise.
5046 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5047 * sysdeps/mach/hurd/chdir.c: Likewise.
5048 * sysdeps/mach/hurd/fchdir.c: Likewise.
5049 * sysdeps/mach/hurd/rename.c: Likewise.
5050 * sysdeps/mach/hurd/rmdir.c: Likewise.
5051 * sysdeps/mach/hurd/seekdir.c: Likewise.
5052 * sysdeps/mach/hurd/setsid.c: Likewise.
5053 * sysdeps/posix/wait3.c: Likewise.
5054
568035b7
JM
5055 * All files with FSF copyright notices: Update copyright dates
5056 using scripts/update-copyrights.
5057 * intl/plural.c: Regenerated.
5058 * locale/programs/charmap-kw.h: Likewise.
5059 * locale/programs/locfile-kw.h: Likewise.
5060
da08f647
SP
50612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5062
0f5477af
SP
5063 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5064 four values.
5065
44e0d4c2
SP
5066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5067 calculation loop and add branch prediction.
5068
4d55b4e5
SP
5069 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5070 check access beyond bounds of m1np.
5071
da08f647
SP
5072 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5073 MPTWO.
5074 (__inv): Remove local variable MPTWO to use the global
5075 constant.
5076 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5077 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5078 variable MPTWO.
5079 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5080 MP3HALFS static const.
5081
8e051029
DM
50822013-01-01 David S. Miller <davem@davemloft.net>
5083
5084 * po/ca.po: Update from translation team.
5085
f4cf5f2d
JM
50862013-01-01 Joseph Myers <joseph@codesourcery.com>
5087
5088 * scripts/update-copyrights: New file.
5089 * Makeconfig: Reformat copyright notice.
5090 * ctype/ctype.h: Likewise.
5091 * debug/swprintf_chk.c: Likewise.
5092 * elf/dl-cache.c: Likewise.
5093 * elf/dl-debug.c: Likewise.
5094 * elf/dl-object.c: Likewise.
5095 * grp/initgroups.c: Likewise.
5096 * hurd/Makefile: Likewise.
5097 * hurd/hurd/signal.h: Likewise.
5098 * hurd/hurdfault.c: Likewise.
5099 * hurd/hurdioctl.c: Likewise.
5100 * hurd/hurdlookup.c: Likewise.
5101 * hurd/intr-msg.c: Likewise.
5102 * iconv/gconv_open.c: Likewise.
5103 * libio/swprintf.c: Likewise.
5104 * locale/lc-ctype.c: Likewise.
5105 * locale/nl_langinfo.c: Likewise.
5106 * mach/Machrules: Likewise.
5107 * mach/Makefile: Likewise.
5108 * malloc/obstack.h: Likewise.
5109 * manual/Makefile: Likewise.
5110 * manual/tsort.awk: Likewise.
5111 * misc/bits/stab.def: Likewise.
5112 * nis/nis_print_group_entry.c: Likewise.
5113 * nis/nis_table.c: Likewise.
5114 * nis/nss_compat/compat-pwd.c: Likewise.
5115 * nis/nss_compat/compat-spwd.c: Likewise.
5116 * po/Makefile: Likewise.
5117 * posix/fnmatch.c: Likewise.
5118 * posix/regex.h: Likewise.
5119 * resolv/Makefile: Likewise.
5120 * resolv/nss_dns/dns-network.c: Likewise.
5121 * resolv/res_hconf.c: Likewise.
5122 * scripts/gen-sorted.awk: Likewise.
5123 * soft-fp/soft-fp.h: Likewise.
5124 * stdio-common/printf.h: Likewise.
5125 * stdlib/monetary.h: Likewise.
5126 * stdlib/random.c: Likewise.
5127 * stdlib/random_r.c: Likewise.
5128 * sysdeps/generic/Makefile: Likewise.
5129 * sysdeps/gnu/Makefile: Likewise.
5130 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5131 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5132 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5134 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5137 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5138 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5139 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5141 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5142 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5143 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5144 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5146 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5148 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5150 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5151 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5152 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5153 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5154 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5155 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5156 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5157 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5158 * sysdeps/mach/hurd/errnos.awk: Likewise.
5159 * sysdeps/mach/hurd/fork.c: Likewise.
5160 * sysdeps/mach/hurd/getcwd.c: Likewise.
5161 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5162 * sysdeps/mach/hurd/mmap.c: Likewise.
5163 * sysdeps/mach/hurd/utimes.c: Likewise.
5164 * sysdeps/mach/hurd/xmknod.c: Likewise.
5165 * sysdeps/posix/profil.c: Likewise.
5166 * sysdeps/posix/readdir_r.c: Likewise.
5167 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5168 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5169 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5170 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5172 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5173 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5174 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5175 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5176 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5177 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5178 * sysdeps/pthread/lio_listio.c: Likewise.
5179 * sysdeps/sparc/dl-procinfo.h: Likewise.
5180 * sysdeps/unix/i386/sysdep.S: Likewise.
5181 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5182 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5183 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5184 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5186 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5187 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5188 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5189 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5190 * sysdeps/wordsize-32/divdi3.c: Likewise.
5191 * time/sys/time.h: Likewise.
5192 * wcsmbs/Makefile: Likewise.
5193
0549fbba
DM
51942013-01-01 David S. Miller <davem@davemloft.net>
5195
a141f1a7
DM
5196 * po/fr.po: Update from translation team.
5197
0549fbba
DM
5198 * catgets/gencat.c: Update copyright year.
5199 * csu/version.c: Likewise.
5200 * debug/catchsegv.sh: Likewise.
5201 * debug/pcprofiledump.c: Likewise.
5202 * debug/xtrace.sh: Likewise.
5203 * elf/ldconfig.c: Likewise.
5204 * elf/ldd.bash.in: Likewise.
5205 * elf/pldd.c: Likewise.
5206 * elf/sotruss.ksh: Likewise.
5207 * elf/sprof.c: Likewise.
5208 * iconv/iconv_prog.c: Likewise.
5209 * iconv/iconvconfig.c: Likewise.
5210 * locale/programs/locale.c: Likewise.
5211 * locale/programs/localedef.c: Likewise.
5212 * login/programs/pt_chown.c: Likewise.
5213 * malloc/memusage.sh: Likewise.
5214 * malloc/memusagestat.c: Likewise.
5215 * malloc/mtrace.pl: Likewise.
5216 * nscd/nscd.c: Likewise.
5217 * nss/getent.c: Likewise.
5218 * nss/makedb.c: Likewise.
5219 * posix/getconf.c: Likewise.
5220
18ea052c
SP
52212012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5222
5223 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5224 numbers.
5225
9c89fca6
MF
52262012-12-30 Mike Frysinger <vapier@gentoo.org>
5227
5228 * math/bits/mathcalls.h (modf): Use __nonnull.
5229
085ec079
SP
52302012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5233 (split): Use macro CN instead of the bare value.
5234 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5235 could be used.
5236 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5237 instead of the bare value.
5238 (power1): Likewise.
5239
6d9f97e1
SP
52402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5241
d63f73be
SP
5242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5243 __ATAN_TWOM.
5244 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5245
6d9f97e1
SP
5246 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5247 their values.
5248 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5249 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5250 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5251 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5252
4c4febf5
AJ
52532012-12-28 Andreas Jaeger <aj@suse.de>
5254
af5843ef
AJ
5255 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5256 values are from Linux 3.7.
5257
4c4febf5
AJ
5258 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5259 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5260
99136f82
SP
52612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5262
2f216c3c 5263 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5264 TRUE case.
5265
99136f82
SP
5266 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5267 (norm): Likewise.
5268 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5269 variables with preprocessor constants.
5270 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5271 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5272 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5273
7fffbdff
BH
52742012-12-27 Bruno Haible <bruno@clisp.org>
5275
5276 [BZ #14317]
5277 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5278 only if needed.
5279
b76eb5f0
SP
52802012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5281
31a7fe5c
SP
5282 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5283 and use variable directly.
5284 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5285
b76eb5f0
SP
5286 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5287 MPONE.
5288 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5290 variable MPONE.
5291 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5293 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5294 include directive. Remove local variable MPONE.
5295 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5296 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5297 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5298
2c8bfe7d
DM
52992012-12-25 David S. Miller <davem@davemloft.net>
5300
5301 * version.h (RELEASE): Set to "development".
5302 (VERSION): Set to "2.17.90".
5303 * NEWS: Add 2.18 section.
5304
147d03b0
DM
53052012-12-21 David S. Miller <davem@davemloft.net>
5306
5307 * po/hr.po: Update from translation team.
5308
a8ebb2b9
AK
53092012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5310
5311 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5312
95b4f1b6
SE
53132012-12-19 Steve Ellcey <sellcey@mips.com>
5314
b2d94007 5315 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5316
cedb2a90
MS
53172012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5318
5319 * manual/contrib.texi (Contributors): Spelling correction.
5320
bbf527d6
DM
53212012-12-15 David S. Miller <davem@davemloft.net>
5322
5323 * po/ru.po: Update from translation team.
5324
bc38c906
DM
53252012-12-13 David S. Miller <davem@davemloft.net>
5326
85429b1a
DM
5327 * NEWS: Mention IFUNC testsuite enhancements.
5328
d283e353
DM
5329 * po/pl.po: Update from translation team.
5330 * po/bg.po: Likewise.
5331
bc38c906
DM
5332 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5333 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5334
a181b0d7
DM
53352012-12-11 David S. Miller <davem@davemloft.net>
5336
4641d57e
DM
5337 * po/sv.po: Update from translation team.
5338
f7bc6495
DM
5339 * po/vi.po: Update from translation team.
5340
6fc9048f
DM
5341 * po/cs.po: Update from translation team.
5342
a181b0d7
DM
5343 * po/de.po: Update from translation team.
5344 * po/eo.po: Likewise.
5345 * po/nl.po: Likewise.
5346
f70bfe80
SP
53472012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5348
3c8b4190
SP
5349 [BZ #14246]
5350 * manual/argp.texi (Argp Helper Functions): Move node to follow
5351 Argp Parsing State.
5352
f70bfe80
SP
5353 [BZ #14872]
5354 * manual/conf.texi (Limits on File System Capacity): Mention if
5355 terminating null is included in the max size.
5356
188f0adf
AJ
53572012-12-10 Andreas Jaeger <aj@suse.de>
5358
5359 * po/cs.po: Update from translation team.
5360
56e7d3ad
SP
53612012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5362
5363 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5364 void pointer and cast to uintptr_t.
5365 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5366 path.
5367 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5368 * sysdeps/s390/s390-64/memset.S: Likewise.
5369
76f2d2ea 53702012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5371
5372 [BZ #14833]
5373 * menual/message.texi (Message Translation): Fix typos.
5374 (Helper programs for gettext): Likewise.
5375
67cbf9a2
AS
53762012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5377
5378 [BZ #14898]
5379 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5380 Change to -1.
5381
682d0e9a
DM
53822012-12-07 David S. Miller <davem@davemloft.net>
5383
5384 * po/libc.pot: Update.
5385
573cd484
RH
53862012-12-07 Richard Henderson <rth@redhat.com>
5387
7e9da188 5388 [BZ #10114]
573cd484
RH
5389 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5390 normal/normal case to before the switch.
5391 (_FP_DIV): Likewise.
5392
e933a943
MF
53932012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5394 Mike Frysinger <vapier@gentoo.org>
5395
5396 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5397 check for __NR_fadvise64_64.
5398
82123268
CM
53992012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5400
5401 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5402 0, not just to plain "0" as a statement.
5403 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5404 with cw.
5405
d9814526
JM
54062012-12-06 Joseph Myers <joseph@codesourcery.com>
5407
5408 * NEWS: Use sourceware.org in Bugzilla URL.
5409
7728c574
SP
54102012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5411
f16946dd
SP
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5413 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5414
5704bbcb
SP
5415 * stdio-common/tst-put-error.c (do_test): Add newline to the
5416 padded test to ensure flush.
5417
17aa0516
JL
54182012-12-05 Jeff Law <law@redhat.com>
5419
5420 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5421
363313b5
JM
54222012-12-05 Joseph Myers <joseph@codesourcery.com>
5423
effbd42a
JM
5424 * README: Don't refer to ports add-on as distributed separately.
5425 Mention AArch64 in list of systems supported in the ports add-on.
5426
87600365
JM
5427 * LICENSES: Add more non-FSF copyright and license notices.
5428
a0d7066a
JM
5429 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5430 ((unused)).
5431
66ca5a5b
JM
5432 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5433
363313b5
JM
5434 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5435 10000 as width of padded output.
5436
b37984ad
JM
54372012-12-04 Joseph Myers <joseph@codesourcery.com>
5438
9003570a
JM
5439 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5440
b37984ad
JM
5441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5442 variable LX with __attribute__ ((unused)).
5443 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5444 Likewise.
5445 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5448 with __attribute__ ((unused)).
5449
c8df52ec
DM
54502012-12-04 David S. Miller <davem@abraco.davemloft.net>
5451
5452 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5453
b3b099af
JM
54542012-12-04 Joseph Myers <joseph@codesourcery.com>
5455
c33aa6e3
JM
5456 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5457 (CFLAGS-nldbl-acos.c): New variable.
5458 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5459 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5460 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5461 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5462 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5463 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5464 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5465 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5466 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5467 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5468 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5469 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5470 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5471 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5472 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5473 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5474 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5475 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5476 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5477 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5478 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5479 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5480 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5481 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5482 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5483 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5484 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5485 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5486 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5487 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5488 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5489 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5490 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5491 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5492 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5493 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5494 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5495 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5496 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5497 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5498 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5499 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5500 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5501 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5502 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5503 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5504 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5505 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5506 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5507 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5508 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5509 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5510 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5511 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5512 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5513 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5514 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5515 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5516 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5517 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5518 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5519 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5520 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5521 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5522 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5523 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5524 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5525 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5526 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5527 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5528 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5529 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5530 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5531 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5532 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5533 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5534 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5535 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5536 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5537 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5538 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5539 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5540 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5541 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5542 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5543 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5544 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5545 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5546 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5547 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5548 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5549 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5550 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5551 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5552 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5553 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5554 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5555
20f0018d
JM
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5557 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5558
b3b099af
JM
5559 [BZ #14914]
5560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5561 whole low double instead of just low 47 bits when splitting values
5562 into two parts.
5563
029264d1
AM
55642012-12-03 Allan McRae <allan@archlinux.org>
5565
5566 * manual/stdio.texi (Predefined Printf Handlers): Remove
5567 @hsep and @vsep usage.
5568
c9d6789e
MF
55692012-12-03 Mike Frysinger <vapier@gentoo.org>
5570
5571 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5572 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5573
4b7634a5
JL
55742012-12-03 Jeff Law <law@redhat.com>
5575
5576 * time/sys/time.h (settimeofday): Do not mark TV argument
5577 as __nonnull.
5578
eb6cbd24
MF
55792012-12-01 Mike Frysinger <vapier@gentoo.org>
5580
5581 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5582 when currently writing and seek to current position when not.
5583 * libio/Makefile (tests): Remove bug-fclose1.
5584 * libio/bug-fclose1.c: Delete.
5585
f638872a
JM
55862012-12-01 Joseph Myers <joseph@codesourcery.com>
5587
5588 * manual/arith.texi (feenableexcept): Fix typo.
5589 (fedisableexcept): Likewise.
5590
48085d14
RM
55912012-11-30 Roland McGrath <roland@hack.frob.com>
5592
5593 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5594 second, differently-typed declaration, rather than a cast.
5595
1a538b9f
SP
55962012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5597
5598 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5599 * include/rpc/svc.h: ... here.
5600
d07f2ff1 56012012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5602
5603 [BZ #13013]
5604 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5605 depending n and resplen2 to catch cases where answer
5606 equals answerp2.
5607
c93ec1f0
CD
56082012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5609
5610 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5611 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5612
37db69de
MF
56132012-11-29 Mike Frysinger <vapier@gentoo.org>
5614
5615 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5616
e10c4e4f
RM
56172012-11-29 Roland McGrath <roland@hack.frob.com>
5618
5619 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5620
2af1b328
JL
56212012-11-28 Jeff Law <law@redhat.com>
5622
5623 [BZ #13761]
5624 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5625 dataset_temporary. Track alloca usage into alloca_used.
5626 If dataset is large allocate and release it via malloc/free.
5627
111db5b1
FW
56282012-06-04 Florian Weimer <fweimer@redhat.com>
5629
f06cc227 5630 [BZ #14197]
111db5b1
FW
5631 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5632
dd694abd
DM
56332012-11-28 David S. Miller <davem@davemloft.net>
5634
5635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5636
9984dd01
JM
56372012-11-28 Joseph Myers <joseph@codesourcery.com>
5638
5639 [BZ #14803]
5640 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5641 of pi/2 rounded to nearest to 64 bits.
5642 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5643 nearest to 64 bits.
5644 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5645 bits.
5646
14bc93a9
JL
56472012-11-28 Jeff Law <law@redhat.com>
5648 Martin Osvald <mosvald@redhat.com>
5649
5650 [BZ #14889]
5651 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5652 * sunrpc/svc.c: Include time.h.
5653 (__svc_accept_failed): New function.
5654 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5655 any reason other than EINTR, call __svc_accept_failed.
5656 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5657 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5658
e3c6aa3a
AS
56592012-11-28 Andreas Schwab <schwab@suse.de>
5660
5661 * scripts/abilist.awk: Also handle indirect functions in .opd
5662 section.
5663
1bead169
JM
56642012-11-28 Joseph Myers <joseph@codesourcery.com>
5665
5666 [BZ #13881]
5667 * sysdeps/x86/fpu/powl_helper.c: New file.
5668 * sysdeps/x86/fpu/Makefile: Likewise.
5669 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5670 (p3): New object.
5671 (__ieee754_powl): Use __powl_helper for finite arguments except
5672 integer exponents below 8.
5673 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5674 (p3): New object.
5675 (__ieee754_powl): Use __powl_helper for finite arguments except
5676 integer exponents below 8.
5677 * math/libm-test.inc (pow_test): Add more tests and enable some
5678 previously disabled tests.
5679 * sysdeps/i386/fpu/libm-test-ulps: Update.
5680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5681
0817d63d
SP
56822012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5683 Carlos O'Donell <carlos_odonell@mentor.com>
5684
5685 * nss/makedb.c (is_prime): Assert that input is odd and greater
5686 than 4. Note that fact in a comment too.
5687 (next_prime): Add 4 to input.
5688
de2fd463
SP
56892012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5690
5691 [BZ #11741]
5692 * libio/Makefile (tests): Add test case tst-fwrite-error.
5693 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5694 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5695 * libio/tst-fwrite-error.c: New test case.
5696
c515fb51
L
56972012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5698
5699 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5700 before casting to void *.
5701 * include/libc-internal.h (__pointer_type): New macro.
5702 (__integer_if_pointer_type_sub): Likewise.
5703 (__integer_if_pointer_type): Likewise.
5704 (cast_to_integer): Likewise.
5705 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5706 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5707 before casting to atomic64_t.
5708 (atomic_exchange_acq): Likewise.
5709 (__arch_exchange_and_add_body): Likewise.
5710 (__arch_add_body): Likewise.
5711 (atomic_add_negative): Likewise.
5712 (atomic_add_zero): Likewise.
5713
4cf77aa9
JM
57142012-11-26 Joseph Myers <joseph@codesourcery.com>
5715
5716 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5717 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5718 (add_fdes): Likewise.
5719 (linear_search_fdes): Likewise.
5720 (binary_search_unencoded_fdes): Likewise.
5721
d260b3b4
AS
57222012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5723
5724 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5725
67060746
AC
57262012-11-24 Adam Conrad <adconrad@0c3.net>
5727
5728 * configure.in: Autodetect C++ header directories.
5729 * configure: Regenerated.
5730
800938a1
MF
57312012-11-23 Mike Frysinger <vapier@gentoo.org>
5732
5733 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5734
4e6e34e6
AS
57352012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5738
7c7feb47
JM
57392012-11-22 Joseph Myers <joseph@codesourcery.com>
5740
7184dcdf
JM
5741 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5742 LDBL_MANT_DIG == 106]: Disable some tests.
5743 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5744 Likewise.
5745 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
5746 Likewise.
5747
0a42601f
JM
5748 [BZ #14871]
5749 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
5750 input for small inputs. Return +/- pi/2 for large inputs.
5751 * math/libm-test.inc (atan_test): Add more tests.
5752
79c9b9fe
JM
5753 * sysdeps/generic/unwind-dw2-fde-glibc.c
5754 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
5755 __attribute__ ((unused)).
5756
c60d3bf2
JM
5757 [BZ #14645]
5758 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
5759 x * y if x and y are nonzero and z is zero.
5760
ef1e0867
JM
5761 [BZ #14811]
5762 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
5763 nonzero exponents with absolute value below 0x1p-117 to +/-
5764 0x1p-117.
5765
1468ded3
JM
5766 [BZ #14869]
5767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
5768 up arguments below 2**-450, not just those below 2**-500.
5769 * math/libm-test.inc (hypot_test): Add another test.
5770
8e27e3cc
JM
5771 [BZ #14868]
5772 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5773 Return a+b for ratio over 2**120, not 2**60.
5774 * math/libm-test.inc (hypot_test): Add another test.
5775
c9c0279b
JM
5776 * math/libm-test.inc (clog_test): Use
5777 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
5778 (clog10_test): Likewise.
5779
7c7feb47
JM
5780 [BZ #6778]
5781 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
5782
fff1530e
AS
57832012-11-22 Andreas Schwab <schwab@suse.de>
5784
5785 * sysdeps/i386/fpu/libm-test-ulps: Update.
5786
94558d30
PT
57872012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5788
5789 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5790 printf output with newline.
5791
7e1be741
L
57922012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5793
6bfea974
L
5794 [BZ #14865]
5795 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5796 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5797 -z nodlopen, -z initfirst and -z execstack support.
5798 * configure: Regenerated.
5799
7e1be741
L
5800 * elf/elf.h (DF_1_NODIRECT): New macro.
5801 (DF_1_IGNMULDEF): Likewise.
5802 (DF_1_NOKSYMS): Likewise.
5803 (DF_1_NOHDR): Likewise.
5804 (DF_1_EDITED): Likewise.
5805 (DF_1_NORELOC): Likewise.
5806 (DF_1_SYMINTPOSE): Likewise.
5807 (DF_1_GLOBAUDIT): Likewise.
5808 (DF_1_SINGLETON): Likewise.
5809 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5810 DT_1_SUPPORTED_MASK bits.
5811 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5812
105ce2ce
CD
58132012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5814
5815 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5816
123be9de
TS
58172012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5818
d072f3f7
TS
5819 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5820 macro.
5821
123be9de
TS
5822 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5823 (sendmmsg): Move declarations...
5824 * socket/sys/socket.h: ... here.
5825 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5826 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5827 include it from...
5828 * socket/recvmmsg.c: ... this new file.
5829 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5830 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5831 definition of __sendmmsg hidden.
5832 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5833 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5834 Move ENOSYS stub into and include it from...
5835 * socket/sendmmsg.c: ... this new file.
5836 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5837 (sysdep_routines): Move recvmmsg and sendmmsg...
5838 * socket/Makefile (routines): ... here.
5839 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5840 (GLIBC_PRIVATE): Add __sendmmsg.
5841 * include/sys/socket.h (__sendmmsg): Add declarations.
5842 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5843 sendmmsg.
5844
cf9a5d18
JM
58452012-11-20 Joseph Myers <joseph@codesourcery.com>
5846
5847 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5848 variable I1 with __attribute__ ((unused)).
5849 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5850
ecd4caf9
JM
58512012-11-19 Joseph Myers <joseph@codesourcery.com>
5852
be14d48f
JM
5853 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5854 DUMMY variables with __attribute__ ((unused)).
5855
ecd4caf9
JM
5856 * bits/byteswap.h: Include <bits/types.h>.
5857 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5858
986cab95
PT
58592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5860
5861 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5862 string_t. Do not manually set errno.
5863 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5864 length with __strnlen. Make sure to both set errno and return it on
5865 failure.
5866
6d33cc9d
DM
58672012-11-19 David S. Miller <davem@davemloft.net>
5868
5869 With help from Joseph Myers.
5870 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5871 very large arguments properly.
5872 * math/libm-test.inc (atan_test): New tests.
5873 (atan2_test): New tests.
5874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5876
ee663277
JM
58772012-11-19 Joseph Myers <joseph@codesourcery.com>
5878
877f2d8e
JM
5879 [BZ #14856]
5880 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5881 Define to 3.
5882
116fc08a
JM
5883 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5884 [POSIX] (EADDRNOTAVAIL): Likewise.
5885 [POSIX] (EAFNOSUPPORT): Likewise.
5886 [POSIX] (EALREADY): Likewise.
5887 [POSIX] (ECONNABORTED): Likewise.
5888 [POSIX] (ECONNREFUSED): Likewise.
5889 [POSIX] (ECONNRESET): Likewise.
5890 [POSIX] (EDESTADDRREQ): Likewise.
5891 [POSIX] (EDQUOT): Likewise.
5892 [POSIX] (EHOSTUNREACH): Likewise.
5893 [POSIX] (EIDRM): Likewise.
5894 [POSIX] (EISCONN): Likewise.
5895 [POSIX] (ELOOP): Likewise.
5896 [POSIX] (EMULTIHOP): Likewise.
5897 [POSIX] (ENETDOWN): Likewise.
5898 [POSIX] (ENETUNREACH): Likewise.
5899 [POSIX] (ENOBUFS): Likewise.
5900 [POSIX] (ENODATA): Likewise.
5901 [POSIX] (ENOLINK): Likewise.
5902 [POSIX] (ENOMSG): Likewise.
5903 [POSIX] (ENOPROTOOPT): Likewise.
5904 [POSIX] (ENOSR): Likewise.
5905 [POSIX] (ENOSTR): Likewise.
5906 [POSIX] (ENOTCONN): Likewise.
5907 [POSIX] (ENOTSOCK): Likewise.
5908 [POSIX] (EOPNOTSUPP): Likewise.
5909 [POSIX] (EOVERFLOW): Likewise.
5910 [POSIX] (EPROTO): Likewise.
5911 [POSIX] (EPROTONOSUPPORT): Likewise.
5912 [POSIX] (EPROTOTYPE): Likewise.
5913 [POSIX] (ESTALE): Likewise.
5914 [POSIX] (ETIME): Likewise.
5915 [POSIX] (ETXTBSY): Likewise.
5916 [POSIX] (EWOULDBLOCK): Likewise.
5917 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5918 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5919 [POSIX] (SEEK_CUR): Likewise.
5920 [POSIX] (SEEK_END): Likewise.
5921 [POSIX || UNIX98] (mode_t): Do not require.
5922 [POSIX] (off_t): Likewise.
5923 [POSIX] (pid_t): Likewise.
5924 [POSIX] (sys/stat.h): Do not allow header.
5925 [POSIX] (unistd.h): Likewise.
5926 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5927 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5928 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5929 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5930 require.
5931 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5932 sigevent): Specify elements.
5933 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5934 entry.
5935 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5936 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5937
a483863f
JM
5938 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5939 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5940 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5941 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5942 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5943 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5944 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5945 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5946 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5947 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5948 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5949 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5950 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5951 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5952 Likewise.
5953 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5954 Likewise.
5955 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5956 Likewise.
5957 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5958 Likewise.
5959 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5960 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5961 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5962 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5963 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5964 Specify lower bound on value.
5965 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5966 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5967 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5968 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5969 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5970 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5971 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5972 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5973 value.
5974 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5975 as optional.
5976 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5977 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5978 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5979 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5980 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5981 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5982 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5983 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5984 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5985 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5986 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5987 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5988 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5989 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5990 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5991 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5992 entry.
5993 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5994 optional.
5995 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5996 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5997 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5998 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5999 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6000 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6001 Likewise.
6002 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6003 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6004 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6005 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6006 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6007 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6008 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6009 as optional.
6010 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6011 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6012 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6013 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6014 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6015 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6016 specify as optional.
6017 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6018 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6019 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6020 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6021 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6022 [XPG3] (NL_LANGMAX): Likewise.
6023 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6024 [POSIX || XPG3] (NL_NMAX): Likewise.
6025 [POSIX || XPG3] (NL_SETMAX): Likewise.
6026 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6027 [XPG3] (NZERO): Likewise.
6028 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6029 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6030 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6031 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6032 (REG_ERANGE): Expect.
6033 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6034 optional-constant.
6035 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6036 Use (void) in prototype.
6037 [POSIX] (*_t): Allow.
6038 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6039 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6040 (WRDE_BADVAL): Expect.
6041
5ba924e3
JM
6042 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6043 expect.
6044 [XPG3 || XPG4] (O_RSYNC): Likewise.
6045 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6046 Likewise.
6047 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6048 [XPG3 || XPG4] (sigqueue): Likewise.
6049 [XPG3 || XPG4] (sigtimedwait): Likewise.
6050 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6051 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6052 [XPG3 || XPG4] (vsnprintf): Likewise.
6053 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6054 Likewise.
6055 [XPG3 || XPG4] (blksize_t): Likewise.
6056 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6057 Likewise.
6058 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6059 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6060 [XPG3 || XPG4] (struct itimerspec): Likewise.
6061 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6062 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6063 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6064 [XPG3 || XPG4] (clockid_t): Likewise.
6065 [XPG3 || XPG4] (timer_t): Likewise.
6066 [XPG3 || XPG4] (clock_getres): Likewise.
6067 [XPG3 || XPG4] (clock_gettime): Likewise.
6068 [XPG3 || XPG4] (clock_settime): Likewise.
6069 [XPG3 || XPG4] (nanosleep): Likewise.
6070 [XPG3 || XPG4] (timer_create): Likewise.
6071 [XPG3 || XPG4] (timer_delete): Likewise.
6072 [XPG3 || XPG4] (timer_gettime): Likewise.
6073 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6074 [XPG3 || XPG4] (timer_settime): Likewise.
6075 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6076 [XPG3 || XPG4] (getlogin_r): Likewise.
6077 [XPG3 || XPG4] (pread): Likewise.
6078 [XPG3 || XPG4] (pthread_atfork): Likewise.
6079 [XPG3 || XPG4] (pwrite): Likewise.
6080
ee663277
JM
6081 [BZ #14835]
6082 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6083 <bits/siginfo.h>.
6084
942caa16
PT
60852012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6086
e19af380
PT
6087 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6088 finalizing MALLSTREAM.
6089
942caa16
PT
6090 * sysdeps/mach/hurd/syncfs.c: New file.
6091
cfde9b46
SP
60922012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6093
6094 [BZ #14719]
6095 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6096 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6097 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6098 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6099 (_nss_dns_gethostbyname4_r): Likewise.
6100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6101 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6102
f6da27e5
PH
61032012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6104
6105 [BZ #13763]
6106 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6107
6665d4a2
SM
61082012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6109
1f51ee92
SM
6110 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6111 * elf/cache.c (print_entry): Print ",AArch64" for
6112 FLAG_AARCH64_LIB64
6113
6665d4a2
SM
6114 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6115 * elf/cache.c (print_entry): Print ",hard-float" for
6116 FLAG_ARM_LIBHF.
6117
05b227bd
DM
61182012-11-18 David S. Miller <davem@davemloft.net>
6119
6120 With help from Joseph Myers.
6121 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6122 cutoff to 2**-13.
6123 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6124 cutoff to 2**-25.
6125 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6126 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6127 small.
6128 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6129 * math/libm-test.inc (y0_test): New tests.
6130 (y1_test): New tests.
6131 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6134
786b0b67
AS
61352012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6136
6137 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6138 64-bit targets.
6139 * configure: Regenerated.
6140
8e18b86d
DM
61412012-11-17 David S. Miller <davem@davemloft.net>
6142
6143 [BZ #14811]
6144 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6145 nonzero exponents with absolute value below 0x1p-128 to +/-
6146 0x1p-128.
6147
531f1ae0
JM
61482012-11-17 Joseph Myers <joseph@codesourcery.com>
6149
12df29e2
JM
6150 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6151
150dc1a0
JM
6152 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6153
531f1ae0
JM
6154 * posix/getconf-speclist.c: New file.
6155 * posix/posix-envs.def: Likewise.
6156 * posix/confstr.c (START_ENV_GROUP): New macro.
6157 (END_ENV_GROUP): Likewise.
6158 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6159 (KNOWN_PRESENT_ENV_STRING): Likewise.
6160 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6161 (UNKNOWN_ENVIRONMENT): Likewise.
6162 (confstr): Include posix-envs.def instead of handling
6163 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6164 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6165 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6166 (END_ENV_GROUP): Likewise.
6167 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6168 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6169 (UNKNOWN_ENVIRONMENT): Likewise.
6170 (__sysconf): Include posix-envs.def instead of handling associated
6171 cases directly here.
6172 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6173 preprocessing getconf-speclist.c rather than running getconf or
6174 generating empty file.
6175
a93f9cbc
PT
61762012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6177
6178 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6179
d64d9f87
AL
61802012-11-16 Andrej Lajovic <natrij@gmail.com>
6181
6182 [BZ #14672]
6183 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6184
447885eb
DM
61852012-11-16 David S. Miller <davem@davemloft.net>
6186
6187 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6188 smaller than LDBL_EPSILON/2.0L, just return xm1.
6189
bcbf9830
L
61902012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6191
6192 * elf/tst-array1.c (init): Set constructor priority to 1000.
6193 (fini): Set destructor priority to 1000.
6194 * elf/tst-array2dep.c: Likewise.
6195
2b766585
SP
61962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6197
6198 [BZ #11741]
6199 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6200 (_IO_new_file_xsputn): Also return EOF if none of the input
6201 data was written when overflow failed.
6202 * libio/iopadn.c (_IO_padn): Likewise.
6203 * libio/iowpadn.c (_IO_wpadn): Likewise.
6204 * stdio-common/tst-put-error.c: Add copyright notice.
6205 (do_test): Add case for printing padded string.
6206 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6207 _IO_padn returned error.
6208 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6209 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6210 return EOF.
6211
b1848fde
SP
62122012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6213
6214 * libio/libioP.h: Add comment note that the references to C++
6215 bits are now obsolete.
6216
2fd89785
MS
62172012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6218
6219 * math/libm-test.inc (check_complex): Use asprintf.
6220
e3ea5409
JM
62212012-11-14 Joseph Myers <joseph@codesourcery.com>
6222
6223 * debug/pcprofiledump.c (print_version): Update copyright year.
6224 * malloc/memusagestat.c (print_version): Likewise.
6225
2e64d265
L
62262012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6227
6228 [BZ #14831]
6229 * elf/Makefile (tests): Add tst-audit8.
6230 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6231 ($(objpfx)tst-audit8.out): New target.
6232 (tst-audit8-ENV): New variable.
6233 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6234 audit if l_reloc_result is NULL.
6235 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6236 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6237 * elf/tst-audit8.c: New file.
6238
c485e4d2
MS
62392012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6240
6241 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6242 * misc/Makefile (CFLAGS-select.c): Define.
6243 * posix/Makefile (CFLAGS-pause.c): Define.
6244
3a0d900a
DM
62452012-11-13 David S. Miller <davem@davemloft.net>
6246
6247 * crypt/Makefile: Move test targets after toplevel Rules
6248 inclusion. Grab any necessary sysdep routines when linking.
6249 * crypt/md5.c (md5_process_block): Remove define, we will always
6250 name it __md5_process_block.
6251 (md5_finish_ctx): Update md5_process_block call.
6252 (md5_stream): Likewise.
6253 (md5_process_bytes): Likewise.
6254 (md5_process_block): Rename to __md5_process_block and move to ...
6255 * crypt/md5-block.c: ... here.
6256 * crypt/sha256.c (sha256_process_block): Move to ...
6257 * crypt/sha256-block.c: ... here.
6258 * crypt/sha512.c (sha512_process_block): Move to ...
6259 * crypt/sha512-block.c: ... here.
6260 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6261 path.
6262 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6263 * sysdeps/sparc/sparc64/multiarch/Makefile
6264 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6265 crypt subdir.
6266 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6267 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6268 multiarch changes.
6269 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6270 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6271 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6272 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6273 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6274 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6275 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6276 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6277 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6278 file.
6279 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6280 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6281 file.
6282 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6283
8ca89318
JM
62842012-11-13 Joseph Myers <joseph@codesourcery.com>
6285
e27d476a
JM
6286 * timezone/tzselect.ksh: Update from tzcode git revision
6287 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6288 * timezone/zdump.c: Likewise.
6289 * timezone/zic.c: Likewise.
6290 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6291 in TZVERSION setting, not $(PKGVERSION).
6292 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6293 REPORT_BUGS_TO settings.
6294
8ca89318
JM
6295 [BZ #14838]
6296 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6297 macro.
6298
47594329
MS
62992012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6300
6301 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6302 detection to immediately after _FP_ROUND().
6303 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6304 bits are 0.
6305
640ac3f1
DM
63062012-11-11 David S. Miller <davem@davemloft.net>
6307
6308 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6309 inttypes.h
6310 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6311 __close rather than their public counterparts.
6312
3d2577bb
JM
63132012-11-10 Joseph Myers <joseph@codesourcery.com>
6314
6315 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6316 file.
6317 [UNIX98] (sem_timedwait): Do not expect.
6318 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6319 [XPG4 || UNIX98] (sockatmark): Do not expect.
6320 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6321 (clock_getcpuclockid): Do not expect.
6322 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6323 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6324 Do not expect.
6325 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6326 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6327 [UNIX98] (vwscanf): Likewise.
6328 [UNIX98] (vswscanf): Likewise.
6329
fb1ae1ee
JM
63302012-11-09 Joseph Myers <joseph@codesourcery.com>
6331
9ec6f8bd
JM
6332 * timezone/version.h: Remove file.
6333 * timezone/README: Do not refer to version.h.
6334 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6335 $(objpfx)version.h.
6336 ($(objpfx)zdump.o): Likewise.
c3f81911 6337 ($(objpfx)version.h): New target.
9ec6f8bd 6338
0aa8f8a1
JM
6339 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6340 2012i.
6341 * timezone/README: Don't mention modification to tzselect.ksh.
6342 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6343 work on unmodified tzselect.ksh. Substitute version numbers in
6344 tzselect.ksh.
6345
4e87147f
JM
6346 * Makefile (format-me): Remove.
6347 (INSTALL): Adjust indentation. Use commands directly instead of
6348 using $(format-me).
6349
8b748aed
JM
6350 * aclocal.m4 (ACX_PKGVERSION): New macro.
6351 (ACX_BUGURL): Likewise.
6352 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6353 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6354 (REPORT_BUGS_TO): Likewise.
6355 * configure: Regenerated.
6356 * config.h.in (PKGVERSION): New macro.
6357 (REPORT_BUGS_TO): Likewise.
6358 * config.make.in (PKGVERSION): New variable.
6359 (PKGVERSION_TEXI): Likewise.
6360 (REPORT_BUGS_TO): Likewise.
6361 (REPORT_BUGS_TEXI): Likewise.
6362 * Makefile (format-me): Use -I$(common-objpfx)manual.
6363 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6364 ($(common-objpfx)manual/%): New target.
6365 (manual/%): Remove target.
6366 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6367 (print_version): Use PKGVERSION.
6368 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6369 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6370 and REPORT_BUGS_TO.
6371 ($(objpfx)xtrace): Likewise.
6372 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6373 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6374 (print_version): Use PKGVERSION.
6375 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6376 (do_version): Use PKGVERSION.
6377 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6378 REPORT_BUGS_TO.
6379 (common-ldd-rewrite): Likewise.
6380 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6381 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6382 (print_version): Use PKGVERSION.
6383 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6384 * elf/pldd.c (argp_program_bug_address): Remove variable.
6385 (more_help): New function.
6386 (argp): Use more_help.
6387 (print_version): Use PKGVERSION.
6388 * elf/sln.c (main): Use PKGVERSION.
6389 (usage): Use REPORT_BUGS_TO.
6390 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6391 (top level): Use PKGVERSION.
6392 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6393 (print_version): Use PKGVERSION.
6394 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6395 (print_version): Use PKGVERSION.
6396 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6397 (print_version): Use PKGVERSION.
6398 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6399 (print_version): Use PKGVERSION.
6400 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6401 (print_version): Use PKGVERSION.
6402 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6403 (print_version): Use PKGVERSION.
6404 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6405 and BUGURL.
6406 ($(objpfx)memusage): Likewise.
6407 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6408 (do_version): Use PKGVERSION.
6409 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6410 (print_version): Use PKGVERSION.
6411 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6412 ($PKGVERSION): New variable.
6413 ($REPORT_BUGS_TO): Likewise.
6414 (usage): Use $REPORT_BUGS_TO.
6415 (top level): Use $PKGVERSION.
6416 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6417 ($(objpfx)pkgvers.texi): New rule.
6418 ($(objpfx)stamp-pkgvers): Likewise.
6419 * manual/install.texi: Include pkgvers.texi.
6420 (--with-pkgversion): Document new configure option.
6421 (--with-bugurl): Likewise.
6422 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6423 than necessarily for this particular distribution. Use
6424 REPORT_BUGS_TO for where to report bugs.
6425 * INSTALL: Regenerated.
6426 * manual/libc.texinfo: Include pkgvers.texi.
6427 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6428 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6429 (print_version): Use PKGVERSION.
6430 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6431 (print_version): Use PKGVERSION.
6432 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6433 (print_version): Use PKGVERSION.
6434 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6435 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6436 macro.
6437 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6438 (print_version): Use PKGVERSION.
6439 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6440 (print_version): Use PKGVERSION.
6441 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6442 and PKGVERSION.
6443
92e4b6a9
JM
6444 * timezone/checktab.awk: Update from tzcode 2012i.
6445 * timezone/ialloc.c: Likewise.
6446 * timezone/private.h: Likewise.
6447 * timezone/scheck.c: Likewise.
6448 * timezone/tzfile.h: Likewise.
6449 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6450 (TZVERSION): Hardcode tzcode version number.
6451 * timezone/zdump.c: Update from tzcode 2012i.
6452 * timezone/zic.c: Likewise.
6453 * timezone/version.h: New file.
6454 * timezone/README: Describe version.h. Update upstream location.
6455
9bde902c
JM
6456 [BZ #14824]
6457 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6458 (mktemp): Enable declaration.
6459 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6462 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6463 Likewise.
6464 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6465 Likewise.
6466 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6467 Likewise.
6468 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6469 Likewise.
6470 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6471 Likewise.
6472 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6473 Likewise.
6474
fb1ae1ee
JM
6475 [BZ #14821]
6476 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6477 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6478 for copies of such integer values.
6479 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6480 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6481
2c1adbcb
AJ
64822012-11-09 Andreas Jaeger <aj@suse.de>
6483
6484 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6485 definitions and declarations that are provided by
6486 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6487
d0f8457e
AK
64882012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6489
3a235abb 6490 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6491 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6492 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6493 definition.
6494
57241e26
MS
64952012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6496
6497 * elf/elf.h: Update comment before AArch64 relocations.
6498
60e8270d
DM
64992012-11-07 David S. Miller <davem@davemloft.net>
6500
6501 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6502 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6503 (__start_context): Declare.
6504 (__makecontext_ret): Delete.
6505 (__makecontext): Hook up __start_context instead of
6506 __makecontext_ret.
6507 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6508 (sysdep_routines): Add __start_context when in stdlib.
6509
0fbb0fbc
JM
65102012-11-07 Joseph Myers <joseph@codesourcery.com>
6511
6512 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6513 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6514 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6515 hardcoded "nm".
6516 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6517 (READELF): New variable. Use it instead of hardcoded "readelf".
6518
eb48db7e
L
65192012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6520
6521 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6522 * sysdeps/x86/Makefile: Here.
6523 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6524 * sysdeps/x86/tst-xmmymm.sh: This.
6525
05bcf62a
JM
65262012-11-07 Joseph Myers <joseph@codesourcery.com>
6527
c4b6cf53
JM
6528 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6529 expectations.
6530 [UNIX98] (pthread_barrier_t): Do not expect.
6531 [UNIX98] (pthread_barrierattr_t): Likewise.
6532 [UNIX98] (pthread_spinlock_t): Likewise.
6533 [UNIX98] (pthread_barrier_destroy): Likewise.
6534 [UNIX98] (pthread_barrier_init): Likewise.
6535 [UNIX98] (pthread_barrier_wait): Likewise.
6536 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6537 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6538 [UNIX98] (pthread_barrierattr_init): Likewise.
6539 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6540 [UNIX98] (pthread_getcpuclockid): Likewise.
6541 [UNIX98] (pthread_mutex_timedlock): Likewise.
6542 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6543 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6544 [UNIX98] (pthread_sigmask): Likewise.
6545 [UNIX98] (pthread_spin_destroy): Likewise.
6546 [UNIX98] (pthread_spin_init): Likewise.
6547 [UNIX98] (pthread_spin_lock): Likewise.
6548 [UNIX98] (pthread_spin_trylock): Likewise.
6549 [UNIX98] (pthread_spin_unlock): Likewise.
6550 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6551 Do not expect.
6552 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6554 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6555 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6556 [XPG3 || XPG4] (pthread_key_t): Likewise.
6557 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6558 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6559 [XPG3 || XPG4] (pthread_once_t): Likewise.
6560 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6561 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6563 [XPG3 || XPG4] (pthread_t): Likewise.
6564
cbe6e120
JM
6565 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6566 not expect.
6567 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6568
1b126443
JM
6569 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6570 Change function return type to int.
6571
b961a573
JM
6572 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6573 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6574 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6575 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6576 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6577 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6578 [!POSIX] (posix_madvise): Likewise.
6579 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6580 && !UNIX98].
6581 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6582 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6583 (mode_t): Likewise.
6584 (posix_mem_offset): Likewise.
6585 (posix_typed_mem_get_info): Likewise.
6586 (posix_typed_mem_open): Likewise.
6587
9e188909
JM
6588 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6589 Change condition to [XOPEN2K8].
6590
05bcf62a
JM
6591 * conform/conformtest.pl: Preprocess allow-header data with -x c
6592 instead of from stdin.
6593 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6594 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6595 [C99-based standards] (cerfc): Likewise.
6596 [C99-based standards] (cexp2): Likewise.
6597 [C99-based standards] (cexpm1): Likewise.
6598 [C99-based standards] (clog10): Likewise.
6599 [C99-based standards] (clog1p): Likewise.
6600 [C99-based standards] (clog2): Likewise.
6601 [C99-based standards] (clgamma): Likewise.
6602 [C99-based standards] (ctgamma): Likewise.
6603 [C99-based standards] (cerff): Likewise.
6604 [C99-based standards] (cerfcf): Likewise.
6605 [C99-based standards] (cexp2f): Likewise.
6606 [C99-based standards] (cexpm1f): Likewise.
6607 [C99-based standards] (clog10f): Likewise.
6608 [C99-based standards] (clog1pf): Likewise.
6609 [C99-based standards] (clog2f): Likewise.
6610 [C99-based standards] (clgammaf): Likewise.
6611 [C99-based standards] (ctgammaf): Likewise.
6612 [C99-based standards] (cerfl): Likewise.
6613 [C99-based standards] (cerfcl): Likewise.
6614 [C99-based standards] (cexp2l): Likewise.
6615 [C99-based standards] (cexpm1l): Likewise.
6616 [C99-based standards] (clog10l): Likewise.
6617 [C99-based standards] (clog1pl): Likewise.
6618 [C99-based standards] (clog2l): Likewise.
6619 [C99-based standards] (clgammal): Likewise.
6620 [C99-based standards] (ctgammal): Likewise.
6621 * conform/data/inttypes.h-data [C99-based standards]: Include
6622 stdint.h-data. Remove all expectations for stdint.h contents.
6623 [C99-based standards] (PRI*): Do not allow.
6624 [C99-based standards] (SCN*): Likewise.
6625 [C99-based standards] (*_t): Likewise.
6626 [C99-based-standards] (PRId8): Expect macro.
6627 [C99-based-standards] (PRIi8): Likewise.
6628 [C99-based-standards] (PRIo8): Likewise.
6629 [C99-based-standards] (PRIu8): Likewise.
6630 [C99-based-standards] (PRIx8): Likewise.
6631 [C99-based-standards] (PRIX8): Likewise.
6632 [C99-based-standards] (SCNd8): Likewise.
6633 [C99-based-standards] (SCNi8): Likewise.
6634 [C99-based-standards] (SCNo8): Likewise.
6635 [C99-based-standards] (SCNu8): Likewise.
6636 [C99-based-standards] (SCNx8): Likewise.
6637 [C99-based-standards] (PRIdLEAST8): Likewise.
6638 [C99-based-standards] (PRIiLEAST8): Likewise.
6639 [C99-based-standards] (PRIoLEAST8): Likewise.
6640 [C99-based-standards] (PRIuLEAST8): Likewise.
6641 [C99-based-standards] (PRIxLEAST8): Likewise.
6642 [C99-based-standards] (PRIXLEAST8): Likewise.
6643 [C99-based-standards] (SCNdLEAST8): Likewise.
6644 [C99-based-standards] (SCNiLEAST8): Likewise.
6645 [C99-based-standards] (SCNoLEAST8): Likewise.
6646 [C99-based-standards] (SCNuLEAST8): Likewise.
6647 [C99-based-standards] (SCNxLEAST8): Likewise.
6648 [C99-based-standards] (PRIdFAST8): Likewise.
6649 [C99-based-standards] (PRIiFAST8): Likewise.
6650 [C99-based-standards] (PRIoFAST8): Likewise.
6651 [C99-based-standards] (PRIuFAST8): Likewise.
6652 [C99-based-standards] (PRIxFAST8): Likewise.
6653 [C99-based-standards] (PRIXFAST8): Likewise.
6654 [C99-based-standards] (SCNdFAST8): Likewise.
6655 [C99-based-standards] (SCNiFAST8): Likewise.
6656 [C99-based-standards] (SCNoFAST8): Likewise.
6657 [C99-based-standards] (SCNuFAST8): Likewise.
6658 [C99-based-standards] (SCNxFAST8): Likewise.
6659 [C99-based-standards] (PRId16): Likewise.
6660 [C99-based-standards] (PRIi16): Likewise.
6661 [C99-based-standards] (PRIo16): Likewise.
6662 [C99-based-standards] (PRIu16): Likewise.
6663 [C99-based-standards] (PRIx16): Likewise.
6664 [C99-based-standards] (PRIX16): Likewise.
6665 [C99-based-standards] (SCNd16): Likewise.
6666 [C99-based-standards] (SCNi16): Likewise.
6667 [C99-based-standards] (SCNo16): Likewise.
6668 [C99-based-standards] (SCNu16): Likewise.
6669 [C99-based-standards] (SCNx16): Likewise.
6670 [C99-based-standards] (PRIdLEAST16): Likewise.
6671 [C99-based-standards] (PRIiLEAST16): Likewise.
6672 [C99-based-standards] (PRIoLEAST16): Likewise.
6673 [C99-based-standards] (PRIuLEAST16): Likewise.
6674 [C99-based-standards] (PRIxLEAST16): Likewise.
6675 [C99-based-standards] (PRIXLEAST16): Likewise.
6676 [C99-based-standards] (SCNdLEAST16): Likewise.
6677 [C99-based-standards] (SCNiLEAST16): Likewise.
6678 [C99-based-standards] (SCNoLEAST16): Likewise.
6679 [C99-based-standards] (SCNuLEAST16): Likewise.
6680 [C99-based-standards] (SCNxLEAST16): Likewise.
6681 [C99-based-standards] (PRIdFAST16): Likewise.
6682 [C99-based-standards] (PRIiFAST16): Likewise.
6683 [C99-based-standards] (PRIoFAST16): Likewise.
6684 [C99-based-standards] (PRIuFAST16): Likewise.
6685 [C99-based-standards] (PRIxFAST16): Likewise.
6686 [C99-based-standards] (PRIXFAST16): Likewise.
6687 [C99-based-standards] (SCNdFAST16): Likewise.
6688 [C99-based-standards] (SCNiFAST16): Likewise.
6689 [C99-based-standards] (SCNoFAST16): Likewise.
6690 [C99-based-standards] (SCNuFAST16): Likewise.
6691 [C99-based-standards] (SCNxFAST16): Likewise.
6692 [C99-based-standards] (PRId32): Likewise.
6693 [C99-based-standards] (PRIi32): Likewise.
6694 [C99-based-standards] (PRIo32): Likewise.
6695 [C99-based-standards] (PRIu32): Likewise.
6696 [C99-based-standards] (PRIx32): Likewise.
6697 [C99-based-standards] (PRIX32): Likewise.
6698 [C99-based-standards] (SCNd32): Likewise.
6699 [C99-based-standards] (SCNi32): Likewise.
6700 [C99-based-standards] (SCNo32): Likewise.
6701 [C99-based-standards] (SCNu32): Likewise.
6702 [C99-based-standards] (SCNx32): Likewise.
6703 [C99-based-standards] (PRIdLEAST32): Likewise.
6704 [C99-based-standards] (PRIiLEAST32): Likewise.
6705 [C99-based-standards] (PRIoLEAST32): Likewise.
6706 [C99-based-standards] (PRIuLEAST32): Likewise.
6707 [C99-based-standards] (PRIxLEAST32): Likewise.
6708 [C99-based-standards] (PRIXLEAST32): Likewise.
6709 [C99-based-standards] (SCNdLEAST32): Likewise.
6710 [C99-based-standards] (SCNiLEAST32): Likewise.
6711 [C99-based-standards] (SCNoLEAST32): Likewise.
6712 [C99-based-standards] (SCNuLEAST32): Likewise.
6713 [C99-based-standards] (SCNxLEAST32): Likewise.
6714 [C99-based-standards] (PRIdFAST32): Likewise.
6715 [C99-based-standards] (PRIiFAST32): Likewise.
6716 [C99-based-standards] (PRIoFAST32): Likewise.
6717 [C99-based-standards] (PRIuFAST32): Likewise.
6718 [C99-based-standards] (PRIxFAST32): Likewise.
6719 [C99-based-standards] (PRIXFAST32): Likewise.
6720 [C99-based-standards] (SCNdFAST32): Likewise.
6721 [C99-based-standards] (SCNiFAST32): Likewise.
6722 [C99-based-standards] (SCNoFAST32): Likewise.
6723 [C99-based-standards] (SCNuFAST32): Likewise.
6724 [C99-based-standards] (SCNxFAST32): Likewise.
6725 [C99-based-standards] (PRId64): Likewise.
6726 [C99-based-standards] (PRIi64): Likewise.
6727 [C99-based-standards] (PRIo64): Likewise.
6728 [C99-based-standards] (PRIu64): Likewise.
6729 [C99-based-standards] (PRIx64): Likewise.
6730 [C99-based-standards] (PRIX64): Likewise.
6731 [C99-based-standards] (SCNd64): Likewise.
6732 [C99-based-standards] (SCNi64): Likewise.
6733 [C99-based-standards] (SCNo64): Likewise.
6734 [C99-based-standards] (SCNu64): Likewise.
6735 [C99-based-standards] (SCNx64): Likewise.
6736 [C99-based-standards] (PRIdLEAST64): Likewise.
6737 [C99-based-standards] (PRIiLEAST64): Likewise.
6738 [C99-based-standards] (PRIoLEAST64): Likewise.
6739 [C99-based-standards] (PRIuLEAST64): Likewise.
6740 [C99-based-standards] (PRIxLEAST64): Likewise.
6741 [C99-based-standards] (PRIXLEAST64): Likewise.
6742 [C99-based-standards] (SCNdLEAST64): Likewise.
6743 [C99-based-standards] (SCNiLEAST64): Likewise.
6744 [C99-based-standards] (SCNoLEAST64): Likewise.
6745 [C99-based-standards] (SCNuLEAST64): Likewise.
6746 [C99-based-standards] (SCNxLEAST64): Likewise.
6747 [C99-based-standards] (PRIdFAST64): Likewise.
6748 [C99-based-standards] (PRIiFAST64): Likewise.
6749 [C99-based-standards] (PRIoFAST64): Likewise.
6750 [C99-based-standards] (PRIuFAST64): Likewise.
6751 [C99-based-standards] (PRIxFAST64): Likewise.
6752 [C99-based-standards] (PRIXFAST64): Likewise.
6753 [C99-based-standards] (SCNdFAST64): Likewise.
6754 [C99-based-standards] (SCNiFAST64): Likewise.
6755 [C99-based-standards] (SCNoFAST64): Likewise.
6756 [C99-based-standards] (SCNuFAST64): Likewise.
6757 [C99-based-standards] (SCNxFAST64): Likewise.
6758 [C99-based-standards] (PRIdMAX): Likewise.
6759 [C99-based-standards] (PRIiMAX): Likewise.
6760 [C99-based-standards] (PRIoMAX): Likewise.
6761 [C99-based-standards] (PRIuMAX): Likewise.
6762 [C99-based-standards] (PRIxMAX): Likewise.
6763 [C99-based-standards] (PRIXMAX): Likewise.
6764 [C99-based-standards] (SCNdMAX): Likewise.
6765 [C99-based-standards] (SCNiMAX): Likewise.
6766 [C99-based-standards] (SCNoMAX): Likewise.
6767 [C99-based-standards] (SCNuMAX): Likewise.
6768 [C99-based-standards] (SCNxMAX): Likewise.
6769 [C99-based-standards] (PRIdPTR): Likewise.
6770 [C99-based-standards] (PRIiPTR): Likewise.
6771 [C99-based-standards] (PRIoPTR): Likewise.
6772 [C99-based-standards] (PRIuPTR): Likewise.
6773 [C99-based-standards] (PRIxPTR): Likewise.
6774 [C99-based-standards] (PRIXPTR): Likewise.
6775 [C99-based-standards] (SCNdPTR): Likewise.
6776 [C99-based-standards] (SCNiPTR): Likewise.
6777 [C99-based-standards] (SCNoPTR): Likewise.
6778 [C99-based-standards] (SCNuPTR): Likewise.
6779 [C99-based-standards] (SCNxPTR): Likewise.
6780 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
6781 allow.
6782 * conform/data/stdint.h-data: Update comments to clarify
6783 requirements.
6784 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6785 type.
6786 [C99-based standards] (INT8_MAX): Likewise.
6787 [C99-based standards] (INT16_MIN): Likewise.
6788 [C99-based standards] (INT16_MAX): Likewise.
6789 [C99-based standards] (INT32_MIN): Likewise.
6790 [C99-based standards] (INT32_MAX): Likewise.
6791 [C99-based standards] (INT64_MIN): Likewise.
6792 [C99-based standards] (INT64_MAX): Likewise.
6793 [C99-based standards] (UINT8_MAX): Likewise.
6794 [C99-based standards] (UINT16_MAX): Likewise.
6795 [C99-based standards] (UINT32_MAX): Likewise.
6796 [C99-based standards] (UINT64_MAX): Likewise.
6797 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6798 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6799 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6800 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6801 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6802 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6803 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6804 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6805 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6806 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6807 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6808 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6809 [C99-based standards] (INT_FAST8_MIN): Likewise.
6810 [C99-based standards] (INT_FAST8_MAX): Likewise.
6811 [C99-based standards] (INT_FAST16_MIN): Likewise.
6812 [C99-based standards] (INT_FAST16_MAX): Likewise.
6813 [C99-based standards] (INT_FAST32_MIN): Likewise.
6814 [C99-based standards] (INT_FAST32_MAX): Likewise.
6815 [C99-based standards] (INT_FAST64_MIN): Likewise.
6816 [C99-based standards] (INT_FAST64_MAX): Likewise.
6817 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6818 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6819 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6820 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6821 [C99-based standards] (INTPTR_MIN): Likewise.
6822 [C99-based standards] (INTPTR_MAX): Likewise.
6823 [C99-based standards] (UINTPTR_MAX): Likewise.
6824 [C99-based standards] (INTMAX_MIN): Likewise.
6825 [C99-based standards] (INTMAX_MAX): Likewise.
6826 [C99-based standards] (UINTMAX_MAX): Likewise.
6827 [C99-based standards] (PTRDIFF_MIN): Likewise.
6828 [C99-based standards] (PTRDIFF_MAX): Likewise.
6829 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6830 [C99-based standards] (SIZE_MAX): Likewise.
6831 [C99-based standards] (WCHAR_MAX): Likewise.
6832 [C99-based standards] (WINT_MAX): Likewise.
6833 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6834 constraint on value.
6835 [C99-based standards] (WCHAR_MIN): Likewise.
6836 [C99-based standards] (WINT_MIN): Likewise.
6837 [C99-based standards] (*_t): Allow.
6838 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6839 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6840 Include math.h-data and complex.h-data. Remove all expectations
6841 of math.h and complex.h contents.
6842 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6843 at end of line.
6844 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6845 (struct tm): Expect tag.
6846 [C99-based-standards] (wcstof): Expect function.
6847 [C99-based-standards] (wcstold): Likewise.
6848 [C99-based-standards] (wcstoll): Likewise.
6849 [C99-based-standards] (wcstoull): Likewise.
6850 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6851 macro-int-constant. Specify type.
6852 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6853 constraint on value.
6854 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6855 Specify type.
6856 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6857 Specify value.
6858 [ISO C standards]: Do not allow headers.
6859 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6860 wcs[abcdefghijklmnopqrstuvwxyz]*.
6861 [ISO C standards] (*_t): Do not allow.
6862 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6863 Expect function.
6864 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6865 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6866 Specify type.
6867 [ISO C standards]: Do not allow headers.
6868 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6869 is[abcdefghijklmnopqrstuvwxyz]*.
6870 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6871 to[abcdefghijklmnopqrstuvwxyz]*.
6872 [ISO C standards] (*_t): Do not allow.
6873 * conform/data/stdalign.h-data: New file.
6874 * conform/data/stdbool.h-data: Likewise.
6875 * conform/data/stdnoreturn.h-data: Likewise.
6876
7514feb8
RM
68772012-11-07 Roland McGrath <roland@hack.frob.com>
6878
6879 [BZ #14815]
6880 * manual/filesys.texi (Directory Entries): Typo fix.
6881 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6882
19b2ecfc
MS
68832012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6884
6885 * elf/elf.h (EM_AARCH64): New macro.
6886 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6887 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6888 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6889 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6890 (R_AARCH64_TLSDESC): Likewise.
6891 (NT_ARM_TLS): Likewise.
6892 (NT_ARM_HW_BREAK): Likewise.
6893 (NT_ARM_HW_WATCH): Likewise.
6894
60e235ee
JM
68952012-11-07 Joseph Myers <joseph@codesourcery.com>
6896
6897 [BZ #14811]
6898 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6899 (__ieee754_powl): Saturate nonzero exponents with absolute value
6900 below 0x1p-79 to +/- 0x1p-79.
6901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6902 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6903 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6904 nonzero exponents with absolute value below 0x1p-32 to +/-
6905 0x1p-32.
6906 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6907 (__ieee754_powl): Saturate nonzero exponents with absolute value
6908 below 0x1p-79 to +/- 0x1p-79.
6909 * math/libm-test.inc (pow_test): Add more tests.
6910
0ab234b7
AK
69112012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6912
6913 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6914 _dl_s390_cap_flags with kernel. Increase string length.
6915 (_dl_s390_platforms): Add z196 and zEC12.
6916
45832f74
JM
69172012-11-07 Joseph Myers <joseph@codesourcery.com>
6918
6919 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6920 Change XOPEN21K to XOPEN2K.
6921
19218757
MK
69222012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6923
6924 * string/memmove.c: Use memcpy when possible.
6925
c5f45721
AJ
69262012-11-06 Andreas Jaeger <aj@suse.de>
6927
6928 * po/eo.po: Update from translation team.
6929
82477c28
JM
69302012-11-06 Joseph Myers <joseph@codesourcery.com>
6931
6932 [BZ #14793]
6933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6934 exponent and small x and y exponents, scale x or y up. Increase
6935 by 2 the exponent used in scaling up.
6936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6938 * math/libm-test.inc (fma_test): Add more tests.
6939 (fma_test_towardzero): Likewise.
6940 (fma_test_downward): Likewise.
6941 (fma_test_upward): Likewise.
6942
99252c8c
JM
69432012-11-05 Joseph Myers <joseph@codesourcery.com>
6944
acfa885f
JM
6945 [BZ #14805]
6946 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6947 fenv_t *.
6948
99252c8c
JM
6949 [BZ #14801]
6950 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6951 namespace for names of struct fields.
6952 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6953 fenv_t fields.
6954 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6955 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6956
d6d98dea
ST
69572012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6958
6959 [BZ #3665]
6960 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6961
e10bb107
TS
69622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6963
6964 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6965 PTR_DEMANGLE.
6966
6967 [BZ #5246]
6968 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6969 PTR_DEMANGLE.
6970
a0c2940d
JM
69712012-11-04 Joseph Myers <joseph@codesourcery.com>
6972
6973 [BZ #14797]
6974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6975 definitely overflow as x * y not x * y + z.
6976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6978 * math/libm-test.inc (fma_test): Add more tests.
6979 (fma_test_towardzero): Likewise.
6980 (fma_test_downward): Likewise.
6981 (fma_test_upward): Likewise.
6982
b830319d
TS
69832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6984
6985 [BZ #157]
6986
6987 * include/stub-tag.h: Remove file.
6988 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6989 '#include' of it.
6990 * manual/maint.texi (Porting): Don't reference it.
6991 * Makerules ($(objpfx)stubs): Likewise.
6992 * dirent/closedir.c: Don't include <stub-tag.h>.
6993 * dirent/dirfd.c: Likewise.
6994 * dirent/fdopendir.c: Likewise.
6995 * dirent/getdents.c: Likewise.
6996 * dirent/getdents64.c: Likewise.
6997 * dirent/opendir.c: Likewise.
6998 * dirent/readdir.c: Likewise.
6999 * dirent/readdir64.c: Likewise.
7000 * dirent/readdir64_r.c: Likewise.
7001 * dirent/readdir_r.c: Likewise.
7002 * dirent/rewinddir.c: Likewise.
7003 * dirent/seekdir.c: Likewise.
7004 * dirent/telldir.c: Likewise.
7005 * gmon/profil.c: Likewise.
7006 * grp/setgroups.c: Likewise.
7007 * inet/if_index.c: Likewise.
7008 * io/access.c: Likewise.
7009 * io/chdir.c: Likewise.
7010 * io/chmod.c: Likewise.
7011 * io/chown.c: Likewise.
7012 * io/close.c: Likewise.
7013 * io/dup.c: Likewise.
7014 * io/dup2.c: Likewise.
7015 * io/dup3.c: Likewise.
7016 * io/euidaccess.c: Likewise.
7017 * io/faccessat.c: Likewise.
7018 * io/fchdir.c: Likewise.
7019 * io/fchmod.c: Likewise.
7020 * io/fchmodat.c: Likewise.
7021 * io/fchown.c: Likewise.
7022 * io/fchownat.c: Likewise.
7023 * io/fcntl.c: Likewise.
7024 * io/flock.c: Likewise.
7025 * io/fstatfs.c: Likewise.
7026 * io/fstatfs64.c: Likewise.
7027 * io/fstatvfs.c: Likewise.
7028 * io/fstatvfs64.c: Likewise.
7029 * io/futimens.c: Likewise.
7030 * io/fxstat.c: Likewise.
7031 * io/fxstat64.c: Likewise.
7032 * io/fxstatat.c: Likewise.
7033 * io/fxstatat64.c: Likewise.
7034 * io/getcwd.c: Likewise.
7035 * io/isatty.c: Likewise.
7036 * io/lchmod.c: Likewise.
7037 * io/lchown.c: Likewise.
7038 * io/link.c: Likewise.
7039 * io/linkat.c: Likewise.
7040 * io/lseek.c: Likewise.
7041 * io/lseek64.c: Likewise.
7042 * io/lxstat64.c: Likewise.
7043 * io/mkdir.c: Likewise.
7044 * io/mkdirat.c: Likewise.
7045 * io/mkfifo.c: Likewise.
7046 * io/mkfifoat.c: Likewise.
7047 * io/open.c: Likewise.
7048 * io/open64.c: Likewise.
7049 * io/openat.c: Likewise.
7050 * io/openat64.c: Likewise.
7051 * io/pipe.c: Likewise.
7052 * io/pipe2.c: Likewise.
7053 * io/poll.c: Likewise.
7054 * io/posix_fadvise.c: Likewise.
7055 * io/posix_fadvise64.c: Likewise.
7056 * io/posix_fallocate.c: Likewise.
7057 * io/posix_fallocate64.c: Likewise.
7058 * io/read.c: Likewise.
7059 * io/readlink.c: Likewise.
7060 * io/readlinkat.c: Likewise.
7061 * io/rmdir.c: Likewise.
7062 * io/sendfile.c: Likewise.
7063 * io/sendfile64.c: Likewise.
7064 * io/statfs.c: Likewise.
7065 * io/statfs64.c: Likewise.
7066 * io/statvfs.c: Likewise.
7067 * io/statvfs64.c: Likewise.
7068 * io/symlink.c: Likewise.
7069 * io/symlinkat.c: Likewise.
7070 * io/ttyname.c: Likewise.
7071 * io/ttyname_r.c: Likewise.
7072 * io/umask.c: Likewise.
7073 * io/unlink.c: Likewise.
7074 * io/unlinkat.c: Likewise.
7075 * io/utime.c: Likewise.
7076 * io/utimensat.c: Likewise.
7077 * io/write.c: Likewise.
7078 * io/xmknod.c: Likewise.
7079 * io/xmknodat.c: Likewise.
7080 * io/xstat.c: Likewise.
7081 * io/xstat64.c: Likewise.
7082 * login/getpt.c: Likewise.
7083 * login/grantpt.c: Likewise.
7084 * login/unlockpt.c: Likewise.
7085 * math/e_acoshl.c: Likewise.
7086 * math/e_acosl.c: Likewise.
7087 * math/e_asinl.c: Likewise.
7088 * math/e_atan2l.c: Likewise.
7089 * math/e_atanhl.c: Likewise.
7090 * math/e_coshl.c: Likewise.
7091 * math/e_expl.c: Likewise.
7092 * math/e_fmodl.c: Likewise.
7093 * math/e_gammal_r.c: Likewise.
7094 * math/e_hypotl.c: Likewise.
7095 * math/e_j0l.c: Likewise.
7096 * math/e_j1l.c: Likewise.
7097 * math/e_jnl.c: Likewise.
7098 * math/e_lgammal_r.c: Likewise.
7099 * math/e_log10l.c: Likewise.
7100 * math/e_log2l.c: Likewise.
7101 * math/e_logl.c: Likewise.
7102 * math/e_powl.c: Likewise.
7103 * math/e_rem_pio2l.c: Likewise.
7104 * math/e_sinhl.c: Likewise.
7105 * math/e_sqrtl.c: Likewise.
7106 * math/fclrexcpt.c: Likewise.
7107 * math/fedisblxcpt.c: Likewise.
7108 * math/feenablxcpt.c: Likewise.
7109 * math/fegetenv.c: Likewise.
7110 * math/fegetexcept.c: Likewise.
7111 * math/fegetround.c: Likewise.
7112 * math/feholdexcpt.c: Likewise.
7113 * math/fesetenv.c: Likewise.
7114 * math/fesetround.c: Likewise.
7115 * math/feupdateenv.c: Likewise.
7116 * math/fgetexcptflg.c: Likewise.
7117 * math/fraiseexcpt.c: Likewise.
7118 * math/fsetexcptflg.c: Likewise.
7119 * math/ftestexcept.c: Likewise.
7120 * math/k_cosl.c: Likewise.
7121 * math/k_rem_pio2l.c: Likewise.
7122 * math/k_sinl.c: Likewise.
7123 * math/k_tanl.c: Likewise.
7124 * math/s_asinhl.c: Likewise.
7125 * math/s_atanl.c: Likewise.
7126 * math/s_cbrtl.c: Likewise.
7127 * math/s_erfl.c: Likewise.
7128 * math/s_expm1l.c: Likewise.
7129 * math/s_log1pl.c: Likewise.
7130 * math/s_tanhl.c: Likewise.
7131 * misc/acct.c: Likewise.
7132 * misc/brk.c: Likewise.
7133 * misc/chflags.c: Likewise.
7134 * misc/chroot.c: Likewise.
7135 * misc/fchflags.c: Likewise.
7136 * misc/fgetxattr.c: Likewise.
7137 * misc/flistxattr.c: Likewise.
7138 * misc/fremovexattr.c: Likewise.
7139 * misc/fsetxattr.c: Likewise.
7140 * misc/fsync.c: Likewise.
7141 * misc/ftruncate.c: Likewise.
7142 * misc/futimes.c: Likewise.
7143 * misc/futimesat.c: Likewise.
7144 * misc/getdomain.c: Likewise.
7145 * misc/getdtsz.c: Likewise.
7146 * misc/gethostid.c: Likewise.
7147 * misc/gethostname.c: Likewise.
7148 * misc/getloadavg.c: Likewise.
7149 * misc/getpagesize.c: Likewise.
7150 * misc/getsysstats.c: Likewise.
7151 * misc/getxattr.c: Likewise.
7152 * misc/gtty.c: Likewise.
7153 * misc/ioctl.c: Likewise.
7154 * misc/lgetxattr.c: Likewise.
7155 * misc/listxattr.c: Likewise.
7156 * misc/llistxattr.c: Likewise.
7157 * misc/lremovexattr.c: Likewise.
7158 * misc/lsetxattr.c: Likewise.
7159 * misc/lutimes.c: Likewise.
7160 * misc/madvise.c: Likewise.
7161 * misc/mincore.c: Likewise.
7162 * misc/mlock.c: Likewise.
7163 * misc/mlockall.c: Likewise.
7164 * misc/mmap.c: Likewise.
7165 * misc/mprotect.c: Likewise.
7166 * misc/msync.c: Likewise.
7167 * misc/munlock.c: Likewise.
7168 * misc/munlockall.c: Likewise.
7169 * misc/munmap.c: Likewise.
7170 * misc/preadv.c: Likewise.
7171 * misc/preadv64.c: Likewise.
7172 * misc/ptrace.c: Likewise.
7173 * misc/pwritev.c: Likewise.
7174 * misc/pwritev64.c: Likewise.
7175 * misc/readv.c: Likewise.
7176 * misc/reboot.c: Likewise.
7177 * misc/remap_file_pages.c: Likewise.
7178 * misc/removexattr.c: Likewise.
7179 * misc/revoke.c: Likewise.
7180 * misc/select.c: Likewise.
7181 * misc/setdomain.c: Likewise.
7182 * misc/setegid.c: Likewise.
7183 * misc/seteuid.c: Likewise.
7184 * misc/sethostid.c: Likewise.
7185 * misc/sethostname.c: Likewise.
7186 * misc/setregid.c: Likewise.
7187 * misc/setreuid.c: Likewise.
7188 * misc/setxattr.c: Likewise.
7189 * misc/sstk.c: Likewise.
7190 * misc/stty.c: Likewise.
7191 * misc/swapoff.c: Likewise.
7192 * misc/swapon.c: Likewise.
7193 * misc/sync.c: Likewise.
7194 * misc/syncfs.c: Likewise.
7195 * misc/syscall.c: Likewise.
7196 * misc/truncate.c: Likewise.
7197 * misc/ualarm.c: Likewise.
7198 * misc/usleep.c: Likewise.
7199 * misc/ustat.c: Likewise.
7200 * misc/utimes.c: Likewise.
7201 * misc/vhangup.c: Likewise.
7202 * misc/writev.c: Likewise.
7203 * posix/_exit.c: Likewise.
7204 * posix/alarm.c: Likewise.
7205 * posix/execve.c: Likewise.
7206 * posix/fexecve.c: Likewise.
7207 * posix/fork.c: Likewise.
7208 * posix/fpathconf.c: Likewise.
7209 * posix/getaddrinfo.c: Likewise.
7210 * posix/getegid.c: Likewise.
7211 * posix/geteuid.c: Likewise.
7212 * posix/getgid.c: Likewise.
7213 * posix/getgroups.c: Likewise.
7214 * posix/getlogin.c: Likewise.
7215 * posix/getlogin_r.c: Likewise.
7216 * posix/getpgid.c: Likewise.
7217 * posix/getpid.c: Likewise.
7218 * posix/getppid.c: Likewise.
7219 * posix/getresgid.c: Likewise.
7220 * posix/getresuid.c: Likewise.
7221 * posix/getsid.c: Likewise.
7222 * posix/getuid.c: Likewise.
7223 * posix/glob64.c: Likewise.
7224 * posix/nanosleep.c: Likewise.
7225 * posix/pathconf.c: Likewise.
7226 * posix/pause.c: Likewise.
7227 * posix/posix_madvise.c: Likewise.
7228 * posix/pread.c: Likewise.
7229 * posix/pread64.c: Likewise.
7230 * posix/pwrite.c: Likewise.
7231 * posix/pwrite64.c: Likewise.
7232 * posix/sched_getaffinity.c: Likewise.
7233 * posix/sched_getp.c: Likewise.
7234 * posix/sched_gets.c: Likewise.
7235 * posix/sched_primax.c: Likewise.
7236 * posix/sched_primin.c: Likewise.
7237 * posix/sched_rr_gi.c: Likewise.
7238 * posix/sched_setaffinity.c: Likewise.
7239 * posix/sched_setp.c: Likewise.
7240 * posix/sched_sets.c: Likewise.
7241 * posix/sched_yield.c: Likewise.
7242 * posix/setgid.c: Likewise.
7243 * posix/setlogin.c: Likewise.
7244 * posix/setpgid.c: Likewise.
7245 * posix/setresgid.c: Likewise.
7246 * posix/setresuid.c: Likewise.
7247 * posix/setsid.c: Likewise.
7248 * posix/setuid.c: Likewise.
7249 * posix/sleep.c: Likewise.
7250 * posix/spawni.c: Likewise.
7251 * posix/sysconf.c: Likewise.
7252 * posix/times.c: Likewise.
7253 * posix/wait.c: Likewise.
7254 * posix/wait3.c: Likewise.
7255 * posix/wait4.c: Likewise.
7256 * posix/waitpid.c: Likewise.
7257 * resolv/gai_sigqueue.c: Likewise.
7258 * resource/getpriority.c: Likewise.
7259 * resource/getrlimit.c: Likewise.
7260 * resource/getrusage.c: Likewise.
7261 * resource/nice.c: Likewise.
7262 * resource/setpriority.c: Likewise.
7263 * resource/setrlimit.c: Likewise.
7264 * resource/ulimit.c: Likewise.
7265 * rt/aio_cancel.c: Likewise.
7266 * rt/aio_fsync.c: Likewise.
7267 * rt/aio_read.c: Likewise.
7268 * rt/aio_sigqueue.c: Likewise.
7269 * rt/aio_suspend.c: Likewise.
7270 * rt/aio_write.c: Likewise.
7271 * rt/clock_getres.c: Likewise.
7272 * rt/clock_gettime.c: Likewise.
7273 * rt/clock_nanosleep.c: Likewise.
7274 * rt/clock_settime.c: Likewise.
7275 * rt/lio_listio.c: Likewise.
7276 * rt/mq_close.c: Likewise.
7277 * rt/mq_getattr.c: Likewise.
7278 * rt/mq_notify.c: Likewise.
7279 * rt/mq_open.c: Likewise.
7280 * rt/mq_receive.c: Likewise.
7281 * rt/mq_send.c: Likewise.
7282 * rt/mq_setattr.c: Likewise.
7283 * rt/mq_timedreceive.c: Likewise.
7284 * rt/mq_timedsend.c: Likewise.
7285 * rt/mq_unlink.c: Likewise.
7286 * rt/shm_open.c: Likewise.
7287 * rt/shm_unlink.c: Likewise.
7288 * rt/timer_create.c: Likewise.
7289 * rt/timer_delete.c: Likewise.
7290 * rt/timer_getoverr.c: Likewise.
7291 * rt/timer_gettime.c: Likewise.
7292 * rt/timer_settime.c: Likewise.
7293 * setjmp/__longjmp.c: Likewise.
7294 * setjmp/setjmp.c: Likewise.
7295 * signal/kill.c: Likewise.
7296 * signal/killpg.c: Likewise.
7297 * signal/raise.c: Likewise.
7298 * signal/sigaction.c: Likewise.
7299 * signal/sigaltstack.c: Likewise.
7300 * signal/sigblock.c: Likewise.
7301 * signal/sigignore.c: Likewise.
7302 * signal/sigintr.c: Likewise.
7303 * signal/signal.c: Likewise.
7304 * signal/sigpause.c: Likewise.
7305 * signal/sigpending.c: Likewise.
7306 * signal/sigqueue.c: Likewise.
7307 * signal/sigreturn.c: Likewise.
7308 * signal/sigset.c: Likewise.
7309 * signal/sigsetmask.c: Likewise.
7310 * signal/sigstack.c: Likewise.
7311 * signal/sigsuspend.c: Likewise.
7312 * signal/sigtimedwait.c: Likewise.
7313 * signal/sigvec.c: Likewise.
7314 * signal/sigwait.c: Likewise.
7315 * signal/sigwaitinfo.c: Likewise.
7316 * signal/sysv_signal.c: Likewise.
7317 * socket/accept.c: Likewise.
7318 * socket/accept4.c: Likewise.
7319 * socket/bind.c: Likewise.
7320 * socket/connect.c: Likewise.
7321 * socket/getpeername.c: Likewise.
7322 * socket/getsockname.c: Likewise.
7323 * socket/getsockopt.c: Likewise.
7324 * socket/isfdtype.c: Likewise.
7325 * socket/listen.c: Likewise.
7326 * socket/recv.c: Likewise.
7327 * socket/recvfrom.c: Likewise.
7328 * socket/recvmsg.c: Likewise.
7329 * socket/send.c: Likewise.
7330 * socket/sendmsg.c: Likewise.
7331 * socket/sendto.c: Likewise.
7332 * socket/setsockopt.c: Likewise.
7333 * socket/shutdown.c: Likewise.
7334 * socket/sockatmark.c: Likewise.
7335 * socket/socket.c: Likewise.
7336 * socket/socketpair.c: Likewise.
7337 * stdio-common/ctermid.c: Likewise.
7338 * stdio-common/cuserid.c: Likewise.
7339 * stdio-common/remove.c: Likewise.
7340 * stdio-common/rename.c: Likewise.
7341 * stdio-common/renameat.c: Likewise.
7342 * stdio-common/tempname.c: Likewise.
7343 * stdlib/getcontext.c: Likewise.
7344 * stdlib/makecontext.c: Likewise.
7345 * stdlib/setcontext.c: Likewise.
7346 * stdlib/swapcontext.c: Likewise.
7347 * stdlib/system.c: Likewise.
7348 * streams/fattach.c: Likewise.
7349 * streams/fdetach.c: Likewise.
7350 * streams/getmsg.c: Likewise.
7351 * streams/getpmsg.c: Likewise.
7352 * streams/putmsg.c: Likewise.
7353 * streams/putpmsg.c: Likewise.
7354 * sysdeps/unix/bsd/getpt.c: Likewise.
7355 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7356 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7357 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7359 Likewise.
7360 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7361 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7362 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7363 * sysvipc/msgctl.c: Likewise.
7364 * sysvipc/msgget.c: Likewise.
7365 * sysvipc/msgrcv.c: Likewise.
7366 * sysvipc/msgsnd.c: Likewise.
7367 * sysvipc/semctl.c: Likewise.
7368 * sysvipc/semget.c: Likewise.
7369 * sysvipc/semop.c: Likewise.
7370 * sysvipc/semtimedop.c: Likewise.
7371 * sysvipc/shmat.c: Likewise.
7372 * sysvipc/shmctl.c: Likewise.
7373 * sysvipc/shmdt.c: Likewise.
7374 * sysvipc/shmget.c: Likewise.
7375 * termios/tcdrain.c: Likewise.
7376 * termios/tcflow.c: Likewise.
7377 * termios/tcflush.c: Likewise.
7378 * termios/tcgetattr.c: Likewise.
7379 * termios/tcgetpgrp.c: Likewise.
7380 * termios/tcsendbrk.c: Likewise.
7381 * termios/tcsetattr.c: Likewise.
7382 * termios/tcsetpgrp.c: Likewise.
7383 * time/adjtime.c: Likewise.
7384 * time/clock.c: Likewise.
7385 * time/getitimer.c: Likewise.
7386 * time/gettimeofday.c: Likewise.
7387 * time/setitimer.c: Likewise.
7388 * time/settimeofday.c: Likewise.
7389 * time/stime.c: Likewise.
7390 * time/time.c: Likewise.
7391
73922012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7393
a20492cf
PT
7394 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7395 /usr/old/bin.
7396
72e182e3
PT
7397 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7398 instead of spaces.
7399 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7400
fbeafede
JM
74012012-11-03 Joseph Myers <joseph@codesourcery.com>
7402
5b5b04d6
JM
7403 [BZ #14796]
7404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7405 FE_TONEAREST before applying Dekker multiplication and Knuth
7406 addition. Clear inexact exceptions and check for exact zero
7407 results afterwards.
7408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7409 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7410 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7411 * math/libm-test.inc (fma_test): Add more tests.
7412 (fma_test_towardzero): Likewise.
7413 (fma_test_downward): Likewise.
7414 (fma_test_upward): Likewise.
7415 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7416 function.
7417 (libc_fesetround): New macro.
7418 (libc_fesetroundf): Likewise.
7419 (libc_fesetroundl): Likewise.
7420 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7421 function.
7422 (libc_fesetround_387): Likewise.
7423 (libc_fesetroundf): New macro.
7424 (libc_fesetround): Likewise.
7425 (libc_fesetroundl): Likewise.
7426 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7427 function.
7428 (libc_fesetroundf): New macro.
7429 (libc_fesetround): Likewise.
7430 (libc_fesetroundl): Likewise.
7431 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7432 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7433 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7434 libm_hidden_ver.
7435 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7436 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7437 libm_hidden_def.
7438 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7439 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7440 libm_hidden_ver.
7441 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7442 libm_hidden_def.
7443
fbeafede
JM
7444 [BZ #3439]
7445 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7446 integer constant usable in #if and use that to give value to enum
7447 constant.
7448 (FE_DIVBYZERO): Likewise.
7449 (FE_UNDERFLOW): Likewise.
7450 (FE_OVERFLOW): Likewise.
7451 (FE_INVALID): Likewise.
7452 (FE_INVALID_SNAN): Likewise.
7453 (FE_INVALID_ISI): Likewise.
7454 (FE_INVALID_IDI): Likewise.
7455 (FE_INVALID_ZDZ): Likewise.
7456 (FE_INVALID_IMZ): Likewise.
7457 (FE_INVALID_COMPARE): Likewise.
7458 (FE_INVALID_SOFTWARE): Likewise.
7459 (FE_INVALID_SQRT): Likewise.
7460 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7461 (FE_TONEAREST): Likewise.
7462 (FE_TOWARDZERO): Likewise.
7463 (FE_UPWARD): Likewise.
7464 (FE_DOWNWARD): Likewise.
7465 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7466 (FE_DIVBYZERO): Likewise.
7467 (FE_OVERFLOW): Likewise.
7468 (FE_UNDERFLOW): Likewise.
7469 (FE_INEXACT): Likewise.
7470 (FE_TONEAREST): Likewise.
7471 (FE_DOWNWARD): Likewise.
7472 (FE_UPWARD): Likewise.
7473 (FE_TOWARDZERO): Likewise.
7474 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7475 (FE_UNDERFLOW): Likewise.
7476 (FE_OVERFLOW): Likewise.
7477 (FE_DIVBYZERO): Likewise.
7478 (FE_INVALID): Likewise.
7479 (FE_TONEAREST): Likewise.
7480 (FE_TOWARDZERO): Likewise.
7481 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7482 (FE_OVERFLOW): Likewise.
7483 (FE_UNDERFLOW): Likewise.
7484 (FE_DIVBYZERO): Likewise.
7485 (FE_INEXACT): Likewise.
7486 (FE_TONEAREST): Likewise.
7487 (FE_TOWARDZERO): Likewise.
7488 (FE_UPWARD): Likewise.
7489 (FE_DOWNWARD): Likewise.
7490 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7491 (FE_DIVBYZERO): Likewise.
7492 (FE_OVERFLOW): Likewise.
7493 (FE_UNDERFLOW): Likewise.
7494 (FE_INEXACT): Likewise.
7495 (FE_TONEAREST): Likewise.
7496 (FE_DOWNWARD): Likewise.
7497 (FE_UPWARD): Likewise.
7498 (FE_TOWARDZERO): Likewise.
7499
105ca950
CM
75002012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7501
7502 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7503
a542b389
AS
75042012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7505
7506 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7507 commands. Quote $PWD.
7508 (blacklist_exports): Don't use remove_newlines. Replace "declare
7509 -x" by "export".
7510 (remove_newlines): Remove.
7511
f62c8abc
L
75122012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7513
7514 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7515 * stdlib/stdlib.h (atof): Moved to ...
7516 * include/bits/stdlib-float.h: Here. New file.
7517 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7518 * stdlib/bits/stdlib-float.h: New file.
7519 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7520 -mno-sse -mno-mmx.
7521 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7522 <xmmintrin.h>.
7523
0155d5b2
JM
75242012-11-02 Joseph Myers <joseph@codesourcery.com>
7525
a68d0680
JM
7526 * conform/conformtest.pl (@headers): Add fenv.h.
7527 * conform/data/fenv.h-data: New file.
7528 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7529 include of <math/fenv.h>.
7530
caf7f573
JM
7531 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7532 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7533 && !UNIX98]. Enables tests for XOPEN2K8.
7534 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7535 POSIX2008]: Likewise.
7536
6c073ad6
JM
7537 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7538 (struct rusage): Do not expect type or its members.
7539
0155d5b2
JM
7540 [BZ #3439]
7541 * math/math.h (FP_NAN): Define macro to integer constant usable in
7542 #if and use that to give value to enum constant.
7543 (FP_INFINITE): Likewise.
7544 (FP_ZERO): Likewise.
7545 (FP_SUBNORMAL): Likewise.
7546 (FP_NORMAL): Likewise.
7547
b5dcacb4
AS
75482012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7549
7550 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7551 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7552 arguments.
7553
f7934be8
RM
75542012-11-02 Roland McGrath <roland@hack.frob.com>
7555
7556 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7557 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7558 autoconf-time if not.
7559 * configure.in: Remove AC_PREREQ.
7560
d7d08bde
TMQMF
75612012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7562
7563 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7564 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7565 of the internal implementation.
7566
dcdae19a
JM
75672012-11-02 Joseph Myers <joseph@codesourcery.com>
7568
7569 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7570 except include of <misc/sys/syslog.h>.
7571
d6cffd3e
AS
75722012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7573
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7575 function returns with a NULL context exit with zero.
7576
b3563932
TMQMF
75772012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7578
7579 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7580
b288a93d
L
75812012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7582
7583 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7584 (run_program_cmd): This.
7585 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7586 (tst_langinfo): New variable. Use it.
7587
a2421a68
SAS
75882012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7589
7590 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7591 floating point opcodes.
7592
6f796e1b
TS
75932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7594
7402596b
TS
7595 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7596 variable.
7597
d0d4f868
TS
7598 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7599
6f796e1b
TS
7600 * sysdeps/mach/hurd/powerpc: Remove directory.
7601 * sysdeps/mach/powerpc: Likewise.
7602
4da224a2
AS
76032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7604
7605 * scripts/check-local-headers.sh: Ignore c++ headers.
7606
341dd673
TS
76072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7608
7609 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7610 __libc_cleanup_region_start argument.
7611
473611b2
JM
76122012-11-01 Joseph Myers <joseph@codesourcery.com>
7613
7614 [BZ #14784]
7615 [BZ #14785]
7616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7617 x * y using scaling, not as x * y + z.
7618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7620 * math/libm-test.inc (fma_test): Add more tests.
7621 (fma_test_towardzero): Likewise.
7622 (fma_test_downward): Likewise.
7623 (fma_test_upward): Likewise.
7624
4078da3d
TS
76252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7626
7627 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7628
903252aa
JM
76292012-10-31 Joseph Myers <joseph@codesourcery.com>
7630
7631 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7632 New variable.
7633
cbc818d0
TS
76342012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7635
7636 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7637
5a03cb1e
AS
76382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7639
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7641 Fix sort order.
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7643 Likewise.
7644
90aff2ff
TMQMF
76452012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7646
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7648 Fix the order of the list for glibc 2.17.
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7650 Likewise.
7651
1818fcb7
AS
76522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7653
7654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7655
ef82f4da
JM
76562012-10-31 Joseph Myers <joseph@codesourcery.com>
7657
16a0e2ec
JM
7658 [BZ #14610]
7659 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7660 for low part of x being zero before using __atanl (y).
7661 * math/libm-test.inc (atan2_test): Add another test.
7662
0eb69512
JM
7663 * manual/install.texi (Configuring and compiling): Document
7664 general use of test-wrapper and test-wrapper-env.
7665 * INSTALL: Regenerated.
7666
ef82f4da
JM
7667 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7668 (__fma): Do not extract and scale down low bits on after-rounding
7669 systems when result rounded to normal precision would have normal
7670 exponent.
7671 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7672 (__fmal): Do not extract and scale down low bits on after-rounding
7673 systems when result rounded to normal precision would have normal
7674 exponent.
7675 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7676 (__fmal): Do not extract and scale down low bits on after-rounding
7677 systems when result rounded to normal precision would have normal
7678 exponent.
7679 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7680 macro.
7681 (fma_test): Add more tests.
7682 (fma_test_towardzero): Likewise.
7683 (fma_test_downward): Likewise.
7684 (fma_test_upward): Likewise.
7685
954ef0d9
L
76862012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7687
7688 * sysdeps/i386/tininess.h: Renamed to ...
7689 * sysdeps/x86/tininess.h: This.
7690 * sysdeps/x86_64/tininess.h: Removed.
7691
df61ffb2
JM
76922012-10-30 Joseph Myers <joseph@codesourcery.com>
7693
7694 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7695 input. Use $(build-program-cmd).
7696 ($(objpfx)tst-array1-static.out): Likewise.
7697 ($(objpfx)tst-array2.out): Likewise.
7698 ($(objpfx)tst-array3.out): Likewise.
7699 ($(objpfx)tst-array4.out): Likewise.
7700 ($(objpfx)tst-array5.out): Likewise.
7701 ($(objpfx)tst-array5-static.out): Likewise.
7702
01767843
CM
77032012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7704
47cc1490
CM
7705 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7706 if defined.
7707
01767843
CM
7708 * nss/nsswitch.h (nss_interface_function): Provide new
7709 macro for use with NSS functions.
7710 * grp/initgroups.c: Use new macro.
7711 * nss/getXXbyYY.c: Likewise.
7712 * nss/getXXbyYY_r.c: Likewise.
7713 * nss/getXXent.c: Likewise.
7714 * nss/getXXent_r.c: Likewise.
7715 * sysdeps/posix/getaddrinfo.c: Likewise.
7716
8321aa97
AJ
77172012-10-30 Andreas Jaeger <aj@suse.de>
7718
7719 * po/ru.po: Update Russion translation from translation project.
7720
2a27fd6d
JM
77212012-10-30 Joseph Myers <joseph@codesourcery.com>
7722
8627a232
JM
7723 [BZ #14152]
7724 [BZ #14783]
7725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7726 result and shift together with sticky bit instead of replicating
7727 round-to-nearest rounding.
7728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7729 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7730 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7731 missing underflow exceptions.
7732 (fma_test_towardzero): Add more tests.
7733 (fma_test_downward): Likewise.
7734 (fma_test_upward): Likewise.
7735
2a27fd6d
JM
7736 [BZ #14047]
7737 * sysdeps/generic/tininess.h: New file.
7738 * sysdeps/i386/tininess.h: Likewise.
7739 * sysdeps/sh/tininess.h: Likewise.
7740 * sysdeps/x86_64/tininess.h: Likewise.
7741 * stdlib/tst-strtod-underflow.c: Likewise.
7742 * stdlib/tst-tininess.c: Likewise.
7743 * stdlib/strtod_l.c: Include <tininess.h>.
7744 (round_and_return): Do not set errno for exact underflow cases.
7745 Force an underflow exception when setting errno for underflow.
7746 Determine underflow based on rounding to normal precision if
7747 TININESS_AFTER_ROUNDING.
7748 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
7749 ERANGE for exact underflow cases.
7750 * stdlib/Makefile (tests): Add tst-tininess and
7751 tst-strtod-underflow.
7752 ($(objpfx)tst-tininess): Use $(link-libm).
7753 ($(objpfx)tst-strtod-underflow): Likewise.
7754
e7170363
AJ
77552012-10-30 Andreas Jaeger <aj@suse.de>
7756
e5088dc6
AJ
7757 [BZ#14767]
7758 * elf/Makefile (tests): Remove conditional for have-initfini-array
7759 since this is now always required and the variable does not exist
7760 anymore.
7761 (tests-static): Likewise.
7762 (modules-names): Likewise.
7763
e7170363 7764 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
7765
7766 * elf/tst-array1.c (fini_array): Make writeable so that it can be
7767 merged with constructor/destructor.
7768 (init_array): Likewise.
7769 * elf/tst-array2dep.c (fini_array): Likewise.
7770 (init_array): Likewise.
7771
60457d8a
MF
77722012-10-29 Mike Frysinger <vapier@gentoo.org>
7773
7774 * manual/message.texi: Delete @cartouche tags.
7775
8bece752
PT
77762012-10-29 Pino Toscano <toscano.pino@tiscali.it>
7777
94ce799f
PT
7778 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
7779 EOPNOTSUPP.
7780 * sysdeps/mach/hurd/fsync.c: Likewise.
7781
8bece752
PT
7782 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7783 [_POSIX_REALTIME_SIGNALS]: Change condition to
7784 [_POSIX_REALTIME_SIGNALS > 0].
7785
86ebe6b1
AJ
77862012-10-27 Andreas Jaeger <aj@suse.de>
7787
7788 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7789 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7791 [__WORDSIZE != 64]: Likewise.
7792
54399c08
L
77932012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7794
7795 * iconvdata/tst-table.sh: Remove ${SHELL}.
7796 * iconvdata/tst-tables.sh: Likewise.
7797
e2211bed
DM
77982012-10-25 David S. Miller <davem@davemloft.net>
7799
7800 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7801 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7802 of strtoull.
7803
f303f97c
DM
7804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7805 ifunc-impl-list.c
7806 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7807 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7808 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7809 file.
7810
1e9d84cd
RM
78112012-10-25 Roland McGrath <roland@hack.frob.com>
7812
7813 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7814 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7815 __getdirentries.
7816
df381762
JM
78172012-10-25 Joseph Myers <joseph@codesourcery.com>
7818 Jim Blandy <jimb@codesourcery.com>
7819
7820 * scripts/cross-test-ssh.sh: New file.
7821 * manual/install.texi (Configuring and compiling): Document use of
7822 cross-test-ssh.sh.
7823 * INSTALL: Regenerated.
7824
bff64913
PT
78252012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7826
7827 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7828 EOPNOTSUPP.
7829
25fe8932
JM
78302012-10-25 Joseph Myers <joseph@codesourcery.com>
7831
7832 * Makeconfig (run-program-prefix): Fix comment.
7833
cc1290d0
JM
78342012-10-24 Joseph Myers <joseph@codesourcery.com>
7835 Jim Blandy <jimb@codesourcery.com>
7836
7837 * Makeconfig (test-wrapper): New variable,
7838 (test-wrapper-env): Likewise.
7839 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7840 (run-built-tests): Define to yes.
7841 (run-program-prefix): Use $(test-wrapper).
7842 (built-program-cmd): Likewise.
7843 * Rules (make-test-out): Use $(test-wrapper-env) and
7844 $(host-built-program-cmd).
7845 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7846 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7847 tst-pathopt.sh.
7848 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7849 $(test-wrapper-env) to tst-rtld-load-self.sh.
7850 ($(objpfx)order2.out): Use $(test-wrapper).
7851 ($(objpfx)tst-initorder.out): Likewise.
7852 ($(objpfx)tst-initorder2.out): Likewise.
7853 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7854 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7855 (test_wrapper_env): New variable. Use it to run ld.so.
7856 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7857 Use it to run ld.so.
7858 (test_wrapper_env): Likewise.
7859 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7860 $(test-wrapper) to run-iconv-test.sh.
7861 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7862 (ICONV): Use $test_wrapper.
7863 * posix/Makefile ($(objpfx)globtest.out): Pass
7864 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7865 globtest.sh, not $(run-program-prefix).
7866 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7867 (test_wrapper): Likewise.
7868 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7869 set together with run_via_rtld_prefix.
7870 (run_program_prefix): Define in terms of test_wrapper and
7871 run_via_rtld_prefix.
7872
6e6249d0
RM
78732012-10-24 Roland McGrath <roland@hack.frob.com>
7874
7875 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7876 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7877 Targets removed.
7878
7879 [BZ #14743]
7880 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7881 Declare __clock_getres, __clock_gettime, __clock_settime,
7882 __clock_nanosleep, and __clock_getcpuclockid.
7883 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7884 Remove librt_hidden_def (clock_gettime).
7885 * sysdeps/unix/clock_gettime.c: Likewise.
7886 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7887 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7888 * rt/clock_getres.c: Define __clock_getres as an alias.
7889 * sysdeps/posix/clock_getres.c: Likewise.
7890 * rt/clock_settime.c: Define __clock_settime as an alias.
7891 * sysdeps/unix/clock_settime.c: Likewise.
7892 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7893 * sysdeps/unix/clock_nanosleep.c: Likewise.
7894 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7895 * rt/clock-compat.c: New file.
7896 * rt/Makefile (librt-routines): Add clock-compat and move
7897 $(clock-routines) to ...
7898 (routines): ... here, new variable.
7899 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7900 Don't add get_clockfreq here.
7901 * rt/Versions (libc: GLIBC_2.17): New version set.
7902 Add clock_* symbols here.
7903 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7905 (GLIBC_2.17): Add clock_* symbols.
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7908 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7910 Likewise.
7911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7912 Likewise.
7913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7917 * NEWS: Mention the move.
7918
7919 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7920 Use __open, __read, __close rather than their public counterparts.
7921 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7922 (__get_clockfreq_via_cpuinfo): Likewise.
7923 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7924 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7925
7926 * config.h.in (HAVE_IFUNC): New #undef.
7927 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7928 was successful.
7929 * configure: Regenerated.
7930
0cae3f4b
MF
79312012-10-24 Mike Frysinger <vapier@gentoo.org>
7932
7933 * configure.in: Move READELF check to start of file.
7934 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7935 libc_cv_asm_gnu_indirect_function in the process.
7936 * configure: Regenerated.
7937
8175a253
MF
79382012-10-24 Mike Frysinger <vapier@gentoo.org>
7939
7940 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7941 send the output to /dev/null.
7942 (libc_cv_cc_with_libunwind): Likewise.
7943 (libc_cv_as_noexecstack): Likewise.
7944 * configure: Regenerate.
7945
0708a7d1
JM
79462012-10-24 Joseph Myers <joseph@codesourcery.com>
7947
10b40d85
JM
7948 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7949
0708a7d1
JM
7950 * posix/globtest.sh (TMPDIR): Do not set.
7951 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7952 (testout): Likewise.
7953
9fddec1a
AJ
79542012-10-24 Andreas Jaeger <aj@suse.de>
7955
3a8db22f
AJ
7956 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7957 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7958 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7959 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7960 posix_fadvise64, posix_fallocate64.
7961
9fddec1a
AJ
7962 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7963 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7964 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7965 Likewise.
7966 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7967 Likewise.
7968 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7969
7970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7971 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7972 <bits/fcntl-linux.h>.
7973 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7974
7975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7976 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7977 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7978 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7979 [__WORDSIZE != 64]: Likewise.
7980
ebfd1bbd
JM
79812012-10-23 Joseph Myers <joseph@codesourcery.com>
7982
03ac099f
JM
7983 * Makeconfig (run-built-tests): New variable.
7984 * Rules [$(cross-compiling) = yes]: Change condition to
7985 [$(run-built-tests) = no].
7986 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7987 to [$(run-built-tests) = yes].
7988 * elf/Makefile [$(cross-compiling) = no]: Likewise
7989 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7990 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7991 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7992 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7993 * io/Makefile [$(cross-compiling) = no]: Likewise.
7994 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7995 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7996 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7997 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7998 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7999 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8000 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8001 * string/Makefile [$(cross-compiling) = no]: Likewise.
8002
ebfd1bbd
JM
8003 * posix/Makefile ($(objpfx)globtest.out): Pass
8004 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8005 $(rtld-installed-name).
8006 * posix/globtest.sh (elf_objpfx): Remove variable.
8007 (rtld_installed_name): Likewise.
8008 (library_path): Likewise.
8009 (run_program_prefix): New variable. Use for running globtest
8010 binary.
8011
166bca24
JB
80122012-10-23 Jim Blandy <jimb@codesourcery.com>
8013 Joseph Myers <joseph@codesourcery.com>
8014
8015 * Makeconfig (host-built-program-cmd): New variable.
8016 * elf/Makefile (tst-stackguard1-ARGS): Use
8017 $(host-built-program-cmd).
8018 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8019 (tst-spawn-ARGS): Likewise.
8020 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8021
88866099
JM
80222012-10-23 Joseph Myers <joseph@codesourcery.com>
8023 Jim Blandy <jimb@codesourcery.com>
8024
8025 * Makeconfig (run-via-rtld-prefix): New variable.
8026 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8027 (built-program-cmd): Likewise.
8028
b4b4c296
AJ
80292012-10-22 Andreas Jaeger <aj@suse.de>
8030
8031 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8032 __O_RSYNC if it exists, otherwise to O_SYNC.
8033
6fb54a22
JB
80342012-10-22 Jim Blandy <jimb@codesourcery.com>
8035 Joseph Myers <joseph@codesourcery.com>
8036
8037 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8038 /dev/null.
8039 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8040 from /dev/null
8041 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8042 /dev/null.
8043
481b90b9
AJ
80442012-10-22 Andreas Jaeger <aj@suse.de>
8045
2a0e2669
AJ
8046 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8047 Define always.
8048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8049
76e38f9a
AJ
8050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8051 bits/fcntl-linux.h.
8052
7cd37b43
AJ
8053 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8054 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8055
481b90b9
AJ
8056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8057 to __O_LARGEFILE.
8058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8059 to __O_LARGEFILE.
8060
aba75984
JB
80612012-10-21 Jim Blandy <jimb@codesourcery.com>
8062 Joseph Myers <joseph@codesourcery.com>
8063
8064 * config.make.in (NM): New variable.
8065
88d4247f
AJ
80662012-10-21 Andreas Jaeger <aj@suse.de>
8067
8068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8069 definitions and declarations that are provided by
8070 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8071
f2eed205
L
80722012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8073
8074 [BZ #14683]
8075 * elf/Makefile (tests-static): Add tst-leaks1-static.
8076 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8077 ($(objpfx)tst-leaks1-static): New rule.
8078 ($(objpfx)tst-leaks1-static-mem): Likewise.
8079 (tst-leaks1-static-ENV): New macro.
8080 * elf/dl-open.c (dl_open_worker): Check the main application
8081 only if SHARED is defined.
8082 * elf/tst-leaks1-static.c: New file.
8083
335e6931
AJ
80842012-10-20 Andreas Jaeger <aj@suse.de>
8085
8086 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8087 generic values for Linux.
8088 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8089 and declarations that are provided by <bits/fcntl-linux.h> and
8090 include <bits/fcntl-linux.h>.
8091 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8093
ac5c94d3
RM
80942012-10-20 Roland McGrath <roland@hack.frob.com>
8095
8096 * io/fcntl.h: Move include of <bits/types.h> to the top and
8097 include it unconditionally.
8098
de54b33a
L
80992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8100
228cfb01
L
8101 * wcsmbs/Makefile (tests-ifunc): New variable.
8102 (tests): Add $(tests-ifunc).
8103 * wcsmbs/test-wcschr-ifunc.c: New file.
8104 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8105 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8106 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8107 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8108 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8109
69f07e5f
L
8110 * string/Makefile (tests-ifunc): New variable.
8111 (tests): Add $(tests-ifunc).
8112 * string/test-memccpy.c (TEST_NAME): New macro.
8113 * string/test-memchr.c (TEST_NAME): Likewise.
8114 * string/test-memcmp.c (TEST_NAME): Likewise.
8115 * string/test-memcpy.c (TEST_NAME): Likewise.
8116 * string/test-memmem.c (TEST_NAME): Likewise.
8117 * string/test-memmove.c (TEST_NAME): Likewise.
8118 * string/test-memset.c (TEST_NAME): Likewise.
8119 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8120 * string/test-stpcpy.c (TEST_NAME): Likewise.
8121 * string/test-stpncpy.c (TEST_NAME): Likewise.
8122 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8123 * string/test-strcasestr.c (TEST_NAME): Likewise.
8124 * string/test-strcat.c (TEST_NAME): Likewise.
8125 * string/test-strchr.c (TEST_NAME): Likewise.
8126 * string/test-strcmp.c(TEST_NAME): Likewise.
8127 * string/test-strcpy.c (TEST_NAME): Likewise.
8128 * string/test-strcspn.c (TEST_NAME): Likewise.
8129 * string/test-strlen.c (TEST_NAME): Likewise.
8130 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8131 * string/test-strncmp.c (TEST_NAME): Likewise.
8132 * string/test-strncpy.c (TEST_NAME): Likewise.
8133 * string/test-strnlen.c (TEST_NAME): Likewise.
8134 * string/test-strpbrk.c (TEST_NAME): Likewise.
8135 * string/test-strrchr.c (TEST_NAME): Likewise.
8136 * string/test-strspn.c (TEST_NAME): Likewise.
8137 * string/test-strstr.c (TEST_NAME): Likewise.
8138 * string/test-bcopy-ifunc.c: New file.
8139 * string/test-bzero-ifunc.c: Likewise.
8140 * string/test-memccpy-ifunc.c: Likewise.
8141 * string/test-memchr-ifunc.c: Likewise.
8142 * string/test-memcmp-ifunc.c: Likewise.
8143 * string/test-memcpy-ifunc.c: Likewise.
8144 * string/test-memmem-ifunc.c: Likewise.
8145 * string/test-memmove-ifunc.c: Likewise.
8146 * string/test-mempcpy-ifunc.c: Likewise.
8147 * string/test-memset-ifunc.c: Likewise.
8148 * string/test-rawmemchr-ifunc.c: Likewise.
8149 * string/test-stpcpy-ifunc.c: Likewise.
8150 * string/test-stpncpy-ifunc.c: Likewise.
8151 * string/test-strcasecmp-ifunc.c: Likewise.
8152 * string/test-strcasestr-ifunc.c: Likewise.
8153 * string/test-strcat-ifunc.c: Likewise.
8154 * string/test-strchr-ifunc.c: Likewise.
8155 * string/test-strchrnul-ifunc.c: Likewise.
8156 * string/test-strcmp-ifunc.c: Likewise.
8157 * string/test-strcpy-ifunc.c: Likewise.
8158 * string/test-strcspn-ifunc.c: Likewise.
8159 * string/test-strlen-ifunc.c: Likewise.
8160 * string/test-strncasecmp-ifunc.c: Likewise.
8161 * string/test-strncat-ifunc.c: Likewise.
8162 * string/test-strncmp-ifunc.c: Likewise.
8163 * string/test-strncpy-ifunc.c: Likewise.
8164 * string/test-strnlen-ifunc.c: Likewise.
8165 * string/test-strpbrk-ifunc.c: Likewise.
8166 * string/test-strrchr-ifunc.c: Likewise.
8167 * string/test-strspn-ifunc.c: Likewise.
8168 * string/test-strstr-ifunc.c: Likewise.
8169
de54b33a
L
8170 * debug/Makefile (tests-ifunc): New variable.
8171 (tests): Add $(tests-ifunc).
8172 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8173 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8174 * debug/test-stpcpy_chk-ifunc.c: New file.
8175 * debug/test-strcpy_chk-ifunc.c: Likewise.
8176
88481c16
SP
81772012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8178
8179 [BZ #13601]
8180 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8181 header is not read in.
8182
135948bd
JM
81832012-10-19 Joseph Myers <joseph@codesourcery.com>
8184
89f1c388
JM
8185 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8186 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8187 directly. Pass built executable to script as
8188 $(built-program-cmd).
8189 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8190 $testprogram without using LD_LIBRARY_PATH and $ldso.
8191
e40a0d21
JM
8192 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8193 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8194 $(rtld-installed-name).
8195 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8196 (rtld_installed_name): Likewise.
8197 (library_path): Likewise.
8198 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8199 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8200 $(run-program-prefix) to tst-tables.sh.
8201 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8202 it to run tst-table-from and tst-table-to.
8203 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8204 Pass it to tst-table.sh.
8205 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8206 $(run-program-prefix) to tst-gettext.sh.
8207 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8208 tst-translit.sh.
8209 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8210 tst-gettext2.sh.
8211 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8212 to run tst-gettext.
8213 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8214 to run tst-gettext2.
8215 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8216 to run tst-translit.
8217 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8218 $(run-program-prefix) to tst-mtrace.sh.
8219 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8220 to run tst-mtrace.
8221 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8222 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8223 $(rtld-installed-name).
8224 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8225 (rtld_installed_name): Likewise.
8226 (run_program_prefix): New variable. Use it to run wordexp-test.
8227
728e272a
JM
8228 * Makeconfig (ARCH): Remove all definitions.
8229 (machine): Likewise.
8230 [ARCH]: Remove conditional code.
8231 [!objdir]: Give error.
8232 [!objdir] (objpfx): Remove.
8233 [!objdir] (common-objpfx): Likewise.
8234 [!objdir] (common-objdir): Likewise.
8235 * configure.in (config_makefile): Remove. Hardcode Makefile in
8236 AC_CONFIG_FILES call.
8237 * configure: Regenerated.
8238
d528cdcf
JM
8239 [BZ #13888]
8240 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8241 or TMPDIR.
8242 (testout): Likewise.
8243
135948bd
JM
8244 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8245 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8246 $(rtld-installed-name).
8247 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8248 (rtld_installed_name): Likwise.
8249 (runit): Remove function.
8250 (run_getconf): New variable, Use it for running getconf binary.
8251
38c78296
L
82522012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8253
8254 [BZ #14716]
8255 * string/test-memmem.c (check_result): New function.
8256 (do_one_test): Use it.
8257 (check1): New function.
8258 (test_main): Use it.
8259
d077f65f
MT
82602012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8261
8262 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8263
ced52c71
JM
82642012-10-18 Joseph Myers <joseph@codesourcery.com>
8265
8266 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8267 (_G_LSEEK64): Likewise.
8268 (_G_MMAP64): Likewise.
8269 (_G_FSTAT64): Likewise.
8270 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8271 (_G_LSEEK64): Likewise.
8272 (_G_MMAP64): Likewise.
8273 (_G_FSTAT64): Likewise.
8274 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8275 unconditional. Call __mmap64 directly.
8276 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8277 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8278 __lseek64 directly.
8279 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8280 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8281 __mmap64 directly.
8282 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8283 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8284 __lseek64 directly.
8285 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8286 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8287 __lseek64 directly.
8288 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8289 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8290 __lseek64 directly.
8291 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8292 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8293 __fxstat64 directly.
8294 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8295 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8296 unconditional.
8297 (freopen64) [!_G_OPEN64]: Remove conditional code.
8298 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8299 unconditional.
8300 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8301 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8302 unconditional.
8303 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8304 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8305 unconditional.
8306 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8307 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8308 unconditional.
8309 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8310 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8311 unconditional.
8312 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8313 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8314 unconditional.
8315 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8316 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8317 unconditional.
8318 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8319
b741de23
SP
83202012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8321
8322 [BZ #12140]
8323 * manual/memory.texi (Malloc Tunable Parameters): Add note
8324 about free list pointers overwriting some perturb bytes.
8325 Wording suggested by Roland McGrath.
8326
f9b9d9c9
JM
83272012-10-17 Joseph Myers <joseph@codesourcery.com>
8328
8329 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8330 (lgamma_test): Likewise.
8331 (tgamma_test): Likewise.
8332
172a631a
FW
83332012-10-16 Florian Weimer <fweimer@redhat.com>
8334
8335 [BZ #14700]
8336 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8337 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8338
e9f37252
MK
83392012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8340
8341 * NEWS: Mention BZ #14716.
8342 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8343 when removing AVAILABLE1_USES_J macro.
8344
d394eb74
L
83452012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8348 (__bswap_64): __uint64_t for unsigned 64-bit int.
8349
ca38dc17
AS
83502012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8351
8352 * include/string.h (memmem): Declare libc hidden alias.
8353 * string/memmem.c (memmem): Define libc hidden alias.
8354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8355 __read, __close instead of open, read, close.
8356
9a387d1f
L
83572012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8358
ac49ecaf
L
8359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8360 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8361 global and hidden.
8362 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8363 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8364 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8365 Likewise.
8366 (__rawmemchr_sse2): Likewise.
8367 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8368 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8369 (__strchr_sse2): Likewise.
8370 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8371 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8372 (__strcasecmp_sse2): Likewise.
8373 (__strncasecmp_sse2): Likewise.
8374 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8375 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8376 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8377 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8378 (__strrchr_sse2): Likewise.
8379 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8380 ifunc-impl-list.c.
8381 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8382 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8383 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8384 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8385 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8386 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8387 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8388 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8389 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8390 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8391 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8392 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8393 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8394 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8395 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8396 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8397 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8398 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8399 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8400 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8401 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8402 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8403 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8404 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8405 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8406 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8407 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8408 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8409 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8410 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8411
b090e8ea
L
8412 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8413 global and hidden.
8414 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8415 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8416 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8417 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8418 Likewise.
8419 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8420 Likewise.
8421 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8422 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8423 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8424 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8425 ifunc-impl-list.c.
8426 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8444 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8459 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8460 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8461 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8463 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8464 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8465 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8466 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8467
11dd4af6
L
8468 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8469 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8470 * include/ifunc-impl-list.h: New file.
8471 * misc/ifunc-impl-list.c: Likewise.
8472 * misc/Makefile (routines): Add ifunc-impl-list.
8473 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8474 * string/test-string.h: Include <ifunc-impl-list.h>.
8475 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8476 impl_array): New variables.
8477 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8478 are defined.
8479 (test_init): Call __libc_ifunc_impl_list to initialize
8480 func_list if TEST_IFUNC and TEST_NAME are defined.
8481
9a387d1f
L
8482 * string/Makefile (strop-tests): Add bcopy and bzero.
8483 * string/test-bcopy.c: New file.
8484 * string/test-bzero.c: Likewise.
8485 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8486 defined.
8487 * string/test-memset.c: Support bzero test if TEST_BZERO is
8488 defined.
8489 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8490 __libc_memmove.
8491 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8492 __libc_memset.
8493 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8494 of memset.
8495
472371b9
JM
84962012-10-10 Joseph Myers <joseph@codesourcery.com>
8497
1e4a9536
JM
8498 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8499 * configure: Regenerated.
8500
d173d12e
JM
8501 * Makeconfig (+link-static-before-libc): Don't include
8502 $(link-static-libc).
8503
472371b9
JM
8504 * libio/libio.h (_IO_pos_t): Remove.
8505
89a3ad0b
AO
85062012-10-10 Alexandre Oliva <aoliva@redhat.com>
8507
8508 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8509 McGrath.
8510
e7451425
AO
85112012-10-10 Alexandre Oliva <aoliva@redhat.com>
8512
8513 * crypt/crypt-entry.c: Include fips-private.h.
8514 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8515 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8516 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8517 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8518
4ba74a35
AO
85192012-10-10 Alexandre Oliva <aoliva@redhat.com>
8520
8521 * crypt/crypt-private.h: Include stdbool.h.
8522 (_ufc_setup_salt_r): Return bool.
8523 * crypt/crypt-entry.c: Include errno.h.
8524 (__crypt_r): Return NULL with EINVAL for bad salt.
8525 * crypt/crypt_util.c (bad_for_salt): New.
8526 (_ufc_setup_salt_r): Check that salt is long enough and within
8527 the specified alphabet.
8528 * crypt/badsalttest.c: New file.
8529 * crypt/Makefile (tests): Add it.
8530 ($(objpfx)badsalttest): New.
8531
f96f1242
MK
85322012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8533
8534 * NEWS: Add entry for BZ #14602.
8535
0e8e0c1c
JM
85362012-10-09 Joseph Myers <joseph@codesourcery.com>
8537
8538 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8539 type-generic.
8540 * math/libm-test.inc: Update comment listing what functions and
8541 macros are tested.
8542 (isgreater_test): New function.
8543 (isgreaterequal_test): Likewise.
8544 (isless_test): Likewise.
8545 (islessequal_test): Likewise.
8546 (islessgreater_test): Likewise.
8547 (isunordered_test): Likewise.
8548 (main): Call the new functions.
8549
273edc5e
RM
85502012-10-09 Roland McGrath <roland@hack.frob.com>
8551
b8493de0
RM
8552 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8553 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8554 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8555 * sysdeps/i386/configure: Regenerated.
8556 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8557 * sysdeps/mach/configure: Regenerated.
8558 * sysdeps/mach/hurd/configure: Regenerated.
8559 * sysdeps/powerpc/configure: Regenerated.
8560 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8561 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8562 * sysdeps/s390/s390-32/configure: Regenerated.
8563 * sysdeps/s390/s390-64/configure: Regenerated.
8564 * sysdeps/sh/configure: Regenerated.
8565 * sysdeps/sparc/configure: Regenerated.
8566 * sysdeps/unix/sysv/linux/configure: Regenerated.
8567 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8568 * sysdeps/x86_64/configure: Regenerated.
8569
273edc5e
RM
8570 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8571 defined. Don't check if MAP is NULL.
8572
c8450f70
JM
85732012-10-09 Joseph Myers <joseph@codesourcery.com>
8574
8575 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8576 (_G_stat64): Likewise.
8577 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8578 (_G_stat64): Likewise.
8579 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8580 instead of struct _G_stat64.
8581 * libio/fileops.c (mmap_remap_check): Likewise.
8582 (decide_maybe_mmap): Likewise.
8583 (_IO_new_file_seekoff): Likewise.
8584 (_IO_file_stat): Likewise.
8585 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8586 _G_off64_t.
8587 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8588 instead of struct _G_stat64.
8589 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8590
57e605ba
MK
85912012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8592
8593 [BZ #14602]
8594 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8595 Replace with ...
8596 (CHECK_EOL): New macro.
8597 (two_way_short_needle): Check beginning of haystack for EOL. Use
8598 CHECK_EOL.
8599 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8600 Replace with CHECK_EOL.
8601 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8602 Replace with CHECK_EOL.
8603
ef1bb361
JM
86042012-10-08 Joseph Myers <joseph@codesourcery.com>
8605
8606 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8607 type-generic.
8608 * math/libm-test.inc: Update comment listing what functions and
8609 macros are tested.
8610 (finite_test): New function.
8611 (isinf_test): Likewise.
8612 (isnan_test): Likewise.
8613 (fpclassify_test): Test subnormal input.
8614 (isfinite_test): Likewise.
8615 (isnormal_test): Likewise.
8616 (main): Call the new functions.
8617
55f11534
JN
86182012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8619
8620 [BZ #14660]
8621 * Makerules (%.dynsym): Force C locale when running
8622 $(OBJDUMP) --dynamic-syms.
8623
1ab29350
AS
86242012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8625
8626 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8627 <stdint.h>.
8628
f1ecb7ef
DM
86292012-10-06 David S. Miller <davem@davemloft.net>
8630
8631 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8632 upper 32-bits of the length value in %o2 since we use branch-on-register
8633 tests which consider the entire 64-bit register.
8634
5d41d91a
L
86352012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8636
8637 * string/test-strstr.c (check2): Add a test for page boundary.
8638
3baddb72
DM
86392012-10-05 David S. Miller <davem@davemloft.net>
8640
8641 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8642 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8643 file.
8644 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8645 sysdep_routines.
8646 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8647 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8648 and bzero when HWCAP_SPARC_CRYPTO is present.
8649
9cee5585
L
86502012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8651
d7e0dab9
L
8652 [BZ #14602]
8653 * string/test-strstr.c (check2): New function.
8654 (test_main): Call check2.
8655
03759f47
L
8656 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8657 and bug-strchr1.
8658 * string/bug-strcasestr1.c (do_test): Moved to ...
8659 * string/test-strcasestr.c (check1): Here. New function.
8660 (do_one_test): Break out result checking code into ...
8661 (check_result): This. New function.
8662 (do_one_test): Call check_result.
8663 (test_main): Call check1.
8664 * string/bug-strchr1.c (do_test): Moved to ...
8665 * string/test-strchr.c (check1): Here. New function.
8666 (do_one_test): Break out result checking code into ...
8667 (check_result): This. New function.
8668 (do_one_test): Call check_result.
8669 (test_main): Call check1.
8670 * string/bug-strstr1.c (main): Moved to ...
046f153e 8671 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8672 (do_one_test): Break out result checking code into ...
8673 (check_result): This. New function.
8674 (do_one_test): Call check_result.
8675 (test_main): Call check1.
8676 * string/bug-strcasestr1.c: Removed.
8677 * string/bug-strchr1.c: Likewise.
8678 * string/bug-strstr1.c: Likewise.
8679
53cea63e
L
8680 * elf/Makefile (dl-routines): Add hwcaps.
8681 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8682 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8683 (_dl_important_hwcaps): Moved to ...
8684 * elf/dl-hwcaps.c: Here. New file.
8685 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8686
9cee5585 8687 [BZ #14557]
bb859b06
L
8688 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8689 if IS_IN_rtld isn't defined.
8690
9cee5585
L
8691 * elf/dl-support.c (_dl_sysinfo_map): New.
8692 Include "get-dynamic-info.h" and "setup-vdso.h".
8693 (_dl_non_dynamic_init): Call setup_vdso.
8694 * elf/dynamic-link.h: Don't include <assert.h>.
8695 (elf_get_dynamic_info): Moved to ...
8696 * elf/get-dynamic-info.h: Here. New file.
8697 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8698 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8699 * elf/setup-vdso.h: Here. New file.
8700 * elf/rtld.c: Include "setup-vdso.h".
8701 (dl_main): Call setup_vdso.
8702
23c31b76
JM
87032012-10-05 Joseph Myers <joseph@codesourcery.com>
8704
28234b07
JM
8705 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8706 creal in comment listing functions tested. List finite, isinf,
8707 isnan, isless, islessequal, isgreater, isgreaterequal,
8708 islessgreater, isunordered, lgamma_r and pow10 as functions and
8709 macros not tested. Mention which functions not tested are aliases
8710 for other functions. Fix typo. Note that signs of NaNs are not
8711 tested.
8712
23c31b76
JM
8713 * scripts/config.guess: Update from config.git.
8714 * scripts/config.sub: Likewise.
8715
9043e228
RM
87162012-10-04 Roland McGrath <roland@hack.frob.com>
8717
8718 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8719 * misc/madvise.c (madvise): Renamed to __madvise.
8720 Make madvise a weak alias.
8721 * include/sys/mman.h: Declare __madvise.
8722 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8723 * sysdeps/unix/syscalls.list
8724 (madvise): Make __madvise the strong name, and madvise a weak alias.
8725 * sysdeps/unix/sysv/linux/syscalls.list
8726 (madvise, mmap): Remove redundant entries.
8727 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8728 * malloc/malloc.c (mtrim): Likewise.
8729 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8730
f57f8055
RM
87312012-10-03 Roland McGrath <roland@hack.frob.com>
8732
8733 * sysdeps/mach/hurd/dl-cache.c: File removed.
8734 * config.h.in (USE_LDCONFIG): New #undef.
8735 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8736 * configure: Regenerated.
8737 * elf/Makefile (dl-routines): Add dl-cache only under
8738 [$(use-ldconfig) = yes].
8739 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8740 cache on [USE_LDCONFIG].
8741 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8742 [USE_LDCONFIG].
8743 * elf/rtld.c (dl_main): Likewise.
8744
5bb0c10a
PT
87452012-10-03 Pino Toscano <toscano.pino@tiscali.it>
8746
8747 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
8748 _SC_LEVEL4_CACHE_LINESIZE.
8749
010188c6
RM
87502012-10-03 Roland McGrath <roland@hack.frob.com>
8751
8752 * sysdeps/unix/bsd/confstr.h: File removed.
8753
b6c5ec07
AO
87542012-10-02 Alexandre Oliva <aoliva@redhat.com>
8755
8756 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
8757 sys/sdt-config.h.
8758
408223d4
RM
87592012-10-02 Roland McGrath <roland@hack.frob.com>
8760
8761 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
8762 Make 'mapoff' field ElfW(Off) rather than off_t.
8763
bb9510dc
DL
87642012-10-02 Dmitry V. Levin <ldv@altlinux.org>
8765
fc997c6e
DL
8766 * nscd/Makefile: Remove nscd-cflags and all its users.
8767 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
8768 (CFLAGS-nonlib): Add compiler flags for nscd modules.
8769
bb9510dc
DL
8770 [BZ #10631]
8771 * malloc.c (malloc_printerr): Clarify error message.
8772
05699367
L
87732012-10-02 H.J. Lu <hongjiu.lu@intel.com>
8774
8775 [BZ #14648]
8776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8777 Set bit_FMA_Usable if FMA is supported.
8778 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
8779 macro.
8780 (bit_FMA4_Usable): Updated.
8781 (index_FMA_Usable): New macro.
8782 (CPUID_FMA): Likewise
8783 (HAS_FMA): Defined with bit_FMA_Usable.
8784
51367701
RM
87852012-10-01 Roland McGrath <roland@hack.frob.com>
8786
8787 * bits/types.h (__swblk_t): Type removed.
8788 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8789 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8791 (__SWBLK_T_TYPE): Likewise.
8792 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8793 (__SWBLK_T_TYPE): Likewise.
8794 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8795 (__SWBLK_T_TYPE): Likewise.
8796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8797 (__SWBLK_T_TYPE): Likewise.
8798
4d57bf63 87992012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8800 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8801
8802 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8803 (xdr_mapname): Use YPMAXMAP as maxsize.
8804 (xdr_peername): Use YPMAXPEER as maxsize.
8805 (xdr_keydat): Use YPAXRECORD as maxsize.
8806 (xdr_valdat): Use YPMAXRECORD as maxsize.
8807
93c65d43
RM
88082012-10-01 Roland McGrath <roland@hack.frob.com>
8809
497a03d6
RM
8810 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8811
93c65d43
RM
8812 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8813 * csu/init-first.c: ... here.
8814 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8815 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8817 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8818 * sysdeps/i386/init-first.c: File removed.
8819 * sysdeps/sh/init-first.c: File removed.
8820
bec749fd
JM
88212012-10-01 Joseph Myers <joseph@codesourcery.com>
8822
8823 [BZ #14645]
8824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8825 if x * y might underflow to zero and z is zero.
8826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8828 * math/libm-test.inc (min_subnorm_value): New variable.
8829 (fma_test): Add more tests.
8830 (fma_test_towardzero): Likewise.
8831 (fma_test_downward): Likewise
8832 (fma_test_upward): Likewise.
8833 (initialize): Set min_subnorm_value.
8834
8ec5b013
JM
88352012-09-29 Joseph Myers <joseph@codesourcery.com>
8836
8837 [BZ #14638]
8838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8839 0 + 0.
8840 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8841 mode for addition resulting in exact zero.
8842 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8844 exact 0 + 0.
8845 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8847 * math/libm-test.inc (fma_test): Add more tests.
8848 (fma_test_towardzero): New function.
8849 (fma_test_downward): Likewise.
8850 (fma_test_upward): Likewise.
8851 (main): Call the new functions.
8852
b1fa802e
DM
88532012-09-28 David S. Miller <davem@davemloft.net>
8854
8855 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8856
d3b9fd9e
RM
88572012-09-28 Roland McGrath <roland@hack.frob.com>
8858
ea4d37b3
RM
8859 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8860 instead of SIGALRM.
8861
ac51c949
RM
8862 * sysdeps/gnu/_G_config.h: Moved to ...
8863 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8864 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8865 * sysdeps/generic/_G_config.h: ... here.
8866
28c195f7
RM
8867 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8868
848917f9
RM
8869 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8870
6bacf05b
RM
8871 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8872 Conditionalize target on [libnss_test1.so-version].
8873
91363dbb
RM
8874 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8875
cc87f7d8
RM
8876 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8877 (elfobjdir): Move out of conditionals.
8878
b1c608fe
RM
8879 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8880 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8881 (__nss_lookup_function): Conditionalize label remove_from_tree on
8882 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8883
1d9a6d96
DM
88842012-09-28 David S. Miller <davem@davemloft.net>
8885
8886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8887 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8888 file.
8889 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8890 sysdep_routines.
8891 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8892 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8893 when HWCAP_SPARC_CRYPTO is present.
8894
72581615
PT
88952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8896
8897 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8898
715a900c
JL
88992012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8900
8901 [BZ #6530]
8902 * stdio-common/vfprintf.c (process_string_arg): Revert
8903 2000-07-22 change.
8904
89052011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8906
8907 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8908 for testcase.
8909 * stdio-common/tst-sprintf.c: Include <locale.h>
8910 (main): Test sprintf's handling of incomplete multibyte
8911 characters.
8912
9bac1d86
L
89132012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 * elf/dl-runtime.c (VERSYMIDX): Removed.
8916 * elf/dl-version.c (VERSYMIDX): Likewise.
8917 * elf/do-rel.h (VERSYMIDX): Likewise.
8918 (VALIDX): Likewise.
8919 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8920 * elf/rtld.c (VALIDX): Likewise.
8921 (ADDRIDX): Likewise.
9bac1d86
L
8922 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8923 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8924 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8925 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8926 (VALIDX): Likewise.
8927 (ADDRIDX): Likewise.
9bac1d86 8928
b31606c0
PT
89292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8930
8931 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8932
11541177
JL
89332012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8934
8935 [BZ #11438]
8936 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8937 to global scope.
8938 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8939 addresses are in the same scope as 192.0.2/24.
8940 * posix/gai.conf: Document new scope table defaults.
8941
adb26fae
SP
89422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8943
8944 [BZ #5298]
8945 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8946 for ftell. Compute offsets from write pointers instead.
8947 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8948
4573c6b0
SP
89492012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8950
8951 [BZ #14543]
8952 * libio/Makefile (tests): New test case tst-fseek.
8953 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8954 combination works in wide mode.
8955 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8956 state when the external buffer state changes.
8957
aa9bbfe6
DM
89582012-09-27 David S. Miller <davem@davemloft.net>
8959
8960 [BZ #14376]
8961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8962 pass reloc->r_addend in as the 'high' argument to
8963 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8964
784421e7
DM
8965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8966
c39bc8b8
PT
89672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8968
8969 * rt/tst-aio2.c: Include <pthread.h>.
8970 * rt/tst-aio3.c: Likewise.
8971
1ccc2399
SE
89722012-09-27 Steve Ellcey <sellcey@mips.com>
8973
8974 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8975
31ed4153
L
89762012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8977
25f5f885
L
8978 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8979 contents on [SHARED].
31ed4153 8980
b7bfe116
MP
89812012-09-26 Marek Polacek <polacek@redhat.com>
8982
8983 [BZ #14530]
8984 [BZ #13741]
8985 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8986 for C++ and GCC <4.3 as well as for non GCC compilers.
8987
43c4edba
MT
89882012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8989
8990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8991
6a1bf82f
RM
89922012-09-25 Roland McGrath <roland@hack.frob.com>
8993
8994 * Makefile.in (all, install): Declare with .PHONY.
8995 Reported by Michael Hope <michael.hope@linaro.org>.
8996
8ad11b9a
TMQMF
89972012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8998
8999 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9000 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9001 system header.
9002 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9003 Likewise.
9004 (sydep_routines): Add the new and the internal functions.
9005 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9006 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9008 (GLIBC_2.17): Add the new function.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9010 (GLIBC_2.17): Likewise.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9012 (GLIBC_2.17): Likewise.
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9014 (GLIBC_2.17): Likewise.
9015 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9016
7e2fca8d
AM
90172012-09-25 Alan Modra <amodra@gmail.com>
9018
9019 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9020 Add release barrier before setting once_control to say
9021 initialisation is done. Add hints on lwarx. Use macro in
9022 place of isync.
9023 (clear_once_control): Add release barrier.
9024
b87c4b24
JM
90252012-09-25 Joseph Myers <joseph@codesourcery.com>
9026
d032e0d2
JM
9027 [BZ #13629]
9028 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9029 specially.
9030 * math/s_clog10.c (__clog10): Likewise.
9031 * math/s_clog10f.c (__clog10f): Likewise.
9032 * math/s_clog10l.c (__clog10l): Likewise.
9033 * math/s_clogf.c (__clogf): Likewise.
9034 * math/s_clogl.c (__clogl): Likewise.
9035 * math/Makefile (libm-calls): Add x2y2m1.
9036 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9037 (__x2y2m1): Likewise.
9038 (__x2y2m1l): Likewise.
9039 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9040 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9041 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9042 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9043 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9044 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9045 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9046 * sysdeps/i386/fpu/libm-test-ulps: Update.
9047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9048
b87c4b24
JM
9049 [BZ #14621]
9050 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9051 int as type of variable DEPTH.
9052 (glob): Use size_t instead of int as type of variables NEWCOUNT
9053 and OLD_PATHC.
9054
6d3bf199
LD
90552012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9056
22bf5c17
LD
9057 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9058 Add s_sincosf-sse2.
9059 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9060 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9061 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9062 macros for using routine as __sincosf_ia32.
9063 Use macro for function declaration and weak_alias.
9064 * sysdeps/i386/fpu/libm-test-ulps: Update.
9065
9066 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9068
9069 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9070 subnormal argument.
9071 * math/s_cexpf.c (__cexpf): Likewise.
9072 * math/s_csinf.c (__csinf): Likewise.
9073 * math/s_csinhf.c (__csinhf): Likewise.
9074 * math/s_ctanf.c (__ctanf): Likewise.
9075 * math/s_ctanhf.c (__ctanhf): Likewise.
9076 * math/s_ccosh.c (__ccoshf): Likewise.
9077 * math/s_cexp.c (__cexpl): Likewise.
9078 * math/s_csin.c (__csin): Likewise.
9079 * math/s_csinh.c (__csinh): Likewise.
9080 * math/s_ctan.c (__ctan): Likewise.
9081 * math/s_ctanh.c (ctanh): Likewise.
9082 * math/s_ccoshl.c (__ccoshl): Likewise.
9083 * math/s_cexpl.c (__cexpl): Likewise.
9084 * math/s_csinl.c (__csinl): Likewise.
9085 * math/s_csinhl.c (__csinhl): Likewise.
9086 * math/s_ctanl.c (__ctanl): Likewise.
9087 * math/s_ctanhl.c (__ctanhl): Likewise.
9088
203e5603
JM
90892012-09-25 Joseph Myers <joseph@codesourcery.com>
9090
9091 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9092 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9093 (_IO_off_t): Define to __off_t, not _G_off_t.
9094 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9095 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9096 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9097 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9098 type of __dummy and __dummy2 fields.
9099 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9100 (_G_ssize_t): Likewise.
9101 (_G_off_t): Likewise.
9102 (_G_pid_t): Likewise.
9103 (_G_uid_t): Likewise.
9104 (_G_wchar_t): Likewise.
9105 (_G_wint_t): Likewise.
9106 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9107 (_G_ssize_t): Likewise.
9108 (_G_off_t): Likewise.
9109 (_G_pid_t): Likewise.
9110 (_G_uid_t): Likewise.
9111 (_G_wchar_t): Likewise.
9112 (_G_wint_t): Likewise.
9113 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9114 (_G_ssize_t): Likewise.
9115 (_G_off_t): Likewise.
9116 (_G_pid_t): Likewise.
9117 (_G_uid_t): Likewise.
9118 (_G_wchar_t): Likewise.
9119 (_G_wint_t): Likewise.
9120
9fab36eb
SP
91212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9122
9123 * malloc/arena.c: Include malloc-sysdep.h.
9124 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9125 is sufficient to shrink the heap or an unmap is needed.
9126 * sysdeps/generic/malloc-sysdep.h: New file. Define
9127 new function check_may_shrink_heap.
9128 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9129 new function check_may_shrink_heap.
9130
2b4f00d1
SP
91312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9132
9133 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9134 comments.
9135
9a9028b1
DL
91362012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9137
57c69bef
DL
9138 * catgets/test-gencat.sh: Add "set -e".
9139 * elf/tst-pathopt.sh: Likewise.
9140 * grp/tst_fgetgrent.sh: Likewise.
9141 * iconvdata/run-iconv-test.sh: Likewise.
9142 * intl/tst-gettext.sh: Likewise.
9143 * intl/tst-gettext2.sh: Likewise.
9144 * intl/tst-gettext4.sh: Likewise.
9145 * intl/tst-gettext6.sh: Likewise.
9146 * intl/tst-translit.sh: Likewise.
9147 * io/ftwtest-sh: Likewise.
9148 * libio/test-freopen.sh: Likewise.
9149 * malloc/tst-mtrace.sh: Likewise.
9150 * posix/globtest.sh: Likewise.
9151 * posix/tst-getconf.sh: Likewise.
9152 * posix/wordexp-tst.sh: Likewise.
9153 * stdio-common/tst-printf.sh: Likewise.
9154 * stdio-common/tst-unbputc.sh: Likewise.
9155 * stdlib/tst-fmtmsg.sh: Likewise.
9156 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9157 * catgets/Makefile: Do not specify -e option when running
9158 testsuite shell scripts.
9159 * elf/Makefile: Likewise.
9160 * grp/Makefile: Likewise.
9161 * iconvdata/Makefile: Likewise.
9162 * intl/Makefile: Likewise.
9163 * io/Makefile: Likewise.
9164 * libio/Makefile: Likewise.
9165 * malloc/Makefile: Likewise.
9166 * posix/Makefile: Likewise.
9167 * stdio-common/Makefile: Likewise.
9168 * stdlib/Makefile: Likewise.
9169 * sysdeps/x86_64/Makefile: Likewise.
9170
9a9028b1
DL
9171 * io/ftwtest-sh: Add copyright header.
9172 * posix/globtest.sh: Likewise.
9173 * posix/tst-getconf.sh: Likewise.
9174 * posix/wordexp-tst.sh: Likewise.
9175 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9176
ced6f16e
L
91772012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9178
94b32c39
L
9179 [BZ #13679]
9180 * Makeconfig (+link): Defined as $(+link-static) if
9181 $(build-shared) isn't yes.
9182 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9183 isn't yes.
9184 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9185
189e935b
L
9186 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9187
ced6f16e
L
9188 [BZ #14562]
9189 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9190 new chunk size with MALLOC_ALIGN_MASK.
9191
a9f8e53a
JM
91922012-09-24 Joseph Myers <joseph@codesourcery.com>
9193
9194 [BZ #5044]
9195 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9196 <rounding-mode.h>.
9197 (__printf_fphex): Determine rounding using get_rounding_mode and
9198 round_away.
9199 * stdio-common/tst-printf-round.c (struct hex_test): New
9200 structure.
9201 (hex_tests): New variable.
9202 (test_hex_in_one_mode): New function.
9203 (do_test): Also run tests for hex float output.
9204
43153109
JM
92052012-09-21 Joseph Myers <joseph@codesourcery.com>
9206
9207 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9208 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9209 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9210 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9211 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9212 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9213 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9214 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9215
8a26625d
JM
92162012-09-20 Joseph Myers <joseph@codesourcery.com>
9217
9218 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9219 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9220 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9221 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9222
f3fd569c
DL
92232012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9224
9225 [BZ #14579]
9226 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9227 mode only.
9228 * elf/tst-rtld-load-self.sh: New test.
9229 * elf/Makefile: Run it.
9230
63bbedd4
JM
92312012-09-18 Joseph Myers <joseph@codesourcery.com>
9232
9233 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9234 (tst-writev-ENV): Remove.
9235 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9236
626f8b6a
CM
92372012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9238
9239 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9240
b7aaa4d6
JM
92412012-09-17 Joseph Myers <joseph@codesourcery.com>
9242
9243 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9244 unconditional.
9245 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9246 Likewise.
9247 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9248 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9249 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9250 Likewise.
9251
65513990
L
92522012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9253
9254 [BZ #14587]
9255 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9256 * config.make.in (have-cpp-asm-debuginfo): Removed.
9257 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9258 * configure: Regenerated.
9259
784761be
JM
92602012-09-14 Joseph Myers <joseph@codesourcery.com>
9261
9262 [BZ #5044]
9263 * stdio-common/printf_fp.c: Include <stdbool.h> and
9264 <rounding-mode.h>.
9265 (___printf_fp): Determine rounding using get_rounding_mode and
9266 round_away.
9267 * stdio-common/tst-printf-round.c: New file.
9268 * stdio-common/Makefile (tests): Add tst-printf-round.
9269 (link-libm): New variable.
9270 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9271
9503345f
L
92722012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9273
9274 [BZ #14576]
9275 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9276 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9277 Likewise.
9278 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9279 Likewise.
9280
ad35fc00
JM
92812012-09-13 Joseph Myers <joseph@codesourcery.com>
9282
9283 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9284 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9285 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9286 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9287
6c9b0f68
JM
92882012-09-12 Joseph Myers <joseph@codesourcery.com>
9289
9290 [BZ #14518]
9291 * include/rounding-mode.h: New file.
9292 * sysdeps/generic/get-rounding-mode.h: Likewise.
9293 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9294 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9295 (MAX_VALUE): New macro.
9296 (MIN_VALUE): Likewise.
9297 (overflow_value): New function.
9298 (underflow_value): Likewise.
9299 (round_and_return): Use overflow_value and underflow_value to
9300 determine return values in overflow and underflow cases. Use
9301 round_away to determine rounding depending on rounding mode.
9302 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9303 determine return values in overflow and underflow cases.
9304 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9305 (struct test_results): New structure.
9306 (struct test): Use struct test_results to store expected results
9307 for all rounding modes.
9308 (TEST): Include expected results for all rounding modes.
9309 (test_in_one_mode): New function.
9310 (do_test): Use test_in_one_mode to compute and check results.
9311 Check results for all rounding modes.
9312 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9313 $(link-libm).
9314
19fcedd5
AM
93152012-12-09 Allan McRae <allan@archlinux.org>
9316
1e9d84cd 9317 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9318
8bbfd2f1
JM
93192012-09-11 Joseph Myers <joseph@codesourcery.com>
9320
9321 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9322 (_G_int32_t): Likewise.
9323 (_G_uint16_t): Likewise.
9324 (_G_uint32_t): Likewise.
9325 (_G_HAVE_BOOL): Likewise.
9326 (_G_HAVE_ATEXIT): Likewise.
9327 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9328 (_G_HAVE_IO_FILE_OPEN): Likewise.
9329 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9330 (_G_int32_t): Likewise.
9331 (_G_uint16_t): Likewise.
9332 (_G_uint32_t): Likewise.
9333 (_G_HAVE_BOOL): Likewise.
9334 (_G_HAVE_ATEXIT): Likewise.
9335 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9336 (_G_HAVE_IO_FILE_OPEN): Likewise.
9337 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9338 (_G_int32_t): Likewise.
9339 (_G_uint16_t): Likewise.
9340 (_G_uint32_t): Likewise.
9341 (_G_HAVE_BOOL): Likewise.
9342 (_G_HAVE_ATEXIT): Likewise.
9343 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9344 (_G_HAVE_IO_FILE_OPEN): Likewise.
9345
b1dc5912
L
93462012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9347
9348 * csu/libc-tls.c: Update copyright years.
9349
0e886ef9
JM
93502012-09-10 Joseph Myers <joseph@codesourcery.com>
9351
28361c5e
JM
9352 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9353 [!_G_USING_THUNKS]: Remove conditional code.
9354 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9355 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9356
0e886ef9
JM
9357 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9358 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9359 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9360 (_G_VTABLE_LABEL_PREFIX): Likewise.
9361 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9362 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9363 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9364 (_G_VTABLE_LABEL_PREFIX): Likewise.
9365 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9366 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9367 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9368 (_G_VTABLE_LABEL_PREFIX): Likewise.
9369 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9370
bcba7aa2
L
93712012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9372
9373 * libio/Makefile: Include ../Makeconfig before tests.
9374 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9375 only if $(build-shared) is yes.
9376
06585ee8
L
9377 * iconv/gconv_db.c: Update copyright years.
9378
80ccd52c
LD
93792012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9380
9381 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9382 unwind info if defined PIC. Fix special cases description.
9383 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9384
9385 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9386 DP_HI_MASK entry.
9387 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9388
691bc9c1
L
93892012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9390
3d9b46b3
L
9391 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9392
de2139a9
L
9393 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9394 is NULL.
9395
5ca78dd0
L
9396 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9397 (LDLIBS-tst-chk4): This.
9398 (LDFLAGS-tst-chk5): Renamed to ...
9399 (LDLIBS-tst-chk5): This.
9400 (LDFLAGS-tst-chk6): Renamed to ...
9401 (LDLIBS-tst-chk6): This.
9402 (LDFLAGS-tst-lfschk4): Renamed to ...
9403 (LDLIBS-tst-lfschk4): This.
9404 (LDFLAGS-tst-lfschk5): Renamed to ...
9405 (LDLIBS-tst-lfschk5): This.
9406 (LDFLAGS-tst-lfschk6): Renamed to ...
9407 (LDLIBS-tst-lfschk6): This.
9408
691bc9c1
L
9409 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9410 on $(common-objpfx)soversions.mk.
9411
65cafb1c
JM
94122012-09-07 Joseph Myers <joseph@codesourcery.com>
9413
9414 [BZ #10014]
9415 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9416 example host name.
9417
c78ab094
SP
94182012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9419
9420 * malloc/arena.c (arena_get_retry): New function that gets
9421 another arena for the caller to try its request on.
9422 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9423 current arena cannot fulfill the request.
9424 (__libc_memalign): Likewise.
9425 (__libc_memalign): Likewise.
9426 (__libc_pvalloc): Likewise.
9427 (__libc_calloc): Likewise.
9428
01f49f59
JT
94292012-09-05 John Tobey <john.tobey@gmail.com>
9430
9431 [BZ #13542]
9432 * manual/arith.texi (Operations on Complex): Fix description
9433 of carg branch cut.
9434
4c23fed5
JM
94352012-09-06 Joseph Myers <joseph@codesourcery.com>
9436
1d3c8572
JM
9437 [BZ #10014]
9438 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9439 host name.
9440
4c23fed5
JM
9441 [BZ #10038]
9442 * manual/memory.texi (Memory): Make order of menu items match
9443 order of sections.
9444
04570aaa
L
94452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9446
9447 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9448 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9449 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9450
b80af2f4
L
94512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9452
9453 * csu/libc-tls.c (static_dtv): Renamed to ...
9454 (_dl_static_dtv): This. Make it global.
9455 (_dl_initial_dtv): Removed.
9456 (__libc_setup_tls): Updated.
9457 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9458 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9459 DL_INITIAL_DTV.
9460
2abe9f15
PM
94612012-09-06 Petr Machata <pmachata@redhat.com>
9462
9463 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9464 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9465 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9466 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9467
0948c3af
L
94682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9469
9470 [BZ #14545]
9471 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9472 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9473 freeing dtv[-1].
9474
a5055ad1
L
94752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9476
9477 [BZ #14544]
9478 * Makeconfig (link-static-before-libc): Replace $(+prector)
9479 with $(+prectorT).
9480 (link-static-after-libc): Replace $(+postctor) with
9481 $(+postctorT).
9482 (link-bounded): Replace $(+prector)/$(+postctor) with
9483 $(+prectorT)/$(+postctorT).
9484 (+prectorT): New macro.
9485 (+postctorT): Likewise.
9486
ed8c2ecd
JM
94872012-09-06 Joseph Myers <joseph@codesourcery.com>
9488
9489 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9490 (round_str): Handle values above the maximum for IBM long double
9491 as inexact.
9492 * stdlib/tst-strtod-round.c (tests): Regenerated.
9493
14c996c8
AK
94942012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9495
9496 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9497 assembler flag.
9498 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9499 zarch_nohighgprs around the zarch optimized routines.
9500 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9501 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9502 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9503 for zarch.
9504
430d6ce6
DM
95052012-09-05 David S. Miller <davem@davemloft.net>
9506
9507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9508
ff04dda4
DM
9509 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9510 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9511 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9512 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9513 entries.
9514
24d4e01b
AO
95152012-09-05 Alexandre Oliva <aoliva@redhat.com>
9516
9517 * malloc/arena.c: Fold copyright years.
9518 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9519
61d58174
AO
95202012-09-05 Alexandre Oliva <aoliva@redhat.com>
9521
9522 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9523
20196a5e
AO
95242012-09-05 Alexandre Oliva <aoliva@redhat.com>
9525
9526 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9527
5c447383
AO
95282012-09-05 Alexandre Oliva <aoliva@redhat.com>
9529
9530 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9531 change internal state upon failure.
9532
fad64255
AO
95332012-09-05 Alexandre Oliva <aoliva@redhat.com>
9534
9535 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9536 * malloc/memusage.c (mmap): Likewise.
9537 (mmap64, mremap): Likewise. Adjust name in comment.
9538
1ffb8c90
SP
95392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9540
9541 * libio/fileops.c: Fix typos in comments.
9542 * libio/oldfileops.c: Likewise.
9543 * libio/wfileops.c: Likewise.
9544
6ef9cc37
SP
95452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9546
9547 [BZ #1349]
9548 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9549 (tst-malloc-usable-ENV): Set environment for test case.
9550 * malloc/hooks.c (malloc_check_get_size): New function to get
9551 requested size.
9552 * malloc/malloc.c (musable): Use malloc_check_get_size.
9553 * malloc/tst-malloc-usable.c: New test case.
9554
4d038ae3
AS
95552012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9556
9557 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9558
c4e85184
AM
95592012-09-05 Allan McRae <allan@archlinux.org>
9560
b9dafc56 9561 [BZ #13966]
c4e85184
AM
9562 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9563 determine header location.
9564 * configure: Regenerated.
9565
e1343020
AS
95662012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9567
9568 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9569 float format.
9570 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9571 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9572 format.
e1343020
AS
9573 (test): Regenerate.
9574
0a9f1987
DM
95752012-09-04 David S. Miller <davem@davemloft.net>
9576
9577 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9578 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9579 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9580
29237804
FW
95812012-09-04 Florian Weimer <fweimer@redhat.com>
9582
9583 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9584 failures.
9585
edb3cb88
FW
9586 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9587
60160d83
JM
95882012-09-04 Joseph Myers <joseph@codesourcery.com>
9589
9590 [BZ #9914]
9591 * libio/iogetdelim.c: Include <limits.h>.
9592 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9593 + len + 1 would overflow.
9594
bcd6c8dc
AJ
95952012-09-03 Andreas Jaeger <aj@suse.de>
9596
9597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9598 * sysdeps/i386/fpu/libm-test-ulps: Update.
9599
4ffffbd2
LD
96002012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9601
9602 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9603 Add s_sinf-sse2, s_conf-sse2.
9604
9605 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9606 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9607 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9608 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9609
9610 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9611 for using routine as __sinf_ia32.
9612 Use macro for function declaration and weak_alias.
9613 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9614 for using routine as __cosf_ia32.
9615 Use macro for function declaration and weak_alias.
9616
9617 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9618 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9619
9620 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9621 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9623
9624 * math/libm-test.inc (cos_test): Add more test cases.
9625 (sin_test): Likewise.
9626 (sincos_test): Likewise.
9627
511fa286
AK
96282012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9629
9630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9631 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9632 hidden.
9633 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9634
5f30cfec
L
96352012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9636
9637 [BZ #14538]
9638 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9639 first element of the GOT.
9640 (elf_machine_load_address): Return the difference between
9641 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9642
0786794f
AM
96432012-09-01 Allan McRae <allan@archlinux.org>
9644
5f30cfec
L
9645 [BZ #13412]
9646 * configure.in (AWK): Require gawk version 3.0 or later.
9647 * configure: Regenerated.
0786794f 9648
26889eac
JM
96492012-09-01 Joseph Myers <joseph@codesourcery.com>
9650
9651 * sysdeps/unix/sysv/linux/kernel-features.h
9652 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9653 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9654 [__NR_clock_getres]: Make code unconditional.
9655 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9656 (clock_getcpuclockid): Remove code left unreachable by removal of
9657 conditionals.
9658 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9659 code unconditional.
9660 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9661 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9662 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9663 Make code unconditional.
9664 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9665 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9666 * sysdeps/unix/sysv/linux/clock_settime.c
9667 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9668 conditional code.
9669 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9670 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9671
d22e28b0
L
96722012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9673
9674 [BZ #14476]
9675 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9676 scripts/test-installation.pl.
9677
9678 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9679 and $ld_so_version if it is set.
9680
050af9c4
SP
96812012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9682
9683 [BZ #14516]
9684 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9685 failure if reading from procfs failed.
9686 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9687
ad845c0b
JM
96882012-08-27 Joseph Myers <joseph@codesourcery.com>
9689
9690 * sysdeps/unix/sysv/linux/kernel-features.h
9691 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9692 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9693 Remove conditional code.
9694 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9695 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9696 Remove conditional code.
9697 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9698 * sysdeps/unix/sysv/linux/i386/fxstat.c
9699 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9701 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9702 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9703 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9704 * sysdeps/unix/sysv/linux/i386/lxstat.c
9705 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9706 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9707 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9708 Remove conditional code.
9709 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9710 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9711 Remove conditional code.
9712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9713 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9714 <kernel-features.h>.
9715 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9716 Remove.
9717 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9718 Remove conditional code.
9719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9720 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9721 Remove conditional.
9722
5dbf56af
MF
97232012-08-27 Mike Frysinger <vapier@gentoo.org>
9724
9725 [BZ #5400]
9726 * NEWS: Add fixed bug number.
9727
d6e70f43
JM
97282012-08-27 Joseph Myers <joseph@codesourcery.com>
9729
7efb4737
JM
9730 [BZ #14519]
9731 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9732 underflowing exponent in case of negative sign.
9733 * stdlib/tst-strtod-round-data: Add more tests.
9734 * stdlib/tst-strtod-round.c (tests): Regenerated.
9735
af92131a
JM
9736 [BZ #3479]
9737 * stdlib/strtod_l.c (NDIG): Remove.
9738 (HEXNDIG): Likewise.
9739 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9740 smallest representable value.
9741 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9742 lie within an exact representation of 1/2 ulp of the result.
9743 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
9744 unconditionally.
9745 (TENS_P9_IDX): Define unconditionally.
9746 (TENS_P9_SIZE): Likewise.
9747 (TENS_P10_IDX): Likewise.
9748 (TENS_P10_SIZE): Likewise.
9749 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
9750 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
9751 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
9752 entries for 10^2^13 and 10^2^14.
9753 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
9754 (TENS_P13_IDX): Define.
9755 (TENS_P13_SIZE): Likewise.
9756 (TENS_P14_IDX): Likewise.
9757 (TENS_P14_SIZE): Likewise.
9758 (_fpioconst_pow10): Change array size to
9759 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
9760 unconditional.
9761 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
9762 1024]: Add entries for 10^2^13 and 10^2^14.
9763 [LAST_POW10 > _LAST_POW10]: Remove #error.
9764 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
9765 (_fpioconst_pow10): Change array size to
9766 FPIOCONST_POW10_ARRAY_SIZE.
9767 * stdlib/gen-fpioconst.c: New file.
9768 * stdlib/gen-tst-strtod-round.c: Likewise.
9769 * stdlib/tst-strtod-round-data: Likewise.
9770 * stdlib/tst-strtod-round.c: Likewise.
9771 * stdlib/Makefile (tests): Add tst-strtod-round.
9772
d6e70f43
JM
9773 [BZ #14459]
9774 * stdlib/strtod_l.c: Include <stdint.h>.
9775 (NDEBUG): Do not define.
9776 (round_and_return): Change EXPONENT parameter to type intmax_t.
9777 Rearrange calculations to avoid internal overflow possibilities.
9778 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
9779 Rearrange calculations to avoid internal overflow possibilities.
9780 Assert that number fits inside MPNSIZE limbs.
9781 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
9782 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9783 calculations and add assertions to avoid internal overflow
9784 possibilities. Add casts to avoid signed/unsigned operations.
9785 * stdlib/tst-strtod-overflow.c: New file.
9786 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9787
1f529f7d
MP
97882012-08-25 Marek Polacek <polacek@redhat.com>
9789
9790 * time/time.h: Fix some typos in comments.
9791
59a629f1
RM
97922012-08-23 Roland McGrath <roland@hack.frob.com>
9793
9794 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9795 * posix/tst-rfc3484-2.c: Likewise.
9796 * posix/tst-rfc3484-3.c: Likewise.
9797
d3bafbc9
SM
97982012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9799
9800 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9801 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9802
4efcc022
JM
98032012-08-23 Joseph Myers <joseph@codesourcery.com>
9804
9805 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9806 #include of fxstatat64.c.
9807
3cc3ef96
RM
98082012-08-22 Roland McGrath <roland@hack.frob.com>
9809
f04e2132
RM
9810 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9811 * shadow/getspent_r.c: Likewise.
9812 * shadow/getspnam.c: Likewise.
9813 * shadow/getspnam_r.c: Likewise.
9814 * gshadow/getsgent.c: Likewise.
9815 * gshadow/getsgent_r.c: Likewise.
9816 * gshadow/getsgnam.c: Likewise.
9817 * gshadow/getsgnam_r.c: Likewise.
9818 * inet/getnetbyad.c: Likewise.
9819 * inet/getnetbyad_r.c: Likewise.
9820 * inet/getnetbynm.c: Likewise.
9821 * inet/getnetbynm_r.c: Likewise.
9822 * inet/getnetent.c: Likewise.
9823 * inet/getnetent_r.c: Likewise.
9824 * inet/getproto.c: Likewise.
9825 * inet/getproto_r.c: Likewise.
9826 * inet/getprtent.c: Likewise.
9827 * inet/getprtent_r.c: Likewise.
9828 * inet/getprtname.c: Likewise.
9829 * inet/getprtname_r.c: Likewise.
9830 * inet/getrpcbyname.c: Likewise.
9831 * inet/getrpcbyname_r.c: Likewise.
9832 * inet/getrpcbynumber.c: Likewise.
9833 * inet/getrpcbynumber_r.c: Likewise.
9834 * inet/getrpcent.c: Likewise.
9835 * inet/getrpcent_r.c: Likewise.
9836 * inet/getaliasent.c: Likewise.
9837 * inet/getaliasent_r.c: Likewise.
9838 * inet/getaliasname.c: Likewise.
9839 * inet/getaliasname_r.c: Likewise.
9840 * nscd/getgrgid_r.c: Likewise.
9841 * nscd/getgrnam_r.c: Likewise.
9842 * nscd/gethstbyad_r.c: Likewise.
9843 * nscd/gethstbynm3_r.c: Likewise.
9844 * nscd/getpwnam_r.c: Likewise.
9845 * nscd/getpwuid_r.c: Likewise.
9846 * nscd/getsrvbynm_r.c: Likewise.
9847 * nscd/getsrvbypt_r.c: Likewise.
9848 * nscd/gai.c: Likewise.
9849
c53d909c
RM
9850 * configure.in (build_nscd): New substituted variable, set
9851 by --disable-build-nscd and defaults to $use_nscd.
9852 * configure: Regenerated.
9853 * config.make.in (build-nscd): New substituted variable.
9854 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9855 Change conditional to require [$(build-nscd) = yes] as well.
9856 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9857
3cc3ef96
RM
9858 [BZ# 13696]
9859 * configure.in (use_nscd): New substituted variable, set by
9860 --disable-nscd. If enabled, define USE_NSCD.
9861 * configure: Regenerated.
9862 * config.h.in: Add USE_NSCD.
9863 * config.make.in (use-nscd): New substituted variable.
9864 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9865 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9866 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9867 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9868 (CFLAGS-getgrnam_r.c): Likewise.
9869 (CFLAGS-initgroups.c): Likewise.
9870 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9871 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9872 Variables removed.
9873 * inet/getnetgrent_r.c
9874 (nscd_setnetgrent): New function, broken out of ...
9875 (setnetgrent): ... here. Call it.
9876 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9877 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9878 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9879 * nscd/Makefile (routines, aux): Move definitions after include of
9880 Makeconfig. Conditionalize on [$(use-nscd) != no].
9881 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9882 Conditionalize on [USE_NSCD].
9883 (is_nscd, nscd_init_cb): Likewise.
9884 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9885 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9886 * nss/nss_db/db-init.c: Likewise.
9887 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9888 [USE_NSCD].
9889 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9890 (make_request): Use it.
9891 (cache_valid_p): New function.
9892 (__check_pf): Use it.
9893 * NEWS: Add item for --disable-nscd.
9894
07e51550
DL
98952012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9896
9897 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9898 to support sed >= 4.2.1-20-ga9bf076.
9899 * configure: Regenerated.
9900
35a5b08b
RM
99012012-08-22 Roland McGrath <roland@hack.frob.com>
9902
9903 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9904 Conditionalize whole body on [IREL].
9905
8479f23a
JL
99062012-08-22 Jeff Law <law@redhat.com>
9907
9908 [BZ #14505]
9909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9910 if the family is PF_UNSPEC.
9911
48da0b21
MF
99122012-08-22 Mike Frysinger <vapier@gentoo.org>
9913
9914 * Makerules (lib-version): Rename from V.
9915 (install-lib-nosubdir): Change V to lib-version.
9916
15d0da8c
WS
99172012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9918
9919 [BZ #14252]
9920 * powerpc32/power6/wcschr.c: New file.
9921 * powerpc32/power6/wcscpy.c: New file.
9922 * powerpc32/power6/wcsrchr.c: New file.
9923 * powerpc64/power6/wcschr.c: New file.
9924 * powerpc64/power6/wcscpy.c: New file.
9925 * powerpc64/power6/wcsrchr.c: New file.
9926
bcca0895
MK
99272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9928
9929 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9930 (two_way_short_needle): Use it.
5a4aaa33
RM
9931 * string/strstr.c (AVAILABLE1_USES_J): Define.
9932 * string/strcasestr.c: Likewise.
99677e57
MK
9933
9934 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9935 array references.
9936 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9937
400726de
MK
9938 [BZ #11607]
9939 * NEWS: Add an entry.
9940 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9941 define their defaults.
9942 (two_way_short_needle): Detect end-of-string on-the-fly.
9943 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9944 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9945 * string/bug-strcasestr1.c: New test.
9946 * string/Makefile: Run it.
9947
20a71f2c
MK
99482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9949
9950 [BZ #11607]
9951 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9952 the first character.
9953
21ad0558
RM
99542012-08-21 Roland McGrath <roland@hack.frob.com>
9955
9956 * csu/elf-init.c (__libc_csu_irel): Function removed.
9957 * csu/libc-start.c (apply_irel): New function.
9958 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9959
0e1d9911
JM
99602012-08-21 Joseph Myers <joseph@codesourcery.com>
9961
9962 * sysdeps/unix/sysv/linux/kernel-features.h
9963 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9964 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9965 <kernel-features.h>.
9966 [__NR_fadvise64_64]: Make code unconditional.
9967 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9968 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9969 !__NR_fadvise64_64)]: Likewise.
9970 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9971 !__NR_fadvise64_64))]: Likewise.
9972 [__NR_fadvise64]: Make code unconditional.
9973 [!__NR_fadvise64]: Remove conditional code.
9974 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9975 <kernel-features.h>.
9976 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9977 unconditional.
9978 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9979 conditional code.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9981 not include <kernel-features.h>.
9982 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9983 unconditional.
9984 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9985 conditional code.
9986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9987 include <kernel-features.h>.
9988 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9989 unconditional.
9990 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9991 conditional code.
9992
14a50c9d
WS
99932012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9994
9995 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9996 slight instruction rearrangements per scrollpipe analysis.
9997 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9998
c0f4faf0
RM
99992012-08-20 Roland McGrath <roland@hack.frob.com>
10000
696da859
RM
10001 * manual/syslog.texi (syslog; vsyslog, closelog):
10002 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10003 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10004
c0f4faf0
RM
10005 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10006 DSOCAPS to match condition on defining it.
10007
348363b2
JM
100082012-08-20 Joseph Myers <joseph@codesourcery.com>
10009
a35cbf28
JM
10010 * sysdeps/unix/sysv/linux/kernel-features.h
10011 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10013 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10014 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10016 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10017 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10019 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10020 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10021
445f7ecd
JM
10022 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10023 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10024
348363b2
JM
10025 * sysdeps/unix/sysv/linux/kernel-features.h
10026 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10027 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10028 unconditional.
10029 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10030 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10031 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10032 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10033 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10034 Make code unconditional.
10035 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10036 (__mmap64) [!__NR_mmap2]: Likewise.
10037 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10038 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10039 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10040 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10041 [__NR_mmap2]: Make code unconditional.
10042 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10043 (__mmap64) [!__NR_mmap2]: Likewise.
10044
bc5bc0e5
AK
100452012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10046
10047 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10048
88d506de
AJ
100492012-08-18 Andreas Jaeger <aj@suse.de>
10050
10051 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10052
493387d2
MF
100532012-08-18 Mike Frysinger <vapier@gentoo.org>
10054
10055 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10056 * include/unistd.h (__have_sock_cloexec): Likewise.
10057 (__have_pipe2): Likewise.
10058 (__have_dup3): Likewise.
10059
a277af22
MF
100602012-08-18 Mike Frysinger <vapier@gentoo.org>
10061
10062 [BZ #9685]
10063 * include/unistd.h (__have_pipe2): Change define into an extern int.
10064 (__have_dup3): Likewise.
10065 * socket/have_sock_cloexec.c: Include fcntl.h.
10066 (__have_pipe2): New variable.
10067 (__have_dup3): Likewise.
10068
fdab8fd3
MF
100692012-08-17 Mike Frysinger <vapier@gentoo.org>
10070
10071 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10072
31035e80
MP
100732012-08-17 Marek Polacek <polacek@redhat.com>
10074
10075 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10076 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10077
3bd9e993
RM
100782012-08-17 Roland McGrath <roland@hack.frob.com>
10079
c91c505f
RM
10080 * configure.in: Add AC_SUBST for sysheaders.
10081 * configure: Regenerated.
10082 * config.make.in (sysheaders): New substituted variable.
10083
7c6f9d53
RM
10084 * sysdeps/unix/mkfifo.c: Moved ...
10085 * sysdeps/posix/mkfifo.c: ... here.
10086 * sysdeps/unix/mkfifoat.c: Moved ...
10087 * sysdeps/posix/mkfifoat.c: ... here.
10088
10089 * sysdeps/unix/utime.c: Moved ...
10090 * sysdeps/posix/utime.c: ... here.
10091
10092 * sysdeps/unix/time.c: Moved ...
10093 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10094 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10095 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10096
10097 * sysdeps/unix/nice.c: Moved ...
10098 * sysdeps/posix/nice.c: ... here.
10099
10100 * sysdeps/unix/alarm.c: Moved ...
10101 * sysdeps/posix/alarm.c: ... here.
10102
3bd9e993
RM
10103 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10104
d1f09384
JL
101052012-08-17 Jeff Law <law@redhat.com>
10106
10107 * intl/Makefile (codeset_mo): New variable.
10108 ($(codeset_mo)): New target.
10109 (tst-codeset.out): Depend on that. Remove explicit rule.
10110 (tst-gettext3.out, tst-gettext5.out): Likewise.
10111 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10112 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10113 * intl/tst-codeset.sh: Remove.
10114 * intl/tst-gettext3.sh: Likewise.
10115 * intl/tst-gettext5.sh: Likewise.
10116
2ae1ae5c
RM
101172012-08-17 Roland McGrath <roland@hack.frob.com>
10118
c31fdb83
RM
10119 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10120 * sysdeps/unix/syscalls.list: ... here.
10121
a0844057
RM
10122 * sysdeps/posix/getaddrinfo.c
10123 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10124 (gaiconf_init, gaiconf_reload): Use them.
10125 [!_STATBUF_ST_NSEC]
10126 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10127 Define using time_t rather than struct timespec.
10128
750c1f2a
RM
10129 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10130 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10131 Macros removed.
10132 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10133 [!NO_THREADS].
10134 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10135 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10136 Likewise.
10137
2ae1ae5c
RM
10138 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10139 __libc_cleanup_push argument.
10140
e66a42f5
RM
10141 * bits/param.h: New file.
10142 * misc/sys/param.h: New file.
10143 * include/sys/param.h: New file.
10144 * misc/Makefile (headers): Add bits/param.h.
10145 * sysdeps/generic/sys/param.h: File removed.
10146 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10147 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10148 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10149 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10150
b7c08a66
RM
10151 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10152 last change.
10153
b2e1c562
RM
10154 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10155 [_IO_MTSAFE_IO].
10156 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10157 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10158 New macros.
10159
c75ccd4c
RM
10160 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10161 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10162 rather than -D_IO_MTSAFE_IO conditionally.
10163 * stdio-common/Makefile (CPPFLAGS): Likewise.
10164 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10165 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10166 Use $(libio-mtsafe).
10167 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10168 of -D_IO_MTSAFE_IO.
10169 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10170 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10171 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10172 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10173 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10174 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10175 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10176 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10177 (CFLAGS-fread_u_chk.c): Likewise.
10178 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10179 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10180 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10181 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10182 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10183 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10184 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10185 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10186 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10187
10188 * libio/Makefile: Test [$(libc-reentrant) = yes]
10189 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10190
10191 * Makeconfig
10192 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10193 * sysdeps/pthread/configure: File removed.
10194 * sysdeps/pthread/Makeconfig: New file.
10195 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10196 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10197
d9195db8
GB
101982012-08-16 Gary Benson <gbenson@redhat.com>
10199
10200 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10201 unmapping the first object in a namespace.
10202
86466cd9
RM
102032012-08-16 Roland McGrath <roland@hack.frob.com>
10204
10205 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10206 (__internal_setnetgrent): ... this. Add internal_function to
10207 definition. Add libc_hidden_def.
10208 (setnetgrent): Update caller.
10209 (internal_endnetgrent): Renamed to ...
10210 (__internal_endnetgrent): ... this. Add internal_function to
10211 definition. Add libc_hidden_def.
10212 (endnetgrent): Update caller.
10213 (internal_getnetgrent_r): Renamed to ...
10214 (__internal_getnetgrent_r): ... this. Add internal_function to
10215 definition. Add libc_hidden_def.
10216 (__getnetgrent_r): Update caller.
10217 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10218
c3c8283c
JM
102192012-08-16 Joseph Myers <joseph@codesourcery.com>
10220
10221 * stdlib/longlong.h: Update from GCC.
10222
db1ee0a8
RM
102232012-08-16 Roland McGrath <roland@hack.frob.com>
10224
10225 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10226 on _QL, which is set by umul_ppmm but never used.
10227 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10228 variables, which are set by GMP macros but never used.
10229 * stdio-common/_itowa.c (_itowa): Likewise.
10230 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10231 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10232
30f69637
CD
102332012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10234
10235 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10236 struct La_sh_regs is not constant.
10237 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10238 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10239 and struct La_sparc64_regs are not constant.
10240
93a78ac4
JM
102412012-08-16 Joseph Myers <joseph@codesourcery.com>
10242
10243 * sysdeps/unix/sysv/linux/kernel-features.h
10244 (__ASSUME_POSIX_TIMERS): Remove.
10245 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10246 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10247 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10248 Make code unconditional.
10249 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10250 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10251 Make code unconditional.
10252 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10253 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10254 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10255 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10256 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10257 Make code unconditional.
10258 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10259 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10260 (__libc_missing_posix_timers): Remove.
10261
dd924cd7
RM
102622012-08-15 Roland McGrath <roland@hack.frob.com>
10263
4b4f2771
RM
10264 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10265 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10266
601c888b
RM
10267 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10268
176790a7
RM
10269 * elf/dl-sym.c: Include <stdlib.h>.
10270
329bc018
RM
10271 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10272 constants, which avoids warnings in 32-bit builds.
10273
e04e272d
RM
10274 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10275 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10276
952bf94a
RM
10277 * misc/lseek.c: File moved to ...
10278 * io/lseek.c: ... here.
10279
7c99b50a
RM
10280 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10281
dd924cd7
RM
10282 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10283 shifting LEN more than 31 bits at once.
10284
b3f479a8
LD
102852012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10286
10287 [BZ #14195]
8c4ae0d4
RM
10288 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10289 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10290 * string/test-strncasecmp.c (check1): Renamed to...
10291 (bz12205): ...this.
10292 (bz14195): Add new testcase for two empty input strings and N > 0.
10293 (test_main): Call new testcase, adapt for renamed function.
10294
9c55864e
AJ
102952012-08-15 Andreas Jaeger <aj@suse.de>
10296
10297 [BZ #14090]
10298 * crypt/md5test2.c: New test, based on test supplied by Serge
10299 Belyshev <belyshev@depni.sinp.msu.ru>.
10300 * crypt/Makefile (xtests): Add md5test-giant..
10301 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10302
02dcb6c5
PE
103032012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10304
10305 [BZ #14090]
10306 * crypt/md5.c (md5_process_block): Don't assume the buffer
10307 length is less than 2**32.
10308 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10309 length is less than 2**64.
10310
a3f95dcc
RM
103112012-08-15 Roland McGrath <roland@hack.frob.com>
10312
be75d758
RM
10313 * string/str-two-way.h: Include <sys/param.h>.
10314 (MAX): Macro removed.
10315
7312ca90
RM
10316 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10317 Move #define and #undef of memmove to just before and after
10318 including <string.h>.
10319
9a0a5486
RM
10320 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10321 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10322 and after including <string.h>. Move declarations of
10323 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10324 to before #include "string/memmove.c".
10325
67cc348d
RM
10326 * include/dirent.h: Declare __getdirentries.
10327
a3f95dcc
RM
10328 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10329 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10330
ca98e171
MF
103312012-08-14 Mike Frysinger <vapier@gentoo.org>
10332
10333 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10334 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10335 * sysdeps/i386/configure: Regenerated.
10336 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10337 STABS_CURRENT_FILE, and STABS_FUN.
10338 (END): Remove call to STABS_FUN_END.
10339 (STABS_CURRENT_FILE1): Delete.
10340 (STABS_CURRENT_FILE): Likewise.
10341 (STABS_FUN): Likewise.
10342 (STABS_FUN_END): Likewise.
10343 (STABS_FUN2): Likewise.
10344 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10345 * sysdeps/x86_64/configure: Regenerated.
10346
5908bf46
RM
103472012-08-14 Roland McGrath <roland@hack.frob.com>
10348
10349 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10350 * elf/dl-lookup.c: Likewise.
5908bf46 10351
f2c05b9e
JM
103522012-08-14 Joseph Myers <joseph@codesourcery.com>
10353
10354 * sysdeps/unix/sysv/linux/kernel-features.h
10355 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10356 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10357 unconditionally.
10358 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10359 unconditionally.
10360 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10361 condition on __ASSUME_CLONE_THREAD_FLAGS.
10362
e11f5155
AJ
103632012-08-14 Andreas Jaeger <aj@suse.de>
10364
10365 * sysdeps/i386/fpu/libm-test-ulps: Update.
10366
51a9ba86
MK
103672012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10368
2fdd4f78
AJ
10369 * include/atomic.h (atomic_exchange_and_add): Split into ...
10370 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10371 New atomic macros.
51a9ba86 10372
ba6cba9e
MT
103732012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10374
10375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10376
42443a47
JL
103772012-08-13 Jeff Law <law@redhat.com>
10378
10379 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10380 null byte in the output string.
10381
121dce05
JM
103822012-08-10 Joseph Myers <joseph@codesourcery.com>
10383
10384 * sysdeps/unix/sysv/linux/kernel-features.h
10385 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10386 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10387 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10388 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10389 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10390 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10391 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10392
bf51f568
JL
103932012-08-09 Jeff Law <law@redhat.com>
10394
10395 [BZ #13939]
10396 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10397 When avoid_arena is set, don't retry in the that arena. Pick the
10398 next one, whatever it might be.
10399 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10400 (arena_lock): Pass in new parameter to arena_get2.
10401 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10402 arena_get2.
10403 (__libc_malloc): Unify retrying after main arena failure with
10404 __libc_memalign version.
10405 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10406
f85fa270
L
104072012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10408
10409 [BZ #14166]
10410 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10411 to __redirect_strstr.
10412 (__strstr_sse42): Use typeof __redirect_strstr.
10413 (__strstr_ia32): Likewise.
10414 (__libc_strstr): New prototype.
10415 (strstr): Renamed to ...
10416 (__libc_strstr): This.
10417 (strstr): New strong alias of __libc_strstr.
10418 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10419 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10420 __redirect_time.
10421 Include <time.h>.
10422 (__libc_time): New prototype.
10423 (time_ifunc): Replace time with __libc_time.
10424 (time): New strong alias and hidden definition of __libc_time.
10425 (__GI_time): Remove strong alias.
10426 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10427 Include <stddef.h>.
10428 (memmove): Redefined to __redirect_memmove.
10429 (__memmove_sse2): Use typeof __redirect_memmove.
10430 (__memmove_ssse3): Likewise.
10431 (__memmove_ssse3_back): Likewise.
10432 (__libc_memmove): New prototype.
10433 (memmove): Renamed to ...
10434 (__libc_memmove): This.
10435 (memmove): New strong alias of __libc_memmove.
10436
33b4a91e
MS
104372012-08-08 Mark Salter <msalter@redhat.com>
10438
10439 * elf/elf.h
10440 (R_MN10300_TLS_GD): Define.
10441 (R_MN10300_TLS_LD): Likewise.
10442 (R_MN10300_TLS_LDO): Likewise.
10443 (R_MN10300_TLS_GOTIE): Likewise.
10444 (R_MN10300_TLS_IE): Likewise.
10445 (R_MN10300_TLS_LE): Likewise.
10446 (R_MN10300_TLS_DTPMOD): Likewise.
10447 (R_MN10300_TLS_DTPOFF): Likewise.
10448 (R_MN10300_TLS_TPOFF): Likewise.
10449 (R_MN10300_SYM_DIFF): Likewise.
10450 (R_MN10300_ALIGN): Likewise.
10451 (R_MN10300_NUM): Update.
10452
b36137f1
JM
104532012-08-08 Joseph Myers <joseph@codesourcery.com>
10454
10455 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10456 Remove.
10457
cdd915fd
RM
104582012-08-08 Roland McGrath <roland@hack.frob.com>
10459
a2433aac
RM
10460 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10461
cdd915fd
RM
10462 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10463 sysdeps/unix -> sysdeps/posix move.
10464 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10465
bf9b740a
AM
104662012-08-07 Allan McRae <allan@archlinux.org>
10467
10468 [BZ #14303]
10469 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10470 (SUNOS_CPP): Likewise.
10471 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10472 not found.
10473 (open_input): Call CPP using execvp.
10474
93df14ee
JM
104752012-08-07 Joseph Myers <joseph@codesourcery.com>
10476
10477 * sysdeps/unix/sysv/linux/kernel-features.h
10478 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10479 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10480 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10481 (__ASSUME_WAITID_SYSCALL): Likewise.
10482 * sysdeps/unix/sysv/linux/dl-execstack.c
10483 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10484 code unconditional.
10485 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10486 conditional code.
10487 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10488 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10489 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10490 code.
10491 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10492 unconditional.
10493 [__ASSUME_WAITID_SYSCALL]: Likewise.
10494 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10495
d34689de
RM
104962012-08-07 Roland McGrath <roland@hack.frob.com>
10497
a281decc
RM
10498 * sysdeps/unix/closedir.c: Renamed to ...
10499 * sysdeps/posix/closedir.c: ... here.
10500 * sysdeps/unix/dirfd.c: Renamed to ...
10501 * sysdeps/posix/dirfd.c: ... here.
10502 * sysdeps/unix/dirstream.h: Renamed to ...
10503 * sysdeps/posix/dirstream.h: ... here.
10504 * sysdeps/unix/fdopendir.c: Renamed to ...
10505 * sysdeps/posix/fdopendir.c: ... here.
10506 * sysdeps/unix/opendir.c: Renamed to ...
10507 * sysdeps/posix/opendir.c: ... here.
10508 * sysdeps/unix/readdir.c: Renamed to ...
10509 * sysdeps/posix/readdir.c: ... here.
10510 * sysdeps/unix/readdir_r.c: Renamed to ...
10511 * sysdeps/posix/readdir_r.c: ... here.
10512 * sysdeps/unix/rewinddir.c: Renamed to ...
10513 * sysdeps/posix/rewinddir.c: ... here.
10514 * sysdeps/unix/seekdir.c: Renamed to ...
10515 * sysdeps/posix/seekdir.c: ... here.
10516 * sysdeps/unix/telldir.c: Renamed to ...
10517 * sysdeps/posix/telldir.c: ... here.
10518 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10519 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10520 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10521 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10522
22895b47
RM
10523 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10524 * bits/fcntl.h: ... here.
10525
707a53b6
RM
10526 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10527 not 0.
10528 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10529 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10530 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10531 (struct flock): Move l_start, l_len to the beginning.
10532 Use __pid_t for l_pid.
10533 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10534 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10535 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10536 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10537 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10538 [__USE_LARGEFILE64] (struct flock64): New type.
10539 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10540
f0bd3e25
RM
10541 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10542 * bits/dirent.h: ... here.
10543
d34689de
RM
10544 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10545 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10546
6dad2c06
JM
105472012-08-07 Joseph Myers <joseph@codesourcery.com>
10548
10549 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10550 Change from 2.6.0 to 2.6.16.
10551 * sysdeps/unix/sysv/linux/configure: Regenerated.
10552 * sysdeps/unix/sysv/linux/kernel-features.h
10553 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10554 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10555 version.
10556 (__ASSUME_UTIMES): Likewise.
10557 (__ASSUME_CLONE_STOPPED): Remove.
10558 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10559 architectures, not kernel version.
10560 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10561 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10562 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10563 (__ASSUME_WAITID_SYSCALL): Likewise.
10564 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10565 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10566 * README: State 2.6.16 as minimum Linux kernel version. Do not
10567 refer to older versions.
10568
03af9520
RM
105692012-08-06 Roland McGrath <roland@hack.frob.com>
10570
8e49df1d
RM
10571 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10572 Define alphasort64 as an alias.
10573 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10574 Define versionsort64 as an alias.
10575 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10576 Define scandir64 as an alias.
10577 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10578 Define scandirat64 as an alias.
10579 * dirent/alphasort64.c (alphasort64):
10580 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10581 * dirent/versionsort64.c: Likewise.
10582 * dirent/scandir64.c: Likewise.
10583 * dirent/scandirat64.c: Likewise.
10584 * sysdeps/wordsize-64/alphasort.c: File removed.
10585 * sysdeps/wordsize-64/alphasort64.c: File removed.
10586 * sysdeps/wordsize-64/scandir.c: File removed.
10587 * sysdeps/wordsize-64/scandir64.c: File removed.
10588 * sysdeps/wordsize-64/scandirat.c: File removed.
10589 * sysdeps/wordsize-64/scandirat64.c: File removed.
10590 * sysdeps/wordsize-64/versionsort.c: File removed.
10591 * sysdeps/wordsize-64/versionsort64.c: File removed.
10592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10600
10601 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10603 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10604 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10605 [defined __arch64__ || defined __sparcv9]
10606 (__INO_T_MATCHES_INO64_T): New macro.
10607 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10608 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10609 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10610 * sysdeps/unix/sysv/linux/bits/dirent.h
10611 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10612 (_DIRENT_MATCHES_DIRENT64): New macro.
10613
03af9520
RM
10614 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10615 Define lockf64 as an alias.
10616 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10617 Define fseeko64 as an alias.
10618 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10619 Define ftello64 as an alias.
10620 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10621 Define _IO_fgetpos64 and fgetpos64 as aliases.
10622 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10623 Define _IO_fsetpos64 and fsetpos64 as aliases.
10624 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10625 Conditionalize body on this.
10626 * libio/fseeko64.c: Likewise.
10627 * libio/ftello64.c: Likewise.
10628 * libio/iofgetpos64.c: Likewise.
10629 * libio/iofsetpos64.c: Likewise.
10630 * sysdeps/wordsize-64/lockf.c: File removed.
10631 * sysdeps/wordsize-64/lockf64.c: File removed.
10632 * sysdeps/wordsize-64/fseeko.c: File removed.
10633 * sysdeps/wordsize-64/fseeko64.c: File removed.
10634 * sysdeps/wordsize-64/ftello.c: File removed.
10635 * sysdeps/wordsize-64/ftello64.c: File removed.
10636 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10637 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10638 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10639 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10643 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10645 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10646 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10647 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10648 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10649 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10650
10651 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10653 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10655 [defined __arch64__ || defined __sparcv9]
10656 (__OFF_T_MATCHES_OFF64_T): New macro.
10657 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10658 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10660 (__OFF_T_MATCHES_OFF64_T): New macro.
10661
c5757acd
L
106622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10663
10664 * stdlib/secure-getenv.c (__secure_getenv): Replace
10665 GLIBC_2_16 with GLIBC_2_17.
10666
3a31811e
L
106672012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10668
10669 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10670 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10671
faa2bccb
DM
106722012-08-03 David S. Miller <davem@davemloft.net>
10673
10674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10675
85fe1997
JM
106762012-08-03 Joseph Myers <joseph@codesourcery.com>
10677
10678 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10679 Remove.
10680 (__ASSUME_CORRECT_SI_PID): Likewise.
10681 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10682 (__ASSUME_TMPFS_NAME): Likewise.
10683 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10684 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10685 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10686 (HAVE_AUX_SECURE): Make definition unconditional.
10687 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10688 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10689
4f75b7a0
RM
106902012-08-03 Roland McGrath <roland@hack.frob.com>
10691
10692 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10693 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10694 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10695 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10696 __eloop_threshold instead of SYMLOOP_MAX.
10697
10698 * sysdeps/generic/eloop-threshold.h: New file.
10699 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10700 of MAXSYMLINKS.
10701 * elf/chroot_canon.c (chroot_canon): Likewise.
10702
7aab07e4
JM
107032012-08-03 Joseph Myers <joseph@codesourcery.com>
10704
10705 [BZ #13717]
10706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10707 Change to 2.6.0 everywhere.
10708 * sysdeps/unix/sysv/linux/configure: Regenerated.
10709 * sysdeps/unix/sysv/linux/kernel-features.h
10710 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10711 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10712 kernel versions.
10713 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10714 (__ASSUME_FUTEX_REQUEUE): Remove.
10715 (__ASSUME_STATFS64): Define unconditionally.
10716 (__ASSUME_AT_SECURE): Likewise.
10717 (__ASSUME_CORRECT_SI_PID): Likewise.
10718 (__ASSUME_TGKILL): Define without depending on kernel version for
10719 i386.
10720 (__ASSUME_UTIMES): Likewise.
10721 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10722 kernel version.
10723 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10724 (__ASSUME_TMPFS_NAME): Likewise.
10725 * README: Update reference to Linux kernel versions.
10726
b67e9372
MP
107272012-08-02 Marek Polacek <polacek@redhat.com>
10728
1f529f7d 10729 [BZ# 14150]
b67e9372
MP
10730 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10731 libc_cv_asm_type_prefix with %.
10732 * configure: Regenerated.
d2441631
RM
10733 * include/libc-symbols.h: Remove comment about
10734 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10735 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10736 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10737 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10738 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10739 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10740 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10741 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10742 * elf/tst-unique2mod1.c: Likewise.
10743 * elf/tst-unique1mod2.c: Likewise.
10744 * elf/tst-unique1mod1.c: Likewise.
10745 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
10746 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
10747 Replace ASM_TYPE_DIRECTIVE with .type.
10748 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10749 * sysdeps/i386/sysdep.h: Likewise.
10750 * sysdeps/x86_64/sysdep.h: Likewise.
10751 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10753 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 10754 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
10755 * sysdeps/powerpc/powerpc32/sysdep.h:
10756 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
10757 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10758 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10759 * sysdeps/i386/fpu/e_powf.S: Likewise.
10760 * sysdeps/i386/fpu/e_expl.S: Likewise.
10761 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10762 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10763 * sysdeps/i386/fpu/e_pow.S: Likewise.
10764 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
10765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10766 * sysdeps/i386/fpu/s_expm1.S: Likewise.
10767 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
10768 * sysdeps/i386/fpu/e_log2.S: Likewise.
10769 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10770 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10771 * sysdeps/i386/fpu/e_powl.S: Likewise.
10772 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10773 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
10774 * sysdeps/i386/fpu/e_logl.S: Likewise.
10775 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
10776 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10777 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10778 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10779 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10780 * sysdeps/i386/fpu/e_log.S: Likewise.
10781 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10782 * sysdeps/i386/fpu/e_logf.S: Likewise.
10783 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10784 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10785 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10786 * sysdeps/i386/fpu/e_log10.S: Likewise.
10787 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10788 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10789 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10790 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10791 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10792 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10793 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10794 * sysdeps/i386/i686/strtok.S: Likewise.
10795 * sysdeps/i386/i386-mcount.S: Likewise.
10796 * sysdeps/i386/strtok.S: Likewise.
10797 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10798 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10799 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10800 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10801 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10802 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10803 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10804 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10805 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10806 * sysdeps/x86_64/_mcount.S: Likewise.
10807 * sysdeps/x86_64/strtok.S: Likewise.
10808 * sysdeps/sh/_mcount.S: Likewise.
10809
2747bf9a
RM
108102012-08-01 Roland McGrath <roland@hack.frob.com>
10811
10812 * libio/iofopen.c: Include <fcntl.h>.
10813 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10814 (_IO_fopen64, fopen64): Define as aliases.
10815 * libio/iofopen64.c: Include <fcntl.h>.
10816 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10817 Conditionalize body on this.
10818 * sysdeps/wordsize-64/iofopen.c: File removed.
10819 * sysdeps/wordsize-64/iofopen64.c: File removed.
10820
3fb791b8
MP
108212012-08-01 Marek Polacek <polacek@redhat.com>
10822
10823 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10824 Use dlfcn directly instead of a variable.
10825 (binfmt-subdir): Do not define.
10826 (dlfcn): Likewise.
10827
a9f1039f
JM
108282012-08-01 Joseph Myers <joseph@codesourcery.com>
10829
23bddc06
JM
10830 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10831 Remove all definitions.
10832 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10833 <kernel-features.h>.
10834 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10835 (miss_F_GETOWN_EX): Remove all definitions.
10836 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10837 macro definition.
10838 [!__ASSUME_FCNTL64]: Remove conditional code.
10839 [__ASSUME_FCNTL64]: Make code unconditional.
10840 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10841 <kernel-features.h>.
10842 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10843 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10844 (lockf64) [__NR_fcntl64]: Make code unconditional.
10845 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10846
a9f1039f
JM
10847 * sysdeps/unix/sysv/linux/kernel-features.h
10848 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10849 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10850 Make code unconditional.
10851 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10852 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10854 [__NR_vfork]: Make code unconditional.
10855 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10856 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10858 [__NR_vfork]: Make code unconditional.
10859 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10860 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10861
09c0ee5f
RM
108622012-08-01 Roland McGrath <roland@hack.frob.com>
10863
48aec5b9
RM
10864 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10865 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10866
cd97c966
RM
10867 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10868 Define mkstemp64 as an alias.
3f55550c
RM
10869 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10870 Define mkstemps64 as an alias.
cd97c966
RM
10871 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10872 Define mkostemp64 as an alias.
b8625cfc
RM
10873 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10874 Define mkostemps64 as an alias.
cd97c966
RM
10875 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10876 Conditionalize body on this.
10877 * misc/mkostemp64.c: Likewise.
b8625cfc 10878 * misc/mkostemps64.c: Likewise.
3f55550c 10879 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10880 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10881 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10882 * sysdeps/wordsize-64/mkostemp.c: File removed.
10883 * sysdeps/wordsize-64/mkstemp.c: File removed.
10884 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10885 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10886 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10887 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10888
09c0ee5f
RM
10889 [BZ #14138]
10890 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10891 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10892 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10893 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10894
10895 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10896 compat_symbol macros from <shlib-compat.h> rather than the underlying
10897 default_symbol_version and symbol_version macros, so that DEFAULT
10898 lines in shlib-versions are respected.
10899 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10900
7e66ee51
FW
109012012-08-01 Florian Weimer <fweimer@redhat.com>
10902
10903 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10904 Declare with warn_unused_result.
10905 (setgid, setregid, setegid, setresgid): Likewise.
10906 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10907 Likewise.
10908 * WUR-REPORT: Remove set*id functions.
10909
d2a54255
PT
109102012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10911
10912 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10913
7ecdb005
RM
109142012-07-31 Roland McGrath <roland@hack.frob.com>
10915
789bd351
RM
10916 * include/sys/socket.h (__libc_accept, __libc_accept4):
10917 Add attribute_hidden.
10918 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10919
40ce302d
RM
10920 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10921 use of PTR_MANGLE.
10922 * inet/getnetgrent_r.c (setup): Likewise.
10923
7ecdb005
RM
10924 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10925
e2eabb2c
DM
109262012-07-31 David S. Miller <davem@davemloft.net>
10927
10928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10929
d0419dbf
JM
109302012-07-31 Joseph Myers <joseph@codesourcery.com>
10931
10932 [BZ #13629]
10933 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10934 value between 1.0 and 2.0 and smaller part has absolute value less
10935 than 1.0.
10936 * math/s_clog10.c (__clog10): Likewise.
10937 * math/s_clog10f.c (__clog10f): Likewise.
10938 * math/s_clog10l.c (__clog10l): Likewise.
10939 * math/s_clogf.c (__clogf): Likewise.
10940 * math/s_clogl.c (__clogl): Likewise.
10941 * math/libm-test.inc (clog_test): Add more tests.
10942 (clog10_test): Likewise.
10943 * sysdeps/i386/fpu/libm-test-ulps: Update.
10944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945
2bc13872
FW
109462012-07-31 Florian Weimer <fweimer@redhat.com>
10947
10948 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10949 Exit with zero in case no suitable GID is found, and write a
10950 message to standard error.
10951
bea9b193
RM
109522012-07-30 Roland McGrath <roland@hack.frob.com>
10953
10954 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10955 rather than to 1.
10956 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10957 (MAXPATHLEN): Removed.
10958 (NOGROUP, NODEV): New macros.
10959 (setbit, clrbit, isset, isclr): New macros.
10960 (howmany, roundup, powerof2): New macros.
10961 (DEV_BSIZE): New macro.
10962
10963 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10964 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10965
10966 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10967 definition on [!__NO_LONG_DOUBLE_MATH].
10968
10969 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10970 PTR_MANGLE and PTR_DEMANGLE.
10971
10972 * socket/accept4.c (accept4): Rename to __libc_accept4.
10973 Define accept4 as a weak alias.
10974
10975 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10976 on [_DIRENT_HAVE_D_TYPE].
10977 * io/ftw.c (ftw_dir): Likewise.
10978
10979 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10980
10981 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10982
10983 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10984 Use the BSD numbers rather than the arbitrary ones we had.
10985 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10986 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10987 (SIGXCPU, SIGXFSZ): New macros.
10988 (_NSIG): Now 32.
10989
10990 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10991 initializer on [_LIBC_REENTRANT].
10992
10993 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10994 definitions inside [_POSIX_MAPPED_FILES].
10995
10996 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10997
10998 * dirent/opendir.c: Include <fcntl.h>.
10999
11000 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11001 (__libc_getspecific): Likewise.
11002 (__libc_key_create): Likewise.
11003
11004 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11005 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11006 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11007 (tmpfile64): Define as alias.
11008 * sysdeps/wordsize-64/tmpfile.c: File removed.
11009 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11010 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11011 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11012
11013 * stdio-common/vfscanf.c: Include <stdbool.h>.
11014 * nss/makedb.c: Likewise.
11015 * stdio-common/_i18n_number.h: Likewise.
11016 * argp/argp-help.c: Likewise.
11017 * posix/wordexp.c: Likewise.
11018 * sysdeps/posix/spawni.c: Likewise.
11019 * nss/nss_files/files-initgroups.c: Likewise.
11020 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11021 * nss/nss_files/files-initgroups.c: Likewise.
11022 * nss/nss_db/db-netgrp.c: Likewise.
11023 * nss/nss_db/db-initgroups.c: Likewise.
11024 * io/fchmodat.c: Include <sys/stat.h>.
11025
11026 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11027 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11028
11029 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11030 [HAVE_MMAP].
11031
11032 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11033 Add multiple inclusion protection.
11034
e5abc686
DM
110352012-07-27 David S. Miller <davem@davemloft.net>
11036
11037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11038
815e6fa3
GB
110392012-07-27 Gary Benson <gbenson@redhat.com>
11040
11041 [BZ #14298]
11042 * elf/rtld.c: Include <stap-probe.h>.
11043 (dl_main): Added static probes "init_start" and "init_complete".
11044 * elf/dl-load.c: Include <stap-probe.h>.
11045 (lose): Take new parameter "nsid".
11046 Added static probe "map_failed".
11047 (_dl_map_object_from_fd): Pass namespace id to lose.
11048 Added static probe "map_start".
11049 (open_verify): Pass namespace id to lose.
11050 * elf/dl-open.c: Include <stap-probe.h>.
11051 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11052 and "reloc_complete".
11053 * elf/dl-close.c: Include <stap-probe.h>.
11054 (_dl_close_worker): Added static probes "unmap_start" and
11055 "unmap_complete".
11056 * elf/rtld-debugger-interface.txt: New file documenting the above.
11057
9f98c16c
RM
110582012-07-26 Roland McGrath <roland@hack.frob.com>
11059
11060 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11061 rather than a string variable.
11062 * sunrpc/rpc_main.c (h_output): Likewise.
11063 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11064
f3c22df3
PT
110652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11066
11067 * inet/check_native.c: New file.
11068
3129cfc6
JM
110692012-07-26 Joseph Myers <joseph@codesourcery.com>
11070
da865e95
JM
11071 [BZ #13629]
11072 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11073 if larger part has absolute value 1.0.
11074 * math/s_clog10.c (__clog10): Likewise.
11075 * math/s_clog10f.c (__clog10f): Likewise.
11076 * math/s_clog10l.c (__clog10l): Likewise.
11077 * math/s_clogf.c (__clogf): Likewise.
11078 * math/s_clogl.c (__clogl): Likewise.
11079 * math/libm-test.inc (clog_test): Add more tests.
11080 (clog10_test): Likewise.
11081 * sysdeps/i386/fpu/libm-test-ulps: Update.
11082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11083
3129cfc6
JM
11084 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11085 (pltexit): Likewise.
11086 (La_regs): Likewise.
11087 (La_retval): Likewise.
11088 (int_retval): Likewise.
11089 Update #error for removed macros to refer only to definitions in
11090 tst-audit.h.
11091 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11092 macro.
11093 (pltexit): Likewise.
11094 (La_regs): Likewise.
11095 (La_retval): Likewise.
11096 (int_retval): Likewise.
11097 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11098 macro.
11099 (pltexit): Likewise.
11100 (La_regs): Likewise.
11101 (La_retval): Likewise.
11102 (int_retval): Likewise.
11103 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11104 macro.
11105 (pltexit): Likewise.
11106 (La_regs): Likewise.
11107 (La_retval): Likewise.
11108 (int_retval): Likewise.
11109 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11110 macro.
11111 (pltexit): Likewise.
11112 (La_regs): Likewise.
11113 (La_retval): Likewise.
11114 (int_retval): Likewise.
11115 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11116 macro.
11117 (pltexit): Likewise.
11118 (La_regs): Likewise.
11119 (La_retval): Likewise.
11120 (int_retval): Likewise.
11121 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11122 macro.
11123 (pltexit): Likewise.
11124 (La_regs): Likewise.
11125 (La_retval): Likewise.
11126 (int_retval): Likewise.
11127 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11128 macro definitions in tst-audit.h.
11129 * sysdeps/i386/tst-audit.h: New file.
11130 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11131 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11132 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11133 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11134 * sysdeps/sh/tst-audit.h: Likewise.
11135 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11136 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11137 * sysdeps/x86_64/tst-audit.h: Likewise.
11138
bfc07087
AJ
111392012-07-26 Andreas Jaeger <aj@suse.de>
11140
b1b2aaf8
AJ
11141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11142 ptrace.
11143
11144 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11145 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11146 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11147 PTRACE_O_MASK.
11148 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11149 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11150 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11151
bfc07087
AJ
11152 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11153 value.
11154
11155 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11156 _sigsys.
11157 (si_call_addr, si_syscall, si_arch): Define new macro.
11158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11159 _sigsys.
11160 (si_call_addr, si_syscall, si_arch): Define new marcro.
11161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11162 _sigsys.
11163 (si_call_addr, si_syscall, si_arch): Define new macro.
11164 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11165 _sigsys.
11166 (si_call_addr, si_syscall, si_arch): Define new macro.
11167
89b4b02f
JM
111682012-07-25 Joseph Myers <joseph@codesourcery.com>
11169
11170 [BZ #13717]
11171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11172 Change to 2.4.21 where previously 2.4.1.
11173 * sysdeps/unix/sysv/linux/configure: Regenerated.
11174 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11175 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11176 Linux kernel version.
11177 (__ASSUME_STD_AUXV): Remove.
11178 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11179 kernel version.
11180 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11181 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11182 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11183 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11184 (__ASSUME_NETLINK_SUPPORT): Likewise.
11185 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11186 (__no_netlink_support): Remove conditional definition.
11187 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11188 Remove.
11189 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11190 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11191 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11192 (if_nameindex_ioctl): Remove.
11193 (if_nameindex_netlink): Do not handle __no_netlink_support.
11194 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11195 code.
11196 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11197 Remove conditional code.
11198 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11199 code.
11200 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11201 unconditional.
11202 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11203 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11204 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11205 Remove.
11206 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11207 [!__ASSUME_STD_AUXV]: Remove conditional code.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11209 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11210 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11212 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11213 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11214 code.
11215 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11217 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11218 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11219 conditional code.
11220 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11222 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11223 code.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11225 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11226 conditional code.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11228 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11229 code unconditional.
11230 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11231 conditional code.
11232 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11233 unconditional.
11234 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11235 conditional code.
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11237 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11238 unconditional.
11239 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11240 conditional code.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11242 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11243 code unconditional.
11244 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11245 conditional code.
11246 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11247 unconditional.
11248 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11249 conditional code.
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11251 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11252 code unconditional.
11253 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11254 conditional code.
11255 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11256 unconditional.
11257 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11258 conditional code.
11259
842a39cd
AS
112602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11261
11262 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11263 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11264 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11265 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11266 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11267 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11269 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11270 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11271 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11272 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11273 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11274 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11275 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11277 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11278 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11280 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11282 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11283 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11284 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11285
84b3fd84
FW
112862012-07-25 Florian Weimer <fweimer@redhat.com>
11287
11288 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11289 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11290 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11291 Introduce __libc_secure_getenv.
0c7936d5
FW
11292 * stdlib/Versions (2.17): Add secure_getenv
11293 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11294 * stdlib/secure-getenv.c: Rename __secure_getenv to
11295 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11296 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11297 * stdlib/tst-secure-getenv.c: New.
11298 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11299 * manual/startup.texi (Environment Access): Document
11300 secure_getenv.
84b3fd84
FW
11301 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11302 __libc_secure_getenv.
11303 * inet/ruserpass.c (ruserpass): Likewise.
11304 * malloc/mtrace.c (mtrace): Likewise.
11305 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11306 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11307 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11308 * sysdeps/posix/tempname.c: Likewise. Evaluate
11309 HAVE_SECURE_GETENV.
11310 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11311 __secure_getenv to __libc_secure_getenv.
84b3fd84 11312 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11314 Likewise.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11316 Likewise.
11317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11324
56e49b71
JM
113252012-07-25 Joseph Myers <joseph@codesourcery.com>
11326
11327 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11328 (struct La_i86_retval): Likewise.
11329 (struct La_x86_64_regs): Likewise.
11330 (struct La_x86_64_retval): Likewise.
11331 (struct La_x32_regs): Likewise.
11332 (struct La_x32_retval): Likewise.
11333 (struct La_ppc32_regs): Likewise.
11334 (struct La_ppc32_retval): Likewise.
11335 (struct La_ppc64_regs): Likewise.
11336 (struct La_ppc64_retval): Likewise.
11337 (struct La_sh_regs): Likewise.
11338 (struct La_sh_retval): Likewise.
11339 (struct La_s390_32_regs): Likewise.
11340 (struct La_s390_32_retval): Likewise.
11341 (struct La_s390_64_regs): Likewise.
11342 (struct La_s390_64_retval): Likewise.
11343 (struct La_sparc32_regs): Likewise.
11344 (struct La_sparc32_retval): Likewise.
11345 (struct La_sparc64_regs): Likewise.
11346 (struct La_sparc64_retval): Likewise.
11347 (struct audit_ifaces): Remove architecture-specific pltenter and
11348 pltexit members.
11349 * sysdeps/i386/ldsodefs.h: New file.
11350 * sysdeps/powerpc/ldsodefs.h: Likewise.
11351 * sysdeps/s390/ldsodefs.h: Likewise.
11352 * sysdeps/sh/ldsodefs.h: Likewise.
11353 * sysdeps/sparc/ldsodefs.h: Likewise.
11354 * sysdeps/x86_64/ldsodefs.h: Likewise.
11355
354691b7
MP
113562012-07-25 Marek Polacek <polacek@redhat.com>
11357
11358 [BZ #6808]
11359 * math/libm-test.inc (yn_test): Add another test.
11360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11361 to ERANGE when the result is +-Inf.
11362 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11363 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11364 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11365 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11366
bf9e2071
JM
113672012-07-24 Joseph Myers <joseph@codesourcery.com>
11368
11369 * conform/data/time.h-data (NULL): Use macro-constant. Require
11370 equal to 0.
11371 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11372 clock_t.
11373 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11374
57633811
TS
113752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11376
11377 * configure.in <sysdeps resolving>: Correct printing
11378 Implies_before.
11379 * configure: Regenerate.
11380
c23c33b0
TS
113812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11382
11383 * math/w_ilogb.c: Include <limits.h>.
11384 * math/w_ilogbl.c: Likewise.
11385
b5982523
JM
113862012-07-20 Joseph Myers <joseph@codesourcery.com>
11387
11388 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11389 va_copy. Document allowing for unavailable va_copy only as
11390 pre-C99 compatibility.
11391 * manual/string.texi (Copying and Concatenation): Use va_copy
11392 instead of __va_copy in concat example.
11393
ac4ea442
PT
113942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11395
11396 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11397 (__sendto): Use create_address_port. Initialize APORT and deallocate
11398 it if not null.
11399
f98eafbd
PT
11400 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11401 with O_NOLINK passed to __file_name_lookup.
11402
898c7aab
PT
11403 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11404 with O_NOLINK passed to __file_name_lookup.
11405
0ced335a
PT
11406 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11407 negative N or less than NGIDS.
11408
b3404dbd
PT
11409 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11410 type to string_t. Set ERANGE as errno and return it if NAME is not big
11411 enough. Use memcpy instead of strncpy.
11412
0f48659e
JM
114132012-07-20 Joseph Myers <joseph@codesourcery.com>
11414
11415 * elf/Makefile (check-data): Remove.
11416 (localplt.data): New vpath directive.
11417 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11418 instead of $(check-data).
11419 * scripts/data/localplt-generic.data: Move to ...
11420 * sysdeps/generic/localplt.data: ... here.
11421 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11422 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11423 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11425 ... here.
11426 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11428 ... here.
11429 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11431 ... here.
11432 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11434 ... here.
11435 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11437 ... here.
11438 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11440 ... here.
11441
d37cbdaa
AZ
114422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11443
11444 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11445 PPC32 and PPC64 files.
11446 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11447 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11448
46f85fc2
AK
114492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11450
11451 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11452 __makecontext_ret to ...
11453 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11454 ... here and call exit if uc_link is NULL. New file.
11455 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11456 __makecontext_ret.S.
11457 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11458 __makecontext_ret to ...
11459 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11460 ... here and call exit if uc_link is NULL. New file.
11461 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11462 __makecontext_ret.S.
11463
08f43f9b
AK
114642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11465
11466 * elf/elf.h (R_390_IRELATIVE): New definition.
11467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11468 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11469 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11471 (elf_machine_lazy_rel): Likewise.
11472 * sysdeps/s390/dl-irel.h: New file.
11473 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11474 * sysdeps/s390/s390-64/memset.S: New asm code.
11475 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11476 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11477 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11478 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11479 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11480 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11482 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11483 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11484 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11485 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11486 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11487 * sysdeps/s390/s390-32/memset.S: New asm code.
11488 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11489
3b05db33
MP
114902012-07-17 Marek Polacek <polacek@redhat.com>
11491
11492 [BZ #14349]
11493 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11494 * sysdeps/s390/s390-64/configure.in: Likewise.
11495 * sysdeps/sparc/configure.in: Likewise.
11496 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11497 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11498 * sysdeps/i386/configure.in: Likewise.
11499 * sysdeps/x86_64/configure.in: Likewise.
11500 * sysdeps/sh/configure.in: Likewise.
11501 * sysdeps/s390/s390-32/configure: Regenerated.
11502 * sysdeps/s390/s390-64/configure: Likewise.
11503 * sysdeps/x86_64/configure: Likewise.
11504 * sysdeps/sh/configure: Likewise.
11505 * sysdeps/powerpc/powerpc64/configure: Likewise.
11506 * sysdeps/powerpc/powerpc32/configure: Likewise.
11507 * sysdeps/sparc/configure: Likwise.
11508 * sysdeps/i386/configure: Likewise.
11509
a66877c6
MP
11510 * elf/dl-open.c: Comment fixes.
11511
cfc82fd8
JM
115122012-07-17 Joseph Myers <joseph@codesourcery.com>
11513
bd29910a
JM
11514 * Makefile [CXX] (check-data): Remove.
11515 [CXX] (c++-types.data): New vpath directive.
11516 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11517 vpath. Do not allow for C++ type data being missing.
11518 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11519 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11520 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11521 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11522 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11523 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11524 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11526 ... here.
11527 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11529 ... here.
11530 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11532 ... here.
11533 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11535 ... here.
11536 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11538 ... here.
11539 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11541 ... here.
11542 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11544 ... here.
11545 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11547
cfc82fd8
JM
11548 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11549 definitions to architecture-specific files.
11550 (TLS_IE): Likewise.
11551 (TLS_LD): Likewise.
11552 (TLS_GD): Likewise.
11553 * sysdeps/i386/tls-macros.h: New file.
11554 * sysdeps/powerpc/tls-macros.h: Likewise.
11555 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11556 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11557 * sysdeps/sh/tls-macros.h: Likewise.
11558 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11559 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11560 * sysdeps/x86_64/tls-macros.h: Likewise.
11561
f7db3170
TS
115622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11563
07cbfc23
TS
11564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11565 zero value for regular exit case.
11566
f7db3170
TS
11567 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11568 (__start_context): Preserve zero value for regular exit case.
11569
dc97c227
TS
115702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11571 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11572
11573 * manual/setjmp.texi (setcontext): Clarify normal process
11574 termination when uc_link is the null pointer.
11575 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11576 exit call.
11577
d0cd7d02
AS
115782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11579
11580 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11581 preprocessor. Test for each exception mask separately.
11582
dd318934
AJ
115832012-07-16 Andreas Jaeger <aj@suse.de>
11584
11585 * po/ru.po: Update from translation team.
11586
8048311a
JM
115872012-07-15 Joseph Myers <joseph@codesourcery.com>
11588
11589 * conform/data/string.h-data (NULL): Use macro-constant. Require
11590 equal to 0.
11591 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11592 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11593 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11594 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11596
b637d46e
AJ
115972012-07-13 Andreas Jaeger <aj@suse.de>
11598
11599 * po/fr.po: Update from translation team.
11600
541428fe
MP
116012012-07-12 Marek Polacek <polacek@redhat.com>
11602
11603 [BZ #14173]
11604 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11605 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11606 loop condition.
11607
ec332e94
JM
116082012-07-12 Joseph Myers <joseph@codesourcery.com>
11609
11610 [BZ #13717]
11611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11612 Change to 2.4.1 where previously 2.4.0.
11613 * sysdeps/unix/sysv/linux/configure: Regenerated.
11614 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11615 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11616 version.
11617 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11618 (__ASSUME_AT_CLKTCK): Remove.
11619 (__ASSUME_AT_PAGESIZE): Likewise.
11620 (__ASSUME_AT_XID): Likewise.
11621 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11622 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11623 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11624 unconditionally.
11625 (HAVE_AUX_PAGESIZE): Likewise.
11626 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11627 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11628 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11629
7b6e99be
JB
116302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11631
11632 [BZ #14307]
11633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11634 the temporary buffer used to invoke __gethostbyname2_r,
11635 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11636 host_data / struct gaih_addrtuple.
11637 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11638 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11639 header file nss/nsswitch.h.
11640 * nss/nsswitch.h (global scope): Add definition of implementation
11641 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11642 resolv/nss_dns/dns-host.c).
11643
608404eb
AJ
116442012-07-11 Andreas Jaeger <aj@suse.de>
11645
11646 * po/fr.po: Update from translation team.
11647
71220aca
AJ
11648 * po/sv.po: Update from translation team
11649 * po/fr.po: Another update from translation team.
11650
28cfe843
AZ
116512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11652
11653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11654 for subnormals or multiply small sinh result by itself.
11655 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11657
6b90f981
DM
116582012-07-11 David S. Miller <davem@davemloft.net>
11659
11660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11661
c6825772
AS
116622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11663
11664 [BZ #14347]
11665 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11666 (INTERNAL_MARK): Shift it here.
11667
7b8e0d49
MP
116682012-07-10 Marek Polacek <polacek@redhat.com>
11669
11670 [BZ #14151]
11671 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11672 libc_cv_asm_global_directive with .globl.
11673 * configure: Regenerated.
11674 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11675 with .globl.
11676 * sysdeps/i386/configure: Regenerated.
11677 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11678 with .globl.
11679 * sysdeps/x86_64/configure: Regenerated.
11680 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11681 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11682 * elf/tst-unique2mod2.c: Likewise.
11683 * elf/tst-unique2mod1.c: Likewise.
11684 * elf/tst-unique1mod2.c: Likewise.
11685 * elf/tst-unique1mod1.c: Likewise.
11686 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11687 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11688 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11690 * sysdeps/mach/sysdep.h: Likewise.
11691 * sysdeps/i386/sysdep.h: Likewise.
11692 * sysdeps/i386/i386-mcount.S: Likewise.
11693 * sysdeps/x86_64/_mcount.S: Likewise.
11694 * sysdeps/x86_64/sysdep.h: Likewise.
11695 * sysdeps/sh/_mcount.S: Likewise.
11696 * sysdeps/sh/sysdep.h: Likewise.
11697 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11698 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11699 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11700 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11701 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11702 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11703 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11704 * locale/localeinfo.h: Likewise.
11705 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11706 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11707
6c55cda3
RM
117082012-07-09 Roland McGrath <roland@hack.frob.com>
11709
11710 [BZ #14336]
11711 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11712 system".
11713 * manual/message.texi (The Uniforum approach): Likewise.
11714 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11715 (glibc iconv Implementation): Likewise.
11716
638a572e
JM
117172012-07-09 Joseph Myers <joseph@codesourcery.com>
11718
11719 [BZ #14337]
11720 * math/s_clog.c (__clog): Avoid scaling a value down where that
11721 could result in underflow.
11722 * math/s_clog10.c (__clog10): Likewise.
11723 * math/s_clog10f.c (__clog10f): Likewise.
11724 * math/s_clog10l.c (__clog10l): Likewise.
11725 * math/s_clogf.c (__clogf): Likewise.
11726 * math/s_clogl.c (__clogl): Likewise.
11727 * math/libm-test.inc (clog_test): Add more tests.
11728 (clog10_test): Likewise.
11729 * sysdeps/i386/fpu/libm-test-ulps: Update.
11730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11731
261f4859
AS
117322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11733
0abaf3e4
AS
11734 [BZ #14283]
11735 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11736 by 7 not 8 to examine high bit of fractional part.
11737
261f4859
AS
11738 [BZ #14042]
11739 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11740 for call to __mcount_internal.
11741 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11742 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
11743 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
11744
f17ac40d
JM
117452012-07-06 Joseph Myers <joseph@codesourcery.com>
11746
9ad63c23
JM
11747 [BZ #14154]
11748 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
11749 approximation for values within 0x1p-13f of an odd multiple of
11750 pi/4.
11751 * math/libm-test.inc (tan_test): Do not allow spurious underflow
11752 exception. Add more tests.
11753 * sysdeps/i386/fpu/libm-test-ulps: Update.
11754
f17ac40d
JM
11755 [BZ #6778]
11756 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
11757 inputs and return -1 for them. Do not check for +Inf in case not
11758 reachable for +Inf.
11759 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11760 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
11761 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11762 and return -1 for them. Do not check for +Inf in case not
11763 reachable for +Inf.
11764 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
11765 define.
11766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
11767 and return -1 for them. Do not check for +Inf in case not
11768 reachable for +Inf.
11769 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
11770 spurious underflow.
11771 * sysdeps/i386/fpu/libm-test-ulps: Update.
11772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11773
fb21f89b
MF
117742012-07-06 Mike Frysinger <vapier@gentoo.org>
11775
11776 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
11777
cdfe2c5e
JM
117782012-07-05 Joseph Myers <joseph@codesourcery.com>
11779
11780 [BZ #14157]
11781 [BZ #14331]
11782 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11783 could result in spurious underflow. Scale down values above
11784 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11785 * math/s_csqrtf.c (__csqrtf): Likewise.
11786 * math/s_csqrtl.c (__csqrtl): Likewise.
11787 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11788 spurious underflow.
11789 * sysdeps/i386/fpu/libm-test-ulps: Update.
11790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11791
70d35b67
AS
117922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11793
704bc459
AS
11794 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11795 xopen-msg.sed.
11796 * catgets/xopen-msg.awk: New file.
11797 * catgets/xopen-msg.sed: Removed.
11798
70d35b67
AS
11799 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11800 po2text.sed.
11801 * intl/po2test.awk: New file.
11802 * intl/po2test.sed: Removed.
11803
ca61cf32
JM
118042012-07-04 Joseph Myers <joseph@codesourcery.com>
11805
11806 [BZ #14328]
11807 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11808 or multiply small sinh result by itself.
11809 * math/s_ctanf.c (__ctanf): Likewise.
11810 * math/s_ctanh.c (__ctanh): Likewise.
11811 * math/s_ctanhf.c (__ctanhf): Likewise.
11812 * math/s_ctanhl.c (__ctanhl): Likewise.
11813 * math/s_ctanl.c (__ctanl): Likewise.
11814 * math/libm-test.inc (ctan_test_tonearest): New function.
11815 (ctan_test_towardzero): Likewise.
11816 (ctan_test_downward): Likewise.
11817 (ctan_test_upward): Likewise.
11818 (ctanh_test_tonearest): Likewise.
11819 (ctanh_test_towardzero): Likewise.
11820 (ctanh_test_downward): Likewise.
11821 (ctanh_test_upward): Likewise.
11822 (main): Call these new functions.
11823 * sysdeps/i386/fpu/libm-test-ulps: Update.
11824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11825
ca48a46a
MF
118262012-07-03 Mike Frysinger <vapier@gentoo.org>
11827
11828 * .gitignore: Delete /ports entry.
11829
9d63d37d
AJ
118302012-07-03 Andreas Jaeger <aj@suse.de>
11831
11832 * po/bg.po: Update from translation team.
11833 * po/cs.po: Likewise.
11834 * po/de.po: Likewise.
11835 * po/hr.po: Likewise.
11836 * po/nl.pl: Likewise.
11837 * po/pl.po: Likewise.
11838 * po/vi.po: Likewise.
11839
370ca3d2
JM
118402012-07-03 Joseph Myers <joseph@codesourcery.com>
11841
95f5a9a8
JM
11842 * Makeconfig [!+link] (+link-before-libc): New variable.
11843 [!+link] (+link-after-libc): Likewise.
11844 [!+link] (+link-tests): Likewise.
11845 [!+link] (+link): Define in terms of $(+link-before-libc) and
11846 $(+link-after-libc).
11847 [!+link-static] (+link-static-before-libc): New variable.
11848 [!+link-static] (+link-static-after-libc): Likewise.
11849 [!+link-static] (+link-static-tests): Likewise.
11850 [!+link-static] (+link-static): Define in terms of
11851 $(+link-static-before-libc) and $(+link-static-after-libc).
11852 [build-shared] (link-libc-before-gnulib): New variable.
11853 [build-shared] (link-libc-tests): Likewise.
11854 [build-shared] (link-libc): Define in terms of
11855 $(link-libc-before-gnulib).
11856 [!build-shared] (link-libc-tests): New variable.
11857 (link-libc-static-tests): New variable.
11858 [!gnulib] (gnulib-arch): New variable.
11859 [!gnulib] (gnulib-tests): Likewise.
11860 [!gnulib] (static-gnulib-arch): Likewise.
11861 [!gnulib] (static-gnulib-tests): Likewise.
11862 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11863 Define with "=" instead of ":=".
11864 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11865 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11866 * Rules (binaries-all-notests): New variable.
11867 (binaries-all-tests): Likewise.
11868 (binaries-static-notests): Likewise.
11869 (binaries-static-tests): Likewise.
11870 (binaries-all): Define using $(binaries-all-notests) and
11871 $(binaries-all-tests).
11872 (binaries-static): Define using $(binaries-static-notests) and
11873 $(binaries-static-tests).
11874 (binaries-shared-tests): New variable.
11875 (binaries-shared-notests): Likewise.
11876 (binaries-shared): Remove variable.
11877 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11878 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11879 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11880 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11881 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11882 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11883 * elf/Makefile (sln-modules): New variable.
11884 (extra-objs): Add $(sln-modules:=.o).
11885 (ldconfig-modules): Add static-stubs.
11886 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11887 * elf/static-stubs.c: New file.
11888
7a845b2c
JM
11889 [BZ #14283]
11890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11891 by 7 not 8 to examine high bit of fractional part. Use volatile
11892 variables when splitting into final array of floats if
11893 __FLT_EVAL_METHOD__ != 0.
11894 * math/libm-test.inc (cos_test): Add another test.
11895 (sin_test): Likewise.
11896 * sysdeps/i386/fpu/libm-test-ulps: Update.
11897
e2283f38
JM
11898 [BZ #14273]
11899 * math/libm-test.inc (cosh_test): Add more tests.
11900
370ca3d2
JM
11901 * version.h (RELEASE): Set to "development".
11902 (VERSION): Set to "2.16.90".
11903
ee9247c3
CD
119042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11905
11906 * NEWS: Update copyright. Remove last-updated date.
11907 Mention math library bug fixes and timezone data changes.
11908 * README: Mention GNU/Hurd, x32, and HPPA support status.
11909
4648c381
TS
119102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11911
11912 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11913
aac78a43
AJ
119142012-06-27 Andreas Jaeger <aj@suse.de>
11915
11916 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11917
ed3dbfad
AJ
119182012-06-25 Andreas Jaeger <aj@suse.de>
11919
11920 * sysdeps/s390/fpu/libm-test-ulps: Update.
11921
4d0ee855
AS
119222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11923 Thomas Schwinge <thomas@codesourcery.com>
11924
11925 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11926 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11928 fanotify_mark.
11929
af1bce34
TS
119302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11931
a9fa33ba
TS
11932 * sysdeps/mach/start.c: Remove file.
11933 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11934 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11935 * sysdeps/sh/init-first.c: Likewise.
11936
58f902b8
TS
11937 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11938 registers for frame unwinding purposes, add CFI directives.
11939 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11940 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11941 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11942 Likewise.
11943
1518f58b
TS
11944 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11945 __fortify_fail returning.
11946 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11947
db9b5059
TS
11948 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11949 sysdeps/sh/____longjmp_chk.S.
11950 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11951 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11952 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11953 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11954
967705fe
TS
11955 * sysdeps/sh/abort-instr.h: New file.
11956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11957 process in case exit returns.
11958
a9def8c4
TS
11959 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11960 initialize the GOT register before use.
11961
2a649725
TS
11962 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11963 calculation of ARGC > 4.
11964
af1bce34
TS
11965 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11966 meaningful names to some local labels.
11967
d230f50a
KK
119682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11969 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11970
11971 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11972 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11973 (__arch_compare_and_exchange_val_16_acq): Likewise.
11974 (__arch_compare_and_exchange_val_32_acq): Likewise.
11975 (atomic_exchange_and_add): Fix gUSA sequence.
11976 (atomic_add): Likewise.
11977 (atomic_add_negative): Likewise.
11978 (atomic_add_zero): Likewise.
11979 (atomic_bit_test_set): Likewise.
11980
0479b305
AS
119812012-06-22 Andreas Schwab <schwab@redhat.com>
11982
11983 [BZ #13579]
11984 * include/link.h (struct link_map): Add l_free_initfini.
11985 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11986 l_initfini.
11987 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11988 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11989 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11990 set.
11991
0e3933b9
CD
119922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11993
11994 * configure.in: Use AC_LANG_SOURCE.
11995 * configure: Regenerate.
11996
4248b1b1
RM
119972012-06-22 Roland McGrath <roland@hack.frob.com>
11998
11999 * configure.in (libc_cv_localstatedir): New substituted variable.
12000 * configure: Regenerated.
12001 * config.make.in (localstatedir): New variable, substituted from
12002 libc_cv_localstatedir.
12003 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12004 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12005 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12006 * sysdeps/gnu/configure: Regenerated.
12007
006dd861
JL
120082012-06-21 Jeff Law <law@redhat.com>
12009
12010 [BZ #14277]
12011 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12012 free. Simplify list management for _LIBC case.
12013
79662d42
JM
120142012-06-21 Joseph Myers <joseph@codesourcery.com>
12015
b7abb4bf
JM
12016 [BZ #14273]
12017 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12018 Clear sign bit of 64-bit integer value before comparing against
12019 overflow value.
12020
79662d42
JM
12021 * sysdeps/mach/configure: Regenerated.
12022
1f150908
L
120232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12024
12025 [BZ #14278]
12026 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12027
28363bbf
JL
120282012-06-21 Jeff Law <law@redhat.com>
12029
12030 [BZ #13882]
12031 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12032 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12033 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12034 * elf/dl-open.c (dl_open_worker): Likewise.
12035
09615db4
CD
120362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12037
12038 * scripts/list-sources.sh: Scan PORTS for translations.
12039 * po/libc.pot: Regenerated.
12040
2174c6dd
AJ
120412012-06-21 Andreas Jaeger <aj@suse.de>
12042
12043 [BZ #12194]
12044 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12045 warning.
12046 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12047 * bits/byteswap-16.h (__bswap_16): Likewise.
12048 * bits/byteswap.h (__bswap_constant_16): Likewise.
12049
3ee947b1
L
120502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12051
12052 [BZ #14117]
a2f34833
L
12053 * sysdeps/i386/fpu_control.h: Removed.
12054 * sysdeps/x86_64/fpu_control.h: Moved to ...
12055 * sysdeps/x86/fpu_control.h: Here.
12056
3ee947b1
L
12057 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12058 (_FPU_SETCW): Likewise.
12059
ed1825f8
L
120602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12061
25f1282a
L
12062 [BZ #14117]
12063 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12064 * sysdeps/x86/fpu/bits/mathinline.h: This.
12065 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12066
ed1825f8
L
12067 [BZ #14050]
12068 [BZ #14117]
12069 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12070 functions if __x86_64__ is defined.
12071
36d54b74
CLT
120722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12073
12074 * string/endian.h: Add !__ASSEMBLER__ condition for including
12075 conversion interfaces.
12076
10285c21
JM
120772012-06-15 Joseph Myers <joseph@codesourcery.com>
12078
12079 [BZ #14241]
12080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12081 of ABS(x) in calculating zero to negative powers other than odd
12082 integers.
12083 * math/libm-test.inc (pow_test): Add more tests.
12084
06c5abbd
AJ
120852012-06-15 Andreas Jaeger <aj@suse.de>
12086
12087 * manual/contrib.texi (Contributors): Update entry of Liubov
12088 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12089 Machado Filho.
12090
a3aeac40
CH
120912012-06-15 Cyril Hrubis <metan@ucw.cz>
12092
12093 * string/string.h: Add __wur to GNU version of strerror_r.
12094
49bdf4c1
L
120952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12096
12097 [BZ #14229]
12098 * string/Makefile (tests): Add tst-strtok_r.
12099 * string/tst-strtok_r.c: New file.
12100 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12101 RAX_LP/RDX_LP on SAVE_PTR.
12102
834f9b8d
RM
121032012-06-14 Roland McGrath <roland@hack.frob.com>
12104
12105 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12106
75fa1921
JM
121072012-06-14 Joseph Myers <joseph@codesourcery.com>
12108
12109 * libm_test.inc (csqrt_test): Allow more spurious underflow
12110 exceptions.
12111 (j0_test): Likewise.
12112 (j1_test): Likewise.
12113 (y0_test): Likewise.
12114 (y1_test): Likewise.
12115
771766df
CD
121162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12117
12118 * po/Makefile (libc.pot): Use UTF-8 charset.
12119
ceb9e56b
PP
121202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12121
12122 [BZ #14210]
12123 Suppress sign-conversion warning from FD_SET.
12124 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12125 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12126 not unsigned long int.
12127 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12128
ddb28975
L
121292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12130
12131 [BZ #14050]
12132 [BZ #14117]
12133 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12134 __extern_always_inline instead of __extern_inline.
12135 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12136 (__signbit): Likewise.
12137 (__signbitl): Support C++ namespace.
12138 (lrintf): New inline function.
12139 (lrint): Likewise.
12140 (llrintf): Likewise.
12141 (llrint): Likewise.
12142 (fmaxf): Likewise.
12143 (fmax): Likewise.
12144 (fminf): Likewise.
12145 (fmin): Likewise.
12146 (rint): Likewise.
12147 (rintf): Likewise.
12148 (ceil): Likewise.
12149 (ceilf): Likewise.
12150 (floor): Likewise.
12151 (floorf): Likewise.
12152 (nearbyint): Likewise.
12153 (nearbyintf): Likewise.
12154
d7b4fb26
TS
121552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12156
12157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12158 non-default versions.
12159
eb55f5c2
RM
121602012-06-11 Roland McGrath <roland@hack.frob.com>
12161
12162 [BZ #14218]
12163 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12164
366af02c
TS
121652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12166
99ff6e5c
TS
12167 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12168 (FE_UPWARD, FE_DOWNWARD): Don't define.
12169 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12170 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12171
366af02c
TS
12172 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12173 reading it.
12174 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12175 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12176
793ea851
KK
121772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12178
12179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12181 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12182 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12183
a728a38f
L
121842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12185
12186 [BZ #14117]
c08010c7
L
12187 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12188 * sysdeps/i386/fpu/Implies: New file.
12189 * sysdeps/x86_64/fpu/Implies: Likewise.
12190 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12191 * sysdeps/x86/fpu/bits/fenv.h: This.
12192
a728a38f
L
12193 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12194 __SSE_MATH__.
12195
6e230d11
SP
121962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12197
12198 [BZ #14134]
12199 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12200 character 0xffff that matches the last element of the
12201 conversion table.
12202
1b671feb
AZ
122032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12204
12205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12206 fmodl commit.
12207
6043738b
AZ
122082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12209
12210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12211 values higher than 25.6283.
12212
34ae0b32
AZ
122132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12214
12215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12216 subnormal exponent extraction and add some __builtin_expect.
12217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12218 Fix for subnormal mantissa calculation.
12219
1214ec8f
MF
122202012-06-04 Mike Frysinger <vapier@gentoo.org>
12221
12222 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12223 cpu2 is -1 and errno is not ENOSYS.
12224
f3d1f93c
L
122252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12226
12227 [BZ #14117]
0e4a3cd7
L
12228 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12229 * sysdeps/x86/bits/string.h: This.
12230 * sysdeps/x86_64/bits/string.h: Removed.
12231
6704c645
L
12232 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12233 if not compiling for x86-64, but compiling for >= i486.
12234
48495318
L
12235 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12236 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12237
14adcbfc
L
12238 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12239 New macro from Linux kernel 3.4.0.
12240 (FP_XSTATE_MAGIC2): Likewise.
12241 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12242 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12243 (struct _fpx_sw_bytes): New struct.
12244 (struct _xsave_hdr): Likewise.
12245 (struct _ymmh_state): Likewise.
12246 (struct _xstate): Likewise.
12247
68e408ab
L
12248 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12249 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12250 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12251 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12252 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12253 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12254
f3d1f93c
L
12255 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12257 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12258 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12259 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12260 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12261
d9dc34cd
TMQMF
122622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12263
12264 [BZ #13743]
12265 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12266 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12267 (sysdep_headers): Include sys/platform/ppc.h.
12268 * sysdeps/powerpc/test-gettimebase.c: Test for
12269 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12270 * manual/Makefile (appendices): Include platform.texi.
12271 * manual/contrib.texi (Contributors): Update @node pointers.
12272 * manual/maint.texi (Maintenance): Likewise.
12273 (Platform): New node.
12274 * manual/platform.texi: New file. Document the new features.
12275
4af3879c
SP
122762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12277 Jakub Jelinek <jakub@redhat.com>
12278
12279 [BZ #14188]
12280 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12281 where __builtin_expect is unavailable.
12282
2fd6ff13
DM
122832012-06-03 David S. Miller <davem@davemloft.net>
12284
12285 * stdlib/longlong.h: Updated from GCC.
12286
173f7220
AS
122872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12288
12289 [BZ #14042]
12290 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12291 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12292 __mcount_internal.
12293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12294 (GLIBC_2.16): Likewise.
12295
f34a1c6f
L
122962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12297
12298 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12299
88a4576f
JM
123002012-06-01 Joseph Myers <joseph@codesourcery.com>
12301
ea32bcdd
JM
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12303 (default-abi): New variable.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12305 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12306 variable.
12307 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12308 Likewise.
12309 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12310 Likewise.
12311 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12312 Likewise.
12313
88a4576f
JM
12314 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12315 definition. Document in comment.
12316
402fe938
DM
123172012-06-01 David S. Miller <davem@davemloft.net>
12318
12319 * stdlib/longlong.h: Updated from GCC.
12320
3553723f
L
123212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12322
12323 [BZ #14117]
3bd872c4
L
12324 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12325 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12326 sys/debugreg.h sys/io.h here.
12327 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12328 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12329 sys/io.h.
12330 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12331 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12332 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12333 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12334 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12335 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12336
3553723f
L
12337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12338 Define only if __x86_64__ is defined.
12339
4842e4fe
JM
123402012-06-01 Joseph Myers <joseph@codesourcery.com>
12341
c5bfe3d5
JM
12342 [BZ #14048]
12343 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12344 Use int64_t for variable i.
12345 * math/libm-test.inc (fmod_test): Add more tests.
12346
4842e4fe
JM
12347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12348 z computation is not scheduled after fetestexcept.
12349 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12350 Use math_force_eval instead of asm to ensure calculation scheduled
12351 before exception test.
12352 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12353 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12354
efb73488
AJ
123552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12356
12357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12358 computation is not scheduled after fetestexcept.
12359
29bcce7c
L
123602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12361
12362 [BZ #14117]
12363 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12364 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12365
73a68f94
AZ
123662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12367
12368 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12369 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12370
67b6df78
L
123712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12372
edf2933a 12373 [BZ #14117]
ebc64a18
L
12374 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12375 <bits/wordsize.h>.
12376 (__WCHAR_MIN): Support __WORDSIZE == 64.
12377 (__WCHAR_MAX): Likewise.
12378
edf2933a
L
12379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12381
57c6cf40
L
12382 [BZ #14183]
12383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12384 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12385
67b6df78 12386 [BZ #14117]
8eb6281e
L
12387 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12388 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12389
aac639f4
L
12390 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12391 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12392
67b6df78
L
12393 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12394 Defined to 1 if __x86_64__ isn't defined.
12395 (_STAT_VER_LINUX_OLD): New.
12396 (st_atime): Remove duplicate.
12397 (st_mtime): Likewise.
12398 (st_ctime): Likewise.
12399
1c2cfe81
DM
124002012-05-31 David S. Miller <davem@davemloft.net>
12401
12402 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12403 entries.
12404
5be8418c
AS
124052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12406
e7725326
AS
12407 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12408 gen-libm-test.pl.
12409
5be8418c
AS
12410 [BZ #14132]
12411 * elf/dl-reloc.c: Include <_itoa.h>.
12412 (_dl_reloc_bad_type): Remove use of INTUSE.
12413 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12414 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12415 * stdio-common/psiginfo.c (psiginfo): Likewise.
12416 * stdio-common/psignal.c (psignal): Likewise.
12417 * string/strsignal.c (strsignal): Likewise.
12418 * include/signal.h (_sys_siglist): Declare hidden proto.
12419 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12420 INTVARDEF with libc_hidden_data_def.
12421 * stdio-common/itoa-udigits.c: Likewise.
12422 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12423 (_itoa_lower_digits_internal): Remove declaration.
12424 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12425 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12426 (_sys_sigabbrev_internal): Remove aliases.
12427 (_sys_siglist): Define hidden alias.
12428
507352f1
MT
124292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12430
12431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12432 bits/sysctl.h.
12433
42bbb1c3
L
124342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12435
12436 [BZ #14117]
6bd784b6
L
12437 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12438 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12439
8bca20f0
L
12440 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12441 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12442 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12443 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12444 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12445 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12446
f9e890a9
L
12447 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12448 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12449 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12450
471101a1
L
12451 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12452 with __addr.
12453 (insw): Likewise.
12454 (insl): Likewise.
12455 (outsb): Likewise.
12456 (outsw): Likewise.
12457 (outsl): Likewise.
12458
6451c862
L
12459 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12460 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12461 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12462
a254b8c9
L
12463 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12464 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12466 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12467 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12468 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12469
b8dfdd92
L
12470 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12471 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12472
578cd270
L
12473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12474 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12475
de662f5f
L
12476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12479
25653439
L
12480 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12481 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12482 to ...
12483 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12484
6bad24a0
L
12485 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12486 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12487 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12488
42bbb1c3
L
12489 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12490 for x86-64.
12491 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12492
2d10d547
JM
124932012-05-31 Joseph Myers <joseph@codesourcery.com>
12494
12495 * math/math.h (M_El): Use two more decimal places.
12496 (M_LOG2El): Likewise.
12497 (M_LOG10El): Likewise.
12498 (M_LN2l): Likewise.
12499 (M_LN10l): Likewise.
12500 (M_PIl): Likewise.
12501 (M_PI_2l): Likewise.
12502 (M_PI_4l): Likewise.
12503 (M_1_PIl): Likewise.
12504 (M_2_PIl): Likewise.
12505 (M_2_SQRTPIl): Likewise.
12506 (M_SQRT2l): Likewise.
12507 (M_SQRT1_2l): Likewise.
12508
f230c29b
DM
125092012-05-31 David S. Miller <davem@davemloft.net>
12510
12511 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12512 values between float registers.
12513 * sysdeps/sparc/sparc64/memset.S: Likewise.
12514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12515
fed806c3
MF
125162012-05-31 Mike Frysinger <vapier@gentoo.org>
12517
12518 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12519 -D_FORTIFY_SOURCE=1.
12520 (CPPFLAGS-tst-longjmp_chk.c): Define.
12521 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12522 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12523 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12524 CFLAGS-tst-wchar-h.c.
12525
30917259
MP
125262012-05-31 Marek Polacek <polacek@redhat.com>
12527
12528 [BZ #14132]
12529 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12530 __endmntent_internal): Remove declaration.
12531 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12532 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12533 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12534
1c58d5dc
DM
125352012-05-30 David S. Miller <davem@davemloft.net>
12536
12537 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12538 (___Q_simulate_exceptions): Use real FP ops rather than writing
12539 into the %fsr.
12540 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12541 Likewise.
12542
7dc00e0d
L
125432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12544
12545 [BZ #14117]
0bd53985
L
12546 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12547 * sysdeps/x86/bits/xtitypes.h: This.
12548
3a257e66
L
12549 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12550 * sysdeps/x86/bits/wordsize.h: This.
12551
62f62904
L
12552 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12553 * sysdeps/x86/bits/huge_vall.h: This.
12554
404fe9d9
L
12555 * sysdeps/i386/bits/select.h: Removed.
12556 * sysdeps/x86_64/bits/select.h: Renamed to ...
12557 * sysdeps/x86/bits/select.h: This.
12558
d48d0446
L
12559 * sysdeps/i386/bits/setjmp.h: Removed.
12560 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12561 * sysdeps/x86/bits/setjmp.h: This.
12562
7dc00e0d
L
12563 * sysdeps/i386/bits/mathdef.h: Removed.
12564 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12565 * sysdeps/x86/bits/mathdef.h: This.
12566
03277f8f
AS
125672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12568
12569 [BZ #14132]
12570 * include/sys/socket.h (__connect_internal)
12571 (__libc_sa_len_internal): Remove declaration.
12572 (__connect, __libc_sa_len): Declare hidden_proto.
12573 (SA_LEN): Remove use of INTUSE.
12574 * socket/connect.c: Add libc_hidden_def.
12575 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12576 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12577 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12578 alias.
12579 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12580 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12581 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12582 of adding _internal alias.
12583
13764867
L
125842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12585
12586 [BZ #14117]
6bd97696
L
12587 * sysdeps/i386/bits/link.h: Removed.
12588 * sysdeps/i386/bits/linkmap.h: Likewise.
12589 * sysdeps/x86_64/bits/link.h: Renamed to ...
12590 * sysdeps/x86/bits/link.h: This.
12591 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12592 * sysdeps/x86/bits/linkmap.h: This.
12593
f726f0bb
L
12594 * sysdeps/i386/bits/endian.h: Removed.
12595 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12596 * sysdeps/x86/bits/endian.h: This.
12597
13764867
L
12598 * sysdeps/i386/bits/byteswap.h: Removed.
12599 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12600 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12601 * sysdeps/x86/bits/byteswap.h: This.
12602 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12603 * sysdeps/x86/bits/byteswap-16.h: This.
12604 * sysdeps/i386/Implies: Add x86.
12605 * sysdeps/x86_64/Implies: Likewise.
12606
ae251b0b
DM
126072012-05-30 David S. Miller <davem@davemloft.net>
12608
12609 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12610 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12611 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12612 (FP_TRAPPING_EXCEPTIONS): Define.
12613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12614 (FP_TRAPPING_EXCEPTIONS): Define.
12615 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12616 subnormals only when inexact has been signalled or underflow
12617 exceptions are enabled.
12618 (_FP_PACK_CANONICAL): Likewise.
12619
d5c90867
L
126202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12621
12622 [BZ #14183]
12623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12624 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12625
63f1549e
RH
126262012-05-30 Richard Henderson <rth@twiddle.net>
12627
8d8f2279
RH
12628 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12629 with #ifndef NOT_IN_libc.
12630
63f1549e
RH
12631 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12632 marked to avoid plt entry.
12633
0ab0291b
L
126342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 [BZ #14112]
12637 * Makeconfig (default-abi): New macro.
12638 (abi-includes): Likewise.
12639 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12640 $(abi-$(default-abi)-lib-soname) for soname if defined.
12641 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12642 abi-variants.
12643 * Makefile (installed-stubs): Likewise.
12644 * include/stubs-biarch.h: Removed.
12645 * scripts/lib-names.awk: Only handle one library at a time.
12646 * scripts/soversions.awk: Remove WORDSIZE support.
12647 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12648 entries.
12649 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12650 Removed.
12651 (syscall-list-default-condition): Likewise.
12652 (syscall-list-default-condition): Likewise.
12653 (syscall-list-includes): Likewise.
12654 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12655 syscall-list-* with abi-*. Handle undefined abi-variants.
12656 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12657 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12658 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12659 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12660 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12661 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12662 Removed.
12663 (syscall-list-32-options): Likewise.
12664 (syscall-list-32-condition): Likewise.
12665 (syscall-list-64-options): Likewise.
12666 (syscall-list-64-condition): Likewise.
12667 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12668 macro.
12669 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12670 Renamed to ...
12671 (abi-*): This.
12672 (abi-64-ld-soname): New macro.
12673 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12674 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12675 Renamed to ...
12676 (abi-*): This.
12677 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12678 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12679
4da0431d
JM
126802012-05-30 Joseph Myers <joseph@codesourcery.com>
12681
3a85279c
JM
12682 * sysdeps/unix/sysv/linux/kernel-features.h
12683 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12684 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12685 include <kernel-features.h>.
12686 [!__NR_ftruncate64]: Remove conditional code.
12687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12688 [__NR_ftruncate64]: Make code unconditional.
12689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12690 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12691 include <kernel-features.h>.
12692 [!__NR_ftruncate64]: Remove conditional code.
12693 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12694 [__NR_ftruncate64]: Make code unconditional.
12695 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12697 include <kernel-features.h>.
12698 [!__NR_ftruncate64]: Remove conditional code.
12699 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12700 [__NR_ftruncate64]: Make code unconditional.
12701 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12703 include <kernel-features.h>.
12704 [!__NR_ftruncate64]: Remove conditional code.
12705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12706 [__NR_ftruncate64]: Make code unconditional.
12707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12708
4da0431d
JM
12709 * configure.in (libc_cv_fpie): Weaken to a compile test using
12710 LIBC_TRY_CC_OPTION.
12711 * configure: Regenerated.
12712
11ef492c
AK
127132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12714
12715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12719 Refreshed.
12720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12726 Refreshed.
12727
d66ef399
DM
127282012-05-27 David S. Miller <davem@davemloft.net>
12729
12730 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12731 (___Q_zero): New.
12732 (__Q_simulate_exceptions): Return void. Change to simulate
12733 exceptions by writing into the %fsr.
12734 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12735 (__Qp_handle_exceptions): Likewise.
12736 (numbers): Delete.
12737 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12738 __Qp_handle_exceptions.
12739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12740 __Qp_handle_exceptions.
12741 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12742 as unused and give dummy FP_RND_NEAREST initializer.
12743 (FP_INHIBIT_RESULTS): Define.
12744 (___Q_simulate_exceptions): Update declaration.
12745 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
12746 formatting.
12747 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12748 as unused and give dummy FP_RND_NEAREST initializer.
12749 (__Qp_handle_exceptions): Update declaration.
12750 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
12751 formatting.
12752
04fb54b5
TS
127532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
12754
12755 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
12756 the temporary FPU control word.
12757 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12758 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
12759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12760 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12762 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
12763 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12765 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12766 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
12767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12768
3f99608f
KK
127692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12770
12771 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
12772 fields.
12773
65a4de4e
CLT
127742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
12775
12776 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
12777 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
12778 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
12779 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
12780 Likewise.
12781 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
12782 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12783 Likewise.
12784
15749d40
UD
127852012-05-27 Ulrich Drepper <drepper@gmail.com>
12786
12787 * po/h.po: Update from translation team.
12788
25dbcb27
AS
127892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12790
3d3f8e55
AS
12791 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12792
25dbcb27
AS
12793 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12794 handling of denormals.
12795 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12796 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12797 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12798 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12802 Likewise.
12803
7ad47a80 128042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12805
12806 [BZ #14152]
12807 * math/libm-test.inc (fma_test): Don't always expect underflow
12808 exception.
12809
9c6ea9fa
SP
128102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12811
12812 [BZ #12416]
12813 * elf/tst-execstack.c: Include stackinfo.h.
12814 (do_test): Adjust test case to ensure that pthread_getattr_np
12815 behaviour remains the same after marking stack executable.
12816
a8239222
JM
128172012-05-25 Joseph Myers <joseph@codesourcery.com>
12818
12819 * sysdeps/unix/sysv/linux/kernel-features.h
12820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12821 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12822 kernel-features.h.
12823 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12824 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12825 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12826 kernel-features.h.
12827 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12828 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12829
918b5606
L
128302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12831
12832 * configure.in: Define the default includes to being none.
12833 * configure: Regenerated.
12834
3a097cc7
RM
128352012-05-25 Roland McGrath <roland@hack.frob.com>
12836
8422c9a5
RM
12837 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12838 * sysdeps/x86_64/setjmp.S: Likewise.
12839 * sysdeps/i386/bsd-setjmp.S: Likewise.
12840 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12841 * sysdeps/i386/setjmp.S: Likewise.
12842 * sysdeps/i386/__longjmp.S: Likewise.
12843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12844 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12845
3a097cc7
RM
12846 * include/stap-probe.h: New file.
12847 * configure.in: Handle --enable-systemtap.
12848 * configure: Regenerated.
12849 * config.h.in (USE_STAP_PROBE): New #undef.
12850 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12851 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12852 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12853
21708942
JM
128542012-05-25 Joseph Myers <joseph@codesourcery.com>
12855
12856 [BZ #13717]
12857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12858 to 2.4.0 where earlier.
12859 * sysdeps/unix/sysv/linux/configure: Regenerated.
12860 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12861 <kernel-features.h>.
12862 [__ASSUME_32BITUIDS]: Make code unconditional.
12863 [!__ASSUME_32BITUIDS]: Remove conditional code.
12864 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
12865 <kernel-features.h>.
12866 [__ASSUME_32BITUIDS]: Make code unconditional.
12867 [!__ASSUME_32BITUIDS]: Remove conditional code.
12868 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
12869 [__ASSUME_32BITUIDS]: Make code unconditional.
12870 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12871 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12872 <kernel-features.h>.
12873 [__ASSUME_32BITUIDS]: Make code unconditional.
12874 [!__ASSUME_32BITUIDS]: Remove conditional code.
12875 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12876 <kernel-features.h>.
12877 [__ASSUME_32BITUIDS]: Make code unconditional.
12878 [!__ASSUME_32BITUIDS]: Remove conditional code.
12879 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12880 <kernel-features.h>.
12881 [__ASSUME_32BITUIDS]: Make code unconditional.
12882 [!__ASSUME_32BITUIDS]: Remove conditional code.
12883 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12884 <kernel-features.h>.
12885 [__ASSUME_32BITUIDS]: Make code unconditional.
12886 [!__ASSUME_32BITUIDS]: Remove conditional code.
12887 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12888 <kernel-features.h>.
12889 [__ASSUME_32BITUIDS]: Make code unconditional.
12890 [!__ASSUME_32BITUIDS]: Remove conditional code.
12891 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12892 <kernel-features.h>.
12893 [__ASSUME_32BITUIDS]: Make code unconditional.
12894 [!__ASSUME_32BITUIDS]: Remove conditional code.
12895 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12896 <kernel-features.h>.
12897 [__ASSUME_32BITUIDS]: Make code unconditional.
12898 [!__ASSUME_32BITUIDS]: Remove conditional code.
12899 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12900 <kernel-features.h>.
12901 [__ASSUME_32BITUIDS]: Make code unconditional.
12902 [!__ASSUME_32BITUIDS]: Remove conditional code.
12903 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12904 <kernel-features.h>.
12905 [__ASSUME_32BITUIDS]: Make code unconditional.
12906 [!__ASSUME_32BITUIDS]: Remove conditional code.
12907 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12908 <kernel-features.h>.
12909 [__ASSUME_32BITUIDS]: Make code unconditional.
12910 [!__ASSUME_32BITUIDS]: Remove conditional code.
12911 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12912 <kernel-features.h>.
12913 [__NR_setresgid] (__setresgid): Do not declare.
12914 [__ASSUME_32BITUIDS]: Make code unconditional.
12915 [!__ASSUME_32BITUIDS]: Remove conditional code.
12916 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12917 <kernel-features.h>.
12918 [__NR_setresuid] (__setresuid): Do not declare.
12919 [__ASSUME_32BITUIDS]: Make code unconditional.
12920 [!__ASSUME_32BITUIDS]: Remove conditional code.
12921 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12922 <kernel-features.h>.
12923 [__ASSUME_32BITUIDS]: Make code unconditional.
12924 [!__ASSUME_32BITUIDS]: Remove conditional code.
12925 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12926 <kernel-features.h>.
12927 [__ASSUME_32BITUIDS]: Make code unconditional.
12928 [!__ASSUME_32BITUIDS]: Remove conditional code.
12929 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12930 <kernel-features.h>.
12931 [__ASSUME_32BITUIDS]: Make code unconditional.
12932 [!__ASSUME_32BITUIDS]: Remove conditional code.
12933 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12934 <kernel-features.h>.
12935 [__ASSUME_32BITUIDS]: Make code unconditional.
12936 [!__ASSUME_32BITUIDS]: Remove conditional code.
12937 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12938 <kernel-features.h>.
12939 [__ASSUME_32BITUIDS]: Make code unconditional.
12940 [!__ASSUME_32BITUIDS]: Remove conditional code.
12941 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12942 <kernel-features.h>.
12943 [__ASSUME_32BITUIDS]: Make code unconditional.
12944 [!__ASSUME_32BITUIDS]: Remove conditional code.
12945 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12946 <kernel-features.h>.
12947 [__ASSUME_32BITUIDS]: Make code unconditional.
12948 [!__ASSUME_32BITUIDS]: Remove conditional code.
12949 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12950 <kernel-features.h>.
12951 [__ASSUME_32BITUIDS]: Make code unconditional.
12952 [!__ASSUME_32BITUIDS]: Remove conditional code.
12953 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12954 <kernel-features.h>.
12955 [__ASSUME_32BITUIDS]: Make code unconditional.
12956 [!__ASSUME_32BITUIDS]: Remove conditional code.
12957 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12958 <kernel-features.h>.
12959 [__ASSUME_32BITUIDS]: Make code unconditional.
12960 [!__ASSUME_32BITUIDS]: Remove conditional code.
12961 * sysdeps/unix/sysv/linux/kernel-features.h
12962 (__ASSUME_SETRESUID_SYSCALL): Remove.
12963 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12964 (__ASSUME_32BITUIDS): Likewise.
12965 (__ASSUME_LDT_WORKS): Likewise.
12966 (__ASSUME_O_DIRECTORY): Likewise.
12967 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12968 architecture but not kernel version.
12969 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12970 (__ASSUME_MMAP2_SYSCALL): Likewise.
12971 (__ASSUME_STAT64_SYSCALL): Likewise.
12972 (__ASSUME_IPC64): Likewise.
12973 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12974 <kernel-features.h>.
12975 [__ASSUME_32BITUIDS]: Make code unconditional.
12976 [!__ASSUME_32BITUIDS]: Remove conditional code.
12977 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12978 <kernel-features.h>.
12979 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12980 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12981 132096]: Remove conditional code.
12982 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12984 <kernel-features.h>.
12985 [__ASSUME_32BITUIDS]: Make code unconditional.
12986 [!__ASSUME_32BITUIDS]: Remove conditional code.
12987 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12988 <kernel-features.h>.
12989 [__ASSUME_32BITUIDS]: Make code unconditional.
12990 [!__ASSUME_32BITUIDS]: Remove conditional code.
12991 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12992 <kernel-features.h>.
12993 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12994 unconditional.
12995 (__setresgid): Do not declare.
12996 [__ASSUME_32BITUIDS]: Make code unconditional.
12997 [!__ASSUME_32BITUIDS]: Remove conditional code.
12998 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12999 <kernel-features.h>.
13000 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13001 unconditional.
13002 (__setresuid): Do not declare.
13003 [__ASSUME_32BITUIDS]: Make code unconditional.
13004 [!__ASSUME_32BITUIDS]: Remove conditional code.
13005 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13006 <kernel-features.h>.
13007 [__ASSUME_32BITUIDS]: Make code unconditional.
13008 [!__ASSUME_32BITUIDS]: Remove conditional code.
13009 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13010 <kernel-features.h>.
13011 [__ASSUME_32BITUIDS]: Make code unconditional.
13012 [!__ASSUME_32BITUIDS]: Remove conditional code.
13013
a386f1cc
RH
130142012-05-25 Richard Henderson <rth@twiddle.net>
13015
13016 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13017 dl_hwcap to ifunc resolver.
13018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13019 elf_ifunc_invoke.
13020 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13021 dl_hwcap to ifunc resolver.
13022 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13023
b6550497
JM
130242012-05-24 Joseph Myers <joseph@codesourcery.com>
13025
13026 [BZ #14153]
13027 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13028 for |x| <= 2**-26, not 2**-57.
13029 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13030 exception.
13031
b0bc23a1
JL
130322012-05-24 Jeff Law <law@redhat.com>
13033
13034 * stdio-common/Makefile (tests): Add bug25.
13035 * stdio-common/bug25.c: New test.
13036
347c92e9
L
130372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13038
13039 [BZ #13576]
13040 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13041 multiple of MALLOC_ALIGNMENT in size.
13042 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13043
6bcc8b3f
JM
130442012-05-24 Joseph Myers <joseph@codesourcery.com>
13045
13046 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13047 Require >= 256.
13048 (FILENAME_MAX): Use macro-int-constant.
13049 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13050 (_IOFBF): Use macro-int-constant.
13051 (_IOLBF): Likewise.
13052 (_IONBF): Likewise.
13053 (SEEK_CUR): Likewise.
13054 (SEEK_END): Likewise.
13055 (SEEK_SET): Likewise.
13056 (TMP_MAX): Likewise.
13057 (EOF): Use macro-int-constant. Require < 0.
13058 (NULL): Use macro-constant. Require == 0.
13059 (stdin): Require type to be FILE *.
13060 (stdout): Likewise.
13061 (stderr): Likewise.
13062 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13063 macro-int-constant.
13064 (EXIT_SUCCESS): Likewise.
13065 (NULL): Use macro-constant. Require == 0.
13066 (RAND_MAX): Use macro-int-constant.
13067 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13068 [C99-based standards] (strtof): Require function.
13069 [C99-based standards] (strtold): Likewise.
13070 [C99-based standards] (strtoll): Likewise.
13071 [C99-based standards] (strtoull): Likewise.
13072 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13073 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13074 [ISO || ISO99 || ISO11] (math.h): Likewise.
13075 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13076 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13078
d18ea0c5
AS
130792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13080
13081 [BZ #14132]
56d25bb8
AS
13082 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13083 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13084 * intl/dgettext.c (DCGETTEXT): Likewise.
13085 * intl/gettext.c (DCGETTEXT): Likewise.
13086 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13087 * posix/regex_internal.h (gettext): Likewise.
13088 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13089 Remove declaration.
13090 * include/argz.h (__argz_count_internal)
13091 (__argz_stringify_internal): Remove declaration.
13092 (__argz_count, __argz_stringify): Declare hidden proto.
13093 * intl/dcgettext.c: Remove use of INTDEF.
13094 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13095 * string/argz-stringify.c: Likewise.
13096 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13097 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13098 Declare hidden proto.
d18ea0c5
AS
13099 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13100 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13101 Declare hidden proto.
13102 * include/stdio.h (__asprintf_internal): Don't declare.
13103 (__asprintf): Don't define as macro. Declare hidden proto.
13104 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13105 (__fsetlocking): Declare hidden proto.
13106 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13107 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13108 hidden proto.
13109 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13110 (_IO_setlinebuf): Remove use of INTUSE.
13111 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13112 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13113 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13114 Remove declaration.
13115 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13116 (_IO_do_flush): Remove use of INTUSE.
13117 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13118 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13119 (_IO_adjust_column, _IO_least_wmarker)
13120 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13121 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13122 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13123 (_IO_default_doallocate, _IO_wdefault_doallocate)
13124 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13125 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13126 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13127 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13128 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13129 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13130 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13131 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13132 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13133 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13134 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13135 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13136 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13137 proto.
13138 (_IO_flush_all_internal, _IO_adjust_column_internal)
13139 (_IO_default_uflow_internal, _IO_default_finish_internal)
13140 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13141 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13142 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13143 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13144 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13145 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13146 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13147 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13148 (_IO_file_close_internal, _IO_file_close_it_internal)
13149 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13150 (_IO_file_init_internal, _IO_file_attach_internal)
13151 (_IO_file_fopen_internal, _IO_file_read_internal)
13152 (_IO_file_sync_internal, _IO_file_seek_internal)
13153 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13154 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13155 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13156 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13157 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13158 (_IO_list_all_internal, _IO_link_in_internal)
13159 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13160 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13161 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13162 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13163 (_IO_do_write_internal, _IO_padn_internal)
13164 (_IO_getline_info_internal, _IO_getline_internal)
13165 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13166 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13167 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13168 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13169 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13170 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13171 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13172 with libc_hidden_ver, remove use of INTUSE.
13173 * libio/genops.c: Likewise.
13174 * libio/freopen.c: Likewise.
13175 * libio/freopen64.c: Likewise.
13176 * libio/iofclose.c: Likewise.
13177 * libio/iofdopen.c: Likewise.
13178 * libio/iofflush.c: Likewise.
13179 * libio/iofflush_u.c: Likewise.
13180 * libio/iofgets.c: Likewise.
13181 * libio/iofgets_u.c: Likewise.
13182 * libio/iofopen.c: Likewise.
13183 * libio/iofopncook.c: Likewise.
13184 * libio/iofread.c: Likewise.
13185 * libio/iofread_u.c: Likewise.
13186 * libio/ioftell.c: Likewise.
13187 * libio/iofwrite.c: Likewise.
13188 * libio/iogetline.c: Likewise.
13189 * libio/iogets.c: Likewise.
13190 * libio/iogetwline.c: Likewise.
13191 * libio/iopadn.c: Likewise.
13192 * libio/iopopen.c: Likewise.
13193 * libio/ioseekoff.c: Likewise.
13194 * libio/ioseekpos.c: Likewise.
13195 * libio/iosetbuffer.c: Likewise.
13196 * libio/iosetvbuf.c: Likewise.
13197 * libio/ioungetc.c: Likewise.
13198 * libio/ioungetwc.c: Likewise.
13199 * libio/iovdprintf.c: Likewise.
13200 * libio/iovsprintf.c: Likewise.
13201 * libio/iovsscanf.c: Likewise.
13202 * libio/memstream.c: Likewise.
13203 * libio/obprintf.c: Likewise.
13204 * libio/oldfileops.c: Likewise.
13205 * libio/oldiofclose.c: Likewise.
13206 * libio/oldiofdopen.c: Likewise.
13207 * libio/oldiofopen.c: Likewise.
13208 * libio/oldiopopen.c: Likewise.
13209 * libio/oldstdfiles.c: Likewise.
13210 * libio/putc.c: Likewise.
13211 * libio/setbuf.c: Likewise.
13212 * libio/setlinebuf.c: Likewise.
13213 * libio/stdfiles.c: Likewise.
13214 * libio/strops.c: Likewise.
13215 * libio/vasprintf.c: Likewise.
13216 * libio/vscanf.c: Likewise.
13217 * libio/vsnprintf.c: Likewise.
13218 * libio/vswprintf.c: Likewise.
13219 * libio/wfiledoalloc.c: Likewise.
13220 * libio/wfileops.c: Likewise.
13221 * libio/wgenops.c: Likewise.
13222 * libio/wmemstream.c: Likewise.
13223 * libio/wstrops.c: Likewise.
13224 * libio/__fpurge.c: Likewise.
13225 * libio/__fsetlocking.c: Likewise.
13226 * assert/assert.c: Likewise.
13227 * debug/fgets_chk.c: Likewise.
13228 * debug/fgets_u_chk.c: Likewise.
13229 * debug/fread_chk.c: Likewise.
13230 * debug/fread_u_chk.c: Likewise.
13231 * debug/gets_chk.c: Likewise.
13232 * debug/obprintf_chk.c: Likewise.
13233 * debug/vasprintf_chk.c: Likewise.
13234 * debug/vdprintf_chk.c: Likewise.
13235 * debug/vsnprintf_chk.c: Likewise.
13236 * debug/vsprintf_chk.c: Likewise.
13237 * malloc/mtrace.c: Likewise.
13238 * misc/error.c: Likewise.
13239 * misc/syslog.c: Likewise.
13240 * stdio-common/asprintf.c: Likewise.
13241 * stdio-common/fxprintf.c: Likewise.
13242 * stdio-common/getw.c: Likewise.
13243 * stdio-common/isoc99_fscanf.c: Likewise.
13244 * stdio-common/isoc99_scanf.c: Likewise.
13245 * stdio-common/isoc99_vfscanf.c: Likewise.
13246 * stdio-common/isoc99_vscanf.c: Likewise.
13247 * stdio-common/isoc99_vsscanf.c: Likewise.
13248 * stdio-common/printf-prs.c: Likewise.
13249 * stdio-common/printf_fp.c: Likewise.
13250 * stdio-common/printf_fphex.c: Likewise.
13251 * stdio-common/printf_size.c: Likewise.
13252 * stdio-common/putw.c: Likewise.
13253 * stdio-common/scanf.c: Likewise.
13254 * stdio-common/sprintf.c: Likewise.
13255 * stdio-common/tmpfile.c: Likewise.
13256 * stdio-common/vfprintf.c: Likewise.
13257 * stdio-common/vfscanf.c: Likewise.
13258 * stdlib/strfmon_l.c: Likewise.
13259 * sunrpc/openchild.c: Likewise.
13260 * sunrpc/xdr_stdio.c: Likewise.
13261 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13262 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13263
d6c33fda
RM
132642012-05-24 Roland McGrath <roland@hack.frob.com>
13265
c1487492
RM
13266 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13267
13268 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13269 in the third column, to generate for the shared library an IFUNC
13270 that uses _dl_vdso_vsym.
13271 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13272 * Makeconfig (object-suffixes-noshared): New variable.
13273
13274 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13275 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13276 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13277 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13278
d6c33fda
RM
13279 [BZ #14132]
13280 * include/sys/time.h (__gettimeofday): Remove macro.
13281 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13282 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13283 Remove INTDEF.
13284 (__gettimeofday): Add libc_hidden_def.
13285 (gettimeofday): Add libc_hidden_weak.
13286 * sysdeps/mach/gettimeofday.c: Likewise.
13287 * sysdeps/posix/gettimeofday.c: Likewise.
13288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13289 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13291 (__gettimeofday_internal): Remove strong_alias.
13292 (__gettimeofday): Add libc_hidden_def.
13293 (gettimeofday): Add libc_hidden_weak.
13294 * sysdeps/unix/syscalls.list (gettimeofday):
13295 Remove __gettimeofday_internal alias.
13296
b5a2bbe6
L
132972012-05-24 Daniel Jacobowitz <drow@false.org>
13298 H.J. Lu <hongjiu.lu@intel.com>
13299
13300 [BZ #12495]
13301 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13302 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13303 (largebin_index_32_big): New.
13304 (largebin_index): Use it for 16-byte alignment.
13305 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13306 correction with front_misalign.
13307
cfba4fda
L
133082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13309
7f907421
L
13310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13312 Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13314 Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13316 Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13318 Likewise.
13319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13320 Likewise.
13321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13322 Likewise.
13323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13324 Likewise.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13326 Likewise.
13327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13328 Likewise.
13329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13330 Likewise.
13331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13332 Likewise.
13333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13334 Likewise.
13335
cfba4fda
L
13336 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13337 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13338
80bad0cc
JM
133392012-05-24 Joseph Myers <joseph@codesourcery.com>
13340
7a25eb06
JM
13341 [BZ #10846]
13342 [BZ #14036]
13343 * math/libm-test.inc (exp_test): Add test from bug 14036.
13344 (pow_test): Add test from bug 10846.
13345
795405f9
JM
13346 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13347 and other flags.
13348 (special_function): Do not include flags in test name.
13349 (parse_args): Likewise.
13350 * sysdeps/i386/fpu/libm-test-ulps: Update.
13351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13352 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13353 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13355
80bad0cc
JM
13356 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13357 exceptions.
13358 * math/libm-test.inc ("Philosophy"): Update comment about
13359 exception testing.
13360 (UNDERFLOW_EXCEPTION): New macro.
13361 (UNDERFLOW_EXCEPTION_OK): Likewise.
13362 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13363 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13364 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13365 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13366 (INVALID_EXCEPTION_OK): Update value.
13367 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13368 (OVERFLOW_EXCEPTION_OK): Likewise.
13369 (IGNORE_ZERO_INF_SIGN): Likewise.
13370 (test_exceptions): Handle underflow exceptions.
13371 (acos_test): Update for underflow exception expectations.
13372 (cexp_test): Likewise.
13373 (clog_test): Likewise.
13374 (clog10_test): Likewise.
13375 (csqrt_test): Likewise.
13376 (ctan_test): Likewise.
13377 (ctanh_test): Likewise.
13378 (exp_test): Likewise.
13379 (exp10_test): Likewise.
13380 (exp2_test): Likewise.
13381 (expm1_test): Likewise.
13382 (fma_test): Likewise.
13383 (j0_test): Likewise.
13384 (jn_test): Likewise.
13385 (nexttoward_test): Likewise.
13386 (pow_test): Likewise.
13387 (scalbn_test): Likewise.
13388 (scalbln_test): Likewise.
13389 (tan_test): Likewise.
13390 (y1_test): Likewise.
13391 * sysdeps/i386/fpu/libm-test-ulps: Update.
13392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13393
9e0e3d0b
DM
133942012-05-23 David S. Miller <davem@davemloft.net>
13395
13396 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13397 (__libc_sigaction): Remove unused local variables.
13398
ccd0a08f
L
133992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13400
13401 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13402
62bdf9a6
PE
134032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13404
f8591f80
PE
13405 mktime: avoid signed integer overflow
13406 * time/mktime.c (__mktime_internal): Do not mishandle the case
13407 where diff == INT_MIN.
13408
94c7d826
PE
13409 mktime: simplify computation of average
13410 * time/mktime.c (ranged_convert): Use new time_t_avg function
13411 instead of rolling our own (probably-slower) code.
13412
ce73d683
PE
13413 mktime: do not assume signed right shift propagates sign bit
13414 * time/mktime.c (isdst_differ): New static function.
13415 (__mktime_internal): No need to normalize tm_isdst now.
13416 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13417 tm_isdst values.
13418
72a22e59
PE
13419 mktime: merge another wrapv change from gnulib
13420 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13421 from some compilers.
13422
68605433
PE
13423 mktime: remove incorrect attempt at unusual arithmetics
13424 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13425 The code didn't really work on such machines anyway.
13426 (TYPE_MINIMUM): Assume two's complement.
13427 (twos_complement_arithmetic): Verify that long_int and time_t
13428 are two's complement (or unsigned, in the latter case).
13429
03cf7fe3
PE
13430 mktime: check signed shifts on long_int and time_t, too
13431 * time/mktime.c (SHR): Check that shifts work as desired
13432 on the types long_int and time_t too, as SHR is used on
13433 such types.
13434
f04dfbc2
PE
13435 mktime: do not assume 'long' is wide enough
13436 * time/mktime.c (verify): Move decl up.
13437 (long_int): New type.
13438 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13439 to remove assumption in the code that 'long' is wide enough to
13440 store year values. This assumption is not true on x32 and on
13441 some non-glibc platforms.
13442
62bdf9a6
PE
13443 mktime: merge wrapv change from gnulib
13444 * time/mktime.c (WRAPV): New macro.
13445 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13446 (guess_time_tm, __mktime_internal): Do not assume that signed
13447 integer overflow wraps around; modern compilers generate code
13448 where this assumption is no longer valid.
13449
5e292e4f
L
134502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13451
13452 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13453 Replace "jmp L(pseudo_end)" with "ret".
13454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13455 Likewise.
13456
8caf8c87
AJ
134572012-05-23 Andreas Jaeger <aj@suse.de>
13458
13459 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13460 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13461
1a09dc56
AJ
134622012-05-23 Andreas Jaeger <aj@suse.de>
13463 Maximilian Attems <max@stro.at>
13464
13465 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13466 New macros.
13467
1c87aba0
L
134682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13469
13470 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13471 code so that pseudo_end is just ret and the stack pointer is
13472 correct also for static library in error case.
13473
40e45bd5
JM
134742012-05-23 Joseph Myers <joseph@codesourcery.com>
13475
c2670533
JM
13476 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13477 move to syscalls.list.
13478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13482
40e45bd5
JM
13483 * manual/install.texi (Running make install): Do not mention Linux
13484 kernel version for which pt_chown is not needed.
13485 (Linux): Do not mention problems with nscd with 2.0 kernels.
13486 * INSTALL: Regenerated.
13487
be08eda5
AJ
134882012-05-23 Andreas Jaeger <aj@suse.de>
13489
13490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13491 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13492 macro.
13493 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13495 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13497 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13500 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13503 * sysdeps/unix/sysv/linux/bits/in.h
13504 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13505
a6a056bb
RM
135062012-05-22 Roland McGrath <roland@hack.frob.com>
13507
13508 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13509 (PREPARE_VERSION): Just use assert instead, it will be elided
13510 under [NDEBUG] anyway.
13511
c9009328
L
135122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 * sysdeps/unix/sysv/linux/Makefile: Include
13515 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13516 (sysdep_routines): Remove sysctl.
c9009328
L
13517 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13518 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13519 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13520 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13521 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13522
73338355
AJ
135232012-05-22 Andreas Jaeger <aj@suse.de>
13524
13525 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13526 that pseudo_end is just ret and the stack pointer is correct also
13527 for static library in error case.
13528
d44638b0
PP
135292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13530
13531 [BZ #14122]
13532 * nss/nsswitch.c (defconfig_entries): New variable.
13533 (__nss_database_lookup): Don't leak defconfig entries.
13534 (nss_parse_service_list): Don't leak on error paths.
13535 (free_database_entries): New function.
13536 (free_defconfig): New function.
13537 (free_mem): Move common code to free_database_entries.
13538
31a39bd8
L
135392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13540
da0331a8
L
13541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13542 Add arch_prctl.
13543 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13544
31a39bd8
L
13545 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13546 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13548 New macro.
13549 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13550 (INTERNAL_SYSCALL_TYPES): Likewise.
13551 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13552 (LOAD_REGS_TYPES_[1-6]): Likewise.
13553 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13554 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13555
45470df3
AZ
135562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13557
13558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13559 copysignl for GLIBC_2_0.
13560 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13561 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13563 logbl for GLIBC_2_0.
13564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13565 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13566
98a61bcb
L
135672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13568
a4f6e481
L
13569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13571
f63d5db6
L
13572 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13573 Use "neg %eax".
13574
98a61bcb
L
13575 * time/mktime.c: Update copyright years.
13576
95770f14
PE
135772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13578
6226efbd
PE
13579 mktime: merge comment-quoting-style change from gnulib
13580 * time/mktime.c: Quote 'like this' in comments.
13581 The GNU coding standards suggest that we no longer quote `like this',
13582 as "`" and "'" are typically rendered asymmetrically nowadays.
13583 The typical gnulib style is to quote 'like this' when quoting
13584 code, and "like this" when quoting English.
13585
b99e4f78
PE
13586 * time/mktime.c (compile-command): Add "-I.".
13587
643e01e6
PE
13588 mktime: merge mktime-internal.h change from gnulib
13589 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13590
2554247d
PE
13591 mktime: merge time_r change from gnulib
13592 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13593
826dd0ab
PE
13594 mktime: merge DEBUG change from gnulib
13595 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13596 case system <time.h> has a #define.
13597
bd83aabe
PE
13598 mktime: merge <sys/types.h> change from gnulib
13599 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13600 since <time.t> is now guaranteed to define time_t.
13601
95770f14
PE
13602 mktime: merge HAVE_CONFIG_H change from gnulib
13603 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13604
5e1a27a9
L
136052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13606
0e44a77e
L
13607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13608 Use "neg %eax".
13609
5e1a27a9
L
13610 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13611 __rlim_t cast.
13612 (struct rusage): Use anonymous union to pad each field to
13613 __syscall_slong_t.
13614
46259bec
DM
136152012-05-21 David S. Miller <davem@davemloft.net>
13616
13617 * Makefules (o-iterator): Remove .s cases.
13618 (compile-command.s): Delete.
13619 (COMPILE.s): Delete.
13620 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13621
59f0c22e
JM
136222012-05-21 Joseph Myers <joseph@codesourcery.com>
13623
13624 * configure.in (libc_cv_predef_stack_protector): Only consider
13625 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13626 * configure: Regenerated.
13627
20c07380
L
136282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13629
bbb3154b
L
13630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13631 New macro. Use R*LP on int and pointer.
13632 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13633 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13634 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13635 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13636
20c07380
L
13637 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13638 [__WORDSIZE_TIME64_COMPAT32] instead of
13639 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13640 (struct utmp): Likewise.
13641 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13642 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13643 Renamed to ...
13644 (__WORDSIZE_TIME64_COMPAT32): This.
13645 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13646 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13647 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13648 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13649 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13650 (__WORDSIZE_TIME64_COMPAT32): New macro.
13651
d8d1017e
AJ
136522012-05-21 Andreas Jaeger <aj@suse.de>
13653
13654 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13655 only if [SHARED]. Add prototype for __wcschr_ia32.
13656
6c7fb145
RM
136572012-05-21 Roland McGrath <roland@hack.frob.com>
13658
13659 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13660 of %rbp unmolested in the jmp_buf while mangling the low bits.
13661 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13662 unmolested high bits of %rbp while demangling the low bits.
13663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13664
66274218
AJ
136652012-05-21 Andreas Jaeger <aj@suse.de>
13666
07c58f8f
AJ
13667 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13668 * sunrpc/svc_simple.c: Use it for registerrpc.
13669 * sunrpc/xcrypt.c: Use it for passwd2des.
13670
66274218
AJ
13671 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13672
61f65140
L
136732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13674
13675 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13676 Don't define if [__SYSCALL_WORDSIZE != 32].
13677 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13678 New macro.
13679
5fefb436
AJ
136802012-05-21 Bruno Haible <bruno@clisp.org>
13681 Andreas Jaeger <aj@suse.de>
13682
13683 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13684 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13685 inptr and inend for must_buffer_ch.
13686 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13687 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13688 * stdio-common/Makefile (tests): Remove bug15.
13689 (bug15-ENV): Remove macro.
13690 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13691 anymore.
13692
d8e272ab
AJ
136932012-05-19 Andreas Jaeger <aj@suse.de>
13694 Roland McGrath <roland@hack.frob.com>
13695
13696 * manual/contrib.texi: Completely rewritten. It contains now an
13697 alphabetical list of contributors and their contributions.
13698
4a56a162
RH
136992012-05-21 Richard Henderson <rth@twiddle.net>
13700
13701 * misc/getauxval.c (__getauxval): Use unsigned long int.
13702 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13703 (getauxval): Use unsigned long int.
13704
d024d23c
L
137052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13706
13707 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13708
cbc00a03
RM
137092012-05-21 Roland McGrath <roland@hack.frob.com>
13710
13711 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13712 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13713 __alignof__ (long double).
13714
478143fa
AZ
137152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13716
13717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13718
c7683a6d
RH
137192012-05-20 Richard Henderson <rth@twiddle.net>
13720
13721 * misc/getauxval.c: New file.
13722 * misc/sys/auxv.h: New file.
13723 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13724 (routines): Add getauxval.
13725 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13726 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13727 * elf/dl-sysdep.c (_dl_auxv): Remove.
13728 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13729 * elf/dl-support.c (_dl_auxv): New variable.
13730 (_dl_aux_init): Initialize it.
13731 * manual/startup.texi (Auxiliary Vector): New node.
13732 * sysdeps/generic/bits/hwcap.h: New file.
13733 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13734 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13735 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13736 * sysdeps/sparc/sysdep.h: ... here. Include it.
13737 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13740 Update.
c7683a6d
RH
13741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
13743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
13744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
13745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
13747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
13748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
13749
a6f1845d
AZ
137502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13751
13752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13753
cbcbe830
DM
137542012-05-19 David S. Miller <davem@davemloft.net>
13755
13756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13757
e0b16cc2
JM
137582012-05-19 Joseph Myers <joseph@codesourcery.com>
13759
13760 [BZ #14123]
13761 * math/s_ccosh.c: Include <float.h>
13762 (__ccosh): Avoid internal overflow calculating sinh and cosh
13763 values before multiplying by sin and cos values.
13764 * math/s_ccoshf.c: Likewise.
13765 * math/s_ccoshl.c: Likewise.
13766 * math/s_csin.c: Likewise.
13767 * math/s_csinf.c: Likewise.
13768 * math/s_csinl.c: Likewise.
13769 * math/s_csinh.c: Likewise.
13770 * math/s_csinhf.c: Likewise.
13771 * math/s_csinhl.c: Likewise.
13772 * math/libm-test.inc (ccos_test): Add more tests.
13773 (ccosh_test): Likewise.
13774 (csin_test): Likewise.
13775 (csinh_test): Likewise.
13776 * sysdeps/i386/fpu/libm-test-ulps: Update.
13777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13778
6ad13e08
L
137792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
13780
f66f0ce8
L
13781 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
13782 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13783
6ad13e08
L
13784 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13785
b1d072a7
JM
137862012-05-19 Joseph Myers <joseph@codesourcery.com>
13787
13788 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13789 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13790 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13791 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13792 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13793 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13794 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13795 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13796 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13797 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13798 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13799 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13800 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13801 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13802 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13803 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13804 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13805 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13806 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13807 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13808 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13809 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13810 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13811 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13812 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13813 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13814 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13815 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13816 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13817 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13818 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13819
9eae47cb
AJ
138202012-05-18 Andreas Jaeger <aj@suse.de>
13821
13822 * csu/.gitignore: Delete.
13823
bb07f69f
L
138242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13825
13826 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13827 (timex): Use __syscall_slong_t.
13828
e6bdb741
AJ
138292012-05-18 Andreas Jaeger <aj@suse.de>
13830 Carlos O'Donell <carlos_odonell@mentor.com>
13831
13832 * manual/install.texi (Configuring and compiling): Update
13833 description about files modified in the source directory.
d6c33fda 13834 * INSTALL: Regenerated.
e6bdb741 13835
1b74487e
L
138362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13837
13838 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13839 value. Use "or" to set return value to -1.
13840 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13841 negate return value.
13842
a88b64b9
TMQMF
138432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13844
13845 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13846 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13847 failure if the compiler has Graphite support disabled.
13848 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13849 Likewise.
13850 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13851 CFLAGS-memmove.c): Likewise.
13852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13853 Likewise.
13854
3707636e
L
138552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13856
610b8622
L
13857 * sysdeps/x86_64/x32/_itoa.h: New file.
13858
7cd195df
L
13859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13860 getdents system call only if kernel and user dirents have the
13861 same d_ino and d_off.
13862
94b07d20
L
13863 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13864 LLONG_MAX != LONG_MAX.
13865 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13866 (_fitoa_word): Likewise.
13867
18298070
L
13868 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13869 years.
13870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13871 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13872 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13873
553c7ea4
L
13874 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13875 include <bits/wordsize.h>. Check __x86_64__ instead of
13876 __WORDSIZE.
13877 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13878 if __x86_64__ is defined. Use anonymous union on fpstate.
13879
3707636e
L
13880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13881 anonymous union.
13882
b53ef01a
AS
138832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13884
37fb1dc0
AS
13885 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13886 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13887 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13888 Refer to _rtld_local_ro instead of _rtld_global_ro.
13889 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13890 Likewise.
13891 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13892 Likewise.
13893 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13894 Likewise.
13895 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13896 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13897 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13898
b53ef01a
AS
13899 * sysdeps/powerpc/powerpc32/dl-machine.c
13900 (__elf_machine_runtime_setup) [PROF]: Don't reference
13901 _dl_prof_resolve.
13902
7a185db2
AJ
139032012-05-18 Andreas Jaeger <aj@suse.de>
13904
13905 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13906 function only available for GCCs before 3.4 since GCC 3.4
13907 introduced a builtin.
13908 (lrint): Likewise.
13909 (llrintf): Likewise.
13910 (llrint): Likewise.
13911 (fmaxf): Likewise.
13912 (fmax): Likewise.
13913 (fminf): Likewise.
13914 (fmin): Likewise.
13915 (rint): Likewise.
13916 (rintf): Likewise.
13917 (nearbyint): Likewise.
13918 (nearbyintf): Likewise.
13919 (ceil): Likewise.
13920 (ceilf): Likewise.
13921 (floor): Likewise.
13922 (floorf): Likewise.
13923
3e5aef87
L
139242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13925
428bd707
L
13926 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13927 on both fields and cast pointer to __syscall_ulong_t.
13928
3e5aef87
L
13929 * bits/types.h (__fsword_t): New type.
13930 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13931 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13933 (__FSWORD_T_TYPE): Likewise.
13934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13935 (__FSWORD_T_TYPE): Likewise.
13936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13937 (__FSWORD_T_TYPE): Likewise.
13938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13939 (__FSWORD_T_TYPE): Likewise.
13940 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13941 __SWORD_TYPE with __fsword_t.
13942 (statfs64): Likewise.
13943
1ba7c3dc
DM
139442012-05-17 David S. Miller <davem@davemloft.net>
13945
13946 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13947
59910343
AJ
139482012-05-17 Andreas Jaeger <aj@suse.de>
13949
13950 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13951 warning.
13952
2e4c1e9e
L
139532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13954
13955 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13956
de7f5ce7
AJ
139572012-05-17 Andreas Jaeger <aj@suse.de>
13958
13959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13960 when it is used.
13961
286abc3d
CM
139622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13963
13964 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13965
477cc68e
L
139662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13967
13968 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13969 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13970
1a0994f5
CD
139712012-05-17 Andreas Jaeger <aj@suse.de>
13972 Carlos O'Donell <carlos_odonell@mentor.com>
13973
13974 [BZ #14059]
13975 * sysdeps/x86_64/multiarch/init-arch.h
13976 (bit_YMM_Usable): Rename to...
13977 (bit_AVX_Usable): ... this.
13978 (bit_FMA4_Usable): New macro.
13979 (bit_XMM_state): New macro.
13980 (bit_YMM_state): New macro.
13981 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13982 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13983 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13984 (CPUID_OSXSAVE): New macro.
13985 (CPUID_AVX): New macro.
13986 (CPUID_FMA4): New macro.
13987 (index_YMM_Usable): Rename to...
13988 (index_AVX_Usable): ... this.
13989 (HAS_AVX): Use HAS_ARCH_FEATURE.
13990 (HAS_FMA4): Likewise.
13991 (HAS_YMM_USABLE): Remove.
13992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13993 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13994 are present.
13995 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13996 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13997 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13998 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13999 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14000
0af797de
CM
140012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14002
14003 * math/libm-test.c: Support platforms without multiple rounding modes.
14004 * math/bug-nextafter.c: Support platforms without FP exceptions.
14005 * math/bug-nexttoward.c: Likewise.
14006 * math/test-fenv.c: Likewise.
14007 * math/test-misc.c: Likewise.
14008 * stdlib/bug-getcontext.c: Likewise.
14009
e39745ff
AJ
140102012-05-17 Andreas Jaeger <aj@suse.de>
14011
14012 * manual/examples/search.c (critter_cmp): Change signature to
14013 avoid warnings.
14014 * manual/string.texi (Collation Functions): Likewise.
14015
48970aba
L
140162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14017
14018 * bits/types.h: Fold copyright years.
14019 * bits/typesizes.h: Likewise.
14020 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14021 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14024 * time/time.h: Likewise.
14025
bedee953
PP
140262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14027
14028 [BZ #208]
14029 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14030 in instead of returning them. Return void.
14031 (__libc_mallinfo): Accumulate over all arenas.
14032 (__malloc_stats): Adjust for change in int_mallinfo interface.
14033
61653dfb
RM
140342012-05-16 Roland McGrath <roland@hack.frob.com>
14035
30b99d79
RM
14036 [BZ #10375]
14037 * configure.in (NM): Add AC_CHECK_TOOL for it.
14038 (libc_extra_cflags): New substituted variable.
14039 Check for -fstack-protector being used implicitly.
14040 * configure: Regenerated.
14041 * config.make.in (config-extra-cflags): New variable,
14042 gets @libc_extra_cflags@.
14043 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14044
61653dfb
RM
14045 [BZ #10375]
14046 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14047 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14048 * configure: Regenerated.
14049 * config.make.in (CPPUNDEFS): New substituted variable.
14050 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14051 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14052 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14053
661768bb
L
140542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14055
14056 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14057 (mq_attr): Use __syscall_slong_t.
14058
d4261567
L
140592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14062 Check __x86_64__ instead of __WORDSIZE.
14063 (_STAT_VER_LINUX): Likewise.
14064 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14065 __syscall_ulong_t and __syscall_slong_t.
14066 (stat64): Likewise.
14067
cf3ff365
L
140682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14071
76cf3e4d
L
140722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14073
14074 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14075
a637753a
L
140762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14077
14078 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14079 __syscall_ulong_t.
14080
d5e05119
L
14081 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14082 include <bits/wordsize.h>. Check __x86_64__ instead of
14083 __WORDSIZE.
14084 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14085 defined.
14086 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14087
f62ee380
L
14088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14089 include <bits/wordsize.h>. Check __x86_64__ instead of
14090 __WORDSIZE.
14091 (user_regs_struct): Use "__extension__ unsigned long long"
14092 instead of "unsigned long" if __x86_64__ is defined.
14093 (user): Likewise. Pad after pointer field if __ILP32__ is
14094 defined.
14095
4e124ced
JM
140962012-05-16 Joseph Myers <joseph@codesourcery.com>
14097
6a3951a0
JM
14098 * configure.in (makeinfo): Require version 4.5 or later. Allow
14099 versions 5 to 9.
14100 * configure: Regenerated.
14101 * manual/install.texi (texinfo): Increase version requirement to
14102 4.5 or later.
14103 * INSTALL: Regenerated.
14104
4e124ced
JM
14105 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14106
953ca31a
L
141072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14108
14109 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14110
617aca05
L
14111 * sysdeps/x86_64/x32/ffs.c: New file.
14112
5762f7ae
L
14113 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14114 __syscall_ulong_t.
14115 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14116 defined. Use __syscall_ulong_t.
14117 (shminfo): Use __syscall_ulong_t.
14118 (shm_info): Likewise.
14119
a26b6856
L
14120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14121 __syscall_ulong_t.
14122
cb2b9ef7
L
14123 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14124 <bits/wordsize.h>.
14125 (msgqnum_t): Use __syscall_ulong_t.
14126 (msglen_t): Likewise.
14127 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14128 __syscall_ulong_t.
14129
34683bb0
L
14130 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14131 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14132
84a68786
L
14133 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14134
48baa5f1
L
14135 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14136 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14137
180be88b
L
14138 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14139 __syscall_slong_t.
14140
5e90c8ad
L
14141 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14142 include <bits/wordsize.h>. Check __x86_64__ instead of
14143 __WORDSIZE.
14144
23dfb58b
L
14145 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14146 "unsigned long long int" if __x86_64__ is defined.
14147 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14148
ce5d54b0
L
14149 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14151 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14152
13dc9eac
L
14153 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14154 <stdint.h>.
14155 (GET_PC): Cast to uintptr_t first.
14156 (GET_FRAME): Likewise.
14157 (GET_STACK): Likewise.
14158
a7895d15
L
14159 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14160 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14161 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14162 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14163 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14164 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14165 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14166 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14167 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14169 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14171 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14172 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14173 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14174 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14175 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14176 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14177 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14178 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14181 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14183 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14184 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14185 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14186 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14188
656416c9
AS
141892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14190
5bd66283
AS
14191 * Makerules (+depfiles): Also collect depfiles from .oS in
14192 $(extra-objs).
14193 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14194 .oS, $(libnldbl-routines)).
14195
656416c9
AS
14196 * Makerules (native-compile-mkdep-flags): Define.
14197 * sunrpc/Makefile (extra-objs): Add $(addprefix
14198 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14199 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14200 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14201 calling $(make-target-directory).
14202
a46f2169
L
142032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 * bits/types.h (__snseconds_t): Removed.
14206 * time/time.h (struct timespec): Replace __snseconds_t with
14207 __syscall_slong_t.
14208 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14209 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14210 Likewise.
14211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14212 (__SNSECONDS_T_TYPE): Likewise.
14213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14214 (__SNSECONDS_T_TYPE): Likewise.
14215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14216 (__SNSECONDS_T_TYPE): Likewise.
14217
6af6528b
L
142182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14219
14220 * sysdeps/mach/hurd/bits/typesizes.h
14221 (__SYSCALL_SLONG_TYPE): New macro.
14222 (__SYSCALL_ULONG_TYPE): Likewise.
14223
de986b56
L
142242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14225
14226 * bits/types.h (__syscall_slong_t): New type.
14227 (__syscall_ulong_t): Likewise.
14228
14229 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14230 (__SYSCALL_ULONG_TYPE): Likewise.
14231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14232 (__SYSCALL_SLONG_TYPE): Likewise.
14233 (__SYSCALL_ULONG_TYPE): Likewise.
14234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14235 (__SYSCALL_SLONG_TYPE): Likewise.
14236 (__SYSCALL_ULONG_TYPE): Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14238 (__SYSCALL_SLONG_TYPE): Likewise.
14239 (__SYSCALL_ULONG_TYPE): Likewise.
14240
85736dc7
L
142412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14244 Add sigaltstack-offsets.sym.
14245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14246 <sigaltstack-offsets.h>.
14247 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14248 longjmp_msg pointer.
14249 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14250 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14251 signal stack.
14252 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14253
cc03b296
JM
142542012-05-15 Joseph Myers <joseph@codesourcery.com>
14255
a9538892
JM
14256 * elf/stackguard-macros.h: Remove file.
14257 * sysdeps/generic/stackguard-macros.h: New file.
14258 * sysdeps/i386/stackguard-macros.h: Likewise.
14259 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14260 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14261 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14262 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14263 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14264 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14265 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14266 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14267 <elf/stackguard-macros.h>.
14268
cc03b296
JM
14269 [BZ #14109]
14270 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14271 __aligned__ in attribute.
14272 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14273 (gregset_t): Likewise.
14274
93171016
L
142752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14276
14277 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14278 * sysdeps/x86_64/64/Implies-after: Here. New file.
14279 * sysdeps/x86_64/x32/Implies-after: New file.
14280
d86813a0
L
142812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14282
14283 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14284 and access return value for _dl_profile_fixup. Use R10_LP to
14285 load frame size.
14286
2953ec75
L
142872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14290
3b550e9e
L
142912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14292
14293 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14294 * sysdeps/x86_64/x32/sysdep.h: New file.
14295
eda41706
L
142962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14297
14298 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14299 * sysdeps/x86_64/setjmp.S: Likewise.
14300
9ea01d93
AZ
143012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14302
14303 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14304 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14305 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14306 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14307 remove unused global constant.
14308
02a91938
CM
143092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14310
14311 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14312 include of <not-cancel.h>.
14313
6540185f
RM
143142012-05-15 Roland McGrath <roland@hack.frob.com>
14315
14316 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14317
509072a0
AJ
143182012-05-15 Jeff Law <law@redhat.com>
14319 Andreas Jaeger <aj@suse.de>
14320
14321 [BZ #13594]
14322 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14323 out from...
14324 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14325 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14326 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14327 code changing __hst_map_handle.map.
14328
ba75122d
RM
143292012-05-15 Roland McGrath <roland@hack.frob.com>
14330
14331 * configure.in (sysnames): Look for Implies-before and Implies-after
14332 files.
14333 * configure: Regenerated.
14334
890d8bd8
L
143352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14338 8-byte data alignment with LP_SIZE alignment.
14339
f6ee6623
L
143402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14341
14342 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14343 into R10_LP.
14344
ea2626f6
L
143452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14346
14347 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14348
085f715e
L
143492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14350
14351 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14352 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14353 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14354 Likewise.
14355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14356
be8498fc
L
143572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14358
14359 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14360 (stackinfo_sub_sp): Likewise.
14361
70bc83b9
L
143622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14363
14364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14365 RAX_LP.
14366
9bc0b730
L
143672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14368
14369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14370 into R*_LP.
14371
6d2850e7
L
143722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14373
14374 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14375 sizes into R*_LP.
14376
3cb84561
L
143772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14378
14379 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14380
54e2ed81
L
143812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14382
14383 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14384 into R11_LP and load __x86_64_shared_cache_size_half into
14385 R8_LP.
14386
8a17f349
L
143872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14388
14389 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14390 R8_LP.
14391
777b1eea
AZ
143922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14393
14394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14395 logb for POWER7.
14396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14397 logbf for POWER7.
14398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14399 logbl for POWER7.
14400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14401 powerpc32/power7/fpu/s_logb.c via #include.
14402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14403 powerpc32/power7/fpu/s_logbf.c via #include.
14404 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14405 powerpc32/power7/fpu/s_logbl.c via #include.
14406
d20d4ac2
JM
144072012-05-15 Joseph Myers <joseph@codesourcery.com>
14408
14409 * README.libm: Remove file.
14410
6cdef1ab
L
144112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14412
14413 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14414 count for x32. Use R*_LP and omit operand-size suffix.
14415
0b254d8f
L
144162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14419 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14420 * sysdeps/x86_64/x32/shlib-versions: New file.
14421
ceb809dc
RM
144222012-05-14 Roland McGrath <roland@hack.frob.com>
14423
14424 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14425 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14426 Use _dl_fatal_printf instead.
14427
37f1abd4
JM
144282012-05-14 Joseph Myers <joseph@codesourcery.com>
14429
14430 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14431 set if not set by the user. Do not allow for being unset.
14432 * sysdeps/unix/sysv/linux/configure: Regenerated.
14433
11de3a33
L
144342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14435
14436 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14437 the `q' suffix from lea and replace .quad with ASM_ADDR.
14438
e02f153a
L
144392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14440
14441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14442 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14443 instead of $17.
14444 (PTR_DEMANGLE): Likewise.
14445
520ae0fd
L
144462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14447
14448 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14449 (LP_OP): Likewise.
14450 (ASM_ADDR): Likewise.
14451 (RAX_LP): Likewise.
14452 (RBP_LP): Likewise.
14453 (RBX_LP): Likewise.
14454 (RCX_LP): Likewise.
14455 (RDI_LP): Likewise.
14456 (RSI_LP): Likewise.
14457 (RSP_LP): Likewise.
14458 (R8_LP): Likewise.
14459 (R9_LP): Likewise.
14460 (R10_LP): Likewise.
14461 (R10_LP): Likewise.
14462 (R11_LP): Likewise.
14463 (R12_LP): Likewise.
14464 (R13_LP): Likewise.
14465 (R14_LP): Likewise.
14466 (R15_LP): Likewise.
14467
b985be81
L
144682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14469
14470 * sysdeps/x86_64/x32/dl-machine.h: New file.
14471
6a4888ff
AJ
144722012-05-14 Andreas Jaeger <aj@suse.de>
14473
14474 * manual/Makefile (subdir): Remove export of subdir.
14475 (all): Remove target.
14476 (.PHONY): Remove all from list.
14477 (mkinstalldirs): Remove.
14478 (.PHONY): Remove installdirs from list.
14479 ($(inst_infodir)/libc.info): Use make-target-directory.
14480 (installdirs): Remove.
14481 (subdir_%): Remove.
14482 (glibc-targets): Remove.
14483 (lib): Remove.
14484 (stubs): Remove.
14485 ($(objpfx)stubs ../po/manual.pot): Remove.
14486 ($(objpfx)stamp%): Remove.
14487 (make-target-directory): Remove.
14488 (subdir_install): Remove.
14489 (routines): Remove.
14490 (aux): Remove.
14491 (sources): Remove.
14492 (objects): Remove.
14493 (headers): Remove.
14494
14495 [BZ #13750]
14496 * manual/.gitignore: Remove, it's not needed anymore.
14497 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14498 all files in it.
14499 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14500 directory.
14501 (texis): Renamed to $(objpfx)texis.
14502 (texis-path): New, contains path to generated files.
14503 (chapters.%): Use texis-path for complete path, add extra argument
14504 libc-texinfo.sh.
14505 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14506 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14507 (summary,texi, stamp-summary): Use complete path of
14508 files. Generate files in build dir.
14509 (dir-add.texi): Build in build dir.
14510 (libm-err.texi,stamp-libm-err): Likewise.
14511 (version.texi, stamp-version): Likewise.
14512 (.%c.texi): Likewise.
14513 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14514 (mostlyclean): Remove target.
14515 (realclean): Remove target.
14516 (generated): Add new variable with contents from mostlyclean and
14517 realclean, remove entries duplicated in common-mostlyclean, add
14518 stamp-libm-err and stamp-version.
14519 (generated-dirs): Add libc directory.
14520 ($(inst_infodir)/libc.info): Install files from build dir.
14521
14522 * manual/install.texi (Configuring and compiling): Adjust since
14523 the info files are not part of the tar ball anymore.
14524
7ac77294
AJ
145252012-05-14 Andreas Jaeger <aj@suse.de>
14526
14527 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14528 variable.
14529
ffb7875d
JM
145302012-05-14 Joseph Myers <joseph@codesourcery.com>
14531
14532 [BZ #13717]
14533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14534 to 2.2.0 where earlier.
14535 * sysdeps/unix/sysv/linux/configure: Regenerated.
14536 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14537 Remove conditional code.
14538 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14539 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14540 Remove conditional code.
14541 [!__NR_lchown]: Likewise.
14542 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14543 [__NR_lchown]: Likewise.
14544 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14545 comment referencing __ASSUME_LCHOWN_SYSCALL.
14546 * sysdeps/unix/sysv/linux/i386/sigaction.c
14547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14549 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14550 Remove conditional code.
14551 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14552 (__protocol_available): Remove #if 0 code.
14553 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14554 conditional code.
14555 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14556 * sysdeps/unix/sysv/linux/kernel-features.h
14557 (__ASSUME_GETCWD_SYSCALL): Don't define.
14558 (__ASSUME_REALTIME_SIGNALS): Likewise.
14559 (__ASSUME_PREAD_SYSCALL): Likewise.
14560 (__ASSUME_PWRITE_SYSCALL): Likewise.
14561 (__ASSUME_POLL_SYSCALL): Likewise.
14562 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14563 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14564 non-SPARC.
14565 (__ASSUME_SIOCGIFNAME): Don't define.
14566 (__ASSUME_MSG_NOSIGNAL): Likewise.
14567 (__ASSUME_SENDFILE): Define unconditionally.
14568 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14569 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14570 conditional code.
14571 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14572 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14573 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14574 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14575 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14576 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14577 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14579 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14582 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14583 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14588 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14589 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14591 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14594 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14595 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14597 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14600 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14602 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14603 Remove conditional code.
14604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14605 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14606 Remove conditional code.
14607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14608 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14609 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14610 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14611 Remove conditional code.
14612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14613 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14614 Remove conditional code.
14615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14616 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14617 Remove conditional code.
14618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14619 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14620 Remove conditional code.
14621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14622 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14623 Remove conditional code.
14624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14625 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14628 * sysdeps/unix/sysv/linux/sigaction.c
14629 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14630 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14631 * sysdeps/unix/sysv/linux/sigpending.c
14632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14634 * sysdeps/unix/sysv/linux/sigprocmask.c
14635 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14636 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14637 * sysdeps/unix/sysv/linux/sigsuspend.c
14638 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14639 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14640 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14641 (__libc_missing_rt_sigs): Remove.
14642 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14643 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14644 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14645 Remove conditional code.
14646 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14647 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14648 return 1.
14649 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14650 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14651 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14652 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14653
1bfb7291
AJ
146542012-05-14 Andreas Jaeger <aj@suse.de>
14655
caae5a81
AJ
14656 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14657 it's not used in glibc.
14658 (__coshm1): Likewise.
14659 (__acosh1p): Likewise.
14660 (__sgn): Likewise.
14661
1bfb7291
AJ
14662 * manual/string.texi (Copying and Concatenation): Add missing
14663 variable in concat example.
14664 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14665
c044d724
L
146662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14667
144c5467 14668 [BZ #14103]
c044d724
L
14669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14670 __builtin_clzl with __builtin_clzll.
14671
2523c62b
L
146722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14673
14674 [BZ #14104]
14675 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14676 libc_freeres_ptr.
14677
d7bb4c42
LD
146782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14679
14680 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14681 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14682 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14683 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14684
9dc4e1fb
MF
146852012-05-14 Mike Frysinger <vapier@gentoo.org>
14686
14687 * NEWS: Update ia64 info.
14688
c7df0112
AS
146892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14690
14691 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14692 used as bcopy.
14693
dc70356c
TS
146942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14695
14696 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14697 * sysdeps/unix/syscalls.list (dup3): Likewise.
14698 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14699 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14700
9fb1a21f
L
147012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14702
14703 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14704 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14705
4822a2a5
L
147062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14707
14708 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14709 thread pointer.
14710 (TLS_IE): Use mov/add instead of movq/addq to load thread
14711 pointer.
14712 (TLS_GD_PREFIX): New.
14713 (TLS_GD): Use it.
14714
842b81d6
DM
147152012-05-11 David S. Miller <davem@davemloft.net>
14716
14717 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14718 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14719 (_FPU_SETCW): Likewise.
14720
1cf463cd
L
147212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14722
14723 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14724 is 32-byte aligned.
14725
60cc4a18
AS
147262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14727
14728 [BZ #11837]
14729 * iconvdata/gb18030.c: Update tables.
14730 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14731 characters specially.
14732 (BODY for TO_LOOP): Add encoding of missing ranges.
14733
febb44a4
TS
147342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14735
14736 [BZ #13673]
14737 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14738 * sysdeps/mach/hurd/dup3.c: Likewise.
14739 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14740 * sysdeps/powerpc/memmove.c:: Likewise.
14741
0a10fb9e
L
147422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14743
14744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
14745 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
14746
df8a552f
L
147472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14748
14749 * elf/elf.h (R_X86_64_RELATIVE64): New.
14750 (R_X86_64_NUM): Updated.
14751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14752 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
14753 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
14754 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
14755 tst-quad1pie tst-quad2pie
14756 (modules-names): Add tst-quadmod1 tst-quadmod2.
14757 ($(objpfx)tst-quad1): New dependency.
14758 ($(objpfx)tst-quad2): Likewise.
14759 ($(objpfx)tst-quad1pie): Likewise.
14760 ($(objpfx)tst-quad2pie): Likewise.
14761 * sysdeps/x86_64/tst-quad1.c: New file.
14762 * sysdeps/x86_64/tst-quad1pie.c: New file.
14763 * sysdeps/x86_64/tst-quad2.c: Likewise.
14764 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
14765 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
14766 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
14767 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
14768 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
14769
f34d6f84
ST
147702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14771
f42d41d1
ST
14772 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
14773 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
14774 * streams/stropts.h (t_scalar_t): Define type.
14775
3c3571fc
ST
14776 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
14777 (_PATH_PRESERVE): Set to "/var/lib".
14778 (_PATH_RWHODIR): Set to "/var/spool/rwho".
14779
61f06bd3
ST
14780 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
14781 instead of int.
14782
918d4d71
ST
14783 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14784 if __dir_mkfile succeeded.
14785
f34d6f84
ST
14786 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14787 checking for _hurd_dtablesize. Unlock it right after having
14788 finished _hurd_dtable allocation.
14789
10589b4a
TS
147902012-05-10 Thomas Schwinge <thomas@schwinge.name>
14791
674cdbc7
TS
14792 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14793 * sysdeps/mach/hurd/configure: Regenerated.
14794 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14795 special-casing to...
14796 * sysdeps/gnu/configure.in: ... this new file.
14797 * sysdeps/unix/sysv/linux/configure: Regenerated.
14798 * sysdeps/gnu/configure: New generated file.
14799
8e41b99f
TS
14800 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14801 for Linux: use nsec instead of usec, as well as:
14802 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14803 members of type struct timespec.
14804 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14805 New macros.
14806 (struct stat64): Likewise.
14807 (_STATBUF_ST_NSEC): New macro.
14808 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14809
10589b4a
TS
14810 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14811 __strtoul_internal rather than strtoul.
14812
63643c85
PT
148132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14814
14815 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14816 and reject them.
14817
3faebe6a
ST
148182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14819
14820 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14821 which preserves existing values.
14822 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14823
c6474b07
PT
148242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14825
14826 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14827 TIMEOUT values. Return EINVAL for NFDS values either negative or
14828 greater than FD_SETSIZE.
14829
1043890b
ST
148302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14831
14832 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14833 allocated, call __vm_protect to finish enabling the existing space, and
14834 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14835 allocate the remainder.
14836
37ed8b9b
PT
148372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14838
14839 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14840 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14841
db653660
ST
148422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14843
37ed8b9b
PT
14844 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14845 sysdeps/mach/hurd/readlink.c.
b29d4053 14846
db653660
ST
14847 * posix/tst-sysconf.c (posix_options): Only use
14848 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14849 _POSIX_SYNCHRONIZED_IO when they are defined
14850 * sysdeps/mach/hurd/bits/posix_opt.h:
14851 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14852 (_XOPEN_REALTIME): Undefine macro.
14853 (_XOPEN_REALTIME_THREADS): Undefine macro.
14854 (_XOPEN_SHM): Undefine macro.
14855 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14856 macro to -1.
14857 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14858 macro to -1.
14859 (_POSIX_ASYNC_IO): Undefine macro.
14860 (_POSIX_PRIORITIZED_IO): Undefine macro.
14861 (_POSIX_SPIN_LOCKS): Define macro to -1.
14862
ee16e894
ST
14863 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14864 SA_NODEFER, SA_RESETHAND.
14865 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14866 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14867 F_DUPFD_CLOEXEC.
14868
6103ae3b
TS
148692012-05-10 Thomas Schwinge <thomas@schwinge.name>
14870
14871 * elf/Makefile (pldd-modules): Define unconditionally.
14872
80b4e5f3
TS
148732012-05-10 Thomas Schwinge <thomas@schwinge.name>
14874
14875 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14876
edadcbd6
ST
148772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14878
14879 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14880 Return ENOENT when name is empty.
14881 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14882
80694780
TS
148832012-05-10 Thomas Schwinge <thomas@schwinge.name>
14884
1792c087
TS
14885 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14886
80694780
TS
14887 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14888
6b645f0d
ST
148892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14890
80694780
TS
14891 Fix mlock in all cases except non-readable pages.
14892 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14893 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14894
6b645f0d
ST
14895 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14896 (__mkdir): When path is `/', just fail with EEXIST.
14897 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14898
e468f8a3
TS
148992012-05-10 Thomas Schwinge <thomas@schwinge.name>
14900
14901 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14902 <sys/uio.h> (for writev).
14903 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14904 and <sys/param.h> (for MIN).
14905
a4186cff
PT
149062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14907
14908 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14909 REQUESTED_TIME. Properly set the remaining time and return EINTR
14910 if interrupted.
14911
510bbf14
TS
149122012-05-10 Thomas Schwinge <thomas@schwinge.name>
14913
14914 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14915 Depend on against $(link-rpcuserlibs).
14916
5d5722e8
ST
149172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14918
a4186cff
PT
14919 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14920 (__libc_stack_end): Do not use attribute_relro.
14921 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14922 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14923 to libthread-provided value.
a4186cff
PT
14924 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14925 attribute_relro.
5d5722e8 14926
37233df9
TS
149272012-05-10 Thomas Schwinge <thomas@schwinge.name>
14928
be971a2b
TS
14929 [BZ #3748]
14930 * bits/libc-lock.h (__libc_once_get): New macro.
14931 * sysdeps/mach/bits/libc-lock.h: Likewise.
14932 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14934 instead of using implementation details.
14935
37233df9
TS
14936 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14937 * libio/freopen.c: Likewise.
14938 * libio/freopen64.c: Likewise.
14939 * misc/syslog.c: Likewise.
14940 * nscd/connections.c: Likewise.
14941 * nscd/netgroupcache.c: Likewise.
14942 * sysdeps/posix/getcwd.c: Likewise.
14943
38de94a5
RM
149442012-05-10 Roland McGrath <roland@hack.frob.com>
14945
14946 * math/w_ilogbf.c: Add #include <limits.h>.
14947
67530489
ST
149482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14949
a4186cff 14950 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14951 path instead of returning without unlocking.
14952
67530489
ST
14953 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14954 immediate-write ioctls.
14955 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14956
5aa3a74a
TS
149572012-05-10 Thomas Schwinge <thomas@schwinge.name>
14958
18bad2ae
TS
14959 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14960 __builtin_frame_address instead of making assumptions about the
14961 location of the return address relative to DATA. Force early load of
14962 the return address.
14963 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14964 __builtin_frame_address.
14965
5aa3a74a
TS
14966 dup3 for GNU Hurd.
14967 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14968 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14969 implement dup3 and do some further code clean-ups.
14970 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14971 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14972
ecd0de9a
ST
149732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14974
cd9fa985
ST
14975 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14976
a4186cff
PT
14977 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14978 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14979 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14980 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14981 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14982 d->port.lock.
802ca5a5 14983
a4186cff
PT
14984 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14985 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14986 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14987
bcf55240
TS
149882012-05-10 Thomas Schwinge <thomas@schwinge.name>
14989
6960eb42
TS
14990 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14991 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14992 definitions.
14993
eb43375f
TS
14994 accept4 for GNU Hurd.
14995 * include/sys/socket.h (__libc_accept4): New prototype.
14996 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14997 to implement __libc_accept4.
14998 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14999 __libc_accept4.
15000 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15001
bcf55240
TS
15002 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15003 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15004 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15005 signal-defines.sym.
15006
6178c55b
ST
150072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15008
a4186cff 15009 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15010
6f080c2f
TS
150112012-05-10 Thomas Schwinge <thomas@schwinge.name>
15012
15013 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15014 assertion on O_CLOEXEC flag.
15015 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15016 * hurd/intern-fd.c: Likewise.
15017 * hurd/port2fd.c: Likewise.
15018
bcfe3a54
ST
150192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15020
15021 [BZ #3906]
15022 * bits/in.h (IPV6_PKTINFO): Define new macro.
15023 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15024
89c9aa49
AZ
150252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15026
15027 [BZ #13954]
15028 [BZ #13955]
15029 [BZ #13956]
15030 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15032 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15033 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15035 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15036 * math/libm-test.inc (logb_test) : Additional logb tests.
15037
021db4be
AJ
150382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15039 Andreas Jaeger <aj@suse.de>
15040
15041 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15042 * configure: Regenerated.
15043 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15044 * config.make.in (link-obsolete-rpc): New substituted variable.
15045 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15046 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15047 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15048 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15049 so that libc.a contains the symbols.
15050 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15051 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15052 * sunrpc/auth_none.c: Likewise.
15053 * sunrpc/auth_unix.c: Likewise.
15054 * sunrpc/authdes_prot.c: Likewise.
15055 * sunrpc/authuxprot.c: Likewise.
15056 * sunrpc/clnt_gen.c: Likewise.
15057 * sunrpc/clnt_perr.c: Likewise.
15058 * sunrpc/clnt_raw.c: Likewise.
15059 * sunrpc/clnt_simp.c: Likewise.
15060 * sunrpc/clnt_tcp.c: Likewise.
15061 * sunrpc/clnt_udp.c: Likewise.
15062 * sunrpc/clnt_unix.c: Likewise.
15063 * sunrpc/des_crypt.c: Likewise.
15064 * sunrpc/des_soft.c: Likewise.
15065 * sunrpc/get_myaddr.c: Likewise.
15066 * sunrpc/key_call.c: Likewise.
15067 * sunrpc/key_prot.c: Likewise.
15068 * sunrpc/netname.c: Likewise.
15069 * sunrpc/pm_getmaps.c: Likewise.
15070 * sunrpc/pm_getport.c: Likewise.
15071 * sunrpc/pmap_clnt.c: Likewise.
15072 * sunrpc/pmap_prot.c: Likewise.
15073 * sunrpc/pmap_prot2.c: Likewise.
15074 * sunrpc/pmap_rmt.c: Likewise.
15075 * sunrpc/publickey.c: Likewise.
15076 * sunrpc/rpc_cmsg.c: Likewise.
15077 * sunrpc/rpc_common.c: Likewise.
15078 * sunrpc/rpc_dtable.c: Likewise.
15079 * sunrpc/rpc_prot.c: Likewise.
15080 * sunrpc/rpc_thread.c: Likewise.
15081 * sunrpc/rtime.c: Likewise.
15082 * sunrpc/svc.c: Likewise.
15083 * sunrpc/svc_auth.c: Likewise.
15084 * sunrpc/svc_raw.c: Likewise.
15085 * sunrpc/svc_run.c: Likewise.
15086 * sunrpc/svc_tcp.c: Likewise.
15087 * sunrpc/svc_udp.c: Likewise.
15088 * sunrpc/svc_unix.c: Likewise.
15089 * sunrpc/svcauth_des.c: Likewise.
15090 * sunrpc/xcrypt.c: Likewise.
15091 * sunrpc/xdr.c: Likewise.
15092 * sunrpc/xdr_array.c: Likewise.
15093 * sunrpc/xdr_float.c: Likewise.
15094 * sunrpc/xdr_intXX_t.c: Likewise.
15095 * sunrpc/xdr_mem.c: Likewise.
15096 * sunrpc/xdr_rec.c: Likewise.
15097 * sunrpc/xdr_ref.c: Likewise.
15098 * sunrpc/xdr_sizeof.c: Likewise.
15099 * sunrpc/xdr_stdio.c: Likewise.
15100
b5c086a2
RM
151012012-05-10 Roland McGrath <roland@hack.frob.com>
15102
15103 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15104 change. Update copyright years.
15105
6d74dd09
JM
151062012-05-10 Joseph Myers <joseph@codesourcery.com>
15107
15108 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15109
28e72501
MK
151102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15111 Joseph Myers <joseph@codesourcery.com>
15112 Paul Pluzhnikov <ppluzhnikov@google.com>
15113
15114 [BZ #14012]
15115 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15116 requiring rpcgen.
15117 [cross-compiling] (extra-libs): Likewise.
15118 [cross-compiling] (extra-libs-others): Likewise.
15119 [cross-compiling] (librpcsvc-routines): Likewise.
15120 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15121 [cross-compiling] (omit-deps): Likewise.
15122 (sunrpc-CPPFLAGS): New variable.
15123 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15124 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15125 (cross-rpcgen-objs): New variable.
15126 (extra-objs): Append $(cross-rpcgen-objs).
15127 ($(cross-rpcgen-objs)): New rule.
15128 ($(objpfx)cross-rpcgen): Likewise.
15129 (rpcgen-cmd): Define to use $(built-program-file). Expand
15130 comment.
15131 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15132 ($(objpfx)x%.stmp): Likewise.
15133 * sunrpc/proto.h [IS_IN_build] (_): Define.
15134 [IS_IN_build] (_libc_intl_domainname): Likewise.
15135
c8c59454
L
151362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15137
15138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15139 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15140 and R_X86_64_TPOFF64.
15141
6f27cd16
JM
151422012-05-10 Joseph Myers <joseph@codesourcery.com>
15143
15144 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15145 sysdeps/unix/sysv/syscalls.list.
15146 (stime): Likewise.
15147 (utime): Likewise.
15148 * sysdeps/unix/sysv/syscalls.list: Remove file.
15149
02467e1c
PE
151502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15151
15152 [BZ #3440]
15153 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15154 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15155 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15156 (__LC_IDENTIFICATION): Make these macros useful in #if
15157 expressions, as required by C99.
15158
da392631
AS
151592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15160
15161 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15162 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15163 after this.
15164
8115f29b
L
151652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15166
15167 * stdlib/longlong.h: Updated from GCC.
15168
bdd74070
AJ
151692012-05-09 Andreas Jaeger <aj@suse.de>
15170
edfe0dbe
AJ
15171 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15172 default is first entry.
15173 (run_mode): Set type.
15174 (main): Remove informal message about syslog.
15175 (options): Fix typo.
15176
bcfe3a54
ST
15177 [BZ #14053]
15178 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15179 to asm.
bcfe3a54
ST
15180 (lrint): Likewise.
15181 (llrintf): Likewise.
15182 (llrint): Likewise.
15183 (rint): Likewise.
15184 (rintf): Likewise.
15185 (nearbyint): Likewise.
15186 (nearbyintf): Likewise.
bdd74070 15187
91d8d69e
AJ
151882012-05-09 Andreas Jaeger <aj@suse.de>
15189 Pedro Alves <palves@redhat.com>
15190
15191 * nscd/nscd.c (run_mode): Use enum.
15192 (main): Cleanup coding style issue.
15193
bb90b80b
AJ
151942012-05-09 Alexandre Oliva <aoliva@redhat.com>
15195 Andreas Jaeger <aj@suse.de>
15196
bcfe3a54
ST
15197 * nscd/nscd.c (go_background): Replaced with...
15198 (run_mode): ... this.
bb90b80b 15199 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15200 (options): Add -F --foreground.
15201 (main): Implement it.
15202 (parse_opt): Parse it.
bb90b80b 15203
1a4b75a1
AJ
152042012-05-09 Andreas Jaeger <aj@suse.de>
15205
15206 [BZ #14083]
15207 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15208 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15209 -Wconversion warning.
15210 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15211 Likewise.
15212
b1cc2472
JM
152132012-05-09 Joseph Myers <joseph@codesourcery.com>
15214
15215 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15216 == 0.
15217 (LC_ALL): Use macro-int-constant.
15218 (LC_COLLATE): Likewise.
15219 (LC_CTYPE): Likewise.
15220 (LC_MESSAGES): Likewise.
15221 (LC_MONETARY): Likewise.
15222 (LC_NUMERIC): Likewise.
15223 (LC_TIME): Likewise.
15224 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15225 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15227 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15228 Specify type.
15229 [C99-based standards] (float_t): Expect type.
15230 [C99-based standards] (double_t): Expect type.
15231 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15232 type.
15233 [C99-based standards] (HUGE_VALL): Likewise.
15234 [C99-based standards] (INFINITY): Likewise.
15235 [C99-based standards] (NAN): Likewise.
15236 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15237 [C99-based standards] (FP_NAN): Likewise.
15238 [C99-based standards] (FP_NORMAL): Likewise.
15239 [C99-based standards] (FP_SUBNORMAL): Likewise.
15240 [C99-based standards] (FP_ZERO): Likewise.
15241 [C99-based standards] (FP_FAST_FMA): Use
15242 optional-macro-int-constant. Specify type. Require == 1.
15243 [C99-based standards] (FP_FAST_FMAF): Likewise.
15244 [C99-based standards] (FP_FAST_FMAL): Likewise.
15245 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15246 [C99-based standards] (FP_ILOGBNAN): Likewise.
15247 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15248 Specify type.
15249 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15250 [C99-based standards] (math_errhandling): Specify type.
15251 [ISO99 || ISO11] (signgam): Do not allow.
15252 [non-C99-based standards] (copysignf): Do not allow.
15253 [non-C99-based standards] (exp2f): Likewise.
15254 [non-C99-based standards] (log2f): Likewise.
15255 [non-C99-based standards] (modff): Allow.
15256 [non-C99-based standards] (erff): Do not allow.
15257 [non-C99-based standards] (erfcf): Likewise.
15258 [non-C99-based standards] (gammaf): Likewise.
15259 [non-C99-based standards] (hypotf): Likewise.
15260 [non-C99-based standards] (j0f): Likewise.
15261 [non-C99-based standards] (j1f): Likewise.
15262 [non-C99-based standards] (jnf): Likewise.
15263 [non-C99-based standards] (lgammaf): Likewise.
15264 [non-C99-based standards] (tgammaf): Likewise.
15265 [non-C99-based standards] (y0f): Likewise.
15266 [non-C99-based standards] (y1f): Likewise.
15267 [non-C99-based standards] (ynf): Likewise.
15268 [non-C99-based standards] (isnanf): Likewise.
15269 [non-C99-based standards] (acoshf): Likewise.
15270 [non-C99-based standards] (asinhf): Likewise.
15271 [non-C99-based standards] (atanhf): Likewise.
15272 [non-C99-based standards] (cbrtf): Likewise.
15273 [non-C99-based standards] (expm1f): Likewise.
15274 [non-C99-based standards] (ilogbf): Likewise.
15275 [non-C99-based standards] (log1pf): Likewise.
15276 [non-C99-based standards] (logbf): Likewise.
15277 [non-C99-based standards] (nextafterf): Likewise.
15278 [non-C99-based standards] (remainderf): Likewise.
15279 [non-C99-based standards] (rintf): Likewise.
15280 [non-C99-based standards] (scalbf): Likewise.
15281 [non-C99-based standards] (copysignl): Likewise.
15282 [non-C99-based standards] (exp2l): Likewise.
15283 [non-C99-based standards] (log2l): Likewise.
15284 [non-C99-based standards] (modfl): Allow.
15285 [non-C99-based standards] (erfl): Do not allow.
15286 [non-C99-based standards] (erfcl): Likewise.
15287 [non-C99-based standards] (gammal): Likewise.
15288 [non-C99-based standards] (hypotl): Likewise.
15289 [non-C99-based standards] (j0l): Likewise.
15290 [non-C99-based standards] (j1l): Likewise.
15291 [non-C99-based standards] (jnl): Likewise.
15292 [non-C99-based standards] (lgammal): Likewise.
15293 [non-C99-based standards] (tgammal): Likewise.
15294 [non-C99-based standards] (y0l): Likewise.
15295 [non-C99-based standards] (y1l): Likewise.
15296 [non-C99-based standards] (ynl): Likewise.
15297 [non-C99-based standards] (isnanl): Likewise.
15298 [non-C99-based standards] (acoshl): Likewise.
15299 [non-C99-based standards] (asinhl): Likewise.
15300 [non-C99-based standards] (atanhl): Likewise.
15301 [non-C99-based standards] (cbrtl): Likewise.
15302 [non-C99-based standards] (expm1l): Likewise.
15303 [non-C99-based standards] (ilogbl): Likewise.
15304 [non-C99-based standards] (log1pl): Likewise.
15305 [non-C99-based standards] (logbl): Likewise.
15306 [non-C99-based standards] (nextafterl): Likewise.
15307 [non-C99-based standards] (remainderl): Likewise.
15308 [non-C99-based standards] (rintl): Likewise.
15309 [non-C99-based standards] (scalbl): Likewise.
15310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15311 [non-C99-based standards] (FP_*): Do not allow.
15312 [C99-based standards] (FP_*): Change to
15313 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15314 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15315 allow.
15316 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15317 (SIG_ERR): Likewise.
15318 [X/Open-based standards] (SIG_HOLD): Likewise.
15319 (SIG_IGN): Likewise.
15320 (SIGABRT): Use macro-int-constant. Specify type. Require
15321 positive value.
15322 (SIGFPE): Likewise.
15323 (SIGILL): Likewise.
15324 (SIGINT): Likewise.
15325 (SIGSEGV): Likewise.
15326 (SIGTER): Likewise.
15327 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15328 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15329 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15330 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15331 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15332 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15333 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15334 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15335 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15336 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15337 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15338 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15339 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15340 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15341 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15342 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15343 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15344 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15345 [X/Open-based standards] (SIGTRAP): Likewise.
15346 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15347 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15348 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15349 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15350 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15351 allow.
15352
b9f1922d
IW
153532012-05-08 Ian Wienand <ianw@vmware.com>
15354
15355 [BZ #14080]
15356 * time/tzset.c (__tzset_parse_tz): Update default rules for
15357 daylight time changes in the Energy Policy Act of 2005.
15358
1db86e88
AJ
153592012-05-09 Andreas Jaeger <aj@suse.de>
15360
15361 [BZ #13983]
15362 * elf/ldconfig.c (parse_conf): Change string to make clear that
15363 ldconfig only issued a warning if ld.so.conf does not exist.
15364
dee4a4e3
DM
153652012-05-08 David S. Miller <davem@davemloft.net>
15366
ee0db190
DM
15367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15368 movxtod instead of popping the value on the stack.
15369
dee4a4e3
DM
15370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15371
6a43ec98
CD
153722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15373
15374 * config.h.in: Add HAVE_ARM_PCS_VFP.
15375
05c2c961
RMG
153762012-05-08 Roland Mc Grath <roland@hack.frob.com>
15377
bcfe3a54
ST
15378 [BZ #13979]
15379 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15380 checking but the checks are disabled for any reason.
05c2c961 15381
4b30f61a
L
153822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15383
15384 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15385 and ELF64_R_TYPE with ELFW(R_TYPE).
15386
eee2bc67
JM
153872012-05-08 Joseph Myers <joseph@codesourcery.com>
15388
7ea5391a
JM
15389 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15390 (ulimit): Likewise.
15391
eee2bc67
JM
15392 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15393 (settimeofday): Likewise.
15394
abb66a67
MF
153952012-05-08 Mike Frysinger <vapier@gentoo.org>
15396
15397 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15398 a struct th_u2 inside the union, and move tu_block/tu_code into
15399 a new th_u3 union of tu_block/tu_code inside of that. Move
15400 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15401 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15402 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15403 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15404 (th_stuff): Change to th_u1.tu_stuff.
15405 (th_data): Define.
15406 (th_msg): Change to th_u1.th_u2.tu_data.
15407
7f18b530
DM
154082012-05-07 David S. Miller <davem@davemloft.net>
15409
05760585
DM
15410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15411
7f18b530
DM
15412 [BZ #14074]
15413 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15414 (SETUP_PIC_REG): Use it.
15415 (SETUP_PIC_REG_LEAF): Use it.
15416
495fd99f
JM
154172012-05-07 Joseph Myers <joseph@codesourcery.com>
15418
15419 [BZ #13885]
15420 [BZ #13923]
15421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15422 USE_AS_EXPM1L.
15423 (EXPL_FINITE): Likewise.
15424 (FLDLOG): Likewise.
15425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15426 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15427 e_expl.S.
15428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15429 USE_AS_EXPM1L.
15430 (EXPL_FINITE): Likewise.
15431 (FLDLOG): Likewise.
15432 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15433 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15434 e_expl.S.
15435 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15436 test of -max_value argument for long double.
15437 * sysdeps/i386/fpu/libm-test-ulps: Update.
15438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15439
6693d694
DM
154402012-05-06 David S. Miller <davem@davemloft.net>
15441
15442 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15443 quad soft-float symbols whose references which are compiler
15444 generated.
15445 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15446
6c23e11c
JM
154472012-05-06 Joseph Myers <joseph@codesourcery.com>
15448
d8b82cad
JM
15449 [BZ #13884]
15450 [BZ #13914]
15451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15452 USE_AS_EXP10L.
15453 (EXPL_FINITE): Likewise.
15454 (FLDLOG): Likewise.
15455 (c0): Likewise.
15456 (c1): Likewise.
15457 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15458 Adjust comments for base varying.
15459 (__expl_finite): Change alias to EXPL_FINITE.
15460 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15461 e_expl.S.
15462 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15463 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15464 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15465 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15466 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15467 USE_AS_EXP10L.
15468 (EXPL_FINITE): Likewise.
15469 (FLDLOG): Likewise.
15470 (c0): Likewise.
15471 (c1): Likewise.
15472 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15473 Adjust comments for base varying.
15474 (__expl_finite): Change alias to EXPL_FINITE.
15475 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15476 tests for bugs.
15477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15478
6c23e11c
JM
15479 [BZ #14064]
15480 * math/libm-test.inc (check_float_internal): Correct ulp
15481 calculation for subnormal expected results.
15482
29ba805c
AJ
154832012-05-06 Andreas Jaeger <aj@suse.de>
15484
15485 * Makeconfig (+math-flags): New, set to -frounding-math.
15486 (+cflags): Add +math-flags so that all of glibc gets compiled with
15487 it.
15488
15489 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15490
7b17aeda
JM
154912012-05-05 Joseph Myers <joseph@codesourcery.com>
15492
5779f134
JM
15493 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15494 Disable one test.
15495
41498f4d
JM
15496 [BZ #13787]
15497 [BZ #13922]
15498 [BZ #14036]
15499 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15500 (__ieee754_expl): Allow for and saturate large arguments.
15501 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15502 (u_threshold): Likewise.
15503 (__exp): Call __ieee754_exp before checking for overflow and
15504 underflow.
15505 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15506 (u_threshold): Likewise.
15507 (__expf): Call __ieee754_expf before checking for overflow and
15508 underflow.
15509 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15510 (u_threshold): Likewise.
15511 (__expl): Call __ieee754_expl before checking for overflow and
15512 underflow.
15513 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15514 (__ieee754_expl): Allow for and saturate large arguments.
15515 * math/libm-test.inc (exp_test): Add another test. Do not allow
15516 missing overflow exception on overflow.
15517 (expm1_test): Do not allow missing overflow exception on overflow.
15518
6698b8bf
JM
15519 * sysdeps/i386/fpu/e_expl.c: Move to ...
15520 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15521 rather than using inline asm.
15522 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15523 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15524 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15525
7b17aeda
JM
15526 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15527 (nice): Likewise.
15528 (poll): Likewise.
15529 (signal): Likewise.
15530 (time): Likewise.
15531 (times): Likewise.
15532
f7c85819
JM
155332012-05-04 Joseph Myers <joseph@codesourcery.com>
15534
15535 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15536 sysdeps/unix/common/syscalls.list.
15537 (fchmod): Likewise.
15538 (fchown): Likewise.
15539 (ftruncate): Likewise.
15540 (getrusage): Likewise.
15541 (gettimeofday): Likewise.
15542 (setpgid): Likewise.
15543 (setregid): Likewise.
15544 (setreuid): Likewise.
15545 (sigaction): Likewise.
15546 (truncate): Likewise.
15547 (vhangup): Likewise.
15548 * sysdeps/unix/common/syscalls.list: Remove file.
15549 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15550 * sysdeps/unix/sysv/linux/Implies: Likewise.
15551
336270d0
L
155522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15553
15554 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15556 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15557 Moved to ...
15558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15559 Here.
15560 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15561 to ...
15562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15563 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15564 to ...
15565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15566 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15567 to ...
15568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15569 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15570 to ...
15571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15572 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15573 to ...
15574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15575 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15576 to ...
15577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15578 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15579 to ...
15580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15581 Here.
15582 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15583 to ...
15584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15585 Here.
15586 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15587 to ...
15588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15589 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15590 Moved to ...
15591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15592 Here.
15593 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15594 to ...
15595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15596
d128e450
JM
155972012-05-04 Joseph Myers <joseph@codesourcery.com>
15598
fa8ee516
JM
15599 * sysdeps/unix/common/bits/dirent.h: Remove file.
15600 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15601
d128e450
JM
15602 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15603 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15604 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15605 * sysdeps/unix/bsd/isatty.c: Likewise.
15606 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15607 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15608 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15609
ff8faaf0 156102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15611
62881be4 15612 [BZ #13563]
31dc8730
AZ
15613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15614 long double comparison inaccuracies.
15615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15617
6fef930c
AS
156182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15619
15620 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15622
8f203e6c
JM
156232012-05-04 Joseph Myers <joseph@codesourcery.com>
15624
15625 [BZ #14049]
15626 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15627 nonzero digits before rounding a hex value.
15628 * stdlib/tst-strtod.c (tests): Add another test.
15629
5197d9c2
AK
156302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15631
15632 * sysdeps/s390/fpu/libm-test-ulps: Update.
15633
f0c1dedf
AJ
156342012-05-03 Andreas Jaeger <aj@suse.de>
15635
15636 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15637 does not get optimized out.
15638 (malloc_opt_barrier): New.
15639
a65ef2ae 156402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15641 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15642
2b942cb7 15643 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15644 intermediate file deletion.
2b942cb7 15645 (generated): Add .symlist files.
a65ef2ae 15646
54b71e02
JM
156472012-05-03 Joseph Myers <joseph@codesourcery.com>
15648
15649 [BZ #13775]
15650 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15651 Redirect under this condition.
15652 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15653 [__USE_GNU] (__dprintf_chk): Not under this condition.
15654 [__USE_GNU] (__vdprintf_chk): Likewise.
15655 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15656 under this condition.
15657 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15658 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15659 [__USE_XOPEN2K8] (vdprintf): Likewise.
15660 [__USE_GNU] (__dprintf_chk): Not under this condition.
15661 [__USE_GNU] (__vdprintf_chk): Likewise.
15662 [__USE_GNU] (dprintf): Likewise.
15663 [__USE_GNU] (vdprintf): Likewise.
15664
d3dfcc41
RM
156652012-05-03 Roland McGrath <roland@hack.frob.com>
15666
15667 * elf/Makefile (common-generated): Set this instead of generated for
15668 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15669 $(all-built-dso)-derived lists.
15670
7ac30cc5
AJ
156712012-05-03 Andreas Jaeger <aj@suse.de>
15672
0c51e550
AJ
15673 * sysdeps/i386/fpu/libm-test-ulps: Update.
15674
7ac30cc5
AJ
15675 * FAQ: Removed.
15676 * FAQ.in: Likewise.
15677 * scripts/gen-FAQ.pl: Likewise.
15678 * manual/install.texi (Installation): Point to online location of
15679 FAQ.
15680 * Makefile (files-for-dist): Remove FAQ.
15681 (FAQ): Remove.
15682
d4c2917f
AM
156832012-05-02 Allan McRae <allan@archlinux.org>
15684
15685 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15686 (LDFLAGS-reldepmod5.so): Likewise.
15687 (LDFLAGS-reldep6mod1.so): Likewise.
15688 (LDFLAGS-reldep6mod4.so): Likewise.
15689 (LDFLAGS-reldep8mod3.so): Likewise.
15690 (LDFLAGS-unload4mod1.so): Likewise.
15691 (LDFLAGS-unload4mod2.so): Likewise.
15692 (LDFLAGS-tst-initorder): Likewise.
15693 (LDFLAGS-tst-initordera2.so): Likewise.
15694 (LDFLAGS-tst-initordera3.so): Likewise.
15695 (LDFLAGS-tst-initordera4.so): Likewise.
15696 (LDFLAGS-tst-initorderb2.so): Likewise.
15697 (LDFLAGS-noload): Likewise.
15698 (LDFLAGS-next): Likewise.
15699 (LDFLAGS-order2mod1.so): Likewise.
15700 (LDFLAGS-order2mod2.so): Likewise.
15701 (LDFLAGS-tst-initorder2): Likewise.
15702 (LDFLAGS-tst-initorder2a.so): Likewise.
15703 (LDFLAGS-tst-initorder2b.so): Likewise.
15704 (LDFLAGS-tst-initorder2c.so): Likewise.
15705 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15706
d77f993f
DM
157072012-05-02 David S. Miller <davem@davemloft.net>
15708
15709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15710
171a70b4
PP
157112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15712
15713 [BZ #14055]
15714 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15715
0be196ad
AJ
157162012-05-02 Andreas Jaeger <aj@suse.de>
15717
15718 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15719 since we manipulate rounding mode.
15720 (CPPFLAGS-test-idouble.c): Likewise.
15721 (CPPFLAGS-test-ifloat.c): Likewise.
15722 (CFLAGS-test-ldouble.c): Likewise.
15723 (CFLAGS-test-double.c): Likewise.
15724 (CFLAGS-test-float.c): Likewise.
15725 (CFLAGS-test-misc.c): Likewise.
15726 (CFLAGS-test-test-fenv.c): Likewise.
15727
4f9d04aa
AZ
157282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15729
2b942cb7
RM
15730 [BZ #2550]
15731 [BZ #2570]
15732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15733 comparisons to determine direction to adjust input.
4f9d04aa 15734
82a79e7d
RM
157352012-05-01 Roland McGrath <roland@hack.frob.com>
15736
f5a01ca9
RM
15737 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15738 output to the target.
15739
90fe4186
RM
15740 * scripts/localplt.awk: New file.
15741 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15742 (check-localplt-CFLAGS): Variable removed.
15743 ($(all-built-dso:=.jmprel)): New static pattern rule.
15744 (generated): Add those targets.
15745 (localplt-built-dso): New variable.
15746 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
15747
15748 * elf/check-localplt.c: File removed.
15749
82397ed6
RM
15750 * scripts/check-execstack.awk: New file.
15751 * elf/Makefile ($(objpfx)check-execstack): Target removed.
15752 (check-execstack-CFLAGS): Variable removed.
15753 ($(objpfx)check-execstack.h): Target removed.
15754 ($(objpfx)execstack-default): New target.
15755 (generated): Add that instead of check-execstack.h.
15756 ($(all-built-dso:=.phdr)): New static pattern rule.
15757 (generated): Add those targets.
15758 * elf/check-execstack.c: File removed.
15759
82a79e7d
RM
15760 * scripts/check-textrel.awk: New file.
15761 * elf/Makefile ($(objpfx)check-textrel): Target removed.
15762 (check-textrel-CFLAGS): Variable removed.
15763 (all-built-dso): Use := to define.o
15764 ($(all-built-dso:=.dyn)): New static pattern rule.
15765 (generated): Add those targets.
15766 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
15767 * config.make.in (READELF): New substituted variable.
15768 * elf/check-textrel.c: File removed.
15769
62fde54f 157702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 15771
615605c9
JM
15772 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15773 allow.
15774 * conform/data/ctype.h-data [C99-based standards] (isblank):
15775 Expect function.
15776 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
15777 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
15778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15779 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
15780 Specify type. Require positive value.
15781 (EILSEQ): Likewise.
15782 (ERANGE): Likewise.
15783 [ISO || POSIX] (EILSEQ): Do not expect.
15784 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15785 Specify type. Require positive value.
15786 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15810 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15811 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15815 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15816 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15817 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15818 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15822 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15823 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15824 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15825 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15826 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15827 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15831 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15832 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15833 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15834 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15835 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15837 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15838 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15840 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15843 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15844 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15845 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15846 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15847 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15848 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15849 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15854 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15860 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15861 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15862 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15863 Require >= 2.
15864 (FLT_ROUNDS): Expect as macro, not constant.
15865 (FLT_MANT_DIG): Use macro-int-constant.
15866 (DBL_MANT_DIG): Likewise.
15867 (LDBL_MANT_DIG): Likewise.
15868 (FLT_DIG): Likewise.
15869 (DBL_DIG): Likewise.
15870 (LDBL_DIG): Likewise.
15871 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15872 (DBL_MIN_EXP): Likewise.
15873 (LDBL_MIN_EXP): Likewise.
15874 (FLT_MAX_EXP): Use macro-int-constant.
15875 (DBL_MAX_EXP): Likewise.
15876 (LDBL_MAX_EXP): Likewise.
15877 (FLT_MAX_10_EXP): Likewise.
15878 (DBL_MAX_10_EXP): Likewise.
15879 (LDBL_MAX_10_EXP): Likewise.
15880 (FLT_MAX): Use macro-constant.
15881 (DBL_MAX): Likewise.
15882 (LDBL_MAX): Likewise.
15883 (FLT_EPSILON): Use macro-constant. Give upper bound.
15884 (DBL_EPSILON): Likewise.
15885 (LDBL_EPSILON): Likewise.
15886 (FLT_MIN): Likewise.
15887 (DBL_MIN): Likewise.
15888 (LDBL_MIN): Likewise.
15889 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15890 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15891 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15892 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15893 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15894 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15895 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15896 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15897 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15898 [ISO11] (FLT_TRUE_MIN): Likewise.
15899 [ISO11] (LDBL_TRUE_MIN): Likewise.
15900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15901 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15902 (SCHAR_MIN): Use macro-int-constant. Specify type.
15903 (SCHAR_MAX): Likewise.
15904 (UCHAR_MAX): Likewise.
15905 (CHAR_MIN): Likewise.
15906 (CHAR_MAX): Likewise.
15907 (MB_LEN_MAX): Use macro-int-constant.
15908 (SHRT_MIN): Use macro-int-constant. Specify type.
15909 (SHRT_MAX): Likewise.
15910 (USHRT_MAX): Likewise.
15911 (INT_MAX): Likewise.
15912 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15913 bound negative.
15914 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15915 bound with "U".
15916 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15917 bound with "L".
15918 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15919 bound negative. Suffix upper bound with "L".
15920 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15921 bound with "UL".
15922 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15923 Specify type.
15924 [C99-based standards] (LLONG_MAX): Likewise.
15925 [C99-based standards] (ULLONG_MAX): Likewise.
15926 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15927 == 0.
15928 [ISO11] (max_align_t): Require type.
15929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15930
c9140a62
JM
15931 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15932 from $CFLAGS, without defining away __attribute__ calls.
15933 (checknamespace): Use $CFLAGS_namespace.
15934
9af0bf29
JM
15935 * conform/conformtest.pl (@keywords): Only include C99 keywords
15936 for standards based on C99 or C11.
15937
343222a2
JM
15938 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15939 Disable tests.
15940 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15941 UNIX98]: Likewise.
15942
661f8cf0
JM
15943 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15944 usability of symbols in #if.
15945
ee74b9cb
JM
15946 * conform/conformtest.pl: If macro or constant types start
15947 "promoted:", expect the symbol to be of the following type
15948 promoted by the integer promotions.
62fde54f 15949
aafc49b3
JM
15950 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15951 in one place. Also handle "macro-constant".
15952
fefdf574
JM
15953 * conform/conformtest.pl: Only accept expected macro values with
15954 "==". Parse all "macro" lines in one place.
15955 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15956
f2d922fe
JM
15957 * conform/conformtest.pl: Handle braced types on "constant" lines
15958 instead of handling "typed-constant".
15959 * conform/data/signal.h-data: Use "constant" instead of
15960 "typed-constant".
15961
d22956c9
JM
15962 * conform/conformtest.pl: Handle "optional-" at start of lines in
15963 one place rather than duplicating several cases. Handle each
15964 format of "macro" line with initial "optional-".
15965
028e2e38
JM
15966 * conform/conformtest.pl: Only accept expected constant or
15967 optional-constant values with "==". Parse all "constant" lines in
15968 one place. Parse all "optional-constant" lines in one place.
15969 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15970 * conform/data/fmtmsg.h-data: Likewise.
15971 * conform/data/netinet/in.h-data: Likewise.
15972 * conform/data/tar.h-data: Likewise.
15973 * conform/data/limits.h-data: Use "==" form on "constant" and
15974 "optional-constant" lines.
15975
1b8f2850
JM
15976 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15977 Use -std=c99 for XOPEN2K.
15978 (@knownproblems): Remove.
15979 (newtoken): Don't check %isknown.
15980
a05a144b
JM
15981 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15982 Do not expect macro.
15983 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15984 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15985 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15986 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15987 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15988 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15989 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15990 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15991 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15992 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15993 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15994 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15995 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15996 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15997 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15998 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15999 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16000 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16001 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16002 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16003 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16004 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16005 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16007 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16008 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16009 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16010 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16011 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16012 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16013 [XPG3] (acosh): Likewise.
16014 [XPG3] (asinh): Likewise.
16015 [XPG3] (atanh): Likewise.
16016 [XPG3] (cbrt): Likewise.
16017 [XPG3] (expm1): Likewise.
16018 [XPG3] (ilogb): Likewise.
16019 [XPG3] (log1p): Likewise.
16020 [XPG3] (logb): Likewise.
16021 [XPG3] (nextafter): Likewise.
16022 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16023 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16024 [XPG3] (remainder): Likewise.
16025 [XPG3] (rint): Likewise.
16026 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16027 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16028 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16029 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16030 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16031 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16032 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16033 [UNIX98 || XOPEN2K] (scalb): Expect.
16034 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16035 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16036 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16037 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16038 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16039 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16040 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16041 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16042 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16043 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16045 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16046 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16047 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16048 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16049 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16050 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16051 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16052 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16054 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16055 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16056 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16057 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16058 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16059 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16060 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16061 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16062 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16063 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16064 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16066 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16067 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16068 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16069 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16070 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16071 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16072 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16073 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16075 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16076 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16077 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16078 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16079 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16080 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16081 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16082 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16083 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16084 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16085 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16086 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16087 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16088 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16089 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16090 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16091 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16092 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16093 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16094 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16095 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16096 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16097 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16098 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16099 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16100 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16101 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16102 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16103 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16104 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16105 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16106 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16107 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16108 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16109 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16110 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16111 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16112 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16113 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16114 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16115 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16116 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16117 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16118 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16119 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16120 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16121 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16122 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16123 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16124 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16125 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16126 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16127 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16128 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16129 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16130 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16131 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16132 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16133 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16134 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16135 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16136 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16137 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16138 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16139 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16140 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16141 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16142 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16143 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16144 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16145 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16146 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16147 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16148 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16149 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16150 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16151 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16152 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16153 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16154 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16155 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16156 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16157 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16158 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16159 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16160 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16161 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16162 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16163 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16164 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16165 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16166 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16167 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16168 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16169 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16170 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16171
73c5ebe3
JM
16172 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16173 _XOPEN_SOURCE_EXTENDED for XPG4.
16174
39c33b6c
JM
16175 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16176
62fde54f
JM
16177 * Makeconfig (localtime): Remove variable.
16178 (inst_localtime-file): Likewise.
16179
0741d64c
AS
161802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16181
16182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16183 Update.
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16185 Update.
16186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16187 Update.
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16189 Update.
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16191 Update.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16193 Update.
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16195 Update.
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16197 Update.
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16199 Update.
16200
7cb029ee
JM
162012012-05-01 Joseph Myers <joseph@codesourcery.com>
16202
16203 [BZ #2550]
16204 [BZ #2570]
16205 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16206 comparisons to determine direction to adjust input.
16207 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16208 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16209 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16210 Likewise.
16211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16212 Likewise.
16213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16214 Likewise.
16215 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16216 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16217 Likewise.
16218 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16219 Likewise.
16220 * math/libm-test.inc (nexttoward_test): Add more tests.
16221
412bd966
AS
162222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16223
16224 [BZ #14040]
16225 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16226 in version GLIBC_2.1, not GLIBC_2.0.
16227 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16228 Likewise.
16229
9568c0c2
JM
162302012-04-30 Joseph Myers <joseph@codesourcery.com>
16231
adfbc8ac
JM
16232 [BZ #13942]
16233 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16234 (1 - x) * (1 + x).
16235 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16236 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16237 * math/libm-test.inc (acos_test): Add more tests.
16238 (asin_test): Likewise.
16239 * sysdeps/i386/fpu/libm-test-ulps: Update.
16240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16241
5ba3cc69
JM
16242 [BZ #14034]
16243 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16244 of square root.
16245 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16246 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16247 * math/libm-test.inc (acos_test_tonearest): New function.
16248 (acos_test_towardzero): Likewise.
16249 (acos_test_downward): Likewise.
16250 (acos_test_upward): Likewise.
16251 (asin_test_tonearest): Likewise.
16252 (asin_test_towardzero): Likewise.
16253 (asin_test_downward): Likewise.
16254 (asin_test_upward): Likewise.
16255 (main): Call the new functions.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16258
9568c0c2
JM
16259 [BZ #13884]
16260 [BZ #13924]
16261 * math/e_exp10.c: Include <float.h>.
16262 (__ieee754_exp10): Handle underflow here rather than multiplying
16263 large negative argument by M_LN10.
16264 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16265 of __ieee754_expf.
16266 * math/e_exp10l.c: Include <float.h>.
16267 (__ieee754_exp10l): Handle underflow here rather than multiplying
16268 large negative argument by M_LN10l.
16269 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16270 spurious overflow exception on underflow.
16271
5ac3ea17
MP
162722012-04-29 Marek Polacek <polacek@redhat.com>
16273
16274 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16275 (__fortify_function): New macro.
16276 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16277 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16278 __extern_always_inline.
16279 * libio/bits/stdio2.h: Likewise.
16280 * libio/bits/stdio.h: Likewise.
16281 * string/string.h: Likewise.
16282 * string/bits/string3.h: Likewise.
16283 * include/stdio.h: Likewise.
16284 * stdlib/bits/stdlib.h: Likewise.
16285 * stdlib/stdlib.h: Likewise.
16286 * rt/bits/mqueue2.h: Likewise.
16287 * rt/mqueue.h: Likewise.
16288 * posix/bits/unistd.h: Likewise.
16289 * posix/unistd.h: Likewise.
16290 * io/bits/poll2.h: Likewise.
16291 * io/bits/fcntl2.h: Likewise.
16292 * io/fcntl.h: Likewise.
16293 * io/sys/poll.h: Likewise.
16294 * misc/bits/syslog.h: Likewise.
16295 * misc/bits/syslog-ldbl.h: Likewise.
16296 * misc/sys/syslog.h: Likewise.
16297 * socket/bits/socket2.h: Likewise.
16298 * socket/sys/socket.h: Likewise.
16299 * debug/tst-chk1.c: Likewise.
16300 * wcsmbs/bits/wchar2.h: Likewise.
16301 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16302 * wcsmbs/wchar.h: Likewise.
16303
ecf0ebfb
AJ
163042012-04-29 Andreas Jaeger <aj@suse.de>
16305
16306 * Makerules (tests): Remove enable-check-abi protection.
16307 (check-abi-warn): Remove.
16308 (check-abi-%): Remove check-abi-warn usage.
16309
16310 * configure.in: Remove check-abi configure option.
16311 * configure: Regenerated.
16312 * config.make.in (enable-check-abi): Remove.
16313
6d5c57fa
AS
163142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16315
24c5d07e 16316 [BZ #14033]
ded5180a
AS
16317 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16318 double functions to double *_finite functions.
16319
7e0d315d
AS
16320 [BZ #13941]
16321 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16322 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16323 LDBL_MIN_EXP.
16324 * stdio-common/Makefile (tests): Add tst-sprintf3.
16325 * stdio-common/tst-sprintf3.c: New file.
16326
6d5c57fa
AS
16327 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16328 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16329
0749ff8b
JM
163302012-04-28 Joseph Myers <joseph@codesourcery.com>
16331
16332 * conform/conformtest.pl: Remove duplicate typed-constant
16333 handling.
16334
8dbd5d7b
DM
163352012-04-28 David S. Miller <davem@davemloft.net>
16336
16337 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16338 (check-abi-%): Remove AWK script prerequisite and explicit
16339 abilist directory.
16340 (check-abi): Rewrite to just diff the symlist with the abilist.
16341 (config-tls, config-abi-config): Delete, no longer used.
16342 (update-abi-%): Remove AWK script and explicit abilist directory.
16343 (update-abi): Rewrite to simply compare and conditionally copy the
16344 symlist and the sysdep abilist file. Remove update-abi-config
16345 checks.
16346 * abilist/ld.abilist: Remove.
16347 * abilist/libBrokenLocale.abilist: Remove.
16348 * abilist/libanl.abilist: Remove.
16349 * abilist/libcrypt.abilist: Remove.
16350 * abilist/libdl.abilist: Remove.
16351 * abilist/librt.abilist: Remove.
16352 * abilist/libthread_db.abilist: Remove.
16353 * abilist/libutil.abilist: Remove.
16354 * scripts/extract-abilist.awk: Remove.
16355 * scripts/merge-abilist.awk: Remove.
16356 * sysdeps/generic/libcidn.abilist: New file.
16357 * sysdeps/generic/libnss_compat.abilist: New file.
16358 * sysdeps/generic/libnss_db.abilist: New file.
16359 * sysdeps/generic/libnss_dns.abilist: New file.
16360 * sysdeps/generic/libnss_files.abilist: New file.
16361 * sysdeps/generic/libnss_hesiod.abilist: New file.
16362 * sysdeps/generic/libnss_nis.abilist: New file.
16363 * sysdeps/generic/libnss_nisplus.abilist: New file.
16364 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16365 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16366 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16367 file.
16368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16369 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16370 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16371 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16372 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16373 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16374 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16375 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16376 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16377 file.
16378 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16379 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16380 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16381 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16382 file.
16383 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16384 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16385 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16386 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16387 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16388 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16389 file.
16390 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16391 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16392 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16393 file.
16394 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16396 New file.
16397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16398 New file.
16399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16400 New file.
16401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16402 New file.
16403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16404 New file.
16405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16406 New file.
16407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16408 New file.
16409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16410 New file.
16411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16412 New file.
16413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16414 New file.
16415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16416 New file.
16417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16418 New file.
16419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16420 New file.
16421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16422 file.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16424 New file.
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16426 New file.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16428 file.
16429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16430 New file.
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16432 New file.
16433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16434 file.
16435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16436 New file.
16437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16438 New file.
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16440 New file.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16442 New file.
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16444 New file.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16446 New file.
16447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16449 file.
16450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16451 New file.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16453 file.
16454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16455 file.
16456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16457 file.
16458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16459 file.
16460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16461 file.
16462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16463 New file.
16464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16465 file.
16466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16467 file.
16468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16469 New file.
16470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16471 file.
16472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16474 file.
16475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16476 New file.
16477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16478 file.
16479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16480 file.
16481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16482 file.
16483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16484 file.
16485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16486 file.
16487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16488 New file.
16489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16490 file.
16491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16492 file.
16493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16494 New file.
16495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16496 file.
16497 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16498 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16499 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16500 file.
16501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16502 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16503 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16504 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16505 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16506 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16507 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16509 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16510 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16513 file.
16514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16515 New file.
16516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16517 file.
16518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16519 file.
16520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16521 file.
16522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16523 file.
16524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16525 file.
16526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16527 New file.
16528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16529 New file.
16530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16531 file.
16532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16533 New file.
16534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16535 file.
16536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16538 file.
16539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16540 New file.
16541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16542 file.
16543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16544 file.
16545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16546 file.
16547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16548 file.
16549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16550 file.
16551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16552 New file.
16553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16554 New file.
16555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16556 file.
16557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16558 New file.
16559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16560 file.
16561
41d73a1b
JM
165622012-04-28 Joseph Myers <joseph@codesourcery.com>
16563
16564 * conform/conformtest.pl: Fix typo in handling typed-constant from
16565 allow-header.
16566
28aeeda4
JM
165672012-04-27 Joseph Myers <joseph@codesourcery.com>
16568
adae8f5e
JM
16569 * README: Cut down references to pre-2.6 Linux kernels and
16570 Linuxthreads. Update lists of configurations in libc and ports
16571 and sort alphabetically. Say "or newer" with Linux kernel version
16572 requirements.
16573
28aeeda4
JM
16574 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16575
a462cb63
RA
165762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16577
16578 [BZ #887]
16579 * math/libm-test.inc (logb_test_downward): New test to expose
16580 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16581 rounding mode.
16582
6ad3493e
JM
165832012-04-27 Joseph Myers <joseph@codesourcery.com>
16584
16585 [BZ #14027]
16586 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16587 to be done.
16588 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16589 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16590
2ce4f015
JM
165912012-04-26 Joseph Myers <joseph@codesourcery.com>
16592
5aeb141a
JM
16593 * sysdeps/unix/i386/brk.S: Remove file.
16594 * sysdeps/unix/i386/dl-brk.S: Likewise.
16595 * sysdeps/unix/i386/pipe.S: Likewise.
16596 * sysdeps/unix/i386/sigreturn.S: Likewise.
16597 * sysdeps/unix/i386/syscall.S: Likewise.
16598 * sysdeps/unix/i386/vfork.S: Likewise.
16599 * sysdeps/unix/i386/wait.S: Likewise.
16600
7143acae
JM
16601 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16602 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16603
2ce4f015
JM
16604 * configure.in (arm*-none*): Do not allow without
16605 --enable-hacker-mode.
16606 (netbsd*): Remove case setting base_os.
16607 (386bsd*): Likewise.
16608 (freebsd*): Likewise.
16609 (bsdi*): Likewise.
16610 (osf*): Likewise.
16611 (sunos*): Likewise.
16612 (ultrix*): Likewise.
16613 (newsos*): Likewise.
16614 (dynix*): Likewise.
16615 (*bsd*): Likewise.
16616 (sysv*): Likewise.
16617 (isc*): Likewise.
16618 (esix*): Likewise.
16619 (sco*): Likewise.
16620 (minix*): Likewise.
16621 (irix4*): Likewise.
16622 (irix6*): Likewise.
16623 (solaris[2-9]*): Likewise.
16624 (none): Likewise.
16625 * configure: Regenerated.
16626
0ac229c8
AZ
166272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16628
16629 [BZ #11521]
16630 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16631 overflow or cancellation in calculating denominator.
16632 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16634 down expression to avoid unexpected rounding in newer GCCs.
16635 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16636
33f244f4
DM
166372012-04-26 David S. Miller <davem@davemloft.net>
16638
16639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16640 long-double compat symbols.
16641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16654
cfa1f3e8
DM
166552012-04-25 David S. Miller <davem@davemloft.net>
16656
16657 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16658 HWCAP_* values only after the memory barriers have been defined.
16659 (atomic_full_barrier): Define.
16660 (atomic_read_barrier): Define.
16661 (atomic_write_barrier): Define.
16662
6e236b92
SP
166632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16664
16665 * shlib-versions: Add libgcc_s version information.
16666 * sysdeps/generic/libgcc_s.h: Remove.
16667 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16668 libgcc_s.h.
16669 * sysdeps/gnu/unwind-resume.c: Likewise.
16670 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16671
aab39a09
DM
166722012-04-25 David S. Miller <davem@davemloft.net>
16673
16674 * sysdeps/unix/sparc/brk.S: Delete.
16675 * sysdeps/unix/sparc/dl-brk.S: Delete.
16676 * sysdeps/unix/sparc/pipe.S: Delete.
16677 * sysdeps/unix/sparc/sysdep.S: Delete.
16678 * sysdeps/unix/sparc/sysdep.h: Delete.
16679 * sysdeps/unix/sparc/vfork.S: Delete.
16680 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16681 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16683 ret_ERRVAL, r0, r1, MOVE): Define.
16684 (JUMPTARGET): Remove.
16685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16686 sysdeps/unix/sparc/sysdep.h
16687 (ENTRY, END): Remove.
16688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16689
a3cc4f48
JM
166902012-04-25 Joseph Myers <joseph@codesourcery.com>
16691
2ed8cda2
JM
16692 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16693 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16694 -DIS_IN_build.
16695
35d76d59
JM
16696 * timezone/README: Update upstream location and email address for
16697 tzcode and tzdata.
16698 * timezone/zdump.c: Update from tzcode 2012b.
16699 * timezone/zic.c: Likewise.
16700
a3cc4f48
JM
16701 * configure.in (libc_cv_as_needed): Remove test.
16702 * configure: Regenerated.
16703 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16704 conditional definition.
16705 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16706 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16707 * config.make.in (have-as-needed): Remove variable.
16708
ceab42c3
SP
167092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16710 Paul Pluzhnikov <ppluzhnikov@google.com>
16711
16712 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16713 strings correctly.
16714
3ce2865f
CLT
167152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16716
16717 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16718 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16719 * sysdeps/sh/strlen.S: Likewise.
16720
f37e0d68
JM
167212012-04-24 Joseph Myers <joseph@codesourcery.com>
16722
ae186e9a
JM
16723 * sysdeps/unix/fork.S: Remove file.
16724 * sysdeps/unix/i386/fork.S: Likewise.
16725 * sysdeps/unix/sparc/fork.S: Likewise.
16726
b96914af
JM
16727 * sysdeps/unix/system.c: Remove file.
16728 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16729
f37e0d68
JM
16730 * sysdeps/unix/getegid.S: Remove file.
16731 * sysdeps/unix/geteuid.S: Likewise.
16732
87ef29ca
RM
167332012-04-24 Roland McGrath <roland@hack.frob.com>
16734
83bcd236
RM
16735 * scripts/check-localplt.awk: New file.
16736 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16737 of diff.
16738 * scripts/data/localplt-generic.data: Add a comment.
16739
87ef29ca
RM
16740 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16741 NODE when __dir_mkfile failed.
16742 * sysdeps/mach/hurd/symlinkat.c: Likewise.
16743 Reported by Ludovic Courtès <ludo@gnu.org>.
16744
e5a6e567
AJ
167452012-04-24 Andreas Jaeger <aj@suse.de>
16746
16747 * Makerules (common-clean): Also remove gen-as-const-headers
16748 files.
16749
c1820385
JM
167502012-04-24 Joseph Myers <joseph@codesourcery.com>
16751
16752 * Makerules (native-compile): Do not change working directory for
16753 build. Use $(OUTPUT_OPTION) in command.
16754 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
16755
94e02fc4
AZ
167562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16757
16758 [BZ #13886]
16759 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
16760 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
16761 * math/libm-test.inc (floor_test): Add more tests.
16762 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
16763
3a533ca3
JM
167642012-04-24 Joseph Myers <joseph@codesourcery.com>
16765
940ab4b3
JM
16766 * sysdeps/unix/getdents.c: Remove file.
16767 * sysdeps/unix/sysv/getdents.c: Likewise.
16768 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
16769
90e037bd
JM
16770 * sysdeps/unix/syscalls.list (madvise): Add syscall from
16771 sysdeps/unix/mman/syscalls.list.
16772 (mmap): Likewise.
16773 (mprotect): Likewise.
16774 (msync): Likewise.
16775 (munmap): Likewise.
16776 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
16777 * sysdeps/unix/mman/syscalls.list: Remove.
16778 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
16779
3a533ca3
JM
16780 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
16781 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
16782 * configure: Regenerated.
16783 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16784 $(libgcc_s_suffix).
16785 * config.make.in (libgcc_s_suffix): Remove variable.
16786
1ad743de
JM
167872012-04-23 Joseph Myers <joseph@codesourcery.com>
16788
4ad451e2
JM
16789 * sysdeps/unix/sysv/gethostname.c: Move to ...
16790 * sysdeps/posix/gethostname.c: ... here.
16791
5e37ce39
JM
16792 * sysdeps/unix/execve.S: Remove file.
16793
1ad743de
JM
16794 * sysdeps/unix/_exit.S: Remove file.
16795
4e681b5b
AJ
167962012-04-23 Andreas Jaeger <aj@suse.de>
16797
16798 [BZ #13739]
16799 * manual/Makefile: Remove make dist support, there's no
16800 need for a stand-alone documentation tar ball.
16801 (TEXI2DVI): Define always, it's not in Makeconfig.
16802 (dist): Removed.
16803 (tar-it): Removed.
16804 (edition): Removed.
16805 (glibc-doc-$(edition).tar): Removed
16806 (%.Z): Removed.
16807 (%.gz): Removed.
16808 (%.uu): Removed.
16809 (ETAGS): Remove, it's in Makeconfig.
16810 (move-if-change): Remove, it's in Makeconfig.
16811
38686a03 168122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16813
16814 [BZ #13970]
16815 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16816 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16817 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16818 (strtod_l, strtof_l, strtold_l): Remove __wur.
16819 It is not necessarily an error to ignore strtol's return value.
16820 One can reliably look at the stored endptr to decide whether
16821 the number had valid syntax.
16822
7c0616fa
AJ
168232012-04-21 Andreas Jaeger <aj@suse.de>
16824
803cb6b7 16825 [BZ #13739]
7c0616fa
AJ
16826 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16827
b0fe253f
JM
168282012-04-21 Joseph Myers <joseph@codesourcery.com>
16829
16830 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16831 * sysdeps/unix/sysv/Versions: Remove file.
16832
8280f22d
MT
168332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16834
16835 [BZ #13927]
16836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16837
75ce411f 168382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16839
16840 [BZ #7064]
16841 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16842 version from __vm86.
16843
097d59fa
JM
168442012-04-20 Joseph Myers <joseph@codesourcery.com>
16845
a90f3bcb
JM
16846 * sysdeps/unix/common/lxstat.c: Remove file.
16847 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16848
edc7ea78
JM
16849 * sysdeps/unix/sysv/Makefile: Remove file.
16850
cb78c221
JM
16851 * sysdeps/unix/sysv/direct.h: Remove file.
16852
efa6a45f
JM
16853 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16854 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16855 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16856 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16857 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16858 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16859 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16860
9c9f2d0c
JM
16861 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16862
4541c83b
JM
16863 * sysdeps/unix/xmknod.c: Remove file.
16864 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16865
f5d153a0
JM
16866 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16867
aa746595
JM
16868 * sysdeps/unix/sysv/i386/time.S: Remove file.
16869
cce5905e
JM
16870 * sysdeps/unix/fxstat.c: Remove file.
16871 * sysdeps/unix/xstat.c: Likewise.
16872 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16873
37fa3841
JM
16874 * sysdeps/unix/sysv/sigaction.c: Remove file.
16875
ff1962a3
JM
16876 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16877 (sysdep_headers): Remove variable.
16878 [termio.h not in sysdep_headers] (generated): Likewise.
16879 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16880 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16881 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16882 * sysdeps/unix/sysv/tcflow.c: Likewise.
16883 * sysdeps/unix/sysv/tcflush.c: Likewise.
16884 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16885 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16886 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16887 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16888 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16889
e7740d31
JM
16890 * sysdeps/unix/siglist.c: Remove file.
16891
ee06f18b
JM
16892 * sysdeps/unix/getppid.S: Remove file.
16893
097d59fa
JM
16894 * sysdeps/unix/mkdir.c: Remove file.
16895 * sysdeps/unix/rmdir.c: Likewise.
16896
ff3d51ec
AS
168972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16898
16899 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16900 ERR_MAX value.
16901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16902 errlist-compat value.
16903
50f81fd7
DM
169042012-04-18 David S. Miller <davem@davemloft.net>
16905
16906 * sysdeps/generic/memcopy.h (reg_char): Delete.
16907 * debug/strcat_chk.c: Use char, not reg_char.
16908 * debug/strcpy_chk.c: Likewise.
16909 * debug/strncat_chk.c: Likewise.
16910 * debug/strncpy_chk.c: Likewise.
16911 * string/memchr.c: Likewise.
16912 * string/memrchr.c: Likewise.
16913 * string/rawmemchr.c: Likewise.
16914 * string/strcat.c: Likewise.
16915 * string/strchr.c: Likewise.
16916 * string/strchrnul.c: Likewise.
16917 * string/strcmp.c: Likewise.
16918 * string/strcpy.c: Likewise.
16919 * string/strncat.c: Likewise.
16920 * string/strncmp.c: Likewise.
16921 * string/strncpy.c: Likewise.
16922
8ff41c46
WS
169232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16924
16925 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16926 __builtin_memcopy is called when src and dest ranges are known to not
16927 overlap.
16928
6b652f46
WS
169292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16930
16931 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16932 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16933 fwd_align_merge macro call.
16934 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16935 bwd_align_merge macro call.
16936 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16937
b282631e
WS
169382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16939
16940 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16941 bwd_align_merge macros.
16942 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16943 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16945
95aa737c
DM
169462012-04-18 David S. Miller <davem@davemloft.net>
16947
16948 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16949
7a99a614
AJ
169502012-04-18 Andreas Jaeger <aj@suse.de>
16951
16952 [BZ# 6794]
16953 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16954 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16955 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16956
16957 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16958 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16959 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16960
16961 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16962 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16963 Adjust for changed ldbl-128 files.
16964
16965 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16966 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16967 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16968
e5270c23
DM
169692012-04-17 David S. Miller <davem@davemloft.net>
16970
16971 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16972
fb5e92c9
AS
169732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16974
16975 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16976 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16977 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16978 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16979 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16980 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16981
76da7265
AZ
169822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16983
16984 [BZ #6794]
16985 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16986 * math/libm-test.inc: Add ilogb errno and exception tests.
16987 * math/w_ilogb.c: New file: ilogb wrapper.
16988 * math/w_ilogbf.c: New file: ilogbf wrapper.
16989 * math/w_ilogbl.c: New file: ilogbl wrapper.
16990 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16991 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16992 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16993 exception being thrown with 0.0 as argument.
16994 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16995 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16996 exception being thrown with 0.0 as argument.
16997 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16998 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16999 exception being thrown with 0.0 as argument.
17000 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17001 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17002 exception being thrown with 0.0 as argument.
17003 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17004 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17006 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17007 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17008 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17009 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17010 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17011 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17012
0396e69d
PB
170132012-04-17 Petr Baudis <pasky@ucw.cz>
17014
17015 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17016 with altivec.
17017
750b5926
MP
170182012-04-16 Marek Polacek <polacek@redhat.com>
17019
17020 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17021
751728a1
MP
170222012-04-16 Marek Polacek <polacek@redhat.com>
17023
17024 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17025 operands of fdivp instruction.
17026
34a27407
L
170272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17028
17029 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17030 * elf/tst-auditmod3b.c: Likewise.
17031 * elf/tst-auditmod4b.c: Likewise.
17032 * elf/tst-auditmod5b.c: Likewise.
17033 * elf/tst-auditmod6b.c: Likewise.
17034 * elf/tst-auditmod6c.c: Likewise.
17035 * elf/tst-auditmod7b.c: Likewise.
17036 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17037 * sysdeps/x86_64/preconfigure.in: Likewise.
17038 * sysdeps/x86_64/preconfigure: Regenerated.
17039
7e73e17d
L
170402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17041
17042 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17043 __ILP32__.
17044
c7a6ab72
AB
170452012-04-13 Antoine Balestrat <merkil33@gmail.com>
17046
17047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17048 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17049
a9e8e0e0
CL
170502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17051
17052 [BZ #13973]
17053 * locale/iso-639.def: Fix gl language name. Spotted by
17054 Yaron Shahrabani.
17055
ec98af7d
RM
170562012-04-12 Roland McGrath <roland@hack.frob.com>
17057
17058 [BZ #2074]
17059 * libio/libio.h (__io_write_fn): Update comment.
17060
247c3ede
PB
170612012-04-12 Petr Baudis <pasky@ucw.cz>
17062
17063 [BZ #2074]
17064 * stdio.texi (Hook Functions): The user provided writer function
17065 is not allowed to return -1.
17066
55939d6d
DM
170672012-04-11 David S. Miller <davem@davemloft.net>
17068
17069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17070
90020f5a
MF
170712012-04-11 Mike Frysinger <vapier@gentoo.org>
17072
17073 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17074 Add a leading slash to rtkaio.
17075
288f9098
JM
170762012-04-11 Jim Meyering <meyering@redhat.com>
17077
90020f5a
MF
17078 [BZ #11959]
17079 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17080 It is not necessarily an error to ignore fwrite's return
17081 value. One can reliably use ferror to test for errors after
17082 the fact.
288f9098 17083
4be2b570
L
170842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17085
17086 * bits/types.h (__snseconds_t): New type.
17087 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17088
17089 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17091 (__SNSECONDS_T_TYPE): Likewise.
17092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17093 (__SNSECONDS_T_TYPE): Likewise.
17094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17095 (__SNSECONDS_T_TYPE): Likewise.
17096
288f9098 170972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17098
17099 [BZ #2636]
17100 * manual/time.texi (Processor Time): Return type of times is
17101 elapsed real time since an arbitrary point in the past.
17102 (CPU Time): Move CLK_TCK from here...
17103 (Processor Time): ...to here. Correct description.
17104 * manual/conf.texi (Constants for Sysconf): Correct description of
17105 _SC_CLK_TCK.
17106
d7dd4413
DM
171072012-04-10 David S. Miller <davem@davemloft.net>
17108
17109 [BZ #13967]
17110 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17111 where the is a gap between DT_REL(A) and DT_JMPREL.
17112
b46068fc
L
171132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17114
17115 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17116 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17117 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17118
73d65cc3
SP
171192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17120
17121 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17122 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17123 (dl_main): Handle --inhibit-cache.
17124 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17125 _dl_inhibit_cache.
17126 * elf/dl-load.c (_dl_map_object): Use it.
17127 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17128
bcc8d661
JM
171292012-04-09 Joseph Myers <joseph@codesourcery.com>
17130
8f9a2fae
JM
17131 [BZ #13872]
17132 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17133 (__ieee754_powl): Saturate large exponents rather than testing for
17134 overflow of y*log2(x).
17135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17136 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17137 exceptions.
17138
bcc8d661
JM
17139 [BZ #11521]
17140 * math/s_ctan.c: Include <float.h>.
17141 (__ctan): Avoid internal overflow or cancellation in calculating
17142 denominator.
17143 * math/s_ctanf.c: Likewise.
17144 * math/s_ctanl.c: Likewise.
17145 * math/s_ctanh.c: Likewise.
17146 * math/s_ctanhf.c: Likewise.
17147 * math/s_ctanhl.c: Likewise.
17148 * math/libm-test.inc (ctan_test): Add more tests.
17149 (ctanh_test): Likewise.
17150 * sysdeps/i386/fpu/libm-test-ulps: Update.
17151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17152
823fbbb4
AJ
171532012-04-09 Andreas Jaeger <aj@suse.de>
17154
03879793
AJ
17155 [BZ #6894]
17156 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17157 is an optional BSD extension.
17158
823fbbb4
AJ
17159 [BZ #10254]
17160 * manual/stdio.texi (Opening Streams): Document additional fopen
17161 parameters.
17162
8de131cb
RM
171632012-04-09 Roland McGrath <roland@hack.frob.com>
17164
17165 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17166 %eax without telling the compiler.
17167
c0ed9d7d
CD
171682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17169
17170 [BZ # 13963]
17171 * manual/install.texi: Use sourceware.org.
17172
c483f6b4
JM
171732012-04-09 Joseph Myers <joseph@codesourcery.com>
17174
d7dd9453
JM
17175 [BZ #13873]
17176 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17177 (__ieee754_pow): Generate overflow and underflow using huge*huge
17178 and tiny*tiny rather than just returning constant infinity or zero
17179 for large exponents.
17180 * math/libm-test.inc (pow_test): Require overflow exceptions for
17181 applicable cases of large exponents.
17182
c483f6b4
JM
17183 [BZ #706]
17184 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17185 (__ieee754_pow): Use iterative multiplication algorithm only for
17186 integer exponents with absolute value below 1024. Check for odd
17187 integer exponents when using algorithm for real exponents.
17188 * math/libm-test.inc (pow_test): Add more tests.
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17190
d2de7579
JM
171912012-04-08 Joseph Myers <joseph@codesourcery.com>
17192
17193 [BZ #13705]
17194 * math/libm-test.inc (exp_test): Do not allow overflow exception
17195 on underflow test.
17196
f77f1232
AJ
171972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17198
17199 [BZ #13705]
17200 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17201 instead of __kernel_standard_f.
17202
3884932b
MF
172032012-04-08 Mike Frysinger <vapier@gentoo.org>
17204
17205 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17206 * sysdeps/x86_64/memset_chk.S: Likewise.
17207
54472e9c
AJ
172082012-04-08 Andreas Jaeger <aj@suse.de>
17209
6ab0fbfc
AJ
17210 [BZ #10153]
17211 * manual/startup.texi (Environment Access): Describe return value
17212 for putenv and setenv.
17213
61efba8c
AJ
17214 [BZ #6895]
17215 * manual/filesys.texi (Directory Entries): Add description for
17216 DT_LNK.
17217
95c3f29a
AJ
17218 [BZ #6890]
17219 * manual/filesys.texi (Directory Entries): Clarify that it's file
17220 system not operating system in the description of DT_UNKNOWN.
17221
54472e9c
AJ
17222 [BZ #6578]
17223 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17224
624254b1
SC
172252012-04-08 Stephen Compall <s11@member.fsf.org>
17226
17227 [BZ #6649]
17228 * manual/llio.texi (Opening and Closing Files): Add cross
17229 reference to explain mode argument.
17230
1e4920e0
MF
172312012-04-07 Mike Frysinger <vapier@gentoo.org>
17232
17233 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17234 * sysdeps/x86_64/memset_chk.S: Likewise.
17235
5ed848f3
DM
172362012-04-07 David S. Miller <davem@davemloft.net>
17237
17238 * elf/elf.h (R_SPARC_WDISP10): Define.
17239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17240 R_SPARC_SIZE32.
17241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17242 R_SPARC_SIZE64 and R_SPARC_H34.
17243
96154cd8
CD
172442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17245
17246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17247 conditions and remove no longer applicable assertion.
17248
9904dc47
L
172492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17250
17251 * bits/byteswap.h: Include <features.h>.
17252 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17253 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17254
f8887d0a
L
172552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 * bits/byteswap.h (__bswap_16): Removed.
17258 Include <bits/byteswap-16.h> to get __bswap_16.
17259 * sysdeps/i386/bits/byteswap.h: Likewise.
17260 * sysdeps/s390/bits/byteswap.h: Likewise.
17261 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17262 * bits/byteswap-16.h: New file.
17263 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17264 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17265 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17266 * string/Makefile (headers): Add bits/byteswap-16.h.
17267
62470f60
PP
172682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17269
17270 [BZ #13895]
17271 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17272 extra indirection.
17273 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17274 * nss/tst-nss-static.c: New.
17275
4dad7bab
RM
172762012-04-06 Robert Millan <rmh@gnu.org>
17277
17278 [BZ #6486]
17279 * manual/llio.texi (File Position Primitive): lseek
17280 refers to WHENCE when it really means OFFSET.
17281
e9142a17
AJ
172822012-04-06 Andreas Jaeger <aj@suse.de>
17283
2c040eff
AJ
17284 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17285 strncmp declarations.
17286
e9142a17
AJ
17287 * abilist/libc.abilist: Add __poll and __ppoll.
17288
ff9f1c5f
DM
172892012-04-05 David S. Miller <davem@davemloft.net>
17290
dcd2ae90
DM
17291 * scripts/check-local-headers.sh: Accept a host triplet in the
17292 path matched by the exclude regexp.
17293
993eb054
DM
17294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17295 definition.
17296 * sysdeps/powerpc/powerpc32/dl-machine.h
17297 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17298 * sysdeps/s390/s390-32/dl-machine.h
17299 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17300 * sysdeps/sparc/sparc32/dl-machine.h
17301 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17302 * sysdeps/sparc/sparc64/dl-machine.h
17303 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17304
ff9f1c5f
DM
17305 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17306 lazy binding.
48e2e132 17307 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17308 undefined symbol errors.
17309
48e2e132 17310 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17311 DT_NEEDED entries.
17312
e80d6f94
MM
173132012-04-05 Michael Matz <matz@suse.de>
17314
17315 [BZ #13592]
17316 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17317
349fa79f
AJ
173182012-04-05 Andreas Jaeger <aj@suse.de>
17319
17320 [BZ #13908]
17321 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17322 comment.
17323
f402708f
KK
173242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17325
17326 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17327 which ROUND is no valid rounding mode.
17328
2ecccfc9
KK
173292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17330
17331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17332 read again.
17333 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17334
8a53f50f
KK
173352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17336
17337 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17338 an exception using FPU order intentionally.
17339
173402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17341
17342 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17343 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17344 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17345 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17346
d653abb7
SJ
173472012-04-05 Simon Josefsson <simon@josefsson.org>
17348
17349 [BZ #12340]
17350 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17351 EINVAL when BUFLEN is too smal.
17352
c3b1bf7d
TS
173532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17354
17355 [BZ #13553]
17356 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17357 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17358
b1aa60f3
AJ
173592012-04-03 Andreas Jaeger <aj@suse.de>
17360
c3b1bf7d 17361 [BZ #13938]
67f60a26
AJ
17362 * manual/setjmp.texi (System V contexts): Fix sentence.
17363
b1aa60f3
AJ
17364 [BZ #13926]
17365 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17366 New macro for this case.
17367 [!__GNUC__] (__bswap_64): New inline function for this case.
17368 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17369 * bits/byteswap.h: Likewise.
17370 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17371 ull, guard with __GLIBC_HAVE_LONG_LONG.
17372
17373 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17374 __GLIBC_HAVE_LONG_LONG.
17375
17376 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17377 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17378
39c59c35
TMQMF
173792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17380
17381 [BZ #13691]
17382 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17383 inptr and inend, rather than using last_ch.
17384
135ffda8
DM
173852012-04-02 David S. Miller <davem@davemloft.net>
17386
17387 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17388 * stdio-common/printf-parse.h (read_int): Change return type to
17389 'int', return -1 on INT_MAX overflow.
17390 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17391 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17392 overflows INT_MAX. Check for overflow of in-format-string precision
17393 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17394 SIZE_MAX not INT_MAX for integer overflow test.
17395 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17396 skip the construct in the format string but do not record anything.
17397 * stdio-common/bug22.c: Adjust to test both width/prevision
17398 INT_MAX overflow as well as total length INT_MAX overflow. Check
17399 explicitly for proper errno values.
17400
228c019e
TS
174012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17402
302cadd3
TS
17403 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17404 CHAR_MAX.
17405 * string/test-strcmp.c [! WIDE]: Likewise.
17406 * time/tst-mktime2.c: Likewise for INT_MAX.
17407 * string/test-string.h: #include <sys/param.h> for MIN.
17408
228c019e
TS
17409 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17410 * sysdeps/i386/init-first.c (init): Likewise.
17411 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17412 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17413 * sysdeps/sh/init-first.c (init): Likewise.
17414
cfa633f5
UD
174152012-04-01 Ulrich Drepper <drepper@gmail.com>
17416
17417 * po/ru.po: Update from translation team.
d1635ef8 17418 * po/vi.po: Likewise.
cfa633f5 17419
6cd0a5ea
SP
174202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17421
17422 * resolv/nss_dns/dns-host.c: Merge copyright years.
17423
4b43400f
LD
174242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17425
17426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17427 Optimize memcpy with prefetch if
17428 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17429 src, dst pointers have unequal 16 byte alignments.
17430
48c41d04
SP
174312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17432
17433 [BZ #13928]
17434 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17435 from a CNAME entry and return the minimum ttl for the query.
17436 (gaih_getanswer_slice): Likewise.
17437
b8dc394d
JL
174382012-03-30 Jeff Law <law@redhat.com>
17439
17440 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17441 due to long keys.
17442 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17443 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17444
2f5a5ed0
JL
17445 * resolv/nss_dns/dns-host.c: Update copyright year.
17446
1d39e359
UD
174472012-03-30 Ulrich Drepper <drepper@gmail.com>
17448
c030f70c 17449 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17450 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17451
1d39e359
UD
17452 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17453 comments for sendmmsg.
17454
174552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17456
17457 [BZ #13691]
17458 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17459 with only 1 character between 0x0041 and 0x01b0.
17460 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17461 * wcsmbs/tst-mbsnrtowcs.c: New file.
17462
20fde227
DM
174632012-03-29 David S. Miller <davem@davemloft.net>
17464
17465 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17466 small copies by hand.
17467
984a4237
JL
174682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17469
17470 [BZ #13761]
17471 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17472 _nss_compat_initgroups_dyn): Fall back to malloc/free
17473 for large group memberships.
17474
18c9d62b
DM
174752012-03-28 David S. Miller <davem@davemloft.net>
17476
88d85d4f
DM
17477 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17478 that branches into memcpy.
17479 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17482 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17484 bits.
17485 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17486 implementation too.
17487 * sysdeps/sparc/mempcpy.S: New file.
17488
e5aa83e1
DM
17489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17490 the IFUNC routine in the libc case.
17491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17492
88570753
DM
17493 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17494 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17495 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17496 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17497 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17498 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17499 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17500 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17501
249d7567
DM
17502 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17503 loop to 256 bytes instead of 64 bytes and fix test signedness.
17504
18c9d62b
DM
17505 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17506 * sysdeps/sparc/sparc32/Makefile: rather than here...
17507 * sysdeps/sparc/sparc64/Makefile: and here.
17508
05f3d1f6
UD
175092012-03-28 Ulrich Drepper <drepper@gmail.com>
17510
17511 * malloc/mallocbug.c: Avoid warnings about unused variables.
17512
86ae07a8
JL
175132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17514
17515 [BZ #13760]
17516 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17517 in the right place. Discard and retry query if response is
17518 larger than input buffer size.
17519
41bf21a1
JM
175202012-03-28 Joseph Myers <joseph@codesourcery.com>
17521
d6270972
JM
17522 [BZ #369]
17523 [BZ #2678]
17524 [BZ #3866]
17525 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17526 x for large integer exponent.
17527 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17528 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17529 sign of result as needed afterwards.
17530 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17531 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17532 result for underflowing pow the same as for overflow.
17533 (__kernel_standard_l): Handle powl overflow and underflow here
17534 rather than calling __kernel_standard.
17535 * math/libm-test.inc (pow_test): Add more tests.
17536
414fca03 17537 [BZ #3868]
41bf21a1
JM
17538 [BZ #13879]
17539 [BZ #13910]
17540 [BZ #13911]
17541 [BZ #13912]
17542 [BZ #13913]
17543 [BZ #13915]
17544 [BZ #13916]
17545 [BZ #13917]
17546 [BZ #13918]
17547 [BZ #13919]
17548 [BZ #13920]
17549 [BZ #13921]
17550 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17551 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17552 (__kernel_standard_l): New function.
17553 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17554 __kernel_standard.
17555 * math/w_acosl.c (__acosl): Likewise.
17556 * math/w_asinl.c (__asinl): Likewise.
17557 * math/w_atan2l.c (__atan2l): Likewise.
17558 * math/w_atanhl.c (__atanhl): Likewise.
17559 * math/w_coshl.c (__coshl): Likewise.
17560 * math/w_exp10l.c (__exp10l): Likewise.
17561 * math/w_exp2l.c (__exp2l): Likewise.
17562 * math/w_fmodl.c (__fmodl): Likewise.
17563 * math/w_hypotl.c (__hypotl): Likewise.
17564 * math/w_j0l.c (__j0l, __y0l): Likewise.
17565 * math/w_j1l.c (__j1l, __y1l): Likewise.
17566 * math/w_jnl.c (__jnl, __ynl): Likewise.
17567 * math/w_lgammal.c (__lgammal): Likewise.
17568 * math/w_log10l.c (__log10l): Likewise.
17569 * math/w_log2l.c (__log2l): Likewise.
17570 * math/w_logl.c (__logl): Likewise.
17571 * math/w_powl.c (__powl): Likewise.
17572 * math/w_remainderl.c (__remainderl): Likewise.
17573 * math/w_scalbl.c (sysv_scalbl): Likewise.
17574 * math/w_sinhl.c (__sinhl): Likewise.
17575 * math/w_sqrtl.c (__sqrtl): Likewise.
17576 * math/w_tgammal.c (__tgammal): Likewise.
17577 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17578 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17579 * math/libm-test.inc (acos_test): Add more tests.
17580 (acosh_test): Likewise.
17581 (asin_test): Likewise.
17582 (atanh_test): Likewise.
17583 (exp_test): Likewise.
17584 (exp10_test): Likewise.
17585 (exp2_test): Likewise.
17586 (expm1_test): Likewise.
17587 (lgamma_test): Likewise.
17588 (log_test): Likewise.
17589 (log10_test): Likewise.
17590 (log1p_test): Likewise.
17591 (log2_test): Likewise.
17592 (pow_test): Do not allow some spurious overflow exceptions.
17593 (sqrt_test): Add more tests.
17594 (tgamma_test): Likewise.
17595 (y0_test): Likewise.
17596 (y1_test): Likewise.
17597 (yn_test): Likewise.
17598
dd62fda6
AB
175992012-03-27 Anton Blanchard <anton@samba.org>
17600
17601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17602 MAP_HUGETLB.
17603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17604 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17606
1e3cdfda
AJ
176072012-03-27 David S. Miller <davem@davemloft.net>
17608
b855ab85
DM
17609 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17610
1e3cdfda
AJ
17611 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17612 have-as-vis3 check.
17613
176142012-03-27 Andreas Jaeger <aj@suse.de>
17615
17616 * sysdeps/x86_64/elf/configure.in: Moved to ...
17617 * sysdeps/x86_64/configure.in: ... here.
17618 * sysdeps/x86_64/elf/start.S: Moved to ...
17619 * sysdeps/x86_64/start.S: ... here.
17620 * sysdeps/x86_64/elf/configure: Delete.
17621
17622 * sysdeps/x86_64/configure.in: Merge contents from
17623 sysdeps/i386/configure.in (without i686 check).
17624
17625 * sysdeps/i386/elf/Versions: Merge into ...
17626 * sysdeps/i386/Versions: ... this.
17627 * sysdeps/i386/elf/Versions: Delete file.
17628 * sysdeps/i386/elf/start.S: Moved to ...
17629 * sysdeps/i386/start.S: ...here.
17630 * sysdeps/i386/elf/configure.in: Merge into...
17631 * sysdeps/i386/configure.in: ...here.
17632 * sysdeps/i386/elf/configure.in: Delete file.
17633 * sysdeps/i386/elf/configure: Delete file.
17634
17635 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17636 * debug/backtracesyms.c: ... here.
17637 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17638 * debug/backtracesymsfd.c: ... here.
17639 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17640 * sysdeps/generic/ifunc-sel.h: ... here.
17641
17642 * sysdeps/unix/i386/start.c: Delete file.
17643 * sysdeps/unix/sparc/start.c: Delete file.
17644 * sysdeps/unix/start.c: Delete file.
17645
17646 * sysdeps/sh/elf/configure.in: Moved to ...
17647 * sysdeps/sh/configure.in: ... here.
17648 * sysdeps/sh/elf/start.S: Moved to ...
17649 * sysdeps/sh/start.S: ... here.
17650 * sysdeps/sh/elf/configure: Delete file.
17651
17652 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17653 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17654 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17655 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17656 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17657 * sysdeps/powerpc/powerpc64/start.S: here.
17658 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17659 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17660 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17661 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17662 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17663
17664 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17665 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17666 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17667 * sysdeps/powerpc/powerpc32/start.S: ... here.
17668 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17669 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17670 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17671
17672 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17673 * sysdeps/powerpc/ifunc-sel.h: ... here.
17674 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17675 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17676
17677 * sysdeps/sparc/elf/configure.in: Moved to ...
17678 * sysdeps/sparc/configure.in: ... here.
17679 * sysdeps/sparc/elf/configure: Delete file.
17680 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17681 * sysdeps/sparc/sparc32/start.S: ... here.
17682 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17683 * sysdeps/sparc/sparc64/start.S: ... here.
17684 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17685 * sysdeps/sparc/sparc32/Makefile: ... this.
17686 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17687 * sysdeps/sparc/sparc64/Makefile: ... this.
17688
17689 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17690 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17691 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17692 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17693 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17694 * sysdeps/s390/s390-32/setjmp.S: ... here.
17695 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17696 * sysdeps/s390/s390-32/configure.in: ... here.
17697 * sysdeps/s390/s390-32/elf/configure: Delete file.
17698 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17699 * sysdeps/s390/s390-32/start.S: ... here.
17700
17701 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17702 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17703 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17704 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17705 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17706 * sysdeps/s390/s390-64/setjmp.S: ... here.
17707 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17708 * sysdeps/s390/s390-64/configure.in: ... here
17709 * sysdeps/s390/s390-64/elf/configure: Delete file.
17710 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17711 * sysdeps/s390/s390-64/start.S: ... here.
17712 * sysdeps/s390/s390-64/elf/configure: Delete.
17713
17714 * configure.in: Remove support for elf directories in sysdeps.
17715
17716 * configure: Regenerated.
17717 * sysdeps/i386/configure: Regenerated.
17718 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17719 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17720 * sysdeps/s390/s390-32/configure: Regenerated.
17721 * sysdeps/s390/s390-64/configure: Regenerated.
17722 * sysdeps/sh/configure: Regenerated.
17723 * sysdeps/sparc/configure: Regenerated.
17724 * sysdeps/x86_64/configure: Regenerated.
17725
a3f61311
AS
177262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17727
c876e002
AS
17728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17729
a3f61311
AS
17730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17731 denormal result into account.
17732
ac4c54f0
RM
177332012-03-25 Roland McGrath <roland@hack.frob.com>
17734
17735 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17736 Reported by Allan McRae <allan@archlinux.org>.
17737
6a9b9c02
JL
177382012-03-23 Jeff Law <law@redhat.com>
17739
17740 * nss/getnssent.c (__nss_getent): Fix typo.
17741
4c42a0c1
DM
177422012-03-23 David S. Miller <davem@davemloft.net>
17743
17744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17745
1532c7ac
L
177462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
17747
17748 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
17749 to pad to uint64_t for each field.
17750 (dl_tls_index): Replace unsigned long with uint64_t.
17751
3ff42526
PP
177522012-03-23 Daniel Jacobowitz <dmj@google.com>
17753 Paul Pluzhnikov <ppluzhnikov@google.com>
17754
17755 [BZ #6528]
17756 * grp/Makefile (otherlibs): Don't set it.
17757 * inet/Makefile (otherlibs): Likewise.
17758 * login/Makefile (otherlibs): Likewise.
17759 * nscd/Makefile (otherlibs): Likewise.
17760 * posix/Makefile (otherlibs): Likewise.
17761 * pwd/Makefile (otherlibs): Likewise.
17762 * rt/Makefile (otherlibs): Likewise.
17763 * sunrpc/Makefile (otherlibs): Likewise.
17764 * nss/Makefile (otherlibs): Likewise.
17765 Add libnss_files to routines and static-only-routines.
17766 ($(objpfx)getent): Remove rule.
17767 * resolv/Makefile: Add libnss_dns and libresolv to routines and
17768 static-only-routines.
17769
7c69cd14
JM
177702012-03-22 Joseph Myers <joseph@codesourcery.com>
17771
17772 [BZ #13892]
17773 * math/s_cexp.c: Include <float.h>.
17774 (__cexp): Handle exp result overflowing not necessarily
17775 overflowing both real and imaginary parts of result.
17776 * math/s_cexpf.c: Likewise.
17777 * math/s_cexpl.c: Likewise.
17778 * math/libm-test.inc (cexp_test): Add more tests.
17779 * sysdeps/i386/fpu/libm-test-ulps: Update.
17780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17781
81b035fe
L
177822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17783
17784 * include/link.h (ELFW): New macro.
17785 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17786 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17787
1da7940c
L
177882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17791 with uint64_t.
17792
b749dbb9
L
177932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17794
17795 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17796 declaration.
17797 (struct La_x32_retval): Likewise.
17798
2ff87f3f
L
177992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17800
17801 * sysdeps/x86_64/preconfigure.in: New file.
17802 * sysdeps/x86_64/preconfigure: New generated file.
17803
c0df8e69
JM
178042012-03-22 Joseph Myers <joseph@codesourcery.com>
17805
48e44791
JM
17806 [BZ #13824]
17807 * math/e_exp2l.c: Include <float.h>.
17808 (__ieee754_exp2l): Handle overflow and underflow cases
17809 separately. Only pass fractional part of argument to
17810 __ieee754_expl.
17811 * math/libm-test.inc (exp2_test): Add more tests.
17812
c0df8e69
JM
17813 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17814 negating x to take absolute value.
17815 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17816 Likewise.
17817 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17818 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17819 Likewise.
17820 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17821 computing low part if x was negated.
17822 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17823
c8e43ba7
L
178242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17825
17826 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17827 la_x32_gnu_pltexit.
17828 (pltexit): Cast int_retval to ptrdiff_t.
17829 * elf/tst-auditmod3b.c: Likewise.
17830 * elf/tst-auditmod4b.c: Likewise.
17831 * elf/tst-auditmod5b.c: Likewise.
17832 * elf/tst-auditmod6b.c: Likewise.
17833 * elf/tst-auditmod6c.c: Likewise.
17834 * elf/tst-auditmod7b.c: Likewise.
17835
17836 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17837 and x32_gnu_pltexit.
17838
17839 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17840 __ELF_NATIVE_CLASS.
17841 (La_x32_regs): New macro.
17842 (La_x32_retval): Likewise.
17843 (la_x32_gnu_pltenter): New function prototype.
17844 (la_x32_gnu_pltexit): Likewise.
17845
7998fa78
AS
178462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17847
dcb33988
AS
17848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17849 exponent.
17850
233fc563
AS
17851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17852
7998fa78
AS
17853 * configure.in (libc_cv_cc_nofma): Check for option to disable
17854 generation of FMA instructions.
17855 * configure: Regenerate.
17856 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17857 * sysdeps/ieee754/dbl-64/Makefile: New file.
17858 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17859 Remove brandred-fma4.
17860 (CFLAGS-brandred-fma4.c): Remove.
17861 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17862 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17863 define.
17864 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17865 define.
17866
8e95c99a
L
178672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17868
17869 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17870 LLONG_MAX != LONG_MAX.
17871 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17872 (_fitoa_word): Likewise.
17873 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17874 LLONG_MAX != LONG_MAX.
17875 * stdio-common/_itowa.h: Include <_itoa.h>.
17876 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17877 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17878 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17879 only if not defined.
17880 (_ITOA_WORD_TYPE): Likewise.
17881 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17882 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17883
6f4db457
DM
178842012-03-21 David S. Miller <davem@davemloft.net>
17885
17886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17887
7785fe5a
L
178882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17889
17890 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17891 of x86_64 when setting libc_cv_slibdir, libdir and
17892 libc_cv_localedir.
17893 * sysdeps/unix/sysv/linux/configure: Regenerated.
17894
4535cd55
JM
178952012-03-21 Joseph Myers <joseph@codesourcery.com>
17896
17897 * manual/lang.texi (Old Varargs): Remove section.
17898 (How Variadic): Update menu.
17899 (va_start): Do not mention varargs.h.
17900
17228132
TS
179012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17902 Joseph Myers <joseph@codesourcery.com>
17903
17904 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17905 link test.
17906 * configure: Regenerated.
17907
8149f976
TS
179082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17909
05f3d1f6
UD
17910 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17911 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17912 conformtest.pl
8149f976 17913
1a4ac776
JM
179142012-03-21 Joseph Myers <joseph@codesourcery.com>
17915
be22ce65
JM
17916 * NOTES: Remove.
17917 * Makefile (files-for-dist): Remove NOTES.
17918 (NOTES): Remove rule.
17919 * README: Don't refer to NOTES.
17920 * manual/creature.texi: Don't include macros.texi.
17921 * manual/intro.texi (creature.texi): Remove comment referring to
17922 NOTES.
17923
40b601fb
JM
17924 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17925 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17926 * configure: Regenerated.
17927 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17928 LIBC_TRY_CC_OPTION.
17929 (libc_cv_as_i686): Likewise.
17930 (libc_cv_cc_avx): Likewise.
17931 (libc_cv_cc_sse2avx): Likewise.
17932 (libc_cv_cc_fma4): Likewise.
17933 (libc_cv_cc_novzeroupper): Likewise.
17934 * sysdeps/i386/configure: Regenerated.
17935
1a4ac776
JM
17936 [BZ #13883]
17937 * sysdeps/i386/fpu/s_cexp.S: Remove.
17938 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17939 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17940 * math/libm-test.inc (cexp_test): Add more tests.
17941 * sysdeps/i386/fpu/libm-test-ulps: Update.
17942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17943
a458e7fe
AM
179442012-03-21 Allan McRae <allan@archlinux.org>
17945
17946 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17947
0cb7efc5
JM
179482012-03-21 Joseph Myers <joseph@codesourcery.com>
17949
17950 [BZ #13871]
17951 * math/w_exp2.c: Do not include <float.h>.
17952 (o_threshold, u_threshold): Remove.
17953 (__exp2): Calculate result before checking finiteness and calling
17954 __kernel_standard.
17955 * math/w_exp2f.c: Likewise.
17956 * math/w_exp2l.c: Likewise.
17957 * math/libm-test.inc (exp2_test): Require overflow exception for
17958 1e6 input.
2460d3aa
JM
17959
17960 [BZ #3866]
17961 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17962 range of signed 64-bit integers before using fistpll. Remove
17963 checks for whether integers fit in mantissa bits.
17964 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17965 the range of signed 32-bit integers before using fistpl. Remove
17966 checks for whether integers fit in mantissa bits.
17967 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17968 (__ieee754_powl): Test for y outside the range of signed 64-bit
17969 integers before using fistpll. Reduce 64-bit values to 63-bit
17970 ones as needed.
17971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17972 divide-by-zero is raised for zero to large negative powers.
17973 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17974 (__ieee754_powl): Test for y outside the range of signed 64-bit
17975 integers before using fistpll. Reduce 64-bit values to 63-bit
17976 ones as needed.
17977 * math/libm-test.inc (pow_test): Add more tests.
17978
eb96ffb0
L
179792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17980
17981 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17982 <stdio-common/_itoa.h>.
17983 * debug/segfault.c: Likewise.
17984 * elf/dl-cache.c: Likewise.
17985 * elf/dl-minimal.c: Likewise.
17986 * elf/dl-misc.c: Likewise.
17987 * elf/dl-sysdep.c: Likewise.
17988 * elf/dl-version.c: Likewise.
17989 * elf/rtld.c: Likewise.
17990 * hurd/hurdsock.c: Likewise.
17991 * hurd/lookup-retry.c: Likewise.
17992 * malloc/malloc.c: Likewise.
17993 * malloc/mtrace.c: Likewise.
17994 * nscd/nscd_getgr_r.c: Likewise.
17995 * nscd/nscd_getpw_r.c: Likewise.
17996 * nscd/nscd_getserv_r.c: Likewise.
17997 * posix/getopt_init.c: Likewise.
17998 * posix/wordexp.c: Likewise.
17999 * stdio-common/_itoa.c: Likewise.
18000 * stdio-common/printf_fphex.c: Likewise.
18001 * stdio-common/vfprintf.c: Likewise.
18002 * string/_strerror.c: Likewise.
18003 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18004 * sysdeps/i386/i686/hp-timing.h: Likewise.
18005 * sysdeps/mach/_strerror.c: Likewise.
18006 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18007 * sysdeps/mach/hurd/sethostid.c: Likewise.
18008 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18009 * sysdeps/mach/xpg-strerror.c: Likewise.
18010 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18011 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18012 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18013 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18014 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18015 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18017 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18018 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18019 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18020 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18021 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18022 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18023 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18024 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18025 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18026 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18027 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18028 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18029 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18030 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18031
18032 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18033
18034 * stdio-common/_itoa.h: Moved to ...
18035 * sysdeps/generic/_itoa.h: Here.
18036
18037 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18038
18039 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18040 instead of "_itoa.h" and "_itowa.h".
18041 * stdio-common/vfprintf.: Likewise.
18042
d1af992d
L
180432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18044
18045 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18046 <bits/wordsize.h>.
18047 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18048 (__signbit): Likwise.
18049 (llrintf): Likwise.
18050 (llrint): Likwise.
18051
114883e0
L
180522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18053
18054 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18055 __WORDSIZE != 64.
18056
c135cc1b
JM
180572012-03-20 Joseph Myers <joseph@codesourcery.com>
18058
18059 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18060 OVERFLOW_EXCEPTION_OK.
18061 * math/libm-test.inc ("Philosophy"): Update comment about
18062 exception testing.
18063 (OVERFLOW_EXCEPTION): Define.
18064 (OVERFLOW_EXCEPTION_OK): Likewise.
18065 (INVALID_EXCEPTION_OK): Renumber.
18066 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18067 (IGNORE_ZERO_INF_SIGN): Likewise.
18068 (test_exceptions): Handle FE_OVERFLOW.
18069 (exp10_test): Expect overflow exceptions.
18070 (exp2_test): Likewise.
18071 (expm1_test): Likewise.
18072 (nextafter_test): Likewise.
18073 (pow_test): Likewise.
18074 (scalbn_test): Likewise.
18075 (scalbln_test): Likewise.
18076
95443d88
L
180772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18078
18079 * sysdeps/x86_64/bits/atomic.h
18080 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18081 64bit integer.
18082 (atomic_exchange_acq): Likewise.
18083 (__arch_exchange_and_add_body): Likewise.
18084 (__arch_add_body): Likewise.
18085 (atomic_add_negative): Likewise.
18086 (atomic_add_zero): Likewise.
18087
490df6c4
L
180882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18089
c2722551 18090 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18091 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18092
5e52b189
L
180932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18094
18095 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18096 Check __x86_64__ instead of __WORDSIZE.
18097
a9879d4c
L
180982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18099
18100 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18101
5df98260
DM
181022012-03-19 David S. Miller <davem@davemloft.net>
18103
e1497744
DM
18104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18105
5df98260
DM
18106 * sysdeps/sparc/fpu/fenv_private.h: New file.
18107 * sysdeps/sparc/fpu/math_private.h: Use it.
18108 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18109 Remove.
18110 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18111 (libc_feholdexcept_setroundl): Remove.
18112 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18113 Remove.
18114 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18115 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18116
b4c35121
L
181172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18118
18119 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18120 int64_t instead of long int.
18121 (INSERT_WORDS64): Likwise.
18122
56965fd7
L
181232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18124
18125 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18126 _Unwind_GetCFA return to _Unwind_Ptr first.
18127
83d1aec8
JM
181282012-03-19 Joseph Myers <joseph@codesourcery.com>
18129
1897ad44
JM
18130 [BZ #13629]
18131 * math/s_clog.c: Include <float.h>.
18132 (__clog): Scale large or subnormal inputs.
18133 * math/s_clogf.c: Likewise.
18134 * math/s_clogl.c: Likewise.
18135 * math/s_clog10.c: Include <float.h>.
18136 (M_LOG10_2): Define.
18137 (__clog10): Scale large or subnormal inputs.
18138 * math/s_clog10f.c: Likewise.
18139 * math/s_clog10l.c: Likewise.
18140 * math/libm-test.inc (clog_test): Add more tests.
18141 (clog10_test): Likewise.
18142 * sysdeps/i386/fpu/libm-test-ulps: Update.
18143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18144
7726d6a9
JM
18145 [BZ #11451]
18146 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18147 x and y.
18148 * math/libm-test.inc (atan2_test): Add another test.
18149
83d1aec8
JM
18150 * Makerules (common-objdir-compile): Remove.
18151 * sysdeps/unix/Makefile (config-generated): Do not add
18152 $(unix-generated) to variable.
18153 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18154 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18155 Remove rule.
18156 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18157 Likewise.
18158 [generic bits/local_lim.h] (before-compile): Do not append to
18159 variable.
18160 [generic bits/local_lim.h] (common-generated): Likewise.
18161 [generic sys/param.h] (before-compile): Do not append to variable.
18162 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18163 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18164 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18165 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18166 include.
18167 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18168 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18169 [generic sys/param.h] ($(addprefix
18170 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18171 [generic sys/param.h] (common-generated): Do not append to
18172 variable.
18173 [generic sys/param.h] (sysdep_headers): Likewise.
18174 [generic bits/errno.h] (before-compile): Do not append to
18175 variable.
18176 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18177 rule.
18178 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18179 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18180 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18181 [generic bits/errno.h] (common-generated): Do not append to
18182 variable.
18183 [generic bits/ioctls.h] (before-compile): Do not append to
18184 variable.
18185 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18186 rule.
18187 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18188 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18189 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18190 rule.
18191 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18192 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18193 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18194 [generic bits/ioctls.h] (common-generated): Do not append to
18195 variable.
18196 [generic sys/syscall.h] (syscall.h): Remove variable.
18197 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18198 rule.
18199 [generic sys/syscall.h] (before-compile): Do not append to
18200 variable.
18201 [generic sys/syscall.h] (common-generated): Likewise.
18202 * sysdeps/unix/errnos-tmpl.c: Remove file.
18203 * sysdeps/unix/errnos.awk: Likewise.
18204 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18205 * sysdeps/unix/ioctls.awk: Likewise.
18206 * sysdeps/unix/mk-local_lim.c: Likewise.
18207 * sysdeps/unix/snarf-ioctls: Likewise.
18208
4851a949
RH
182092012-03-19 Richard Henderson <rth@twiddle.net>
18210
bd37f2ee
RH
18211 * sysdeps/i386/fpu/fenv_private.h: New file.
18212 * sysdeps/i386/fpu/math_private.h: Use it.
18213 (math_opt_barrier, math_force_eval): Remove.
18214 (libc_feholdexcept_setround_53bit): Remove.
18215 (libc_feupdateenv_53bit): Remove.
18216 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18217 (math_opt_barrier, math_force_eval): Remove.
18218 (libc_feholdexcept): Remove.
18219 (libc_feholdexcept_setround): Remove.
18220 (libc_fetestexcept, libc_fesetenv): Remove.
18221 (libc_feupdateenv_test): Remove.
18222 (libc_feupdateenv, libc_feholdsetround): Remove.
18223 (libc_feresetround): Remove.
18224
d0adc922
RH
18225 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18226 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18227
0fe0f1f8
RH
18228 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18229 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18230 (libc_feupdateenv_testl): New.
18231 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18232 (libc_feupdateenv_testf): New.
18233 (libc_feupdateenv): Use libc_feupdateenv_test.
18234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18235 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18236
eb92c487
RH
18237 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18238 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18239 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18240 (libc_feresetround_noex): New.
18241 (libc_feresetround_noexf): New.
18242 (libc_feresetround_noexl): New.
18243 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18244 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18245 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18246 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18247 SET_RESTORE_ROUND.
18248 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18250 (__cos): Likewise.
18251 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18252 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18253 SET_RESTORE_ROUND_NOEX.
18254 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18255 SET_RESTORE_ROUND_NOEXF.
18256 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18257 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18258 (libc_feholdsetroundf): New.
18259 (libc_feresetround, libc_feresetroundf): New.
18260
7d2e8012
RH
18261 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18262 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18263 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18264
b4dabbb4
RH
18265 * sysdeps/generic/math_private.h: Include <fenv.h>.
18266 (default_libc_feholdexcept): New.
18267 (default_libc_feholdexcept_setround): New.
18268 (default_libc_fesetenv, default_libc_feupdateenv): New.
18269 (libc_feholdexcept): Only define if undefined.
18270 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18271 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18272 (libc_feholdexcept_setroundl): Likewise.
18273 (libc_feholdexcept_setround_53bit): Likewise.
18274 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18275 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18276 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18277 (libc_feupdateenv_53bit): Likewise.
18278 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18279 (libc_feholdexcept): Convert from macro to inline function.
18280 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18281 (libc_fesetenv, libc_feupdateenv): Likewise.
18282
4851a949
RH
18283 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18284 not previously defined.
18285 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18286 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18287 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18288 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18289 * sysdeps/ieee754/flt-32/math_private.h: New file.
18290 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18291 math_private.h below SET_FLOAT_WORD.
18292 (__isnan, __isinf_ns, __finite): Remove.
18293 (__isnanf, __isinf_nsf, __finitef): Remove.
18294
e79d442e
AS
182952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18296
18297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18298
90b80344
DM
182992012-03-17 David S. Miller <davem@davemloft.net>
18300
18301 [BZ #6471]
18302 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18303 for 2.16.
18304
edc21804
DM
183052012-03-16 David S. Miller <davem@davemloft.net>
18306
77e927af
DM
18307 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18308 warnings.
18309
374976dd
DM
18310 [BZ #6471]
18311 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18312 properly.
18313 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18314 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18315 sysdep_routines when subdir is sysvipc.
18316 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18317 __getshmlba helper.
18318
edc21804
DM
18319 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18320
473c3ef3
L
183212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18322
18323 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18324 [__LP64__].
18325
eb0f39b6
L
183262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18327
18328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18329 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18330 (__lround): Renamed to ...
18331 (__llround): This. Replace long int with long long int.
18332 Define lround functions as aliases of llround functions.
18333 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18334
6b6cd74b
L
183352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18338 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18339 adresses to uintptr_t. Replace "long int" and "unsigned long
18340 int" with "greg_t" on va_arg.
18341
f1a77b01
L
183422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18343
18344 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18345 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18346
18347 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18348 Move e_machine check before EI_CLASS check. Handle x32
18349 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18350 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18351 SKIP_EM_IA_64 and include
18352 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18353
18354 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18355 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18356 (add_system_dir): New macro.
18357
18358 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18359 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18360
11b90b9f
JM
183612012-03-16 Joseph Myers <joseph@codesourcery.com>
18362
c36e1d23
JM
18363 [BZ #2551]
18364 [BZ #2552]
18365 [BZ #2553]
18366 [BZ #2554]
18367 [BZ #2562]
18368 [BZ #2563]
18369 [BZ #2565]
18370 [BZ #2566]
18371 [BZ #2576]
18372 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18373 (y0): Likewise.
18374 * math/w_j0f.c (j0f): Likewise.
18375 (y0f): Likewise.
18376 * math/w_j0l.c (__j0l): Likewise.
18377 (__y0l): Likewise.
18378 * math/w_j1.c (j1): Likewise.
18379 (y1): Likewise.
18380 * math/w_j1f.c (j1f): Likewise.
18381 (y1f): Likewise.
18382 * math/w_j1l.c (__j1l): Likewise.
18383 (__y1l): Likewise.
18384 * math/w_jn.c (jn): Likewise.
18385 (yn): Likewise.
18386 * math/w_jnf.c (jnf): Likewise.
18387 (ynf): Likewise.
18388 * math/w_jnl.c (__jnl): Likewise.
18389 (__ynl): Likewise.
18390 * math/libm-test.inc (j0_test): Add more tests.
18391 (j1_test): Likewise.
18392 (jn_test): Likewise. Add trailing semicolon to existing test.
18393 (y0_test): Likewise.
18394 (y1_test): Likewise.
18395 * sysdeps/i386/fpu/libm-test-ulps: Update.
18396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18397
11b90b9f
JM
18398 [BZ #13851]
18399 [BZ #13854]
18400 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18401 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18402 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18403 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18404 (__tanl): Set errno for infinite argument.
18405 * sysdeps/i386/fpu/mptan.c: Remove.
18406 * sysdeps/i386/fpu/s_tan.S: Likewise.
18407 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18408 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18409 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18410 * math/libm-test.inc (tan_test): Add more tests and enable more
18411 tests for double and long double.
18412 * sysdeps/i386/fpu/libm-test-ulps: Update.
18413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18414
6a1bd2a1
JK
184152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18416
18417 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18418 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18419
10a803e0
RM
184202012-03-16 Roland McGrath <roland@hack.frob.com>
18421
18422 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18423 * configure.in: Use it for both main tree and add-ons.
18424 * configure: Regenerated.
18425
f196c7f7
L
184262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18427
18428 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18429
8848d99d
JM
184302012-03-16 Joseph Myers <joseph@codesourcery.com>
18431
96cbe7f4
JM
18432 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18433 in comment.
18434
8848d99d
JM
18435 [BZ #13851]
18436 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18437 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18438 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18440 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18441 infinite argument.
18442 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18444 != 0 for prec == 2.
18445 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18446 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18447 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18448 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18449 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18450 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18451 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18452 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18453 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18454 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18455 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18456 * math/libm-test.inc (cos_test): Add more tests and enable more
18457 tests for long double.
18458 (sin_test): Likewise.
18459 (sincos_test): Likewise.
18460 * sysdeps/i386/fpu/libm-test-ulps: Update.
18461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18462
dd7f4703
DM
184632012-03-16 David S. Miller <davem@davemloft.net>
18464
18465 * sysdeps/sparc/fpu/math_private.h: New file.
18466
006f1daa
DM
184672012-03-15 David S. Miller <davem@davemloft.net>
18468
c0c83bc8
DM
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18470 file.
e6a62e18 18471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18473 file.
e6a62e18
DM
18474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18480 sysdep routines.
18481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18482
88cb87d9
DM
18483 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18484 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18485
006f1daa 18486 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18488 sparc-ifunc.h
006f1daa 18489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18491 Likewise.
18492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18493 Likewise.
006f1daa
DM
18494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18498 Likewise.
006f1daa
DM
18499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18504 Likewise.
18505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18506 Likewise.
006f1daa
DM
18507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18531
11e0098e
AS
185322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18533
18534 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18535 scaling.
18536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18537
e85b09d0
AJ
185382012-03-15 Andreas Jaeger <aj@suse.de>
18539
18540 [BZ #13852]
18541 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18542 ieee754/flt-32 implementation for sin, cos and sincos.
18543 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18544 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18545 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18546 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18547 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18548 ieee754/flt-32 implementation for tan.
18549
18550 * math/libm-test.inc (cos_test): Enable some large input tests for
18551 float as well
18552 (sin_test): Likewise.
18553 (sincos_test): Likewise.
18554 (tan_test): Add tests for large input.
18555
18556 * sysdeps/i386/fpu/libm-test-ulps: Update.
18557
81c64153
AJ
185582012-03-15 Andreas Jaeger <aj@suse.de>
18559
18560 [BZ #13658]
18561 * math/libm-test.inc (cos_test): Add more test cases.
18562 (sin_test): Likewise.
18563 (sincos_test): Likewise.
18564
7bbfa5c6
AJ
185652012-03-15 Andreas Jaeger <aj@suse.de>
18566
18567 [BZ #13837]
18568 * math/libm-test.inc (cos_test): Add a test case for large input
18569 value.
18570 (sin_test): Likewise.
18571 (sincos_test): Likewise.
18572
185732012-03-15 Andreas Jaeger <aj@suse.de>,
18574 Joseph Myers <joseph@codesourcery.com>
18575
18576 [BZ #13658]
0671f479 18577 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18578 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18579 * sysdeps/i386/fpu/branred.c: Likewise.
18580 * sysdeps/i386/fpu/dosincos.c: Likewise.
18581 * sysdeps/i386/fpu/mpa.c: Likewise.
18582 * sysdeps/i386/fpu/s_cos.S: Likewise.
18583 * sysdeps/i386/fpu/s_sin.S: Likewise.
18584 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18585 * sysdeps/i386/fpu/sincos32.c: Likewise.
18586
18587 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18588 Define.
18589 (libc_feupdateenv_53bit): Define.
18590 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18591 Define.
18592 (libc_feupdateenv_53bit): Define.
18593
18594 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18595 53 bit (without extend i386 double precision).
18596
18597 * math/libm-test.inc (sincos_test): Add tests for large input.
18598 (sin): Likewise.
18599 (cos): Likewise.
18600
18601 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18602
9cad04ea
AS
186032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18604
18605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18606
f7062b9a
DM
186072012-03-15 David S. Miller <davem@davemloft.net>
18608
18609 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18610 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18611 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18612 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18625 file.
f7062b9a 18626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18628 file.
f7062b9a 18629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18631 file.
f7062b9a 18632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18634 file.
f7062b9a
DM
18635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18637 fmin/fmax sysdep routines.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18639
7bd951ff
DM
186402012-03-14 David S. Miller <davem@davemloft.net>
18641
559398ab
DM
18642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18666 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18671 routines.
18672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18673 file.
559398ab 18674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18676 file.
559398ab 18677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18679 file.
559398ab 18680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18682 file.
559398ab 18683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18685 file.
559398ab 18686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18688 file.
18689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18690 file.
18691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18692 file.
18693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18694 file.
18695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18696 New file.
18697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18698 file.
18699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18700 file.
559398ab 18701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18703 file.
559398ab 18704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18706 file.
559398ab 18707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18709 file.
559398ab 18710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18712 VIS3 routines.
559398ab
DM
18713
18714 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18715 New file.
18716
5a1c1e32
DM
18717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18718
eae47a36
DM
18719 * sysdeps/sparc/configure.in: New file.
18720 * sysdeps/sparc/configure: Generate.
18721 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18722 * configure: Regenerate.
18723 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18724 * config.make.in (have-as-vis3): New.
18725 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18726 available use -Av9d instead of -Av9a.
18727 * sysdeps/sparc/sparc64/Makefile: Likewise.
18728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18730 New file.
18731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18732 file.
18733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18734 New file.
18735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18736 file.
eae47a36
DM
18737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18742
c0c83bc8
DM
18743 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
18744 fzeros/fnegs to load 0x80000000 into a float register instead of
18745 using the stack.
7bd951ff
DM
18746 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
18747
bd951ccb
JM
187482012-03-14 Joseph Myers <joseph@codesourcery.com>
18749
18750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18751 bits/syscall.h.
18752 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
18753 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
18754 ($(inst_includedir)/bits/syscall.h): Remove rule.
18755 ($(objpfx)bits/syscall.d): Include instead of
18756 $(objpfx)syscall-list.d.
18757 (generated): Change syscall-list.h and syscall-list.d to
18758 bits/syscall.h and bits/syscall.d.
18759
bb4e6db2
RM
187602012-03-14 Roland McGrath <roland@hack.frob.com>
18761
18762 [BZ #13846]
18763 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
18764
aa4a2ae1
JM
187652012-03-14 Joseph Myers <joseph@codesourcery.com>
18766
e456826d
JM
18767 [BZ #13841]
18768 * math/s_csqrt.c: Include <float.h>.
18769 (__csqrt): Scale large or subnormal inputs.
18770 * math/s_csqrtf.c: Likewise.
18771 * math/s_csqrtl.c: Likewise.
18772 * math/libm-test.inc (csqrt_test): Add more tests.
18773 * sysdeps/i386/fpu/libm-test-ulps: Update.
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18775
aa4a2ae1
JM
18776 [BZ #13840]
18777 * math/libm-test.inc (hypot_test): Add more tests.
18778
7c10fd35
DM
187792012-03-13 David S. Miller <davem@davemloft.net>
18780
18781 [BZ #13840]
18782 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18783 double-precision for the calculation instead of scaling.
18784
f453b98b
JM
187852012-03-13 Joseph Myers <joseph@codesourcery.com>
18786
18787 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18788 manipulate bits before adding and subtracting TWO52[sx].
18789 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18790 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18791 Likewise.
18792 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18793
09a3453f
DM
187942012-03-13 David S. Miller <davem@davemloft.net>
18795
8e59da90
DM
18796 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18797 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18799 rtld-global-offsets.h
18800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18801
2a8ab7f2
DM
18802 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18803 large parameters.
18804
10f62770
DM
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18806
5f0bdb18
DM
18807 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18808 'err' in the ifdef scope in which it is actually used.
18809
09a3453f
DM
18810 * nss/nss_db/db-init.c: Include string.h
18811
b4b2eb5e
DM
188122012-03-12 David S. Miller <davem@davemloft.net>
18813
98bb2f1c
DM
18814 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18815 masking out of the most significant byte of random value used.
18816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18817 Fix coding style in previous change.
18818
b4b2eb5e
DM
18819 * sysdeps/unix/sysv/linux/kernel-features.h
18820 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18821 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18822 expression.
18823 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18824 later.
18825
6e226b09
DM
188262012-03-11 David S. Miller <davem@davemloft.net>
18827
a1bcbd40
DM
18828 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18829 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18830 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18831 for 'resultvar' otherwise things get truncated on 64-bit.
18832
cb9d6174
DM
18833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18834 Fix masking out of the most significant byte of random value used.
18835
6e226b09
DM
18836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18837
058c132d
AS
188382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18839
18840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18841
2d2cd515
DM
188422012-03-09 David S. Miller <davem@davemloft.net>
18843
18844 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18845 variables with appropriate CPP guards.
18846 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18847 frame pointer, not the stack pointer. Correct layout comments. Fix test
18848 on resulting framesize and the management of the outregs buffer for pltexit.
18849 Preserve floating point return values across _dl_call_pltexit call.
18850 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18851 framesize and the management of the outregs buffer for pltexit.
18852 Preserve floating point return values across _dl_call_pltexit
18853 call.
18854 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18855 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18856 (print_exit): Fix format string for return register value.
18857
9a07f9d0
JM
188582012-03-10 Joseph Myers <joseph@codesourcery.com>
18859
18860 * sunrpc/Makefile (others): Add rpcgen.
18861 ($(objpfx)rpcgen): Remove special build rule and dependency on
18862 libc.
18863 * sunrpc/rpcgen.c: New file.
18864
547b5e30
PE
188652012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18866
c524201a
PE
18867 [BZ #13673]
18868 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18869 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18870 * sysdeps/i386/crti.S: Likewise.
18871 * sysdeps/i386/crtn.S: Likewise.
18872 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18873 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18874 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18875 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18876 * sysdeps/sh/crti.S: Likewise.
18877 * sysdeps/sh/crtn.S: Likewise.
18878 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18879
7b6235f2
PE
18880 [BZ #13673]
18881 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18882 with URL.
18883 * locale/programs/locfile-kw.gperf: Likewise.
18884 * locale/programs/charmap-kw.h: Regenerated.
18885 * locale/programs/locfile-kw.h: Likewise.
18886
547b5e30
PE
18887 [BZ #13673]
18888 * intl/plural.y: Replace FSF snail mail address with URL.
18889 * intl/plural.c: Regenerated.
18890
5f0a5dae
RH
188912012-03-09 Richard Henderson <rth@twiddle.net>
18892
18893 * include/math_private.h: Remove file.
18894 * math/math_private.h: Move file ...
18895 * sysdeps/generic/math_private.h: ... here.
18896
b8c03620
RH
18897 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18898 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18899 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18900
4e234f5d 18901 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18902 and <math_private.h>.
18903 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18904 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18905 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18906 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18907 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18908 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18909 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18911 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18912 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18914 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18915 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18916 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18917 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18918 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18919 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18920 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18921 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18923 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18924 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18925 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18927 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18928 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18929 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18930 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18931 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18935 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18936 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18937 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18938 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18939 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18940 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18941 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18942 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18943 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18944 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18946 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18947 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18948 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18949 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18951 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18952 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18956 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18957 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18958 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18959 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18960 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18961 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18962 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18963 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18964 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18966 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18967 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18968 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18969 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18970 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18971 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18972 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18974 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18975 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18977 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18979 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18981 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18982 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18991 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18992 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18993 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18994 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18995 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18996 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18997 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18998 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18999 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19000 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19001 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19002 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19003 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19004 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19005 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19006 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19007 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19008 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19009 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19010 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19011 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19013 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19014 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19015 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19016 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19017 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19018 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19019 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19020 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19021 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19022 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19025 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19026 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19027 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19028 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19029 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19030 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19031 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19032 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19033 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19034 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19035 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19036 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19037 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19038 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19039 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19040 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19041 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19042 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19043 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19044 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19045 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19046 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19047 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19048 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19049 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19050 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19051 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19052 * sysdeps/ieee754/k_standard.c: Likewise.
19053 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19054 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19055 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19056 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19057 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19058 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19059 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19060 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19061 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19066 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19067 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19068 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19069 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19070 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19071 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19072 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19073 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19074 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19075 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19076 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19078 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19079 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19080 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19081 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19082 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19083 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19084 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19085 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19086 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19087 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19091 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19095 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19097 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19098 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19099 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19101 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19102 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19121 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19122 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19124 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19125 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19128 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19129 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19133 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19148 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19152 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19154 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19156 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19161 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19162 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19165 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19166 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19167 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19168 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19169 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19171 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19172 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19173 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19174 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19175 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19176 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19177 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19178 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19179 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19180 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19181 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19182 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19183 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19185 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19188 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19189 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19190 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19191 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19192 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19193 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19198 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19199 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19200 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19201 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19202 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19203 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19204 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19206 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19207 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19211 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19212 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19213 * sysdeps/ieee754/s_lib_version.c: Likewise.
19214 * sysdeps/ieee754/s_matherr.c: Likewise.
19215 * sysdeps/ieee754/s_signgam.c: Likewise.
19216 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19217 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19218 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19219 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19220 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19221 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19222 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19223 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19224 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19225 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19226 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19227 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19228 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19229 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19230 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19231 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19232 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19233 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19234 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19235 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19237
1991fa03
JM
192382012-03-09 Joseph Myers <joseph@codesourcery.com>
19239
19240 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19241 * sunrpc/rpc_main.c: Likewise.
19242 * sunrpc/rpc_svcout.c: Likewise.
19243
60d6f5a6
DM
192442012-03-09 David S. Miller <davem@davemloft.net>
19245
19246 * include/math_private.h: New file.
19247
4962050e
JM
192482012-03-09 Joseph Myers <joseph@codesourcery.com>
19249
02a6f887
JM
19250 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19251 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19252 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19253 from <bits/socket_type.h>.
19254 (enum __socket_type): Don't define here.
19255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19257 bits/socket_type.h.
19258
c6e013c1
JM
19259 [BZ #13566]
19260 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19261 checking __USE_GNU.
19262
4962050e
JM
19263 * Makerules ($(inst_includedir)/%.h): New rule.
19264 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19265 (install-others): Remove variable setting.
19266 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19267
38842f45
RH
192682012-03-08 Richard Henderson <rth@twiddle.net>
19269
67bb6da6
RH
19270 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19271 from macro to inline function; merge with the
19272 !__LIBC_INTERNAL_MATH_INLINES version.
19273 (__ieee754_sqrtf): Likewise.
19274
15194b4b
RH
19275 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19276 to inline function.
19277 (__rintf, __floor, __floorf): Likewise.
19278
64e21ede
RH
19279 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19280 macro to inline function.
19281 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19282
38842f45
RH
19283 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19284 not <math/math_private.h>.
19285
c64bf5fe
DM
192862012-03-08 David S. Miller <davem@davemloft.net>
19287
19288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19289 copyright year.
19290 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19291
82d86f28
TS
192922012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19293
19294 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19295 normalization.
19296 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19297 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19298
aea5d727
UD
192992012-03-08 Ulrich Drepper <drepper@gmail.com>
19300
19301 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19302 be defined individually, they must be defined as a block. Define
19303 S for printing a string instead of hidint the different by using a
19304 macro for adding the 'l'.
19305 * stdio-common/tst-fphex-wide.c: Adjust.
19306
70bca0a3
MP
193072012-03-07 Marek Polacek <polacek@redhat.com>
19308
19309 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19310
65b81130
MP
193112012-03-08 Marek Polacek <polacek@redhat.com>
19312
19313 [BZ #13806]
19314 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19315 * stdio-common/tst-fphex.c: Define a few macros to make the
19316 test reusable. Use them.
19317 * stdio-common/tst-fphex-wide.c: New file.
19318
07037eeb
JM
193192012-03-08 Joseph Myers <joseph@codesourcery.com>
19320
a7a93d50
JM
19321 [BZ #6911]
19322 * manual/macros.texi (gnusystems): New macro.
19323 (nongnusystems): Likewise.
19324 (gnulinuxhurdsystems): Likewise.
19325 (gnuhurdsystems): Likewise..
19326 (gnulinuxsystems): Likewise.
19327 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19328 variants of the GNU system, not "GNU system".
19329 * manual/conf.texi: Likewise.
19330 * manual/errno.texi: Likewise. Update example of errno macro
19331 expansion.
19332 * manual/filesys.texi: Likewise.
19333 (getumask): Document as specific to GNU/Hurd.
19334 * manual/install.texi: Likewise. Reword some references to
19335 GNU/Linux.
19336 * manual/intro.texi: Likewise.
19337 * manual/io.texi: Likewise.
19338 (File Name Portability): Detail which constraints are inapplicable
19339 to all GNU systems and which are only inapplicable to GNU/Hurd.
19340 * manual/job.texi: Likewise.
19341 * manual/llio.texi: Likewise.
19342 (O_NOCTTY): Document as present on GNU/Linux.
19343 * manual/maint.texi: Likewise.
19344 * manual/memory.texi: Likewise.
19345 * manual/pattern.texi: Likewise.
19346 * manual/pipe.texi: Likewise.
19347 * manual/process.texi: Likewise.
19348 * manual/resource.texi: Likewise.
19349 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19350 child on GNU/Hurd.
19351 * manual/setjmp.texi: Likewise.
19352 * manual/signal.texi: Likewise.
19353 * manual/startup.texi: Likewise.
19354 * manual/stdio.texi: Likewise.
19355 * manual/terminal.texi: Likewise.
19356 (ONLCR): Document as POSIX.
19357 (OXTABS): Document availability on GNU/Linux as XTABS.
19358 (ONOEOT): Document availability separately from other bits.
19359 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19360 * manual/time.texi: Likewise.
19361 * manual/users.texi: Likewise.
19362 * INSTALL: Regenerated.
19363 * sysdeps/gnu/errlist.c: Regenerated.
19364
07037eeb
JM
19365 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19366 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19367 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19368 puts.
19369 * configure: Regenerated.
19370
d1d3431a
JM
193712012-03-07 Joseph Myers <joseph@codesourcery.com>
19372
af6a1e37
JM
19373 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19374 default includes instead of AC_HEADER_CHECK.
19375 * sysdeps/i386/configure: Regenerated.
19376
d1d3431a
JM
19377 [BZ #10716]
19378 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19379 * math/s_cacoshf.c (__cacoshf): Likewise.
19380 * math/s_cacoshl.c (__cacoshl): Likewise.
19381 * math/s_casinh.c (__casinh): Set signs of result from argument.
19382 * math/s_casinhf.c (__casinhf): Likewise.
19383 * math/s_casinhl.c (__casinhl): Likewise.
19384 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19385 (casinh_test): Add more tests.
19386 * sysdeps/i386/fpu/libm-test-ulps: Update.
19387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19388
482ff4da
UD
193892012-03-07 Ulrich Drepper <drepper@gmail.com>
19390
872fda05
UD
19391 * po/zh_TW.po: Update from translation team.
19392
a4300c7a
UD
19393 * login/Makefile (distribute): Remove variable.
19394 * catgets/Makefile: Likewise.
19395 * mach/Makefile: Likewise.
19396 * malloc/Makefile: Likewise.
19397 * misc/Makefile: Likewise.
19398 * iconv/Makefile: Likewise.
19399 * nscd/Makefile: Likewise.
19400 * hurd/Makefile: Likewise.
19401 * manual/Makefile: Likewise.
19402 * locale/Makefile: Likewise.
19403 * intl/Makefile: Likewise.
19404 * conform/Makefile: Likewise.
19405 * nss/Makefile: Likewise.
19406 * time/Makefile: Likewise.
19407 * soft-fp/Makefile: Likewise.
19408 * dirent/Makefile: Likewise.
19409 * gmon/Makefile: Likewise.
19410 * po/Makefile: Likewise.
19411 * rt/Makefile: Likewise.
19412 * socket/Makefile: Likewise.
19413 * math/Makefile: Likewise.
19414 * signal/Makefile: Likewise.
19415 * debug/Makefile: Likewise.
19416 * elf/Makefile: Likewise.
19417 * timezone/Makefile: Likewise.
19418 * stdlib/Makefile: Likewise.
19419 * iconvdata/Makefile: Likewise.
19420 * sunrpc/Makefile: Likewise.
19421 * io/Makefile: Likewise.
19422 * argp/Makefile: Likewise.
19423 * inet/Makefile: Likewise.
19424 * hesiod/Makefile: Likewise.
19425 * grp/Makefile: Likewise.
19426 * csu/Makefile: Likewise.
19427 * wctype/Makefile: Likewise.
19428 * crypt/Makefile: Likewise.
19429 * libio/Makefile: Likewise.
19430 * string/Makefile: Likewise.
19431 * nis/Makefile: Likewise.
19432 * resolv/Makefile: Likewise.
19433 * stdio-common/Makefile: Likewise.
19434 * wcsmbs/Makefile: Likewise.
19435 * dlfcn/Makefile: Likewise.
19436 * posix/Makefile: Likewise.
19437
3b7c4e74 19438 [BZ #6959]
482ff4da
UD
19439 * timezone/Makefile: Don't install timezone files, just the programs
19440 and scripts.
19441
f72ed77d
UD
194422012-03-06 Ulrich Drepper <drepper@gmail.com>
19443
a000466f
UD
19444 * nss/databases.def: Add missing gshadow entry.
19445
f72ed77d
UD
19446 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19447
a53b7a4e
MP
194482012-03-06 Marek Polacek <polacek@redhat.com>
19449
19450 [BZ #13726]
19451 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19452 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19453 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19454 * stdio-common/tst-long-dbl-fphex.c: New file.
19455
e9258400
DM
194562012-03-06 David S. Miller <davem@davemloft.net>
19457
19458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19459 (set_obp_int): New function.
19460 (get_obp_int): New function.
19461 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19462 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19463 Avoid unused variable warnings on 'val' and use builtin_expect.
19464 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19465 __builtin_expect.
e9258400
DM
19466 (INLINE_CLONE_SYSCALL): Likewise.
19467
3bd2c723
DM
194682012-03-05 David S. Miller <davem@davemloft.net>
19469
19470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19471
bbb78d03
AS
194722012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19473
884c5db4
AS
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19475
bbb78d03
AS
19476 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19477 only for |x| >= 40.
19478 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19479
1c9f702a 194802012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19481
19482 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19483 Replace gettimeofday with __vdso_gettimeofday.
19484
7be16f82
RM
19485 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19486 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19487 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19488
19489 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19490 time with __vdso_time.
19491
ed58a00f
JM
194922012-03-05 Joseph Myers <joseph@codesourcery.com>
19493
19494 * manual/lang.texi (size_t): Note types to which size_t may be
19495 equivalent with the GNU C Library, but do not describe when
19496 differences between them are significant.
19497
30ee4ced
AJ
194982012-03-05 Andreas Jaeger <aj@suse.de>
19499
19500 * sysdeps/i386/fpu/libm-test-ulps: Update.
19501
b7cd39e8
JM
195022012-03-05 Joseph Myers <joseph@codesourcery.com>
19503
19504 [BZ #3976]
19505 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19506 (__ieee754_pow): Save and restore rounding mode and use
19507 round-to-nearest for main computations.
19508 * math/libm-test.inc (pow_test_tonearest): New function.
19509 (pow_test_towardzero): Likewise.
19510 (pow_test_downward): Likewise.
19511 (pow_test_upward): Likewise.
19512 (main): Call the new functions.
19513 * sysdeps/i386/fpu/libm-test-ulps: Update.
19514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19515
19516 [BZ #3976]
19517 * math/libm-test.inc (cosh_test_tonearest): New function.
19518 (cosh_test_towardzero): Likewise.
19519 (cosh_test_downward): Likewise.
19520 (cosh_test_upward): Likewise.
19521 (sinh_test_tonearest): Likewise.
19522 (sinh_test_towardzero): Likewise.
19523 (sinh_test_downward): Likewise.
19524 (sinh_test_upward): Likewise.
19525 (main): Call the new functions.
19526 * sysdeps/i386/fpu/libm-test-ulps: Update.
19527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19528
6c6a98c9
TV
195292012-03-05 Tom de Vries <tom@codesourcery.com>
19530
19531 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19532 default stack guard is set in last bytes.
19533 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19534
21bb2d2e 195352012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19536
21bb2d2e 19537 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19538
21bb2d2e
AJ
19539 [BZ #13656]
19540 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19541 possibly allocate from heap instead of stack.
19542 * stdio-common/bug-vfprintf-nargs.c: New file.
19543 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19544
c6922934
AS
195452012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19546
19547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19548
bc957d53
MP
195492012-03-03 Marek Polacek <polacek@redhat.com>
19550
19551 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19552 * math/math_private.h: Likewise.
19553 * stdlib/tst-strtod.c: Likewise.
19554 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19555 * sysdeps/x86_64/bits/atomic.h: Likewise.
19556
6358490d
DM
195572012-03-02 David S. Miller <davem@davemloft.net>
19558
19559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19563 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19564 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19565 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19566 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19567
01ae168d
RM
195682012-03-02 Roland McGrath <roland@hack.frob.com>
19569
d9a17c07
RM
19570 [BZ #13792]
19571 * manual/examples/README: New file, says the example source files
19572 can be used under GPL>=2.
19573 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19574 line containing just "*/".
19575 * manual/examples/add.c: Add copyright header (GPL>=2).
19576 * manual/examples/argp-ex1.c: Likewise.
19577 * manual/examples/argp-ex2.c: Likewise.
19578 * manual/examples/argp-ex3.c: Likewise.
19579 * manual/examples/argp-ex4.c: Likewise.
19580 * manual/examples/atexit.c: Likewise.
19581 * manual/examples/db.c: Likewise.
19582 * manual/examples/dir.c: Likewise.
19583 * manual/examples/dir2.c: Likewise.
19584 * manual/examples/execinfo.c: Likewise.
19585 * manual/examples/filecli.c: Likewise.
19586 * manual/examples/filesrv.c: Likewise.
19587 * manual/examples/fmtmsgexpl.c: Likewise.
19588 * manual/examples/genpass.c: Likewise.
19589 * manual/examples/inetcli.c: Likewise.
19590 * manual/examples/inetsrv.c: Likewise.
19591 * manual/examples/isockad.c: Likewise.
19592 * manual/examples/longopt.c: Likewise.
19593 * manual/examples/memopen.c: Likewise.
19594 * manual/examples/memstrm.c: Likewise.
19595 * manual/examples/mkfsock.c: Likewise.
19596 * manual/examples/mkisock.c: Likewise.
19597 * manual/examples/mygetpass.c: Likewise.
19598 * manual/examples/pipe.c: Likewise.
19599 * manual/examples/popen.c: Likewise.
19600 * manual/examples/rprintf.c: Likewise.
19601 * manual/examples/search.c: Likewise.
19602 * manual/examples/select.c: Likewise.
19603 * manual/examples/setjmp.c: Likewise.
19604 * manual/examples/sigh1.c: Likewise.
19605 * manual/examples/sigusr.c: Likewise.
19606 * manual/examples/stpcpy.c: Likewise.
19607 * manual/examples/strdupa.c: Likewise.
19608 * manual/examples/strftim.c: Likewise.
19609 * manual/examples/strncat.c: Likewise.
19610 * manual/examples/subopt.c: Likewise.
19611 * manual/examples/swapcontext.c: Likewise.
19612 * manual/examples/termios.c: Likewise.
19613 * manual/examples/testopt.c: Likewise.
19614 * manual/examples/testpass.c: Likewise.
19615 * manual/examples/timeval_subtract.c: Likewise.
19616
01ae168d
RM
19617 [BZ #13792]
19618 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19619 function to ...
19620 * manual/timeval_subtract.c.texi: ... here, new file.
19621
49efa33d
DM
196222012-03-02 David S. Miller <davem@davemloft.net>
19623
19624 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19625
28afd92d
JM
196262012-03-02 Joseph Myers <joseph@codesourcery.com>
19627
804360ed
JM
19628 [BZ #3976]
19629 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19630 (__sin): Save and restore rounding mode and use round-to-nearest
19631 for all computations.
19632 (__cos): Save and restore rounding mode and use round-to-nearest
19633 for all computations.
19634 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19635 <fenv.h>.
19636 (tan): Save and restore rounding mode and use round-to-nearest for
19637 all computations.
19638 * math/libm-test.inc (cos_test_tonearest): New function.
19639 (cos_test_towardzero): Likewise.
19640 (cos_test_downward): Likewise.
19641 (cos_test_upward): Likewise.
19642 (sin_test_tonearest): Likewise.
19643 (sin_test_towardzero): Likewise.
19644 (sin_test_downward): Likewise.
19645 (sin_test_upward): Likewise.
19646 (tan_test_tonearest): Likewise.
19647 (tan_test_towardzero): Likewise.
19648 (tan_test_downward): Likewise.
19649 (tan_test_upward): Likewise.
19650 (main): Call the new functions.
19651 * sysdeps/i386/fpu/libm-test-ulps: Update.
19652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19653
a6d06d7b
JM
19654 [BZ #10135]
19655 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19656 small n, then large n, before computing and testing k+n.
19657 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19659 Likewise.
19660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19661 Likewise.
19662 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19663 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19666 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19667 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19668 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19669 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19670 * math/libm-test.inc (scalbn_test): Add more tests.
19671 (scalbln_test): Likewise.
19672
07e12bb3
JM
19673 * manual/filesys.texi (mode_t): Describe constraints on size and
19674 signedness, not exact equivalence to a particular type.
19675 (ino_t): Likewise.
19676 (ino64_t): Likewise.
19677 (dev_t): Likewise.
19678 (nlink_t): Likewise.
19679 (blkcnt_t): Likewise.
19680 (blkcnt64_t): Likewise.
19681 * manual/llio.texi (off_t): Likewise.
19682
28afd92d
JM
19683 [BZ #3976]
19684 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19685 (__ieee754_exp): Save and restore rounding mode and use
19686 round-to-nearest for all computations.
19687 * math/libm-test.inc (exp_test_tonearest): New function.
19688 (exp_test_towardzero): Likewise.
19689 (exp_test_downward): Likewise.
19690 (exp_test_upward): Likewise.
19691 (main): Call the new functions.
19692 * sysdeps/i386/fpu/libm-test-ulps: Update.
19693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19694
b1eeb65d
CD
196952012-03-01 Chris Demetriou <cgd@google.com>
19696
19697 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19698 have predictable order.
19699
53362a4b
DM
197002012-03-01 David S. Miller <davem@davemloft.net>
19701
3c969083
DM
19702 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19703
759707de
DM
19704 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19705 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19706 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19707 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19708
dfdb8ff2
DM
19709 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19710 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19711 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19713 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19714 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19715 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19716 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19717 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19718
ead89f96
DM
19719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19720
7f66bd07
DM
19721 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19722 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19723 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19724
53362a4b
DM
19725 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19726 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19727 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19728 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19729 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19730 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19731 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19732 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19733 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19734 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19735 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19736 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19737 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19738 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19739 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19740 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19741 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19742 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
19743 * sysdeps/sparc/elf/configure: Regenerated.
19744
7b1902cb
JM
197452012-03-01 Joseph Myers <joseph@codesourcery.com>
19746
bec039bc
JM
19747 * configure.in (AS, LD): Require binutils 2.20 or later.
19748 * configure: Regenerated.
19749 * manual/install.texi (Tools for Compilation): Give binutils 2.20
19750 as required minimum version.
19751 * INSTALL: Regenerated.
19752
7b1902cb
JM
19753 [BZ #2541]
19754 [BZ #4108]
19755 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
19756 before squaring exponent.
19757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
19758 bottom long double and 27 bits of top long double before squaring
19759 exponent.
19760 * math/libm-test.inc (erfc_test): Add more tests.
19761 * sysdeps/i386/fpu/libm-test-ulps: Update.
19762 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19764
f775c276
KT
197652012-03-01 Kai Tietz <ktietz@redhat.com>
19766
19767 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
19768 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
19769 containing bit-fields.
19770 * soft-fp/extended.h (_FP_UNION_E): Likewise.
19771 * soft-fp/single.h (_FP_UNION_S): Likewise.
19772 * soft-fp/double.h (_FP_UNION_D): Likewise.
19773
5b8a4d4a
JM
197742012-02-29 Joseph Myers <joseph@codesourcery.com>
19775
0bab47b6
JM
19776 [BZ #13786]
19777 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
19778 not include ../strcmp.S.
19779 [USE_AS_STRNCASECMP_L]: Likewise.
19780 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
19781 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
19782 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19783 (__strncasecmp_l_ia32): Define as alias to
19784 __strncasecmp_l_nonascii.
19785
0fcad3e2
JM
19786 [BZ #5794]
19787 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19788 * sysdeps/i386/fpu/libm-test-ulps: Update.
19789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19790
5b8a4d4a
JM
19791 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19793
8fdceb2e
JL
197942012-02-29 Jeff Law <law@redhat.com>
19795
19796 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19797 out of bounds read.
19798
1f393a11
MP
197992012-02-29 Marek Polacek <polacek@redhat.com>
19800
19801 [BZ #13706]
19802 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19803 * elf/Makefile: Add rules to run tst-unused-dep.out.
19804
8847f037
DM
198052012-02-28 David S. Miller <davem@davemloft.net>
19806
19807 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19808 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19809 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19811 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19812 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19813
169d7f11
JM
198142012-02-29 Joseph Myers <joseph@codesourcery.com>
19815
19816 * math/libm-test.inc (llround_test): Move one test from
19817 lround_test. Use TEST_f_L in moved test.
19818 (lround_test): Move misplaced test to llround_test. Add testcase
19819 from bug 2561.
19820
39adf059
UD
198212012-02-28 Ulrich Drepper <drepper@gmail.com>
19822
19823 * sysdeps/x86_64/fpu/e_expf.S: New file.
19824 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19825
71b5d1c5
SB
198262012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19827
19828 [BZ #13637]
19829 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19830 of remain_len that may cause incomplete multi-byte character and
19831 false match.
19832 * posix/bug-regex33.c: New file.
19833 * posix/Makefile (tests): Add bug-regex33.
19834
1f77f049
JM
198352012-02-28 Joseph Myers <joseph@codesourcery.com>
19836
19837 * manual/macros.texi: New file.
19838 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19839 * manual/libc.texinfo: Include macros.texi.
19840 * manual/creatute.texi: Likewise.
19841 * manual/install.texi: Likewise.
19842 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19843 @glibcadj{} in references to the GNU C Library.
19844 * manual/charset.texi: Likewise.
19845 * manual/conf.texi: Likewise.
19846 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19847 when not using those macros.
19848 * manual/creature.texi: Likewise.
19849 * manual/crypt.texi: Likewise.
19850 * manual/errno.texi: Likewise.
19851 * manual/filesys.texi: Likewise.
19852 * manual/header.texi: Likewise.
19853 * manual/install.texi: Likewise.
19854 * manual/intro.texi: Likewise.
19855 * manual/io.texi: Likewise.
19856 * manual/job.texi: Likewise.
19857 * manual/lang.texi: Likewise.
19858 * manual/libc.texiinfo: Likewise.
19859 * manual/llio.texi: Likewise.
19860 * manual/locale.texi: Likewise.
19861 * manual/maint.texi: Likewise.
19862 * manual/math.texi: Likewise.
19863 * manual/memory.texi: Likewise.
19864 * manual/message.texi: Likewise.
19865 * manual/nss.texi: Likewise.
19866 * manual/pattern.texi: Likewise.
19867 * manual/process.texi: Likewise.
19868 * manual/resource.texi: Likewise.
19869 * manual/search.texi: Likewise.
19870 * manual/setjmp.texi: Likewise.
19871 * manual/signal.texi: Likewise.
19872 * manual/socket.texi: Likewise.
19873 * manual/startup.texi: Likewise.
19874 * manual/stdio.texi: Likewise.
19875 * manual/string.texi: Likewise.
19876 * manual/sysinfo.texi: Likewise.
19877 * manual/syslog.texi: Likewise.
19878 * manual/terminal.texi: Likewise.
19879 * manual/time.texi: Likewise.
19880 * manual/users.texi: Likewise.
19881 * INSTALL: Regenerated.
19882 * NOTES: Regenerated.
d40c5d54 19883 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19884
450bf206
AS
198852012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19886
19887 * include/dirent.h: Include <dirstream.h> before
19888 <dirent/dirent.h>.
19889
741a235b
DM
198902012-02-28 David S. Miller <davem@davemloft.net>
19891
19892 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19893 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19894 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19895 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19896
d6b5aa58
DM
198972012-02-27 David S. Miller <davem@davemloft.net>
19898
1aff59a3
DM
19899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19901 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19902 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19903
d6b5aa58
DM
19904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19905 frame pointer instead of stack pointer relative arg slot.
19906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19907 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19908 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19909
433f48bf
CD
199102012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19911
19912 [BZ #3992]
19913 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19914
d674b76d
DM
199152012-02-27 David S. Miller <davem@davemloft.net>
19916
19917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19921 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19922 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19923 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19924 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19925
0e7727f7
JM
199262012-02-27 Joseph Myers <joseph@codesourcery.com>
19927
19928 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19929 later. Allow versions 5-9.
43be4ca2 19930 * configure: Regenerated.
0e7727f7
JM
19931 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19932 required minimum version and 4.6 as recommended version. Do not
19933 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19934 * INSTALL: Regenerated.
0e7727f7 19935
a78bc654
DM
199362012-02-27 David S. Miller <davem@davemloft.net>
19937
428d5830
DM
19938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19942 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19943 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19944 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19945 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19946
a78bc654
DM
19947 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19948 manipulate bits before adding and subtracting TWO112[sx].
19949 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19950
4579f81c
RM
199512012-02-27 Roland McGrath <roland@hack.frob.com>
19952
36c8acb4
RM
19953 [BZ #13775]
19954 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19955 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19956 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19957 being in POSIX, because they are in 1003.1-2008.
19958
84ad622b
RM
19959 * rt/tst-aio.c: Include <fcntl.h>.
19960 * rt/tst-aio7.c: Likewise.
19961 * rt/tst-aio64.c: Likewise.
19962
4579f81c
RM
19963 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19964
abd923db
JM
199652012-02-27 Joseph Myers <joseph@codesourcery.com>
19966
19967 * manual/install.texi (--with-headers): Describe headers as
19968 interface headers, not private headers.
19969 (Specific advice for GNU/Linux systems): Describe use of headers
19970 from "make headers_install", not private headers from older
19971 kernels.
43be4ca2 19972 * INSTALL: Regenerated.
abd923db
JM
19973 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19974 Change to 2.6.19.
19975 * sysdeps/unix/sysv/linux/configure: Regenerated.
19976
6664049b
JM
19977 * manual/llio.texi (fclean): Remove documentation.
19978
bb8b6697
JM
19979 * manual/Makefile (libc-texi-generated): New variable. Include
19980 version.texi.
19981 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19982 $(libc-texi-generated), not duplicated list of files.
19983 (version.texi, stamp-version): New rules.
19984 (realclean): Remove $(libc-texi-generated), not individual files
19985 from that list. Do not remove dir-add.texinfo.
19986 * manual/libc.texinfo: Comment out uses of edition numbers and
19987 references to printed manual. Remove last-updated dates.
19988 (EDITION): Comment out.
19989 (ISBN): Likewise.
19990 (VERSION, UPDATED): Remove.
19991 (version.texi): Include.
19992
12e5c3b9
AS
199932012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19994
19995 * sysdeps/posix/spawni.c: Include <signal.h>.
19996 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19997 * sysdeps/pthread/aio_fsync.c: Likewise.
19998
4efeffc1 199992012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20000
ba63ba08
UD
20001 * conform/Makefile (tests): Run only when not cross-compiling and
20002 when fast-check is not defined.
20003
d94a4670
UD
20004 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20005 * conform/data/limits.h-data: Fixes for POSIX2008.
20006 * conform/run-conformtest.sh: Run all tests.
20007 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20008 headers.
20009 * include/bits/dlfcn.h: Likewise.
20010 * include/langinfo.h: Likewise.
20011 * include/monetary.h: Likewise.
20012 * include/sys/poll.h: Likewise.
20013
20014 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20015 for __USE_GNU.
20016 * posix/spawn.h: Define __need_sigset_t.
20017 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20018 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20019 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20020 to get sigevent_t only.
20021 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20022 only for __USE_GNU.
20023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20024 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20025 process_vm_writev only for __USE_GNU.
20026 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20027
20028 * conform/Makefile: For now ignore errors from run-conformtest.
20029 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20030 POSIX to avoid namespace pollution. Don't prepend headers.
20031 * conform/data/aio.h-data: Fixes for POSIX testing.
20032 * conform/data/fcntl.h-data: Likewise.
20033 * conform/data/glob.h-data: Likewise.
20034 * conform/data/grp.h-data: Likewise.
20035 * conform/data/pthread.h-data: Likewise.
20036 * conform/data/pwd.h-data: Likewise.
20037 * conform/data/signal.h-data: Likewise.
20038 * conform/data/spawn.h-data: Likewise.
20039 * conform/data/stdio.h-data: Likewise.
20040 * conform/data/stdlib.h-data: Likewise.
20041 * conform/data/stropts.h-data: Likewise.
20042 * conform/data/sys/mman.h-data: Likewise.
20043 * conform/data/sys/stat.h-data: Likewise.
20044 * conform/data/sys/types.h-data: Likewise.
20045 * conform/data/sys/wait.h-data: Likewise.
20046 * conform/data/time.h-data: Likewise.
20047 * conform/data/unistd.h-data: Likewise.
20048 * conform/data/utime.h-data: Likewise.
20049
20050 * io/sys/stat.h: fchmod was always in POSIX.
20051 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20052 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20053 * rt/aio.h: Define __need_timespec before including <time.h>.
20054 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20055 struct. Add forward declaration of pthread_attr_t and use it in
20056 sigevent.
20057 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20058 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20059 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20060 always remove CLK_TCK definition.
20061
c20105c3
AS
200622012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20063
20064 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20065
7a270350
UD
200662012-02-25 Ulrich Drepper <drepper@gmail.com>
20067
31341567
UD
20068 * conform/run-conformtest.sh: New file.
20069 * conform/Makefile: Run run-conformtest for tests.
20070 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20071 support.
20072
20073 * conform/data/uchar.h-data: New file.
20074 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20075 * conform/data/arpa/inet.h-data: Likewise.
20076 * conform/data/assert.h-data: Likewise.
20077 * conform/data/complex.h-data: Likewise.
20078 * conform/data/cpio.h-data: Likewise.
20079 * conform/data/ctype.h-data: Likewise.
20080 * conform/data/dirent.h-data: Likewise.
20081 * conform/data/dlfcn.h-data: Likewise.
20082 * conform/data/errno.h-data: Likewise.
20083 * conform/data/fcntl.h-data: Likewise.
20084 * conform/data/float.h-data: Likewise.
20085 * conform/data/fmtmsg.h-data: Likewise.
20086 * conform/data/fnmatch.h-data: Likewise.
20087 * conform/data/ftw.h-data: Likewise.
20088 * conform/data/glob.h-data: Likewise.
20089 * conform/data/grp.h-data: Likewise.
20090 * conform/data/iconv.h-data: Likewise.
20091 * conform/data/inttypes.h-data: Likewise.
20092 * conform/data/langinfo.h-data: Likewise.
20093 * conform/data/libgen.h-data: Likewise.
20094 * conform/data/limits.h-data: Likewise.
20095 * conform/data/locale.h-data: Likewise.
20096 * conform/data/math.h-data: Likewise.
20097 * conform/data/monetary.h-data: Likewise.
20098 * conform/data/mqueue.h-data: Likewise.
20099 * conform/data/ndbm.h-data: Likewise.
20100 * conform/data/net/if.h-data: Likewise.
20101 * conform/data/netdb.h-data: Likewise.
20102 * conform/data/netinet/in.h-data: Likewise.
20103 * conform/data/nl_types.h-data: Likewise.
20104 * conform/data/poll.h-data: Likewise.
20105 * conform/data/pthread.h-data: Likewise.
20106 * conform/data/pwd.h-data: Likewise.
20107 * conform/data/regex.h-data: Likewise.
20108 * conform/data/sched.h-data: Likewise.
20109 * conform/data/search.h-data: Likewise.
20110 * conform/data/semaphore.h-data: Likewise.
20111 * conform/data/setjmp.h-data: Likewise.
20112 * conform/data/signal.h-data: Likewise.
20113 * conform/data/spawn.h-data: Likewise.
20114 * conform/data/stdarg.h-data: Likewise.
20115 * conform/data/stdio.h-data: Likewise.
20116 * conform/data/stdlib.h-data: Likewise.
20117 * conform/data/string.h-data: Likewise.
20118 * conform/data/strings.h-data: Likewise.
20119 * conform/data/stropts.h-data: Likewise.
20120 * conform/data/sys/ipc.h-data: Likewise.
20121 * conform/data/sys/mman.h-data: Likewise.
20122 * conform/data/sys/msg.h-data: Likewise.
20123 * conform/data/sys/resource.h-data: Likewise.
20124 * conform/data/sys/select.h-data: Likewise.
20125 * conform/data/sys/sem.h-data: Likewise.
20126 * conform/data/sys/shm.h-data: Likewise.
20127 * conform/data/sys/socket.h-data: Likewise.
20128 * conform/data/sys/stat.h-data: Likewise.
20129 * conform/data/sys/statvfs.h-data: Likewise.
20130 * conform/data/sys/time.h-data: Likewise.
20131 * conform/data/sys/timeb.h-data: Likewise.
20132 * conform/data/sys/times.h-data: Likewise.
20133 * conform/data/sys/types.h-data: Likewise.
20134 * conform/data/sys/uio.h-data: Likewise.
20135 * conform/data/sys/un.h-data: Likewise.
20136 * conform/data/sys/utsname.h-data: Likewise.
20137 * conform/data/sys/wait.h-data: Likewise.
20138 * conform/data/syslog.h-data: Likewise.
20139 * conform/data/tar.h-data: Likewise.
20140 * conform/data/termios.h-data: Likewise.
20141 * conform/data/utime.h-data: Likewise.
20142 * conform/data/utmpx.h-data: Likewise.
20143 * conform/data/varargs.h-data: Likewise.
20144 * conform/data/wchar.h-data: Likewise.
20145 * conform/data/wctype.h-data: Likewise.
20146 * conform/data/wordexp.h-data: Likewise.
20147
20148 * include/stropts.h: New file.
20149 * include/uchar.h: New file.
20150 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20151 * include/assert.h: Likewise.
20152 * include/ctype.h: Likewise.
20153 * include/dirent.h: Likewise.
20154 * include/dlfcn.h: Likewise.
20155 * include/fcntl.h: Likewise.
20156 * include/fnmatch.h: Likewise.
20157 * include/glob.h: Likewise.
20158 * include/grp.h: Likewise.
20159 * include/libio.h: Likewise.
20160 * include/locale.h: Likewise.
20161 * include/math.h: Likewise.
20162 * include/net/if.h: Likewise.
20163 * include/netdb.h: Likewise.
20164 * include/netinet/in.h: Likewise.
20165 * include/pthread.h: Likewise.
20166 * include/pwd.h: Likewise.
20167 * include/regex.h: Likewise.
20168 * include/sched.h: Likewise.
20169 * include/search.h: Likewise.
20170 * include/setjmp.h: Likewise.
20171 * include/signal.h: Likewise.
20172 * include/stdio.h: Likewise.
20173 * include/stdlib.h: Likewise.
20174 * include/string.h: Likewise.
20175 * include/sys/cdefs.h: Likewise.
20176 * include/sys/mman.h: Likewise.
20177 * include/sys/msg.h: Likewise.
20178 * include/sys/resource.h: Likewise.
20179 * include/sys/select.h: Likewise.
20180 * include/sys/socket.h: Likewise.
20181 * include/sys/stat.h: Likewise.
20182 * include/sys/statvfs.h: Likewise.
20183 * include/sys/time.h: Likewise.
20184 * include/sys/times.h: Likewise.
20185 * include/sys/uio.h: Likewise.
20186 * include/sys/utsname.h: Likewise.
20187 * include/sys/wait.h: Likewise.
20188 * include/termios.h: Likewise.
20189 * include/time.h: Likewise.
20190 * include/ulimit.h: Likewise.
20191 * include/unistd.h: Likewise.
20192 * include/utime.h: Likewise.
20193 * include/wchar.h: Likewise.
20194 * include/wctype.h: Likewise.
20195 * include/wordexp.h: Likewise.
20196
20197 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20198
7a270350
UD
20199 * time/time.h: TIME_UTC must be a macro.
20200 Make timespec_get available for ISO C11 only as well.
20201
7724defc
UD
202022012-02-24 Ulrich Drepper <drepper@gmail.com>
20203
20204 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20205 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20206
6b1d1d46
JM
202072012-02-24 Joseph Myers <joseph@codesourcery.com>
20208
20209 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20210
0f8bbd69
JM
202112012-02-24 Joseph Myers <joseph@codesourcery.com>
20212
20213 * manual/texinfo.tex: Update to version 2012-01-19.16.
20214
66ab80bc
JM
202152012-02-24 Joseph Myers <joseph@codesourcery.com>
20216
20217 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20218
74981cc5
RM
202192012-02-24 Roland McGrath <roland@hack.frob.com>
20220
ee968201
RM
20221 [BZ #13738]
20222 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20223 * manual/fdl-1.3.texi: New file.
20224 * manual/fdl-1.1.texi: File removed.
20225
74981cc5
RM
20226 [BZ #13738]
20227 * manual/libc.texinfo (FDL_VERSION): New @set.
20228 Use it for mention of FDL in cover text.
20229 (Documentation License): Use it in @include file name.
20230
7bb764bc
JM
202312012-02-22 Joseph Myers <joseph@codesourcery.com>
20232 Roland McGrath <roland@hack.frob.com>
20233
20234 [BZ #5461]
20235 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20236 not LONG_LONG_MAX and LONG_LONG_MIN.
20237 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20238 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20239 name.
20240 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20241
6cbeae47
JM
202422012-02-22 Joseph Myers <joseph@codesourcery.com>
20243
20244 [BZ #2547]
20245 [BZ #11365]
20246 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20247 manipulate bits before adding and subtracting TWO23[sx].
20248 * math/libm-test.inc (nearbyint_test): Add more tests.
20249
fe45ce09
JM
202502012-02-22 Joseph Myers <joseph@codesourcery.com>
20251
20252 [BZ #2548]
20253 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20254 bits before adding and subtracting TWO23[sx].
20255 * math/libm-test.inc (rint_test): Add more tests.
20256 (rint_test_tonearest): Likewise.
20257 (rint_test_towardzero): Likewise.
20258 (rint_test_downward): Likewise.
20259 (rint_test_upward: Likewise.
20260
ff3b3d82
JM
202612012-02-22 Joseph Myers <joseph@codesourcery.com>
20262
20263 [BZ #10110]
20264 * include/stdc-predef.h: New file. Extracted from features.h.
20265 * include/features.h: Include stdc-predef.h.
20266 * Makefile (headers): Add stdc-predef.h.
20267 * CONFORMANCE (Compiler limitations): Update.
20268
ef0aab35
JM
202692012-02-22 Joseph Myers <joseph@codesourcery.com>
20270
20271 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20272
58639409
DM
202732012-02-21 David S. Miller <davem@davemloft.net>
20274
20275 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20276 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20277
c0e70b25
DM
202782012-02-20 David S. Miller <davem@davemloft.net>
20279
20280 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20281 using a normal save/restore sequence, rather than allocating a
20282 dummy stack frame just to store a frame pointer and restore.
20283 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20284
fb06851d
JM
202852012-02-21 Joseph Myers <joseph@codesourcery.com>
20286
20287 * manual/install.texi: Fix stray word in line-wrapped comment.
20288
7a8b71c3
DM
202892012-02-20 David S. Miller <davem@davemloft.net>
20290
d510c123
DM
20291 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20292 both binutils and gcc support GOTDATA.
20293
0722d7c2
DM
20294 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20295 "rd %pc" in the PIC register setup sequences.
20296
3d2b3019
DM
20297 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20298 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20300 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20301 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20302 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20303 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20304 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20305 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20306 (SYSCALL_ERROR_HANDLER): Likewise.
20307 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20308 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20310 (SYSCALL_ERROR_HANDLER): Likewise.
20311
c80098a9
DM
20312 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20313 (HAVE_GCC_GOTDATA): New.
20314 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20315 relocation support in both binutils and gcc.
20316 * sysdeps/sparc/elf/configure: Regenerate.
20317
3a2545a0
DM
20318 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20319 * sysdeps/sparc/sparc32/elf/configure: Delete.
20320 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20321 * sysdeps/sparc/sparc64/elf/configure: Delete.
20322 * sysdeps/sparc/elf/configure.in: New file.
20323 * sysdeps/sparc/elf/configure: Generate.
20324
7a8b71c3
DM
20325 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20326 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20327 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20328 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20329 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20330
f1e86fca
JM
203312012-02-21 Joseph Myers <joseph@codesourcery.com>
20332
20333 * manual/install.texi: Do not mention specific glibc version
20334 numbers.
20335 * manual/libc.texinfo (VERSION, UPDATED): Update.
20336 (@copying): Use @copyright{} and range of years.
20337
0e7dfaef
JM
203382012-02-21 Joseph Myers <joseph@codesourcery.com>
20339
20340 [BZ #13695]
20341 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20342 [crti.S not in sysdirs] (generated): Do not append.
20343 [crti.S not in sysdirs] (omit-deps): Likewise.
20344 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20345 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20346 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20347 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20348 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20349 Likewise.
20350 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20351 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20352 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20353 * csu/defs.awk: Remove file.
20354 * sysdeps/generic/initfini.c: Likewise.
20355 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20356 variable.
20357 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20358 Likewise.
20359
599af3ca
JM
203602012-02-20 Joseph Myers <joseph@codesourcery.com>
20361
20362 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20363 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20364 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20366 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20367 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20368 <bits/epoll.h>.
20369 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20370 (__EPOLL_PACKED): Define to empty if not defined by
20371 <bits/epoll.h>.
20372 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20374 bits/epoll.h.
20375
0e499750
JM
203762012-02-20 Joseph Myers <joseph@codesourcery.com>
20377
20378 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20379 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20380 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20381 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20382 <bits/timerfd.h>.
20383 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20385 bits/timerfd.h.
20386
5ad91f6e
JM
203872012-02-20 Joseph Myers <joseph@codesourcery.com>
20388
20389 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20390 in C locale.
20391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20392 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20395
06b99b02
AJ
203962012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20397
20398 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20399 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20400
7638c0fd
AS
204012012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20402
20403 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20404 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20405 defined.
20406 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20407 Likewise.
20408 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20409 entry for 2.16.
20410
92221550
AJ
204112012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20412
20413 * math/w_acos.c: Use non-signaling floating-point comparisons.
20414 * math/w_acosf.c: Likewise.
20415 * math/w_acosh.c: Likewise.
20416 * math/w_acoshf.c: Likewise.
20417 * math/w_acoshl.c: Likewise.
20418 * math/w_acosl.c: Likewise.
20419 * math/w_asin.c: Likewise.
20420 * math/w_asinf.c: Likewise.
20421 * math/w_asinl.c: Likewise.
20422 * math/w_atanh.c: Likewise.
20423 * math/w_atanhf.c: Likewise.
20424 * math/w_atanhl.c: Likewise.
20425 * math/w_exp2.c: Likewise.
20426 * math/w_exp2f.c: Likewise.
20427 * math/w_exp2l.c: Likewise.
20428 * math/w_j0.c: Likewise.
20429 * math/w_j0f.c: Likewise.
20430 * math/w_j0l.c: Likewise.
20431 * math/w_j1.c: Likewise.
20432 * math/w_j1f.c: Likewise.
20433 * math/w_j1l.c: Likewise.
20434 * math/w_jn.c: Likewise.
20435 * math/w_jnf.c: Likewise.
20436 * math/w_log.c: Likewise.
20437 * math/w_log10.c: Likewise.
20438 * math/w_log10f.c: Likewise.
20439 * math/w_log10l.c: Likewise.
20440 * math/w_log2.c: Likewise.
20441 * math/w_log2f.c: Likewise.
20442 * math/w_log2l.c: Likewise.
20443 * math/w_logf.c: Likewise.
20444 * math/w_logl.c: Likewise.
20445 * math/w_sqrt.c: Likewise.
20446 * math/w_sqrtf.c: Likewise.
20447 * math/w_sqrtl.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20450 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20451 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20452 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20453
ebaf36eb
JM
204542012-02-19 Joseph Myers <joseph@codesourcery.com>
20455
20456 [BZ #9739]
20457 * manual/string.texi (strnlen): Use correct parameter name in
20458 equivalent expression.
20459
71c254a6
JM
204602012-02-19 Joseph Myers <joseph@codesourcery.com>
20461
20462 [BZ #11174]
20463 * manual/users.texi (seteuid): Consistently use neweuid for
20464 argument name.
20465
16d2c631
JM
204662012-02-19 Joseph Myers <joseph@codesourcery.com>
20467
20468 [BZ #13704]
20469 * manual/nss.texi (Services in the NSS configuration): Correct
20470 list of services in example configuration file.
20471
cd837b09
NB
204722012-02-19 Nick Bowler <nbowler@draconx.ca>
20473
20474 [BZ #11322]
20475 * manual/arith.texi: Remove statements about negative zero
20476 behaving identically to zero.
20477
02c4bbad
JM
204782012-02-18 Joseph Myers <joseph@codesourcery.com>
20479
20480 [BZ #5993]
20481 * manual/install.texi: Do not document upgrading from libc5.
20482
366842e7
JM
204832012-02-18 Joseph Myers <joseph@codesourcery.com>
20484
20485 [BZ #4596]
20486 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20487
dd54084d
DM
204882012-02-18 David S. Miller <davem@davemloft.net>
20489
20490 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20491 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20492 %o7 across the call.
20493 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20494 instead.
20495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20496 SETUP_PIC_REG_LEAF.
20497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20498 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20499 * sysdeps/sparc/crtn.S: Likewise.
20500
2bcc53a3
UD
205012012-02-17 Ulrich Drepper <drepper@gmail.com>
20502
20503 * aout/Makefile: Remove.
20504
09c093b5
RK
205052012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20506
20507 [BZ #13058]
20508 * manual/examples/argp-ex1.c (main): Format definition in GNU
20509 style.
20510 * manual/examples/argp-ex2.c (main): Likewise.
20511 * manual/examples/argp-ex3.c (main): Likewise.
20512 * manual/examples/argp-ex4.c (main): Likewise.
20513 * manual/examples/longopt.c (main): Use new-style prototype
20514 definition.
20515 * manual/examples/strncat.c (main): Specify return type and use
20516 (void) for arguments.
20517 * manual/examples/subopt.c (main): Use char **argv argument.
20518
2ee633a2
JM
205192012-02-17 Joseph Myers <joseph@codesourcery.com>
20520
20521 [BZ #5077]
20522 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20523 rounding modes.
20524
0520adde
FB
205252012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20526
20527 [BZ #6907]
20528 * manual/string.texi (strchr): Change when strchrnul is
20529 recommended.
20530
3f4081cd
DGM
205312012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20532
20533 [BZ #174]
20534 * manual/locale.texi (setlocale): Document LOCPATH.
20535
d1b10e78
JM
205362012-02-17 Joseph Myers <joseph@codesourcery.com>
20537
20538 [BZ #10210]
20539 * manual/process.texi (execle): Move @dots{} before last argument.
20540
79c6869c
PB
205412012-02-17 Paul Bolle <pebolle@tiscali.nl>
20542
20543 [BZ #12047]
20544 * manual/charset.texi (Generic Charset Conversion): Fix typo
20545 (LC_TYPE -> LC_CTYPE).
20546
cc6e48bc
NB
205472012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20548
20549 [BZ #5805]
20550 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20551 (scalbnf): Likewise.
20552 (scalbnl): Likewise.
20553 (scalbln): Likewise.
20554 (scalblnf): Likewise.
20555 (scalblnl): Likewise.
20556 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20557 (vwarnx): Likewise.
20558 (verr): Likewise.
20559 (verrx): Likewise.
20560 * manual/filesys.texi (telldir): Use braces around return type.
20561 * manual/llio.texi (mmap): Add space after comma.
20562 (mmap64): Likewise.
20563 * manual/math.texi (jn): Use @var{} on parameter names.
20564 (jnf): Likewise.
20565 (jnl): Likewise.
20566 (yn): Likewise.
20567 (ynf): Likewise.
20568 (ynl): Likewise.
20569 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20570 line.
20571 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20572 "...".
20573 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20574 (sched_get_priority_max): Likewise.
20575 * manual/signal.texi (sigvec): Add space after comma.
20576 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20577 names.
20578 (if_indextoname): Likewise.
20579 (if_freenameindex): Likewise.
20580 (sendto): Use ',' instead of '.' in prototype.
20581 * manual/startup.texi (syscall): Use @dots{} instead of literal
20582 "...".
20583 * manual/stdio.texi (__fpending): Separate initial words of
20584 paragraph from @deftypefun line.
20585 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20586 "...".
20587 (vsyslog): Use @var{} on parameter names.
20588 * manual/terminal.texi (stty): Use @var{} on parameter names.
20589 * manual/users.texi (getutmp): Use @var{} on parameter names.
20590 (getutmpx): Likewise.
20591
5b23062f
JM
205922012-02-17 Joseph Myers <joseph@codesourcery.com>
20593
20594 [BZ #6884]
20595 * manual/stdio.texi (fopen): Fix typos in description of
20596 ",ccs=STRING".
20597
8dee4833
AJ
205982012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20599
20600 [BZ #4026]
20601 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20602 get clock_id definition.
20603
9078ce93
TS
206042012-02-17 Thomas Schwinge <thomas@schwinge.name>
20605
20606 [BZ #4822]
20607 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20608 (madvise): Cast every argument to void on its own.
20609
3835c55f
JM
206102012-02-17 Joseph Myers <joseph@codesourcery.com>
20611
20612 [BZ #9902]
20613 * manual/startup.texi (Exit Status): Fix typo.
20614
35c47e37
JM
206152012-02-17 Joseph Myers <joseph@codesourcery.com>
20616
20617 [BZ #10140]
20618 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20619 * manual/examples/argp-ex2.c: Likewise.
20620 * manual/examples/argp-ex3.c: Likewise.
20621
e3b69ca7
RH
206222012-02-16 Richard Henderson <rth@redhat.com>
20623
20624 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20625 * sysdeps/s390/s390-32/initfini.c: Remove.
20626 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20627 * sysdeps/s390/s390-64/initfini.c: Remove.
20628
df83af67
KK
206292012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20630
20631 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20632 compiler output for sysdeps/generic/initfini.c.
20633 * sysdeps/sh/elf/initfini.c: Remove file.
20634
f63f3380
DM
206352012-02-16 David S. Miller <davem@davemloft.net>
20636
fb59b3a4
DM
20637 [BZ #11494]
20638 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20639
f63f3380
DM
20640 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20641 * sysdeps/sparc/crti.S: New file.
20642 * sysdeps/sparc/crtn.S: New file.
20643 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20644 * sysdeps/sparc/sparc64/Makefile: Likewise.
20645
df6a4a4a
MF
206462012-02-15 Mike Frysinger <vapier@gentoo.org>
20647
6dd8f3dc 20648 [BZ #3335]
df6a4a4a
MF
20649 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20650
1cac7236
RM
206512012-02-15 Roland McGrath <roland@hack.frob.com>
20652
d2c736f8
RM
20653 [BZ #4822]
20654 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20655
1cac7236
RM
20656 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20657 (write, read, close): Likewise.
20658 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20659
8e475601
JM
206602012-02-15 Joseph Myers <joseph@codesourcery.com>
20661
20662 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20663 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20664 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20665 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20666 <bits/signalfd.h>.
20667 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20669 bits/signalfd.h.
20670
ed656b40
MP
206712012-02-14 Marek Polacek <polacek@redhat.com>
20672
20673 * sysdeps/x86_64/crti.S: New file.
20674 * sysdeps/x86_64/crtn.S: New file.
20675 * sysdeps/x86_64/elf/initfini.c: Remove file.
20676
2a979d3a
JM
206772012-02-13 Joseph Myers <joseph@codesourcery.com>
20678
20679 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20680 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20681 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20682 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20683 <bits/inotify.h>.
20684 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20686 bits/inotify.h.
20687
2a418ac3
JM
206882012-02-13 Joseph Myers <joseph@codesourcery.com>
20689
20690 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20691 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20692 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20693 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20694 <bits/eventfd.h>.
20695 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20697 bits/eventfd.h.
20698
fb779be7
TS
206992012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20700
e19e83c5
RM
20701 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20702 __feraiseexcept instead of feraiseexcept.
7c35ffed 20703
fb779be7
TS
20704 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20705 nanosleep invocations.
20706 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20707 strings, and add error checking for a nanosleep invocations.
20708
59ba27a6
PE
207092012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20710
20711 Replace FSF snail mail address with URLs, as per GNU coding standards.
20712 Most of the snail mail addresses were wrong anyway, and omitting
20713 them makes the source code easier to maintain. Almost all of the
20714 changes are to license notices and to locale LC_IDENTIFICATION
20715 addresses, except for this one:
20716 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20717 not its snail mail address.
20718
57b957eb
RH
207192012-02-09 Richard Henderson <rth@twiddle.net>
20720
af850b1c
RH
20721 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20722 of kernel-features.h.
20723
57b957eb
RH
20724 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20725
6b73181a
MP
207262012-02-08 Marek Polacek <polacek@redhat.com>
20727
20728 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20729 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20730 * sysdeps/gnu/_G_config.h: Likewise.
20731 * sysdeps/generic/_G_config.h: Likewise.
20732
26ecc33a
AS
207332012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20734
6c6dbc63
AS
20735 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20736 tests.
20737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20738
e216c012
AS
20739 * sysdeps/powerpc/powerpc32/crti.S: New file.
20740 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20741 * sysdeps/powerpc/powerpc64/crti.S: New file.
20742 * sysdeps/powerpc/powerpc64/crtn.S: New file.
20743
26ecc33a
AS
20744 * Makeconfig (have-initfini): Don't set.
20745 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
20746 * configure.in (nopic_initfini): Don't substitute.
20747 * config.h.in (HAVE_INITFINI): Don't #undef.
20748 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
20749 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
20750
3add8e13
JM
207512012-02-08 Joseph Myers <joseph@codesourcery.com>
20752
20753 Support crti.S and crtn.S provided directly by architectures.
20754 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
20755 [crti.S in sysdirs] (omit-deps): Likewise.
20756 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
20757 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
20758 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
20759 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
20760 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
20761 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
20762 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
20763 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
20764 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
20765 compiler output for sysdeps/generic/initfini.c.
20766 * sysdeps/i386/elf/Makefile: Remove file.
20767 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
20768
a22f12b4
MP
207692012-02-07 Marek Polacek <polacek@redhat.com>
20770
20771 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
20772 * sysdeps/gnu/_G_config.h: Likewise.
20773 * sysdeps/mach/hurd/_G_config.h: Likewise.
20774
148cf100
MP
207752012-02-07 Marek Polacek <polacek@redhat.com>
20776
20777 * math/Makefile (tests): Add tst-CMPLX2.
20778 * math/tst-CMPLX2.c: New file.
20779
cfdc0dd7
AS
207802012-02-07 Andreas Schwab <schwab@linux-m68k.org>
20781
84ba42c4
AS
20782 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20783
cfdc0dd7
AS
20784 * math/libm-test.inc (jn_test): Add missing L suffix.
20785
622c86f4
MP
207862012-02-06 Marek Polacek <polacek@redhat.com>
20787
20788 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20789 * sysdeps/i386/fpu/e_powf.S: Likewise.
20790 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20791 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20792 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20793 * sysdeps/i386/fpu/e_pow.S: Likewise.
20794 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20795 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20796 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20797 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20798 * sysdeps/i386/fpu/e_log2.S: Likewise.
20799 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20800 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20801 * sysdeps/i386/fpu/e_powl.S: Likewise.
20802 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20803 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20804 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20805 * sysdeps/i386/fpu/e_logl.S: Likewise.
20806 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20807 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20808 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20809 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20810 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20811 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20812 * sysdeps/i386/fpu/e_log.S: Likewise.
20813 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20814 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20815 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20816 * sysdeps/i386/fpu/e_logf.S: Likewise.
20817 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20818 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20819 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20820 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20821 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20822 * sysdeps/i386/fpu/e_log10.S: Likewise.
20823 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20824 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20825 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20826 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20827 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20828 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20829 * sysdeps/i386/asm-syntax.h: Likewise.
20830 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20832 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20833 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20834 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20835 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20836 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20837 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20838 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20839 * sysdeps/powerpc/sysdep.h: Likewise.
20840 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20841 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20842
d4a54ac6
JM
208432012-02-06 Joseph Myers <joseph@codesourcery.com>
20844
20845 [BZ #411]
20846 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20847
314054ea
JM
208482012-02-06 Joseph Myers <joseph@codesourcery.com>
20849
20850 * sysdeps/i386/sysdep.h: Include <features.h>.
20851 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20852 version.
20853
d8e0ca50
JM
208542012-02-05 Joseph Myers <joseph@codesourcery.com>
20855
20856 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20857 Define.
20858 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20859 LOAD_PIC_REG_STR.
20860
b1da7dd9
JM
208612012-02-03 Joseph Myers <joseph@codesourcery.com>
20862
20863 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20864 (SETUP_PIC_REG): Use GET_PC_THUNK.
20865 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20866 macro.
20867
9a1d9254
JM
208682012-02-03 Joseph Myers <joseph@codesourcery.com>
20869
20870 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20871 for non-PIC compilation.
20872 (SETUP_PIC_REG): Add .p2align directive.
20873 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20874 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20875 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20876 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20877 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20878 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20879 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20880 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20881 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20882 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20883 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20884 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20885 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20886 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20887 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20888 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20889 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20890 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20891 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20892 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20895 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20896 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20898 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20901 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20902 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20903 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20904 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20905 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20906 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20907 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20908 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20909 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20910 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20911 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20912 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20913 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20914
65dc3b75
JM
209152012-02-03 Joseph Myers <joseph@codesourcery.com>
20916
20917 * math/tst-CMPLX.c: Include <stdio.h>.
20918
d55bf177
JM
209192012-01-31 Joseph Myers <joseph@codesourcery.com>
20920
20921 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20922 float.
20923 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20924 * sysdeps/sparc/bits/mathdef.h: Likewise.
20925
69db4f8f
MP
209262012-01-31 Marek Polacek <polacek@redhat.com>
20927
20928 * libio/libio.h: Don't define _PARAMS.
20929 * locale/programs/config.h: Don't define PARAMS.
20930 * stdlib/strtol_l.c: Likewise.
20931 (__strtol_l): Remove PARAMS from the prototype.
20932
41b81892
UD
209332012-01-31 Ulrich Drepper <drepper@gmail.com>
20934
3b49edc0
UD
20935 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20936 names. Just use the correct names. Remove unnecessary wrapper
20937 functions.
20938 * malloc/arena.c: Likewise.
20939 * malloc/hooks.c: Likewise.
20940
41b81892
UD
20941 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20942 ARENA_TEST says not to. Simplify test for creation of a new arena.
20943 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20944
27a25b6e
UD
209452012-01-30 Ulrich Drepper <drepper@gmail.com>
20946
20947 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20948 into tail calls.
20949 (update_get_addr): New function.
20950 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20951 GET_ADDR_MODULE parameter.
20952
c8a89e7d
JM
209532012-01-30 Joseph Myers <joseph@codesourcery.com>
20954
20955 * crypt/cert.c: Remove __STDC__ conditionals.
20956 * crypt/crypt-entry.c: Likewise.
20957 * crypt/crypt_util.c: Likewise.
20958 * libio/filedoalloc.c: Likewise.
20959 * libio/fileops.c: Likewise.
20960 * libio/genops.c: Likewise.
20961 * libio/iofclose.c: Likewise.
20962 * libio/iofdopen.c: Likewise.
20963 * libio/iofopen.c: Likewise.
20964 * libio/iofopen64.c: Likewise.
20965 * libio/iogetdelim.c: Likewise.
20966 * libio/iopopen.c: Likewise.
20967 * libio/obprintf.c: Likewise.
20968 * libio/oldfileops.c: Likewise.
20969 * libio/oldiofclose.c: Likewise.
20970 * libio/oldiofdopen.c: Likewise.
20971 * libio/oldiofopen.c: Likewise.
20972 * libio/oldiopopen.c: Likewise.
20973 * libio/wfiledoalloc.c: Likewise.
20974 * libio/wgenops.c: Likewise.
20975 * locale/programs/xmalloc.c: Likewise.
20976 * misc/syslog.c: Likewise.
20977 * stdio-common/xbug.c: Likewise.
20978 * string/memchr.c: Likewise.
20979 * string/memcmp.c: Likewise.
20980 * string/memrchr.c: Likewise.
20981 * string/rawmemchr.c: Likewise.
20982 * sysdeps/posix/getcwd.c: Likewise.
20983 * time/strftime_l.c: Likewise.
20984
3b100462
JM
209852012-01-30 Joseph Myers <joseph@codesourcery.com>
20986
20987 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20988 * config.make.in (config-cflags-sse2avx): Define.
20989 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20990 Fix typo.
20991
607998af
CM
209922012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20993
20994 * scripts/config.guess: Update from upstream config git repository.
20995 * scripts/config.sub: Likewise.
20996
3601428f
CM
209972012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20998
3ac8b282
CM
20999 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21000 (EM_NUM): Update.
21001 (R_TILEPRO_*, R_TILEGX_*): New macros.
21002
e034841e
CM
21003 * scripts/firstversions.awk: Fix bug in version range handling.
21004
540d7568
CM
21005 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21006
3601428f
CM
21007 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21008
463de862
CM
21009 * include/sys/epoll.h: New file.
21010 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21011 libc_hidden_def.
21012
73139a76
UD
210132012-01-28 Ulrich Drepper <drepper@gmail.com>
21014
96bc5b45
UD
21015 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21016 Avoid unnecessary __WORDSIZE == 64 test.
21017 (fmaxf): Use VEX format if possible.
21018 (fmax): Likewise.
21019 (fminf): Likewise.
21020 (fmin): Likewise.
21021
56f6f6a2
UD
21022 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21023 * math/math_private.h: Remove libc_fegetround* and
21024 libc_fesetround*.
21025 * sysdeps/i386/configure.in: Check for -msse2avx.
21026 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21027 also if SSE2AVX is defined.
21028 Remove libc_fegetround* and libc_fesetround*.
21029 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21030 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21032 of HAS_YMM_USABLE.
21033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21037 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21038
73139a76
UD
21039 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21040
d73f93a4
AZ
210412012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21042
21043 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21044 size is not set.
21045 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21046
6ee65ed6
UD
210472012-01-27 Ulrich Drepper <drepper@gmail.com>
21048
21049 [BZ #13618]
21050 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21051 relocation.
21052 * Makeconfig (libm): Define.
21053 * elf/Makefile: Add rules to build and run tst-relsort1.
21054 * elf/tst-relsort1.c: New file.
21055 * elf/tst-relsort1mod1.c: New file.
21056 * elf/tst-relsort1mod2.c: New file.
21057
8db21882
JM
210582012-01-27 Joseph Myers <joseph@codesourcery.com>
21059
21060 * math/s_ldexp.c: Remove __STDC__ conditionals.
21061 * math/s_ldexpf.c: Likewise.
21062 * math/s_ldexpl.c: Likewise.
21063 * math/s_nextafter.c: Likewise.
21064 * math/s_nexttowardf.c: Likewise.
21065 * math/s_significand.c: Likewise.
21066 * math/s_significandf.c: Likewise.
21067 * math/s_significandl.c: Likewise.
21068 * math/w_jnl.c: Likewise.
21069 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21070 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21071 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21072 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21073 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21074 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21075 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21076 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21077 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21078 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21079 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21080 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21081 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21082 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21083 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21084 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21085 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21086 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21088 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21089 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21090 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21091 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21093 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21094 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21095 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21096 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21097 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21098 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21099 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21100 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21101 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21102 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21103 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21104 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21105 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21106 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21107 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21108 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21109 * sysdeps/ieee754/k_standard.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21114 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21116 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21118 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21119 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21120 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21121 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21122 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21123 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21124 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21125 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21126 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21127 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21128 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21129 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21130 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21131 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21132 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21133 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21134 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21135 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21138 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21139 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21140 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21141 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21142 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21143 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21145 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21146 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21147 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21148 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21149 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21150 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21152 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21153 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21154 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21155 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21156 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21157 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21159 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21160 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21161 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21166 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21167 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21168 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21169 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21170 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21171 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21172 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21173 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21174 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21175 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21176 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21177 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21178 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21179 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21180 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21181 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21182 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21183 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21184 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21185 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21186 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21187 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21188 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21189 * sysdeps/ieee754/s_matherr.c: Likewise.
21190 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21191 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21192 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21194
965a54a4
JM
211952012-01-26 Joseph Myers <joseph@codesourcery.com>
21196
21197 * crypt/md5.h: Remove __STDC__ conditionals.
21198 * libio/libioP.h: Likewise.
21199 * locale/programs/config.h: Likewise.
21200 * sysdeps/generic/sysdep.h: Likewise.
21201 * sysdeps/i386/asm-syntax.h: Likewise.
21202 * sysdeps/s390/asm-syntax.h: Likewise.
21203 * sysdeps/unix/sysdep.h: Likewise.
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21206
7071ad79
JM
212072012-01-26 Joseph Myers <joseph@codesourcery.com>
21208
21209 * libio/libio.h: Remove __STDC__ conditionals.
21210 * malloc/obstack.h: Likewise.
21211 * math/complex.h: Likewise.
21212 * math/math.h: Likewise.
21213 * sysdeps/generic/_G_config.h: Likewise.
21214 * sysdeps/gnu/_G_config.h: Likewise.
21215 * sysdeps/mach/hurd/_G_config.h: Likewise.
21216 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21217 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21218 * sysdeps/sparc/bits/mathdef.h: Likewise.
21219
afc5ed09
UD
212202012-01-26 Ulrich Drepper <drepper@gmail.com>
21221
21222 [BZ #13583]
21223 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21224 Clean up HAS_* macros.
afc5ed09 21225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21226 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21227 possible.
21228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21229 HAS_AVX.
21230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21231 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21233 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21234 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21235
bdb6de1d
JM
212362012-01-25 Joseph Myers <joseph@codesourcery.com>
21237
21238 * elf/tst-unique3.cc (gets): Remove declaration.
21239 * elf/tst-unique3lib.cc (gets): Likewise.
21240 * elf/tst-unique3lib2.cc (gets): Likewise.
21241 * elf/tst-unique4.cc (gets): Likewise.
21242
b15549e6
UD
212432012-01-24 Ulrich Drepper <drepper@gmail.com>
21244
21245 * include/stdio.h: Add C++ protection. Add gets declarations and
21246 definitions.
21247 * debug/tst-chk1.c: Don't declare gets here.
21248 * stdio-common/tst-gets.c: Likewise.
21249
a037381f
JM
212502012-01-24 Joseph Myers <joseph@codesourcery.com>
21251
21252 * posix/glob: Remove directory.
21253
f1d4aa75
JM
212542012-01-24 Joseph Myers <joseph@codesourcery.com>
21255
21256 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21257
81c0c964
PT
212582012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21259
21260 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21261 of the non-standard EPFNOSUPPORT.
21262
0ea698ae
ST
212632011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21264
21265 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21266 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21267 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21268
d220b117
UD
212692012-01-21 Ulrich Drepper <drepper@gmail.com>
21270
21271 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21272
3e1aa84e
UD
212732012-01-20 Ulrich Drepper <drepper@gmail.com>
21274
21275 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21276 transient errors.
21277 * nscd/grpcache.c (cache_addgr): Likewise.
21278 * nscd/hstcache.c (cache_addhst): Likewise.
21279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21280 * nscd/pwdcache.c (cache_addpw): Likewise.
21281 * nscd/servicescache.c (cache_addserv): Likewise.
21282
400aa020
UD
212832012-01-16 Ulrich Drepper <drepper@gmail.com>
21284
d77e7869
UD
21285 * malloc/malloc.c: Various cleanups.
21286 * malloc/hooks.c: Likewise.
21287
400aa020
UD
21288 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21289 * stdlib/bug-fmtmsg1.c: New file.
21290
21291 * stdlib/fmtmsg.c (init): Add missing unlock.
21292 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21293
e0a309cf
MP
212942012-01-12 Marek Polacek <polacek@redhat.com>
21295
21296 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21297 and _GNU_SOURCE.
21298
929d11c7
WS
212992012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21300
21301 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21302 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21303 macro to ensure uniqueness of label name.
21304 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21305 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21306
41d0e869
UD
213072012-01-11 Ulrich Drepper <drepper@gmail.com>
21308
0cc5ed3b
UD
21309 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21310
41d0e869
UD
21311 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21312 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21313 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21314 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21315
a47a831a
UD
213162012-01-10 Ulrich Drepper <drepper@gmail.com>
21317
daa891c0
UD
21318 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21319
21320 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21321 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21322 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21323
e58ef0f2
UD
21324 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21325
a47a831a 21326 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21327 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21330
21331 * math/bits/math-finite.h: Add ldexp support.
21332
a0bfc9c7
MP
213332012-01-10 Marek Polacek <polacek@redhat.com>
21334
21335 * locale/programs/localedef.h (show_archive_content): Add noreturn
21336 attribute.
21337
d6e97a1d
UD
213382012-01-09 Ulrich Drepper <drepper@gmail.com>
21339
21340 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21341
d5835c26
UD
213422012-01-08 Ulrich Drepper <drepper@gmail.com>
21343
e5f484c6
UD
21344 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21345
d5835c26
UD
21346 * io/Makefile (headers): Add bits/poll2.h.
21347
d1f741e9
WS
213482011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21349
21350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21351 typo #include statement.
21352
ec09c1c4
UD
213532012-01-08 Ulrich Drepper <drepper@gmail.com>
21354
21355 * include/sys/cdefs.h: Define __attribute_alloc_size.
21356 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21357 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21358 * elf/pldd.c: Likewise.
21359 * iconv/iconv_charmap.c: Likewise.
21360 * iconv/iconvconfig.c: Likewise.
21361 * iconv/strtab.c: Likewise.
21362 * locale/programs/locale.c: Likewise.
21363 * locale/programs/localedef.h: Likewise.
21364 * locale/programs/simple-hash.c: Likewise.
21365 * nscd/nscd.h: Likewise.
21366 * nss/makedb.c: Likewise.
21367 * sysdeps/generic/ldconfig.h: Likewise.
21368 * locale/programs/localedef.c: Remove xmalloc prototype.
21369 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21370
20b38e03
PP
213712012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21372
21373 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21374 appropriate.
21375
a0da5fe1
UD
213762012-01-08 Ulrich Drepper <drepper@gmail.com>
21377
1d5a644a 21378 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21379 * math/tst-CMPLX.c: New file.
1d5a644a 21380
8784a6db
UD
21381 * math/complex.h (CMPLXL): Fix typo.
21382
d9a216c0
UD
21383 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21384 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21385 GLIBC_2.16.
21386 * debug/tst-chk1.c: Add poll and ppoll tests.
21387 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21388 * include/sys/poll.h: Add hidden proto for ppoll.
21389 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21390 * sysdeps/mach/hurd/ppoll.c: Likewise.
21391 * io/ppoll.c: Likewise.
21392 * debug/poll_chk.c: New file.
21393 * debug/ppoll_chk.c: New file.
21394 * include/bits/poll2.h: New file.
21395 * io/bits/poll2.h: New file.
21396
ac097f5c
UD
21397 [BZ #1350]
21398 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21399
2119dcfa
UD
21400 * configure.in: static is always set to yes. Remove.
21401 * config.make.in: Don't set build-static.
21402 * Makeconfig: Remove use of build-static.
21403 * dlfcn/Makefile: Likewise.
21404 * elf/Makefile: Likewise.
21405 * math/Makefile: Likewise.
21406 * misc/Makefile: Likewise.
21407 * nptl/Makefile: Likewise.
21408 * sysdeps/mach/hurd/Makefile: Likewise.
21409
121766a9
UD
21410 * configure.in: PWD_P is not used anymore.
21411 * config.make.in: Remove PWD_P entry.
21412
51a1d39c 21413 * configure.in: Remove last remnants of RANLIB.
8720d066 21414 No need to check for signed size_t anymore.
215f4bdc
UD
21415 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21416 and IA-64.
3857022a 21417 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21418 * aclocal.m4: Likewise.
21419
d3ed7225
UD
21420 * wcsmbs/mbrtoc16.c: Implement using towc function.
21421 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21422 * wcsmbs/wcsmbsload.c: Likewise.
21423 * iconv/gconv_simple.c: Likewise.
21424 * iconv/gconv_int.h: Likewise.
21425 * iconv/gconv_builtin.h: Likewise.
21426 * iconv/iconv_prog.c: Remove CHAR16 handling.
21427
21428 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21429
21430 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21431
a0da5fe1
UD
21432 * configure.in: Remove --with-elf and --enable-bounded options.
21433 Dont set base_machine for ia64. More non-ELF conditions removed.
21434 Remove testing and setting of leading underscore information.
21435 * config.make.in (build-bounded): Set to no.
21436 * config.h.in: Remove NO_UNDERSCORES entry.
21437 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21438 them.
21439 * csu/start.c: Remove !NO_UNDERSCORE code.
21440 * locale/localeinfo.h: Likewise.
21441 * sysdeps/generic/machine-gmon.h: Likewise.
21442 * sysdeps/generic/sysdep.h: Likewise.
21443 * sysdeps/i386/sysdep.h: Likewise.
21444 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21445 * sysdeps/mach/sysdep.h: Likewise.
21446 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21447 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21448 * sysdeps/sh/sysdep.h: Likewise.
21449 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21450 * sysdeps/unix/i386/sysdep.S: Likewise.
21451 * sysdeps/unix/sparc/start.c: Likewise.
21452 * sysdeps/unix/sparc/sysdep.S: Likewise.
21453 * sysdeps/unix/sparc/sysdep.h: Likewise.
21454 * sysdeps/unix/start.c: Likewise.
21455 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21456 * sysdeps/x86_64/sysdep.h: Likewise.
21457
df78418a
UD
214582012-01-07 Ulrich Drepper <drepper@gmail.com>
21459
a784e502
UD
21460 [BZ #13553]
21461 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21462 for non-gcc.
21463 * argp/argp-fmtstream.h: Use const instead __const.
21464 * argp/argp.h: Likewise.
21465 * assert/assert.h: Likewise.
21466 * bits/fenv.h: Likewise.
21467 * bits/sched.h: Likewise.
21468 * bits/sigset.h: Likewise.
21469 * bits/sigthread.h: Likewise.
21470 * catgets/nl_types.h: Likewise.
21471 * conform/data/pthread.h-data: Likewise.
21472 * crypt/crypt-private.h: Likewise.
21473 * crypt/crypt.h: Likewise.
21474 * crypt/crypt_util.c: Likewise.
21475 * ctype/ctype.h: Likewise.
21476 * debug/execinfo.h: Likewise.
21477 * debug/mbsnrtowcs_chk.c: Likewise.
21478 * debug/mbsrtowcs_chk.c: Likewise.
21479 * debug/wcsnrtombs_chk.c: Likewise.
21480 * debug/wcsrtombs_chk.c: Likewise.
21481 * debug/wcstombs_chk.c: Likewise.
21482 * dirent/dirent.h: Likewise.
21483 * dlfcn/dlfcn.h: Likewise.
21484 * elf/neededtest4.c: Likewise.
21485 * grp/grp.h: Likewise.
21486 * gshadow/gshadow.h: Likewise.
21487 * iconv/gconv.h: Likewise.
21488 * iconv/gconv_int.h: Likewise.
21489 * iconv/gconv_simple.c: Likewise.
21490 * iconv/iconv.h: Likewise.
21491 * iconv/loop.c: Likewise.
21492 * iconv/skeleton.c: Likewise.
21493 * include/aio.h: Likewise.
21494 * include/aliases.h: Likewise.
21495 * include/argz.h: Likewise.
21496 * include/arpa/inet.h: Likewise.
21497 * include/assert.h: Likewise.
21498 * include/dirent.h: Likewise.
21499 * include/dlfcn.h: Likewise.
21500 * include/execinfo.h: Likewise.
21501 * include/fcntl.h: Likewise.
21502 * include/fenv.h: Likewise.
21503 * include/glob.h: Likewise.
21504 * include/grp.h: Likewise.
21505 * include/libintl.h: Likewise.
21506 * include/mntent.h: Likewise.
21507 * include/netdb.h: Likewise.
21508 * include/pwd.h: Likewise.
21509 * include/rpc/netdb.h: Likewise.
21510 * include/sched.h: Likewise.
21511 * include/search.h: Likewise.
21512 * include/shadow.h: Likewise.
21513 * include/signal.h: Likewise.
21514 * include/stdio.h: Likewise.
21515 * include/stdlib.h: Likewise.
21516 * include/string.h: Likewise.
21517 * include/sys/socket.h: Likewise.
21518 * include/sys/stat.h: Likewise.
21519 * include/sys/statfs.h: Likewise.
21520 * include/sys/statvfs.h: Likewise.
21521 * include/sys/syslog.h: Likewise.
21522 * include/sys/time.h: Likewise.
21523 * include/sys/uio.h: Likewise.
21524 * include/time.h: Likewise.
21525 * include/unistd.h: Likewise.
21526 * include/utmp.h: Likewise.
21527 * include/wchar.h: Likewise.
21528 * include/wctype.h: Likewise.
21529 * inet/aliases.h: Likewise.
21530 * inet/arpa/inet.h: Likewise.
21531 * inet/netinet/ether.h: Likewise.
21532 * inet/netinet/in.h: Likewise.
21533 * intl/libintl.h: Likewise.
21534 * io/bits/fcntl2.h: Likewise.
21535 * io/fcntl.h: Likewise.
21536 * io/ftw.h: Likewise.
21537 * io/sys/poll.h: Likewise.
21538 * io/sys/stat.h: Likewise.
21539 * io/sys/statfs.h: Likewise.
21540 * io/sys/statvfs.h: Likewise.
21541 * io/utime.h: Likewise.
21542 * libio/bits/stdio.h: Likewise.
21543 * libio/bits/stdio2.h: Likewise.
21544 * libio/libio.h: Likewise.
21545 * libio/libioP.h: Likewise.
21546 * libio/stdio.h: Likewise.
21547 * locale/lc-ctype.c: Likewise.
21548 * locale/locale.h: Likewise.
21549 * login/utmp.h: Likewise.
21550 * malloc/arena.c: Likewise.
21551 * malloc/malloc.c: Likewise.
21552 * malloc/malloc.h: Likewise.
21553 * malloc/mcheck.c: Likewise.
21554 * malloc/mtrace.c: Likewise.
21555 * math/bits/mathcalls.h: Likewise.
21556 * math/fenv.h: Likewise.
21557 * math/math_private.h: Likewise.
21558 * misc/bits/error.h: Likewise.
21559 * misc/bits/syslog.h: Likewise.
21560 * misc/err.h: Likewise.
21561 * misc/error.h: Likewise.
21562 * misc/fstab.h: Likewise.
21563 * misc/mntent.h: Likewise.
21564 * misc/regexp.h: Likewise.
21565 * misc/search.h: Likewise.
21566 * misc/sgtty.h: Likewise.
21567 * misc/sys/mman.h: Likewise.
21568 * misc/sys/syslog.h: Likewise.
21569 * misc/sys/uio.h: Likewise.
21570 * misc/sys/xattr.h: Likewise.
21571 * misc/ttyent.h: Likewise.
21572 * nis/rpcsvc/ypclnt.h: Likewise.
21573 * nss/nss.h: Likewise.
21574 * posix/bits/unistd.h: Likewise.
21575 * posix/fnmatch.h: Likewise.
21576 * posix/glob.h: Likewise.
21577 * posix/sched.h: Likewise.
21578 * posix/spawn.h: Likewise.
21579 * posix/sys/wait.h: Likewise.
21580 * posix/unistd.h: Likewise.
21581 * posix/wordexp.h: Likewise.
21582 * pwd/pwd.h: Likewise.
21583 * resolv/netdb.h: Likewise.
21584 * resource/sys/resource.h: Likewise.
21585 * rt/aio.h: Likewise.
21586 * rt/bits/mqueue2.h: Likewise.
21587 * rt/mqueue.h: Likewise.
21588 * shadow/shadow.h: Likewise.
21589 * signal/signal.h: Likewise.
21590 * socket/send.c: Likewise.
21591 * socket/sendto.c: Likewise.
21592 * socket/sys/socket.h: Likewise.
21593 * stdio-common/printf.h: Likewise.
21594 * stdlib/bits/stdlib.h: Likewise.
21595 * stdlib/fmtmsg.h: Likewise.
21596 * stdlib/monetary.h: Likewise.
21597 * stdlib/stdlib.h: Likewise.
21598 * stdlib/ucontext.h: Likewise.
21599 * streams/stropts.h: Likewise.
21600 * string/argz.h: Likewise.
21601 * string/bits/string2.h: Likewise.
21602 * string/string.h: Likewise.
21603 * string/strings.h: Likewise.
21604 * sunrpc/rpc/auth.h: Likewise.
21605 * sunrpc/rpc/auth_des.h: Likewise.
21606 * sunrpc/rpc/clnt.h: Likewise.
21607 * sunrpc/rpc/netdb.h: Likewise.
21608 * sunrpc/rpc/pmap_clnt.h: Likewise.
21609 * sunrpc/rpc/xdr.h: Likewise.
21610 * sysdeps/generic/inttypes.h: Likewise.
21611 * sysdeps/generic/net/if.h: Likewise.
21612 * sysdeps/generic/sys/swap.h: Likewise.
21613 * sysdeps/gnu/net/if.h: Likewise.
21614 * sysdeps/gnu/utmpx.h: Likewise.
21615 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21616 * sysdeps/i386/i486/bits/string.h: Likewise.
21617 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21618 * sysdeps/s390/bits/string.h: Likewise.
21619 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21620 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21621 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21622 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21623 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21624 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21625 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21626 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21627 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21628 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21629 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21630 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21631 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21632 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21633 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21634 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21635 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21637 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21638 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21639 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21640 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21641 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21642 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21643 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21644 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21645 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21646 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21647 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21648 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21649 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21650 * sysvipc/sys/ipc.h: Likewise.
21651 * sysvipc/sys/msg.h: Likewise.
21652 * sysvipc/sys/sem.h: Likewise.
21653 * sysvipc/sys/shm.h: Likewise.
21654 * termios/termios.h: Likewise.
21655 * time/sys/time.h: Likewise.
21656 * time/time.h: Likewise.
21657 * wcsmbs/bits/wchar2.h: Likewise.
21658 * wcsmbs/uchar.h: Likewise.
21659 * wcsmbs/wchar.h: Likewise.
21660 * wctype/wctype.h: Likewise.
21661
0269750c
UD
21662 [BZ #13551]
21663 * Makeconfig: Remove all but ELF support including AIX support.
21664 * Makerules: Likewise.
21665 * config.h.in: Likewise.
21666 * config.make.in: Likewise.
21667 * configure: Likewise.
21668 * configure.in: Likewise.
21669 * csu/Makefile: Likewise.
21670 * csu/version.c: Likewise.
21671 * debug/Makefile: Likewise.
21672 * dlfcn/Makefile: Likewise.
21673 * elf/Makefile: Likewise.
21674 * extra-lib.mk: Likewise.
21675 * iconv/Makefile: Likewise.
21676 * include/libc-symbols.h: Likewise.
21677 * include/shlib-compat.h: Likewise.
21678 * resolv/Makefile: Likewise.
21679 * resolv/res_libc.c: Likewise.
21680 * rt/Makefile: Likewise.
21681 * sysdeps/i386/asm-syntax.h: Likewise.
21682 * sysdeps/i386/sysdep.h: Likewise.
21683 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21684 * sysdeps/mach/sysdep.h: Likewise.
21685 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21686 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21687 * sysdeps/s390/asm-syntax.h: Likewise.
21688 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21689 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21690 * sysdeps/sh/sysdep.h: Likewise.
21691 * sysdeps/unix/sparc/sysdep.h: Likewise.
21692 * sysdeps/wordsize-32/divdi3.c: Likewise.
21693 * sysdeps/x86_64/sysdep.h: Likewise.
21694
00bbd29b
UD
21695 * argp/Versions: Remove _argp_unlock_xxx.
21696
21697 [BZ #13559]
21698 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21699 * abilist/libBrokenLocale.abilist: Likewise.
21700 * abilist/libanl.abilist: Likewise.
21701 * abilist/libc.abilist: Likewise.
21702 * abilist/libcrypt.abilist: Likewise.
21703 * abilist/libdl.abilist: Likewise.
21704 * abilist/libm.abilist: Likewise.
21705 * abilist/libnsl.abilist: Likewise.
21706 * abilist/libpthread.abilist: Likewise.
21707 * abilist/libresolv.abilist: Likewise.
21708 * abilist/librt.abilist: Likewise.
21709 * abilist/libthread_db.abilist: Likewise.
21710 * abilist/libutil.abilist: Likewise.
21711 * abilist/libnss_db.abilist: New file.
21712
21713 * scripts/abilist.awk: Add support for indirect functions.
21714
a2693a0e
UD
21715 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21716
3f05895f
UD
21717 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21718
ecb6fb48
UD
21719 * shlib-versions: Remove entries for ports architectures.
21720
664f8cb9
UD
21721 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21722 files in ports.
21723 * elf/stackguard-macros.h: Remove support for IA-64.
21724 * elf/tst-auditmod1.c: Likewise.
21725 * sysdeps/generic/ldsodefs.h: Likewise.
21726
7ae81d88
UD
21727 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21728 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21729 configure files.
21730
bdeba135
UD
21731 [BZ #13552]
21732 * configure.in: Remove --enable-omitfp support.
21733 * FAQ.in: Adjust.
21734 * config.make.in: Likewise.
21735 * Makeconfig: Likewise.
21736 * manual/install.texi: Likewise.
21737
d75a0a62
UD
21738 In case anyone cares, the IA-64 architecture could move to ports.
21739 * sysdeps/ia64/*: Removed.
21740 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21741 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21742
dcc9756b
UD
21743 [BZ #13555]
21744 * configure.in: Remove entries for unsupported architectures.
21745
d3761ebc 21746 [BZ #13533]
9954432e
UD
21747 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
21748 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
21749 routines.
21750 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
21751 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
21752 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
21753 fall back to using wcrtomb.
21754 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
21755 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
21756 renaming.
21757 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
21758 * wcsmbs/tst-c16c32-1.c: New file.
21759
21760 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
21761 local variable.
21762
c3a87236
UD
21763 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
21764
28926a1b
UD
21765 * elf/tst-unique3.cc: Add explicit declaration of gets.
21766 * elf/tst-unique3lib.cc: Likewise.
21767 * elf/tst-unique3lib2.cc: Likewise.
21768 * elf/tst-unique4.cc: Likewise.
21769
df78418a
UD
21770 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
21771
8ecd6b2a
JM
217722012-01-06 Joseph Myers <joseph@codesourcery.com>
21773
21774 [BZ #13566]
21775 * assert/assert.h (static_assert): Don't define for C++.
21776 * libio/stdio.h (gets): Do declare for C++ <= C++11.
21777 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
21778
9f115170
UD
217792012-01-03 Ulrich Drepper <drepper@gmail.com>
21780
5e0d0300
UD
21781 * iconv/loop.c (single loop): Fix assertion in storing of
21782 remaining bytes.
21783
9f115170
UD
21784 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21785
81fb02b0
UD
217862012-01-01 Ulrich Drepper <drepper@gmail.com>
21787
21788 * posix/getconf.c: Update copyright year.
21789 * nss/getent.c: Likewise.
a316c1f6 21790 * nss/makedb.c: Likewise.
81fb02b0
UD
21791 * iconv/iconvconfig.c: Likewise.
21792 * iconv/iconv_prog.c: Likewise.
21793 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21794 * elf/pldd.c: Likewise.
21795 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21796 * catgets/gencat.c: Likewise.
21797 * csu/version.c: Likewise.
21798 * elf/ldd.bash.in: Likewise.
21799 * elf/sprof.c (print_version): Likewise.
21800 * locale/programs/locale.c: Likewise.
21801 * locale/programs/localedef.c: Likewise.
a316c1f6 21802 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21803 * nscd/nscd.c (print_version): Likewise.
21804 * debug/xtrace.sh: Likewise.
21805 * malloc/memusage.sh: Likewise.
21806 * malloc/mtrace.pl: Likewise.
21807 * debug/catchsegv.sh: Likewise.
21808
2ba92745
JJ
218092011-12-30 Jakub Jelinek <jakub@redhat.com>
21810
21811 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21812 pure attribute.
21813
dadebdae
UD
218142011-12-24 Ulrich Drepper <drepper@gmail.com>
21815
d3761ebc 21816 [BZ #13533]
db6af3eb
UD
21817 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21818 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21819 transformations.
21820 * iconv/gconv_int.h: Likewise.
21821 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21822 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21823 from libc for GLIBC_2.16.
21824 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21825 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21826 * wcsmbs/uchar.h: Really define mbstate_t.
21827 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21828 * wcsmbs/c16rtomb.c: New file.
21829 * wcsmbs/mbrtoc16.c: New file.
21830 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21831 for C/POSIX locale.
21832 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21833 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21834
dadebdae
UD
21835 * wcsmbs/wchar.h: Add missing __restrict.
21836
67371b56
UD
218372011-12-23 Ulrich Drepper <drepper@gmail.com>
21838
74033a25
UD
21839 [BZ #13532]
21840 * time/Makefile (routines): Add timespec_get.
21841 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21842 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21843 timespec for ISO C11.
21844 * time/timespec_get.c: New file.
21845 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21846 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21847
380d7e87
UD
21848 [BZ #13531]
21849 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21850 * stdlib/stdlib.h: Declare aligned_alloc.
21851 * Versions.def: Add GLIBC_2.16 for libc.
21852 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21853
4e9e7a35
UD
21854 [BZ 13527]
21855 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21856 ISO C11.
21857
380d7e87 21858 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21859 code.
21860
03a71829
UD
21861 [BZ #13528]
21862 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21863
839e283e
UD
21864 [BZ #13529]
21865 * assert/assert.h (static_assert): Define.
21866
ce5294e2 21867 * version.h: Update for 2.16 development version.
90fa7312 21868
8d44e150 21869 [BZ #13526]
d7809905
UD
21870 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21871 _ISOC11_SOURCE.
21872
c0da14cd
UD
21873 * version.h (RELEASE): Bump for 2.15 release.
21874 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21875
530a3249
MP
21876 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21877 Patch by Marek Polacek <mpolacek@redhat.com>.
21878
67371b56
UD
21879 * bits/byteswap.h: Protect long long constants with __extension__.
21880 * sysdeps/i386/bits/byteswap.h: Likewise.
21881 * sysdeps/ia64/bits/byteswap.h: Likewise.
21882 * sysdeps/s390/bits/byteswap.h: Likewise.
21883 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21884
15db4de1
LD
218852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21886
21887 [BZ #13540]
bbe315ea
LD
21888 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21889 destination buffer.
15db4de1
LD
21890 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21891
2b2596b1
MP
218922011-12-23 Marek Polacek <polacek@redhat.com>
21893
21894 * elf/dl-addr.c (determine_info): Add inline keyword.
21895 * elf/tst-auditmod4b.c (check_avx): Likewise.
21896 * elf/tst-auditmod6b.c (check_avx): Likewise.
21897 * elf/tst-auditmod6c.c (check_avx): Likewise.
21898 * elf/tst-auditmod7b.c (check_avx): Likewise.
21899
70c6c246
UD
219002011-12-23 Ulrich Drepper <drepper@gmail.com>
21901
21902 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21903 !__SSE_MATH__.
21904
c044cf14
LD
219052011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21906
15db4de1 21907 [BZ #13540]
c044cf14
LD
21908 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21909 processing for last bytes.
21910
6b13d9d9
BH
219112011-08-06 Bruno Haible <bruno@clisp.org>
21912
d455f537
BH
21913 [BZ #13061]
21914 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21915 U+0385, not to U+1FEE.
21916
6b13d9d9
BH
21917 [BZ #13062]
21918 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21919 entry for U+00A5 U+0301.
21920
db910efd
UD
219212011-12-22 Ulrich Drepper <drepper@gmail.com>
21922
27deeafc
UD
21923 [BZ #13166]
21924 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21925 buffer for the output is too small.
21926
aed9d171
UD
21927 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21928 optimization.
21929
db910efd
UD
21930 [BZ #13185]
21931 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21932 SSE flags if possible.
21933
2bd779ae
LD
219342011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21935
e7f9dac3 21936 [BZ #13540]
2bd779ae
LD
21937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21938 processing for last bytes.
21939
154bfc16
JM
219402011-12-22 Joseph Myers <joseph@codesourcery.com>
21941
21942 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21943 (syscall-list-default-options, syscall-list-default-condition)
21944 (syscall-list-includes): Define.
21945 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21946 list of ABIs and options and #if conditions for each ABI. Do not
21947 handle common syscalls between ABIs specially.
21948 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21949 Remove.
21950 (syscall-list-variants, syscall-list-32bit-options)
21951 (syscall-list-32bit-condition, syscall-list-64bit-options)
21952 (syscall-list-64bit-condition): Define.
21953 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21954 (syscall-list-variants, syscall-list-32bit-options)
21955 (syscall-list-32bit-condition, syscall-list-64bit-options)
21956 (syscall-list-64bit-condition): Define.
21957 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21958 Remove.
21959 (syscall-list-variants, syscall-list-32bit-options)
21960 (syscall-list-32bit-condition, syscall-list-64bit-options)
21961 (syscall-list-64bit-condition): Define.
21962 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21963 Remove.
21964 (syscall-list-variants, syscall-list-32bit-options)
21965 (syscall-list-32bit-condition, syscall-list-64bit-options)
21966 (syscall-list-64bit-condition): Define.
21967
21eaf3a5
UD
219682011-12-22 Ulrich Drepper <drepper@gmail.com>
21969
16c6f992
UD
21970 * locale/iso-639.def: Add brx entry.
21971
41043168
UD
21972 [BZ #13328]
21973 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21974 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21975
21eaf3a5
UD
21976 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21977 __feraiseexcept_renamed.
21978
e3a851a2
UD
219792011-12-21 Ulrich Drepper <drepper@gmail.com>
21980
4920765e
UD
21981 [BZ #13538]
21982 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21983 EPOLLET with unsigned values.
21984 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21985 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21986
e3a851a2
UD
21987 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21988 to large cancellation.
21989 * math/s_cacoshf.c: Likewise.
21990 * math/s_cacoshl.c: Likewise.
21991
b27e24b8
RK
219922011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21993
21994 [BZ #13305]
aebefeee 21995 [BZ #12786]
b27e24b8
RK
21996 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21997 * math/s_cacoshf.c: Likewise.
21998 * math/s_cacoshl.c: Likewise.
21999
ee190f67
UD
220002011-12-21 Ulrich Drepper <drepper@gmail.com>
22001
22002 [BZ #13439]
22003 * iconv/gconv.h: Define __GCONV_SWAP.
22004 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22005 * iconvdata/utf-16.c: Likewise.
22006 * iconvdata/utf-32.c: Likewise.
22007
707f25df
AS
220082011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22009
22010 [BZ #13524]
22011 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22012 numerator after shifting it by one limb.
22013
d2daaa1e
RÁE
220142011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22015
22016 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22017 under [__USE_EXTERN_INLINES].
22018
a4647e72
UD
220192011-12-17 Ulrich Drepper <drepper@gmail.com>
22020
22021 [BZ #13446]
22022 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22023
f0b264f1
AZ
220242011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22025
22026 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22027 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22028 optimized code.
22029 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22030 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22031 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22032 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22033 for strncasecmp/strncasecmp_l compilation.
22034 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22035 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22036
8ef4f244
MP
220372011-12-08 Marek Polacek <mpolacek@redhat.com>
22038
22039 [BZ #13484]
22040 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22041 of __asm__.
22042
97ac2654
UD
220432011-12-17 Ulrich Drepper <drepper@gmail.com>
22044
22045 [BZ #13506]
22046 * time/tzfile.c (__tzfile_read): Check values from file header.
22047
91d2a845
WS
220482011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22049
22050 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22051 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22052 * powerpc/powerpc32/dl-start.S: Likewise.
22053 * powerpc/powerpc32/elf/start.S: Likewise.
22054 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22055 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22056 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22057 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22058 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22059 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22060 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22061 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22062 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22063 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22064 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22065 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22066 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22067 * powerpc/powerpc32/memset.S: Likewise.
22068 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22069 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22070 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22071 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22072 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22073 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22074 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22075 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22076 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22077 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22078 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22079 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22080 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22081
a1267ba1
AZ
220822011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22083
22084 * math/libm-test.inc: Added more nearbyint tests.
22085 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22086 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22087 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22088 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22089
ad8ac1bd
RL
220902011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22091
22092 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22093 FD_CLOEXEC.
22094
1d3e4b61
UD
220952011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22096
22097 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22098 Add wcscpy-ssse3 wcscpy-c.
22099 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22100 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22101 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22102 * sysdeps/x86_64/wcschr.S: New file.
22103 * sysdeps/x86_64/wcsrchr.S: New file.
22104 * string/test-strcmp.c: Remove checking of wcscmp function for
22105 wrong alignments.
22106 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22107 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22108 wcsrchr-sse2 wcsrchr-c.
22109 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22110 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22111 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22112 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22113 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22114 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22115 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22116 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22117 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22118 * wcsmbc/wcschr.c (WCSCHR): New macro.
22119
5b330a2d
UD
221202011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22121
22122 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22123 * wcsmbs/test-wcsrchr.c: New file.
22124 * string/test-strrchr.c: Add wcsrchr support.
22125 (WIDE): New macro.
22126 * wcsmbs/test-wcscpy.c: New file.
22127 * string/test-strcpy.c: Add wcscpy support.
22128 (WIDE): New macro.
26428b7c 22129
f039c043
UD
221302011-12-10 Ulrich Drepper <drepper@gmail.com>
22131
22132 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22133 the inner loop.
22134
850fb039
AS
221352011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22136
22137 [BZ #13472]
22138 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22139
4efbd5cb
UD
221402011-12-04 Ulrich Drepper <drepper@gmail.com>
22141
52ff5dd0 22142 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22143 Minor optimizations.
52ff5dd0 22144
4efbd5cb
UD
22145 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22146 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22147 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22148
8a426e12
UD
221492011-12-03 Ulrich Drepper <drepper@gmail.com>
22150
aff2453d
UD
22151 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22152 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22153 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22154 for gcc to avoid warnings.
22155 * inet/Makefile (tests): Add tst-checks.
22156 * inet/tst-checks.c: New file.
22157
22158 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22159 warning.
22160
22161 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22162 __wmemcmp_sse2.
22163
22164 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22165 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22166
8a426e12
UD
22167 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22168
9bea3473
UD
221692011-12-02 Ulrich Drepper <drepper@gmail.com>
22170
3a965496
UD
22171 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22172 problem.
22173
9bea3473
UD
22174 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22175
f101631b
UD
221762011-11-29 Joseph Myers <joseph@codesourcery.com>
22177
22178 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22179 conditional on GCC version.
22180 (__arch_compare_and_exchange_val_8_acq)
22181 (__arch_compare_and_exchange_val_16_acq)
22182 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22183 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22184 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22185
a98275aa
UD
221862011-12-02 Joseph Myers <joseph@codesourcery.com>
22187
22188 * sysdeps/sh/backtrace.c: New file.
22189
d4cc29a2
AS
221902011-12-02 Andreas Schwab <schwab@redhat.com>
22191
22192 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22193 parenthesis.
22194
6257af2d
AS
221952011-12-01 Andreas Schwab <schwab@redhat.com>
22196
22197 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22198 falling back to utime.
22199
b5f44c1a
AS
222002011-11-30 Andreas Schwab <schwab@redhat.com>
22201
22202 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22203 expectations for float.
22204
f3a6cc0a
AS
222052011-11-29 Andreas Schwab <schwab@redhat.com>
22206
22207 * locale/weight.h (findidx): Add parameter len.
22208 * locale/weightwc.h (findidx): Likewise.
22209 * posix/fnmatch_loop.c (FCT): Adjust caller.
22210 * posix/regcomp.c (build_equiv_class): Likewise.
22211 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22212 * posix/regexec.c (check_node_accept_bytes): Likewise.
22213 * string/strcoll_l.c (STRCOLL): Likewise.
22214 * string/strxfrm_l.c (STRXFRM): Likewise.
22215
9d65ea3a
UD
222162011-11-17 Ulrich Drepper <drepper@gmail.com>
22217
22218 * Makefile.in: Remove CVSOPT handling.
22219 * configure.in: Remove use of AC_REVISION.
22220 * iconvdata/Makefile (distribute): No need to filter out CVS.
22221 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22222 handling.
22223
5583a086
AS
222242011-11-16 Andreas Schwab <schwab@redhat.com>
22225
22226 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22227 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22228 [USE_AS_STRNCASECMP_L]: Likewise.
22229 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22230 NO_TLS_DIRECT_SEG_REFS.
22231 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22232 Fix argument offsets for non-PIC.
22233 [USE_AS_STRNCASECMP_L]: Likewise.
22234 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22235 NO_TLS_DIRECT_SEG_REFS.
22236
d62a8200
UD
222372011-11-15 Ulrich Drepper <drepper@gmail.com>
22238
9d65ea3a 22239 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22240 O_CLOEXEC.
22241 * locale/loadlocale.c (_nl_load_locale): Likewise.
22242
09f93bd3
AS
222432011-11-15 Andreas Schwab <schwab@redhat.com>
22244
446514f9
AS
22245 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22246 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22247 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22248 (SYSCALL_GETTIME): Set errno on error.
22249
09f93bd3
AS
22250 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22251 count references to noai6ai_cached.
22252
312be3f9
UD
222532011-11-15 Ulrich Drepper <drepper@gmail.com>
22254
22255 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22256
22257 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22258 FD_CLOEXEC for /proc/self/maps.
22259
22260 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22261 FD_CLOEXEC for /proc/meminfo.
22262
22263 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22264 gai.conf.
22265
22266 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22267 FD_CLOEXEC for given file.
22268
22269 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22270
22271 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22272 FD_CLOEXEC for /etc/hosts.
22273 (_gethtent): Likewise.
22274
22275 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22276
22277 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22278 cancellation and set FD_CLOEXEC for /etc/netgroup.
22279
22280 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22281 reading /etc/publickey.
22282
22283 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22284 allow cancellation when reading /etc/group.
22285
22286 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22287 cancellation.
22288 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22289
22290 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22291 when using data file.
22292
22293 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22294
22295 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22296 (write_nis_obj): Use "c" and "e" in fopen.
22297
22298 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22299
22300 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22301
22302 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22303
22304 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22305
22306 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22307 locale.alias.
22308
22309 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22310
22311 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22312
22313 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22314
22315 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22316 file parsing and set FD_CLOEXEC.
22317
82af0fa8
UD
223182011-11-14 Ulrich Drepper <drepper@gmail.com>
22319
22320 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22321
a5fb313c
AS
223222011-11-14 Andreas Schwab <schwab@redhat.com>
22323
22324 * malloc/arena.c (arena_get2): Don't call reused_arena when
22325 _int_new_arena failed.
22326
6abf3465
UD
223272011-11-14 Ulrich Drepper <drepper@gmail.com>
22328
22329 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22330 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22332 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22333 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22334 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22335 to compile strcasecmp and strncasecmp.
22336 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22337 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22338
22339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22340
76e3966e
UD
223412011-11-13 Ulrich Drepper <drepper@gmail.com>
22342
22343 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22344 locale-defines.sym to gen-as-const-headers.
22345 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22346 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22348 to compile strcasecmp and strncasecmp.
22349 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22350 strcasecmp_l and strncasecmp_l.
22351 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22352 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22353 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22354 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22355 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22356 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22357 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22358 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22359 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22360 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22361 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22362
ab26144e
UD
223632011-11-12 Ulrich Drepper <drepper@gmail.com>
22364
7edb22ef
UD
22365 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22366 result of SYSDEP_GETTIME_CPU to retval.
22367 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22368 parameter list to macro. Remove trailing semicolon. Adjust users.
22369
9694fc44
UD
22370 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22371 variable.
22372
8ad89ef8
UD
22373 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22374 mantissa words.
22375 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22376
0c822ef9
UD
22377 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22378 from unused variable.
22379
874e0564
UD
22380 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22381 DWARF definitions.
22382 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22383 for assembling.
22384
3a2edc79
UD
22385 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22386 over namespaces.
22387
f3c2577f
UD
22388 * sunrpc/rpc_prot.c (rejected): Fix case value.
22389
294ce126
UD
22390 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22391 unsigned long long int to avoid warnings in shift.
22392
5e2b63c6
UD
22393 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22394 of use of trans.
22395 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22396 variable tmp.
22397
e7f4b08e
UD
22398 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22399 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22400 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22401
ab26144e
UD
22402 * nis/nis_table.c (nis_list): Use variable of correct type for
22403 result of __follow_path call.
22404
8a6d5255
AZ
224052011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22406
22407 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22408 of math functions ceil, trunc, floor, round, and sqrt, when
22409 avaliable on the platform.
22410 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22411 name clash.
22412 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22413 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22414 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22415
aaddc98c
MP
224162011-10-30 Marek Polacek <mpolacek@redhat.com>
22417
22418 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22419 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22420
95b7042b
RM
224212011-11-11 Roland McGrath <roland@hack.frob.com>
22422
22423 * include/unistd.h: Fix __readlink return type.
22424 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22425
57769839
UD
224262011-11-11 Ulrich Drepper <drepper@gmail.com>
22427
22428 * stdlib/ucontext.h: Undo last change for makecontext.
22429
edc5984d
AS
224302011-11-11 Andreas Schwab <schwab@redhat.com>
22431
98591e58
AS
22432 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22433
edc5984d
AS
22434 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22435 * setjmp/setjmp.h: Mark functions as non-leaf.
22436 * setjmp/bits/setjmp2.h: Likewise.
22437 * stdlib/ucontext.h: Likewise.
22438
77cdc054
AS
224392011-11-10 Andreas Schwab <schwab@redhat.com>
22440
22441 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22442 (reused_arena): Don't check arena limit.
22443 (arena_get2): Atomically check arena limit.
22444
fe72eebd
UD
224452011-11-08 Ulrich Drepper <drepper@gmail.com>
22446
5f078c32
UD
22447 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22448 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22449
fe72eebd
UD
22450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22451 instructions.
22452
ae1bc2fa
AS
224532011-11-07 Andreas Schwab <schwab@redhat.com>
22454
7583a88d
AS
22455 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22456 handler when locking.
22457
ae1bc2fa
AS
22458 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22459 Fix size of allocated buffer.
22460
10fb0bfa
AS
224612011-11-04 Andreas Schwab <schwab@redhat.com>
22462
998832a4
AS
22463 [BZ #10103]
22464 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22465 declarations for long double functions.
22466 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22467
10fb0bfa
AS
22468 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22469
3d7ba52b
AS
224702011-11-03 Andreas Schwab <schwab@redhat.com>
22471
a9ae54a1
AS
22472 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22473 installed.
22474
3d7ba52b
AS
22475 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22476 is disabled.
22477
bc8db248
ST
224782011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22479
22480 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22481
45b96dd6
AS
224822011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22483
647776f6
AS
22484 * include/alloca.h (stackinfo_alloca_round): Define.
22485 (extend_alloca): Use it.
22486 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22487 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22488 here.
22489
d91a8b93
AS
22490 * scripts/check-local-headers.sh: Ignore libaudit.h.
22491
45b96dd6
AS
22492 * nscd/Makefile (extra-objs): Make recursively expanded.
22493
432d41ce
UD
224942011-11-01 Ulrich Drepper <drepper@gmail.com>
22495
34372fc6
UD
22496 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22497 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22498
fadb59f8
UD
22499 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22500 * posix/tst-rfc3484-2.c: Likewise.
22501 * posix/tst-rfc3484-3.c: Likewise.
22502
78239589
UD
22503 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22504 process_vm_writev.
22505 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22506 process_vm_writev.
22507 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22508 process_vm_writev from libc using GLIBC_2.15 version.
22509
432d41ce
UD
22510 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22511
02f9c6cf
PP
225122011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22513
22514 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22515 stack usage.
22516
3a2c0242
UD
225172011-10-31 Ulrich Drepper <drepper@gmail.com>
22518
f4ec4833
UD
22519 [BZ #13367]
22520 * nss/getent.c (initgroups_keys): Show error message in case no group
22521 names are given.
22522
3a2c0242
UD
22523 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22524 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22525 __bump_nl_timestamp.
22526 * nscd/connections (nscd_init): When host database is served open
22527 netlink socket and request notification about configuration changes.
22528 (main_loop_poll): Track netlink file descriptor and bump timestamp
22529 in case data becomes available.
22530 (main_loop_epoll): Likewise.
22531 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22532 (database_pers_head): Add extra_data fileds.
22533 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22534 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22535 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22536 Adjust caller.
22537 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22538 in6ai data, call __free_in6ai.
22539 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22540 Add -DHAVE_NETLINK.
22541 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22542 interface information. Reuse previous data if netlink timestamp
22543 is not changed.
22544 (__bump_nl_timestamp): New function.
22545 (__free_in6ai): New function.
22546
636064eb
UD
225472011-10-30 Ulrich Drepper <drepper@gmail.com>
22548
22549 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22550 close_not_cancel_no_status here.
22551 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22552
9beb2334
UD
225532011-10-29 Ulrich Drepper <drepper@gmail.com>
22554
6ef76f3b
UD
22555 [BZ #13276]
22556 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22557 return value.
22558
0ffc4f3e 22559 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22560 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22561 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22562
cb95113e
UD
225632011-07-03 Andreas Jaeger <aj@suse.de>
22564
22565 [BZ #10709]
22566 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22567 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22568 * math/libm-test.inc (sin_test): Add test case.
22569
a1b560ff
UD
225702011-10-29 Ulrich Drepper <drepper@gmail.com>
22571
c9aaface
UD
22572 [BZ #13337]
22573 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22574 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22575
d272e7f1
UD
22576 * elf/chroot_canon.c (chroot_canon): Cleanups.
22577
1bc33071
UD
22578 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22579
1760874d
TJ
22580 [BZ #13335]
22581 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22582 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22583
51d91b18
UD
22584 * string/test-strchr.c: Make usable for strchrnul testing.
22585 * string/test-strchrnul.c: New file.
22586 * string/Makefile (strop-tests): Add strchrnul.
22587
a1b560ff 22588 * po/it.po: Update from translation team.
b611fb81 22589 * po/es.po: Likewise.
a1b560ff 22590
a5b81e1f
UD
225912011-10-28 Ulrich Drepper <drepper@gmail.com>
22592
fd52bc6d
UD
22593 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22594 the three constants needed as parameters. Drop the others.
22595 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22596 __m128i_strloadu_tolower.
52e4b9eb
UD
22597 Create and initialize variable zero and use it in all the places
22598 where _mm_setzero_si128 was used.
fd52bc6d 22599
a5b81e1f
UD
22600 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22601 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22602 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22603 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22604 anymore.
22605 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22608 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22609 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22610 __mpranred, __mptan.
22611 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22612 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22613 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22614 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22615 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22616 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22618 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22619 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22620
b4343346
AS
226212011-10-28 Andreas Schwab <schwab@redhat.com>
22622
0c92d8a8
AS
22623 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22624 redefine if SHARED.
22625 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22626
b4343346
AS
22627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22628 wide char related routines to wcsmbs subdir.
22629
3871f58f
AS
226302011-10-27 Andreas Schwab <schwab@redhat.com>
22631
22632 [BZ #13344]
22633 * misc/sys/cdefs.h (__THROWNL): Define.
22634 * posix/unistd.h: Use __THREADNL instead of __THREAD
22635 for memory synchronization functions.
22636
94d44d9f
RM
226372011-10-26 Roland McGrath <roland@hack.frob.com>
22638
21b64b15 22639 [BZ #13349]
94d44d9f
RM
22640 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22641 doesn't exist.
22642 * manual/stdio.texi (Obstack Streams): Node removed.
22643
f6ce9294
AS
226442011-10-26 Andreas Schwab <schwab@redhat.com>
22645
80479147
AS
22646 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22647 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22648 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22649
f6ce9294
AS
22650 * math/math_private.h (math_force_eval): Allow non-addressable
22651 arguments.
22652 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22653
618280a1
UD
226542011-10-25 Ulrich Drepper <drepper@gmail.com>
22655
e0016b11
UD
22656 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22657 file is not needed.
22658
22659 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22661 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22662 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22663 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22664 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22665 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22666 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22667 Add AVX variants.
22668 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22669 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22670 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22671 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22672 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22673 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22674 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22675 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22676 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22677 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22678 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22679 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22681 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22682 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22683 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22684 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22685 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22686 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22687
22688 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22689 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22690
618280a1
UD
22691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22692 place. Use VEX encoding when compiling for AVX.
22693
37822576
AS
226942011-10-25 Andreas Schwab <schwab@redhat.com>
22695
1f1e1947
AS
22696 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22697 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22698
37822576
AS
22699 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22700
31ea014d
UD
227012011-10-25 Ulrich Drepper <drepper@gmail.com>
22702
d7826aa1 22703 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22704 useless if() expression.
d7826aa1
UD
22705 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22706 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22707 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22708 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22709 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22714 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22715 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22716 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22717 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22718 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22719 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22721 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22723 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22724
31ea014d
UD
22725 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22726
16437fec
AS
227272011-10-25 Andreas Schwab <schwab@redhat.com>
22728
22729 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22730 condition.
22731 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22732
31d3cc00
UD
227332011-10-25 Ulrich Drepper <drepper@gmail.com>
22734
22735 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22736 .text section. Avoid duplicate constants.
22737 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22745 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
22747 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22749 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22750 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22754 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22760 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
22761 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
22762 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
22763 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
22764 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
22765 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
22766 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
22767 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
22768 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
22769 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22770 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
22771 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
22772 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
22773 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
22774 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
22775 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
22776 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
22777 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
22778 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
22779 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
22780 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
22781 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
22782
58985aa9
UD
227832011-10-24 Ulrich Drepper <drepper@gmail.com>
22784
202c9deb
UD
22785 * sysdeps/x86_64/dla.h: Move to ...
22786 * sysdeps/x86_64/fpu/dla.h: ...here.
22787 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22788 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22789
af968f62
UD
22790 * config.make.in: Add have-mfma4 entry.
22791 * configure.in: Substitute libc_cv_cc_fma4.
22792 * math/Makefile (dbl-only-routines): Add sincostab.
22793 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22794 Use __sincostab not sincos.
22795 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22796 name is a macro.
22797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22800 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22801 using __copysign.
22802 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22803 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22804 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22805 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22806 and __inv.
22807 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22808 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22809 __copysign.
22810 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22811 define aliases when function name is a macro.
22812 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22813 sysdeps/ieee754/dbl-64/sincos.tbl.
22814 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22815 fma4-enabled routines.
22816 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22817 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22818 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22819 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22820 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22821 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22823 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22825 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22826 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22827 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22828 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22829 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22830 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22831 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22832 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22833 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22834 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22835 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22836 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22837 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22838 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22839 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22840 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22841 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22842 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22843 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22844 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22845 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22846
58985aa9
UD
22847 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22848 rename.
22849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22851 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22854 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22855 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22857
a201fbcf
AS
228582011-10-24 Andreas Schwab <schwab@redhat.com>
22859
22860 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22861
fc2ee42a
LD
228622011-10-23 Ulrich Drepper <drepper@gmail.com>
22863
bb3129bd
UD
22864 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22865
0275fff8
UD
22866 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22867 prediction.
22868 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22869
2fa2ae85
UD
22870 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22871 Remove unused variable magic_bits.
22872 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22873
fc2ee42a
LD
22874 * string/strnlen.c: Define and use STRNLEN macro.
22875 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22876 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22878 * wcsmbs/wcslen.c: Define and use WCSLEN.
22879 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22880 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22881 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22882 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22883 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22884 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22885 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22886
ce7dd29f
LD
228872011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22888
22889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22890 strnlen-sse2-no-bsf.
22891 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22893 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22894 Add strnlen support.
22895 (USE_AS_STRNLEN): New macro.
22896 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22897 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22898 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22899 * sysdeps/x86_64/wcslen.S: New file.
22900
979c70a3
MZ
229012011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22902
22903 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22904 XMM-moves are used for copying on small sizes.
22905
2d09f82f
LD
229062011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22907
22908 * wcsmbs/Makefile (strop-tests): Add wcschr.
22909 * wcsmbs/test-wcschr.c: New file.
22910 * string/test-strchr.c: Update.
22911 Add wcschr support.
22912 (WIDE): New macro.
22913
619fccca
LD
229142011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22915
2d09f82f 22916 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22917 * wcsmbs/test-wcslen.c: New file.
22918 * string/test-strlen.c: Update.
22919 Add wcslen support.
22920 (WIDE): New macro.
22921
09f699ea
UD
229222011-10-23 Ulrich Drepper <drepper@gmail.com>
22923
22924 * po/it.po: Update from translation team.
22925
95584d3b
LD
229262011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22927
22928 * sysdeps/x86_64/wcscmp.S: Update.
22929 Fix wrong comparison semantics.
22930 wcscmp shall use signed comparison not unsigned.
22931 Don't use substraction to avoid overflow bug.
22932 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22933 * wcsmbc/wcscmp.c: Likewise.
22934 * string/test-strcmp.c: Likewise.
22935 Add new tests to check cases with negative values.
22936
c8b3296b
UD
229372011-10-23 Ulrich Drepper <drepper@gmail.com>
22938
22939 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22940 * sysdeps/x86_64/dla.h: ...here. New file.
22941 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22943 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22945 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22946 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22947 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22948 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22950
246ad57a
AS
229512011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22952
22953 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22954 __ynl_finite aliases.
22955
a1a87169
UD
229562011-10-22 Ulrich Drepper <drepper@gmail.com>
22957
0d355eb7
UD
22958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22959
a1a87169
UD
22960 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22961 define DLA_FMA.
22962 [DLA_FMA] (EMULV): Use DLA_FMA.
22963 [DLA_FMA] (MUL12): Use EMULV.
22964 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22965 that are not needed.
22966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22972 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22973
ee2aafe0
AS
229742011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22975
22976 * math/s_nan.c: Undef __nan.
22977 * math/s_nanf.c: Undef __nanf.
22978 * math/s_nanl.c: Undef __nanl.
22979 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22980 "math_private.h".
22981
bc62c2fb
UD
229822011-10-22 Ulrich Drepper <drepper@gmail.com>
22983
77425c63
UD
22984 * math/s_catan.c: Add branch predictions.
22985 * math/s_catanf.c: Likewise.
22986 * math/s_catanh.c: Likewise.
22987 * math/s_catanhf.c: Likewise.
22988 * math/s_catanhl.c: Likewise.
22989 * math/s_catanl.c: Likewise.
22990 * math/s_cexp.c: Likewise.
22991 * math/s_cexpf.c: Likewise.
22992 * math/s_cexpl.c: Likewise.
22993 * math/s_clog.c: Likewise.
22994 * math/s_clog10.c: Likewise.
22995 * math/s_clog10f.c: Likewise.
22996 * math/s_clog10l.c: Likewise.
22997 * math/s_clogf.c: Likewise.
22998 * math/s_clogl.c: Likewise.
22999 * math/s_csqrt.c: Likewise.
23000 * math/s_csqrtf.c: Likewise.
23001 * math/s_csqrtl.c: Likewise.
23002 * math/s_ctanf.c: Likewise.
23003 * math/s_ctanh.c: Likewise.
23004 * math/s_ctanhf.c: Likewise.
23005 * math/s_ctanhl.c: Likewise.
23006 * math/s_ctanl.c: Likewise.
23007
bc62c2fb
UD
23008 * math/math_private.h: Define __nan, __nanf, __nanl.
23009 * math/s_cacosh.c: Include <math_private.h>.
23010 * math/s_cacoshl.c: Likewise.
23011 * math/s_casinh.c: Likewise.
23012 * math/s_casinhf.c: Likewise.
23013 * math/s_casinhl.c: Likewise.
23014 * math/s_ccos.c: Rely entire on ccosh.
23015 * math/s_ccosf.c: Rely entire on ccoshf.
23016 * math/s_ccosl.c: Rely entirely on ccoshl.
23017 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23018 Remove tests for FE_INVALID.
23019 * math/s_ccoshf.c: Likewise.
23020 * math/s_ccoshl.c: Likewise.
23021 * math/s_csin.c: Likewise.
23022 * math/s_csinf.c: Likewise.
23023 * math/s_csinh.c Likewise.
23024 * math/s_csinhf.c: Likewise.
23025 * math/s_csinhl.c: Likewise.
23026 * math/s_csinl.c: Likewise.
23027 * math/s_ctan.c: Likewise.
23028 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23029 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23030 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23031
8ec250a4
UD
230322011-10-21 Ulrich Drepper <drepper@gmail.com>
23033
c196fed8
UD
23034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23035 compilation problems.
23036
8ec250a4
UD
23037 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23038 __builtin_expect.
23039
8d4f46c6
UD
230402011-10-20 Ulrich Drepper <drepper@gmail.com>
23041
ed72b654
UD
23042 * sysdeps/i386/configure.in: Test for -mfma4 option.
23043 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23044 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23045 COMMON_CPUID_INDEX_80000001.
23046 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23047 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23048 use it if FMA3 is not supported.
23049 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23050
8d4f46c6
UD
23051 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23052 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23053
d45c60c2
AS
230542011-10-20 Andreas Schwab <schwab@redhat.com>
23055
23056 [BZ #12892]
23057 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23058 it would create a cycle with a link time dependency.
23059
d9a4d2ab
UD
230602011-10-19 Ulrich Drepper <drepper@gmail.com>
23061
855d1560
UD
23062 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23063 instruction.
23064 * string/Makefile (strop-tests): Add rawmemchr.
23065 * string/test-rawmemchr.c: New file.
23066
d9a4d2ab
UD
23067 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23068 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23069 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23070 when compiling str{,n}casecmp and when AVX is available. Hook up
23071 new optimized code in initializers.
23072
8f3b1ffe
AS
230732011-10-19 Andreas Schwab <schwab@redhat.com>
23074
23075 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23076 __feraiseexcept instead of feraiseexcept.
23077
d38f1dba
UD
230782011-10-18 Ulrich Drepper <drepper@gmail.com>
23079
d9a8d0ab
UD
23080 * math/math_private.h: Define defaults for libc_fetestexcept and
23081 libc_feupdateenv.
23082 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23083 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23084 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23085 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23086 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23087 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23088 libc_fetestexcept and libc_feupdateenv.
23089
4855e3dd
UD
23090 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23091 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23092 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23093 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23094 libc_feholdexcept_setround.
23095
581d30e3
UD
23096 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23097 Add s_nearbyint-c and s_nearbyintf-c.
23098 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23099 nearbyintf inlines.
23100 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23101 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23102 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23103 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23104
d38f1dba
UD
23105 * math/math_private.h: Define defaults for libc_fegetround,
23106 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23107 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23108 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23109 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23110 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23111 standard functions.
23112 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23113 Remove comments and hacks for old compiler versions.
23114 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23115 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23116 libc_feholdexceptl.
23117
caa6c9d8
AS
231182011-10-18 Andreas Schwab <schwab@redhat.com>
23119
23120 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23121 (__feraiseexcept_renamed): Add __NTH.
23122 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23123 namespace violations.
23124
97c066e6
UD
231252011-10-17 Ulrich Drepper <drepper@gmail.com>
23126
99ce7b04
UD
23127 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23128
1004d182
UD
23129 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23130
228a984d
UD
23131 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23132 recently added interfaces.
23133 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23134
c8553a6a
UD
23135 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23136 about macro parameter expansion.
23137
ed22dcf6
UD
23138 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23139 __NO_MATH_INLINES is defined. Cleanups.
23140
23141 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23142 and __floorf is target has SSE4.1.
23143 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23144 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23145 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23146 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23147
b171c137
UD
23148 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23149 name.
23150 (floorf): Likewise.
23151
97c066e6
UD
23152 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23153
629f62ef
AS
231542011-10-17 Andreas Schwab <schwab@redhat.com>
23155
49a43d80
AS
23156 * misc/sys/cdefs.h: Fix last change.
23157
629f62ef
AS
23158 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23159 database lookup.
23160
e453f6cd
UD
231612011-10-16 Ulrich Drepper <drepper@gmail.com>
23162
aa78043a
UD
23163 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23164
ad0f5cad
UD
23165 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23166 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23171 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23172 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23173 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23174 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23175 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23176 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23177 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23178 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23179 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23180 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23181 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23182 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23183 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23184 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23185 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23186 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23187
23188 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23189 ceil, ceilf, floor, floorf.
23190
23191 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23192 Perform IRELATIVE relocations last.
23193
e453f6cd
UD
23194 * elf/do-rel.h: Add another parameter nrelative, replacing the
23195 local variable with the same name. Change name of the function
23196 to end in Rel or Rela (uppercase).
23197 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23198 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23199 elf_dynamic_do_##reloc function.
23200
fd5bdc09
UD
232012011-10-15 Ulrich Drepper <drepper@gmail.com>
23202
79b195b5
UD
23203 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23204 is sufficient, at least on modern CPUs.
23205
d4a28569
UD
23206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23207
b61099b5
UD
23208 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23209 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23210
bcf01e6d
UD
23211 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23212 __expl_finite.
23213 * math/bits/math-finite.h: Add entries for exp.
23214 * math/e_expl.c: Add __*_finite alias.
23215 * sysdeps/i386/fpu/e_exp.S: Likewise.
23216 * sysdeps/i386/fpu/e_expf.S: Likewise.
23217 * sysdeps/i386/fpu/e_expl.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23219 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23220 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23221 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23223 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23224 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23225
ba1a0d59
UD
23226 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23227 is sufficient, at least on modern CPUs.
23228
fd5bdc09
UD
23229 * ctype/ctype-info.c (__ctype_init): Define.
23230 * include/ctype.h (__ctype_init): Declare.
23231 (__ctype_b_loc): The variable is always initialized.
23232 (__ctype_toupper_loc): Likewise.
23233 (__ctype_tolower_loc): Likewise.
23234 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23235 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23236
7872cfb0
AS
232372011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23238
b468825a
AS
23239 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23240
7872cfb0
AS
23241 * configure.in: Also look in $cxxmachine/include for C++ system
23242 headers.
23243
be13f7bf
LD
232442011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23245
23246 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23247 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23248 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23249 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23250 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23251 (USE_AS_WMEMCMP): New macro.
23252 Fixing indents.
23253 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23254 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23255 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23256 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23258 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23259 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23260 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23261 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23262 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23263 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23264 (USE_AS_WMEMCMP): New macro.
23265 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23266 * sysdeps/string/test-memcmp.c: Update.
23267 Fix simple_wmemcmp.
23268 Add new tests.
23269 * wcsmbs/wmemcmp.c: Update.
23270 (WMEMCMP): New macro.
23271 Fix overflow bug.
23272
556a2007
AJ
232732011-10-12 Andreas Jaeger <aj@suse.de>
23274
23275 [BZ #13268]
23276 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23277
538faaa7
UD
232782011-10-15 Ulrich Drepper <drepper@gmail.com>
23279
ab6737ff
UD
23280 * libio/iofwide.c (do_length): Avoid warning.
23281
538faaa7
UD
23282 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23283
396a21b1
UD
232842011-10-14 Ulrich Drepper <drepper@gmail.com>
23285
cdf2901f
UD
23286 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23287
38ad40ce
UD
23288 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23289 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23290 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23291 * sysdeps/i386/i686/fpu/e_log.S: New file.
23292 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23293 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23294
396a21b1
UD
23295 * ctype/ctype.h: Add support for inlined isXXX functions when
23296 compiling C++ code.
23297
6b1f68c9
AS
232982011-10-14 Andreas Schwab <schwab@redhat.com>
23299
349290c0
AS
23300 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23301
6b1f68c9
AS
23302 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23303
f2282d42
RM
233042011-10-13 Roland McGrath <roland@hack.frob.com>
23305
23306 [BZ #13291]
23307 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23308
5298ffa8
AS
233092011-10-13 Andreas Schwab <schwab@redhat.com>
23310
714fad23
AS
23311 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23312 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23313 feraiseexcept.
23314
81dcc7fb
AS
23315 * sysdeps/x86_64/memrchr.S: Check for zero size.
23316
5298ffa8
AS
23317 * string/stratcliff.c: Add memrchr tests.
23318
951fbcec
LD
233192011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23320
23321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23322 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23323 rawmemchr-sse2 rawmemchr-sse2-bsf.
23324 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23325 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23326 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23327 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23328 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23329 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23330 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23331 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23332 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23333 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23334 * string/memrchr.c (MEMRCHR): New macro.
23335
0ac5ae23
UD
233362011-10-12 Ulrich Drepper <drepper@gmail.com>
23337
23338 Add integration with gcc's -ffinite-math-only and optimize wrapper
23339 functions in libm.
23340 * Versions.def: Define GLIBC_2.15 version for libm.
23341 * math/Makefile (headers): Add bits/math-finite.h.
23342 * math/bits/math-finite.h: New file.
23343 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23344 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23345 * math/e_acoshl.c: Add __*_finite alias.
23346 * math/e_acosl.c: Likewise.
23347 * math/e_asinl.c: Likewise.
23348 * math/e_atan2l.c: Likewise.
23349 * math/e_atanhl.c: Likewise.
23350 * math/e_coshl.c: Likewise.
23351 * math/e_exp10.c: Likewise.
23352 * math/e_exp10f.c: Likewise.
23353 * math/e_exp10l.c: Likewise.
23354 * math/e_exp2l.c: Likewise.
23355 * math/e_fmodl.c: Likewise.
23356 * math/e_gammal_r.c: Likewise.
23357 * math/e_hypotl.c: Likewise.
23358 * math/e_j0l.c: Likewise.
23359 * math/e_j1l.c: Likewise.
23360 * math/e_jnl.c: Likewise.
23361 * math/e_lgammal_r.c: Likewise.
23362 * math/e_log10l.c: Likewise.
23363 * math/e_log2l.c: Likewise.
23364 * math/e_logl.c: Likewise.
23365 * math/e_powl.c: Likewise.
23366 * math/e_sinhl.c: Likewise.
23367 * math/e_sqrtl.c: Likewise.
23368 * math/e_scalb.c: Completely rewritten and optimized.
23369 * math/e_scalbf.c: Likewise.
23370 * math/e_scalbl.c: Likewise.
23371 * math/w_acos.c: Likewise.
23372 * math/w_acosf.c: Likewise.
23373 * math/w_acosl.c: Likewise.
23374 * math/w_acosh.c: Likewise.
23375 * math/w_acoshf.c: Likewise.
23376 * math/w_acoshl.c: Likewise.
23377 * math/w_asin.c: Likewise.
23378 * math/w_asinf.c: Likewise.
23379 * math/w_asinl.c: Likewise.
23380 * math/w_atan2.c: Likewise.
23381 * math/w_atan2f.c: Likewise.
23382 * math/w_atan2l.c: Likewise.
23383 * math/w_atanh.c: Likewise.
23384 * math/w_atanhf.c: Likewise.
23385 * math/w_atanhl.c: Likewise.
23386 * math/w_exp10.c: Likewise.
23387 * math/w_exp10f.c: Likewise.
23388 * math/w_exp10l.c: Likewise.
23389 * math/w_fmod.c: Likewise.
23390 * math/w_fmodf.c: Likewise.
23391 * math/w_fmodl.c: Likewise.
23392 * math/w_j0.c: Likewise.
23393 * math/w_j0f.c: Likewise.
23394 * math/w_j0l.c: Likewise.
23395 * math/w_j1.c: Likewise.
23396 * math/w_j1f.c: Likewise.
23397 * math/w_j1l.c: Likewise.
23398 * math/w_jn.c: Likewise.
23399 * math/w_jnf.c: Likewise.
23400 * math/w_log.c: Likewise.
23401 * math/w_logf.c: Likewise.
23402 * math/w_logl.c: Likewise.
23403 * math/w_log10.c: Likewise.
23404 * math/w_log10f.c: Likewise.
23405 * math/w_log10l.c: Likewise.
23406 * math/w_log2.c: Likewise.
23407 * math/w_log2f.c: Likewise.
23408 * math/w_log2l.c: Likewise.
23409 * math/w_pow.c: Likewise.
23410 * math/w_powf.c: Likewise.
23411 * math/w_powl.c: Likewise.
23412 * math/w_remainder.c: Likewise.
23413 * math/w_remainderf.c: Likewise.
23414 * math/w_remainderl.c: Likewise.
23415 * math/w_scalb.c: Likewise.
23416 * math/w_scalbf.c: Likewise.
23417 * math/w_scalbl.c: Likewise.
23418 * math/w_sqrt.c: Likewise.
23419 * math/w_sqrtf.c: Likewise.
23420 * math/w_sqrtl.c: Likewise.
23421 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23422 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23423 used.
23424 * math/math_private.h: Declare __kernel_standard_f.
23425 * math/w_cosh.c: Remove cruft and optimize a bit.
23426 * math/w_coshf.c: Likewise.
23427 * math/w_coshl.c: Likewise.
23428 * math/w_exp2.c: Likewise.
23429 * math/w_exp2f.c: Likewise.
23430 * math/w_exp2l.c: Likewise.
23431 * math/w_hypot.c: Likewise.
23432 * math/w_hypotf.c: Likewise.
23433 * math/w_hypotl.c: Likewise.
23434 * math/w_lgamma.c: Likewise.
23435 * math/w_lgamma_r.c: Likewise.
23436 * math/w_lgammaf.c: Likewise.
23437 * math/w_lgammaf_r.c: Likewise.
23438 * math/w_lgammal.c: Likewise.
23439 * math/w_lgammal_r.c: Likewise.
23440 * math/w_sinh.c: Likewise.
23441 * math/w_sinhf.c: Likewise.
23442 * math/w_sinhl.c: Likewise.
23443 * math/w_tgamma.c: Likewise.
23444 * math/w_tgammaf.c: Likewise.
23445 * math/w_tgammal.c: Likewise.
23446 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23447 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23448 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23449 Minor optimizations. Pretty printing. Remove cruft.
23450 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23451 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23452 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23453 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23454 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23455 * sysdeps/i386/fpu/e_asin.S: Likewise.
23456 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23457 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23458 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23459 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23460 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23461 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23463 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23464 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23465 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23466 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23467 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23468 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23469 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23470 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23471 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23472 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23473 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23474 * sysdeps/i386/fpu/e_log.S: Likewise.
23475 * sysdeps/i386/fpu/e_log10.S: Likewise.
23476 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23477 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23478 * sysdeps/i386/fpu/e_log2.S: Likewise.
23479 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23480 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23481 * sysdeps/i386/fpu/e_logf.S: Likewise.
23482 * sysdeps/i386/fpu/e_logl.S: Likewise.
23483 * sysdeps/i386/fpu/e_pow.S: Likewise.
23484 * sysdeps/i386/fpu/e_powf.S: Likewise.
23485 * sysdeps/i386/fpu/e_powl.S: Likewise.
23486 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23487 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23488 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23489 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23490 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23491 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23492 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23493 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23494 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23508 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23509 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23512 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23515 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23516 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23517 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23518 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23519 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23520 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23521 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23522 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23523 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23524 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23525 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23526 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23527 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23528 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23529 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23530 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23531 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23532 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23533 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23534 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23535 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23536 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23537 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23540 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23541 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23542 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23543 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23544 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23545 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23546 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23547 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23548 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23549 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23550 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23551 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23552 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23553 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23554 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23555 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23556 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23557 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23558 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23559 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23560 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23561 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23563 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23564 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23565 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23566 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23567 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23568 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23571 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23572 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23573 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23577 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23578 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23579 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23580 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23581 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23582 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23583 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23584 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23585 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23586 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23587 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23588 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23589 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23590 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23591 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23592 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23593 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23594 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23595 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23596 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23597 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23598 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23599 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23600 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23601 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23602 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23603 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23604 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23605 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23606 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23607 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23608 (__isnanf): Likewise.
23609 (__isinf_ns): Likewise.
23610 (__isinf_nsf): Likewise.
23611 (__finite): Likewise.
23612 (__finitef): Likewise.
23613 (__ieee754_sqrt): Define as macro.
23614 (__ieee754_sqrtf): Define as macro.
23615 (__ieee754_sqrtl): Define as macro.
23616 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23617 inlined copy.
23618 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23619 __FINITE_MATH_ONLY__ consistent.
23620 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23621
12cc2fcd
AS
236222011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23623
a843a204
AS
23624 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23625 of rawmemchr.
23626
12cc2fcd
AS
23627 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23628
c853acd5
UD
236292011-10-09 Ulrich Drepper <drepper@gmail.com>
23630
23631 * po/ja.po: Update from translation team.
23632
c658d255
RM
236332011-10-08 Roland McGrath <roland@hack.frob.com>
23634
110946e4
RM
23635 * locale/programs/locarchive.c (prepare_address_space): New function.
23636 (create_archive, enlarge_archive, open_archive): Use it.
23637
50604220
RM
23638 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23639 inside [SHARED], where it is used.
23640
c658d255
RM
23641 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23642
23643 * nss/getent.c (netgroup_keys): Remove unused variable.
23644 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23645
6a621eb7
UD
236462011-10-08 Ulrich Drepper <drepper@gmail.com>
23647
7edb55ce
UD
23648 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23649 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23651 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23652 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23653 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23654 * math/Makefile (libm-calls): Add s_isinf_ns.
23655 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23656 * math/multc3.c: Likewise.
23657 * math/s_casin.c: Likewise.
23658 * math/s_casinf.c: Likewise.
23659 * math/s_casinl.c: Likewise.
23660 * math/s_ccos.c: Likewise.
23661 * math/s_ccosf.c: Likewise.
23662 * math/s_ccosl.c: Likewise.
23663 * math/s_ctan.c: Likewise.
23664 * math/s_ctanf.c: Likewise.
23665 * math/s_ctanh.c: Likewise.
23666 * math/s_ctanhf.c: Likewise.
23667 * math/s_ctanhl.c: Likewise.
23668 * math/s_ctanl.c: Likewise.
23669 * math/w_fmod.c: Likewise.
23670 * math/w_fmodf.c: Likewise.
23671 * math/w_fmodl.c: Likewise.
23672 * math/w_remainder.c: Likewise.
23673 * math/w_remainderf.c: Likewise.
23674 * math/w_remainderl.c: Likewise.
23675 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23676 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23677 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23679 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23680 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23681 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23682 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23683
187da0ae
UD
23684 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23685 of the number.
23686 * stdio-common/printf_fphex.c: Likewise.
23687 * stdio-common/printf_size.c: Likewise.
23688
9277c064
UD
23689 * math/e_exp10.c: Include math_private.h using <...> not "...".
23690 * math/e_exp10f.c: Likewise.
23691 * math/e_exp10l.c: Likewise.
23692 * math/e_exp2l.c: Likewise.
23693 * math/e_j0l.c: Likewise.
23694 * math/e_j1l.c: Likewise.
23695 * math/e_jnl.c: Likewise.
23696 * math/e_lgammal_r.c: Likewise.
23697 * math/e_rem_pio2l.c: Likewise.
23698 * math/e_scalb.c: Likewise.
23699 * math/e_scalbf.c: Likewise.
23700 * math/e_scalbl.c: Likewise.
23701 * math/k_cosl.c: Likewise.
23702 * math/k_sinl.c: Likewise.
23703 * math/k_tanl.c: Likewise.
23704 * math/s_cacoshf.c: Likewise.
23705 * math/s_catan.c: Likewise.
23706 * math/s_catanf.c: Likewise.
23707 * math/s_catanh.c: Likewise.
23708 * math/s_catanhf.c: Likewise.
23709 * math/s_catanhl.c: Likewise.
23710 * math/s_catanl.c: Likewise.
23711 * math/s_ccosh.c: Likewise.
23712 * math/s_ccoshf.c: Likewise.
23713 * math/s_ccoshl.c: Likewise.
23714 * math/s_cexp.c: Likewise.
23715 * math/s_cexpf.c: Likewise.
23716 * math/s_cexpl.c: Likewise.
23717 * math/s_clog.c: Likewise.
23718 * math/s_clog10.c: Likewise.
23719 * math/s_clog10f.c: Likewise.
23720 * math/s_clog10l.c: Likewise.
23721 * math/s_clogf.c: Likewise.
23722 * math/s_clogl.c: Likewise.
23723 * math/s_csin.c: Likewise.
23724 * math/s_csinf.c: Likewise.
23725 * math/s_csinh.c: Likewise.
23726 * math/s_csinhf.c: Likewise.
23727 * math/s_csinhl.c: Likewise.
23728 * math/s_csinl.c: Likewise.
23729 * math/s_csqrt.c: Likewise.
23730 * math/s_csqrtf.c: Likewise.
23731 * math/s_csqrtl.c: Likewise.
23732 * math/s_ctan.c: Likewise.
23733 * math/s_ctanf.c: Likewise.
23734 * math/s_ctanh.c: Likewise.
23735 * math/s_ctanhf.c: Likewise.
23736 * math/s_ctanhl.c: Likewise.
23737 * math/s_ctanl.c: Likewise.
23738 * math/s_ldexp.c: Likewise.
23739 * math/s_ldexpf.c: Likewise.
23740 * math/s_ldexpl.c: Likewise.
23741 * math/s_significand.c: Likewise.
23742 * math/s_significandf.c: Likewise.
23743 * math/s_significandl.c: Likewise.
23744 * math/w_acos.c: Likewise.
23745 * math/w_acosf.c: Likewise.
23746 * math/w_acosh.c: Likewise.
23747 * math/w_acoshf.c: Likewise.
23748 * math/w_acoshl.c: Likewise.
23749 * math/w_acosl.c: Likewise.
23750 * math/w_asin.c: Likewise.
23751 * math/w_asinf.c: Likewise.
23752 * math/w_asinl.c: Likewise.
23753 * math/w_atan2.c: Likewise.
23754 * math/w_atan2f.c: Likewise.
23755 * math/w_atan2l.c: Likewise.
23756 * math/w_atanh.c: Likewise.
23757 * math/w_atanhf.c: Likewise.
23758 * math/w_atanhl.c: Likewise.
23759 * math/w_cosh.c: Likewise.
23760 * math/w_coshf.c: Likewise.
23761 * math/w_coshl.c: Likewise.
23762 * math/w_dremf.c: Likewise.
23763 * math/w_exp10.c: Likewise.
23764 * math/w_exp10f.c: Likewise.
23765 * math/w_exp10l.c: Likewise.
23766 * math/w_exp2.c: Likewise.
23767 * math/w_exp2f.c: Likewise.
23768 * math/w_fmod.c: Likewise.
23769 * math/w_fmodf.c: Likewise.
23770 * math/w_fmodl.c: Likewise.
23771 * math/w_hypot.c: Likewise.
23772 * math/w_hypotf.c: Likewise.
23773 * math/w_hypotl.c: Likewise.
23774 * math/w_j0.c: Likewise.
23775 * math/w_j0f.c: Likewise.
23776 * math/w_j0l.c: Likewise.
23777 * math/w_j1.c: Likewise.
23778 * math/w_j1f.c: Likewise.
23779 * math/w_j1l.c: Likewise.
23780 * math/w_jn.c: Likewise.
23781 * math/w_jnf.c: Likewise.
23782 * math/w_jnl.c: Likewise.
23783 * math/w_lgamma.c: Likewise.
23784 * math/w_lgamma_r.c: Likewise.
23785 * math/w_lgammaf.c: Likewise.
23786 * math/w_lgammaf_r.c: Likewise.
23787 * math/w_lgammal.c: Likewise.
23788 * math/w_lgammal_r.c: Likewise.
23789 * math/w_log.c: Likewise.
23790 * math/w_log10.c: Likewise.
23791 * math/w_log10f.c: Likewise.
23792 * math/w_log10l.c: Likewise.
23793 * math/w_log2.c: Likewise.
23794 * math/w_log2f.c: Likewise.
23795 * math/w_log2l.c: Likewise.
23796 * math/w_logf.c: Likewise.
23797 * math/w_logl.c: Likewise.
23798 * math/w_pow.c: Likewise.
23799 * math/w_powf.c: Likewise.
23800 * math/w_powl.c: Likewise.
23801 * math/w_remainder.c: Likewise.
23802 * math/w_remainderf.c: Likewise.
23803 * math/w_remainderl.c: Likewise.
23804 * math/w_scalb.c: Likewise.
23805 * math/w_scalbf.c: Likewise.
23806 * math/w_scalbl.c: Likewise.
23807 * math/w_sinh.c: Likewise.
23808 * math/w_sinhf.c: Likewise.
23809 * math/w_sinhl.c: Likewise.
23810 * math/w_sqrt.c: Likewise.
23811 * math/w_sqrtf.c: Likewise.
23812 * math/w_sqrtl.c: Likewise.
23813 * math/w_tgamma.c: Likewise.
23814 * math/w_tgammaf.c: Likewise.
23815 * math/w_tgammal.c: Likewise.
23816
6a621eb7
UD
23817 * po/ja.po: Update from translation team.
23818
bf582445
AJ
238192011-09-29 Andreas Jaeger <aj@suse.de>
23820
f9efbf3a
AJ
23821 [BZ #13179]
23822 * sunrpc/netname.c (netname2host): Fix logic.
23823
bf582445
AJ
23824 [BZ #6779]
23825 [BZ #6783]
23826 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23827 correctly.
23828 * math/w_remainder.c (__remainder): Likewise.
23829 * math/w_remainderf.c (__remainderf): Likewise.
23830 * math/libm-test.inc (remainder_test): Add test cases.
23831
48693bea
AK
238322011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23833
23834 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23835 sdiv_qrnnd.
23836
42622229
LD
238372011-10-07 Ulrich Drepper <drepper@gmail.com>
23838
23839 * string/test-memcmp.c: Avoid unncessary #defines.
23840 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23841
093ecf92
LD
238422011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23843
23844 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23845 Use new sse2 version for core i3 - i7 as it's faster
23846 than sse42 version.
23847 (bit_Prefer_PMINUB_for_stringop): New.
23848 * sysdeps/x86_64/rawmemchr.S: Update.
23849 Replace with faster SSE2 version.
23850 * sysdeps/x86_64/memrchr.S: New file.
23851 * sysdeps/x86_64/memchr.S: Update.
23852 Replace with faster SSE2 version.
23853
fde56e5c
MP
238542011-09-12 Marek Polacek <mpolacek@redhat.com>
23855
23856 * elf/dl-load.c (lose): Add cast to avoid warning.
23857
21fd49a9
UD
238582011-10-07 Ulrich Drepper <drepper@gmail.com>
23859
5a06e643
UD
23860 * po/ca.po: Update from translation team.
23861
684ae515
UD
23862 * inet/getnetgrent_r.c: Hook up nscd.
23863 * nscd/Makefile (routines): Add nscd_netgroup.
23864 (nscd-modules): Add netgroupcache.
23865 (CFLAGS-netgroupcache.c): Define.
23866 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23867 (cache_search): Add const to second parameter.
23868 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23869 INNETGR.
23870 (dbs): Add netgrdb entry.
23871 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23872 (verify_persistent_db): Handle netgrdb.
23873 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23874 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23875 GETFDNETGR.
23876 (netgroup_response_header): Define.
23877 (innetgroup_response_header): Define.
23878 (datahead): Add netgroup_response_header and innetgroup_response_header
23879 elements.
23880 * nscd/nscd.conf: Add entries for netgroup cache.
23881 * nscd/nscd.h (dbtype): Add netgrdb.
23882 (_PATH_NSCD_NETGROUP_DB): Define.
23883 (netgroup_iov_disabled): Declare.
23884 (xmalloc, xcalloc, xrealloc): Move declarations here.
23885 (cache_search): Adjust prototype.
23886 Add netgroup-related prototypes.
23887 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23888 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23889 (__nscd_innetgr): Declare.
23890 * nscd/selinux.c (perms): Use access_vector_t as element type and
23891 add netgroup-related initializers.
23892 * nscd/netgroupcache.c: New file.
23893 * nscd/nscd_netgroup.c: New file.
23894 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23895 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23896 For four parameters use innetgr.
23897 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23898 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23899 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23900 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23901
21fd49a9
UD
23902 * nscd/connections.c (register_traced_file): Don't register file
23903 for disabled databases.
23904
054c0457
UD
239052011-10-06 Ulrich Drepper <drepper@gmail.com>
23906
32b63198
UD
23907 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23908
054c0457
UD
23909 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23910 from tree and freeing node.
23911
64031225
JO
239122011-09-25 Jiri Olsa <jolsa@redhat.com>
23913
23914 * nss/nsswitch.c (__nss_database_lookup): Handle
23915 nss_parse_service_list out of memory case.
23916
0490345c
JO
239172011-09-15 Jiri Olsa <jolsa@redhat.com>
23918
23919 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23920 out of memory case.
23921
3a62d00d
AS
239222011-10-04 Andreas Schwab <schwab@redhat.com>
23923
23924 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23925 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23926 pass it down.
23927 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23928 elf_machine_rela, elf_machine_lazy_rel.
23929 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23930 (ELF_DYNAMIC_DO_REL): Likewise.
23931 (ELF_DYNAMIC_DO_RELA): Likewise.
23932 (ELF_DYNAMIC_RELOCATE): Likewise.
23933 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23934 to ELF_DYNAMIC_DO_REL.
23935 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23936 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23937 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23938 elf_machine_rela.
23939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23940 skip_ifunc, don't call ifunc function if non-zero.
23941 (elf_machine_rela): Likewise.
23942 (elf_machine_lazy_rel): Likewise.
23943 (elf_machine_lazy_rela): Likewise.
23944 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23945 (elf_machine_lazy_rel): Likewise.
23946 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23947 Likewise.
23948 (elf_machine_lazy_rel): Likewise.
23949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23950 Likewise.
23951 (elf_machine_lazy_rel): Likewise.
23952 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23953 (elf_machine_lazy_rel): Likewise.
23954 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23955 (elf_machine_lazy_rel): Likewise.
23956 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23957 (elf_machine_lazy_rel): Likewise.
23958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23959 (elf_machine_lazy_rel): Likewise.
23960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23961 (elf_machine_lazy_rel): Likewise.
23962 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23963 (elf_machine_lazy_rel): Likewise.
23964
68577918
UD
239652011-09-28 Ulrich Drepper <drepper@gmail.com>
23966
23967 * nss/nss_files/files-init.c (_nss_files_init): Use static
23968 initialization for all the *_traced_file variables.
23969
68822d74
AS
239702011-09-28 Andreas Schwab <schwab@redhat.com>
23971
23972 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23973
2056100b
RM
239742011-09-27 Roland McGrath <roland@hack.frob.com>
23975
23976 [BZ #13226]
23977 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23978
32c76b63
AS
239792011-09-27 Andreas Schwab <schwab@redhat.com>
23980
23981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23982 Reread the line before reparsing it.
23983
bf972c9d
AS
239842011-09-26 Andreas Schwab <schwab@redhat.com>
23985
23986 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23987
e057a1b5
JM
239882011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23989 Maxim Kuvyrkov <maxim@codesourcery.com>
23990 Joseph Myers <joseph@codesourcery.com>
23991
23992 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23993 if needed for __stack_chk_guard.
23994
bc7e1c36
RM
239952011-09-19 Roland McGrath <roland@hack.frob.com>
23996
ecb1482f
RM
23997 * sysdeps/posix/spawni.c (script_execute): Always define it.
23998 It will be optimized away if unused.
23999 (maybe_script_execute): New function.
24000 (__spawni): Call it.
24001
bc7e1c36
RM
24002 * Makerules: Don't include tls.make.
24003 (config-tls): Always set to thread.
24004 * tls.make.c: File removed.
24005
1c3b002b
MF
240062011-09-19 Mike Frysinger <vapier@gentoo.org>
24007
24008 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24009 * config.make.in (CPPFLAGS-config): New substituted variable.
24010
2840865d
UD
240112011-09-15 Ulrich Drepper <drepper@gmail.com>
24012
88738eb6
UD
24013 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24014
cbf645a6 24015 [BZ #13192]
2840865d
UD
24016 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24017 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24018
b402e91a
RM
240192011-09-15 Roland McGrath <roland@hack.frob.com>
24020
24021 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24022 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24023 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24024 (CALL_FAIL): Likewise.
24025 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24026 (CALL_FAIL): Macro removed.
24027 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24028
4c1a1f71
UD
240292011-09-15 Ulrich Drepper <drepper@gmail.com>
24030
24031 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24032 for __FINITE_MATH_ONLY__ == 1.
24033
edc121be
AS
240342011-09-15 Andreas Schwab <schwab@redhat.com>
24035
24036 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24037 __ieee754_sqrt instead of sqrt.
24038 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24039 __ieee754_sqrtf instead of sqrtf.
24040 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24041 __floorf instead of floorf.
24042 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24043 __floorf, __truncf instead of floorf, truncf.
24044
cd205654
UD
240452011-09-14 Ulrich Drepper <drepper@gmail.com>
24046
ee4d0315
UD
24047 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24048
cd205654
UD
24049 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24050 __extern_always_inline.
24051 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24052 32-bit.
24053
48b67d71
AS
240542011-09-14 Andreas Schwab <schwab@redhat.com>
24055
24056 * elf/rtld.c (dl_main): Also relocate in dependency order when
24057 doing symbol dependency testing.
24058
1ae12c75
AS
240592011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24060
24061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24062 Always define `refsym'.
24063
995a80df
AS
240642011-09-13 Andreas Schwab <schwab@redhat.com>
24065
e529793b
AS
24066 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24067 (__FD_ELT): Renamed from __FDELT.
24068 * misc/bits/select2.h (__FD_ELT): Likewise.
24069 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24070 __FD_MASK instead of __FDELT, __FDMASK.
24071 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24072 Likewise.
24073 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24074 Likewise.
24075
52d4fef8
AS
24076 * elf/Makefile (gen-ldd): Fix pattern.
24077
995a80df
AS
24078 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24079 (init_tls): Likewise.
24080
8682f8b0
UD
240812011-09-12 Ulrich Drepper <drepper@gmail.com>
24082
24083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24084
de82006d
AS
240852011-09-12 Andreas Schwab <schwab@redhat.com>
24086
a7c8e6a1
AS
24087 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24088 `struct cmsghdr *' instead of `void *'.
24089 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24090 Likewise.
24091
0f31fe77
AS
240922011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24093
24094 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24095 if non-absolute.
24096 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24097 ldd_rewrite_script.
0f31fe77 24098
32b4c839
UD
240992011-09-11 Ulrich Drepper <drepper@gmail.com>
24100
83cd1420
UD
24101 * configure.in: Remove --with-tls option.
24102 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24103 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24104 out in case it is missing.
24105 * sysdeps/ia64/elf/configure.in: Likewise.
24106 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24107 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24108 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24109 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24110 * sysdeps/sh/elf/configure.in: Likewise.
24111 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24112 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24113 * sysdeps/x86_64/elf/configure.in: Likewise.
24114 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24115 * sysdeps/mach/hurd/tls.h: Likewise.
24116
633f745d
UD
24117 [BZ #13067]
24118 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24119
f318beb8
UD
24120 [BZ #13090]
24121 * configure.in: Fix use of AC_INIT.
24122
32b4c839
UD
24123 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24124
3ce1f295
UD
241252011-09-10 Ulrich Drepper <drepper@gmail.com>
24126
bb016596
UD
24127 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24128 __set_errno.
8e58439c
UD
24129 * malloc/hooks.c: Likewise.
24130
aebae053 24131 [BZ #11929]
02d46fc4
UD
24132 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24133 variables statically.
24134 (narenas): Initialize.
24135 (list_lock): Initialize.
bb016596
UD
24136 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24137 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24138 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24139 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24140 Add initializers to main_arena and mp_.
24141 (malloc_state): Remove pagesize member. Change all users to use
24142 GLRO(dl_pagesize).
24143
24144 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24145 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24146 is always initialized.
24147
22a89187
UD
24148 * malloc/malloc.c: Removed unused configurations and dead code.
24149 * malloc/arena.c: Likewise.
24150 * malloc/hooks.c: Likewise.
02d46fc4 24151 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24152
d063d164
UD
24153 * include/tls.h: Removed. USE___THREAD must always be defined.
24154 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24155 * elf/dl-libc.c: Likewise.
24156 * elf/dl-tsd.c: Likewise.
24157 * include/errno.h: Likewise.
24158 * include/netdb.h: Likewise.
24159 * include/resolv.h: Likewise.
24160 * inet/herrno-loc.c: Likewise.
24161 * inet/herrno.c: Likewise.
24162 * malloc/arena.c: Likewise.
24163 * malloc/hooks.c: Likewise.
24164 * malloc/malloc.c: Likewise.
24165 * resolv/res-state.c: Likewise.
24166 * resolv/res_libc.c: Likewise.
24167 * sysdeps/i386/dl-machine.h: Likewise.
24168 * sysdeps/ia64/dl-machine.h: Likewise.
24169 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24170 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24171 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24172 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24173 * sysdeps/sh/dl-machine.h: Likewise.
24174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24175 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24176 * sysdeps/unix/i386/sysdep.S: Likewise.
24177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24178 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24179 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24183 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24184 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24186 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24187 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24188 * sysdeps/x86_64/dl-machine.h: Likewise.
24189 * tls.make.c: Likewise.
24190
3ce1f295
UD
24191 * configure.in: Remove --with-__thread option. Make tests for
24192 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24193 tls_model attribute fail if no support is available. Remove
24194 USE_IN_LIBIO.
24195 * Makeconfig: Adjust for dropped configure option. All features are
24196 now mandatory.
24197 * Makerules: Likewise.
24198 * Versions.def: Likewise.
24199 * argp/argp-fmtstream.c: Likewise.
24200 * argp/argp-fmtstream.h: Likewise.
24201 * argp/argp-help.c: Likewise.
24202 * assert/assert.c: Likewise.
24203 * config.h.in: Likewise.
24204 * config.make.in: Likewise.
24205 * configure: Likewise.
24206 * configure.in: Likewise.
24207 * csu/Versions: Likewise.
24208 * csu/init.c: Likewise.
24209 * elf/tst-audit2.c: Likewise.
24210 * elf/tst-tls10.c: Likewise.
24211 * elf/tst-tls10.h: Likewise.
24212 * elf/tst-tls11.c: Likewise.
24213 * elf/tst-tls12.c: Likewise.
24214 * elf/tst-tls14.c: Likewise.
24215 * elf/tst-tlsmod11.c: Likewise.
24216 * elf/tst-tlsmod12.c: Likewise.
24217 * elf/tst-tlsmod13.c: Likewise.
24218 * elf/tst-tlsmod13a.c: Likewise.
24219 * elf/tst-tlsmod14a.c: Likewise.
24220 * elf/tst-tlsmod15b.c: Likewise.
24221 * elf/tst-tlsmod16a.c: Likewise.
24222 * elf/tst-tlsmod16b.c: Likewise.
24223 * elf/tst-tlsmod7.c: Likewise.
24224 * elf/tst-tlsmod8.c: Likewise.
24225 * elf/tst-tlsmod9.c: Likewise.
24226 * gmon/gmon.c: Likewise.
24227 * grp/fgetgrent_r.c: Likewise.
24228 * grp/putgrent.c: Likewise.
24229 * hurd/fopenport.c: Likewise.
24230 * include/libc-symbols.h: Likewise.
24231 * include/tls.h: Likewise.
24232 * intl/gettextP.h: Likewise.
24233 * intl/loadinfo.h: Likewise.
24234 * locale/global-locale.c: Likewise.
24235 * locale/localeinfo.h: Likewise.
24236 * mach/devstream.c: Likewise.
24237 * malloc/arena.c: Likewise.
24238 * malloc/set-freeres.c: Likewise.
24239 * misc/err.c: Likewise.
24240 * misc/getttyent.c: Likewise.
24241 * misc/mntent_r.c: Likewise.
24242 * posix/getopt.c: Likewise.
24243 * posix/wordexp.c: Likewise.
24244 * pwd/fgetpwent_r.c: Likewise.
24245 * resolv/Versions: Likewise.
24246 * resolv/res_hconf.c: Likewise.
24247 * shadow/fgetspent_r.c: Likewise.
24248 * shadow/putspent.c: Likewise.
24249 * stdio-common/printf_fphex.c: Likewise.
24250 * stdio-common/tmpfile.c: Likewise.
24251 * stdlib/abort.c: Likewise.
24252 * stdlib/fmtmsg.c: Likewise.
24253 * sunrpc/auth_unix.c: Likewise.
24254 * sunrpc/clnt_perr.c: Likewise.
24255 * sunrpc/clnt_tcp.c: Likewise.
24256 * sunrpc/clnt_udp.c: Likewise.
24257 * sunrpc/clnt_unix.c: Likewise.
24258 * sunrpc/openchild.c: Likewise.
24259 * sunrpc/svc_simple.c: Likewise.
24260 * sunrpc/svc_tcp.c: Likewise.
24261 * sunrpc/svc_udp.c: Likewise.
24262 * sunrpc/svc_unix.c: Likewise.
24263 * sunrpc/xdr.c: Likewise.
24264 * sunrpc/xdr_array.c: Likewise.
24265 * sunrpc/xdr_rec.c: Likewise.
24266 * sunrpc/xdr_ref.c: Likewise.
24267 * sunrpc/xdr_stdio.c: Likewise.
24268
1248c1c4
PB
242692011-09-09 Ulrich Drepper <drepper@gmail.com>
24270
24271 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24272
242732011-07-03 Andreas Jaeger <aj@suse.de>
24274
24275 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24276 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24277 regenerate with gen-libm-tests.pl.
24278
242792010-05-12 Petr Baudis <pasky@suse.cz>
24280
24281 [BZ #11589]
24282 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24283 around j0() zero points by switching to j1().
24284 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24288
f22e1074
UD
242892011-09-09 Ulrich Drepper <drepper@gmail.com>
24290
f19009c1
UD
24291 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24292 instead of 0.
24293 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24294 instead of 0.
f19009c1
UD
24295 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24296 Patch in part by Pavel Roskin <proski@gnu.org>.
24297
3f8cc204
UD
24298 [BZ #13138]
24299 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24300 realloc.
24301 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24302 Free memory block if necessary.
24303
f22e1074
UD
24304 [BZ #12847]
24305 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24306 be NULL. Don't lock in this case.
24307
0a2349f9
RM
243082011-09-09 Roland McGrath <roland@hack.frob.com>
24309
24310 * elf/elf.h (ELFOSABI_GNU): New macro.
24311 (ELFOSABI_LINUX): Define to that.
24312
f3cdd467
DZ
243132011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24314
24315 * string/strncat.c (strncat): Undef the symbol in case it has been
24316 defined in bits/string.h.
24317
74718d13
UD
243182011-09-09 Ulrich Drepper <drepper@gmail.com>
24319
633e9e0f
UD
24320 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24321
0a2349f9 24322 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24323 link map.
24324
f9924780
AJ
243252011-08-17 Andreas Jaeger <aj@suse.de>
24326
24327 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24328
7f5517aa
PP
243292011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24330 Ian Lance Taylor <iant@google.com>
24331
24332 * math/libm-test.inc (lround_test): New testcase.
24333 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24334
762011fe
UD
243352011-09-08 Ulrich Drepper <drepper@gmail.com>
24336
92963737
UD
24337 * Makefile: Remove support for automatic cvs check-ins.
24338 * Makerules: Likewise.
24339 * config.make.in: Likewise.
24340 * configure.in: Likewise.
24341 * intl/Makefile: Likewise.
24342 * locale/Makefile: Likewise.
24343 * po/Makefile: Likewise.
24344 * posix/Makefile: Likewise.
24345 * sysdeps/gnu/Makefile: Likewise.
24346 * sysdeps/mach/hurd/Makefile: Likewise.
24347 * sysdeps/sparc/sparc32/Makefile: Likewise.
24348
b0727fd8
JS
24349 [BZ #13118]
24350 * posix/Makefile (bug-regex32-ENV): Define.
24351 Patch by John Stanley <jpsinthemix@verizon.net>.
24352
a0f33f99
UD
24353 * misc/Makefile (headers): Add bits/select2.h.
24354 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24355 * misc/bits/select2.h: New file.
24356 * include/bits/select2.h: New file.
24357 * debug/Makefile (routines): Add fdelt_chk.
24358 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24359 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24360 FD_ISSET.
24361 * debug/fdelt_chk.c: New file.
24362
762011fe
UD
24363 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24364 * wcsmbs/test-wmemcmp.c: Likewise.
24365 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24366 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24367
243682011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24369
24370 * string/Makefile (strop-tests): Add memcmp.
24371 * string/test-wmemcmp.c: New file.
24372 * string/test-memcmp.c: Add wmemcmp support.
24373
7f513ec8
RM
243742011-09-08 Roland McGrath <roland@hack.frob.com>
24375
0442afb4
RM
24376 [BZ #13153]
24377 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24378 2011-07-19 change.
24379
7f513ec8
RM
24380 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24381 garbage value in a __mach_port_mod_refs call in the cases of the
24382 task-self and thread-self ports.
24383
a12b2239
ST
243842011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24385
24386 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24387
610f9ab4
AS
243882011-09-08 Andreas Schwab <schwab@redhat.com>
24389
7f513ec8 24390 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24391
48882a1a
LD
243922011-09-07 Ulrich Drepper <drepper@gmail.com>
24393
b49865be
UD
24394 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24395
fdc86bc9
UD
24396 * elf/dl-libc.c (dlerror_run): Pass back error code from
24397 dl_catch_error.
24398
c966526a
UD
24399 [BZ #13123]
24400 * elf/dl-load.c (lose): Free l_origin if it is valid.
24401
48882a1a
LD
24402 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24403 names.
24404 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24406 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24407 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24408 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24409 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24410
77a2a8b4
AZ
244112011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24412
24413 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24414 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24415 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24416 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24417 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24418 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24419 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24420 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24421 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24422 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24423
24f579d8
AM
244242011-08-15 Alan Modra <amodra@gmail.com>
24425
24426 [BZ #13092]
24427 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24428 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24429 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24430 ppc_mcount to static-only-routines.
24431 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24432 __mcount_internal.
24433 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24434 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24435
3d4837df
UD
244362011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24437
24438 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24439 for finite and infinity parameters.
24440
22700377
WS
244412011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24442
24443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24444 and add nop instructions for throughput optimization.
24445 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24446
5025581e
WS
244472011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24448
24449 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24450 aligned copy for power7 with vector-scalar instructions.
24451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24452
08a300c9
L
244532011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24454
24455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24456 AVX check.
24457
59178ef9
AS
244582011-09-07 Andreas Schwab <schwab@redhat.com>
24459
24460 [BZ #13144]
24461 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24462 last change.
24463
e38ba7ab
UD
244642011-09-07 Ulrich Drepper <drepper@gmail.com>
24465
24466 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24467 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24468 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24469 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24470 clock_gettime.
24471
d53a73ac
UD
244722011-09-06 Ulrich Drepper <drepper@gmail.com>
24473
fc8bffcc
UD
24474 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24475 Forgot to demangle the pointer.
24476
ceaa0c5d
UD
24477 * sysdeps/i386/sysdep.h: Define atom_text_section.
24478 * sysdeps/x86_64/sysdep.h: Likewise.
24479 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24480 section with atom_text_section.
24481 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24483 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24484 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24485 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24486
a77d3c17
UD
24487 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24488 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24489 already be defined. Change to take two parameters and don't assign
24490 result to variable. Adjust all users.
24491 Define INTERNAL_GETTIME if not already defined.
24492 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24493 call.
24494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24495 HAVE_CLOCK_GETTIME_VSYSCALL.
24496 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24497
d53a73ac
UD
24498 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24499 gettimeofday vsyscall, just use time.
24500
a8f84144
AS
245012011-09-06 Andreas Schwab <schwab@redhat.com>
24502
24503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24504 <errno.h>.
24505
ef606249
UD
245062011-09-06 Ulrich Drepper <drepper@gmail.com>
24507
24508 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24509 syscall on x86-64.
24510 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24511 syscall.
24512 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24513 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24514 syscall if possible.
24515
6585cb60
UD
245162011-09-05 Ulrich Drepper <drepper@gmail.com>
24517
24518 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24519 e_ident. Don't pass to find_mapsXX.
24520 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24521
a5f524e4
LD
245222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24523
24524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24525 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24526 * sysdeps/x86_64/multiarch/strchr.S: Update.
24527 Check bit_slow_BSF bit.
24528 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24529 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24530 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24531
554881ef
UD
245322011-09-05 Ulrich Drepper <drepper@gmail.com>
24533
d96de963
UD
24534 [BZ #13134]
24535 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24536 before glibc 2.15.
24537 (tryshell): Define.
24538 (__spawni): Change last parameter to be flag. Test
24539 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24540 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24541 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24542 * posix/spawni.c: Likewise.
24543 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24544 * posix/spawnp.c: Likewise. Change normal version to use
24545 SPAWN_XFLAGS_USE_PATH.
24546 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24547 SPAWN_XFLAGS_TRY_SHELL.
24548
d48e5868
UD
24549 [BZ #13150]
24550 * posix/glob.h: Remove gcc 1.x support.
24551
554881ef
UD
24552 [BZ #13068]
24553 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24554
693fb948
LD
245552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24556
24557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24558 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24559 strrchr-sse2-bsf
24560 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24561 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24562 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24563 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24564 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24565 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24566
1b48c537
UD
245672011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24568
49d42c37
UD
24569 * sysdeps/x86_64/wcscmp.S: New file.
24570
1b48c537
UD
24571 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24572 wcscmp-c wcscmp-sse2
24573 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24574 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24575 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24576 * wcsmbs/wcscmp.c: Allow renaming.
24577
15c95c5d
DM
245782011-09-05 David S. Miller <davem@davemloft.net>
24579
24580 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24581 stack slot, rather than the struct return pointer slot.
24582 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24583 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24585 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24586
2f0ad8f3
UD
245872011-09-05 Ulrich Drepper <drepper@gmail.com>
24588
d88ae418
UD
24589 * po/ja.po: Update from translation team.
24590
2f0ad8f3
UD
24591 [BZ #13144]
24592 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24593 kernel in 64-bit binaries.
24594
5f4318d1
DM
245952011-09-01 David S. Miller <davem@davemloft.net>
24596
24597 * elf/elf.h (HWCAP_SPARC_*): Move to..
24598 * sysdeps/sparc/sysdep.h: this new file and add new values.
24599 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24600 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24601 _DL_HWCAP_COUNT to 24.
24602 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24603 entries.
24604 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24605 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24606 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24608 instead of magic constants.
24609 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24610
3ba57516
DM
246112011-08-31 David S. Miller <davem@davemloft.net>
24612
24613 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24614 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24615 Reimplement to do errno handling inline.
24616 (SYSCALL_ERROR_HANDLER): New macro.
24617 (__SYSCALL_STRING): Do not do errno handling in asm.
24618 (__CLONE_SYSCALL_STRING): Delete.
24619 (__INTERNAL_SYSCALL_STRING): Delete.
24620 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24621 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24622 (PSEUDO): Reimplement to do errno handling inline.
24623 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24624 (SYSCALL_ERROR_HANDLER): New macro.
24625 (__SYSCALL_STRING): Do not do errno handling in asm.
24626 (__CLONE_SYSCALL_STRING): Delete.
24627 (__INTERNAL_SYSCALL_STRING): Delete.
24628 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24629 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24630 i386.
24631 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24632 (inline_syscall*): Add 'err' argument.
24633 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24634 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24635 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24636 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24637
24638 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24639 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24640
2bc17433
AS
246412011-08-30 Andreas Schwab <schwab@redhat.com>
24642
24643 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24644
fbeb5f4d
JO
246452011-08-29 Jiri Olsa <jolsa@redhat.com>
24646
24647 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24648 directive.
24649
ad69cc26
DM
246502011-08-24 David S. Miller <davem@davemloft.net>
24651
24652 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24653
39dd69df
AS
246542011-08-24 Andreas Schwab <schwab@redhat.com>
24655
24656 * elf/Makefile: Add rules to build and run unload8 test.
24657 * elf/unload8.c: New file.
24658 * elf/unload8mod1.c: New file.
24659 * elf/unload8mod1x.c: New file.
24660 * elf/unload8mod2.c: New file.
24661 * elf/unload8mod3.c: New file.
24662
24663 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24664 it wasn't used.
24665
2c0b250a
DM
246662011-08-23 David S. Miller <davem@davemloft.net>
24667
24668 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24669 subtract stack bias.
24670 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24671 %sp not %fp in calculations.
24672 (_JMPBUF_UNWINDS_ADJ): Likewise.
24673
22044b48
DM
24674 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24675 (aio_suspend): Call it to force an exception region around the
24676 AIO_MISC_WAIT() invocation.
24677
2cae4995
AS
246782011-08-23 Andreas Schwab <schwab@redhat.com>
24679
24680 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24681 backslash.
24682
873a772e
AJ
246832011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24684
24685 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24686 protection macro.
24687 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24688 and <dl-machine.h>.
24689 (Elf64_FuncDesc): Remove.
24690
25ad0df1
DM
246912011-08-22 David S. Miller <davem@davemloft.net>
24692
24693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24694 sigaltstack check, add missing cfi directives.
24695 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24696 missing cfi directives, and sigaltstack handling.
24697
e888bcbe
AS
246982011-08-16 Andreas Schwab <schwab@redhat.com>
24699
24700 [BZ #11724]
24701 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24702 object is seen twice.
24703 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24704
24705 * elf/Makefile (distribute): Add tst-initorder2.c.
24706 (tests): Add tst-initorder2.
24707 (modules-names): Add tst-initorder2a tst-initorder2b
24708 tst-initorder2c tst-initorder2d. Add rules to build them.
24709 ($(objpfx)tst-initorder2.out): New rule.
24710 * elf/tst-initorder2.c: New file.
24711 * elf/tst-initorder2.exp: New file.
24712
87162f46
AS
247132011-08-22 Andreas Schwab <schwab@redhat.com>
24714
70538b7f
AS
24715 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24716
f55ffe58
AS
24717 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24718 dependencies back to end of function.
24719
87162f46
AS
24720 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24721 $(elfobjdir)/ld.so.
24722
91b392a4
UD
247232011-08-21 Ulrich Drepper <drepper@gmail.com>
24724
24725 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24726 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24728 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24729 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24730 of __vdso_gettimeofday.
24731 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24732 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24733 attribute_hidden.
24734 (_libc_vdso_platform_setup): Remove initialization of
24735 __vdso_gettimeofday and __vdso_time.
24736
5c43483f
UD
247372011-08-20 Ulrich Drepper <drepper@gmail.com>
24738
775a77e7
UD
24739 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24740 and fgetc_unlocked.
24741 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24742 getc_unlocked.
89f447ed 24743
49c74ba9
UD
24744 * elf/dl-open.c (add_to_global): Report additions to the global scope
24745 for LD_DEBUG=scopes.
24746 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 24747 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 24748
5c43483f
UD
24749 [BZ #13114]
24750 * stdio-common/Makefile (tests): Add bug24.
24751 * stdio-common/bug24.c: New file.
24752
a101b025
AJ
247532011-08-19 Andreas Jaeger <aj@suse.de>
24754
24755 [BZ #13114]
24756 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
24757 non-existant file when using close-on-exec mode.
24758
c88f1766
UD
247592011-08-20 Ulrich Drepper <drepper@gmail.com>
24760
0276a718
UD
24761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
24762 the very first instruction.
24763
c88f1766
UD
24764 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
24765 the CFI state in the end.
24766 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
24767 inclusion of dl-trampoline.h.
24768 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
24769
51ccffa0
AS
247702011-08-19 Andreas Schwab <schwab@redhat.com>
24771
94d7165f
AS
24772 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
24773 expectations for long double.
24774
51ccffa0
AS
24775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
24776 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
24777
fd708658 247782011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
24779
24780 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
24781 artificual limit depends upon the system page size.
24782
44f0a71e
UD
247832011-08-17 Ulrich Drepper <drepper@gmail.com>
24784
24785 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24786 * resolv/Makefile: Define CFLAGS-libresolv.
24787
8de79a24
AS
247882011-08-17 Andreas Schwab <schwab@redhat.com>
24789
24790 * nss/makedb.c (compute_tables): Make variables used in nested
24791 function static.
24792
27724598
UD
247932011-08-17 Ulrich Drepper <drepper@gmail.com>
24794
c5305d88
UD
24795 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24796 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24797 if buffer was too small.
24798
27724598
UD
24799 * elf/pldd.c (main): Attach to all threads in the process.
24800 Rewrite /proc handling to use *at functions.
24801
076fe015
UD
248022011-08-16 Ulrich Drepper <drepper@gmail.com>
24803
174baab3
UD
24804 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24805 specifies first scope to show.
24806 (dl_open_worker): Update callers. Move printing scope of new
24807 object to before the relocation.
44f0a71e 24808 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24809 * sysdeps/generic/ldsodefs.h: Update declaration.
24810
076fe015
UD
24811 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24812 string for the scope number.
24813
a60df2c3
UD
248142011-08-14 Ulrich Drepper <drepper@gmail.com>
24815
24816 * nscd/servicescache.c (cache_addserv): Make sure written is always
24817 initialized.
24818
5e4287d1
RM
248192011-08-14 Roland McGrath <roland@hack.frob.com>
24820
85ae0589
RM
24821 * sysdeps/i386/i486/bits/atomic.h
24822 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24823 statement expression, so as to suppress "set but not used" warning.
24824 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24825
69f63097
RM
24826 * string/strncat.c (STRNCAT): Use prototype definition.
24827
675456ef
RM
24828 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24829 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24830 -Iprograms here.
24831 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24832 (localedef-modules): Add localedef.
24833 (locale-modules): Add locale.
24834
5e4287d1
RM
24835 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24836 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24837 to avoid a warning.
24838
9c96ff23
DM
248392011-08-14 David S. Miller <davem@davemloft.net>
24840
24841 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24842 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24843
f9ddf089
UD
248442011-08-13 Ulrich Drepper <drepper@gmail.com>
24845
44f0a71e 24846 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24847 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24848 * elf/rtld.c (dl_main): Set l_name of vDSO.
24849 Call _dl_show_scope when DL_DEBUG_SCOPES.
24850 (process_dl_debug): Recognize scopes flag and also set it for all.
24851 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24852 Declare _dl_show_scope.
24853
1dc27704
UD
24854 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24855 (do_dlopen): Pass caller_dlopen to dl_open.
24856 (__libc_dlopen_mode): Initialize caller_dlopen.
24857
f9ddf089
UD
24858 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24859 of libc. Make tolower call locale-independent. Optimize a bit by
24860 using isdigit instead of isalnum.
24861 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24862
9ac533d3
UD
248632011-08-12 Ulrich Drepper <drepper@gmail.com>
24864
24865 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24866 was a dependency or dynamically loaded.
24867
89edf2e9
UD
248682011-08-11 Ulrich Drepper <drepper@gmail.com>
24869
8e999d29
UD
24870 * intl/l10nflist.c: Allow architecture-specific pop function.
24871 * sysdeps/x86_64/l10nflist.c: New file.
24872
89edf2e9
UD
24873 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24874 classification.
24875
14d96785
AS
248762011-08-10 Andreas Schwab <schwab@redhat.com>
24877
24878 * include/dirent.h: Add libc_hidden_proto for scandirat and
24879 scandirat64. Don't declare __scandirat64.
24880 * dirent/scandirat.c: Add libc_hidden_def.
24881 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24882 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24883
6761ac04
DM
248842011-08-10 David S. Miller <davem@davemloft.net>
24885
24886 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24887 enum.
24888 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24889 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24890 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24891
c55fbd1e
UD
248922011-08-09 Ulrich Drepper <drepper@gmail.com>
24893
24894 * Versions.def [libc]: Add GLIBC_2.15.
24895 * dirent/Makefile (routines): Add scandirat and scandirat64.
24896 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24897 GLIBC_2.15.
24898 * dirent/dirent.h: Declare scandirat and scandirat64.
24899 * dirent/scandirat.c: New file.
24900 * dirent/scandirat64.c: New file.
24901 * sysdeps/wordsize-64/scandirat.c: New file.
24902 * sysdeps/wordsize-64/scandirat64.c: New file.
24903 * dirent/opendir.c: Define opendirat.
24904 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24905 using scandirat.
24906 * dirent/scandir64.c: Adjust for scandir.c change.
24907 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24908 __scandirat64, and __scandir_cancel_handler.
24909 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24910 additional parameter and use openat instead of open (outside of ld.so).
24911 Add new __opendir as wrapper around __opendirat.
24912 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24913 here without requiring old scandirat implementation.
24914
879165f2
UD
249152011-08-08 Ulrich Drepper <drepper@gmail.com>
24916
24917 * dirent/scandir.c (cancel_handler): Renamed to
24918 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24919 defined. Adjust users.
24920 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24921 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24922
cb7e923b
UD
249232011-08-04 Ulrich Drepper <drepper@gmail.com>
24924
16292edd
UD
24925 * string/test-string.h (IMPL): Use __STRING to expand name and then
24926 stringify it.
24927
cb7e923b
UD
24928 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24929 of cleanups.
24930
cff82933
LD
249312011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24932
24933 * string/Makefile: Update.
24934 (strop-tests): Append strncat.
24935 * string/test-wcscmp.c: New file.
24936 New comprehensive test for wcscmp.
24937 * string/test-strcmp.c: Update.
24938 (WIDE): New define.
24939
9be9bfcc
AS
249402011-07-22 Andreas Schwab <schwab@redhat.com>
24941
24942 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24943 line.
24944
2e96f1c7
AS
249452011-07-26 Andreas Schwab <schwab@redhat.com>
24946
24947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24948 encoding to ACE if AI_IDN.
24949
85188888
JJ
249502011-08-01 Jakub Jelinek <jakub@redhat.com>
24951
24952 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24953 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24954
5fa16e9b
LD
249552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24956
24957 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24958 Fix overflow bug in strncat.
24959 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24960
24961 * string/test-strncat.c: Update.
24962 Add new tests for checking overflow bugs.
24963
249642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24965
24966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24967 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24968 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24969 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24970 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24971 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24972 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24973 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24974 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24975
24976 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24977 (USE_AS_STRCAT): Define.
24978 Add strcat and strncat support.
24979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24980
8c1a459f
AS
249812011-07-25 Andreas Schwab <schwab@redhat.com>
24982
24983 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24984 __n bigger than INT_MAX+1.
24985 (__strncmp_g): Likewise.
24986
bba33c28
UD
249872011-07-23 Ulrich Drepper <drepper@gmail.com>
24988
798be72d
UD
24989 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24990 * libio/stido.h: Likewise.
24991
8accd4dc
UD
24992 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24993 (AF_NFC): Define.
24994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24995 (AF_NFC): Define.
24996
cbff0d96
UD
24997 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24998 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24999 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25000 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25002
9191c04a
UD
25003 [BZ #13021]
25004 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25005 installed.
25006
bba33c28
UD
25007 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25008 typo.
25009 (_dl_x86_64_save_sse): Likewise.
25010
90f139dd
UD
250112011-07-22 Ulrich Drepper <drepper@gmail.com>
25012
1aae088a
UD
25013 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25014 OSXSAVE.
25015 (_dl_x86_64_save_sse): Likewise.
25016
8e2045f5
UD
25017 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25018
90f139dd
UD
25019 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25020
1d002f25
AS
250212011-07-21 Andreas Schwab <schwab@redhat.com>
25022
25023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25024 change.
25025 (_dl_x86_64_save_sse): Use correct AVX check.
25026
21137f89
UD
250272011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25028
25029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25030 bug in strncpy/strncat.
25031 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25032
a65c0b7a
UD
250332011-07-21 Ulrich Drepper <drepper@gmail.com>
25034
25035 * string/tester.c (test_strcat): Add tests for different alignments
25036 of source and destination.
25037 (test_strncat): Likewise.
25038
6986b98a
UD
250392011-07-20 Ulrich Drepper <drepper@gmail.com>
25040
90bb2039
UD
25041 [BZ #12852]
25042 * posix/glob.c (glob): Check passed in values before using them in
25043 expressions to avoid some overflows.
25044 (glob_in_dir): Likewise.
25045
5644ef54
UD
25046 [BZ #13007]
25047 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25048 check for AVX enablement so that we don't crash with old kernels and
25049 new hardware.
25050 * elf/tst-audit4.c: Add same checks here.
25051 * elf/tst-audit6.c: Likewise.
25052
25053 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25054
bfc9dc9b
AS
250552011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25056
25057 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25058
702e64bb
UD
250592011-07-20 Ulrich Drepper <drepper@gmail.com>
25060
25061 * po/cs.po: Update from translation team.
25062 * po/bg.po: Likewise.
25063
295e904f
MP
250642011-07-12 Marek Polacek <mpolacek@redhat.com>
25065
25066 * misc/sys/cdefs.h: Add support for const attribute.
25067 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25068 to gnu_dev_{major,minor,makedev} functions.
25069
3ff94596
MP
250702011-07-20 Marek Polacek <mpolacek@redhat.com>
25071
25072 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25073
28b59fca
AS
250742011-07-20 Andreas Schwab <schwab@redhat.com>
25075
25076 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25077 strlen results.
25078
19df733e
AK
250792011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25080
25081 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25082 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25083 register in order to avoid conflicts with the soft frame pointer
25084 being held in r11 when necessary.
25085 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25086 (INTERNAL_VSYSCALL_NCS): Likewise.
25087
c8835729
MP
250882011-07-14 Marek Polacek <mpolacek@redhat.com>
25089
25090 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25091 * elf/dl-fini.c (_dl_fini): Adjust caller.
25092 * elf/dl-close.c (_dl_close_worker): Likewise.
25093 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25094
b902330c
MP
250952011-07-15 Marek Polacek <mpolacek@redhat.com>
25096
8991e135
MP
25097 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25098 "aux_cache->nlibs < 0".
25099
b902330c
MP
25100 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25101 in the reload-count case.
25102
99710781
LD
251032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25104
25105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25106 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25107 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25108 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25109 * sysdeps/x86_64/multiarch/strcat.S: New file.
25110 * sysdeps/x86_64/multiarch/strncat.S: New file.
25111 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25112 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25113 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25114 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25116 (USE_AS_STRCAT): Define.
25117 Add strcat and strncat support.
25118 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25119 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25120 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25121 * string/strncat.c: Update.
25122 (USE_AS_STRNCAT): Define.
25123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25124 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25125 and i7.
25126 * sysdeps/x86_64/multiarch/init-arch.h
25127 (bit_Prefer_PMINUB_for_stringop): New.
25128 (index_Prefer_PMINUB_for_stringop): Likewise.
25129 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25130 bit_Prefer_PMINUB_for_stringop.
25131
7dc6bd90
UD
251322011-07-19 Ulrich Drepper <drepper@gmail.com>
25133
25134 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25135 buffer64.
25136 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25137 of casting of buffer.
25138 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25139 buffer32 and buffer64.
25140 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25141 writes instead of casting of buffer.
25142 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25143 buffer32.
25144 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25145 casting of buffer.
25146
e0e72284
AS
251472011-07-19 Andreas Schwab <schwab@redhat.com>
25148
25149 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25150
feb1eb0b
UD
251512011-07-19 Ulrich Drepper <drepper@gmail.com>
25152
25153 * nscd/nscd.c (termination_handler): Don't do anything for a database
25154 if it has not yet been initialized.
25155
298711ff
UD
251562011-07-18 Ulrich Drepper <drepper@gmail.com>
25157
25158 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25159
251602011-07-15 Marek Polacek <mpolacek@redhat.com>
25161
25162 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25163
f9d68389
UD
251642011-07-18 Ulrich Drepper <drepper@gmail.com>
25165
25166 * po/nl.po: Update from translation team.
25167 * po/sv.po: Likewise.
25168
db290cf5
RM
251692011-07-16 Roland McGrath <roland@hack.frob.com>
25170
25171 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25172 now disallowed by GCC.
5c550700 25173
fd5e21c7
RM
25174 * configure.in (use-default-link): Default to yes if a test -shared
25175 link meets our qualifications.
25176 * configure: Regenerated.
25177
5c550700
RM
25178 * config.make.in (output-format): New variable.
25179 * configure.in: Check for ld --print-output-format support.
25180 * configure: Regenerated.
25181 * Makerules ($(common-objpfx)format.lds)
25182 [$(output-format) != unknown]: Just use $(output-format),
25183 instead of the linker-script munging.
25184
9fa2c032
RM
251852011-07-14 Roland McGrath <roland@hack.frob.com>
25186
a6928d51
RM
25187 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25188 of $(common-objpfx)shlib.lds.
25189 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25190
661607b3
RM
25191 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25192 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25193
9fa2c032
RM
25194 * configure.in (-z relro check): Adjust test code to add a large
25195 writable data section after it.
25196 * configure: Regenerated.
25197
defe9061
RM
251982011-07-11 Roland McGrath <roland@hack.frob.com>
25199
25200 * configure.in (-z relro check): Fix test code to make the variable
25201 truly const.
25202 * configure: Regenerated.
25203
319b9ad4
UD
252042011-07-11 Ulrich Drepper <drepper@gmail.com>
25205
25206 * nscd/nscd.h (struct traced_file): Define.
25207 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25208 elements. Add traced_files.
25209 (inotify_fd): Declare.
25210 (register_traced_file): Declare.
25211 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25212 (inotify_fd): Export.
25213 (resolv_conf_descr): Remove.
25214 (nscd_init): Move inotify descriptor creation to main.
25215 Don't register files for notification here.
25216 (register_traced_file): New function.
25217 (invalidate_cache): Don't use reset_res to determine whether to call
25218 res_init, go through the list of registered files.
25219 (main_loop_poll): The inotify descriptors are now stored in the
25220 structures for the traced files.
25221 (main_loop_epoll): Likewise
25222 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25223 to __nss_disable_nscd.
25224 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25225 for a database anymore. Check the records for all the registered
25226 files instead.
25227 * nss/Makefile (libnss_files-routines): Add files-init.
25228 (libnss_db-routines): Add db-init.
25229 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25230 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25231 * nss/nss_db/db-init.c: New file.
25232 * nss/nss_files/files-init.c: New file.
25233 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25234 __nss_lookup_function.
25235 (__nss_lookup_function): Call nss_load_library.
25236 (nss_load_all_libraries): New function.
25237 (__nss_disable_nscd): Take parameter with callback function for files
25238 to register. Set is_nscd. Load all the DSOs for the NSS modules
25239 used for the cached services.
25240 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25241 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25242 options for features to all the files in nscd.
25243
25244 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25245
23bee3e8
RM
252462011-07-10 Roland McGrath <roland@hack.frob.com>
25247
25248 * csu/elf-init.c (__libc_csu_init): Comment typo.
25249
46a5b7f0
UD
252502011-07-09 Ulrich Drepper <drepper@gmail.com>
25251
25252 * po/pl.po: Update from translation team.
25253 * po/ja.po: Likewise.
25254 * po/ru.po: Likewise.
25255 * po/ko.po: Likewise.
25256 * po/fr.po: Likewise.
25257
d30cf5bb
RM
252582011-07-09 Roland McGrath <roland@hack.frob.com>
25259
113ddea4
RM
25260 * configure.in (.ctors/.dtors header and trailer check):
25261 Use an empirical test on a built program.
25262 * configure: Regenerated.
25263
574920b4
RM
25264 * configure.in (-z relro check): Use an empirical test on a built DSO.
25265 Detect, but do not require, on ia64.
25266 * configure: Regenerated.
25267
d30cf5bb
RM
25268 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25269 Update tests that use readelf to use $READELF instead.
25270 * configure: Regenerated.
25271
8538fdb3
UD
252722011-07-08 Ulrich Drepper <drepper@gmail.com>
25273
25274 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25275 if the result is not used.
25276
04d08991
AJ
252772011-07-05 Andreas Jaeger <aj@suse.de>
25278
25279 [BZ#9696]
25280 * stdlib/tst-strtod.c: Add testcase.
25281
de283087
AD
252822011-07-07 Ulrich Drepper <drepper@gmail.com>
25283
4e5f31c8 25284 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25285 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25286 The latter has a higher limit. Take additional parameter to pass to
25287 the new function.
25288 (__pathconf): Pass file to __statfs_link_max.
25289 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25290 __statfs_link_max.
25291 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25292 __statfs_link_max.
25293
de283087
AD
25294 [BZ #12868]
25295 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25296 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25297 Handle Lustre.
25298 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25299 (__statfs_filesize_max): Likewise.
25300 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25301
c75fa153
AJ
253022011-07-05 Andreas Jaeger <aj@suse.de>
25303
25304 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25305
1a544854
UD
253062011-07-06 Marek Polacek <mpolacek@redhat.com>
25307
25308 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25309 `status' variable.
25310 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25311 Likewise.
25312
6f0eec67
UD
253132011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25314
25315 * Makefile (strop-tests): Add strncat.
25316 * string/test-strncat.c: New file.
25317
aae30307
UD
253182011-06-30 Marek Polacek <mpolacek@redhat.com>
25319
25320 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25321
c0cfb5eb
UD
253222011-06-21 Andreas Jaeger <aj@suse.de>
25323
25324 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25325 Copy rule from iconvdata/Makefile.
25326
01636b21
UD
253272011-07-06 Ulrich Drepper <drepper@gmail.com>
25328
25329 [BZ #12922]
25330 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25331 but no long options are defined, just return 'W'.
25332
9895c8bc
UD
253332011-06-22 Marek Polacek <mpolacek@redhat.com>
25334
25335 [BZ #9696]
25336 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25337
5d4cf042
UD
253382011-07-06 Ulrich Drepper <drepper@gmail.com>
25339
25340 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25341 netgroups to read.
960e5535 25342 (innetgr): Likewise.
5d4cf042 25343
751eb97e
RM
253442011-07-05 Roland McGrath <roland@hack.frob.com>
25345
25346 * config.make.in (install_root): Default to $(DESTDIR).
25347
f15f1e45
UD
253482011-07-05 Ulrich Drepper <drepper@gmail.com>
25349
25350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25351
4e34ac6a
RM
253522011-07-02 Roland McGrath <roland@hack.frob.com>
25353
5e9b6af4
RM
25354 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25355
84f9ea0f
RM
25356 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25357 containing directory rather than embedding absolute directory names.
25358
ea5ee9f7
RM
25359 * scripts/check-local-headers.sh: Rewritten using awk.
25360 Match by word, not by line. Print error messages for matches.
25361 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25362
1b74661a
RM
25363 * Makerules [shlib-lds-flags empty]:
25364 ($(common-objpfx)libc_pic.opts): New target.
25365 ($(common-objpfx)libc_pic.os.clean): New target.
25366 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25367
25368 * config.make.in (OBJCOPY): New variable.
25369 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25370 * configure: Regenerated.
25371
f781ef40
RM
25372 * config.make.in (use-default-link): New variable.
25373 * configure.in (use_default_link): Grok --with-default-link to set it.
25374 * configure: Regenerated.
25375 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25376 (shlib-lds, shlib-lds-flags): Define to empty.
25377
2d4fa81e
RM
25378 * Makerules (shlib-lds): New variable.
25379 (shlib-lds-flags): New variable.
25380 (build-shlib, build-moduile, build-module-asneeded): Use it.
25381 ($(common-objpfx)libc.so): Use $(shlib-lds).
25382 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25383 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25384
31fffa6b
RM
25385 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25386 DT_FLAGS/DT_FLAGS_1 with zero flags.
25387
4e34ac6a
RM
25388 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25389 linker script munging.
25390
fcfc776b
UD
253912011-07-02 Ulrich Drepper <drepper@gmail.com>
25392
25393 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25394 as 128-bit value.
25395 * crypt/sha512.c (sha512_process_block): Perform total addition using
25396 128-bit if possible.
25397 (__sha512_finish_ctx): Likewise.
25398 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25399 as 64-bit value.
25400 * crypt/sha256.c (SWAP64): Define.
25401 (sha256_process_block): Perform total addition using 64-bit if
25402 possible.
25403 (__sha256_finish_ctx): Likewise.
25404
99231d9a
UD
254052011-07-01 Ulrich Drepper <drepper@gmail.com>
25406
25407 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25409 * nscd/hstcache.c (cache_addhst): Likewise.
25410 * nscd/grpcache.c (cache_addgr): Likewise.
25411 * nscd/aicache.c (addhstaiX): Likewise
25412 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25413
445b4a53
TK
254142011-07-01 Thorsten Kukuk <kukuk@suse.de>
25415
25416 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25417 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25418 * nscd/hstcache.c (cache_addhst): Likewise.
25419 * nscd/grpcache.c (cache_addgr): Likewise.
25420 * nscd/aicache.c (addhstaiX): Likewise
25421
6d4d8e8e
AS
254222011-07-01 Andreas Schwab <schwab@redhat.com>
25423
25424 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25425 domain only when needed.
25426
89f654c5
AS
254272011-06-30 Andreas Schwab <schwab@redhat.com>
25428
25429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25430 is always restored.
25431
cf3b23ff
UD
254322011-06-29 Ulrich Drepper <drepper@gmail.com>
25433
25434 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25435 are re-adding the entry.
25436 * nscd/servicescache.c (cache_addserv): Likewise.
25437
751626f9
AJ
254382011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25439
25440 * sysdeps/generic/dl-irel.h: fix protection against multiple
25441 inclusions.
25442 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25443
9113ea1f
UD
254442011-06-28 Ulrich Drepper <drepper@gmail.com>
25445
5c0b8d90
UD
25446 [BZ #12935]
25447 * malloc/memusage.sh: Fix quoting in message.
25448 * debug/xtrace.sh: Likewise.
25449
9113ea1f
UD
25450 * configure.in: Remove support for --experimental-malloc option, make
25451 it the default.
25452 * config.make.in: Likewise.
25453 * malloc/Makefile: Likewise.
25454
a4172181
AS
254552011-06-27 Andreas Schwab <schwab@redhat.com>
25456
25457 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25458 two-byte characters.
25459
78a7eee7
RM
254602011-06-27 Roland McGrath <roland@hack.frob.com>
25461
62bede13
RM
25462 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25463 AC_CACHE_CHECK invocation.
25464 * configure: Regenerated.
25465
78a7eee7
RM
25466 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25467
5ce33a62
UD
254682011-06-27 Ulrich Drepper <drepper@gmail.com>
25469
034807a9
UD
25470 [BZ #12350]
25471 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25472 bit from old_res_options.
25473
4902da17
UD
25474 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25475
5ce33a62
UD
25476 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25477 value type for setfct.
25478
c2344f56
L
254792011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25480
25481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25482 __gettimeofday instead of gettimeofday.
25483
68468076
UD
254842011-06-26 Ulrich Drepper <drepper@gmail.com>
25485
25486 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25487
acb0d739
L
254882011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25489
25490 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25491
25492 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25493 info.
25494
8912479f
L
254952011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25496
25497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25498 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25499 strcpy-sse2-unaligned strncpy-sse2-unaligned
25500 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25501 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25502 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25503 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25504 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25506 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25507 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25508 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25509 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25510 (STRCPY): Support SSE2 and SSSE3 versions.
25511
d5495a11
UD
255122011-06-24 Ulrich Drepper <drepper@gmail.com>
25513
25514 [BZ #12874]
25515 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25516 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25517 kernels which artificially limit size of requests.
25518
0b1cbaae
L
255192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25520
25521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25522 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25523 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25524 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25525 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25526 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25527 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25528 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25531 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25532 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25533 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25534 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25535 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25537 Enable unaligned load optimization for Intel Core i3, i5 and i7
25538 processors.
25539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25540 Define.
25541 (index_Fast_Unaligned_Load): Define.
25542 (HAS_FAST_UNALIGNED_LOAD): Define.
25543
07f494a0
MP
255442011-06-23 Marek Polacek <mpolacek@redhat.com>
25545
25546 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25547
fa3fc0fe
UD
255482011-06-22 Ulrich Drepper <drepper@gmail.com>
25549
25550 [BZ #12907]
25551 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25552 until it is clear that the information is realy needed.
25553 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25554
e12df166
AS
255552011-06-22 Andreas Schwab <schwab@redhat.com>
25556
25557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25558
852eb34d
UD
255592011-06-22 Ulrich Drepper <drepper@gmail.com>
25560
84e2a551
UD
25561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25562 /sys/devices/system/cpu/online if it is usable.
25563
852eb34d
UD
25564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25565 reading the information from the /proc filesystem to once a second.
25566
6e502e19
UD
255672011-06-21 Andreas Jaeger <aj@suse.de>
25568
25569 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25570 NULL after inclusion of kernel headers.
25571
75d39ff2
UD
255722011-06-21 Ulrich Drepper <drepper@gmail.com>
25573
51f9aa6a
UD
25574 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25575 calls to internal_setent.
25576
c0244a9d
UD
25577 [BZ #12885]
25578 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25579 addresses using gethostbyname4_r ignore IPv4 addresses.
25580
c5e3c2ae
UD
25581 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25582 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25583
75d39ff2
UD
25584 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25585
42675c6f
DM
255862011-06-20 David S. Miller <davem@davemloft.net>
25587
25588 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25589 inclusions.
25590 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25591
25592 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25593 (elf_irel): Use it.
25594 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25595 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25596 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25597 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25598 * sysdeps/x86_64/dl-irel.h: Likewise.
25599
25600 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25601 * elf/dl-sym.c: Likewise.
25602
57912a71
UD
256032011-06-15 Ulrich Drepper <drepper@gmail.com>
25604
25605 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25606 need to dereference resplen2.
25607
ee22793d
AS
256082011-06-14 Andreas Schwab <schwab@redhat.com>
25609
25610 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25611
a9e836b0
UD
256122011-06-15 Ulrich Drepper <drepper@gmail.com>
25613
77fb9117
UD
25614 * Makeconfig: Define vardbdir and inst_vardbdir.
25615 * nss/Makefile: Add rules to install db-Makefile.
25616
40c1b22c
UD
25617 * nss/nss_db/db-XXX.c: Cleanup.
25618
9f2da732
UD
25619 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25620 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25621 GLIBC_PRIVATE.
25622 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25623 * nss/makedb.c: Implement -g option to specify that value strings
25624 are generated and should not be added to table iterated over for
25625 get*ent calls.
25626 * nss/nss_db/db-initgroups.c: New file.
25627
82e9a1f7
UD
25628 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25629 interface.
25630
c41af17e
UD
25631 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25632 (internal_getgrouplist): Adjust to name change.
25633 Update use_initgroups_entry if this is not the first call.
25634 * nss/databases.def: Add initgroups entry.
25635
a9e836b0
UD
25636 * nss/makedb.c (compute_tables): Check result of multiple hash table
25637 sizes to minimize maximum chain length.
25638
2666d441
UD
256392011-06-14 Ulrich Drepper <drepper@gmail.com>
25640
25641 * Versions.def: Add entry for libnss_db.
25642 * shlib-versions: Likewise.
25643 * nss/Makefile: Add rules to build libnss_db.
25644 * nss/Versions: Add libnss_db information. Organize libnss_files
25645 entries better.
25646 * nss/db-Makefile: Add gshadow support. Change rules for the new
25647 makedb progra. Some minor improvements to generate smaller files.
25648 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25649 here from...
25650 * nss/makedb.c: ...here.
25651 Improve database format to be smaller and require less memory at
25652 runtime.
25653 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25654 db anymore.
25655 * nss/nss_db/db-netgrp.c: Likewise.
25656 * nss/nss_db/db-open.c: Likewise.
25657 * nss/nss_files/flies-XXX.x: Adjust comments.
25658 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25659 * nss/nss_files/files-grp.c: Likewise.
25660 * nss/nss_files/files-hosts.c: Likewise.
25661 * nss/nss_files/files-network.c: Likewise.
25662 * nss/nss_files/files-proto.c: Likewise.
25663 * nss/nss_files/files-pwd.c: Likewise.
25664 * nss/nss_files/files-rpc.c: Likewise.
25665 * nss/nss_files/files-service.c: Likewise.
25666 * nss/nss_files/files-sgrp.c: Likewise.
25667 * nss/nss_files/files-spwd.c: Likewise.
25668 * nss/nss_db/db-alias.c: Removed.
25669 * nss/nss_db/dummy-db.h: Removed.
25670
9ee76b5a
UD
256712011-06-02 Ulrich Drepper <drepper@gmail.com>
25672
25673 * nss/makedb.c: Rewritten to not use database library.
25674 * nss/Makefile: Update to build new makedb program.
25675
c71ca1f8
AJ
256762011-06-14 Andreas Jaeger <aj@suse.de>
25677
25678 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25679 memset declaration.
25680
3154bfb8
UD
256812011-06-10 Andreas Schwab <schwab@redhat.com>
25682
25683 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25684 tmpbuf.
25685
b350afab
RM
256862011-06-10 Roland McGrath <roland@hack.frob.com>
25687
decd4e50
RM
25688 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25689 * elf/Makefile ($(objpfx)ld.so): Likewise.
25690
5615eaf2
RM
25691 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25692 Don't list ld.so twice in dependencies.
25693
25694 * posix/bug-regex31.c: Include <stdlib.h>.
25695
25696 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25697
25698 * nis/nss_compat/compat-spwd.c
25699 (getspent_next_nss_netgr): Remove unused variable.
25700 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25701
25702 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25703 nonmembers" output to use the right array.
25704
25705 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25706
25707 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25708
25709 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25710 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25711 * catgets/gencat.c (read_input_file): Likewise.
25712 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25713
25714 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25715 variable definition inside #if's controlling its use.
25716
25717 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25718
25719 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25720
25721 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25722
25723 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25724 unreachable code.
25725
25726 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25727
b68e08db
RM
25728 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25729 * configure: Regenerated.
25730
b350afab
RM
25731 * Makerules: Revert last change.
25732 * elf/Makefile: Likewise.
25733
28368601
RM
257342011-06-09 Roland McGrath <roland@hack.frob.com>
25735
25736 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25737 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25738 (reloc-link): Likewise.
25739
11988f8f
UD
257402011-06-09 Ulrich Drepper <drepper@gmail.com>
25741
25742 * elf/Makefile: Add rules to build pldd.
25743 * elf/pldd.c: New file.
25744 * elf/pldd-xx.c: New file.
25745
e80fab37
UD
257462011-06-07 Ulrich Drepper <drepper@gmail.com>
25747
25748 * version.h: Update for 2.15 development version.
25749
9b849836
DM
257502011-06-07 David S. Miller <davem@davemloft.net>
25751
25752 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
25753 ifuncs.
25754 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
25755 elf_machine_lazy_rel): Likewise.
25756 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
25758 elf_machine_lazy_rel): Likewise.
25759 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
25760 dl_hwcap via passed in argument.
25761 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
25762 Likewise.
25763
5a31b283
AK
257642011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25765
25766 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
25767
069e52f8
RM
257682011-06-06 Roland McGrath <roland@hack.frob.com>
25769
25770 [BZ #12849]
25771 * manual/fdl-1.1.texi: New file, verbatim from:
25772 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
25773 * manual/lgpl-2.1.texi: New file, verbatim from:
25774 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
25775 * manual/Makefile (licenses): New variable, list those new file names.
25776 (texis): Use it.
25777 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
25778
25779 * manual/fdl.texi: File removed.
25780 * manual/lesser.texi: File removed.
25781 * manual/libc.texinfo (Copying, Documentation License):
25782 Use new @include file names, put @appendix directive before @include.
25783
f16846a5
JJ
257842011-06-04 Jakub Jelinek <jakub@redhat.com>
25785
25786 [BZ #12841]
25787 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25788 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25789 (mq_open): Add __NTH.
25790
3d29045b
L
257912011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25792
25793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25794 Assume Intel Core i3/i5/i7 processor if AVX is available.
25795
8c297311
UD
257962011-05-31 Ulrich Drepper <drepper@gmail.com>
25797
25798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25799 typo.
25800
c8fc0c91
UD
258012011-05-31 Andreas Schwab <schwab@redhat.com>
25802
25803 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25804 memory. Use alloca_account. Fix memory leak when retrying.
25805
5b27a807
UD
258062011-05-31 Ulrich Drepper <drepper@gmail.com>
25807
356f8bc6
UD
25808 * version.h (RELEASE): Bump for 2.14 release.
25809 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25810
5b27a807
UD
25811 * config.make.in (RANLIB): Remove entry.
25812
01f16ab0
UD
258132011-05-30 Ulrich Drepper <drepper@gmail.com>
25814
41fce8bd
UD
25815 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25816 (libc.pot): Work around missing support for .ksh extension in xgettext.
25817
4769ae77
UD
25818 [BZ #12684]
25819 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25820 if both request failed.
25821 (send_dg): In case of server errors clear resplen or *resplen2.
25822
6b1e7d19
UD
25823 [BZ #12454]
25824 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25825 when there are multiple maps.
25826 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25827 (_dl_fini): Remove test here.
25828
01f16ab0
UD
25829 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25830
b1ebd700
UD
258312011-05-29 Ulrich Drepper <drepper@gmail.com>
25832
7ae22829
UD
25833 [BZ #12350]
25834 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25835 bit from old_res_options.
25836 (gaih_inet): Likewise.
25837
553149f6 25838 [BZ #11099]
18a84741 25839 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25840 as signed.
25841
652ffab1
UD
25842 * resolv/res_init.c (res_setoptions): Make the code more compact.
25843
16985fd0
UD
25844 [BZ #11558]
25845 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25846 set RES_USEVC.
25847
0464f746
UD
25848 [BZ #11634]
25849 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25850
7d17596c
UD
25851 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25852
cf6bbbd7
UD
25853 [BZ #11781]
25854 * malloc/malloc.h: Declare malloc hook variables as volatile.
25855
13f1ab36
UD
25856 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25857 in last patch.
25858
b1ebd700
UD
25859 [BZ #11799]
25860 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25861 raise in the comment.
80e2212d
UD
25862 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25863 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25864 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25865
ce67228d
UD
258662011-05-28 Ulrich Drepper <drepper@gmail.com>
25867
8887a920
UD
25868 [BZ #12811]
25869 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25870 grow the buffers more if it already has to be sufficient.
25871 (build_wcs_upper_buffer): Likewise.
25872 * posix/regexec.c (check_matching): Likewise.
25873 (clean_state_log_if_needed): Likewise.
25874 (extend_buffers): Don't enlarge buffers beyond size of the input
25875 buffer.
25876 Patches mostly by Emil Wojak <emil@wojak.eu>.
25877 * posix/bug-regex32.c: New file.
25878 * posix/Makefile (tests): Add bug-regex32.
25879
4f031072
UD
25880 * locale/findlocale.c (_nl_find_locale): Return right away if
25881 _nl_explode_name failed.
25882 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25883
d0478f0c
UD
25884 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25885
de81b246
UD
25886 * debug/xtrace.sh: Unify messages.
25887 * malloc/memusage.sh: Likewise.
25888
c738465a
UD
25889 [BZ #12813]
25890 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25891 time symbol from vDSO. Substitute with vsyscall if not available.
25892 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25893 __vdso_time.
25894
f1f929d7
UD
25895 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25896 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25897 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25898 Add sendmmsg and internal_sendmmsg.
25899 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25900 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25901 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25902
ce67228d
UD
25903 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25904 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25905 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25906
e57420c6
UD
259072011-05-27 Ulrich Drepper <drepper@gmail.com>
25908
a8509ca5
UD
25909 [BZ #12813]
25910 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25911 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25912 available.
25913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25914 __vdso_getcpu.
25915
e57420c6
UD
25916 [BZ #12814]
25917 * iconvdata/Makefile (tests): Add bug-iconv9.
25918 * iconvdata/bug-iconv9.c: New file.
25919
4d07db15
AS
259202011-05-27 Andreas Schwab <schwab@redhat.com>
25921
25922 [BZ #12814]
25923 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25924
ea486f69
JJ
259252011-05-25 Jakub Jelinek <jakub@redhat.com>
25926
25927 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25928 (struct user_regs_struct): Change intcs field back to cs.
25929
6f038433
UD
259302011-05-25 Ulrich Drepper <drepper@gmail.com>
25931
25932 * po/ja.po: Update from translation team.
25933
67f86a25
UD
259342011-05-23 Ulrich Drepper <drepper@gmail.com>
25935
25936 [BZ #12795]
25937 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25938 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25939
def7fbd6
AS
259402011-05-20 Andreas Schwab <schwab@redhat.com>
25941
25942 * stdlib/longlong.h: Update from GCC.
25943
f50ef8f1
AS
259442011-05-23 Andreas Schwab <schwab@redhat.com>
25945
25946 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25947 parameter name.
25948 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25949 Add parameter name.
25950 (__sysconf): Pass it down.
25951
de7ce8f1
UD
259522011-05-22 Ulrich Drepper <drepper@gmail.com>
25953
f2962a71
UD
25954 [BZ #12671]
25955 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25956 some situations.
25957 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25958 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25959 add in in __libc_use_alloca calls. Adjust callers.
25960 (glob): Use malloc in some situations.
25961
de7ce8f1
UD
25962 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25963 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25964 pltexit.
25965
aec84f53
UD
259662011-05-21 Ulrich Drepper <drepper@gmail.com>
25967
05bb4a68
UD
25968 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25969 and CLOCK_BOOTTIME_ALARM.
25970
7ea72f99
UD
25971 [BZ #12782]
25972 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25973 is returned.
25974
7e4afad5
UD
25975 * string/_strerror.c (__strerror_r): Print negative errors as signed
25976 numbers.
25977
8e211fec
UD
25978 [BZ #12777]
25979 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25980 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25981 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25982
f7d82dc9
UD
25983 * configure.in: Fix typo in redirection and correct removal of test
25984 files in two cases.
25985
cc9e536d
UD
25986 [BZ #12788]
25987 * locale/setlocale.c (new_composite_name): Fix test to check for
25988 identical name of all categories.
25989
aec84f53
UD
25990 [BZ #12792]
25991 * libio/filedoalloc.c (local_isatty): New function.
25992 (_IO_file_doallocate): Use local_isatty.
25993 * stdio-common/perror.c (perror): In case a new stream is used
25994 forward the stream error.
25995 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25996 error flag.
25997
78e64fdc
RT
259982011-05-20 Ulrich Drepper <drepper@gmail.com>
25999
34a9094f
UD
26000 [BZ #11869]
26001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26002 alloca.
26003 * include/alloca.h (extend_alloca_account): Define.
26004
78e64fdc
RT
26005 [BZ #11857]
26006 * posix/regex.h: Fix comments with documentation of user-accessible
26007 fields after compilation and describe correct free'ing of pattern
26008 after re_compile_pattern.
26009 Patch by Reuben Thomas <rrt@sc3d.org>.
26010
457bddfc
RA
260112011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26012
26013 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26014 and -mno-altivec to prevent the compiler from using Altivec and/or
26015 VSX instructions when the corresponding registers are not available.
26016
a4527b51
AS
260172011-05-19 Andreas Schwab <schwab@redhat.com>
26018
26019 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26020
ed690b2f
UD
260212011-05-19 Ulrich Drepper <drepper@gmail.com>
26022
26023 * libio/freopen.c (freopen): Use __dup2, not dup2.
26024 * libio/freopen64.c (freopen64): Likewise.
26025
8db73634
L
260262011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26027
26028 [BZ #12775]
26029 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26030 * math/Makefile (tests): Add test-powl.
26031 (CFLAGS-test-powl.c): Define.
26032 * math/test-powl.c: New file.
26033
0a197a9d
L
260342011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26035
26036 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26037
ee30c380
UD
260382011-05-17 Ulrich Drepper <drepper@gmail.com>
26039
26040 [BZ #11837]
26041 * iconvdata/gb18030.c: Update to GB18020-2005.
26042
6ce75379
UD
260432011-05-16 Ulrich Drepper <drepper@gmail.com>
26044
a4b89fd8
AR
26045 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26046 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26047 Patch by Aharon Robbins <arnold@skeeve.com>.
26048
ea389b12
UD
26049 [BZ #11892]
26050 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26051 on the stack.
26052
68a3f91f
UD
26053 [BZ #11895]
26054 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26055 through underflows.
26056
15cc7dd1
UD
26057 [BZ #12766]
26058 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26059 point to strings before performing equality test for error_one_per_line
26060 mode.
26061
f3799213
UD
26062 [BZ #11697]
26063 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26064
d79a9c94
UD
26065 [BZ #11820]
26066 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26067 (struct user_fpregs_struct): Avoid __uint*_t types.
26068
56e5eb46
UD
26069 [BZ #6420]
26070 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26071 symbol info. Use it instead of calling _dl_addr locally.
26072 (lock_and_info): New function.
26073 (tr_freehook): Call lock_and_info and pass symbol info as additional
26074 parameter to tr_where.
26075 (tr_mallochook): Likewise.
26076 (tr_reallochook): Likewise.
26077 (tr_memalignhook): Likewise.
26078
6ce75379
UD
26079 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26080 used and couldn't be at all thread-safe.
26081
f8a3b5bf
UD
260822011-05-15 Ulrich Drepper <drepper@gmail.com>
26083
94b7cc37
UD
26084 * libio/freopen.c (freopen): Don't close old file descriptor
26085 before the new one is opened. Instead dup the new file descriptor
26086 to the old one after the new stream is created.
26087 * libio/freopen64.c (freopen64): Likewise.
26088 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26089 * libio/fileops.c (_IO_new_file_close_it): Handle new
26090 _IO_FLAGS2_NOCLOSE flag.
26091 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26092 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26093 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26094 _IO_FLAGS2_NOCLOSE flag.
26095 * include/unistd.h: Add hidden_proto for dup3.
26096 Define __have_dup3.
26097 * io/dup3.c: Define hidden symbol.
26098 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26099
bd25564e
UD
26100 [BZ #7101]
26101 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26102 when an incomplete long option is used.
26103 * posix/tst-getopt_long1.c: New file.
26104 * posix/Makefile (tests): Add tst-getopt_long1.
26105
c84cfef4
UD
26106 [BZ #10138]
26107 * scripts/config.guess: Update from autoconf-2.68.
26108 * scripts/config.sub: Likewise.
26109
3b85df27
UD
26110 [BZ #10157]
26111 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26112 tests into ...
26113 (has_cpuclock): ...this. New function.
26114 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26115 macro here based on has_cpuclock code.
26116
15a856b1
UD
26117 [BZ #10149]
26118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26119 First byte (not low byte) is now always NUL.
26120 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26121
05f399e6
UD
26122 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26123 Use non-cancelable interfaces.
26124
10a52685 26125 [BZ #9809]
94ecc67d
UD
26126 * locale/iso-639.def: Add entry for Sorani.
26127
f8a3b5bf
UD
26128 [BZ #11901]
26129 * include/stdlib.h: Move include protection to the right place.
26130 Define abort_msg_s. Declare __abort_msg with it.
26131 * stdlib/abort.c (__abort_msg): Adjust type.
26132 * assert/assert.c (__assert_fail_base): New function. Majority
26133 of code from __assert_fail. Allocate memory for __abort_msg with
26134 mmap.
26135 (__assert_fail): Now call __assert_fail_base.
26136 * assert/assert-perr.c: Remove bulk of implementation. Use
26137 __assert_fail_base.
26138 * include/assert.hL Declare __assert_fail_base.
26139 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26140 mmap.
26141 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26142
1af4e298
UD
261432011-05-14 Ulrich Drepper <drepper@gmail.com>
26144
f8a3b5bf 26145 [BZ #11952]
d26dfc60
MG
26146 [BZ #12453]
26147 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26148 until all modules are registered in the DTV.
26149 * elf/Makefile: Add rules to build and run tst-tls19.
26150 * elf/tst-tls19.c: New file.
26151 * elf/tst-tls19mod1.c: New file.
26152 * elf/tst-tls19mod2.c: New file.
26153 * elf/tst-tls19mod3.c: New file.
26154 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26155
2fc54d6f
UD
26156 [BZ #12083]
26157 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26158 correctly.
26159
98d76b46
UD
26160 [BZ #12601]
26161 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26162 two-byte sequence errors.
26163 * iconvdata/Makefile (tests): Add bug-iconv8.
26164 * iconvdata/bug-iconv8.c: New file.
26165
da3c19ef
UD
26166 [BZ #12626]
26167 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26168 buf2 definition.
26169
ca408c15
UD
26170 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26171
d6f67f7d
UD
26172 [BZ #12432]
26173 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26174 (dummy_getcfa): New function.
26175 (init): Get _Unwind_GetCFA address, use dummy if not found.
26176 (backtrace_helper): In recursion check, also check whether CFA changes.
26177 (__backtrace): Completely initialize arg.
26178
1af4e298 26179 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26180 storing incomplete byte sequence in state object. Avoid testing for
26181 guaranteed too small input if we know there is enough data available.
1af4e298 26182
da62f81b
AS
261832011-05-11 Andreas Schwab <schwab@redhat.com>
26184
26185 * Makeconfig (+link-pie): Indent.
26186 * Rules (binaries-pie): Define if $(have-fpie) and
26187 $(build-shared).
26188 (binaries-shared): Also filter out $(binaries-pie).
26189 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26190 * nscd/Makefile (others-pie): Add nscd.
26191 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26192 ($(objpfx)nscd): Remove command override.
26193 * login/Makefile (others-pie): Add pt_chown.
26194 ($(objpfx)pt_chown): Remove command override.
26195 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26196 remove command overrides.
26197
fcabc0f8
UD
261982011-05-13 Ulrich Drepper <drepper@gmail.com>
26199
20030ae6
UD
26200 * libio/tst_putwc.c: Fix error messages.
26201
fcabc0f8
UD
26202 [BZ #12724]
26203 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26204 currently writing and seek to current position when not.
26205 * libio/Makefile (tests): Add bug-fclose1.
26206 * libio/bug-fclose1.c: New file.
26207
320a5dc0
PB
262082011-05-12 Ulrich Drepper <drepper@gmail.com>
26209
26210 [BZ #12511]
26211 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26212 don't set DF_1_NODELETE here.
26213 (do_lookup_x): When entering new entry test for copy relocation
26214 and if necessary set DF_1_NODELETE flag.
26215 * elf/tst-unique4.cc: New file.
26216 * elf/tst-unique4.h: New file.
26217 * elf/tst-unique4lib.cc: New file.
26218 * elf/Makefile: Add rules to build and run tst-unique4.
26219 Patch by Piotr Bury <pbury@goahead.com>.
26220
22836f52
UD
262212011-05-11 Ulrich Drepper <drepper@gmail.com>
26222
f574184a
UD
26223 [BZ #12052]
26224 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26225
e1fb097f
UD
26226 [BZ #12625]
26227 * misc/mntent_r.c (addmntent): Flush the stream after the output
26228
22836f52
UD
26229 [BZ #12393]
26230 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26231 (is_trusted_path_normalize): Skip initial colon. Append slash
26232 to empty buffer. Duplicate is_trusted_path code but allow
26233 constructed patch to be prefix.
26234 (is_dst): Allow $ORIGIN followed by /.
26235 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26236 Correct testing of result of is_trusted_path_normalize
26237 (decompose_rpath): Fix warning.
26238
7b3b0b2a
UD
262392011-05-10 Ulrich Drepper <drepper@gmail.com>
26240
26241 [BZ #11257]
26242 * grp/initgroups.c (internal_getgrouplist): When we found the service
26243 list through the initgroups entry in nsswitch.conf do not always
26244 continue on a successful lookup. Don't always use the
eac80ce2 26245 __nss_group_database value if it is set.
7b3b0b2a
UD
26246 * nss/nsswitch.conf (initgroups): Change action for successful db
26247 lookup to continue for compatibility.
26248
2a81eaa5
UD
262492011-05-09 Ulrich Drepper <drepper@gmail.com>
26250
be97a69e
UD
26251 [BZ #11532]
26252 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26253 and CP774 modules.
26254 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26255 and CP774 modules.
26256 * iconvdata/tst-tables.sh: Likewise.
26257 * iconvdata/cp770.c: New file.
26258 * iconvdata/cp771.c: New file.
26259 * iconvdata/cp772.c: New file.
26260 * iconvdata/cp773.c: New file.
26261 * iconvdata/cp774.c: New file.
26262 * iconvdata/testdata/CP770: New file.
26263 * iconvdata/testdata/CP770..UTF8: New file.
26264 * iconvdata/testdata/CP771: New file.
26265 * iconvdata/testdata/CP771..UTF8: New file.
26266 * iconvdata/testdata/CP772: New file.
26267 * iconvdata/testdata/CP772..UTF8: New file.
26268 * iconvdata/testdata/CP773: New file.
26269 * iconvdata/testdata/CP773..UTF8: New file.
26270 * iconvdata/testdata/CP774: New file.
26271 * iconvdata/testdata/CP774..UTF8: New file.
26272
26273 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26274 END CHARMAP line.
26275 * iconvdata/gen-8bit-gap.sh: Likewise.
26276 * iconvdata/gen-8bit.sh: Likewise.
26277
c1e9e399
UD
26278 * locale/iso-639.def: Add ary entry.
26279
24c55fb3 26280 [BZ #11258]
96b4b1b0
UD
26281 * locale/C-translit.h.in: Add U20A1 transliteration.
26282
bdc2f971
KB
26283 [BZ #12178]
26284 * locale/iso-639.def: Add wae entry.
26285 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26286
2952b117
UD
26287 [BZ #12545]
26288 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26289 for n.
26290
2a81eaa5
UD
26291 [BZ #12711]
26292 * locale/C-translit.h.in: Add entry for U20B9.
26293 Patch by pravin.d.s@gmail.com.
26294
28377d1b
UD
262952011-05-08 Ulrich Drepper <drepper@gmail.com>
26296
7fb90fb8
UD
26297 [BZ #12713]
26298 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26299 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26300 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26301 in rtld. Use *stat64.
7fb90fb8 26302 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26303 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26304 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26305 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26306 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26307 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26308 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26309 __fstatat64 macros.
7fb90fb8
UD
26310 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26311 * dirent/rewinddir.c: Add libc_hidden_def.
26312 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26313 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26314
28377d1b
UD
26315 * include/dirent.h (__alloc_dir): Add flags parameter.
26316 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26317 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26318 __alloc_dir.
26319 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26320 from fdopendir if O_CLOEXEC is already set.
26321
66bdbaa4
AM
263222011-03-15 Alan Modra <amodra@gmail.com>
26323
26324 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26325 l_tls_firstbyte_offset non-zero. Save padding offset in
26326 l_tls_firstbyte_offset for later use.
26327 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26328 freeing static tls block.
26329
95721191
JN
263302011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26331
26332 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26333 where #ifdef was intended. The intent is to prevent ARG_MAX from
26334 being defined by the kernel headers.
26335
f87dfb1f
UD
263362011-05-07 Ulrich Drepper <drepper@gmail.com>
26337
26338 [BZ #12734]
26339 * resolv/resolv.h: Define RES_NOTLDQUERY.
26340 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26341 no-tld-query and set RES_NOTLDQUERY.
26342 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26343 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26344 modern BIND to search name as TLD unless forbidden.
26345
47c3cd7a
UD
263462011-05-07 Petr Baudis <pasky@suse.cz>
26347 Ulrich Drepper <drepper@gmail.com>
26348
26349 [BZ #12393]
26350 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26351 (is_trusted_path): ...to here.
c1e9ea35 26352 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26353 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26354 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26355
8a35c912
PP
263562011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26357
26358 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26359 __BEGIN/__END_DECLS.
26360
acd41f47
UD
263612011-05-06 Ulrich Drepper <drepper@gmail.com>
26362
26363 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26364 NSS_STATUS_NOTFOUND if no record was found.
26365
597df647
AS
263662011-05-05 Andreas Schwab <schwab@redhat.com>
26367
26368 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26369 (headers-not-in-tirpc): Remove rpc/netdb.h
26370 * resolv/netdb.h: Revert last change.
26371
b9af1301
PP
263722011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26373
26374 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26375 circular dependency between libgcc.a and libc.a.
26376
4e34d5f5
AS
263772011-05-05 Andreas Schwab <schwab@redhat.com>
26378
26379 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26380 * nis/Makefile: Don't install rpcsvc/*.
26381 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26382 instead of <rpc/types.h>.
26383 (MAXHOSTNAMELEN): Define.
26384
00ee369c
AS
263852011-05-03 Andreas Schwab <schwab@redhat.com>
26386
26387 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26388
0b592a30
MB
263892011-04-28 Maciej Babinski <mbabinski@google.com>
26390
26391 [BZ #12714]
26392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26393 gethostbyname4_r when IPv6 results are possible.
26394
6e04cbbe
UD
263952011-05-02 Ulrich Drepper <drepper@gmail.com>
26396
26397 [BZ #12723]
26398 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26399 _PC_PIPE_BUF handling.
26400
e4ecafe0
BH
264012011-04-30 Bruno Haible <bruno@clisp.org>
26402
26403 [BZ #12717]
26404 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26405 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26406 to 'int'.
26407 * inet/getnameinfo.c (getnameinfo): Likewise.
26408
125ee683
UD
264092011-04-29 Ulrich Drepper <drepper@gmail.com>
26410
26411 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26412 to groups setting in database lookup.
26413 * nss/nsswitch.conf: Add initgroups entry.
26414
b722481a
EB
264152011-04-22 Ulrich Drepper <drepper@gmail.com>
26416
26417 [BZ #12685]
26418 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26419 mode string.
26420 Patch by Eric Blake <eblake@redhat.com>.
26421
4df46dbd
L
264222011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26423
26424 * sunrpc/Makefile (need-export-routines): Add svc_run.
26425 (routines): Remove svc_run.
26426 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26427 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26428 * sunrpc/svc_run.c (svc_run): Likewise.
26429 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26430
e84142d2
UD
264312011-04-21 Ulrich Drepper <drepper@gmail.com>
26432
26433 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26434 problem in reallocation in last patch.
26435
877175d8
UD
264362011-04-20 Ulrich Drepper <drepper@gmail.com>
26437
26438 * sunrpc/Makefile: Move inclusion of Rules.
26439
ab8eed78
UD
264402011-04-19 Ulrich Drepper <drepper@gmail.com>
26441
26442 * nss/nss_files/files-initgroups.c: New file.
26443 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26444 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26445 _nss_files_initgroups_dyn.
26446
e3d8f584
RS
264472011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26448
26449 * elf/elf.h (R_ARM_IRELATIVE): Define.
26450
af190f45
UD
264512011-04-19 Ulrich Drepper <drepper@gmail.com>
26452
26453 * po/ru.po: Update from translation team.
26454
53cf59ef
UD
264552011-04-17 Ulrich Drepper <drepper@gmail.com>
26456
26457 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26458 dependencies.
26459
4c559bcd
MF
264602011-02-06 Mike Frysinger <vapier@gentoo.org>
26461
26462 [BZ #12653]
26463 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26464 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26466 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26467 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26468
4420675c
AS
264692011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26470
26471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26472 differing bytes.
26473 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26476
75ea32ab
UD
264772011-04-17 Ulrich Drepper <drepper@gmail.com>
26478
26479 [BZ #12420]
26480 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26481 storing it.
26482 * stdlib/bug-getcontext.c: New file.
26483 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26484
27390476
AK
264852011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26486
26487 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26488 instructions into .machine "z9-109".
26489 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26490 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26491
10442705
AK
264922011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26493
26494 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26495 between environment variables and auxiliary vector.
26496
7b57bfe5
UD
264972011-04-16 Ulrich Drepper <drepper@gmail.com>
26498
26499 * Makefile: Add rules to build linkobj/libc.so.
26500 * include/libc-symbols.h: Define libc_hidden_nolink.
26501 * include/rpc/auth.h: Mark functions which are to be hidden.
26502 * include/rpc/auth_des.h: Likewise.
26503 * include/rpc/auth_unix.h: Likewise.
26504 * include/rpc/clnt.h: Likewise.
26505 * include/rpc/des_crypt.h: Likewise.
26506 * include/rpc/key_prot.h: Likewise.
26507 * include/rpc/pmap_clnt.h: Likewise.
26508 * include/rpc/pmap_prot.h: Likewise.
26509 * include/rpc/pmap_rmt.h: Likewise.
26510 * include/rpc/rpc_msg.h: Likewise.
26511 * include/rpc/svc.h: Likewise.
26512 * include/rpc/svc_auth.h: Likewise.
26513 * include/rpc/xdr.h: Likewise.
26514 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26515 * nss/Makefile: Likewise.
26516 * sunrpc/Makefile: Don't install headers. Build library with normal
26517 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26518 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26519 for the compat linking library. Remove use of INTDEF/INTUSE.
26520 * sunrpc/auth_none.c: Likewise.
26521 * sunrpc/auth_unix.c: Likewise.
26522 * sunrpc/authdes_prot.c: Likewise.
26523 * sunrpc/authuxprot.c: Likewise.
26524 * sunrpc/clnt_gen.c: Likewise.
26525 * sunrpc/clnt_perr.c: Likewise.
26526 * sunrpc/clnt_raw.c: Likewise.
26527 * sunrpc/clnt_simp.c: Likewise.
26528 * sunrpc/clnt_tcp.c: Likewise.
26529 * sunrpc/clnt_udp.c: Likewise.
26530 * sunrpc/clnt_unix.c: Likewise.
26531 * sunrpc/des_crypt.c: Likewise.
26532 * sunrpc/des_soft.c: Likewise.
26533 * sunrpc/get_myaddr.c: Likewise.
26534 * sunrpc/key_call.c: Likewise.
26535 * sunrpc/key_prot.c: Likewise.
26536 * sunrpc/netname.c: Likewise.
26537 * sunrpc/pm_getmaps.c: Likewise.
26538 * sunrpc/pm_getport.c: Likewise.
26539 * sunrpc/pmap_clnt.c: Likewise.
26540 * sunrpc/pmap_prot.c: Likewise.
26541 * sunrpc/pmap_prot2.c: Likewise.
26542 * sunrpc/pmap_rmt.c: Likewise.
26543 * sunrpc/publickey.c: Likewise.
26544 * sunrpc/rpc_cmsg.c: Likewise.
26545 * sunrpc/rpc_common.c: Likewise.
26546 * sunrpc/rpc_dtable.c: Likewise.
26547 * sunrpc/rpc_prot.c: Likewise.
26548 * sunrpc/rpc_thread.c: Likewise.
26549 * sunrpc/rtime.c: Likewise.
26550 * sunrpc/svc.c: Likewise.
26551 * sunrpc/svc_auth.c: Likewise.
26552 * sunrpc/svc_authux.c: Likewise.
26553 * sunrpc/svc_raw.c: Likewise.
26554 * sunrpc/svc_run.c: Likewise.
26555 * sunrpc/svc_simple.c: Likewise.
26556 * sunrpc/svc_tcp.c: Likewise.
26557 * sunrpc/svc_udp.c: Likewise.
26558 * sunrpc/svc_unix.c: Likewise.
26559 * sunrpc/svcauth_des.c: Likewise.
26560 * sunrpc/xcrypt.c: Likewise.
26561 * sunrpc/xdr.c: Likewise.
26562 * sunrpc/xdr_array.c: Likewise.
26563 * sunrpc/xdr_float.c: Likewise.
26564 * sunrpc/xdr_intXX_t.c: Likewise.
26565 * sunrpc/xdr_mem.c: Likewise.
26566 * sunrpc/xdr_rec.c: Likewise.
26567 * sunrpc/xdr_ref.c: Likewise.
26568 * sunrpc/xdr_sizeof.c: Likewise.
26569 * sunrpc/xdr_stdio.c: Likewise.
26570
e6c61494
UD
265712011-04-10 Ulrich Drepper <drepper@gmail.com>
26572
26573 [BZ #12650]
26574 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26575 * sysdeps/ia64/dl-tls.h: Likewise.
26576 * sysdeps/powerpc/dl-tls.h: Likewise.
26577 * sysdeps/s390/dl-tls.h: Likewise.
26578 * sysdeps/sh/dl-tls.h: Likewise.
26579 * sysdeps/sparc/dl-tls.h: Likewise.
26580 * sysdeps/x86_64/dl-tls.h: Likewise.
26581 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26582
34fe483e
AS
265832011-03-14 Andreas Schwab <schwab@redhat.com>
26584
26585 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26586 rpath element also skip the following colon.
26587 (expand_dynamic_string_token): Add is_path parameter and pass
26588 down to DL_DST_REQUIRED and _dl_dst_substitute.
26589 (decompose_rpath): Call expand_dynamic_string_token with
26590 non-zero is_path. Ignore empty rpaths.
26591 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26592 with zero is_path.
26593
f12a32e6
AS
265942011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26595
26596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26597 Make cancelable.
26598
38a7d692
UD
265992011-04-09 Ulrich Drepper <drepper@gmail.com>
26600
26601 [BZ #12655]
26602 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26603 Patch by Filipe David Manana <fdmanana@apache.org>.
26604
e451d22b
AS
266052011-04-07 Andreas Schwab <schwab@redhat.com>
26606
26607 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26608 Maintain aligned stack.
26609 (CHECK_RSP): Remove unused macro.
26610
dedc7c7b
UD
266112011-04-03 Ulrich Drepper <drepper@gmail.com>
26612
26613 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26614 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26615
94521213
UD
266162011-04-02 Ulrich Drepper <drepper@gmail.com>
26617
26618 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26619
8cb700c0 26620 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26621
0354e355
L
266222011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26623
26624 [BZ #12518]
26625 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26626 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26627 * sysdeps/x86_64/memmove.c: New file.
26628 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26629 (memcpy): Renamed to ...
26630 (__new_memcpy): This.
26631 (memcpy): Provide GLIBC_2_14 memcpy.
26632 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26633 (memcpy): Provide GLIBC_2_2_5 memcpy.
26634
8593482f
UD
266352011-04-01 Ulrich Drepper <drepper@gmail.com>
26636
26637 [BZ #12631]
26638 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26639
81a5726b
AS
266402011-03-30 Andreas Schwab <schwab@redhat.com>
26641
26642 * misc/syncfs.c: New file.
26643 * misc/Makefile (routines): Add syncfs.
26644 * posix/unistd.h: Declare syncfs.
26645 * sysdeps/unix/syscalls.list: Add syncfs.
26646
00e5419f
AS
266472011-04-01 Andreas Schwab <schwab@redhat.com>
26648
26649 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26650 open_by_handle_at.
26651 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26656 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26657 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26658
748876bf
UD
266592011-04-01 Ulrich Drepper <drepper@gmail.com>
26660
658e451d
UD
26661 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26662 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26663 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26665 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26668
748876bf
UD
26669 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26670 sync_file_range.c with -fexceptions.
26671 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26672 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26673 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26674 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26675 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26676 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26678 sync_file_range as cancellation point
26679 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26680 now a wrapper around __call_sync_file_range with cancellation handling.
26681 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26682 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26683 function name to __call_sync_file_range.
26684 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26685 Add call_sync_file_range.
748876bf 26686
6e63d5e1
AS
266872011-04-01 Andreas Schwab <schwab@redhat.com>
26688
26689 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26690 bits/timex.h.
6e63d5e1 26691
46998f74
UD
266922011-04-01 Ulrich Drepper <drepper@gmail.com>
26693
4c1423ed
UD
26694 * iconv/iconv.h: Fix typo in comment.
26695 * io/fcntl.h: Likewise.
26696 * libio/stdio.h: Likewise.
26697 * posix/spawn.h: Likewise.
26698 * posix/unistd.h: Likewise.
26699 * stdlib/stdlib.h: Likewise.
26700 * time/time.h: Likewise.
26701 * wcsmbs/wchar.h: Likewise.
26702
158648c0
UD
26703 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26704 open_by_handle): Add.
26705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26706 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26707 Augment a few comments.
26708 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26710 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26712 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26713 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26714 open_by_handle.
26715
46998f74
UD
26716 * io/fcntl.h (AT_EMPTY_PATH): Define.
26717
83fe108b
UD
267182011-03-30 Ulrich Drepper <drepper@gmail.com>
26719
26720 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26721 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26722 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26723 to...
26724 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26725 * Versions.def: Add GLIBC_2.14.
26726 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26727 Export.
83fe108b 26728
bb242059
UD
267292011-03-22 Ulrich Drepper <drepper@gmail.com>
26730
26731 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26732 round counter.
26733 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26734
c97a1282
L
267352011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26736
26737 [BZ #12597]
26738 * string/test-strncmp.c (do_page_test): New function.
26739 (check2): Likewise.
26740 (test_main): Call check2.
26741 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26742
2a115601
UD
267432011-03-20 Ulrich Drepper <drepper@gmail.com>
26744
26745 [BZ #12587]
26746 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
26747 Handle cache information in CPU leaf 4.
26748 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26749
8126d904
UD
267502011-03-18 Ulrich Drepper <drepper@gmail.com>
26751
042c49c6 26752 [BZ #12583]
8126d904
UD
26753 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
26754 character representation.
26755 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
26756
ccfe366e
RA
267572011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
26758
26759 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
26760 END(__isnan) to END(__isnanf) to match function entry point/label
26761 EALIGN(__isnanf,...).
26762
c6e13027
JJ
267632011-03-10 Jakub Jelinek <jakub@redhat.com>
26764
26765 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
26766
33f85a3f
UD
267672011-03-10 Ulrich Drepper <drepper@gmail.com>
26768
028478fa
UD
26769 [BZ #12510]
26770 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
26771 copy from the symbol referenced in the relocation to initialize the
26772 used variable.
26773 Patch by Piotr Bury <pbury@goahead.com>.
26774 * elf/Makefile: Add rules to build and tst-unique3.
26775 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
26776 * elf/tst-unique3.cc: New file.
26777 * elf/tst-unique3.h: New file.
26778 * elf/tst-unique3lib.cc: New file.
26779 * elf/tst-unique3lib2.cc: New file.
26780
33f85a3f
UD
26781 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
26782
03592fc7
MF
267832011-03-10 Mike Frysinger <vapier@gentoo.org>
26784
26785 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26786 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26787 to _start.
03592fc7 26788
6a5ee102
UD
267892011-03-06 Ulrich Drepper <drepper@gmail.com>
26790
26791 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26792 to-be-loaded object along a path to loader is ld.so.
26793
7e4ba49c
HJ
267942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26795 Ulrich Drepper <drepper@gmail.com>
26796
26797 * sysdeps/x86_64/memset.S: After aligning destination, code
26798 branches to different locations depending on the value of
26799 misalignment, when multiarch is enabled. Fix this.
26800
268012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26802
26803 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26804 Set _x86_64_preferred_memory_instruction for AMD processsors.
26805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26806 Set bit_Prefer_SSE_for_memop for AMD processors.
26807
13a804de
UD
268082011-03-04 Ulrich Drepper <drepper@gmail.com>
26809
26810 * libio/fmemopen.c (fmemopen): Optimize a bit.
26811
9d25c392
AS
268122011-03-03 Andreas Schwab <schwab@redhat.com>
26813
26814 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26815
a5543c6a
RM
268162011-03-03 Roland McGrath <roland@redhat.com>
26817
26818 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26819
012d35f7
DM
268202011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26821
7e4ba49c 26822 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26823 __bzero_ultra1 instead of __memset_ultra1.
26824
4bff6e01
AS
268252011-02-23 Andreas Schwab <schwab@redhat.com>
26826 Ulrich Drepper <drepper@gmail.com>
26827
26828 [BZ #12509]
26829 * include/link.h (struct link_map): Add l_orig_initfini.
26830 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26831 returning unsuccessfully.
26832 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26833 close of a file loaded at startup, restore the original l_initfini
26834 list.
26835 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26836 list, store the pointer.
26837 * elf/Makefile ($(objpfx)noload-mem): New rule.
26838 (noload-ENV): Define.
26839 (tests): Add $(objpfx)noload-mem.
26840 * elf/noload.c: Include <memcheck.h>.
26841 (main): Call mtrace. Close all opened handles.
26842
f2092faf
AS
268432011-02-17 Andreas Schwab <schwab@redhat.com>
26844
26845 [BZ #12454]
26846 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26847 dependencies are missing.
26848
6c8a2e88
ST
268492011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26850
f2092faf 26851 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26852 Hurd needs munmap.
26853 * sysdeps/mach/hurd/ifreq.h: New file.
26854
84a42118
PB
268552011-01-27 Petr Baudis <pasky@suse.cz>
26856 Ulrich Drepper <drepper@gmail.com>
26857
071f805e 26858 [BZ 12445]#
84a42118
PB
26859 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26860 to extend_alloca().
26861 * stdio-common/bug23.c: New file.
26862 * stdio-common/Makefile (tests): Add bug23.
26863
e23fe25b
AS
268642010-09-28 Andreas Schwab <schwab@redhat.com>
26865 Ulrich Drepper <drepper@gmail.com>
26866
26867 [BZ #12489]
26868 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26869 before performing relro protection. At old place add assertion
26870 to make sure nothing changed.
26871
d3f02e10
NS
268722011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26873 Glauber de Oliveira Costa <glommer@gmail.com>
26874
26875 * elf/elf.h: Add new ARM TLS relocs.
26876
d55fd7a5
RA
268772011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26878
26879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26880 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26881 cast from r3.
26882 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26883 'tests' variable.
26884 * sysdeps/wordsize-64/tst-writev.c: New file.
26885
2206397e
RA
268862011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26887
26888 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26889 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26890 insns in _dl_start to prevent a TOC reference before relocs are
26891 resolved.
26892
e9433893
UD
268932011-02-15 Ulrich Drepper <drepper@gmail.com>
26894
26895 [BZ #12469]
26896 * Makeconfig: Remove RANLIB definition.
26897 * Makerules: Don't use RANLIB.
26898 * aclocal.m4: Remove ranlib test.
26899 * configure.in: No need to check for ranlib.
26900 * elf/rtld-Rules: Don't use RANLIB.
26901
f75286c6
ST
269022011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26903
8e31c82d
ST
26904 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26905 protection macro.
26906 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26907 inclusion protection macro.
26908
f75286c6
ST
26909 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26910 SIGRTMIN and SIGRTMAX and print information in that case only when
26911 SIGRTMIN is defined.
26912
c1d0e639
JJ
269132011-02-11 Jakub Jelinek <jakub@redhat.com>
26914
26915 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26916 arginfo fn returning -1.
26917
26918 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26919 and thousands string is zero terminated.
26920
edf9294e
AS
269212011-02-03 Andreas Schwab <schwab@redhat.com>
26922
26923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26924 sysdeps/unix/sysv/linux/bits/socket.h.
26925
2b7e92df
ST
269262011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26927
edf9294e
AS
26928 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26929 (__CPU_COUNT): Remove old macros.
26930 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26931 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26932 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26933 (__sched_cpualloc, __sched_cpufree): Add declarations.
26934
a4c7ea7b
UD
269352011-02-05 Ulrich Drepper <drepper@gmail.com>
26936
26937 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26938 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26939 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26940 (readdhstai): Return value of addhstaiX call.
26941 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26942 (addgrbyX): Return value returned by cache_addgr.
26943 (readdgrbyname): Return value returned by addgrbyX.
26944 (readdgrbygid): Likewise.
26945 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26946 (addpwbyX): Return value returned by cache_addpw.
26947 (readdpwbyname): Return value returned by addhstbyX.
26948 (readdpwbyuid): Likewise.
26949 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26950 (addservbyX): Return value returned by cache_addserv.
26951 (readdservbyname): Return value returned by addservbyX:
26952 (readdservbyport): Likewise.
26953 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26954 (addhstbyX): Return value returned by cache_addhst.
26955 (readdhstbyname): Return value returned by addhstbyX.
26956 (readdhstbyaddr): Likewise.
26957 (readdhstbynamev6): Likewise.
26958 (readdhstbyaddrv6): Likewise.
26959 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26960 (readdinitgroups): Return value returned by addinitgroupsX.
26961 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26962 (prune_cache): Keep track of timeout value of re-added entries.
26963 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26964 * nscd/nscd.h: Adjust prototypes of readd* functions.
26965
a0bf67cc
RM
269662011-02-04 Roland McGrath <roland@redhat.com>
26967
26968 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26969 (nis_stats): Likewise.
26970 * nis/nis_modify.c (nis_modify): Likewise.
26971 * nis/nis_remove.c (nis_remove): Likewise.
26972 * nis/nis_add.c (nis_add): Likewise.
26973
26974 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26975
26976 * posix/fnmatch_loop.c: Add some consts.
26977
26978 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26979
435b95eb
L
269802011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26981
26982 [BZ #12460]
26983 * config.make.in (config-cflags-novzeroupper): Define.
26984 * configure.in: Substitute libc_cv_cc_novzeroupper.
26985 * elf/Makefile (AVX-CFLAGS): Define.
26986 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26987 (CFLAGS-tst-auditmod4a.c): Likewise.
26988 (CFLAGS-tst-auditmod4b.c): Likewise.
26989 (CFLAGS-tst-auditmod6b.c): Likewise.
26990 (CFLAGS-tst-auditmod6c.c): Likewise.
26991 (CFLAGS-tst-auditmod7b.c): Likewise.
26992 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26993
8517b15e
UD
269942011-02-02 Ulrich Drepper <drepper@gmail.com>
26995
26996 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26997 function to the callback.
26998 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26999
10a656fe
AS
270002011-02-02 Andreas Schwab <schwab@redhat.com>
27001
27002 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27003 of errno.
27004
968dad0a
UD
270052011-01-19 Ulrich Drepper <drepper@gmail.com>
27006
9f94d2ea 27007 [BZ #11724]
968dad0a
UD
27008 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27009 of constructors.
27010 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27011 of destructors.
27012 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27013
27014 [BZ #11724]
27015 * elf/Makefile: Add rules to build and run new test.
27016 * elf/tst-initorder.c: New file.
27017 * elf/tst-initorder.exp: New file.
27018 * elf/tst-initordera1.c: New file.
27019 * elf/tst-initordera2.c: New file.
27020 * elf/tst-initordera3.c: New file.
27021 * elf/tst-initordera4.c: New file.
27022 * elf/tst-initorderb1.c: New file.
27023 * elf/tst-initorderb2.c: New file.
27024 * elf/tst-order-a1.c: New file.
27025 * elf/tst-order-a2.c: New file.
27026 * elf/tst-order-a3.c: New file.
27027 * elf/tst-order-a4.c: New file.
27028 * elf/tst-order-b1.c: New file.
27029 * elf/tst-order-b2.c: New file.
27030 * elf/tst-order-main.c: New file.
27031 New test case by George Gensure <werkt0@gmail.com>.
27032
86e92359
UD
270332010-10-01 Andreas Schwab <schwab@redhat.com>
27034
27035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27036 decoding ACE if AI_CANONIDN.
27037
5d5732b0
UD
270382011-01-18 Ulrich Drepper <drepper@gmail.com>
27039
27040 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27041
a77e8cbc
UD
270422011-01-17 Ulrich Drepper <drepper@gmail.com>
27043
6392473f
UD
27044 * version.h (RELEASE): Bump for 2.13 release.
27045 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27046
620a0529
UD
27047 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27048
18ba70a5
UD
27049 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27050 MADV_NOHUGEPAGE.
32465c3e
UD
27051 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27052 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27053 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27054 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27055 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27056 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27057
c0dafcf1
UD
27058 * posix/getconf.c: Update copyright year.
27059 * catgets/gencat.c: Likewise.
27060 * csu/version.c: Likewise.
27061 * debug/catchsegv.sh: Likewise.
27062 * debug/xtrace.sh: Likewise.
27063 * elf/ldconfig.c: Likewise.
27064 * elf/ldd.bash.in: Likewise.
27065 * elf/sprof.c (print_version): Likewise.
27066 * iconv/iconv_prog.c: Likewise.
27067 * iconv/iconvconfig.c: Likewise.
27068 * locale/programs/locale.c: Likewise.
27069 * locale/programs/localedef.c: Likewise.
27070 * malloc/memusage.sh: Likewise.
27071 * malloc/mtrace.pl: Likewise.
27072 * nscd/nscd.c (print_version): Likewise.
27073 * nss/getent.c: Likewise.
27074
a77e8cbc
UD
27075 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27076 PF_CAIF, and PF_ALG.
27077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27078
77e8bddf
AS
270792011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27080
1f20b93a
AS
27081 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27082 (modules-names): Use them.
27083 (ifunc-test-modules, ifunc-pie-tests): Define.
27084 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27085 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27086 (test-extras): Likewise.
27087 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27088 $(compile-command.c).
27089 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27090 (all-built-dso): Define.
27091 (check-textrel.out, check-execstack.out): Depend on it.
27092
77e8bddf
AS
27093 * configure.in: Don't override --enable-multi-arch.
27094
bc425b33
UD
270952011-01-15 Ulrich Drepper <drepper@gmail.com>
27096
27097 [BZ #6812]
27098 * nscd/hstcache.c (tryagain): Define.
27099 (cache_addhst): Return tryagain not notfound for temporary errors.
27100 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27101 failed.
27102
794c3ad3
UD
271032011-01-14 Ulrich Drepper <drepper@gmail.com>
27104
70181fdd
UD
27105 [BZ #10563]
27106 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27107 to make the syscall.
27108 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27109
794c3ad3
UD
27110 [BZ #12378]
27111 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27112 and fall back to matching as normal character if the string ends before
27113 the matching ']' is found. This is what POSIX requires.
27114 * posix/testfnm.c: Adjust test result.
27115 * posix/globtest.sh: Adjust test result. Add new test.
27116 * posix/tst-fnmatch.input: Likewise.
27117 * posix/tst-fnmatch2.c: Add new test.
27118
68dc9497
AS
271192010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27120
27121 * elf/Makefile (check-execstack): Revert last change. Depend on
27122 check-execstack.h.
27123 (check-execstack.h): New target.
27124 (generated): Add check-execstack.h.
27125 * elf/check-execstack.c: Include "check-execstack.h".
27126 (main): Revert last change.
27127 (handle_file): Return zero if GNU_STACK is absent and
27128 DEFAULT_STACK_PERMS doesn't include PF_X.
27129
451f001b
UD
271302011-01-13 Ulrich Drepper <drepper@gmail.com>
27131
cfa28e56
UD
27132 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27133 in child fails because the descriptor is already closed.
8cf8ce17
UD
27134 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27135 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27136 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27137
1086d70d
UD
27138 [BZ #12397]
27139 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27140 syscall.
27141
451f001b
UD
27142 [BZ #10484]
27143 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27144 temporary buffer used to handle multi lookups locally.
a85b5cb4 27145 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27146
08769175
UD
271472011-01-12 Ulrich Drepper <drepper@gmail.com>
27148
27149 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27150 loader is ld.so.
27151
5e49c52e
UD
271522011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27153
27154 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27155 alignment for SSE2.
27156
60522a5f
UD
271572011-01-12 Ulrich Drepper <drepper@gmail.com>
27158
27159 [BZ #12394]
27160 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27161 characters. When rounding increased number of integer digits recompute
27162 number of groups.
27163 * stdio-common/tst-grouping.c: New file.
27164 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27165
f257bbd7
UD
271662011-01-09 Ulrich Drepper <drepper@gmail.com>
27167
27168 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27169 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27170
27171 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27172 void.
27173 * bits/select.h: Likewise.
27174
fa9c15cb
UD
271752011-01-08 Ulrich Drepper <drepper@gmail.com>
27176
27177 * po/ja.po: Update from translation team.
27178
16c2895f
DM
271792011-01-04 David S. Miller <davem@sunset.davemloft.net>
27180
27181 [BZ #11155]
27182 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27183 implementation just like for lxstat, fxstatat, et al.
27184
2543fef2
JM
271852010-12-27 Jim Meyering <meyering@redhat.com>
27186
27187 [BZ #12348]
27188 * posix/regexec.c (build_trtable): Return failure indication upon
27189 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27190
98727dbe
UD
271912010-12-25 Ulrich Drepper <drepper@gmail.com>
27192
5bd6dc5c
UD
27193 [BZ #12201]
27194 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27195 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27196 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27197 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27198
97983464
UD
27199 [BZ #12207]
27200 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27201
98727dbe
UD
27202 [BZ #12204]
27203 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27204 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27205
4a531bb0
L
272062010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27209 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27210 script has SORT_BY_INIT_PRIORITY.
27211 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27212 NO_CTORS_DTORS_SECTIONS is defined.
27213 * elf/soinit.c: Likewise.
27214 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27215 NO_CTORS_DTORS_SECTIONS is defined.
27216 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27217 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27218 * sysdeps/sh/init-first.c: Likewise.
27219 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27220
07eb4b71
UD
272212010-12-24 Ulrich Drepper <drepper@gmail.com>
27222
27223 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27224 always use the slow path.
27225
30950a5f
RA
272262010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27227
27228 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27229 similar rule which adds the sysdep directories to the header search in
27230 order to pick up the correct platform stackinfo.h.
27231 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27232 perform test if it is, otherwise return successfully without testing.
27233 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27234 DEFAULT_STACK_PERMS define in stackinfo.h.
27235 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27236 defined in stackinfo.h.
27237 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27238 DEFAULT_STACK_PERMS defined in stackinfo.h.
27239 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27240 * sysdeps/ia64/stackinfo.h: Likewise.
27241 * sysdeps/s390/stackinfo.h: Likewise.
27242 * sysdeps/sh/stackinfo.h: Likewise.
27243 * sysdeps/sparc/stackinfo.h: Likewise.
27244 * sysdeps/x86_64/stackinfo.h: Likewise.
27245 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27246 PF_X for powerpc64. Retain PF_X for powerpc32.
27247
db753e2c
UD
272482010-12-19 Ulrich Drepper <drepper@gmail.com>
27249
14b697f7
UD
27250 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27251 accurately.
db753e2c
UD
27252 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27253 GETDENTS_64BIT_ALIGNED.
27254
28300719
UD
272552010-12-14 Ulrich Drepper <dreper@gmail.com>
27256
14b697f7 27257 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27258
4f197237
AS
272592010-12-10 Andreas Schwab <schwab@redhat.com>
27260
dbb0472f
AS
27261 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27262 _GNU_SOURCE.
27263
4f197237
AS
27264 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27265 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27266 Remove __restrict.
27267 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27268 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27269
fb88ac72
UD
272702010-12-09 Ulrich Drepper <drepper@gmail.com>
27271
27272 [BZ #11655]
27273 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27274 are initialized.
27275
42acbb92
JJ
272762010-12-09 Jakub Jelinek <jakub@redhat.com>
27277
27278 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27279
c038d98d
UD
272802010-12-03 Ulrich Drepper <drepper@gmail.com>
27281
27282 * po/it.po: Update from translation team.
27283
3a4a2499
L
272842010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27285
27286 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27287 unused codes.
27288
1e24cf6e
UD
272892010-11-30 Ulrich Drepper <drepper@gmail.com>
27290
27291 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27292
a7690819
AS
272932010-11-24 Andreas Schwab <schwab@redhat.com>
27294
27295 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27296 specially.
27297 (gaih_getanswer_slice): Likewise.
27298
3bf8d1b1
JJ
272992010-10-20 Jakub Jelinek <jakub@redhat.com>
27300
27301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27302
6db52fbb
PB
273032010-05-31 Petr Baudis <pasky@suse.cz>
27304
27305 [BZ #11149]
27306 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27307 silently even in the chroot mode.
27308
eaca7569
UD
273092010-11-22 Ulrich Drepper <drepper@gmail.com>
27310
27311 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27312 last patch a bit. Pretty printing
27313
3056dcdb
UD
273142010-05-31 Petr Baudis <pasky@suse.cz>
27315
27316 [BZ #10085]
27317 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27318 initialization of skip_initgroups_dyn.
27319
cf7c9078
UD
273202010-11-19 Ulrich Drepper <drepper@gmail.com>
27321
27322 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27324
a1fb5e3e
UD
273252010-11-16 Ulrich Drepper <drepper@gmail.com>
27326
27327 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27328
3540d66b
AS
273292010-11-11 Andreas Schwab <schwab@redhat.com>
27330
27331 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27332 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27333 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27334 ($(objpfx)tst-fnmatch-mem): New rule.
27335 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27336 * posix/tst-fnmatch.c (main): Call mtrace.
27337
13b69574
L
273382010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27339
27340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27341 Support Intel processor model 6 and model 0x2c.
27342
da93d214
LM
273432010-11-10 Luis Machado <luisgpm@br.ibm.com>
27344
27345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27346 signed comparison.
27347
8ca52c6e
L
273482010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27349
27350 [BZ #12205]
27351 * string/test-strncasecmp.c (check_result): New function.
27352 (do_one_test): Use it.
27353 (check1): New function.
27354 (test_main): Use it.
27355 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27356 Support strcasecmp and strncasecmp.
27357
69da074d
UD
273582010-11-08 Ulrich Drepper <drepper@gmail.com>
27359
27360 [BZ #12194]
27361 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27362 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27363
ff02d528
L
273642010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27365
27366 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27367 IFUNC support.
27368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27369 memset-x86-64.
27370 * sysdeps/x86_64/multiarch/bzero.S: New file.
27371 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27372 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27373 * sysdeps/x86_64/multiarch/memset.S: New file.
27374 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27376 Set bit_Prefer_SSE_for_memop for Intel processors.
27377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27378 Define.
27379 (index_Prefer_SSE_for_memop): Define.
27380 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27381
344d0b54
LM
273822010-11-04 Luis Machado <luisgpm@br.ibm.com>
27383
27384 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27385 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27386
c0dde15b
UD
273872010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27388
27389 [BZ #12191]
27390 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27391 (__x86_64_raw_data_cache_size_half): Likewise.
27392 (__x86_64_raw_shared_cache_size): Likewise.
27393 (__x86_64_raw_shared_cache_size_half): Likewise.
27394
27395 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27396 (__x86_64_raw_data_cache_size_half): Likewise.
27397 (__x86_64_raw_shared_cache_size): Likewise.
27398 (__x86_64_raw_shared_cache_size_half): Likewise.
27399 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27400 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27401 and __x86_64_raw_shared_cache_size_half. Round
27402 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27403 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27404 to multiple of 256 bytes.
27405
0e516e0e
MS
274062010-11-03 Ulrich Drepper <drepper@gmail.com>
27407
27408 [BZ #12167]
27409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27410 of inacessible symlinks. Verify result of symlink before returning it.
27411 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27412 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27413
0e012e87
ER
274142010-10-28 Erich Ritz <erichritz@gmail.com>
27415
27416 * math/math.h (isinf): Fix typo in comment.
27417
de0ff7bc
UD
274182010-11-01 Ulrich Drepper <drepper@gmail.com>
27419
27420 * po/da.po: Update from translation team.
27421
fa41c84d
UD
274222010-10-26 Ulrich Drepper <drepper@gmail.com>
27423
27424 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27425 is added to the list.
27426
f0967738
AK
274272010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27428 Ulrich Drepper <drepper@gmail.com>
27429
27430 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27431 the global list here. Move code to...
27432 (_dl_add_to_namespace_list): ...here. New function.
27433 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27434 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27435 * elf/dl-load.c (lose): Don't remove the element from the list.
27436 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27437 (_dl_map_object): Likewise.
27438
274392010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27440
27441 [BZ #12159]
27442 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27443 into all bytes of SSE register.
27444 Patch by Richard Li <richardpku@gmail.com>.
27445
f0967738 274462010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27447
27448 [BZ #12140]
27449 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27450 perturbing.
27451
d0b9e94f
MB
274522010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27453
27454 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27455 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27456 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27459 submachine.
27460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27461
8e9f92e9
AS
274622010-10-22 Andreas Schwab <schwab@redhat.com>
27463
27464 * include/dlfcn.h (__RTLD_SECURE): Define.
27465 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27466 mode & __RTLD_SECURE instead.
27467 (open_path): Rename preloaded parameter to secure.
27468 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27469 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27470 * elf/dl-deps.c (openaux): Likewise.
27471 * elf/rtld.c (struct map_args): Remove is_preloaded.
27472 (map_doit): Don't use it.
27473 (dl_main): Likewise.
27474 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27475 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27476
bc96fbda
AS
274772010-09-09 Andreas Schwab <schwab@redhat.com>
27478
27479 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27480 (sysd-rules-targets): Remove duplicates.
27481 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27482 rtld-%.$o dependency.
27483
22cd1c9b
AS
274842010-10-18 Andreas Schwab <schwab@redhat.com>
27485
27486 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27487 _dl_map_object do it.
27488
18edac48
UD
274892010-10-19 Ulrich Drepper <drepper@gmail.com>
27490
27491 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27492 fast fma builtins, define the macros in the C99 standard.
27493 (FP_FAST_FMAF): Likewise.
27494 (FP_FAST_FMAL): Likewise.
27495 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27496
27497 * bits/mathdef.h: Update copyright year.
27498 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27499
d2050124
MM
275002010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27501
27502 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27503 builtins, define the macros in the C99 standard.
27504 (FP_FAST_FMAF): Likewise.
27505 (FP_FAST_FMAL): Likewise.
27506 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27507 multiply/add.
27508 (FP_FAST_FMAF): Likewise.
27509
475facd1
JJ
275102010-10-15 Jakub Jelinek <jakub@redhat.com>
27511
27512 [BZ #3268]
27513 * math/libm-test.inc (fma_test): Some new testcases.
27514 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27515 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27516 y and infinite z. Do multiplication by C already in long double.
27517 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27519 y and infinite z. Do bitwise or of inexact bit into u.d.
27520 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27521 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27522 * sysdeps/i386/fpu/s_fma.S: Removed.
27523 * sysdeps/i386/fpu/s_fmal.S: Removed.
27524
7c08a05c
JJ
275252010-10-16 Jakub Jelinek <jakub@redhat.com>
27526
27527 [BZ #3268]
27528 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27530 computation is not scheduled after fetestexcept. Fix value
27531 of minimum denormal long double.
27532
f3f7372d
JJ
275332010-10-14 Jakub Jelinek <jakub@redhat.com>
27534
27535 [BZ #3268]
27536 * math/libm-test.inc (fma_test): Add some more tests.
27537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27538 correctly.
27539
14d43591
AS
275402010-10-15 Andreas Schwab <schwab@redhat.com>
27541
27542 * scripts/data/localplt-s390-linux-gnu.data: New file.
27543 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27544
5e908464
JJ
275452010-10-13 Jakub Jelinek <jakub@redhat.com>
27546
27547 [BZ #3268]
27548 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27549 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27550 instead of dbl-64.
27551 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27552 inlines.
27553 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27555 if one of x and y is very large and the other is subnormal.
27556 * sysdeps/s390/fpu/s_fmaf.c: New file.
27557 * sysdeps/s390/fpu/s_fma.c: New file.
27558 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27559 * sysdeps/powerpc/fpu/s_fma.S: New file.
27560 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27561 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27562 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27563
275642010-10-12 Jakub Jelinek <jakub@redhat.com>
27565
27566 [BZ #3268]
27567 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27568 fma tests.
27569 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27570 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27571 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27572 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27573 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27574 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27575 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27576
b833d51f
UD
275772010-10-12 Ulrich Drepper <drepper@redhat.com>
27578
27579 [BZ #12078]
27580 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27581 * posix/bug-regex31.input: Add test case.
27582
1751705d
UD
275832010-10-11 Ulrich Drepper <drepper@gmail.com>
27584
e9b9cbf5
UD
27585 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27586 * posix/bug-regex31.input: New file.
27587
27588 [BZ #12078]
27589 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27590 (parse_sub_exp): Fix last change, use postorder.
27591
ef06edbe
UD
27592 * posix/bug-regex31.c: New file.
27593 * posix/Makefile: Add rules to build and run bug-regex31.
27594
a129c80d
UD
27595 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27596
27597 [BZ #12078]
27598 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27599
b76b818e
UD
27600 [BZ #12108]
27601 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27602 to have entries in sys_siglist.
27603
1751705d
UD
27604 [BZ #12093]
27605 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27606 be NULL.
27607
9ff8d36f
JJ
276082010-10-07 Jakub Jelinek <jakub@redhat.com>
27609
27610 [BZ #3268]
27611 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27612 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27613 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27614 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27615 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27616 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27617 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27618 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27619 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27620 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27621 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27622 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27623 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27624 * math/ftestexcept.c (fetestexcept): Likewise.
27625 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27626 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27627 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27628 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27629 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27630 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27631 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27632
af325969
UD
276332010-10-11 Ulrich Drepper <drepper@gmail.com>
27634
c579b202 27635 [BZ #12107]
af325969
UD
27636 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27637 newline.
27638
67a67b95
UD
276392010-10-06 Ulrich Drepper <drepper@gmail.com>
27640
27641 * string/bug-strstr1.c: New file.
27642 * string/Makefile: Add rules to build and run bug-strstr1.
27643
5fb308bc
EB
276442010-10-05 Eric Blake <eblake@redhat.com>
27645
27646 [BZ #12092]
27647 * string/str-two-way.h (two_way_long_needle): Always clear memory
27648 when skipping input due to the shift table.
27649
45db99c7
UD
276502010-10-03 Ulrich Drepper <drepper@gmail.com>
27651
3b111893
UD
27652 [BZ #12005]
27653 * malloc/mcheck.c: Handle large requests.
27654
45db99c7
UD
27655 [BZ #12077]
27656 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27657 for strncmp and strncasecmp.
27658 * string/stratcliff.c: Add tests for strcmp and strncmp.
27659 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27660
cf7a1eb8
NI
276612010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27662
27663 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27664 __set_fpscr.
27665
6484ba5e
AJ
276662010-09-30 Andreas Jaeger <aj@suse.de>
27667
27668 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27669 (CGROUP_SUPER_MAGIC): Define.
27670 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27671 Handle btrfs and cgroup file systems.
27672 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27673 Likewise.
27674
91c42559
LM
276752010-09-27 Luis Machado <luisgpm@br.ibm.com>
27676
27677 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27678 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27679
87a97932
AK
276802010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27681
27682 [BZ #12067]
27683 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27684 trying to locate the ELF header.
27685
c21cc9bc
AS
276862010-09-27 Andreas Schwab <schwab@redhat.com>
27687
27688 [BZ #11611]
27689 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27690 Mask out sign-bit copies when constructing f_fsid.
27691
315970f6
PB
276922010-09-24 Petr Baudis <pasky@suse.cz>
27693
27694 * debug/stack_chk_fail_local.c: Add missing licence exception.
27695 * debug/warning-nop.c: Likewise.
27696
1ac7a2c7
JM
276972010-09-15 Joseph Myers <joseph@codesourcery.com>
27698
27699 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27700 implementing getdents64 using getdents syscall, set d_type if
27701 __ASSUME_GETDENTS32_D_TYPE.
27702
56801c50
AS
277032010-09-16 Andreas Schwab <schwab@redhat.com>
27704
27705 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27706 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27707
dda51327
UD
277082010-09-21 Ulrich Drepper <drepper@redhat.com>
27709
27710 [BZ #12037]
27711 * posix/unistd.h: Undo change of feature selection for ftruncate from
27712 2010-01-11.
27713
8ffcee4a
UD
277142010-09-20 Ulrich Drepper <drepper@redhat.com>
27715
a545ecd9 27716 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27717 detection.
27718
e24f0a8b
AS
277192010-09-20 Andreas Schwab <schwab@redhat.com>
27720
27721 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27722 fanotify_mark.
27723 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27724
7291c56f
AS
277252010-09-14 Andreas Schwab <schwab@redhat.com>
27726
27727 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27728 variables after CHECK_SP call.
27729 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27730
bc5fb037
AS
277312010-09-13 Andreas Schwab <schwab@redhat.com>
27732 Ulrich Drepper <drepper@redhat.com>
27733
27734 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27735 re-relocationg ld.so.
27736 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27737 _dl_init_paths call.
27738 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27739 here anymore.
27740
e66e7419
UD
277412010-09-14 Ulrich Drepper <drepper@redhat.com>
27742
27743 * resolv/res_init.c (__res_vinit): Count the default server we added.
27744
c044aa75
CLT
277452010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
27746 Ulrich Drepper <drepper@redhat.com>
27747
27748 [BZ #11968]
27749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27750 (____longjmp_chk): Use %ebx for saving value across system call.
27751 Add unwind info.
27752
32cf4069
AS
277532010-09-06 Andreas Schwab <schwab@redhat.com>
27754
27755 * manual/Makefile: Don't mix pattern rules with normal rules.
27756
817328ee
AS
277572010-09-05 Andreas Schwab <schwab@linux-m68k.org>
27758
27759 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
27760 operation.
27761 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27762 * libio/iofopncook.c (_IO_cookie_init): Likewise.
27763 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27764 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27766 Likewise.
27767
29fddf61
UD
277682010-09-04 Ulrich Drepper <drepper@redhat.com>
27769
27770 [BZ #11979]
27771 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
27772 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
27773
0959ffc9
UD
277742010-09-02 Ulrich Drepper <drepper@redhat.com>
27775
27776 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
27777 * sysdeps/x86_64/addmul_1.S: Likewise.
27778 * sysdeps/x86_64/lshift.S: Likewise.
27779 * sysdeps/x86_64/mul_1.S: Likewise.
27780 * sysdeps/x86_64/rshift.S: Likewise.
27781 * sysdeps/x86_64/sub_n.S: Likewise.
27782 * sysdeps/x86_64/submul_1.S: Likewise.
27783
ece29840
ST
277842010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27785
0959ffc9
UD
27786 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27787 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27788 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27789 * bits/sched.h [__need_schedparam]
ece29840 27790 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27791 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27792 (__defined_schedparam): Define to 1.
ece29840
ST
27793 (__sched_param): New structure, identical to sched_param.
27794 (__need_schedparam): Undefine.
27795
e53a31fe
MF
277962010-08-31 Mike Frysinger <vapier@gentoo.org>
27797
fdc0c10d
MF
27798 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27799 (epoll_create1): Declare.
27800
e53a31fe
MF
27801 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27802
a726d796
AS
278032010-08-31 Andreas Schwab <schwab@redhat.com>
27804
27805 [BZ #7066]
27806 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27807 shifting retval into place.
27808
2f3e3dc7
UD
278092010-09-01 Ulrich Drepper <drepper@redhat.com>
27810
f2933da9
UD
27811 * nis/rpcsvc/nis.h: Update copyright notice.
27812 * nis/rpcsvc/nis.x: Likewise.
27813 * nis/rpcsvc/nis_callback.h: Likewise.
27814 * nis/rpcsvc/nis_callback.x: Likewise.
27815 * nis/rpcsvc/nis_object.x: Likewise.
27816 * nis/rpcsvc/nis_tags.h: Likewise.
27817 * nis/rpcsvc/yp.h: Likewise.
27818 * nis/rpcsvc/yp.x: Likewise.
27819 * nis/rpcsvc/ypupd.h: Likewise.
27820 * nis/yp_xdr.c: Likewise.
27821 * nis/ypupdate_xdr.c: Likewise.
27822
2f3e3dc7
UD
27823 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27824 mainly the body of pmap_getport. Add parameters to specify timeouts.
27825 (pmap_getport): Use __libc_rpc_getport.
27826 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27827 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27828 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27829
f3dcc2f9
AS
278302010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27831
27832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27833 fanotify_mark.
27834
6d34eb5b
RM
278352010-08-27 Roland McGrath <roland@redhat.com>
27836
27837 * sysdeps/i386/i686/multiarch/Makefile
27838 (CFLAGS-varshift.c): New variable.
27839
9ea3de11
UD
278402010-08-27 Ulrich Drepper <drepper@redhat.com>
27841
c96d23fc
UD
27842 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27843 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27844
9ea3de11
UD
27845 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27846
27847 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27848
623aac7f
L
278492010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27850
27851 * sysdeps/x86_64/strlen.S: Unroll the loop.
27852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27853 strlen-sse2 strlen-sse2-bsf.
27854 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27855 __strlen_no_bsf if bit_Slow_BSF is set.
27856 (__strlen_sse42): Removed.
27857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27858 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27859
8b2b7715
RM
278602010-08-25 Roland McGrath <roland@redhat.com>
27861
27862 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27863 * sysdeps/x86_64/multiarch/varshift.c: New file.
27864 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27865 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27866 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27867 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27868
e73015f2
L
278692010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27870
27871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27872 strlen-sse2 strlen-sse2-bsf.
27873 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27874 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27875 (__strlen_sse2): Removed.
27876 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27877 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27879 bit_Slow_BSF for Atom.
27880 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27881 (index_Slow_BSF): Define.
27882 (HAS_SLOW_BSF): Define.
27883
df24a73e
UD
278842010-08-25 Ulrich Drepper <drepper@redhat.com>
27885
27886 [BZ #10851]
27887 * resolv/res_init.c (__res_vinit): When no server address at all
27888 is given default to loopback.
27889
f2ac4868
RM
278902010-08-24 Roland McGrath <roland@redhat.com>
27891
09055553
RM
27892 * configure.in: Remove config-name.h generation.
27893 * configure: Regenerated.
27894 * config-name.in: File removed.
27895 * scripts/config-uname.sh: New file.
27896 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27897 ($(objdir)config-name.h): New target.
27898
f2ac4868
RM
27899 * sunrpc/rpc_parse.h: Avoid nested comment.
27900
73f27d5e
RH
279012010-08-24 Richard Henderson <rth@redhat.com>
27902 Ulrich Drepper <drepper@redhat.com>
27903 H.J. Lu <hongjiu.lu@intel.com>
27904
27905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27907 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27908 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27909 _mm_alignr_epi8 with _mm_loadu_si128.
27910 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27911 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27912 (__m128i_shift_right): Removed.
27913 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27914 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27915 * sysdeps/x86_64/multiarch/varshift.h: New file.
27916 * sysdeps/x86_64/multiarch/varshift.S: New file.
27917
84b9230c
MF
279182010-08-21 Mike Frysinger <vapier@gentoo.org>
27919
27920 * configure.in: Move assembler checks to before sysdep dir checking.
27921
9bbd0ddc
PB
279222010-08-20 Petr Baudis <pasky@suse.cz>
27923
27924 * LICENSES: Sync the sunrpc license.
27925
9da4bb31
UD
279262010-08-19 Ulrich Drepper <drepper@redhat.com>
27927
a7ab6ec8
UD
27928 * sunrpc/auth_des.c: Update copyright notice once again.
27929 * sunrpc/auth_none.c: Likewise.
27930 * sunrpc/auth_unix.c: Likewise.
27931 * sunrpc/authdes_prot.c: Likewise.
27932 * sunrpc/authuxprot.c: Likewise.
27933 * sunrpc/bindrsvprt.c: Likewise.
27934 * sunrpc/clnt_gen.c: Likewise.
27935 * sunrpc/clnt_perr.c: Likewise.
27936 * sunrpc/clnt_raw.c: Likewise.
27937 * sunrpc/clnt_simp.c: Likewise.
27938 * sunrpc/clnt_tcp.c: Likewise.
27939 * sunrpc/clnt_udp.c: Likewise.
27940 * sunrpc/clnt_unix.c: Likewise.
27941 * sunrpc/des_crypt.c: Likewise.
27942 * sunrpc/des_soft.c: Likewise.
27943 * sunrpc/get_myaddr.c: Likewise.
27944 * sunrpc/getrpcport.c: Likewise.
27945 * sunrpc/key_call.c: Likewise.
27946 * sunrpc/key_prot.c: Likewise.
27947 * sunrpc/openchild.c: Likewise.
27948 * sunrpc/pm_getmaps.c: Likewise.
27949 * sunrpc/pm_getport.c: Likewise.
27950 * sunrpc/pmap_clnt.c: Likewise.
27951 * sunrpc/pmap_prot.c: Likewise.
27952 * sunrpc/pmap_prot2.c: Likewise.
27953 * sunrpc/pmap_rmt.c: Likewise.
27954 * sunrpc/rpc/auth.h: Likewise.
27955 * sunrpc/rpc/auth_unix.h: Likewise.
27956 * sunrpc/rpc/clnt.h: Likewise.
27957 * sunrpc/rpc/des_crypt.h: Likewise.
27958 * sunrpc/rpc/key_prot.h: Likewise.
27959 * sunrpc/rpc/netdb.h: Likewise.
27960 * sunrpc/rpc/pmap_clnt.h: Likewise.
27961 * sunrpc/rpc/pmap_prot.h: Likewise.
27962 * sunrpc/rpc/pmap_rmt.h: Likewise.
27963 * sunrpc/rpc/rpc.h: Likewise.
27964 * sunrpc/rpc/rpc_des.h: Likewise.
27965 * sunrpc/rpc/rpc_msg.h: Likewise.
27966 * sunrpc/rpc/svc.h: Likewise.
27967 * sunrpc/rpc/svc_auth.h: Likewise.
27968 * sunrpc/rpc/types.h: Likewise.
27969 * sunrpc/rpc/xdr.h: Likewise.
27970 * sunrpc/rpc_clntout.c: Likewise.
27971 * sunrpc/rpc_cmsg.c: Likewise.
27972 * sunrpc/rpc_common.c: Likewise.
27973 * sunrpc/rpc_cout.c: Likewise.
27974 * sunrpc/rpc_dtable.c: Likewise.
27975 * sunrpc/rpc_hout.c: Likewise.
27976 * sunrpc/rpc_main.c: Likewise.
27977 * sunrpc/rpc_parse.c: Likewise.
27978 * sunrpc/rpc_parse.h: Likewise.
27979 * sunrpc/rpc_prot.c: Likewise.
27980 * sunrpc/rpc_sample.c: Likewise.
27981 * sunrpc/rpc_scan.c: Likewise.
27982 * sunrpc/rpc_scan.h: Likewise.
27983 * sunrpc/rpc_svcout.c: Likewise.
27984 * sunrpc/rpc_tblout.c: Likewise.
27985 * sunrpc/rpc_util.c: Likewise.
27986 * sunrpc/rpc_util.h: Likewise.
27987 * sunrpc/rpcinfo.c: Likewise.
27988 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27989 * sunrpc/rpcsvc/key_prot.x: Likewise.
27990 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27991 * sunrpc/rpcsvc/mount.x: Likewise.
27992 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27993 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27994 * sunrpc/rpcsvc/rex.x: Likewise.
27995 * sunrpc/rpcsvc/rstat.x: Likewise.
27996 * sunrpc/rpcsvc/rusers.x: Likewise.
27997 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27998 * sunrpc/rpcsvc/spray.x: Likewise.
27999 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28000 * sunrpc/rtime.c: Likewise.
28001 * sunrpc/svc.c: Likewise.
28002 * sunrpc/svc_auth.c: Likewise.
28003 * sunrpc/svc_authux.c: Likewise.
28004 * sunrpc/svc_raw.c: Likewise.
28005 * sunrpc/svc_run.c: Likewise.
28006 * sunrpc/svc_simple.c: Likewise.
28007 * sunrpc/svc_tcp.c: Likewise.
28008 * sunrpc/svc_udp.c: Likewise.
28009 * sunrpc/svc_unix.c: Likewise.
28010 * sunrpc/svcauth_des.c: Likewise.
28011 * sunrpc/xcrypt.c: Likewise.
28012 * sunrpc/xdr.c: Likewise.
28013 * sunrpc/xdr_array.c: Likewise.
28014 * sunrpc/xdr_float.c: Likewise.
28015 * sunrpc/xdr_mem.c: Likewise.
28016 * sunrpc/xdr_rec.c: Likewise.
28017 * sunrpc/xdr_ref.c: Likewise.
28018 * sunrpc/xdr_sizeof.c: Likewise.
28019 * sunrpc/xdr_stdio.c: Likewise.
28020
9da4bb31
UD
28021 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28022 handling.
28023
bdaa77bc
AS
280242010-08-19 Andreas Schwab <schwab@redhat.com>
28025
28026 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28027
fe2f79db
LM
280282010-08-19 Luis Machado <luisgpm@br.ibm.com>
28029
28030 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28031 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28032 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28033 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28034 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28035 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28036 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28037 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28038 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28039 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28040 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28041 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28042 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28043 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28044
b9b42ee0
AB
280452010-07-26 Anton Blanchard <anton@samba.org>
28046
28047 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28048 * malloc/arena.c (heap_trim): Likewise.
28049
1c06ba31
UD
280502010-08-16 Ulrich Drepper <drepper@redhat.com>
28051
28052 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28053 here. Not...
28054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28055 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28056
f8392f40
L
280572010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28058
28059 * sysdeps/i386/elf/Makefile: New file.
28060
3162f12e
AS
280612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28062
28063 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28064 from fanotify_init.
28065 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28066 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28067
28c90b2c
UD
280682010-08-15 Ulrich Drepper <drepper@redhat.com>
28069
28070 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28071 of strncasecmp_l.
1feccb6c 28072 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28073
ca6bb004
UD
280742010-08-14 Ulrich Drepper <drepper@redhat.com>
28075
e9f82e0d
UD
28076 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28077 strncase_l-nonascii.
28078 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28079 Add strncase_l-ssse3.
28080 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28081 * sysdeps/x86_64/strcmp.S: Likewise.
28082 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28083 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28084 * sysdeps/x86_64/strncase.S: New file.
28085 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28086 * sysdeps/x86_64/strncase_l.S: New file.
28087 * string/Makefile (strop-tests): Add strncasecmp.
28088 * string/test-strncasecmp.c: New file.
28089
28090 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28091 warning.
28092
ca6bb004
UD
28093 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28094 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28095
052fa7b3
AS
280962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28097
28098 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28099
962dba78
UD
281002010-08-12 Ulrich Drepper <drepper@redhat.com>
28101
28102 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28103 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28104 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28105
bebff237
AM
281062010-05-01 Alan Modra <amodra@gmail.com>
28107
28108 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28109 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28110 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28111 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28112 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28113 tidying. Don't tail-call __sigjmp_save for static lib.
28114 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28115 save location.
28116 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28117 (CALL_MCOUNT): Add eh info, and nop after bl.
28118 (TAIL_CALL_SYSCALL_ERROR): New macro.
28119 (PSEUDO_RET): Use it.
28120 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28121 Correct save location of integer regs and cr.
28122 (_dl_profile_resolve): Correct cr save location. Delete nops
28123 after bl when SHARED. Reduce cfi size a little by better
28124 placement of cfi directives.
28125 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28126 make a stack frame. Instead use parm save area as a temp.
28127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28128 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28130 Don't make a stack frame for parent, use parm save area.
28131 Increase child stack frame to 112 bytes. Don't save unused reg,
28132 and adjust reg usage. Set up cfi on error recovery and
28133 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28135 (__makecontext): Add dummy nop after jump to exit.
28136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28137 Use correct parm save area and cr save, reduce stack frame.
28138 Correct cfi for possible PSEUDO_RET frame setup.
28139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28140 Branch to local label emitted by PSEUDO_RET rather than
28141 __syscall_error.
28142
02637374
AS
281432010-08-12 Andreas Schwab <schwab@redhat.com>
28144
28145 [BZ #11904]
28146 * locale/programs/locale.c (print_assignment): New function.
28147 (show_locale_vars): Use it.
28148
c3e2f19b
UD
281492010-08-11 Ulrich Drepper <drepper@redhat.com>
28150
3cdaa6ad
UD
28151 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28152 field.
28153 (struct statfs64): Likewise.
28154 (_STATFS_F_FLAGS): Define.
28155 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28156 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28157 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28158 (ST_VALID): Define locally.
28159 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28160 __statvfs_getflags, use the provided value.
28161 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28162 __ASSUME_STATFS_F_FLAGS.
28163
754f7da3
UD
28164 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28165
10b3bedc
UD
28166 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28167 Add sys/fanotify.h.
28168 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28169 fanotify_mask for GLIBC_2.13.
28170 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28171 fanotify_init and fanotify_mark.
28172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28173 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28174
c08fb0d7
UD
28175 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28176 Add prlimit.
28177 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28178 prlimit64 for GLIBC_2.13.
28179 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28180 prlimit64.
28181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28182 syscall.
28183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28184 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28185 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28186 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28188 add prlimit alias.
28189 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28190
15bac72b
UD
28191 [BZ #11903]
28192 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28193 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28194
c3e2f19b
UD
28195 * nss/Makefile: Add rules to build and run tst-nss-test1.
28196 * shlib-versions: Add entry for libnss_test1.
28197 * nss/nss_test1.c: New file.
28198 * nss/tst-nss-test1.c: New file.
28199
28200 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28201 (__nss_configure_lookup): Set appropriate entry in
28202 __nss_configure_lookup to true.
28203 * nss/nsswitch.h: Define enum with indeces of databases in
28204 databases and __nss_database_custom arrays. Declare
28205 __nss_database_custom.
28206 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28207 to avoid using nscd when custom rules are installed.
28208 * nss/getXXbyYY_r.c: Likewise.
28209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28210
28211 * nss/nss_files/files-parse.c: Whitespace fixes.
28212
f15ce4d8
UD
282132010-08-09 Ulrich Drepper <drepper@redhat.com>
28214
28215 [BZ #11883]
28216 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28217 * posix/fnmatch_loop.c: Likewise.
28218
d22e4cc9
AK
282192010-07-17 Andi Kleen <ak@linux.intel.com>
28220
28221 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28222 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28223 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28224 * Versions.def [GLIBC_2.13]: Add.
28225
805bc17d
UD
282262010-08-06 Ulrich Drepper <drepper@redhat.com>
28227
28228 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28229 Also fail if tpwd after pwuid call is NULL.
28230
5a42321d
ST
282312010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28232
28233 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28234 when converting to ms.
28235
fd3ebeda
ST
282362010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28237
28238 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28239 EOPNOTSUPP errors with ENOTTY.
28240 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28241 EOPNOTSUPP errors with ENOTTY.
28242
73507d3a
UD
282432010-07-31 Ulrich Drepper <drepper@redhat.com>
28244
28245 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28246 Add strcasecmp_l-ssse3.
28247 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28248 strcasecmp.
28249 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28250 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28251 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28252
fe36dd02
UD
282532010-07-30 Ulrich Drepper <drepper@redhat.com>
28254
66f6765a
UD
28255 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28256
42e08a54
UD
28257 * string/Makefile (strop-tests): Add strcasecmp.
28258 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28259 strcasecmp_l-nonascii.
28260 (gen-as-const-headers): Add locale-defines.sym.
28261 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28262 * sysdeps/x86_64/strcasecmp.S: New file.
28263 * sysdeps/x86_64/strcasecmp_l.S: New file.
28264 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28265 * sysdeps/x86_64/locale-defines.sym: New file.
28266 * string/test-strcasecmp.c: New file.
28267
fe36dd02
UD
28268 * string/test-strcasestr.c: Test both ends of the range of characters.
28269 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28270
48cbc0d6
RM
282712010-07-29 Roland McGrath <roland@redhat.com>
28272
76e6d6bc 28273 [BZ #11856]
48cbc0d6
RM
28274 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28275
880113d9
UD
282762010-07-27 Ulrich Drepper <drepper@redhat.com>
28277
28278 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28279 for ld.so.
28280
deb9cabb
AS
282812010-07-27 Andreas Schwab <schwab@redhat.com>
28282
28283 * manual/memory.texi (Malloc Tunable Parameters): Document
28284 M_PERTURB.
28285
1c7570ff
RM
282862010-07-26 Roland McGrath <roland@redhat.com>
28287
28288 [BZ #11840]
28289 * configure.in (-fgnu89-inline check): Set and substitute
28290 gnu89_inline, not libc_cv_gnu89_inline.
28291 * configure: Regenerated.
28292 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28293
24fb0f88
UD
282942010-07-26 Ulrich Drepper <drepper@redhat.com>
28295
28296 * string/test-strnlen.c: New file.
28297 * string/Makefile (strop-tests): Add strnlen.
28298 * string/tester.c (test_strnlen): Add a few more test cases.
28299 * string/tst-strlen.c: Better error reporting.
28300
28301 * sysdeps/x86_64/strnlen.S: New file.
28302
8e96b93a
UD
283032010-07-24 Ulrich Drepper <drepper@redhat.com>
28304
28305 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28306 lower-latency instructions.
28307
dbc676d4
UD
283082010-07-23 Ulrich Drepper <drepper@redhat.com>
28309
28310 * string/test-strcasestr.c: New file.
28311 * string/test-strstr.c: New file.
28312 * string/Makefile (strop-tests): Add strstr and strcasestr.
28313 * string/str-two-way.h: Don't undefine MAX.
28314 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28315
f6a31e0e
AS
283162010-07-21 Andreas Schwab <schwab@redhat.com>
28317
28318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28319 strcasestr-nonascii.
28320 (CFLAGS-strcasestr-nonascii.c): Define.
28321 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28322 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28323 Remove unused attribute.
28324
5dbc3b6c
RM
283252010-07-20 Roland McGrath <roland@redhat.com>
28326
28327 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28328 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28329 ld.so.cache was broken. With it, there is no way to disable dsocaps
28330 like LD_HWCAP_MASK can disable hwcaps.
28331
23d101d8
EPM
283322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28333
28334 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28335
cc9f2e47
UD
283362010-07-16 Ulrich Drepper <drepper@redhat.com>
28337
28338 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28339 call in strcasestr.
28340 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28341 __strcasestr_sse42_nonascii.
28342 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28343 strcasestr-nonascii.c.
28344 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28345
77c1b069
LM
283462010-06-15 Luis Machado <luisgpm@br.ibm.com>
28347
28348 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28349 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28350 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28351 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28352
440566c3
UD
283532010-07-09 Ulrich Drepper <drepper@redhat.com>
28354
28355 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28356 fcntl.
28357
5be9d05d
AS
283582010-07-06 Andreas Schwab <schwab@redhat.com>
28359
c30b7ee2 28360 [BZ #11577]
5be9d05d
AS
28361 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28362 dl_signal_cerror.
28363
8a492a67
UD
283642010-07-06 Ulrich Drepper <drepper@redhat.com>
28365
28366 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28367 _PC_PIPE_BUF using F_GETPIPE_SZ.
28368
713df3d5
RM
283692010-07-05 Roland McGrath <roland@redhat.com>
28370
28371 * manual/arith.texi (Rounding Functions): Fix rint description
28372 implicit in round description.
28373
702e8f14
UD
283742010-07-02 Ulrich Drepper <drepper@redhat.com>
28375
28376 * elf/Makefile: Fix linking for a few tests to make recent linker
28377 happy.
28378
52ed8be9
AS
283792010-06-30 Andreas Schwab <schwab@redhat.com>
28380
28381 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28382 $(common-objpfx)libc_nonshared.a.
28383
f47c9a11
LM
283842010-06-21 Luis Machado <luisgpm@br.ibm.com>
28385
28386 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28387 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28388 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28389 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28390 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28391 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28392 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28393 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28408 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28409 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28410 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28411 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28412 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28413 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28414 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28415 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28416 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28417 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28418 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28419 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28434
6fb8cbcb
L
284352010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28436
28437 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28438 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28439 * string/memmove.c (memmove): Renamed to ...
28440 (MEMMOVE): ...this. Default to memmove.
28441 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28442 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28443 (END_CHK): Define.
28444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28445 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28446 mempcpy-ssse3-back memmove-ssse3-back.
28447 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28448 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28449 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28450 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28451 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28452 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28453 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28454 * sysdeps/x86_64/multiarch/memmove.c: New file.
28455 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28456 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28457 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28458 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28459 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28461 Define.
28462 (index_Fast_Copy_Backward): Define.
28463 (HAS_ARCH_FEATURE): Define.
28464 (HAS_FAST_REP_STRING): Define.
28465 (HAS_FAST_COPY_BACKWARD): Define.
28466
4e733bac 284672010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28468
28469 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28470 Restore proper fallback handling.
28471
63c4ed22
UD
284722010-06-19 Ulrich Drepper <drepper@redhat.com>
28473
ac2b484c
UD
28474 [BZ #11701]
28475 * posix/group_member.c (__group_member): Correct checking loop.
28476
63c4ed22
UD
28477 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28478 OOM in getpwuid_r correctly. Return error number when the caller
28479 should return, otherwise -1.
28480 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28481 call returning > 0 value.
28482 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28483
765ade4b
AS
284842010-06-07 Andreas Schwab <schwab@redhat.com>
28485
28486 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28487 libc_nonshared.a from targets in modules-names.
28488
80da2e09
KS
284892010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28490
28491 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28492 requires it.
28493
158db122
LM
284942010-06-10 Luis Machado <luisgpm@br.ibm.com>
28495
28496 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28497 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28498 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28499 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28500
caa78cf8
AS
285012010-06-02 Andreas Schwab <schwab@redhat.com>
28502
28503 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28504
b2ef2c01
UD
285052010-06-14 Ulrich Drepper <drepper@redhat.com>
28506
28507 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28508 and F_GETPIPE_SZ.
28509 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28510 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28511 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28512 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28513 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28514 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28515
fbd643b6
RM
285162010-06-14 Roland McGrath <roland@redhat.com>
28517
28518 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28519
f32f2869
JJ
285202010-06-07 Jakub Jelinek <jakub@redhat.com>
28521
28522 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28523 __REDIRECT followed by __THROW.
28524 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28525 * posix/getopt.h (getopt): Likewise.
28526
2a50c078
EPM
285272010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28528
28529 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28530 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28531 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28532 in AT_FLAGS.
28533 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28534 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28535
eb5ad2eb
LM
285362010-05-28 Luis Machado <luisgpm@br.ibm.com>
28537
28538 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28539
3c88fe1e
L
285402010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 [BZ #11640]
28543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28544 Properly check family and model.
28545
d2f73151
TY
285462010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28547
28548 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28549
ebd2e13d
LM
285502010-05-24 Luis Machado <luisgpm@br.ibm.com>
28551
28552 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28553
b32b8b45
UD
285542010-05-21 Ulrich Drepper <drepper@redhat.com>
28555
28556 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28557 symbol reference.
28558
9acbe24d
AS
285592010-05-19 Andreas Schwab <schwab@redhat.com>
28560
28561 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28562 symbol reference.
28563
f0ccf6ea
AS
285642010-05-21 Andreas Schwab <schwab@redhat.com>
28565
3d04ff3a
AS
28566 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28567 and internal_recvmmsg.
28568 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28569 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28570 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28571 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28572
f0ccf6ea
AS
28573 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28574 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28575 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28576
5b08ac57
AS
285772010-05-20 Andreas Schwab <schwab@redhat.com>
28578
28579 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28580
4828935d
LM
285812010-05-17 Luis Machado <luisgpm@br.ibm.com>
28582
28583 POWER7 optimizations.
28584 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28585 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28586
373d545e
UD
285872010-05-19 Ulrich Drepper <drepper@redhat.com>
28588
28589 * version.h: Update for 2.13 development version.
28590
21a2b1ae
AS
285912010-05-12 Andrew Stubbs <ams@codesourcery.com>
28592
28593 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28594 exceptions. Return 0.
28595
3f7dcb2b
RM
285962010-05-07 Roland McGrath <roland@redhat.com>
28597
28598 * elf/ldconfig.c (main): Add a const.
28599
5f24d53a 286002010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28601
a160f8d8
UD
28602 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28603 (args_options): Add no-idn option.
28604 (ahosts_keys_int): Add idn_flags to ai_flags.
28605 (parse_option): Handle 'i' option to clear idn_flags.
28606
5f24d53a
UD
28607 * malloc/malloc.c (_int_free): Possible race in the most recently
28608 added check. Only act on the data if no current modification
28609 happened.
265bb1ce
UD
28610
28611See ChangeLog.17 for earlier changes.
This page took 3.424354 seconds and 5 git commands to generate.